/* ============================================================
   KARYAYOGI — karyayogi.in design system
   Redesign 2026 · pure static · zero external requests
   Primary green #14642F sampled from app header icons
   (design/sample-screen.png). Light + dark via [data-theme].
   ============================================================ */

/* ------------------------------------------------------------
   1 · TOKENS
   ------------------------------------------------------------ */
:root {
  /* Brand scale */
  --green-950: #082617;
  --green-900: #0C3D1F;
  --green-800: #105026;
  --green: #14642F;            /* exact app-header green */
  --green-600: #1E7C3E;
  --green-500: #2E9152;
  --green-300: #7CC492;
  --green-100: #DCEBDF;
  --green-050: #EEF4EE;

  --saffron: #F0820C;
  --saffron-600: #C66703;
  --saffron-100: #FCEBD6;

  --ink: #20242C;
  --ink-soft: #494F58;
  --paper: #F8F6F0;
  --white: #FFFFFF;

  /* Semantic — light theme */
  --bg: var(--paper);
  --bg-raised: var(--white);
  --bg-tint: var(--green-050);
  --text: var(--ink);
  --text-muted: var(--ink-soft);
  --text-onbrand: #F2F7F2;
  --heading: #17301F;
  --line: #E3DFD4;
  --line-strong: #CFC9BA;
  --link: var(--green);
  --link-hover: var(--green-600);
  --focus-ring: var(--green);
  --shadow-card: 0 1px 2px rgba(23, 48, 31, .06), 0 8px 24px rgba(23, 48, 31, .08);
  --shadow-pop: 0 2px 6px rgba(23, 48, 31, .10), 0 18px 48px rgba(23, 48, 31, .16);
  --nav-glass: rgba(248, 246, 240, .78);
  --hero-wash-a: #0C3D1F;
  --hero-wash-b: #14642F;
  --hero-wash-c: #082617;
  --amber-bg: #FBF0DC;
  --amber-line: #E4B96A;
  --amber-ink: #6E4A08;
  --amber-icon: #A66B06;

  /* Liquid-glass + vibrant accents (2026 redesign) */
  --saffron-glow: #FF9E2C;
  --saffron-glow-2: #FFB755;
  --green-vibrant: #1E8C42;
  --green-glow: #4FB36A;
  --teal: #0EA5A5;                  /* mesh only — never UI chrome text */

  /* Animated mesh stops (saffron → green → teal) */
  --mesh-1: #F0820C;
  --mesh-2: #1E8C42;
  --mesh-3: #0EA5A5;
  --mesh-shift: 0;                  /* 0..1, scroll-driven, updated by site.js */

  /* Liquid-glass surfaces */
  --glass-bg: rgba(255, 255, 255, .55);
  --glass-bg-strong: rgba(255, 255, 255, .72);
  --glass-border: rgba(255, 255, 255, .60);
  --glass-blur-nav: 16px;
  --glass-blur-card: 12px;
  --glass-blur-hero: 20px;
  --specular: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 42%);
  --glass-shadow: 0 2px 8px rgba(23, 48, 31, .10), 0 16px 40px rgba(23, 48, 31, .14);
  --glass-shadow-hover: 0 4px 12px rgba(23, 48, 31, .14), 0 26px 60px rgba(23, 48, 31, .20);

  /* Type */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif Devanagari", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans Devanagari", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --fs-hero: clamp(2.5rem, 1.4rem + 4.4vw, 4.4rem);
  --fs-h1: clamp(2.1rem, 1.3rem + 3vw, 3.4rem);
  --fs-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .6vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-micro: .78rem;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --radius-pill: 999px;

  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-pad: clamp(3.5rem, 4vw + 2rem, 6.5rem);

  --ease-out: cubic-bezier(.22, .61, .2, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0B130D;
  --bg-raised: #121C14;
  --bg-tint: #14231A;
  --text: #E9EFE8;
  --text-muted: #A9B7AB;
  --heading: #F2F7F0;
  --line: #24322A;
  --line-strong: #33453A;
  --link: #7CC492;
  --link-hover: #9AD6AC;
  --focus-ring: #7CC492;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .45);
  --shadow-pop: 0 2px 8px rgba(0, 0, 0, .5), 0 22px 56px rgba(0, 0, 0, .55);
  --nav-glass: rgba(11, 19, 13, .74);
  --hero-wash-a: #0A2617;
  --hero-wash-b: #0F4A24;
  --hero-wash-c: #05130B;
  --amber-bg: #2B2113;
  --amber-line: #7A5A1E;
  --amber-ink: #EFCE8F;
  --amber-icon: #E7B75B;

  --saffron-glow: #FFB755;
  --saffron-glow-2: #FFCB7E;
  --green-vibrant: #2E9152;
  --green-glow: #4FB36A;
  --teal: #2BB8B8;

  --mesh-1: #F0820C;
  --mesh-2: #1E7C3E;
  --mesh-3: #0EA5A5;
  --mesh-shift: 0;

  --glass-bg: rgba(18, 28, 20, .45);
  --glass-bg-strong: rgba(18, 28, 20, .62);
  --glass-border: rgba(255, 255, 255, .12);
  --glass-blur-nav: 16px;
  --glass-blur-card: 12px;
  --glass-blur-hero: 20px;
  --specular: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 42%);
  --glass-shadow: 0 2px 8px rgba(0, 0, 0, .45), 0 16px 40px rgba(0, 0, 0, .50);
  --glass-shadow-hover: 0 4px 12px rgba(0, 0, 0, .55), 0 26px 60px rgba(0, 0, 0, .60);
  color-scheme: dark;
}

