/* ==========================================================================
   fonoagency.tech — design system
   Palette derived from the FONO logo gradient: #1D8208 (deep) → #7EB826 (lime).
   Deep green carries actions (4.9:1 on white). Lime is decorative only.
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand — from the logo */
  --brand: #1D8208;          /* logo deep green: buttons, key accents */
  --brand-hover: #176A07;
  --brand-ink: #1B7A08;      /* links and green text (5.5:1 on white) */
  --brand-deep: #0F3D06;
  --lime: #7EB826;           /* logo lime: decorative rules only */
  --brand-gradient: linear-gradient(90deg, #1D8208 0%, #4FA017 55%, #7EB826 100%);
  --brand-50: #F4F9EE;
  --brand-100: #E7F2DA;
  --brand-200: #CFE5B6;

  /* Neutrals (slightly green-tinted to sit with the logo) */
  --ink: #132012;
  --ink-2: #2B3A28;
  --muted: #50604A;
  --line: #E1E8D9;
  --line-strong: #C7D3BC;
  --surface: #FFFFFF;
  --surface-tint: #F7FAF3;
  --focus: #1D8208;
  --todo-bg: #FFF4CC;
  --todo-ink: #6B4E00;

  /* Typography */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Nirmala UI", "Noto Sans Devanagari", sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  --fs-h1: clamp(2rem, 1.3rem + 3.1vw, 3.625rem);
  --lh-body: 1.65;

  /* Spacing */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  --container: 1160px;
  --measure: 66ch;

  /* Shape — "bubble" echoes the chat-bubble tail in the logo */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --r-bubble: 14px 14px 14px 4px;
  --r-bubble-lg: 22px 22px 22px 6px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(19, 32, 18, 0.06);
  --shadow: 0 1px 2px rgba(19, 32, 18, 0.05), 0 8px 28px -14px rgba(19, 32, 18, 0.22);

  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 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); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 var(--s-4); line-height: 1.15; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
