/* ==========================================================================
   fonoapp.in — shared stylesheet
   Design tokens first; every component below uses them.
   ========================================================================== */

:root {
  /* Colour */
  --green-700: #19690f;
  --green-600: #1f7f14;   /* primary actions — 5.1:1 on white */
  --green-500: #2e9b1f;
  --green-100: #e4f4dc;
  --green-50:  #f3faef;
  --green-border: #cfe8c4;

  --ink: #0f1f14;         /* headings */
  --text: #2c3630;        /* body */
  --muted: #56615a;       /* secondary text */
  --border: #e2e8e3;
  --surface: #ffffff;
  --surface-alt: #f8faf8;

  --amber-bg: #fff8e6;
  --amber-border: #f0d48c;
  --amber-ink: #7a5200;

  --danger: #b42318;

  /* Type */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 88px;

  /* Shape */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 31, 20, 0.04);
  --shadow: 0 1px 2px rgba(15, 31, 20, 0.04), 0 4px 16px rgba(15, 31, 20, 0.05);
  --shadow-hover: 0 2px 4px rgba(15, 31, 20, 0.05), 0 10px 24px rgba(15, 31, 20, 0.08);

  --header-h: 68px;
  --container: 1160px;
  --gutter: 20px;
  --card-pad: 28px;
}

@media (max-width: 599px) {
  :root { --card-pad: 22px; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; --card-pad: 20px; }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.02em;
  font-weight: 800;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 1.35rem + 3vw, 3.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; font-weight: 750; }
h4 { font-size: 1.0625rem; letter-spacing: 0; font-weight: 700; }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--green-600); text-underline-offset: 3px; }
a:hover { color: var(--green-700); }

strong { color: var(--ink); font-weight: 700; }

ul, ol { padding-left: 1.25rem; margin: 0 0 var(--space-4); }
li + li { margin-top: var(--space-2); }

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

.icon { width: 1.25em; height: 1.25em; flex: none; }

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: var(--space-3); color: #fff; }

[hidden] { display: none !important; }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-8); }
.section--tight { padding-block: var(--space-7); }
.section--alt { background: var(--surface-alt); border-block: 1px solid var(--border); }
.section + .section:not(.section--alt) { padding-top: var(--space-4); }
.section--alt + .section { padding-top: var(--space-8); }

@media (max-width: 767px) {
  .section { padding-block: var(--space-7); }
  .section--tight { padding-block: var(--space-6); }
  .section--alt + .section { padding-top: var(--space-7); }
}

.section-head { max-width: 720px; margin-bottom: var(--space-6); }
.section-head p { color: var(--muted); font-size: 1.0625rem; }

.prose { max-width: 720px; }
.prose > * + h3 { margin-top: var(--space-6); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }

.stack > * + * { margin-top: var(--space-5); }

/* Text + slider split used by process sections */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: var(--space-8);
  align-items: start;
}
.split__text { max-width: 600px; }
@media (max-width: 959px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .split__media { max-width: 480px; }
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--green-600);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead { font-size: 1.125rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; }
.footnote { font-size: 0.875rem; color: var(--muted); text-align: center; margin-top: var(--space-3); }

.source-note {
  font-size: 0.9375rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
  margin-top: var(--space-6);
}

/* Inline "text · text" link row */
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-4);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
  color: var(--green-600);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 1.1em; height: 1.1em; transition: transform 0.15s ease; }