/* ------------------------------------------------------------
   2 · RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}
main section[id] { scroll-margin-top: 88px; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.14;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1em; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }

ul, ol { padding-left: 1.3em; }

strong { color: var(--heading); }

code, .mono { font-family: var(--font-mono); font-size: .92em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

::selection { background: var(--green-100); color: var(--green-900); }
[data-theme="dark"] ::selection { background: var(--green-800); color: #EFF6EF; }

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

/* Language switching: default English; [data-lang="hi"] flips blocks */
html:not([data-lang="hi"]) [data-lang-block="hi"] { display: none !important; }
html[data-lang="hi"] [data-lang-block="en"] { display: none !important; }

/* ------------------------------------------------------------
   3 · LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-pad); }
.section-tint { background: var(--bg-tint); }

.section-head { max-width: 46rem; margin: 0 auto 2.75rem; text-align: center; }
.section-head .section-sub { color: var(--text-muted); font-size: 1.05rem; margin: .35rem auto 0; max-width: 38rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: .8rem;
}

.cv-auto { content-visibility: auto; contain-intrinsic-size: auto 720px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  background: var(--green);
  color: var(--text-onbrand);
  padding: .7rem 1.2rem;
  border-radius: var(--radius-s);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; color: var(--text-onbrand); }

/* Tricolor rule — the quiet India signature. Small centered ornament
   under headings; full-width variant above the footer. */
.tri-rule {
  width: 88px; height: 3px;
  margin: 1.1rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg,
    var(--saffron) 0 31%,
    transparent 31% 35%,
    var(--line-strong) 35% 65%,
    transparent 65% 69%,
    var(--green) 69% 100%);
}
.tri-rule--full { width: 100%; height: 2px; margin: 0; border-radius: 0;
  background: linear-gradient(90deg, var(--saffron) 0 33.3%, var(--line-strong) 33.3% 66.6%, var(--green) 66.6% 100%);
  opacity: .8;
}
.tri-rule--left { margin-inline: 0; }

/* ------------------------------------------------------------
   4 · BUTTONS, CHIPS, BADGES
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color .18s var(--ease-out), border-color .18s var(--ease-out),
              color .18s var(--ease-out), transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn-primary { background: var(--green); color: var(--text-onbrand); }
.btn-primary:hover { background: var(--green-600); color: var(--text-onbrand); box-shadow: 0 6px 18px rgba(20, 100, 47, .35); }

.btn-saffron { background: var(--saffron); color: #1F1204; }
.btn-saffron:hover { background: #F9931F; color: #1F1204; box-shadow: 0 6px 18px rgba(240, 130, 12, .35); }
.btn-primary::before, .btn-saffron::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, 0));
  pointer-events: none;
  border-radius: var(--radius-pill) var(--radius-pill) 0 0;
}

.btn-ghost { background: transparent; color: var(--link); border-color: currentColor; }
.btn-ghost:hover { background: var(--bg-tint); }

.btn-light { background: var(--white); color: var(--green-900); }
.btn-light:hover { background: #EFF6EF; color: var(--green-900); }

.btn-outline-light { background: transparent; color: #F2F7F2; border-color: rgba(242, 247, 242, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; }

.btn-sm { padding: .5rem 1.05rem; font-size: .92rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.08rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .85rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  background: var(--green-100);
  color: var(--green-900);
  text-decoration: none;
}
[data-theme="dark"] .chip { background: var(--green-800); color: #DFF0E2; }
.chip:hover { color: inherit; }

.chip-saffron { background: var(--saffron-100); color: #7A4A08; }
[data-theme="dark"] .chip-saffron { background: #3A2A10; color: var(--amber-ink); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .22rem .7rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.status-badge::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; }
.status-live { background: var(--green-100); color: var(--green-900); }
.status-beta { background: var(--saffron-100); color: #7A4A08; }
.status-planned { background: var(--line); color: var(--ink-soft); }
[data-theme="dark"] .status-live { background: var(--green-800); color: #CDE9D3; }
[data-theme="dark"] .status-beta { background: #3A2A10; color: var(--amber-ink); }
[data-theme="dark"] .status-planned { background: #26322A; color: var(--text-muted); }

.version-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 700;
  padding: .28rem .8rem;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--text-onbrand);
}
.version-chip--past { background: var(--bg-tint); color: var(--link); border: 1px solid var(--line-strong); }

/* Stat chips (hero) */
.stat-chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; padding: 0; list-style: none; }
.stat-chips li {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  padding: .55rem 1.05rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #F2F7F2;
  font-size: var(--fs-small);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.stat-chips .stat-num { font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; color: #FFD9A8; }

/* ------------------------------------------------------------
   5 · STICKY GLASS NAV
   ------------------------------------------------------------ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-glass);
  backdrop-filter: blur(var(--glass-blur-nav)) saturate(1.5);
  -webkit-backdrop-filter: blur(var(--glass-blur-nav)) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-nav.is-scrolled { border-bottom-color: var(--glass-border); box-shadow: 0 4px 24px rgba(23, 48, 31, .10); }
.site-nav::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--specular);
  opacity: .65;
  pointer-events: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-right: auto;
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-yogi { color: var(--green); }
[data-theme="dark"] .brand-yogi { color: var(--green-300); }

.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .85rem;
  border: 0;
  background: none;
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-size: .96rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.nav-link:hover { background: var(--bg-tint); color: var(--heading); }
.nav-link[aria-current="page"] { color: var(--link); }
.nav-link .caret { width: .8em; height: .8em; transition: transform .2s var(--ease-out); }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

/* Mega dropdown */
.mega-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100vw - 2rem));
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-pop);
  padding: 1.1rem;
  z-index: 110;
}
.mega-panel[hidden] { display: none; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .25rem; }
.mega-link {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .7rem .8rem;
  border-radius: var(--radius-m);
  text-decoration: none;
  color: var(--text);
}
.mega-link:hover { background: var(--bg-tint); color: var(--text); }
.mega-icon {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green);
}
[data-theme="dark"] .mega-icon { background: var(--green-800); color: var(--green-300); }
.mega-icon svg { width: 20px; height: 20px; }
.mega-title { display: block; font-weight: 650; color: var(--heading); font-size: .97rem; line-height: 1.3; }
.mega-sub { display: block; font-size: var(--fs-micro); color: var(--text-muted); margin-top: .1rem; }
.mega-all {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: .8rem;
  padding: .7rem;
  border-top: 1px solid var(--line);
  font-weight: 650;
  font-size: .95rem;
  text-decoration: none;
}

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.lang-btn {
  border: 0;
  background: none;
  padding: .32rem .7rem;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}
