/* Saandru public site · shared by the home page and the blog.
   Layout: the Saandru app's own visual language on public pages. Slate surfaces, navy
   primary, gold seal, hairline borders, uppercase labels, pills for state, and the dotted
   designer workspace behind every certificate. Tokens mirror frontend/src/styles/index.css
   and ui.css. One 1200px column; navy bands carry the verification story. */

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --text-2: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --primary: #071e4e;
  --primary-hover: #0b2b6b;
  --primary-ink: #ffffff;
  --select: #2563eb;
  --select-soft: rgba(37, 99, 235, 0.09);
  --success: #059669;
  --success-soft: rgba(5, 150, 105, 0.1);
  --gold: #c9a84c;
  --workspace: #e8ecf2;
  --dot: #d2d9e4;
  --band: #071e4e;
  --band-2: #0c2a63;
  --band-line: #1d3f7d;
  --band-text: #f8fafc;
  --band-muted: #c7d2e6;
  --band-faint: #9fb0cf;
  --ok: #34d399;
  --ok-ink: #052e1f;
  --bad: #fca5a5;
  --bad-ink: #450a0a;
  --wait: #fcd34d;
  --wait-ink: #422006;
  --cert-bg: #fffdf5;
  --cert-border: #c9a84c;
  --cert-title: #1a237e;
  --cert-text: #333333;
  --cert-muted: #5b6474;
  --header-bg: rgba(248, 250, 252, 0.85);
  --shadow: rgba(15, 23, 42, 0.18);
  --spot: rgba(37, 99, 235, 0.10);

  --f-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --f-cert: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-script: 'Great Vibes', 'Brush Script MT', 'Segoe Script', cursive;
  --f-tamil: 'Noto Sans Tamil', 'Nirmala UI', 'Latha', sans-serif;
  --radius: 12px;
  --gutter: clamp(16px, 4vw, 28px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0f19; --surface: #111827; --surface-2: #172033; --text: #f8fafc; --text-2: #94a3b8; --muted: #8190a6;
    --line: #1e293b; --line-2: #334155; --primary: #3b82f6; --primary-hover: #2563eb; --primary-ink: #ffffff;
    --select: #60a5fa; --select-soft: rgba(96, 165, 250, 0.14); --success: #10b981; --success-soft: rgba(16, 185, 129, 0.14);
    --workspace: #0d1320; --dot: #1b2436; --band: #0d1f45; --band-2: #132a5a; --band-line: #22407a;
    --header-bg: rgba(11, 15, 25, 0.85); --shadow: rgba(0, 0, 0, 0.55); --spot: rgba(96, 165, 250, 0.12);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0f19; --surface: #111827; --surface-2: #172033; --text: #f8fafc; --text-2: #94a3b8; --muted: #8190a6;
  --line: #1e293b; --line-2: #334155; --primary: #3b82f6; --primary-hover: #2563eb; --primary-ink: #ffffff;
  --select: #60a5fa; --select-soft: rgba(96, 165, 250, 0.14); --success: #10b981; --success-soft: rgba(16, 185, 129, 0.14);
  --workspace: #0d1320; --dot: #1b2436; --band: #0d1f45; --band-2: #132a5a; --band-line: #22407a;
  --header-bg: rgba(11, 15, 25, 0.85); --shadow: rgba(0, 0, 0, 0.55); --spot: rgba(96, 165, 250, 0.12);
  color-scheme: dark;
}
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2.5px solid var(--select); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-head); text-wrap: balance; margin: 0; letter-spacing: -0.025em; }
p { margin: 0; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); }
.tamil { font-family: var(--f-tamil); letter-spacing: 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--select); }
.h2 { font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.lede { font-size: 18px; color: var(--text-2); max-width: 62ch; }
.sec { padding-block: clamp(64px, 9vw, 104px); }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 36px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 60; background: var(--surface); padding: 8px 12px; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 15.5px; line-height: 1; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.2s, border-color 0.2s; }
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); overflow: hidden; }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 12px 26px -12px var(--primary); }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent); transform: skewX(-18deg); transition: left 0.7s var(--ease); }
.btn-primary:hover::after { left: 130%; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text-2); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
.btn-band { background: transparent; color: var(--band-text); border-color: var(--band-line); }
.btn-band:hover { border-color: var(--band-muted); }
.btn-light { background: #ffffff; color: #071e4e; }
[data-magnetic] { will-change: transform; }

/* ── Pills ────────────────────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--surface-2); color: var(--text-2); }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.no-dot::before { display: none; }
.pill.is-info { background: var(--select-soft); color: var(--select); }
.pill.is-success { background: var(--success-soft); color: var(--success); }
.pill.live::before { animation: ping 2.4s infinite; }

/* ── Brand ────────────────────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { flex: none; display: block; }
.brand-mark .seal-dot { transform-origin: 16px 24.4px; animation: dot 3.6s ease-in-out infinite; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--f-head); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }

/* ── Header + scroll progress ─────────────────────────────────────────── */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 18px -16px var(--shadow); }
.js .site-header { animation: dropIn 0.7s var(--ease) backwards; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--select)); transform-origin: left; transform: scaleX(0); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.nav-links { display: flex; gap: 2px; font-size: 14.5px; font-weight: 500; }
.nav-links a { position: relative; text-decoration: none; color: var(--text-2); padding: 8px 12px; border-radius: 8px; transition: background 0.15s, color 0.15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.bar-cta { display: flex; align-items: center; gap: 6px; }
.login { font-weight: 600; font-size: 14.5px; text-decoration: none; padding: 10px 12px; color: var(--text-2); }
.login:hover { color: var(--text); }
@media (max-width: 920px) { .nav-links { display: none; } }
@media (max-width: 440px) { .login, .bar .brand-sub { display: none; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 80px) clamp(64px, 8vw, 104px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 10%, transparent 70%); pointer-events: none; }
.hero-glow { position: absolute; width: 620px; height: 620px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(37, 99, 235, 0.10), transparent 65%); pointer-events: none; animation: glow 14s ease-in-out infinite alternate; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 { font-weight: 800; font-size: clamp(40px, 5.8vw, 70px); line-height: 1.05; letter-spacing: -0.035em; }
.hw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hw > span { display: inline-block; }
.hero h1 .hl { color: var(--select); position: relative; white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: 0; bottom: -0.08em; width: 100%; height: 0.26em; overflow: visible; }
.hero h1 .hl path { stroke: var(--gold); stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 0; }
.hero .lede { font-size: clamp(17px, 1.5vw, 19px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.fine { font-size: 14px; color: var(--muted); }
.trust { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.trust a { font-weight: 600; color: var(--text); text-decoration: none; }
.trust a:hover { color: var(--select); }
.mono-tile { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font-family: var(--f-head); font-weight: 800; font-size: 11.5px; letter-spacing: 0.02em; color: var(--text); }

/* Hero intro: one orchestrated sequence, only when the head script adds .intro to <html> */
.intro .hero .hw > span { animation: rise 0.95s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
.intro .hero .hl path { animation: draw 1.2s 0.85s cubic-bezier(.6, .1, .2, 1) backwards; }
.intro .hero .hero-copy > :not(h1) { animation: fadeUp 0.8s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 90ms + 480ms); }
.intro .hero .stage { animation: fadeIn 0.9s 0.1s ease backwards; }
.intro .hero .cert { animation: certIn 1.1s var(--ease) 0.3s backwards; }
.intro .hero .cert::before { animation: wipe 1.1s 0.7s cubic-bezier(.6, .1, .2, 1) backwards; }
.intro .hero .cert::after { animation: wipe 1.1s 0.85s cubic-bezier(.6, .1, .2, 1) backwards; }
.intro .hero .cert-name { animation: write 1.4s 1s cubic-bezier(.5, 0, .3, 1) backwards; }
.intro .hero .sig span:first-child { animation: write 0.9s 1.9s cubic-bezier(.5, 0, .3, 1) backwards; }
.intro .hero .qr svg { animation: qrIn 0.9s 1.2s ease backwards; }
.intro .hero .seal { animation: stampIn 0.6s 1.6s cubic-bezier(.3, 1.5, .5, 1) backwards, stamp 7s 2.4s ease-in-out infinite; }
.intro .hero .verify-card { animation: cardIn 0.9s 1.8s var(--ease) backwards, float 6s 2.8s ease-in-out infinite; }

/* ── Workspace stage + certificate (cream and gold in both themes) ────── */
.stage { position: relative; min-width: 0; padding: clamp(22px, 4vw, 40px) clamp(16px, 3vw, 32px) clamp(76px, 9vw, 92px); border-radius: 18px; border: 1px solid var(--line); background-color: var(--workspace); background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 18px 18px; perspective: 1200px; }
.stage-label { position: absolute; top: 12px; left: 16px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.cert { --rx: 3deg; --ry: -6deg; --gx: 50%; --gy: 50%; --go: 0; position: relative; background: var(--cert-bg); color: var(--cert-text); border-radius: 4px; padding: clamp(20px, 3vw, 30px); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 30px 60px -32px rgba(15, 23, 42, 0.45); transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform 0.5s var(--ease); }
.cert.is-tilting { transition: transform 0.12s linear; }
.cert::before { content: ""; position: absolute; inset: 8px; border: 2px solid var(--cert-border); border-radius: 2px; pointer-events: none; }
.cert::after { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(201, 168, 76, 0.55); border-radius: 1px; pointer-events: none; }
.cert-fx { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; z-index: 2; }
.cert-fx::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.55), transparent 45%); opacity: var(--go); transition: opacity 0.4s; mix-blend-mode: soft-light; }
.cert-fx::after { content: ""; position: absolute; top: -40%; bottom: -40%; left: -60%; width: 35%; background: linear-gradient(100deg, transparent, rgba(255, 236, 190, 0.55), transparent); transform: skewX(-16deg); animation: sheen 8s 3.2s ease-in-out infinite; }
.cert-body { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 4px 4px; }
.cert-org { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cert-muted); }
.cert-title { font-family: var(--f-cert); font-weight: 700; font-size: clamp(20px, 2.3vw, 27px); color: var(--cert-title); letter-spacing: 0.02em; }
.cert-small { font-size: 12.5px; color: var(--cert-muted); }
.cert-name { font-family: var(--f-script); font-size: clamp(38px, 4.6vw, 52px); line-height: 1.15; color: #0f172a; min-height: 1.15em; }
.cert-what { font-size: 13.5px; color: var(--cert-text); max-width: 380px; }
.cert-foot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 14px; }
.sig { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; color: var(--cert-muted); }
.sig span:first-child { font-family: var(--f-script); font-size: 26px; color: #0f172a; line-height: 1; }
.sig span:last-child { border-top: 1px solid #b9b2a0; padding-top: 4px; }
.seal { width: 74px; height: 74px; flex: none; color: #b08d35; animation: stamp 7s ease-in-out infinite; }
.qr-box { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.qr { position: relative; width: 92px; height: 92px; padding: 4px; background: #ffffff; border-radius: 4px; }
.qr svg { width: 84px; height: 84px; display: block; color: #0f172a; }
.scan { position: absolute; left: -4px; right: -4px; top: 2px; height: 3px; border-radius: 2px; background: #10b981; box-shadow: 0 0 14px 3px rgba(16, 185, 129, 0.55); animation: scan 3.2s ease-in-out infinite; }
.cert-id { font-family: var(--f-mono); font-size: 10px; color: var(--cert-muted); }
.cert.shake { animation: shake 0.5s cubic-bezier(.36, .07, .19, .97); }

/* Verification panel */
.verify-card { position: absolute; right: clamp(-12px, -1vw, 0px); bottom: -28px; width: 310px; max-width: 90%; background: #071e4e; color: #f8fafc; border-radius: 14px; padding: 16px 18px 18px; box-shadow: 0 24px 48px -18px rgba(7, 30, 78, 0.6); animation: float 6s ease-in-out infinite; border: 1px solid #1d3f7d; z-index: 3; }
@media (max-width: 560px) { .verify-card { position: relative; right: auto; bottom: auto; margin: -40px 0 0 auto; } .hero .stage { padding-bottom: 20px; } }
.vc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.vc-url { font-family: var(--f-mono); font-size: 11px; color: #9fb0cf; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--ok); color: var(--ok-ink); transition: background 0.3s, color 0.3s; }
.badge.wait { background: var(--wait); color: var(--wait-ink); }
.badge.bad { background: var(--bad); color: var(--bad-ink); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; transition: opacity 0.35s; }
.checks li.off { opacity: 0.4; }
.tick { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #34d399; display: grid; place-items: center; margin-top: 1px; transition: background 0.3s; }
.tick svg { width: 10px; height: 10px; transition: transform 0.35s cubic-bezier(.3, 1.6, .5, 1); }
.checks li:not(.off) .tick { background: #34d399; }
.checks li.off .tick svg { transform: scale(0); }
.checks small { display: block; color: #9fb0cf; font-family: var(--f-mono); font-size: 11px; }

/* ── Facts strip ──────────────────────────────────────────────────────── */
.facts { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.facts ul { list-style: none; margin: 0; padding-block: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 960px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; } }
@media (max-width: 480px) { .facts ul { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.facts li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.facts b { font-family: var(--f-head); font-weight: 800; font-size: clamp(22px, 2.3vw, 29px); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--text); display: inline-flex; align-items: baseline; gap: 4px; line-height: 1.2; white-space: nowrap; }
.facts b span { font-size: inherit; font-weight: inherit; color: inherit; letter-spacing: inherit; }
.facts li > span { font-size: 13.5px; color: var(--muted); line-height: 1.45; word-break: break-word; }

/* ── Answer blocks ────────────────────────────────────────────────────── */
.answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 860px) { .answers { grid-template-columns: minmax(0, 1fr); } }
.answer { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.answer.boxed { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.answer h3 { font-size: 21px; font-weight: 700; }
.answer p { color: var(--text-2); }
.answer a { color: var(--select); font-weight: 600; text-decoration: none; }
.answer a:hover { text-decoration: underline; }

/* ── Cards, spotlight ─────────────────────────────────────────────────── */
.step, .feat, .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 45%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.spot:hover::before { opacity: 1; }

/* ── Steps with scroll-linked track ───────────────────────────────────── */
.track { position: relative; height: 2px; margin: 0 0 22px; background: var(--line); border-radius: 2px; overflow: hidden; }
.track i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--select), var(--success)); transform-origin: left; transform: scaleX(1); }
.js .track i { transform: scaleX(0); }
@media (max-width: 860px) { .track { display: none; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { display: flex; flex-direction: column; gap: 12px; padding: 24px; transition: border-color 0.4s, box-shadow 0.4s; }
.step.lit { border-color: var(--select); box-shadow: 0 0 0 3px var(--select-soft); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-n { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.step h3 { font-size: 21px; font-weight: 700; }
.step p { color: var(--text-2); font-size: 15.5px; }
.icon-tile { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--select-soft); color: var(--select); transition: background 0.4s, color 0.4s, transform 0.4s var(--ease); }
.icon-tile svg { width: 20px; height: 20px; }
.step.lit .icon-tile { background: var(--select); color: #ffffff; transform: scale(1.06); }
.batch { margin-top: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 20px; border-radius: var(--radius); border: 1px dashed var(--line-2); background: var(--surface); }
@media (max-width: 640px) { .batch { grid-template-columns: minmax(0, 1fr); } }
.batch-file { font-family: var(--f-mono); font-size: 13.5px; }
.meter { height: 8px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; background: var(--success); border-radius: 6px; transform-origin: left; }
.batch-count { font-family: var(--f-mono); font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── Navy band + tamper check ─────────────────────────────────────────── */
.band { position: relative; overflow: hidden; background: var(--band); color: var(--band-text); }
.band .eyebrow { color: #93c5fd; }
.band .lede { color: var(--band-muted); }
.parallax { position: absolute; pointer-events: none; will-change: transform; }
.band-rosette { left: -220px; bottom: -280px; width: 680px; height: 680px; color: var(--gold); opacity: 0.18; }
.band-rosette svg, .final-rosette svg { width: 100%; height: 100%; animation: spin 170s linear infinite reverse; }
.tamper { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .tamper { grid-template-columns: minmax(0, 1fr); } }
.tamper-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tamper-lab { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tamper-lab .stage { padding: 30px 22px 22px; border-color: var(--band-line); background-color: rgba(255, 255, 255, 0.04); background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px); }
.tamper-lab .stage-label { color: var(--band-faint); }
.tamper-lab .cert { --rx: 0deg; --ry: 0deg; }
.edit-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 240px; min-width: 0; }
.field > label { font-size: 13.5px; font-weight: 500; }
.band .field > label { color: var(--band-muted); }
.band .field input { font: 500 16px var(--f-body); min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--band-line); background: var(--band-2); color: var(--band-text); }
.band .field input:focus { outline: none; border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.25); }
.result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .result { grid-template-columns: minmax(0, 1fr); } }
.rcell { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--radius); background: var(--band-2); border: 1px solid var(--band-line); min-width: 0; transition: border-color 0.3s, background 0.3s; }
.rcell.bad { border-color: var(--bad); background: rgba(252, 165, 165, 0.08); }
.rcell span:first-child { font-size: 12.5px; color: var(--band-faint); }
.rcell strong { font-family: var(--f-script); font-weight: 400; font-size: 30px; line-height: 1.15; overflow-wrap: anywhere; }
.status-line { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--band-muted); min-height: 28px; }

/* ── Features ─────────────────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .features { grid-template-columns: minmax(0, 1fr); } }
.feat { display: flex; flex-direction: column; gap: 10px; padding: 22px; transition: transform 0.3s var(--ease), border-color 0.2s, box-shadow 0.3s; }
.feat:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 14px 28px -16px var(--shadow); }
.feat:hover .icon-tile { transform: rotate(-6deg) scale(1.06); }
.feat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.feat h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.015em; }
.feat p { color: var(--text-2); font-size: 15px; }

/* ── Clients ──────────────────────────────────────────────────────────── */
.client { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 32px); }
@media (max-width: 760px) { .client { grid-template-columns: minmax(0, 1fr); } }
.client-mark { position: relative; width: 84px; height: 84px; border-radius: 18px; display: grid; place-items: center; background: #071e4e; color: #ffffff; font-family: var(--f-head); font-weight: 800; font-size: 20px; letter-spacing: 0.01em; }
.client-mark::after { content: ""; position: absolute; bottom: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: dot 3.6s 1s ease-in-out infinite; }
.client-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.client-body h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; }
.client-body p { color: var(--text-2); max-width: 60ch; }
.client-link { font-size: 14px; font-weight: 600; color: var(--select); text-decoration: none; }
.client-link:hover { text-decoration: underline; }
.client-cta { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 760px) { .client-cta { padding-left: 0; border-left: 0; padding-top: 18px; border-top: 1px solid var(--line); } }
.client-cta span { font-size: 14px; color: var(--muted); }
.marquee { margin-top: 28px; overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding-block: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; margin: 0; padding: 0 20px 0 0; display: flex; gap: 20px; font-family: var(--f-head); font-size: clamp(18px, 2.1vw, 23px); font-weight: 700; letter-spacing: -0.015em; white-space: nowrap; color: var(--text-2); }
.marquee li::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-left: 20px; vertical-align: middle; }

/* ── Calculator ───────────────────────────────────────────────────────── */
.calc { overflow: hidden; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.preset { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 44px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; text-align: left; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.2s var(--ease); }
.preset b { font-size: 14px; font-weight: 600; }
.preset small { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); }
.preset:hover { border-color: var(--line-2); transform: translateY(-1px); }
.preset[aria-checked="true"] { border-color: var(--select); box-shadow: 0 0 0 3px var(--select-soft); }
.preset[aria-checked="true"] b { color: var(--select); }
.calc-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
@media (max-width: 900px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } }
.calc-in { padding: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; align-content: start; }
@media (max-width: 480px) { .calc-in { grid-template-columns: minmax(0, 1fr); } }
.calc-in .field > label { font-size: 13px; color: var(--text-2); }
.stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--surface); }
.stepper:focus-within { border-color: var(--select); box-shadow: 0 0 0 3px var(--select-soft); }
.stepper button { border: 0; background: var(--surface-2); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; min-height: 46px; transition: background 0.15s; }
.stepper button:hover { background: var(--line); }
.stepper button:active { transform: scale(0.94); }
.stepper input { width: 100%; min-width: 0; border: 0; text-align: center; font: 600 17px var(--f-mono); color: var(--text); background: transparent; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input:focus { outline: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-assume { grid-column: 1 / -1; font-size: 13px; color: var(--muted); padding-top: 4px; border-top: 1px dashed var(--line); }
.calc-out { padding: 24px; display: flex; flex-direction: column; gap: 18px; background-color: var(--workspace); background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 18px 18px; border-left: 1px solid var(--line); }
@media (max-width: 900px) { .calc-out { border-left: 0; border-top: 1px solid var(--line); } }
.calc-hero { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.calc-big { font-family: var(--f-head); font-weight: 800; font-size: clamp(52px, 7vw, 76px); line-height: 0.95; letter-spacing: -0.045em; color: var(--text); font-variant-numeric: tabular-nums; }
.calc-big small { font-size: 0.34em; letter-spacing: -0.01em; margin-left: 6px; color: var(--text-2); }
.calc-days { font-size: 14.5px; font-weight: 600; color: var(--success); }
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13.5px; }
.bar-row span:first-child { color: var(--text-2); font-weight: 500; }
.bar { height: 14px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 7px; width: 100%; transition: width 0.7s var(--ease); }
.bar-row.hand .bar i { background: repeating-linear-gradient(135deg, var(--line-2) 0 6px, var(--muted) 6px 8px); background-size: 200% 100%; animation: stripes 12s linear infinite; }
.bar-row.us .bar i { background: var(--success); }
.bar-row output { font-family: var(--f-mono); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 420px) { .bar-row { grid-template-columns: minmax(0, 1fr) auto; } .bar-row .bar { grid-column: 1 / -1; grid-row: 2; } }
.receipt { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px 14px; box-shadow: 0 12px 24px -18px var(--shadow); }
.receipt::before { content: ""; position: absolute; left: 14px; right: 14px; top: -1px; border-top: 2px dashed var(--line-2); }
.receipt h3 { font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.receipt dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 14px; font-size: 14px; }
.receipt dt { color: var(--text-2); }
.receipt dd { margin: 0; text-align: right; font-family: var(--f-mono); font-size: 13.5px; font-variant-numeric: tabular-nums; transition: color 0.3s; }
.receipt dd.flash { color: var(--select); }
.receipt .total { padding-top: 8px; border-top: 1px solid var(--line); font-weight: 700; color: var(--text); }
.calc-verdict { font-size: 14.5px; color: var(--text); font-weight: 500; }
.calc-verdict b { color: var(--success); }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.price-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.toggle { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); position: relative; }
.toggle button { position: relative; z-index: 1; font-weight: 600; font-size: 14px; border: 0; background: transparent; color: var(--text-2); min-height: 38px; padding: 0 16px; border-radius: 7px; cursor: pointer; transition: color 0.3s; }
.toggle button[aria-pressed="true"] { color: var(--text); }
.toggle .knob { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; border-radius: 7px; background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); transition: transform 0.45s cubic-bezier(.3, 1.3, .5, 1), width 0.45s; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px var(--shadow); }
.plan-card.featured { background: var(--band); color: var(--band-text); border-color: transparent; box-shadow: 0 24px 50px -30px var(--shadow); }
.plan-card.featured::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), transparent 0 60%, var(--gold) 75%, #93c5fd 88%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: orbit 5s linear infinite; pointer-events: none; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.plan-card h3 { font-size: 20px; font-weight: 800; }
.plan-card.featured h3 { color: #ffffff !important; }
.plan-tag { font-size: 14px; color: var(--muted); min-height: 44px; }
.featured .plan-tag, .featured .per, .featured .plan-note { color: var(--band-muted); }
.price { display: flex; align-items: baseline; gap: 6px; }
.amt { font-family: var(--f-head); font-weight: 800; font-size: 38px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; display: inline-block; transition: transform 0.35s, opacity 0.35s, filter 0.35s; }
.amt.flip { transform: translateY(-10px); opacity: 0; filter: blur(4px); }
.per { font-size: 14px; color: var(--muted); }
.plan-note { font-size: 13px; color: var(--muted); min-height: 20px; }
.plan-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.plan-card li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; }
.plan-card li svg { margin-top: 3px; color: var(--success); }
.featured li svg { color: var(--ok); }
.featured .pill { background: rgba(52, 211, 153, 0.16); color: var(--ok); }
.credits { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 20px 24px; border: 1px dashed var(--line-2); border-radius: 14px; background: var(--surface); }
.credits h3 { font-size: 18px; font-weight: 700; }
.credits p { color: var(--text-2); font-size: 14.5px; }
.credits dl { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; }
.credits dt { color: var(--muted); }
.credits dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── Tables and key facts ─────────────────────────────────────────────── */
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
tbody th { font-weight: 600; width: 26%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.2s; }
tbody tr:hover { background: var(--surface-2); }
td.us { background: var(--success-soft); }
.keyfacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .keyfacts { grid-template-columns: minmax(0, 1fr); } }
.keyfacts dl { margin: 0; display: grid; grid-template-columns: minmax(110px, 34%) minmax(0, 1fr); padding: 6px 20px; }
.keyfacts dt, .keyfacts dd { padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 14.5px; }
.keyfacts dt { color: var(--muted); padding-right: 16px; }
.keyfacts dd { font-weight: 600; overflow-wrap: anywhere; }
.keyfacts dt:last-of-type, .keyfacts dd:last-of-type { border-bottom: 0; }
.updated { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }

/* ── Blog cards (home section and blog index) ─────────────────────────── */
.cover { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 9; max-width: 100%; background-color: #071e4e; background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px); background-size: 16px 16px; }
.cover.is-light { background-color: var(--workspace); background-image: radial-gradient(var(--dot) 1px, transparent 1px); }
.cover svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.8s var(--ease); }
.cover .spin { transform-box: view-box; transform-origin: 320px 180px; animation: spin 90s linear infinite; }
.cover .scanline { animation: coverScan 3.2s ease-in-out infinite; }
.cover .grow { transform-box: fill-box; transform-origin: left center; animation: growX 1.4s var(--ease) backwards; }
.cover .row { animation: rowPulse 3.2s ease-in-out infinite; }
.post-card { display: flex; flex-direction: column; gap: 14px; padding: 14px 14px 20px; text-decoration: none; color: inherit; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px var(--shadow); border-color: var(--line-2); }
.post-card:hover .cover svg { transform: scale(1.05); }
.post-card .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-inline: 6px; font-size: 13px; color: var(--muted); }
.post-card h3 { padding-inline: 6px; font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; }
.post-card p { padding-inline: 6px; color: var(--text-2); font-size: 15px; }
.post-card .more { padding-inline: 6px; margin-top: auto; font-size: 14px; font-weight: 600; color: var(--select); display: inline-flex; align-items: center; gap: 6px; }
.post-card .more span { transition: transform 0.3s var(--ease); }
.post-card:hover .more span { transform: translateX(4px); }
.blog-home { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 900px) { .blog-home { grid-template-columns: minmax(0, 1fr); } }
.post-list { display: flex; flex-direction: column; }
.post-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border-radius: var(--radius); text-decoration: none; color: inherit; border: 1px solid transparent; transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.post-row:hover { background: var(--surface); border-color: var(--line); transform: translateX(4px); }
.post-row .cover { border-radius: 8px; }
.post-row h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
.post-row span { font-size: 12.5px; color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }
.post-grid .post-card { transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s, opacity 0.35s; }
.post-grid .post-card.is-hidden { display: none; }
.post-grid .post-card.is-entering { animation: cardPop 0.45s var(--ease) backwards; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { border: 1px solid var(--line); background: var(--surface); color: var(--text-2); border-radius: 99px; padding: 8px 16px; min-height: 40px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.filters button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }

/* ── Blog index hero ──────────────────────────────────────────────────── */
.blog-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.blog-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.blog-hero .wrap { position: relative; display: flex; flex-direction: column; gap: 16px; }
.blog-hero h1 { font-weight: 800; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.035em; max-width: 16ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--select); }
.crumbs span[aria-hidden] { color: var(--line-2); }

/* ── Article ──────────────────────────────────────────────────────────── */
.article-head { position: relative; padding-block: clamp(40px, 6vw, 72px) 28px; overflow: hidden; }
.article-head::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); pointer-events: none; }
.article-head .wrap { position: relative; display: flex; flex-direction: column; gap: 18px; max-width: 920px; }
.article-head h1 { font-weight: 800; font-size: clamp(34px, 4.8vw, 56px); line-height: 1.07; letter-spacing: -0.035em; }
.dek { font-size: clamp(18px, 1.8vw, 21px); color: var(--text-2); max-width: 62ch; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; color: var(--muted); }
.byline .brand-mark { width: 28px; height: 28px; }
.byline b { color: var(--text); font-weight: 600; }
.article-cover { max-width: 920px; margin-inline: auto; padding-inline: var(--gutter); }
.article-cover .cover { aspect-ratio: 21 / 9; border-radius: 16px; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; max-width: 1080px; margin: 40px auto 0; padding-inline: var(--gutter); align-items: start; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.toc h2 { font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc a { position: relative; display: block; padding: 6px 0 6px 14px; color: var(--muted); text-decoration: none; border-left: 2px solid var(--line); transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--text); border-color: var(--select); font-weight: 600; }
@media (max-width: 1000px) { .toc { display: none; } }
.prose { min-width: 0; max-width: 70ch; font-size: 17.5px; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; line-height: 1.2; margin-top: 2.2em; letter-spacing: -0.025em; }
.prose h3 { font-size: 20px; font-weight: 700; line-height: 1.3; margin-top: 1.8em; letter-spacing: -0.015em; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose a { color: var(--select); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--select); font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); font-family: var(--f-head); font-size: 21px; font-weight: 700; line-height: 1.4; color: var(--text); letter-spacing: -0.015em; }
.prose code { font-family: var(--f-mono); font-size: 0.88em; background: var(--surface-2); padding: 2px 6px; border-radius: 5px; }
.prose .table-box { margin-top: 1.4em; }
.prose table { font-size: 14.5px; line-height: 1.5; }
.prose td, .prose th { color: var(--text-2); }
.prose tbody th { color: var(--text); }
.callout { padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.callout h2 { margin: 0 0 10px; font-family: var(--f-body); font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--select); }
.callout ul { margin: 0; }
.callout li { font-size: 16px; }
.callout.is-gold { border-color: rgba(201, 168, 76, 0.6); background: linear-gradient(180deg, rgba(201, 168, 76, 0.08), transparent 70%), var(--surface); }
.word { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding: 26px; border-radius: 16px; background: #071e4e; color: #f8fafc; }
.word .ta { font-family: var(--f-tamil); font-size: clamp(44px, 7vw, 64px); font-weight: 800; line-height: 1.1; }
.word dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; font-size: 15px; }
.word dt { color: #9fb0cf; }
.word dd { margin: 0; color: #f8fafc; }
.prose .word p { color: #c7d2e6; }
.cta-box { margin-top: 2.4em; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 16px; background: #071e4e; color: #f8fafc; }
.cta-box::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); pointer-events: none; }
.cta-box h2 { position: relative; margin: 0; font-size: 24px; color: #f8fafc; }
.prose .cta-box p { position: relative; color: #c7d2e6; }
.cta-box .cta-row { position: relative; }
.prose .cta-box a.btn { text-decoration: none; }
.related { margin-top: clamp(56px, 8vw, 96px); }
.faq-mini details { border-bottom: 1px solid var(--line); }
.faq-mini details:first-of-type { border-top: 1px solid var(--line); }
.faq-mini summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; font-family: var(--f-head); font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -0.015em; }
.faq-mini summary::-webkit-details-marker { display: none; }
.faq-mini summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform 0.3s; }
.faq-mini details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq-mini details p { margin: 0 0 16px; }

/* ── FAQ (home) ───────────────────────────────────────────────────────── */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-family: var(--f-head); font-size: clamp(17px, 1.9vw, 19.5px); font-weight: 700; letter-spacing: -0.015em; transition: color 0.2s; }
.faq summary:hover { color: var(--select); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details p { padding: 0 0 18px; color: var(--text-2); max-width: 70ch; }
.faq details[open] p { animation: fadeUp 0.4s var(--ease); }

/* ── Final CTA ────────────────────────────────────────────────────────── */
.final { position: relative; overflow: hidden; border-radius: 20px; background: var(--band); color: var(--band-text); padding: clamp(40px, 6vw, 68px) clamp(24px, 5vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.final::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); pointer-events: none; }
.final-rosette { right: -160px; top: -200px; width: 600px; height: 600px; color: var(--gold); opacity: 0.22; }
.final h2 { position: relative; font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.06; max-width: 780px; color: #ffffff !important; }
.final p { position: relative; font-size: 17.5px; color: var(--band-muted); }
.final .cta-row { position: relative; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 44px 28px; margin-top: clamp(64px, 9vw, 104px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot-grid nav { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.foot-grid nav a { text-decoration: none; color: var(--text-2); transition: color 0.2s; }
.foot-grid nav a:hover { color: var(--select); }
.foot-grid h2 { font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.foot-about { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: var(--text-2); max-width: 42ch; }
.copy-mail { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 13.5px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; align-self: flex-start; }
.copy-mail span { font-family: var(--f-body); font-size: 12px; font-weight: 600; color: var(--select); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; }

/* ── Scroll reveal: visible at rest; only below-the-fold elements take an offset ── */
.rv { transition: transform 0.9s var(--ease), opacity 0.9s, filter 0.9s; transition-delay: calc(var(--d, 0) * 80ms); }
.rv.pre { transform: translateY(24px); opacity: 0.35; filter: blur(3px); }
.rv-mask { transition: clip-path 1s var(--ease), transform 1s var(--ease); }
.rv-mask.pre { clip-path: inset(0 0 100% 0); transform: translateY(14px); }

/* ── Wordmark morph: Saandru ↔ சான்று (letters swap one after another) ── */
.morph { display: inline-grid; justify-items: start; }
.morph > span { grid-area: 1 / 1; display: inline-flex; white-space: nowrap; }
.morph i { font-style: normal; display: inline-block; transition: transform 0.6s var(--ease), opacity 0.45s, filter 0.45s; transition-delay: calc(var(--i, 0) * 40ms); }
.morph .ta { font-family: var(--f-tamil); font-weight: 800; font-size: 0.9em; letter-spacing: 0; }
.morph .ta i { opacity: 0; transform: translateY(70%); filter: blur(5px); }
.morph.is-alt .en i { opacity: 0; transform: translateY(-70%); filter: blur(5px); }
.morph.is-alt .ta i { opacity: 1; transform: none; filter: none; }
.brand-name.morph { min-width: 4.6em; }

/* ── Keyframes ────────────────────────────────────────────────────────── */
@keyframes coverScan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(170px); } }
@keyframes growX { from { transform: scaleX(0); } }
@keyframes rowPulse { 0%, 100% { opacity: 1; } 12% { opacity: 0.35; } 24% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(84px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 currentColor; } 80%, 100% { box-shadow: 0 0 0 6px transparent; } }
@keyframes draw { from { stroke-dashoffset: 260; } }
@keyframes stamp { 0%, 64% { transform: rotate(-8deg) scale(1); } 70% { transform: rotate(-8deg) scale(1.1); } 78%, 100% { transform: rotate(-8deg) scale(1); } }
@keyframes stampIn { from { transform: rotate(-40deg) scale(1.9); opacity: 0; } }
@keyframes dot { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.35); } }
@keyframes rise { from { transform: translateY(110%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes dropIn { from { transform: translateY(-100%); } }
@keyframes certIn { from { opacity: 0; transform: translateY(26px) rotateX(14deg) scale(0.95); } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes write { from { clip-path: inset(-40% 100% -40% -10%); } to { clip-path: inset(-40% -10% -40% -10%); } }
@keyframes qrIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(0.95); } }
@keyframes sheen { 0%, 72% { left: -60%; } 100% { left: 130%; } }
@keyframes glow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.15); } }
@keyframes orbit { to { --ang: 360deg; } }
@keyframes stripes { to { background-position: -200% 0; } }
@keyframes shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(3px); } 30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); } }
@keyframes cardPop { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .rv.pre, .rv-mask.pre { transform: none; opacity: 1; filter: none; clip-path: none; }
  .js .track i { transform: scaleX(1); }
}

