/*
 * Magic (مجیک) landing page.
 *
 * The visual language mirrors the mobile app (MagicBook/theme/colors.ts): a warm
 * cream canvas, warm near-black ink, hairline borders instead of heavy shadows,
 * and violet as the single brand accent. Saturated "tile" colors are reused for
 * book covers and feature icons so the site and the app read as one product.
 */

/* ---------------------------------------------------------------- fonts --- */
/* Estedad is the app's typeface; the same TTFs are shipped here. */
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Black.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens --- */
:root {
  --bg: #faf6ef;
  --bg-alt: #f3ede2;
  --surface: #ffffff;
  --surface-sunken: #f5f0e6;

  --ink: #1c1917;
  --ink-soft: #57534e;
  --ink-muted: #8c8279;
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.72);

  --border: #e9e1d4;
  --border-strong: #dcd1bf;

  --accent: #6c4ce0;
  --accent-soft: #efe9ff;
  --success: #1f9d62;
  --success-soft: #e3f5ec;
  --streak: #e8730e;
  --streak-soft: #fdeedf;
  --xp: #b8860b;
  --xp-soft: #fbf1d8;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shell: 1120px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  /* Anchors land below the sticky header rather than under it. */
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Estedad', 'Vazirmatn', 'Tahoma', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
}

/* Visible only to screen readers, plus a skip link that appears on focus. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* --------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--ink);
  color: var(--on-dark);
}

.btn-primary:hover {
  background: #332e2a;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.btn-accent {
  background: var(--accent);
  color: var(--on-dark);
}

.btn-accent:hover {
  background: #5b3ecc;
}

.btn-block {
  width: 100%;
}

/* ---------------------------------------------------------------- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(250, 246, 239, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline-start: auto;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger — only rendered on small screens. */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  cursor: pointer;
  margin-inline-start: auto;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* ------------------------------------------------------------- section UI --- */
section {
  padding-block: 96px;
}

.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
}

.section-sub {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 17px;
}

/* ------------------------------------------------------------------ hero --- */
.hero {
  padding-block: 72px 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(32px, 5.4vw, 56px);
  font-weight: 900;
  line-height: 1.32;
}

.hero h1 .hl {
  color: var(--accent);
}

.hero-lead {
  margin-top: 20px;
  max-width: 34em;
  font-size: 18px;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-stats .num {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.3;
}

.hero-stats .label {
  font-size: 14px;
  color: var(--ink-muted);
}

/* Phone mock — a CSS-only stand-in for a real product screenshot. */
.phone {
  position: relative;
  width: 300px;
  margin-inline: auto;
  padding: 12px;
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 0 30px 70px -30px rgba(28, 25, 23, 0.55);
}

.phone-screen {
  border-radius: 34px;
  background: var(--bg);
  padding: 22px 18px 26px;
  overflow: hidden;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.phone-top .greet {
  font-size: 15px;
  font-weight: 800;
}

.phone-chips {
  display: flex;
  gap: 8px;
}

.phone-chip {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.phone-chip.streak {
  background: var(--streak-soft);
  color: var(--streak);
}

.phone-chip.xp {
  background: var(--xp-soft);
  color: var(--xp);
}

.phone-continue {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.phone-continue .cap {
  font-size: 11px;
  color: var(--ink-muted);
}

.phone-continue .name {
  font-size: 14px;
  font-weight: 800;
  margin-top: 2px;
}

.progress {
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--surface-sunken);
  overflow: hidden;
}

.progress > i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.phone-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cover {
  aspect-ratio: 3 / 4.2;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: flex-end;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
}

.phone-nav {
  display: flex;
  justify-content: space-around;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--ink-muted);
}

.phone-nav .on {
  color: var(--ink);
  font-weight: 800;
}

/* -------------------------------------------------------------- features --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 22px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 18px;
}

.card p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ------------------------------------------------------------------ how --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.step .n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 900;
  font-size: 16px;
}

.step h3 {
  font-size: 17px;
}

.step p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* -------------------------------------------------------------- about us --- */
#about {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.about-body p + p {
  margin-top: 18px;
}

.about-body p {
  color: var(--ink-soft);
  font-size: 17px;
}

.values {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.value {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.value .tick {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 14px;
  font-weight: 900;
}

.value strong {
  font-weight: 800;
}

.value span {
  display: block;
  color: var(--ink-soft);
  font-size: 15px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-tile {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.stat-tile .num {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
}

.stat-tile .label {
  font-size: 14px;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------- pricing --- */
.billing-toggle {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface-sunken);
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

.billing-toggle button {
  padding: 9px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.billing-toggle button[aria-pressed='true'] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.1);
}

/*
 * `auto-fit` rather than a fixed column count: the اشتراک tab renders four
 * cards and the خرید تکی tab three, and both should fill the row.
 */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.plan.is-featured {
  background: var(--ink);
  color: var(--on-dark);
  border-color: var(--ink);
}

.plan.is-featured .plan-desc,
.plan.is-featured .plan-per-month,
.plan.is-featured .plan-features li {
  color: var(--on-dark-soft);
}

.plan.is-featured .plan-features .tick {
  background: rgba(255, 255, 255, 0.14);
  color: var(--on-dark);
}

.plan-tag {
  position: absolute;
  top: -13px;
  inset-inline-start: 28px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-dark);
  font-size: 12px;
  font-weight: 700;
}

.plan h3 {
  font-size: 19px;
}

.plan-desc {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-muted);
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 22px;
}

.plan-price .amount {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25;
}

.plan-price .unit {
  font-size: 13px;
  opacity: 0.75;
}

.plan-per-month {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-muted);
  min-height: 22px;
}

.plan-features {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  margin-bottom: 28px;
  font-size: 15px;
}

.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-soft);
}