.lang-btn[aria-pressed="true"] { background: var(--green); color: var(--text-onbrand); }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: none;
  color: var(--text);
  cursor: pointer;
}
.theme-toggle:hover { background: var(--bg-tint); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: none;
  cursor: pointer;
}
.nav-burger span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s var(--ease-out), opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile sheet */
.mobile-sheet {
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 1rem var(--gutter) 1.6rem;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  animation: sheet-in .26s var(--ease-out);
}
.mobile-sheet[hidden] { display: none; }
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
.mobile-sheet nav { display: flex; flex-direction: column; gap: .1rem; }
.sheet-link {
  padding: .8rem .4rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.sheet-group-label {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1.1rem .4rem .3rem;
}
.sheet-cta-row { display: flex; gap: .7rem; margin-top: 1.2rem; }
.sheet-cta-row .btn { flex: 1; justify-content: center; }

/* ------------------------------------------------------------
   6 · PHONE FRAME (CSS-only bezel for 1440×3120 portrait shots)
   ------------------------------------------------------------ */
.phone {
  position: relative;
  width: clamp(230px, 24vw, 310px);
  margin-inline: auto;
}
.phone-frame {
  position: relative;
  border-radius: clamp(30px, 3.4vw, 44px);
  background: #101314;
  padding: clamp(8px, .9vw, 12px);
  box-shadow:
    inset 0 0 0 2px #2C3234,
    inset 0 0 0 4px #05070A,
    0 24px 60px rgba(8, 38, 23, .45),
    0 6px 18px rgba(8, 38, 23, .28);
}
.phone-cam {
  position: absolute;
  top: clamp(16px, 1.8vw, 24px);
  left: 50%;
  transform: translateX(-50%);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3A4550 0 28%, #05070A 60%);
  z-index: 2;
  pointer-events: none;
}
.phone-screen {
  width: 100%;
  aspect-ratio: 6 / 13;
  object-fit: cover;
  border-radius: clamp(22px, 2.6vw, 34px);
  background: #0B130D;
}
.phone--lg { width: clamp(250px, 27vw, 340px); }
.phone--sm { width: clamp(190px, 18vw, 250px); }

/* Caption under phones in feature rows */
.phone-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* ------------------------------------------------------------
   7 · HERO — full-bleed, layered parallax
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: max(560px, 85vh);
  display: flex;
  align-items: center;
  color: #F2F7F2;
  background: var(--hero-wash-c);
  padding-block: clamp(5.5rem, 8vh, 8rem) clamp(3.5rem, 6vh, 6rem);
}

/* Layer 4 — liquid mesh blob (slow drift + scroll hue shift) */
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -22% -12%;
  width: clamp(360px, 48vw, 640px);
  height: clamp(360px, 48vw, 640px);
  border-radius: 50%;
  background: radial-gradient(closest-side,
              rgba(255, 158, 44, .24),
              rgba(14, 165, 165, .14) 55%,
              transparent 72%);
  filter: blur(42px) hue-rotate(calc(var(--mesh-shift, 0) * 16deg));
  z-index: 1;
  pointer-events: none;
  animation: hero-blob-drift 18s ease-in-out infinite alternate;
}
@keyframes hero-blob-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(5%, -4%, 0) scale(1.08); }
}

/* Layer 1 — gradient wash (slowest) */
.hero-wash {
  position: absolute;
  inset: -12% -5%;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, var(--hero-wash-b) 0%, transparent 55%),
    radial-gradient(90% 80% at 12% 88%, var(--green-800) 0%, transparent 52%),
    linear-gradient(168deg, var(--hero-wash-a) 0%, var(--hero-wash-c) 78%);
  pointer-events: none;
}
/* Layer 2 — fine weave pattern (mid) */
.hero-weave {
  position: absolute;
  inset: -10% 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-65deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 18px);
  pointer-events: none;
}
/* Layer 3 — chakra dial signature (see .chakra-dial) */
.hero-dial {
  position: absolute;
  z-index: 1;
  top: -18%;
  right: -14%;
  width: clamp(420px, 52vw, 780px);
  height: clamp(420px, 52vw, 780px);
  opacity: .5;
  pointer-events: none;
}
.hero-dial--left { right: auto; left: -16%; top: auto; bottom: -26%; opacity: .35; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  width: 100%;
}
.hero--center .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }

