:root {
  --primary: #3d6b5a;
  --primary-deep: #1a3d32;
  --on-primary: #ffffff;
  --primary-container: #d8e8df;
  --on-primary-container: #1a3d32;
  --sage: #6f8f7e;
  --streak: #c4a35a;
  --surface: #f6f3ee;
  --surface-elevated: #efebe4;
  --surface-container: #ffffff;
  --on-surface: #1c1f1d;
  --on-surface-variant: #5c635f;
  --outline: #d4cfc6;
  --outline-variant: #e8e3da;
  --error: #b54a4a;
  --max: 42rem;
  --wide: 70rem;
  --radius: 1rem;
  --radius-btn: 0.85rem;
  --font-display: "Fraunces", "Literata", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --shadow-soft: 0 18px 40px rgba(28, 31, 29, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

body.landing {
  background:
    radial-gradient(1100px 520px at 78% -8%, #e4efe8 0%, transparent 55%),
    radial-gradient(800px 420px at -8% 18%, #efe8d8 0%, transparent 48%),
    var(--surface);
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header / footer */

.site-header {
  border-bottom: 1px solid var(--outline);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header--float {
  border-bottom-color: transparent;
  background: rgba(246, 243, 238, 0.82);
}

.site-header-inner,
.site-footer-inner,
.page {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header-inner--wide,
.site-footer-inner--wide {
  width: min(100% - 2rem, var(--wide));
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: var(--primary-container);
  color: var(--on-primary-container);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--on-surface-variant);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary);
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--outline);
  background: var(--surface-elevated);
  margin-top: 2rem;
}

.site-footer-inner {
  padding: 1.75rem 0 2rem;
  color: var(--on-surface-variant);
  font-size: 0.92rem;
}

.site-footer-inner--wide {
  display: grid;
  gap: 1.25rem;
}

.footer-brand .brand {
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0;
  max-width: 22rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.site-footer a {
  color: var(--on-surface-variant);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  opacity: 0.85;
}

/* Shared page content (legal / support) */

.page {
  padding: 2.5rem 0 4rem;
}

.hero {
  margin-bottom: 2rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.5rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

h1,
h2 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
}

.lead {
  margin: 0;
  color: var(--on-surface-variant);
  font-size: 1.08rem;
}

.meta {
  margin-top: 1rem;
  color: var(--on-surface-variant);
  font-size: 0.92rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.card {
  background: var(--surface-container);
  border: 1px solid var(--outline);
  border-radius: 0.85rem;
  padding: 1.25rem 1.35rem;
}

.card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--on-surface-variant);
}

.actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.25rem;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  background: var(--primary);
  color: var(--on-primary);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.65);
  color: var(--primary-deep);
  border-color: var(--outline);
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
  background: var(--primary-deep);
  color: var(--on-primary);
}

.button.secondary:hover {
  background: var(--primary-container);
  color: var(--on-primary-container);
  border-color: transparent;
}

article section {
  margin-top: 2rem;
}

article h2 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
}

article h3 {
  margin: 1.25rem 0 0.45rem;
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
}

article p,
article ul {
  margin: 0 0 0.85rem;
}

article ul {
  padding-left: 1.2rem;
}

article li {
  margin-bottom: 0.35rem;
}

.note {
  background: var(--primary-container);
  color: var(--on-primary-container);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
  margin: 1.25rem 0;
}

/* Landing hero */

.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100vh, 54rem);
  display: grid;
  align-items: center;
  padding: 1.5rem 0 3rem;
}

.hero-stage__glow {
  position: absolute;
  inset: 8% 5% auto auto;
  width: min(52vw, 34rem);
  height: min(52vw, 34rem);
  border-radius: 50%;
  background: radial-gradient(circle, #c5d9ce 0%, transparent 70%);
  opacity: 0.55;
  z-index: -1;
  animation: glow-drift 12s ease-in-out infinite alternate;
}

.hero-stage__paper {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(61, 107, 90, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 107, 90, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 70% 40%,
    #000 20%,
    transparent 75%
  );
  mask-image: radial-gradient(
    ellipse 70% 60% at 70% 40%,
    #000 20%,
    transparent 75%
  );
}

.hero-stage__inner {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.1rem;
}

.brand-lockup__mark {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  box-shadow: 0 10px 24px rgba(61, 107, 90, 0.16);
}

.brand-lockup__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  letter-spacing: -0.03em;
  color: var(--primary-deep);
  line-height: 1.05;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  margin: 0 0 0.9rem;
  color: var(--on-surface);
  animation: rise 700ms ease both;
}