.plan-features .tick {
  flex: none;
  width: 21px;
  height: 21px;
  margin-top: 5px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

/* Pushes the CTA to the bottom so buttons align across cards of unequal height. */
.plan .btn {
  margin-top: auto;
}

.pricing-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-muted);
  text-align: center;
}

/* ------------------------------------------------------------------ faq --- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 800px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 24px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: '+';
  flex: none;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-muted);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding-bottom: 20px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ------------------------------------------------------------- contact us --- */
#contact {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-channels {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

a.channel:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.channel .icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  font-size: 19px;
}

.channel .label {
  font-size: 13px;
  color: var(--ink-muted);
}

.channel .value {
  font-weight: 700;
  /* Phone numbers and emails stay LTR even inside the RTL page. */
  direction: ltr;
  unicode-bidi: embed;
  text-align: start;
}

.channel .value.fa {
  direction: rtl;
}

.contact-form {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.9;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}

.field input[type='tel'] {
  direction: ltr;
  text-align: right;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field .error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #d4483b;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #d4483b;
}

.field.has-error .error {
  display: block;
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
}

.form-status {
  display: none;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.form-status.ok {
  background: var(--success-soft);
  color: var(--success);
}

/* ------------------------------------------------------------------- cta --- */
.cta-band {
  padding: 60px 48px;
  border-radius: 36px;
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
}

.cta-band p {
  margin-top: 14px;
  color: var(--on-dark-soft);
  font-size: 17px;
}

.cta-band .hero-actions {
  justify-content: center;
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--on-dark);
}

.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--on-dark);
}

/* ---------------------------------------------------------------- footer --- */
.site-footer {
  padding-block: 56px 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(2, 1fr) auto;
  gap: 40px;
}

/*
 * The eNamad seal is served as a light-background image, so it sits on a white
 * tile rather than directly on the cream canvas.
 */
.trust-seal {
  display: inline-block;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border);
  line-height: 0;
  transition: border-color 0.2s ease;
}

.trust-seal:hover {
  border-color: var(--border-strong);
}

.trust-seal img {
  width: 90px;
  height: auto;
}

.footer-grid p {
  margin-top: 14px;
  max-width: 32em;
  color: var(--ink-soft);
  font-size: 15px;
}

.footer-col h4 {
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a {
  font-size: 15px;
  color: var(--ink-soft);
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------- reveals --- */
/* Sections fade up as they scroll in; disabled for reduced-motion users. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------ responsive --- */
@media (max-width: 960px) {
  section {
    padding-block: 72px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .feature-grid,
  .steps,
  .plans {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .nav-cta .btn {
    display: none;
  }

  /* Collapsed menu drops below the header as a full-width sheet. */
  .nav-links {
    position: fixed;
    inset-inline: 0;
    top: var(--nav-h);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding-block: 14px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
  }

  .feature-grid,
  .steps,
  .plans,
  .field-row,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 24px;
  }

  .cta-band {
    padding: 44px 24px;
  }

  .contact-form {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