.hero-copy .eyebrow { color: #FFC172; }
.hero-title {
  font-size: var(--fs-hero);
  color: #FBFDF9;
  margin-bottom: .45em;
}
.hero-title em { font-style: normal; color: #FFC172; }
.hero-sub {
  font-size: clamp(1.05rem, 1rem + .5vw, 1.25rem);
  color: rgba(242, 247, 242, .85);
  max-width: 34em;
  margin-bottom: 0;
}
.hero--center .hero-sub { margin-inline: auto; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }
.hero--center .hero-ctas { justify-content: center; }
.hero--center .stat-chips { justify-content: center; }

.hero-media { position: relative; display: flex; justify-content: center; }
/* soft glow pedestal behind the phone */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 8% -12% -4%;
  background: radial-gradient(58% 52% at 50% 46%, rgba(240, 130, 12, .22) 0%, rgba(124, 196, 146, .10) 45%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-breadcrumb { margin-bottom: 1.4rem; }

/* Hero meta row (tool pages): category chip + status */
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.hero-meta .chip { background: rgba(255, 255, 255, .14); color: #F2F7F2; border: 1px solid rgba(255, 255, 255, .25); }
.hero-meta .status-live { background: rgba(124, 196, 146, .22); color: #C9EBD2; }
.hero-meta .status-beta { background: rgba(240, 130, 12, .2); color: #FFD9A8; }

/* Devanagari secondary title line */
.hero-title-hi {
  display: block;
  font-size: .58em;
  font-weight: 500;
  color: rgba(242, 247, 242, .75);
  margin-top: .35em;
  letter-spacing: 0;
}

/* Breadcrumb */
.breadcrumb { font-size: var(--fs-small); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "›"; margin: 0 .55rem; opacity: .55; }
.breadcrumb a { color: rgba(242, 247, 242, .8); text-decoration: none; }
.breadcrumb a:hover { color: #FFFFFF; text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #FFC172; font-weight: 600; }
/* breadcrumb on light background (legal pages) */
.breadcrumb--onlight a { color: var(--text-muted); }
.breadcrumb--onlight a:hover { color: var(--link); }
.breadcrumb--onlight [aria-current="page"] { color: var(--link); }

/* Chakra dial — 24-spoke, slow spin (disabled for reduced motion) */
.chakra-dial { transform-origin: center; }
.chakra-spin { animation: chakra-rotate 240s linear infinite; transform-origin: center; transform-box: fill-box; }
@keyframes chakra-rotate { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------
   8 · CARDS
   ------------------------------------------------------------ */
.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}

/* Category card (home showcase + siblings) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}
.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.5rem 1.4rem 1.35rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur-card)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--glass-blur-card)) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-l);
  box-shadow: var(--glass-shadow);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), border-color .22s, background-color .22s;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 45%;
  background: var(--specular);
  opacity: .5;
  pointer-events: none;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--glass-shadow-hover); border-color: var(--green-glow); background: var(--glass-bg-strong); color: var(--text); }
.category-card .mega-icon { width: 44px; height: 44px; border-radius: 12px; }
.category-card .mega-icon svg { width: 22px; height: 22px; }
.category-card h3 { margin: .35rem 0 0; font-size: 1.18rem; }
.category-card .cat-hi { font-family: var(--font-body); font-size: var(--fs-small); color: var(--text-muted); font-weight: 500; }
.category-card p { margin: 0; font-size: var(--fs-small); color: var(--text-muted); }
.category-card .cat-count {
  margin-top: auto;
  padding-top: .7rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--link);
}

/* Tool card (category grid + related tools) */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.2rem;
}
.tool-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur-card)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--glass-blur-card)) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-l);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), border-color .22s, background-color .22s;
}
.tool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 36%;
  background: var(--specular);
  opacity: .4;
  pointer-events: none;
  z-index: 2;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--glass-shadow-hover); border-color: var(--green-glow); background: var(--glass-bg-strong); color: var(--text); }
.tool-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(150deg, var(--green-900), var(--green-950));
}
.tool-card-thumb img {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 58%;
  aspect-ratio: 6 / 13;
  object-fit: cover;
  object-position: top;
  border-radius: 14px 14px 0 0;
  border: 3px solid #101314;
  border-bottom: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.tool-card-body { display: flex; flex-direction: column; gap: .4rem; padding: 1.15rem 1.2rem 1.25rem; flex: 1; }
.tool-card-body h3 { margin: 0; font-size: 1.12rem; }
.tool-card-body p { margin: 0; font-size: var(--fs-small); color: var(--text-muted); }
.tool-card-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .75rem; }
.tool-card-meta .go { font-weight: 700; color: var(--link); font-size: var(--fs-small); }

/* Related tools band */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }

/* ------------------------------------------------------------
   9 · FEATURE ROWS (alternating image/text)
   ------------------------------------------------------------ */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row--flip .feature-media { order: 2; }