.text-link:hover .icon { transform: translateX(2px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn .icon { width: 1.2em; height: 1.2em; }

.btn--primary { background: var(--green-600); color: #fff; }
.btn--primary:hover { background: var(--green-700); color: #fff; }

.btn--secondary { background: #fff; color: var(--green-600); border-color: var(--green-600); }
.btn--secondary:hover { background: var(--green-50); color: var(--green-700); }

.btn--light { background: #fff; color: var(--green-600); border-color: var(--green-border); }
.btn--light:hover { border-color: var(--green-600); color: var(--green-700); }

.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 0.9375rem; border-radius: var(--radius-sm); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.btn-row .btn { flex: 1 1 200px; }
@media (min-width: 600px) { .btn-row .btn { flex: 0 0 auto; } }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  min-height: 44px;
}
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--green-600);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li + li { margin-top: 0; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--green-700); background: var(--green-50); }
.site-nav a[aria-current="page"] {
  color: var(--green-700);
  background: var(--green-50);
  box-shadow: inset 0 -2px 0 var(--green-600);
}

@media (max-width: 1079px) {
  .js .menu-toggle { display: inline-flex; }

  .site-nav { width: 100%; }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(15, 31, 20, 0.08);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .js .site-nav.is-open { display: block; }

  .header-inner { flex-wrap: wrap; }
  .js .header-inner { flex-wrap: nowrap; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: var(--space-3) var(--gutter) var(--space-5);
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
  }
  .site-nav a { min-height: 52px; padding: 12px 16px; font-size: 1.0625rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green-600); }
}

/* ---------- Breadcrumbs ---------- */

.breadcrumb { padding-top: var(--space-5); font-size: 0.9375rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.breadcrumb li { display: flex; align-items: center; margin: 0; }
.breadcrumb li + li::before { content: "/"; color: #9aa59e; margin-inline: 8px; }
.breadcrumb a { color: var(--muted); display: inline-flex; min-height: 32px; align-items: center; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Hero (home) ---------- */

.hero { padding-block: var(--space-7) var(--space-8); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: center;
}
.hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem); max-width: 14ch; }
.hero__tagline {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: var(--space-4);
}
.hero__tagline span { color: var(--green-600); }

.brand-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-7) var(--space-5);
  border-radius: 24px;
  background: var(--green-50);
  border: 1px solid var(--green-border);
}
.brand-panel img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 6px 18px rgba(31, 127, 20, 0.18); }
.brand-panel__name { font-size: 1.75rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; margin: var(--space-4) 0 0; }
.brand-panel__meta { color: var(--muted); margin-bottom: var(--space-5); }

@media (max-width: 859px) {
  .hero { padding-block: var(--space-6) var(--space-7); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .brand-panel { flex-direction: row; text-align: left; gap: var(--space-4); padding: var(--space-5); flex-wrap: wrap; }
  .brand-panel img { width: 72px; height: 72px; border-radius: 18px; }
  .brand-panel__name { margin: 0; font-size: 1.375rem; }
  .brand-panel__meta { margin: 0; }
  .brand-panel__text { flex: 1 1 160px; }
  .brand-panel .btn { flex: 1 1 100%; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding-block: var(--space-5) var(--space-7); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: var(--space-4); }

/* Segmented anchor navigation (policy page) */
.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin-top: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}
.segmented a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.segmented a:hover { background: #fff; color: var(--green-700); box-shadow: var(--shadow-sm); }

/* ---------- Cards ---------- */

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.card--tint { background: var(--green-50); border-color: var(--green-border); box-shadow: none; }
.card--flat { box-shadow: none; }
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--muted); }
.card p strong { color: var(--ink); }

.card--link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.card--link:hover { border-color: var(--green-600); box-shadow: var(--shadow-hover); color: inherit; }
@media (prefers-reduced-motion: no-preference) {
  .card--link:hover { transform: translateY(-2px); }
}
.card--link:focus-visible { outline-offset: 4px; border-radius: var(--radius-lg); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--green-50);
  color: var(--green-600);
  flex: none;
}
.icon-badge .icon { width: 26px; height: 26px; }
.card--tint .icon-badge { background: #fff; }

/* Role card: icon · title/desc · arrow */
.role-card {
  flex-direction: row;
  align-items: center;
  gap: var(--space-5);
}
.role-card__body { flex: 1; min-width: 0; }
.role-card__body h3 { font-size: 1.3125rem; }
.role-card__body p { margin: 0; }
.role-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-600);
  flex: none;
}
@media (max-width: 479px) {
  .role-card { flex-wrap: wrap; align-items: flex-start; gap: var(--space-4); }
  .role-card__body { flex-basis: 100%; }
  .role-card__arrow { display: none; }
  .role-card__body::after {
    content: "Learn more →";
    display: block;
    margin-top: var(--space-3);
    font-weight: 700;
    color: var(--green-600);
  }
}

/* Card header row: icon + title */
.card-head { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.card-head h3 { margin: 0; }
.card-head .eyebrow { margin: 0 0 2px; font-size: 0.875rem; letter-spacing: 0.12em; }

/* Definition list inside policy / summary cards */
.facts div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: 10px;
  border-bottom: 1px solid var(--border);
}
.card--tint .facts div { border-color: var(--green-border); }
.facts { margin: 0 0 var(--space-4); border-top: 1px solid var(--border); }
.card--tint .facts { border-color: var(--green-border); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 700; color: var(--ink); }
@media (max-width: 379px) {
  .facts div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
}