/* ── Mobile Responsiveness Enhancements ────────────────────────────────── */
html, body, .landing-root {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.mobile-toggle:hover {
  background: var(--surface-2);
  border-color: var(--line-2);
}
.mobile-toggle .bar-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 18px;
  height: 18px;
}
.mobile-toggle .bar-icon i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.25s ease;
}
.mobile-toggle[aria-expanded="true"] .bar-icon i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] .bar-icon i:nth-child(2) {
  opacity: 0;
}
.mobile-toggle[aria-expanded="true"] .bar-icon i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.mobile-nav[aria-hidden="false"], .mobile-nav.is-open {
  display: block;
  animation: fadeUp 0.25s var(--ease);
}
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--gutter) 22px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:active {
  background: var(--surface-2);
  color: var(--text);
}
.mobile-nav hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 8px 0;
}
.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.mobile-nav-cta .btn {
  width: 100%;
  justify-content: center;
  min-height: 44px;
  font-size: 15px;
}

@media (max-width: 920px) {
  .nav-links { display: none !important; }
  .mobile-toggle { display: inline-flex; }
  .bar-cta .login { display: none; }
}

@media (max-width: 640px) {
  .hero { padding-block: 28px 48px; }
  .hero-copy { gap: 16px; }
  .hero h1 { font-size: clamp(32px, 8.5vw, 44px); line-height: 1.1; }
  .hero .lede { font-size: 16px; line-height: 1.5; }
  .cta-row { flex-direction: column; width: 100%; }
  .cta-row .btn { width: 100%; justify-content: center; min-height: 46px; text-align: center; }
  .trust { flex-wrap: wrap; gap: 8px 12px; font-size: 13px; }
  
  .stage {
    padding: 18px 14px 24px;
    border-radius: 14px;
  }
  .cert {
    --rx: 0deg !important;
    --ry: 0deg !important;
    padding: 16px 12px 14px;
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.25);
  }
  .cert-title { font-size: 18px; }
  .cert-name { font-size: clamp(30px, 8vw, 40px); }
  .cert-what { font-size: 12px; line-height: 1.4; }
  .cert-foot { gap: 6px; margin-top: 10px; }
  .seal { width: 48px; height: 48px; }
  .qr { width: 66px; height: 66px; padding: 2px; }
  .qr svg { width: 62px; height: 62px; }
  .sig { font-size: 10px; }
  .sig span:first-child { font-size: 19px; }
  
  .verify-card {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    margin: 14px auto 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 12px 30px -10px rgba(7, 30, 78, 0.45);
  }

  .tamper-lab .stage { padding: 14px 10px 18px; }
  .edit-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .edit-row .btn-band {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }
  .status-line { font-size: 13px; gap: 8px; }

  .presets {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .preset {
    scroll-snap-align: start;
    flex-shrink: 0;
    min-width: 120px;
    min-height: 46px;
    padding: 10px 12px;
  }
  .calc-grid { gap: 20px; }
  .calc.card { padding: 16px; border-radius: 12px; }
  .stepper { min-height: 44px; }
  .stepper button { width: 44px; height: 44px; font-size: 20px; }
  .stepper input { font-size: 16px; }
  .receipt { padding: 14px; }
  .calc-big { font-size: 32px; }

  .price-head { gap: 14px; margin-bottom: 20px; }
  .toggle { width: 100%; max-width: 360px; margin: 0 auto; display: flex; }
  .toggle button { flex: 1; min-height: 40px; font-size: 13px; padding: 0 10px; }
  .plan-card { padding: 20px 16px; }
  .credits { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .credits dl { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

  .keyfacts .card { padding: 18px 14px; }
  .keyfacts dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px 0;
  }
  .keyfacts dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-top: 10px;
  }
  .keyfacts dt:first-child { margin-top: 0; }
  .keyfacts dd {
    font-size: 13.5px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    margin: 0;
  }
  .keyfacts dd:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .table-box {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .table-box table {
    min-width: 520px;
  }

  .final {
    padding: 32px 18px;
    border-radius: 14px;
    gap: 14px;
  }
  .final h2 { font-size: clamp(24px, 6.5vw, 34px); }
  .final p { font-size: 15px; }
  .final .cta-row { flex-direction: column; width: 100%; }
  .final .cta-row .btn { width: 100%; text-align: center; justify-content: center; }

  .faq summary { font-size: 16px; padding: 14px 0; }
  .faq details p { font-size: 14px; line-height: 1.55; }

  .post-card { padding: 16px; }
  .post-card h3 { font-size: 18px; }
  .post-row { gap: 12px; }
  .post-row .cover { width: 80px; height: 60px; }
  .post-row h3 { font-size: 14px; }
}

@media (max-width: 420px) {
  .bar-cta .btn-sm { padding: 7px 10px; font-size: 12.5px; }
  .brand-mark { width: 28px; height: 28px; }
  .bar .brand-sub { display: none; }
  .credits dl { grid-template-columns: minmax(0, 1fr); }
  .credits dl > div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
}