.feature-row--flip .feature-copy { order: 1; }
.feature-copy h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }
.feature-copy .eyebrow { margin-bottom: .4rem; }
.feature-copy p { color: var(--text-muted); }
.feature-points { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; }
.feature-points li { position: relative; padding-left: 1.7rem; font-size: var(--fs-small); }
.feature-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .28em;
  width: 1rem; height: 1rem;
  border-radius: 50%;
  background: var(--green-100) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 8.4 7 11l5-6" fill="none" stroke="%2314642F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/70% no-repeat;
}
[data-theme="dark"] .feature-points li::before { background-color: var(--green-800); }
.feature-media { display: flex; justify-content: center; }

/* ------------------------------------------------------------
   10 · WORKFLOW STEPS (numbered — a real sequence)
   ------------------------------------------------------------ */
.workflow-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 0; }
.workflow-steps li {
  counter-increment: step;
  position: relative;
  padding: 1.15rem 0 1.15rem 4rem;
}
.workflow-steps li + li { border-top: 1px dashed var(--line-strong); }
.workflow-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 2.6rem; height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--text-onbrand);
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 700;
}
.workflow-steps h4 { font-family: var(--font-body); font-size: 1.05rem; margin: 0 0 .2rem; }
.workflow-steps p { margin: 0; font-size: var(--fs-small); color: var(--text-muted); }

/* ------------------------------------------------------------
   11 · CALLOUTS
   ------------------------------------------------------------ */
.callout {
  display: flex;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-m);
  background: var(--bg-tint);
  border: 1px solid var(--green-100);
}
[data-theme="dark"] .callout { border-color: var(--green-800); }
.callout-icon { flex: none; width: 26px; height: 26px; color: var(--link); margin-top: .15rem; }
.callout h3, .callout h4 { font-family: var(--font-body); font-size: 1.05rem; margin: 0 0 .35rem; }
.callout p { margin: 0; font-size: var(--fs-small); color: var(--text-muted); }
.callout p + p { margin-top: .5rem; }

/* Guardrail — amber, serious */
.guardrail {
  display: flex;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-m);
  background: var(--amber-bg);
  border: 1px solid var(--amber-line);
  border-left-width: 5px;
  color: var(--amber-ink);
}
.guardrail-icon { flex: none; width: 26px; height: 26px; color: var(--amber-icon); margin-top: .15rem; }
.guardrail h3, .guardrail h4 {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin: 0 0 .4rem;
}
.guardrail p { margin: 0; font-size: var(--fs-small); color: var(--amber-ink); }
.guardrail p + p { margin-top: .5rem; }

/* ------------------------------------------------------------
   12 · DARK SECURITY BAND
   ------------------------------------------------------------ */