.hero-lead {
  margin: 0;
  max-width: 32rem;
  color: var(--on-surface-variant);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  animation: rise 700ms ease 80ms both;
}

.hero-note {
  margin: 1rem 0 0;
  color: var(--sage);
  font-size: 0.92rem;
  font-weight: 600;
  animation: rise 700ms ease 200ms both;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Waitlist form */

.waitlist-form {
  margin-top: 1.5rem;
  max-width: 32rem;
  animation: rise 700ms ease 120ms both;
}

.waitlist-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.waitlist-form input[type="email"] {
  flex: 1 1 9rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.62rem 0.9rem;
  border: 1px solid var(--outline);
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.9);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.35;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(61, 107, 90, 0.15);
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--sage);
}

.waitlist-form .button {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.62rem 1rem;
  white-space: nowrap;
}

.waitlist-form .button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.waitlist-form__note {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--sage);
}

.waitlist-form__note a {
  color: var(--primary);
  text-decoration: none;
}

.waitlist-form__note a:hover {
  text-decoration: underline;
}

.waitlist-form__status {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.35em;
}

.waitlist-form__status--success {
  color: var(--primary-deep);
}

.waitlist-form__status--error {
  color: var(--error);
}

.waitlist-form--done input[type="email"],
.waitlist-form--done .button {
  display: none;
}

.waitlist-form--compact {
  margin-top: 1.25rem;
  max-width: 28rem;
}

.hero-copy .hero-actions {
  margin-top: 1rem;
  animation: rise 700ms ease 180ms both;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 28rem;
  gap: 0.75rem;
}

.hero-visual__caption {
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  letter-spacing: -0.01em;
}

.phone-stack {
  position: relative;
  width: min(100%, 28rem);
  aspect-ratio: 1 / 1.15;
  animation: float-y 7s ease-in-out infinite;
}

.phone {
  margin: 0;
  position: absolute;
  width: 50%;
  background: transparent;
  filter: drop-shadow(0 22px 36px rgba(28, 31, 29, 0.22));
}

.phone img {
  width: 100%;
  height: auto;
}

.phone--back {
  left: 0;
  top: 18%;
  transform: rotate(-8deg);
  opacity: 0.72;
  z-index: 1;
  animation: rise 900ms ease 120ms both;
}

.phone--front {
  right: 0;
  top: 0;
  width: 70%;
  transform: rotate(4deg);
  z-index: 2;
  animation: rise 900ms ease 40ms both;
}

/* Strip */

.strip {
  border-top: 1px solid rgba(212, 207, 198, 0.7);
  border-bottom: 1px solid rgba(212, 207, 198, 0.7);
  background: rgba(239, 235, 228, 0.75);
}

.strip__inner {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
  padding: 1.15rem 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem 1.25rem;
  text-align: center;
  color: var(--on-surface-variant);
  font-size: 0.95rem;
}

.strip__inner strong {
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-weight: 600;
}

/* Feature blocks */

.feature-block {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.feature-block--flip .feature-block__copy {
  order: 2;
}

.feature-block--flip .feature-block__media {
  order: 1;
}

.feature-block h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.feature-block__copy > p:not(.section-kicker) {
  margin: 0 0 1rem;
  color: var(--on-surface-variant);
  max-width: 34rem;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--on-surface);
  font-weight: 500;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary);
}

.feature-block__media {
  margin: 0;
  display: grid;
  place-items: center;
}

.feature-block__media img {
  width: min(100%, 20rem);
  background: transparent;
  filter: drop-shadow(0 22px 36px rgba(28, 31, 29, 0.18));
}

