/* ============================================================
   KTPL — Khatabook Technologies Private Limited
   Khatabook Pay — RBI-authorised Payment Aggregator
   Khatabook-themed (brand red) with a payments indigo accent
   Shares the KBFP / KBUS design language; self-contained
   ============================================================ */

:root {
  /* Brand — exact Khatabook red */
  --brand:        #DC343B;
  --brand-dark:   #B4262C;
  --brand-darker: #8E1B20;
  --brand-light:  #FDECEC;
  --brand-tint:   #FEF5F5;

  /* Ink & neutrals */
  --ink:      #17171C;
  --ink-2:    #33333B;
  --muted:    #63636E;
  --muted-2:  #8A8A95;
  --line:     #ECECEF;
  --line-2:   #F4F4F6;

  /* Surfaces */
  --bg:       #FFFFFF;
  --bg-soft:  #F1F0FB;   /* KTPL payments tint */
  --surface:  #FFFFFF;

  /* Payments accent (indigo) */
  --pay:      #4338CA;
  --pay-2:    #6366F1;
  --pay-light:#ECEBFC;

  /* Accents */
  --gold:     #F9A825;
  --star:     #FFB300;
  --ok:       #16A34A;

  /* Effects — flat, restrained, border-led */
  --radius:     8px;
  --radius-lg:  12px;
  --radius-sm:  6px;
  --shadow-sm:  0 1px 2px rgba(20,20,30,.05);
  --shadow:     0 4px 14px rgba(20,20,30,.07);
  --shadow-lg:  0 8px 24px rgba(20,20,30,.09);
  --ring:       0 0 0 3px rgba(67,56,202,.14);

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: "Inter", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-2); background: #fff;
  padding: 7px 14px; border-radius: 100px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.hero .eyebrow { padding-left: 11px; }
.hero .eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 0 3px rgba(22,163,74,.16); flex: none;
}
.section { padding: 96px 0; }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  padding: 13px 24px; border-radius: 10px;
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn-primary { box-shadow: 0 8px 16px -8px rgba(220,52,59,.42); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-light:hover { background: rgba(255,255,255,.24); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-logo { height: 30px; width: auto; display: block; }
.brand-book { width: 26px; height: 34px; flex: none; display: block; }
.brand-word {
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  letter-spacing: -.01em; color: var(--brand); line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color .2s; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--brand); border-radius: 2px; transition: width .25s var(--ease); }
.nav-links a:hover { color: var(--brand); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 168px 0 96px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; line-height: 1.06; letter-spacing: -.035em; margin: 26px 0 20px; }
.caret-wrap { position: relative; display: inline-block; margin: 0 .1em; top: -0.4em; }
.cw-mark { display: inline-block; font-weight: 400; font-size: .68em; line-height: 1.4; }
.cw-word {
  position: absolute; left: 50%; bottom: 1.02em;
  transform: translateX(-10%) rotate(-6.6deg); transform-origin: center;
  font-family: "Grand Hotel", cursive; font-weight: 400;
  font-size: .77em; line-height: 1; color: var(--ink); white-space: nowrap;
}
.hero h1 .accent { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .accent::after { content:""; position:absolute; left:0; right:0; bottom:.08em; height:.22em; background: var(--brand-light); z-index:-1; border-radius: 4px; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 528px; margin-bottom: 30px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
/* RBI credential line — real proof, not a decorative eyebrow */
.hero-cred { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); max-width: 500px; margin-bottom: 40px; line-height: 1.45; }
.hero-cred .cred-mark { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--brand-tint); border: 1px solid var(--brand-light); }
.hero-cred .cred-mark svg { width: 17px; height: 17px; stroke: var(--brand); fill: none; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--ink); display: block; letter-spacing: -.02em; }
.hero-stats .stat span { font-size: 14px; color: var(--muted); }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }

/* Trust strip (legacy) */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background:#fff; padding: 26px 0; }
.trust-inner { display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; color: var(--muted); font-size: 14px; }
.trust b { font-family: var(--font-display); color: var(--ink); }
.trust .dot { width:5px;height:5px;border-radius:50%;background:var(--line); display:inline-block; }