h2 { font-size: var(--fs-h2); font-weight: 780; letter-spacing: -0.022em; }
h3 { font-size: var(--fs-h3); font-weight: 720; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 700; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); text-decoration-thickness: 2px; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
code { font-size: 0.9em; background: var(--brand-50); padding: 0.1em 0.35em; border-radius: 4px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.icon { display: inline-block; flex: none; vertical-align: -0.15em; }
.small { font-size: var(--fs-sm); color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: var(--s-3); color: #fff; }

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

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.35rem;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.005em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--r);
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { color: var(--btn-fg); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -8px rgba(29,130,8,.55); }
.btn-primary:hover { --btn-bg: var(--brand-hover); --btn-bd: var(--brand-hover); }
.btn-secondary { --btn-bg: #fff; --btn-fg: var(--brand-deep); --btn-bd: var(--line-strong); }
.btn-secondary:hover { --btn-bg: var(--brand-50); --btn-bd: var(--brand); --btn-fg: var(--brand-deep); }
.btn-link { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--brand-ink); padding-inline: 0.5rem; text-decoration: underline; text-underline-offset: 4px; }
.btn-link:hover { --btn-fg: var(--brand-deep); }
.btn-whatsapp { --btn-bg: #fff; --btn-fg: var(--brand-deep); --btn-bd: var(--brand); }
.btn-whatsapp:hover { --btn-bg: var(--brand-50); }
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; font-size: var(--fs-sm); border-radius: 10px; }
.btn-lg { min-height: 56px; padding: 0.85rem 1.75rem; font-size: 1.0625rem; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-top: var(--s-5); }

.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.text-link::after { content: "→"; transition: transform .18s var(--ease); }
.text-link:hover { text-decoration: underline; }
.text-link:hover::after { transform: translateX(3px); }
.link-row { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-4); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header::before { content: ""; display: block; height: 3px; background: var(--brand-gradient); }
.header-inner { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em; line-height: 1; }
.brand-name span { font-weight: 600; color: var(--brand-ink); }

.site-nav { display: flex; align-items: center; gap: var(--s-4); margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list a, .menu-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  min-height: 40px; padding: 0.45rem 0.75rem;
  font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2);
  background: none; border: 0; border-radius: var(--r-sm); text-decoration: none; cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav-list a:hover, .menu-btn:hover { background: var(--brand-50); color: var(--brand-deep); }
.nav-list a[aria-current="page"], .has-menu.is-current > .menu-btn { color: var(--brand-deep); box-shadow: inset 0 -2px 0 var(--brand); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.submenu a[aria-current="page"] { box-shadow: none; background: var(--brand-50); border-radius: var(--r-sm); }
.chev { transition: transform .18s var(--ease); }
.menu-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
  list-style: none; margin: 0; padding: 0.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  display: none;
}
.menu-btn[aria-expanded="true"] + .submenu { display: block; }
.submenu a { display: flex; width: 100%; padding: 0.6rem 0.75rem; }
.nav-join { display: none; }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 0.5rem;
  min-height: 44px; padding: 0.4rem 0.85rem;
  font: inherit; font-size: var(--fs-sm); font-weight: 700; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r); cursor: pointer;
}
.nav-toggle-icon { position: relative; width: 18px; height: 12px; }
.nav-toggle-icon::before, .nav-toggle-icon::after, .nav-toggle-icon span {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease), top .2s var(--ease);
}
.nav-toggle-icon::before { top: 0; }
.nav-toggle-icon span { top: 5px; }
.nav-toggle-icon::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 5px; transform: rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span { opacity: 0; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--nav-top, calc(var(--header-h) + 3px)) 0 0 0; z-index: 49;
    display: none; flex-direction: column; align-items: stretch; gap: var(--s-5);
    padding: var(--s-4) var(--gutter) var(--s-7);
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
  }
  .nav-open .site-nav { display: flex; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list a, .menu-btn { width: 100%; min-height: 52px; padding: 0.75rem 0.25rem; font-size: 1.0625rem; justify-content: space-between; border-radius: 0; }
  .nav-list a[aria-current="page"], .has-menu.is-current > .menu-btn { box-shadow: inset 3px 0 0 var(--brand); padding-left: 0.85rem; border-radius: 0; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 0.5rem 0.75rem; min-width: 0; }
  .submenu a { min-height: 46px; font-size: 1rem; color: var(--muted); }
  .submenu a[aria-current="page"] { box-shadow: none; padding-left: 0.75rem; }
  .nav-cta { order: 3; }
  .nav-cta .btn { width: 100%; min-height: 48px; font-size: 1rem; }
  .nav-join { display: grid; gap: var(--s-3); order: 2; padding: var(--s-5); background: var(--brand-50); border-radius: var(--r-bubble-lg); }
  .nav-join p { margin: 0; font-weight: 700; color: var(--ink); }
}

/* ---------- Preview (review build only) ---------- */
.preview-banner { background: var(--todo-bg); color: var(--todo-ink); font-size: var(--fs-sm); padding: 0.5rem 0; border-bottom: 1px solid #F0DC8C; }
.preview-banner details { display: inline; margin-left: 0.5rem; }
.preview-banner summary { display: inline; cursor: pointer; text-decoration: underline; }
.preview-banner ul { margin: 0.5rem 0 0.25rem; columns: 2 18rem; }
mark.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 0.1em 0.4em; border-radius: 4px; font-weight: 600; font-size: 0.9em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Page hero ---------- */
.hero, .page-hero { background: var(--surface-tint); border-bottom: 1px solid var(--line); }
.page-hero { padding: var(--s-6) 0 var(--s-8); }
.page-hero .lead { max-width: 62ch; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem; list-style: none; padding: 0; margin: 0 0 var(--s-6); font-size: var(--fs-sm); color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.6; }

.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin: 0 0 var(--s-4); padding: 0.3rem 0.75rem 0.3rem 0.6rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.02em; color: var(--brand-deep);
  background: #fff; border: 1px solid var(--brand-200); border-radius: var(--r-bubble);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.chip-solid { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip-solid::before { background: var(--lime); }
.source-line { font-size: var(--fs-sm); color: var(--muted); }
.source-line strong { color: var(--ink-2); }

/* Home hero */
.hero { padding: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: var(--s-8); } }
.hero h1 { max-width: 16ch; }
.hero h1 .accent { color: var(--brand-ink); }
.hero .lead { max-width: 54ch; }
.hero-links { margin-top: var(--s-5); font-size: var(--fs-sm); color: var(--muted); }