.card-foot { margin-top: auto; padding-top: var(--space-3); }
.card-meta { font-size: 0.875rem; color: var(--muted); margin-top: var(--space-2); }

/* Summary card: big figure with context */
.summary-card { display: flex; flex-direction: column; }
.summary-card__label { font-weight: 700; color: var(--ink); margin-bottom: var(--space-3); display: flex; align-items: center; gap: 10px; }
.summary-card__label .icon { color: var(--green-600); }
.summary-card .summary-card__value {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}
.summary-card .summary-card__value small { font-size: 0.9375rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.summary-card p { font-size: 0.9375rem; }

/* Featured formula card */
.formula {
  display: block;
  margin: var(--space-4) 0;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--green-border);
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem);
  font-weight: 800;
  color: var(--ink);
}

/* Stat strip (homepage overview) */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: var(--space-5) 0;
  border-block: 1px solid var(--border);
}
.stat-strip li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
  padding-inline: var(--space-5);
  min-width: 0;
}
.stat-strip li + li { border-left: 1px solid var(--border); }
.stat-strip .icon-badge { border-radius: 50%; width: 48px; height: 48px; }
.stat-strip .icon-badge .icon { width: 22px; height: 22px; }
.stat-strip strong { display: block; font-size: 1.125rem; line-height: 1.25; }
.stat-strip span.stat-label { display: block; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 767px) {
  .stat-strip { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .stat-strip li { padding: var(--space-4) 0; }
  .stat-strip li + li { border-left: 0; border-top: 1px solid var(--border); }
}

/* Two-column intro block */
.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-6);
}
.intro-split p { font-size: 1.0625rem; }
@media (max-width: 767px) { .intro-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); } }

/* ---------- Notices ---------- */

.notice {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  background: var(--green-50);
  border: 1px solid var(--green-border);
  color: var(--text);
}
.notice .icon { color: var(--green-600); margin-top: 2px; width: 22px; height: 22px; }
.notice p { margin: 0; }
.notice--important { background: var(--amber-bg); border-color: var(--amber-border); }
.notice--important .icon { color: var(--amber-ink); }
.notice--important strong { color: var(--amber-ink); }

/* ---------- Referral card ---------- */

.referral {
  background: var(--green-50);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.referral__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--green-border);
  flex-wrap: wrap;
}
.referral__label { display: block; color: var(--muted); font-size: 0.9375rem; margin-bottom: 2px; }
.referral__code {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.125rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink);
  user-select: all;
  -webkit-user-select: all;
  line-height: 1.2;
}
.referral__status {
  min-height: 1.5em;
  margin: var(--space-2) 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green-700);
}
.referral__status.is-error { color: var(--amber-ink); }
.referral .notice { margin-top: var(--space-4); }
.copy-btn { flex: 0 0 auto; }
.copy-btn .icon-done { display: none; }
.copy-btn.is-copied .icon-copy { display: none; }
.copy-btn.is-copied .icon-done { display: block; }

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: var(--space-4);
  -webkit-overflow-scrolling: touch;
}
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9875rem; }
caption {
  caption-side: top;
  text-align: left;
  padding: var(--space-4) var(--space-4) var(--space-2);
  font-weight: 700;
  color: var(--ink);
}
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
thead th {
  background: var(--green-50);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9375rem;
  border-bottom-color: var(--green-border);
}
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--ink); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.num { white-space: nowrap; }
.table-wide table { min-width: 560px; }

/* ---------- FAQ accordion ---------- */