.band-dark {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(124, 196, 146, .05) 0 2px, transparent 2px 26px),
    linear-gradient(160deg, #0C3D1F 0%, #082617 70%);
  color: #E9EFE8;
  padding-block: var(--section-pad);
}
.band-dark .section-head h2, .band-dark h2, .band-dark h3 { color: #F5FAF4; }
.band-dark .section-head .section-sub { color: rgba(233, 239, 232, .78); }
.band-dark .eyebrow { color: #FFC172; }

.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.security-item {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(124, 196, 146, .22);
}
.security-item h3 { font-family: var(--font-body); font-size: 1.05rem; margin: .8rem 0 .3rem; }
.security-item p { margin: 0; font-size: var(--fs-small); color: rgba(233, 239, 232, .75); }
.security-item svg { width: 30px; height: 30px; color: #7CC492; }
.band-dark .band-foot { margin-top: 2.2rem; text-align: center; }

/* ------------------------------------------------------------
   13 · FAQ ACCORDION
   ------------------------------------------------------------ */
.faq-list { max-width: 46rem; margin-inline: auto; display: grid; gap: .7rem; }
.faq-item { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.05rem 1.3rem;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--heading);
  text-align: left;
  cursor: pointer;
}
.faq-q:hover { background: var(--bg-tint); }
.faq-q .faq-chevron { flex: none; width: 1.05rem; height: 1.05rem; color: var(--link); transition: transform .22s var(--ease-out); }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a { padding: 0 1.3rem 1.15rem; font-size: var(--fs-small); color: var(--text-muted); }
.faq-a[hidden] { display: none; }
.faq-a p { margin: 0; }
.faq-a p + p { margin-top: .55rem; }

/* ------------------------------------------------------------
   14 · CTA BAND
   ------------------------------------------------------------ */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  background:
    radial-gradient(110% 130% at 88% -10%, var(--green-vibrant) 0%, transparent 52%),
    radial-gradient(80% 80% at 8% 110%, rgba(255, 158, 44, .30) 0%, transparent 60%),
    linear-gradient(150deg, var(--green) 0%, var(--green-900) 85%);
  color: #F2F7F2;
  padding: clamp(2.2rem, 4vw, 3.8rem);
  text-align: center;
  box-shadow: var(--glass-shadow);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 50%;
  background: var(--specular);
  opacity: .35;
  pointer-events: none;
}
.cta-band h2 { color: #FBFDF9; margin-bottom: .35em; }
.cta-band p { color: rgba(242, 247, 242, .85); max-width: 36em; margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; margin-top: 1.6rem; }
.cta-band .cta-note { font-size: var(--fs-micro); color: rgba(242, 247, 242, .65); margin: 1.1rem 0 0; }
.cta-dial { position: absolute; top: -40%; left: -8%; width: 340px; height: 340px; opacity: .28; pointer-events: none; }

/* ------------------------------------------------------------
   15 · TIMELINE (What's New)
   ------------------------------------------------------------ */
.timeline { position: relative; max-width: 44rem; margin-inline: auto; padding-left: 2.2rem; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: .55rem;
  top: .4rem; bottom: .4rem;
  width: 2px;
  background: linear-gradient(var(--saffron) 0%, var(--green) 30%, var(--line-strong) 100%);
  border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: 2.6rem; }
.timeline-item:last-child { padding-bottom: .5rem; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: .32rem;
  width: 1.1rem; height: 1.1rem;
  margin-left: .05rem;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--green);
}
.timeline-item--latest::before { border-color: var(--saffron); background: var(--saffron-100); }
.timeline-head { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-bottom: .5rem; }
.timeline-date { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-muted); }
.timeline-item h3 { margin: .1rem 0 .45rem; font-size: 1.25rem; }
.timeline-item > p { font-size: var(--fs-small); color: var(--text-muted); }
.change-list { list-style: none; padding: 0; margin: .7rem 0 0; display: grid; gap: .45rem; }
.change-list li { position: relative; padding-left: 1.55rem; font-size: var(--fs-small); }
.change-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .32em;
  width: .95rem; height: .95rem;
  border-radius: 4px;
  background: var(--green-100);
}
.change-list li::after {
  content: "";
  position: absolute;
  left: .28rem; top: .58em;
  width: .4rem; height: .4rem;
  border-radius: 2px;
  background: var(--green);
}
.change-list .change-new::before { background: var(--saffron-100); }
.change-list .change-new::after { background: var(--saffron-600); }
[data-theme="dark"] .change-list li::before { background: var(--green-800); }
[data-theme="dark"] .change-list li::after { background: var(--green-300); }
[data-theme="dark"] .change-list .change-new::before { background: #3A2A10; }
[data-theme="dark"] .change-list .change-new::after { background: var(--amber-icon); }

/* ------------------------------------------------------------
   16 · LEGAL LAYOUT
   ------------------------------------------------------------ */
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.toc {
  position: sticky;
  top: 90px;
  padding: 1.2rem 1.3rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.toc h2 {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .7rem;
}
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.toc a {
  display: block;
  padding: .42rem .55rem;
  border-radius: var(--radius-s);
  font-size: var(--fs-small);
  color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
}
.toc a:hover { background: var(--bg-tint); color: var(--link); }
.toc a.is-active { color: var(--link); border-left-color: var(--saffron); background: var(--bg-tint); font-weight: 650; }

.legal-body { max-width: 70ch; }
.legal-body h2 { font-size: 1.5rem; margin-top: 2.4em; scroll-margin-top: 96px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 1.15rem; margin-top: 1.8em; }
.legal-body p, .legal-body li { color: var(--text); }
.legal-body li { margin-bottom: .4em; }

.updated-stamp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  background: var(--bg-tint);
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
}
.updated-stamp svg { width: .95rem; height: .95rem; }

/* ------------------------------------------------------------
   17 · PREV / NEXT TOOL NAV
   ------------------------------------------------------------ */
.tool-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pager-link {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.15rem 1.3rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.pager-link:hover { border-color: var(--green-300); box-shadow: var(--shadow-card); color: var(--text); }
.pager-link--next { text-align: right; align-items: flex-end; }
.pager-dir { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.pager-title { font-weight: 650; color: var(--link); }

/* ------------------------------------------------------------
   18 · PARALLAX SCREENSHOT STRIP (experience page)
   ------------------------------------------------------------ */
.parallax-strip {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(90% 100% at 50% 120%, var(--green-100) 0%, transparent 60%),
    var(--bg-tint);
}
[data-theme="dark"] .parallax-strip {
  background:
    radial-gradient(90% 100% at 50% 120%, var(--green-900) 0%, transparent 60%),
    var(--bg-tint);
}
.strip-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1rem, 3.5vw, 3rem);
}
.strip-inner .phone { margin-inline: 0; flex: none; }
.strip-inner .phone:nth-child(2) { margin-top: 3.5rem; }
.strip-inner .phone:nth-child(3) { margin-top: 1.2rem; }

/* ------------------------------------------------------------
   19 · STORY / NARRATIVE BAND
   ------------------------------------------------------------ */
.story-band { max-width: 44rem; margin-inline: auto; text-align: center; }
.story-band p { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); line-height: 1.55; color: var(--heading); }
.story-sign { font-family: var(--font-body); font-size: var(--fs-small); color: var(--text-muted); margin-top: 1.2rem; }

/* ------------------------------------------------------------
   20 · FOOTER
   ------------------------------------------------------------ */
.site-footer { background: var(--bg-raised); border-top: 1px solid var(--line); margin-top: var(--section-pad); }
[data-theme="dark"] .site-footer { background: #0A100B; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(4, 1fr);
  gap: 2rem;
  padding-block: 3.2rem 2.4rem;
}
.footer-brand p { font-size: var(--fs-small); color: var(--text-muted); max-width: 26em; }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-col a { font-size: var(--fs-small); color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--link); text-decoration: underline; }