.snapshot {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-bubble-lg); box-shadow: var(--shadow);
  padding: var(--s-6) var(--s-5) var(--s-5);
  margin-top: 28px;
}
.snapshot-logo { position: absolute; top: -28px; left: var(--s-5); width: 64px; height: 64px; filter: drop-shadow(0 6px 12px rgba(29,130,8,.25)); }
.snapshot-title { margin: var(--s-4) 0 var(--s-3); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.snapshot dl { margin: 0; }
.snapshot dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: 0.8rem 0; border-top: 1px solid var(--line); }
.snapshot dt { font-size: var(--fs-sm); color: var(--muted); }
.snapshot dd { margin: 0; font-weight: 800; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.snapshot dd small { display: block; font-weight: 600; font-size: var(--fs-xs); color: var(--muted); }
.snapshot .big { font-size: 1.75rem; color: var(--brand-ink); line-height: 1; }
.snapshot .source-line { margin: var(--s-3) 0 0; font-size: var(--fs-xs); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-tint { background: var(--surface-tint); }
.section-head { max-width: 720px; margin-bottom: var(--s-6); }
.section-head p { color: var(--ink-2); }
.eyebrow { display: block; margin-bottom: var(--s-3); font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-ink); }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--s-7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-6); }

/* Split layout: heading column + content column */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5) var(--s-8); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); }
  .split > .split-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.split-head p { color: var(--muted); }