.feature-block__media--pair {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.85rem;
}

.feature-block__media--pair img {
  width: min(46%, 12rem);
}

.feature-block__media--pair img:first-child {
  transform: rotate(-4deg) translateY(0.5rem);
}

.feature-block__media--pair img:last-child {
  transform: rotate(5deg);
}

/* Exam spotlight — visual panels (no screenshots yet) */

.exam-band {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background:
    linear-gradient(180deg, transparent, rgba(216, 232, 223, 0.4) 40%, transparent);
}

.exam-band__inner {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.exam-band__copy h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.exam-band__copy > p:not(.section-kicker) {
  margin: 0 0 1rem;
  color: var(--on-surface-variant);
  max-width: 34rem;
}

.exam-stage {
  position: relative;
  min-height: 22rem;
  display: grid;
  place-items: center;
}

.exam-panel {
  width: min(100%, 26rem);
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  animation: rise 800ms ease both;
}

.exam-panel__label {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
}

.exam-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.exam-chip {
  padding: 0.35rem 0.7rem;
  border-radius: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--surface-elevated);
  color: var(--on-surface-variant);
  border: 1px solid transparent;
}

.exam-chip--active {
  background: var(--primary-container);
  color: var(--on-primary-container);
  border-color: transparent;
}

.exam-countdown {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  background:
    linear-gradient(135deg, #f9f7f2, #eef5f0);
  border: 1px solid var(--outline-variant);
}

.exam-countdown__days {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--primary-deep);
  line-height: 1;
}

.exam-countdown__days span {
  font-size: 0.45em;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--on-surface-variant);
  margin-left: 0.2em;
  letter-spacing: 0;
}

.exam-countdown__meta {
  margin: 0;
  color: var(--on-surface-variant);
  font-size: 0.92rem;
}

.exam-subjects {
  display: grid;
  gap: 0.55rem;
}

.exam-subject {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.88rem;
}

.exam-subject__name {
  font-weight: 600;
  color: var(--on-surface);
}

.exam-subject__bar {
  height: 0.45rem;
  border-radius: 999px;
  background: var(--outline-variant);
  overflow: hidden;
}

.exam-subject__fill {
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transform-origin: left center;
  animation: bar-grow 1.1s ease 0.3s both;
}

.exam-subject__fill--amber {
  background: var(--streak);
}

.exam-subject__fill--muted {
  background: var(--sage);
}

.exam-subject__net {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--primary-deep);
  min-width: 2.5rem;
  text-align: right;
}

/* Deneme trend panel */

.trend-band {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.trend-band--flip .trend-band__visual {
  order: -1;
}

.trend-band h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.trend-band__copy > p:not(.section-kicker) {
  margin: 0 0 1rem;
  color: var(--on-surface-variant);
  max-width: 34rem;
}

.trend-panel {
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: 1.35rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.trend-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.trend-panel__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.trend-panel__score {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--primary-deep);
  letter-spacing: -0.02em;
}

.trend-panel__score small {
  font-family: var(--font-body);
  font-size: 0.55em;
  font-weight: 600;
  color: var(--sage);
  margin-left: 0.2em;
}

.trend-chart {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.trend-session {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--outline-variant);
  font-size: 0.9rem;
}

.trend-session:first-of-type {
  border-top: none;
  padding-top: 0;
}

.trend-session strong {
  font-weight: 600;
  color: var(--on-surface);
}

.trend-session span {
  color: var(--on-surface-variant);
  font-variant-numeric: tabular-nums;
}

.trend-session__delta {
  color: var(--primary) !important;
  font-weight: 600;
}

/* Feature mosaic (compact highlights) */

.mosaic {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.mosaic__head {
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.mosaic__head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.mosaic__head p {
  margin: 0;
  color: var(--on-surface-variant);
}

.mosaic__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mosaic__item {
  padding: 1.25rem 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--outline-variant);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.mosaic__item:hover {
  background: var(--surface-container);
  border-color: var(--outline);
  transform: translateY(-2px);
}

.mosaic__icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  border-radius: 0.65rem;
  background: var(--primary-container);
  color: var(--on-primary-container);
  display: grid;
  place-items: center;
}

.mosaic__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.mosaic__item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mosaic__item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
}

/* Gallery */

.gallery {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 3rem;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(216, 232, 223, 0.35)
  );
}