/* Payment-network logo wall — official brand marks */
.logos { background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding: 34px 0; }
.logos-label { text-align:center; font-size:13.5px; color: var(--muted-2); margin-bottom: 26px; }
.logos-row { display:flex; align-items:center; justify-content:center; gap: 24px 52px; flex-wrap:wrap; }
.net-logo { width:auto; display:block; }
.net-visa  { height:25px; }
.net-mc    { height:40px; }
.net-rupay { height:25px; }
.net-upi   { height:37px; }
.net-amex  { height:42px; }
.net-nb { display:inline-flex; align-items:center; gap:9px; font-family:var(--font-display); font-weight:700; font-size:16px; color:#5a5a63; letter-spacing:-.01em; }
.net-nb svg { width:21px; height:21px; stroke:#5a5a63; fill:none; }
@media (max-width: 720px){ .logos-row { gap: 24px 34px; } }

/* ============================================================
   FEATURES / WHY
   ============================================================ */
.why { background: var(--bg-soft); }
.why-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.feature { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: border-color .3s, transform .3s var(--ease); }
.feature:hover { transform: translateY(-3px); border-color: var(--pay-2); }
.feature .fi { width:52px;height:52px;border-radius:10px; background: var(--pay-light); display:grid; place-items:center; margin-bottom:18px; }
.feature .fi svg { width:26px;height:26px; stroke: var(--pay); stroke-width:2; fill:none; }
.feature h3 { font-size:18px; margin-bottom:8px; }
.feature p { font-size:14.5px; color: var(--muted); }

/* ============================================================
   MODULES (product grid of payment capabilities)
   ============================================================ */
.modules { background: var(--bg); }
.mod-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.mod {
  display:flex; gap:16px; align-items:flex-start;
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.mod:hover { transform: translateY(-3px); border-color: var(--pay-2); box-shadow: var(--shadow); }
.mod .mi { width:46px; height:46px; border-radius:12px; flex:none; display:grid; place-items:center; background: linear-gradient(135deg, var(--pay) 0%, var(--pay-2) 100%); }
.mod .mi svg { width:24px; height:24px; stroke:#fff; stroke-width:2; fill:none; }
.mod h3 { font-size:16.5px; margin-bottom:5px; }
.mod p { font-size:13.5px; color: var(--muted); line-height:1.5; }

/* ============================================================
   HOW IT WORKS — numbered steps
   ============================================================ */
.step { position: relative; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: border-color .3s, transform .3s var(--ease); }
.step:hover { transform: translateY(-3px); border-color: var(--pay-2); }
.step .step-no { width:40px; height:40px; border-radius:11px; background: var(--brand); color:#fff; font-family:var(--font-display); font-weight:800; font-size:17px; display:grid; place-items:center; margin-bottom:16px; }
.step h3 { font-size:18px; margin-bottom:8px; }
.step p { font-size:14.5px; color: var(--muted); }

/* ============================================================
   PAYMENTS HERO VISUAL — dashboard card + chips
   ============================================================ */
.kf-stage { position: relative; height: 540px; }
.kf-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #E3E0FB 0%, #EEEBFB 70%); z-index: 0; }
.kf-glow::after { content:""; position:absolute; inset:-1px; border-radius:50%; border:1px dashed #CFC9F5; opacity:.7; }

/* Checkout / payment card */
.pay-card {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 340px; background:#fff; border:1px solid #EDEDF2; border-radius: 20px;
  box-shadow: 0 20px 48px -20px rgba(23,23,40,.22), 0 4px 12px rgba(23,23,40,.05);
  padding: 22px 22px 18px; z-index: 3;
}
/* merchant / brand row */
.pc-brand { display:flex; align-items:center; gap:11px; margin-bottom:18px; }
.pc-store { width:40px; height:40px; border-radius:12px; flex:none; display:grid; place-items:center; background: var(--brand-tint); border:1px solid var(--brand-light); }
.pc-store svg { width:21px; height:21px; stroke: var(--brand); fill:none; stroke-width:1.9; }
.pc-store-meta b { font-family: var(--font-display); font-weight:700; font-size:14.5px; display:block; line-height:1.2; color: var(--ink); }
.pc-store-meta span { font-size:12px; color: var(--muted); }
.pc-brand .secure { margin-left:auto; display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:700; color: var(--ok); background:#E8F8EE; padding:5px 10px; border-radius:100px; }
.pc-brand .secure svg { width:13px; height:13px; stroke: var(--ok); fill:none; stroke-width:2.4; }

/* amount block */
.pc-amount { background: var(--bg-soft); border:1px solid var(--line); border-radius:16px; padding:13px 16px; margin-bottom:16px; }
.pc-amount .pc-label { font-family: var(--font-display); font-weight:700; font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color: var(--muted-2); }
.pc-amount .amt { font-family: var(--font-display); font-weight:800; font-size:30px; color: var(--ink); letter-spacing:-.025em; line-height:1.1; margin-top:3px; }

/* method tabs */
.pay-methods { display:grid; grid-template-columns: repeat(4,1fr); gap:8px; margin-bottom:14px; }
.pay-methods .pm { display:flex; flex-direction:column; align-items:center; gap:6px; padding:11px 4px; border-radius:13px; background:#fff; border:1.5px solid var(--line); font-family:var(--font-display); font-weight:600; font-size:11px; color: var(--ink-2); transition: border-color .2s, background .2s, color .2s; }
.pay-methods .pm svg { width:18px; height:18px; stroke: var(--muted-2); fill:none; stroke-width:1.8; }
.pay-methods .pm.on { border-color: var(--pay); background: var(--pay-light); color: var(--pay); box-shadow: var(--ring); }
.pay-methods .pm.on svg { stroke: var(--pay); }

/* upi app chips */
.pc-apps { display:flex; gap:7px; margin-bottom:16px; }
.pc-app { flex:1; text-align:center; font-family:var(--font-display); font-weight:600; font-size:11.5px; color: var(--ink-2); background: var(--line-2); border:1px solid var(--line); border-radius:10px; padding:8px 4px; }
.pc-app.more { color: var(--muted-2); }

/* pay button */
.pay-btn { width:100%; display:flex; align-items:center; justify-content:center; gap:8px; background: var(--brand); color:#fff; font-family:var(--font-display); font-weight:600; font-size:14.5px; padding:14px; border-radius:12px; box-shadow: 0 8px 16px -6px rgba(220,52,59,.34); transition: background .2s; letter-spacing:-.01em; }
.pay-btn:hover { background: var(--brand-dark); }
.pay-btn svg { width:15px; height:15px; stroke:#fff; fill:none; stroke-width:2.2; }

/* secured footer */
.pc-foot { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:13px; font-size:11px; font-weight:600; color: var(--muted-2); }
.pc-foot svg { width:12px; height:12px; stroke: var(--muted-2); fill:none; stroke-width:2; }

.kf-chip { position: absolute; background:#fff; border:1px solid #EDEDF2; border-radius:14px; box-shadow: 0 12px 28px -12px rgba(23,23,40,.20), 0 2px 6px rgba(23,23,40,.04); padding:10px 13px; display:flex; align-items:center; gap:10px; z-index:5; }
.kf-chip .ic { width:34px; height:34px; border-radius:10px; flex:none; display:grid; place-items:center; }
.kf-chip .ic svg { width:19px; height:19px; stroke:#fff; fill:none; stroke-width:2.2; }
.kf-chip b { font-family: var(--font-display); font-weight:600; font-size:13.5px; display:block; color: var(--ink); line-height:1.2; white-space:nowrap; letter-spacing:-.01em; }
.kf-chip span { font-size:11.5px; color: var(--muted); white-space:nowrap; }
.kf-chip-1 { top: -16px; right: 6px; }
.kf-chip-2 { bottom: -10px; left: -20px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-list { display:grid; gap:14px; margin-top:24px; }
.about-list li { display:flex; gap:12px; align-items:flex-start; font-size:15.5px; color: var(--ink-2); }
.about-list--row { grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 940px; margin: 44px auto 0; }
.about-list--row li { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 22px; }
@media (max-width: 820px){ .about-list--row { grid-template-columns: 1fr; max-width: 520px; } }
.about-list .ck { width:24px;height:24px;border-radius:50%;background:var(--brand);flex:none;display:grid;place-items:center;margin-top:2px; }
.about-list .ck svg { width:13px;height:13px;stroke:#fff;stroke-width:3;fill:none; }

/* Compliance badge row */
.compliance { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:16px; margin-top:44px; }
.comp-pci { height:66px; width:auto; border-radius:8px; box-shadow: var(--shadow-sm); }
.comp-badge { display:inline-flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--line); border-radius:100px; padding:10px 18px; font-family:var(--font-display); font-weight:600; font-size:14px; color: var(--ink-2); }
.comp-badge svg { width:18px; height:18px; stroke: var(--pay); fill:none; stroke-width:2; }
.comp-badge.rbi { color: var(--brand); border-color: var(--brand-light); background: var(--brand-tint); }
.comp-badge.rbi svg { stroke: var(--brand); }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: 30px 0 100px; }
.cta-box {
  background: var(--ink);
  border-radius: var(--radius-lg); padding: 60px 48px; text-align:center; color:#fff; position:relative; overflow:hidden;
}
.cta-box h2 { color:#fff; font-size: clamp(28px,4vw,42px); margin-bottom:16px; }
.cta-box p { opacity:.85; font-size:18px; max-width:560px; margin: 0 auto 32px; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0F0F13; color: #C9C9D1; padding: 72px 0 32px; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom:48px; }
.footer .brand { margin-bottom:16px; }
.footer .brand-logo { height: 28px; }
.footer-about { font-size:14px; color:#9A9AA4; max-width:320px; }
.footer h4 { color:#fff; font-size:14px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:18px; }
.footer ul li { margin-bottom:11px; }
.footer ul a { font-size:14.5px; color:#9A9AA4; transition:color .2s; }
.footer ul a:hover { color: #fff; }
.footer-company { max-width: 360px; }
.footer-badges { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.footer-pci { height: 66px; width: auto; border-radius: 8px; box-shadow: var(--shadow-sm); }
.footer-iso { height: 80px; width: auto; }
.footer-rbi-badge { display: inline-flex; align-items: center; gap: 13px; margin-top: 20px; padding: 13px 17px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09); max-width: 330px; }
.footer-rbi-badge .rbi-emblem { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; background: rgba(220,52,59,.12); border: 1px solid rgba(220,52,59,.28); }
.footer-rbi-badge .rbi-emblem svg { width: 21px; height: 21px; stroke: var(--brand); fill: none; }
.footer-rbi-badge .rbi-txt b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 12.5px; color: #fff; line-height: 1.3; letter-spacing: -.01em; }
.footer-rbi-badge .rbi-txt span { font-size: 11.5px; color: #9A9AA4; }
.footer-contact { margin-top: 22px; display: grid; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: #9A9AA4; line-height: 1.5; }
.footer-contact svg { width: 18px; height: 18px; stroke: var(--brand); flex: none; margin-top: 2px; }
.footer-contact a { color: #9A9AA4; transition: color .2s; }
.footer-contact a:hover { color: #fff; }
.footer-reg { margin-top: 24px; border-top:1px solid rgba(255,255,255,.08); padding-top:24px; }
.footer-rbi { display:flex; align-items:flex-start; gap:14px; }
.footer-rbi .rbi-ic { width:40px; height:40px; border-radius:11px; flex:none; display:grid; place-items:center; background: rgba(220,52,59,.12); border:1px solid rgba(220,52,59,.28); margin-top:2px; }
.footer-rbi .rbi-ic svg { width:20px; height:20px; stroke: var(--brand); fill:none; stroke-width:2; }
.footer-rbi p { font-size: 12.5px; color:#8A8A94; line-height:1.6; margin:0; max-width: 860px; }
.footer-grievance { font-size:12.5px; color:#8A8A94; line-height:1.6; margin:14px 0 0; padding-left:54px; max-width:860px; }
.footer-grievance b { color:#C9C9D1; font-weight:700; }
.footer-grievance a { color:#B9B9C2; text-decoration:underline; text-underline-offset:2px; }
.footer-grievance a:hover { color:#fff; }
@media (max-width: 720px){ .footer-grievance { padding-left:0; } }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:26px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:13px; color:#7A7A85; }
.footer-bottom-links { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.footer-bottom-links a { color:#9A9AA4; font-weight:600; transition:color .2s; }
.footer-bottom-links a:hover { color:#fff; }

/* ============================================================
   REVEAL ANIMATION (disabled — always visible)
   ============================================================ */
.reveal, .reveal.in { opacity:1; transform:none; transition:none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 460px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .kf-stage { height: 480px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background:#fff; padding: 20px 24px; gap: 6px; box-shadow: var(--shadow); border-top:1px solid var(--line);
  }
  .nav.open .nav-links a { padding: 12px 0; border-bottom:1px solid var(--line-2); }
  .section { padding: 68px 0; }
  .why-grid, .mod-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 80px; }
  .cta-box { padding: 44px 24px; }
  .footer-bottom { justify-content:center; text-align:center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity:1; transform:none; }
}