.grid-2 { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid-3 { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Comparison (host vs agency) ---------- */
.compare { display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } .compare > * + * { border-left: 1px solid var(--line); } }
@media (max-width: 759px) { .compare > * + * { border-top: 1px solid var(--line); } }
.compare-col { padding: var(--s-6) var(--s-5); }
@media (min-width: 1000px) { .compare-col { padding: var(--s-7) var(--s-7) var(--s-6); } }
.compare-col h3 { font-size: 1.375rem; display: flex; align-items: center; gap: var(--s-3); }
.role-tag { font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-2); display: block; }
.checks { list-style: none; padding: 0; margin: var(--s-4) 0 var(--s-5); }
.checks li { position: relative; padding: 0.55rem 0 0.55rem 2rem; border-top: 1px dashed var(--line); }
.checks li:first-child { border-top: 0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.85rem; width: 18px; height: 18px; border-radius: 6px 6px 6px 2px;
  background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 6.8 11 12 5.5' fill='none' stroke='%231B7A08' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- Region cards ---------- */
.region {
  position: relative; display: flex; flex-direction: column;
  padding: var(--s-6) var(--s-5) var(--s-5); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-bubble-lg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.region:hover { border-color: var(--brand-200); box-shadow: var(--shadow); }
.region h3 { font-size: 1.5rem; margin-bottom: var(--s-2); }
.region p { color: var(--muted); }
.region .text-link { margin-top: auto; padding-top: var(--s-4); }
.region .text-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.region-label { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.region-label .chip { margin: 0; }
.region-label time { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.region-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s-2) var(--s-6); margin: var(--s-4) 0; padding: var(--s-4) 0; border-block: 1px solid var(--line); }
.region-stats div { display: grid; }
.region-stats dt { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.region-stats dd { margin: 0; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .region-stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Commission ---------- */
.commission { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: center; }
@media (min-width: 860px) { .commission { grid-template-columns: auto minmax(0, 1fr); gap: var(--s-8); } }
.commission-figure { margin: 0; }
.commission-figure .pct {
  display: block; font-size: clamp(5.5rem, 4rem + 7vw, 10rem); font-weight: 800; line-height: 0.85; letter-spacing: -0.06em;
  color: var(--brand); font-variant-numeric: tabular-nums;
}
.commission-figure figcaption { margin-top: var(--s-3); font-size: var(--fs-sm); font-weight: 600; color: var(--muted); max-width: 22ch; }
.equation {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.65rem;
  margin: var(--s-5) 0; padding: var(--s-4) var(--s-5);
  background: var(--brand-50); border-radius: var(--r-bubble);
  font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums;
}
.equation .op { color: var(--muted); font-weight: 600; }
.equation .res { color: var(--brand-ink); font-weight: 800; }

/* ---------- Rate range bars ---------- */
.rates { display: grid; gap: var(--s-5); }
.rate-group { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.rate-group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-4); margin-bottom: var(--s-4); }
.rate-group-head h3 { margin: 0; }
.rate-group-head .small { margin: 0; }
.rate-row { display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center; gap: var(--s-4); padding: 0.55rem 0; }
.rate-row dt { font-weight: 700; font-size: var(--fs-sm); color: var(--ink); }
.rate-row dd { margin: 0; }
.rate-row .val { font-weight: 800; font-size: var(--fs-sm); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar { position: relative; height: 10px; border-radius: 99px; background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--line); }
.bar span { position: absolute; top: 0; bottom: 0; left: var(--from); right: calc(100% - var(--to)); border-radius: 99px; background: var(--brand-gradient); }
.scale { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: var(--s-4); font-size: var(--fs-xs); color: var(--muted); }
.scale span:nth-child(2) { display: flex; justify-content: space-between; }
.scale .val { visibility: hidden; font-size: var(--fs-sm); font-weight: 800; white-space: nowrap; }
@media (max-width: 480px) {
  .rate-row, .scale { grid-template-columns: 3.5rem 1fr; }
  .rate-row .val { grid-column: 2; margin-top: -0.35rem; }
  .scale .val { display: none; }
}

/* ---------- Stats (withdrawal thresholds) ---------- */
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: #fff; padding: var(--s-5); }
.stat-label { font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-3); }
.stat-value { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; margin-bottom: var(--s-2); font-variant-numeric: tabular-nums; }
.stat-value small { font-size: 0.5em; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.stat p:not(.stat-label):not(.stat-value) { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { margin: var(--s-5) 0; border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; background: #fff; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: var(--s-3) var(--s-4); font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); background: var(--surface-tint); }
th, td { padding: 0.8rem var(--s-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tbody tr:last-child > * { border-bottom: 0; }
thead th { font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); background: var(--surface-tint); white-space: nowrap; }
tbody th { font-weight: 700; color: var(--ink); }
td.num, th.num { text-align: right; }
tbody tr:hover { background: #FBFDF8; }
.table-levels td, .table-levels th { text-align: center; }
.table-levels tbody tr:nth-child(even) { background: var(--surface-tint); }
.table-wide table { min-width: 560px; }
.table-note { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Notes / callouts ---------- */
.note { margin: var(--s-5) 0; padding: var(--s-4) var(--s-5); background: var(--surface-tint); border-left: 3px solid var(--lime); border-radius: 0 var(--r) var(--r) 0; font-size: var(--fs-sm); color: var(--ink-2); }
.note-strong { background: var(--brand-50); border-left-color: var(--brand); }
.hindi { font-family: "Nirmala UI", "Noto Sans Devanagari", "Mangal", var(--font); }

/* Region switch banner on policy pages */
.region-switch { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin-top: var(--s-5); padding: var(--s-3) var(--s-4); background: #fff; border: 1px solid var(--line); border-radius: var(--r-bubble); font-size: var(--fs-sm); max-width: max-content; }

/* Policy summary facts under page hero */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-3); margin-top: var(--s-6); max-width: 820px; }
.fact { padding: var(--s-3) var(--s-4); background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.fact dt { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.fact dd { margin: 0; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Process slider ---------- */
.process { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.process-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) var(--s-4) var(--s-3) var(--s-5); border-bottom: 1px solid var(--line); background: var(--surface-tint); }
.process-count { margin: 0; font-weight: 700; font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.process-count [data-current] { color: var(--ink); }
.process-nav { display: flex; align-items: center; gap: var(--s-2); }
.process-dots { display: flex; gap: 0.35rem; }
.process-dot, .process-arrow {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  font: inherit; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: 10px; cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.process-dot:hover, .process-arrow:hover:not(:disabled) { border-color: var(--brand); color: var(--brand-deep); }
.process-dot[aria-current="step"] { background: var(--brand); border-color: var(--brand); color: #fff; border-radius: 10px 10px 10px 3px; }
.process-arrow:disabled { opacity: 0.4; cursor: default; }
@media (max-width: 420px) {
  .process-bar { padding-inline: var(--s-3); }
  .process-dot, .process-arrow { width: 40px; height: 40px; }
  .process-dots { gap: 0.25rem; }
  .process-arrow { display: none; }
}

.process-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  margin: 0; padding: 0; list-style: none; position: relative;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.process-track::-webkit-scrollbar { display: none; }
.process-track:focus-visible { outline-offset: -3px; }
.process-slide {
  scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
  gap: var(--s-7); padding: var(--s-6) var(--s-7);
}
.process-copy { max-width: 46ch; }
.process-copy h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); margin-bottom: var(--s-3); }
.process-copy > p:not(.step-num) { color: var(--ink-2); }
.step-num { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-4); }
.bubble { display: inline-grid; place-items: center; min-width: 44px; height: 38px; padding: 0 0.5rem; background: var(--brand); color: #fff; font-size: 1rem; letter-spacing: 0; border-radius: var(--r-bubble); }

.phone { margin: 0; width: 220px; flex: none; padding: 7px; background: var(--ink); border-radius: 32px; box-shadow: var(--shadow); }
.phone-screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 26px; overflow: hidden; background: #fff; }
.phone-screen img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.phone-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s-3); background: linear-gradient(180deg, var(--brand-50), #fff 70%); }
.phone-empty img { width: 48px; height: 48px; opacity: 0.9; background: none; }
.phone-empty span { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.05em; color: var(--brand-200); line-height: 1; }

@media (max-width: 720px) {
  .process-slide { grid-template-columns: 1fr; justify-items: center; gap: var(--s-5); padding: var(--s-5) var(--s-4) var(--s-6); text-align: left; }
  .process-copy { width: 100%; }
  .phone { width: min(200px, 60vw); }
}

.process-text { border-top: 1px solid var(--line); }
.process-text summary { cursor: pointer; padding: var(--s-4) var(--s-5); font-weight: 700; font-size: var(--fs-sm); color: var(--brand-ink); list-style: none; display: flex; align-items: center; gap: var(--s-2); }
.process-text summary::-webkit-details-marker { display: none; }
.process-text summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--brand-50); font-weight: 800; }
.process-text[open] summary::before { content: "−"; }
.process-text ol { margin: 0; padding: 0 var(--s-5) var(--s-5) calc(var(--s-5) + 1.25rem); }
.process-text li { padding: 0.35rem 0; }

.editor-slot { margin-top: var(--s-4); padding: var(--s-3) var(--s-4); background: var(--todo-bg); color: var(--todo-ink); border: 1px dashed #D9B84A; border-radius: var(--r-sm); font-size: var(--fs-xs); }
.editor-slot p { margin-bottom: var(--s-2); }
.editor-slot strong { color: inherit; }
.editor-pick { display: inline-flex; flex-direction: column; gap: 0.25rem; font-weight: 700; cursor: pointer; }
.editor-pick input { font-size: var(--fs-xs); max-width: 100%; }

/* ---------- Calculator ---------- */
.calc { margin: var(--s-6) 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.calc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-2) var(--s-4); padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); background: var(--surface-tint); }
.calc-head h3 { margin: 0; font-size: 1.0625rem; }
.calc-basis { margin: 0; font-weight: 700; font-size: var(--fs-sm); color: var(--brand-ink); }
.calc-body { display: grid; gap: var(--s-5); padding: var(--s-5); align-items: start; }
@media (min-width: 640px) { .calc-body { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; font-size: var(--fs-sm); color: var(--ink); margin-bottom: var(--s-2); }
.field input {
  width: 100%; min-height: 52px; padding: 0.7rem 0.9rem;
  font: inherit; font-size: 1.25rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums;
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(29,130,8,.15); }
.field input[aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 4px rgba(180,35,24,.12); }
.field-help { margin: var(--s-2) 0 0; font-size: var(--fs-xs); color: var(--muted); }
.field-error { margin: var(--s-2) 0 0; font-size: var(--fs-sm); font-weight: 600; color: #B42318; }
.calc-result { padding: var(--s-4) var(--s-5); background: var(--brand-50); border-radius: var(--r-bubble-lg); min-height: 100%; }
.calc-label { margin: 0 0 var(--s-1); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.calc-value { margin: 0; font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; color: var(--brand-deep); font-variant-numeric: tabular-nums; line-height: 1.15; overflow-wrap: anywhere; }
.calc-note { margin: 0; padding: 0 var(--s-5) var(--s-5); font-size: var(--fs-sm); color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-4) 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.0625rem; font-weight: 700; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 8px 8px 8px 3px; background: var(--brand-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%231B7A08' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-100); }
.faq summary:hover h3 { color: var(--brand-deep); }
.faq .answer { padding: 0 var(--s-7) var(--s-5) 0; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); background: var(--brand-deep); color: #E8F3DC;
  border-radius: var(--r-bubble-lg);
}
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--brand-gradient); }
.cta-band h2 { color: #fff; margin-bottom: var(--s-3); }
.cta-band p { color: #D6E8C6; max-width: 56ch; }
.cta-band .btn-primary { --btn-bg: #fff; --btn-fg: var(--brand-deep); --btn-bd: #fff; box-shadow: none; }
.cta-band .btn-primary:hover { --btn-bg: var(--brand-50); --btn-bd: var(--brand-50); }
.cta-band .btn-secondary { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.cta-band .btn-secondary:hover { --btn-bg: rgba(255,255,255,.08); --btn-bd: #fff; --btn-fg: #fff; }
.cta-band :focus-visible { outline-color: #fff; }
.cta-band a:not(.btn) { color: #fff; }

/* ---------- Contact ---------- */
.contact-list { margin: 0 0 var(--s-5); border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-weight: 700; color: var(--muted); font-size: var(--fs-sm); }
.contact-list dd { margin: 0; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 480px) { .contact-list > div { grid-template-columns: 1fr; gap: var(--s-1); } }
.role-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.role-list li { padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-bubble); background: #fff; }
.download-box { display: grid; justify-items: start; gap: var(--s-3); margin-top: var(--s-5); }
/* Referral code: red approval notice + copyable code */
.referral { margin-top: var(--s-4); max-width: 460px; padding: var(--s-4); background: #fff; border: 1.5px solid #F4C7C3; border-radius: var(--r-bubble-lg); }
.referral-alert { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 var(--s-3); font-weight: 800; font-size: 1rem; color: #B42318; }
.referral-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.referral-label { width: 100%; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.referral .code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.375rem; font-weight: 800; color: var(--ink); background: var(--brand-50); padding: 0.3rem 0.75rem; border: 1.5px dashed var(--brand-200); border-radius: 8px; letter-spacing: 0.08em; user-select: all; -webkit-user-select: all; }

/* Legal pages */
.legal .prose h2 { font-size: 1.375rem; }
.legal .meta { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; padding: var(--s-8) 0 var(--s-5); background: var(--surface-tint); border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); } }
.footer-brand p { margin-top: var(--s-4); color: var(--muted); max-width: 46ch; }
.footer-brand .brand img { width: 48px; height: 48px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem var(--s-5); }
.footer-nav a { display: inline-flex; min-height: 40px; align-items: center; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--brand-deep); text-decoration: underline; }
.footer-bottom { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--muted); }
.has-wa .site-footer { padding-bottom: 6rem; }

/* Floating WhatsApp — compact, bottom-right, clear of content via footer padding */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0.6rem 1rem;
  font-weight: 700; font-size: var(--fs-sm); color: #fff; text-decoration: none;
  background: var(--brand); border-radius: 24px 24px 6px 24px; box-shadow: 0 10px 24px -10px rgba(15,61,6,.6);
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.wa-float:hover { color: #fff; background: var(--brand-hover); transform: translateY(-2px); }
.nav-open .wa-float { display: none; }
@media (max-width: 600px) { .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .wa-float { width: 52px; height: 52px; padding: 0; justify-content: center; } }

/* 404 */
.notfound { padding: var(--s-9) 0; text-align: left; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .wa-float, .process-bar, .preview-banner { display: none !important; }
  .process-track { display: block; overflow: visible; }
}

/* ---------- Utilities ---------- */
.mt-5 { margin-top: var(--s-5); }
.self-center { align-self: center; }
.stats-single { grid-template-columns: 1fr !important; max-width: 360px; }
.stats-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
.wa-float { transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s, background-color .18s var(--ease); }
.copy-btn { min-height: 44px; padding: 0.4rem 1rem; font: inherit; font-size: var(--fs-sm); font-weight: 700; color: #fff; background: var(--brand); border: 1.5px solid var(--brand); border-radius: 10px 10px 10px 3px; cursor: pointer; }
.copy-btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.hero-hindi { margin: calc(var(--s-2) * -1) 0 var(--s-4); font-family: "Nirmala UI", "Noto Sans Devanagari", "Mangal", var(--font); font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem); font-weight: 600; color: var(--brand-ink); }

/* Real screenshots: the frame takes the image's own proportions (whole image, never cropped). */
.phone.has-shot { width: 260px; padding: 6px; border-radius: 26px; }
.phone.has-shot .phone-screen { aspect-ratio: auto; border-radius: 20px; }
.phone.has-shot .phone-screen img { height: auto; }
@media (max-width: 720px) { .phone.has-shot { width: min(270px, 74vw); } }

/* Copyable code inside a step */
.step-code { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-top: var(--s-4); padding: var(--s-3) var(--s-4); background: var(--brand-50); border-radius: var(--r-bubble); }
.step-code span { font-weight: 700; color: #B42318; }
.step-code .code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.125rem; font-weight: 800; letter-spacing: 0.08em; color: var(--ink); background: #fff; padding: 0.2rem 0.6rem; border: 1.5px dashed var(--brand-200); border-radius: 8px; user-select: all; -webkit-user-select: all; }

/* Sliders with many steps: on narrow screens use arrows + counter instead of numbered buttons */
@media (max-width: 720px) {
  .process--many .process-dots { display: none; }
  .process--many .process-arrow { display: inline-grid; width: 44px; height: 44px; }
  .process--many .process-nav { gap: var(--s-3); }
}

/* Text-only steps (no screenshot): large decorative number beside the caption */
.process-slide--text { min-height: 280px; gap: var(--s-7); }
.step-big {
  font-size: clamp(4.5rem, 3rem + 6vw, 8.5rem); font-weight: 800; line-height: 0.8; letter-spacing: -0.06em;
  color: var(--brand-200); font-variant-numeric: tabular-nums; user-select: none;
  padding-left: var(--s-4);
}
.process-slide--text .process-copy h3 { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); }
.process-slide--text .process-copy > p:not(.step-num) { font-size: var(--fs-lead); }
@media (max-width: 720px) {
  .process-slide--text { min-height: 0; grid-template-columns: 1fr; justify-items: start; gap: var(--s-3); padding: var(--s-5) var(--s-5) var(--s-6); }
  .step-big { font-size: 4rem; padding-left: 0; }
}
.process-slide--text .bubble { display: none; }
.actions-wa { margin-top: var(--s-3); }
@media (max-width: 560px) {
  .hero .actions:not(.actions-wa) > .btn { flex: 1 1 0; padding-inline: 0.75rem; }
  .actions-wa > .btn { flex: 1 1 100%; }
}