.made-in-india {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  padding: .4rem .95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.made-in-india .mii-dot { width: .62rem; height: .62rem; border-radius: 50%; background: conic-gradient(var(--saffron) 0 33%, #F4F4F4 33% 66%, var(--green) 66% 100%); border: 1px solid var(--line-strong); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding-block: 1.3rem 1.6rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-micro);
  color: var(--text-muted);
}
.footer-bottom p { margin: 0; }
.footer-disclaimer { font-size: var(--fs-micro); color: var(--text-muted); max-width: 62ch; }

/* ------------------------------------------------------------
   21 · MOTION — scroll reveal & parallax scaffolding
   ------------------------------------------------------------ */
/* Hidden state only when JS is running (html.js set by site.js) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--rv-delay, 0s);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  [data-parallax] { transform: none !important; will-change: auto; }
  .chakra-spin { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ------------------------------------------------------------
   22 · RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-actions .portal-btn { display: none; }
  .nav-burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; margin-bottom: 1.5rem; }
}

@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: 4.2rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .stat-chips { justify-content: center; }
  .hero-media { margin-top: 1.2rem; }
  .hero-dial { opacity: .3; }
  .feature-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .feature-row--flip .feature-media { order: 0; }
  .feature-row--flip .feature-copy { order: 0; }
  .mega-grid { grid-template-columns: 1fr; }
  .tool-pager { grid-template-columns: 1fr; }
  .pager-link--next { text-align: left; align-items: flex-start; }
  .strip-inner { flex-wrap: wrap; }
  .strip-inner .phone:nth-child(2), .strip-inner .phone:nth-child(3) { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .nav-actions .lang-switch { display: none; }
  .mobile-sheet .lang-switch { display: inline-flex; }
}

/* ------------------------------------------------------------
   23 · PRINT (legal pages)
   ------------------------------------------------------------ */
@media print {
  .site-nav, .site-footer, .toc, .skip-link, .cta-band, .hero-ctas,
  .hero-wash, .hero-weave, .hero-dial, .hero::after, .hero-blob,
  .mobile-sheet { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { min-height: 0; padding: 0 0 1rem; background: #fff; color: #000; display: block; }
  .hero-title, .hero-sub { color: #000; }
  .legal-layout { display: block; }
  .legal-body { max-width: none; }
  .legal-body h2 { color: #000; }
  a { color: #000; text-decoration: underline; }
  .updated-stamp { border: 1px solid #000; background: none; color: #000; }
}

/* ============================================================
   24 · GENERATOR SUPPLEMENT — components used by build.py
   ============================================================ */

/* Prose blocks (tool "what it does", experience body, story) */
.prose { max-width: 62ch; }
.prose p { color: var(--text-muted); }
.prose p:last-child { margin-bottom: 0; }
.section-head--left { margin-inline: 0; text-align: left; }
.legal-layout--narrow { max-width: 760px; margin-inline: auto; }
.hero-inner--center { flex-direction: column; text-align: center; align-items: center; max-width: 760px; }
.hero-inner--center .hero-copy { text-align: center; }
.hero-inner--center .hero-breadcrumb { justify-content: center; }
.hero-inner--center .hero-ctas,
.hero--center .hero-ctas { justify-content: center; }
.hero--center .hero-copy { text-align: center; align-items: center; }
.hero--center .hero-breadcrumb { justify-content: center; }
.hero--legal { min-height: 48vh; }

/* inline small category icon inside eyebrows */
.mega-icon--inline { width: 1.4em; height: 1.4em; display: inline-grid; place-items: center;
  vertical-align: -.35em; margin-right: .3rem; border-radius: 6px; }
.mega-icon--inline svg { width: 1em; height: 1em; }

/* "Open →" / "See the tool →" inline link */
.go { display: inline-block; font-weight: 700; color: var(--link); font-size: var(--fs-small);
  margin-top: 1rem; text-decoration: none; }
.go:hover { color: var(--link-hover); }

/* code chip on tool cards */
.code-chip { display: inline-flex; align-items: center; font-family: var(--font-mono);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: .18rem .5rem;
  border-radius: var(--radius-pill); background: var(--bg-tint); color: var(--link);
  border: 1px solid var(--line); }

/* larger feature points on tool detail */
.feature-points--lg li { font-size: var(--fs-body); padding-left: 1.9rem; }
.feature-points--lg li::before { top: .42em; }

/* spec list (dt/dd) */
.spec-wrap { margin-top: 2rem; }
.spec-list { display: grid; gap: 0; margin: 0; border: 1px solid var(--line);
  border-radius: var(--radius-m); overflow: hidden; background: var(--bg-raised); }
.spec-row { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 2.4fr);
  gap: 1rem; padding: 1rem 1.2rem; }
.spec-row + .spec-row { border-top: 1px solid var(--line); }
.spec-row dt { font-weight: 650; color: var(--heading); font-size: var(--fs-small); margin: 0; }
.spec-row dd { margin: 0; color: var(--text-muted); font-size: var(--fs-small); }
@media (max-width: 560px) { .spec-row { grid-template-columns: 1fr; gap: .25rem; } }

/* wide callout */
.callout--wide { max-width: none; }

/* legal sections + toc label */
.legal-section { scroll-margin-top: 90px; }
.legal-section + .legal-section { margin-top: 2.2rem; }
.toc-label { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-muted); margin: 0 0 .6rem; }
.timeline--full { margin-top: 1rem; }

/* ---- SYNTHESIZED PHONE SCREEN (no real screenshot yet) ----
   Units are cqw = 1% of the phone frame width (container query),
   so the mock scales with the phone, not the viewport. */
.phone-frame { container-type: inline-size; }
.synth-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 13;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--paper) 0 60%, #EFEFE9 100%);
  font-family: var(--font-body); color: #20242C; overflow: hidden; text-align: left;
}
[data-theme="dark"] .synth-screen { background: linear-gradient(180deg, #10201A 0 60%, #0C1712 100%); color: #E9EFE8; }
.synth-screen .ss-status { display: flex; justify-content: space-between; align-items: center;
  padding: 6cqw 7cqw 2cqw; font-size: 4cqw; font-weight: 600; }
.synth-screen .ss-status-icons { width: 20cqw; height: 3cqw; border-radius: 1.5cqw;
  background: currentColor; opacity: .35; }
.synth-screen .ss-appbar { display: flex; align-items: center; gap: 3cqw; padding: 1cqw 7cqw 3cqw; }
.synth-screen .ss-back { width: 3.4cqw; height: 3.4cqw; border-left: 1cqw solid var(--ss-accent);
  border-bottom: 1cqw solid var(--ss-accent); transform: rotate(45deg); opacity: .8; }
.synth-screen .ss-title { font-family: var(--font-display); font-weight: 700; font-size: 6.2cqw;
  color: var(--ss-accent); }
.synth-screen .ss-hero { margin: 2cqw 7cqw 4cqw; padding: 6cqw; border-radius: 6cqw;
  background: var(--ss-accent); color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 6cqw 12cqw -4cqw color-mix(in srgb, var(--ss-accent) 55%, transparent); }
.synth-screen .ss-hero::after { content: ""; position: absolute; right: -6cqw; top: -30%;
  width: 40%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.14); }
.synth-screen .ss-badge { display: inline-block; font-family: var(--font-mono); font-weight: 700;
  font-size: 5.4cqw; letter-spacing: .06em; padding: 1.4cqw 3.4cqw; border-radius: 3cqw;
  background: rgba(255,255,255,.2); }
.synth-screen .ss-sub { margin: 3.4cqw 0 0; font-size: 4cqw; line-height: 1.5;
  color: rgba(255,255,255,.94); max-width: 94%; }
.synth-screen .ss-card { margin: 0 7cqw 4cqw; padding: 5cqw; border-radius: 6cqw;
  background: rgba(255,255,255,.94); border: 1px solid rgba(0,0,0,.06); flex: 1; }
[data-theme="dark"] .synth-screen .ss-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
.synth-screen .ss-card-head { display: flex; align-items: center; gap: 3.4cqw; margin-bottom: 5cqw; }
.synth-screen .ss-card-dot { width: 9cqw; height: 9cqw; border-radius: 3cqw;
  background: color-mix(in srgb, var(--ss-accent) 22%, transparent); flex: none; }
.synth-screen .ss-card-label { height: 4cqw; width: 44%; border-radius: 2cqw;
  background: color-mix(in srgb, var(--ss-accent) 30%, transparent); }
.synth-screen .ss-row { display: flex; align-items: center; gap: 4cqw; padding: 4cqw 0;
  border-top: 1px solid rgba(0,0,0,.07); }
[data-theme="dark"] .synth-screen .ss-row { border-top-color: rgba(255,255,255,.08); }
.synth-screen .ss-row:first-of-type { border-top: 0; }
.synth-screen .ss-dot { width: 5.5cqw; height: 5.5cqw; border-radius: 50%;
  border: 1cqw solid var(--ss-accent); opacity: .55; flex: none; }
.synth-screen .ss-line { height: 3.4cqw; border-radius: 1.7cqw; flex: 1;
  background: currentColor; opacity: .13; }
.synth-screen .ss-cta { margin: 0 7cqw 4cqw; padding: 4.4cqw; border-radius: 4.5cqw; text-align: center;
  background: var(--ss-accent); color: #fff; font-weight: 700; font-size: 4.6cqw; }
.synth-screen .ss-tabbar { display: flex; justify-content: space-around; align-items: center;
  padding: 4cqw 7cqw 6cqw; border-top: 1px solid rgba(0,0,0,.08); margin-top: auto; }
[data-theme="dark"] .synth-screen .ss-tabbar { border-top-color: rgba(255,255,255,.08); }
.synth-screen .ss-tabbar span { width: 8cqw; height: 8cqw; border-radius: 3cqw;
  background: currentColor; opacity: .16; }
.synth-screen .ss-tabbar .ss-tab-active { background: var(--ss-accent); opacity: 1; }

/* synth thumbnail on tool cards */
.thumb-synth { position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 20% 0%, color-mix(in srgb, var(--accent) 85%, #000) 0%, transparent 55%),
    linear-gradient(150deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #06120C)); }
.thumb-synth::after { content: ""; position: absolute; right: -12%; bottom: -30%;
  width: 55%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.10); }
.thumb-code { font-family: var(--font-mono); font-weight: 700; font-size: 2.1rem;
  letter-spacing: .06em; color: rgba(255,255,255,.94);
  border: 2px solid rgba(255,255,255,.5); border-radius: 14px; padding: .35rem .7rem; }

/* tool grid (index + category) */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 1.4rem; }
@media (max-width: 560px) { .tool-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; } }