.gallery__head {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto 1.5rem;
}

.gallery__head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.gallery__head p {
  margin: 0;
  color: var(--on-surface-variant);
  max-width: 36rem;
}

.gallery__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem max(1rem, calc((100% - var(--wide)) / 2 + 1rem)) 1.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery__track figure {
  margin: 0;
  flex: 0 0 auto;
  width: min(68vw, 14.5rem);
  scroll-snap-align: start;
}

.gallery__track img {
  width: 100%;
  background: transparent;
  filter: drop-shadow(0 14px 28px rgba(28, 31, 29, 0.16));
}

.gallery__track figcaption {
  margin-top: 0.55rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--on-surface-variant);
}

/* FAQ */

.faq {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.faq__inner {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
}

.faq__inner h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.faq__list {
  display: grid;
  gap: 0.65rem;
  max-width: 40rem;
}

.faq__item {
  border: 1px solid var(--outline);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.faq__item summary {
  padding: 1rem 1.15rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--on-surface);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
  transition: transform 160ms ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  margin: 0;
  padding: 0 1.15rem 1rem;
  color: var(--on-surface-variant);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Poster band */

.poster-band {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.poster-band__inner {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: calc(var(--radius) + 0.35rem);
  background:
    radial-gradient(600px 280px at 15% 20%, #d8e8df, transparent 60%),
    linear-gradient(145deg, #faf8f4, #e8efe9);
  border: 1px solid rgba(212, 207, 198, 0.85);
}

.poster-band__art {
  margin: 0;
  display: grid;
  place-items: center;
}

.poster-band__art img {
  width: min(100%, 18rem);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(26, 61, 50, 0.16);
}

.poster-band__copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

.poster-band__copy p {
  margin: 0;
  color: var(--on-surface-variant);
  max-width: 34rem;
}

/* Motion */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-4%, 6%) scale(1.08);
  }
}

@keyframes bar-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes draw-line {
  from {
    stroke-dashoffset: 220;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.trend-chart__line {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: draw-line 1.4s ease 0.4s forwards;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .phone-stack,
  .hero-stage__glow,
  .hero-copy h1,
  .hero-lead,
  .hero-copy .hero-actions,
  .hero-note,
  .phone--back,
  .phone--front,
  .exam-panel,
  .exam-subject__fill,
  .trend-chart__line {
    animation: none;
  }

  .trend-chart__line {
    stroke-dashoffset: 0;
  }
}

/* Responsive */

@media (max-width: 900px) {
  .hero-stage__inner,
  .feature-block,
  .poster-band__inner,
  .exam-band__inner,
  .trend-band {
    grid-template-columns: 1fr;
  }

  .feature-block--flip .feature-block__copy,
  .feature-block--flip .feature-block__media {
    order: unset;
  }

  .trend-band--flip .trend-band__visual {
    order: unset;
  }

  .hero-stage {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-visual {
    min-height: auto;
    order: -1;
  }

  .phone-stack {
    width: min(100%, 22rem);
    aspect-ratio: 1 / 1.05;
  }

  .strip__inner {
    grid-template-columns: 1fr 1fr;
  }

  .strip__inner p:last-child {
    grid-column: 1 / -1;
  }

  .mosaic__grid {
    grid-template-columns: 1fr;
  }

  .poster-band__art {
    order: -1;
  }

  .exam-stage {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-lockup__name {
    font-size: 1.55rem;
  }

  .waitlist-form {
    max-width: 100%;
  }

  .waitlist-form__row {
    gap: 0.5rem;
  }

  .waitlist-form input[type="email"] {
    flex: 1 1 100%;
    font-size: 16px;
    padding: 0.55rem 0.8rem;
  }

  .waitlist-form .button {
    flex: 1 1 auto;
    width: 100%;
    justify-content: center;
    font-size: 0.92rem;
    padding: 0.55rem 0.85rem;
  }

  .feature-block__media--pair img {
    width: min(48%, 10.5rem);
  }

  .exam-subject {
    grid-template-columns: 4.2rem 1fr auto;
    font-size: 0.82rem;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .mosaic__grid {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Guide / article pages */

.page--wide {
  width: min(100% - 2rem, var(--wide));
}

.page--article {
  width: min(100% - 2rem, 42rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  align-items: center;
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--on-surface-variant);
}

.breadcrumb a {
  color: var(--on-surface-variant);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.article-hero {
  margin-bottom: 2rem;
}

.article-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
}

.page--article article section {
  margin-top: 1.75rem;
}

.page--article article h2 {
  margin: 0 0 0.65rem;
  font-size: 1.3rem;
}

.page--article article p,
.page--article article ul,
.page--article article ol {
  margin: 0 0 0.9rem;
  color: var(--on-surface);
}

.page--article article ul,
.page--article article ol {
  padding-left: 1.25rem;
  color: var(--on-surface-variant);
}

.page--article article li {
  margin-bottom: 0.4rem;
}

.page--article article li strong {
  color: var(--on-surface);
}

.guide-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.guide-card {
  display: block;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--outline-variant);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.guide-card:hover {
  background: var(--surface-container);
  border-color: var(--outline);
  transform: translateY(-2px);
  text-decoration: none;
}

.guide-card__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.guide-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.guide-card p {
  margin: 0;
  color: var(--on-surface-variant);
  font-size: 0.98rem;
}

.article-cta {
  margin: 2.5rem 0 0;
  padding: 1.4rem 1.45rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background:
    radial-gradient(500px 200px at 10% 0%, #d8e8df, transparent 55%),
    linear-gradient(145deg, #faf8f4, #eef3ef);
  border: 1px solid var(--outline-variant);
}

.article-cta h2 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
}

.article-cta > p {
  margin: 0 0 1rem;
  color: var(--on-surface-variant);
}

.article-cta__links {
  margin: 1rem 0 0 !important;
  font-size: 0.92rem;
}

.related-guides {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--outline-variant);
}

.related-guides h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.related-guides ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.related-guides a {
  font-weight: 600;
  text-decoration: none;
}

.related-guides a:hover {
  text-decoration: underline;
}

/* Landing: guides strip + store badges */

.guides-band {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.guides-band__inner {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
}

.guides-band__head {
  margin-bottom: 1.35rem;
  max-width: 36rem;
}

.guides-band__head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.guides-band__head p {
  margin: 0;
  color: var(--on-surface-variant);
}

.guides-band .guide-list {
  margin: 0;
  grid-template-columns: repeat(3, 1fr);
}

.guides-band__more {
  margin: 1.25rem 0 0;
}

.store-band {
  padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

.store-band__inner {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background: var(--surface-elevated);
  border: 1px solid var(--outline-variant);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.store-band__copy h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.store-band__copy p {
  margin: 0;
  color: var(--on-surface-variant);
  font-size: 0.95rem;
  max-width: 28rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 10.5rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  background: var(--on-surface);
  color: #f6f3ee;
  text-decoration: none;
  border: none;
  cursor: default;
  font-family: var(--font-body);
  text-align: left;
  transition: opacity 160ms ease, transform 160ms ease;
}

a.store-badge {
  cursor: pointer;
}

a.store-badge:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  text-decoration: none;
  color: #f6f3ee;
}

.store-badge--soon {
  opacity: 0.72;
}

.store-badge__mark {
  font-size: 1.35rem;
  line-height: 1;
  width: 1.5rem;
  text-align: center;
}

.store-badge__meta {
  display: grid;
  gap: 0.05rem;
}

.store-badge__meta small {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
}

.store-badge__meta strong {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (max-width: 900px) {
  .guides-band .guide-list {
    grid-template-columns: 1fr;
  }

  .store-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