.faq { max-width: 820px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.faq details + details { margin-top: var(--space-3); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 56px;
  padding: 14px var(--space-5);
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details[open] { border-color: var(--green-border); }
.faq details[open] summary { color: var(--green-700); }
.faq summary:hover { background: var(--surface-alt); }
.faq .faq__answer { padding: 0 var(--space-5) var(--space-5); color: var(--muted); }

/* ---------- Screenshot slider ---------- */

.slider { position: relative; }
.slider__track {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  list-style: none;
  margin: 0;
  padding: 4px 4px 12px;
  -webkit-overflow-scrolling: touch;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline-offset: 0; border-radius: var(--radius); }

.slide {
  flex: 0 0 88%;
  scroll-snap-align: start;
  margin: 0;
  min-width: 0;
}
.slide + .slide { margin-top: 0; }

.step-badge {
  display: inline-block;
  padding: 5px 14px;
  border: 1.5px solid var(--green-600);
  border-radius: var(--radius-pill);
  color: var(--green-700);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
  font-variant-numeric: tabular-nums;
}
.slide h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); margin-bottom: var(--space-2); }
.slide p { color: var(--muted); }

.phone {
  width: min(100%, 256px);
  aspect-ratio: 9 / 19.5;
  margin: var(--space-5) auto 0;
  padding: 26px 8px 10px;
  border: 1.5px solid #d3d9d5;
  border-radius: 34px;
  background: #f4f6f5;
  box-shadow: var(--shadow);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 56px;
  height: 6px;
  margin-left: -28px;
  border-radius: 6px;
  background: #1c2420;
}
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #f4f6f5;
}
.phone__screen img { width: 100%; height: 100%; object-fit: contain; }

.shot-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  text-align: center;
  color: #6b766f;
  font-size: 0.875rem;
  border: 1.5px dashed #cbd3ce;
  border-radius: 24px;
}
.shot-placeholder .icon { width: 44px; height: 44px; stroke-width: 1.5; margin-bottom: var(--space-2); }
.shot-placeholder strong { color: #4a554e; font-size: 0.9375rem; }

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: var(--space-4);
}
.slider__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  cursor: pointer;
}
.slider__dot::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-pill);
  background: #d6dcd8;
  transition: width 0.2s ease, background-color 0.2s ease;
}
.slider__dot:hover::before { background: #b5bfb8; }
.slider__dot[aria-current="step"]::before { width: 36px; background: var(--green-600); }
.slider__dot[aria-current="step"] { min-width: 52px; }
.slider__hint { text-align: center; color: var(--muted); font-size: 0.9375rem; margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  .slider__dot::before, .card--link, .text-link .icon, .faq summary::after { transition: none; }
}

/* ---------- Calculator ---------- */

.calc label { display: block; font-weight: 700; color: var(--ink); margin-bottom: var(--space-2); }
.calc input {
  width: 100%;
  max-width: 320px;
  min-height: 52px;
  padding: 10px 16px;
  font: inherit;
  font-size: 1.125rem;
  color: var(--ink);
  border: 1.5px solid #c5cec8;
  border-radius: var(--radius);
  background: #fff;
}
.calc input:focus-visible { outline: 3px solid var(--green-500); outline-offset: 1px; border-color: var(--green-600); }
.calc input[aria-invalid="true"] { border-color: var(--danger); }
.calc__error { color: var(--danger); font-weight: 600; margin: var(--space-2) 0 0; font-size: 0.9375rem; }
.calc__result {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  margin: var(--space-4) 0;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--green-border);
}
.calc__result span { color: var(--muted); font-weight: 600; }
.calc__result output { font-size: 1.75rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Region section header ---------- */

.region-head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.region-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--green-50);
  border: 1px solid var(--green-border);
  color: var(--green-700);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.divider { border: 0; border-top: 1px solid var(--border); margin: var(--space-8) 0; }

/* Lang-specific */
[lang="hi"] { font-size: 1.0625rem; line-height: 1.75; }

/* ---------- Final CTA ---------- */

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-7) var(--space-6);
  border-radius: 24px;
  background: var(--green-50);
  border: 1px solid var(--green-border);
}
.cta-panel h2 { margin-bottom: var(--space-2); }
.cta-panel p { color: var(--muted); margin: 0; max-width: 560px; }
.cta-panel .btn-row { margin-top: 0; }
@media (max-width: 599px) { .cta-panel { padding: var(--space-6) var(--space-5); } }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: var(--space-8);
  padding-block: var(--space-7) var(--space-6);
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-6);
}
.site-footer p { color: var(--muted); max-width: 460px; margin-top: var(--space-3); }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-5);
}
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--green-700); text-decoration: underline; }
.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  color: var(--muted);
}
@media (max-width: 767px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Utilities ---------- */
.h-card { font-size: 1.375rem; margin: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
