/* The public website (SPEC Addendum 8). The app's identity: deep navy, brand blue, a marigold accent
   used sparingly, Plus Jakarta Sans, and our own SVG art. Phone first (360px), laptop deliberate. */

/* The latin file has no rupee sign, so that one character comes from the latin-ext file. */
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+20B9;
}

:root {
  color-scheme: light;
  --navy: #16215b;
  --navy-deep: #0f1745;
  --navy-lift: #1f2e7a;
  --blue: #2743b8;
  --blue-soft: #e8ecfb;
  --gold: #f59e0b;
  --gold-hover: #ffad1f;
  --gold-soft: #fef3dc;
  --page: #f3f5fb;
  --card: #ffffff;
  --ink: #101936;
  --muted: #5b6480;
  --on-navy: #c9d2f2;
  --line: #e4e8f3;
  --line-strong: #cbd2e4;
  --green: #0f8a5f;
  --green-soft: #e2f5ed;
  --font: 'Plus Jakarta Sans Variable', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans Devanagari', sans-serif;
  --shadow-sm: 0 1px 2px rgba(16, 25, 54, 0.05), 0 4px 14px rgba(16, 25, 54, 0.05);
  --shadow: 0 2px 4px rgba(16, 25, 54, 0.06), 0 14px 32px -8px rgba(16, 25, 54, 0.14);
  --shadow-lg: 0 4px 8px rgba(16, 25, 54, 0.06), 0 30px 60px -20px rgba(16, 25, 54, 0.3);
  --gutter: 16px;
  --hdr: 116px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[id], .auth-step { scroll-margin-top: calc(var(--hdr) + 16px); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); color: var(--navy); font-weight: 700; padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent;
  font: inherit; font-size: 16px; font-weight: 750; line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn-sm { padding: 0 16px; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(245, 158, 11, 0.75); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-lift); }
.btn-outline { background: var(--card); color: var(--navy); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.38); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); }
.wide { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; color: var(--blue); font-weight: 700; }
.text-link:hover .ic-arrow { transform: translateX(3px); }
.ic-arrow { transition: transform 0.15s var(--ease); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row.center { justify-content: center; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr-in {
  display: grid; align-items: center; column-gap: 8px;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'brand cta' 'nav nav';
}
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: 10px; min-height: 64px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav {
  grid-area: nav; display: flex; justify-content: space-between;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 6px; border-top: 1px solid var(--line);
}
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 6px; font-size: 16px; font-weight: 650; color: var(--muted); border-radius: 10px; }
.nav .nav-login { color: var(--navy); font-weight: 750; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--navy); }
.nav a[aria-current='page'] { box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.hdr-cta { grid-area: cta; display: flex; align-items: center; gap: 4px; }
.hdr-login { display: none; align-items: center; min-height: 48px; padding: 0 10px; font-weight: 700; color: var(--navy); }
.hdr-login:hover { color: var(--blue); }

/* ---------- hero (home) ---------- */
/* The navy ends --tail above the hero's bottom, so the product pictures sit across the edge. */
.hero { position: relative; color: #fff; padding-top: 48px; --tail: 168px; }
.hero-bg { position: absolute; left: 0; right: 0; top: 0; bottom: var(--tail); overflow: hidden; background: var(--navy); }
.hero-bg::before, .phead::before, .cta-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(61, 96, 232, 0.55) 0%, rgba(61, 96, 232, 0) 72%),
    radial-gradient(38% 45% at 0% 100%, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0) 72%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.hero-in { position: relative; display: grid; gap: 40px; }
.hero h1 { font-size: clamp(38px, 10.5vw, 66px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin: 14px 0 18px; }
.hl { color: var(--gold); white-space: nowrap; }
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); }
.lede-dark { color: var(--on-navy); max-width: 36em; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: var(--on-navy); font-size: 16px; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ic { color: var(--gold); }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art .laptop { display: none; }
.phone-hero { width: 264px; }
.hero .cta-row .btn { flex: 1 1 auto; }

.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue); }
.eyebrow-dark { color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }

/* ---------- device frames ---------- */
.phone {
  position: relative; z-index: 1; width: 260px; padding: 9px; border-radius: 42px;
  background: linear-gradient(155deg, #2e3a78 0%, #121a45 45%, #0b112f 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 70px -30px rgba(16, 25, 54, 0.6), 0 16px 30px -18px rgba(16, 25, 54, 0.4);
}
.phone .shot { width: 100%; border-radius: 33px; background: var(--page); }
.laptop { position: relative; width: 100%; }
.laptop-screen {
  margin: 0 5.5%; padding: 10px 10px 14px; border-radius: 16px 16px 4px 4px;
  background: linear-gradient(160deg, #26316a, #0c1230);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -36px rgba(16, 25, 54, 0.55);
}
.laptop-screen .shot { width: 100%; border-radius: 6px; background: var(--page); }
.laptop-base { position: relative; height: 16px; border-radius: 2px 2px 16px 16px; background: linear-gradient(180deg, #eef1f8 0%, #c3cadf 60%, #9aa3c0 100%); box-shadow: 0 18px 30px -16px rgba(16, 25, 54, 0.5); }
.laptop-base::before { content: ''; position: absolute; left: 41%; right: 41%; top: 0; height: 6px; border-radius: 0 0 8px 8px; background: #a9b1cb; }
.shot-missing { aspect-ratio: 9 / 18.5; background: var(--page); border-radius: 33px; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--page); }
.sec-head { max-width: 780px; margin-bottom: 36px; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(28px, 7.4vw, 44px); line-height: 1.12; letter-spacing: -0.028em; font-weight: 800; color: var(--navy); margin: 10px 0 14px; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 750; color: var(--navy); }
.more-link { margin-top: 24px; }
.note { margin-top: 24px; color: var(--muted); font-size: 16px; max-width: 720px; }

/* the four lines */
.lines { display: grid; gap: 14px; }
.line-card {
  display: grid; grid-template-columns: 92px 1fr; column-gap: 14px; align-items: start;
  padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.line-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.line-card .art { grid-row: span 3; width: 92px; height: auto; }
.line-card h3 { margin-top: 2px; }
.line-card p { color: var(--muted); font-size: 16px; margin-top: 4px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--blue); font-weight: 700; font-size: 16px; min-height: 32px; }

/* feature rows */
.feature { display: grid; gap: 36px; align-items: center; }
.feature-art { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.feature-art::before {
  content: ''; position: absolute; top: 50%; left: 50%; width: min(420px, 100%); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; background: var(--tint, var(--blue-soft));
}
.tint-blue { --tint: radial-gradient(closest-side, #cfd9fc 0%, #e3e9fc 60%, rgba(232, 236, 251, 0) 100%); }
.tint-gold { --tint: radial-gradient(closest-side, #fcdfa6 0%, #feefd2 60%, rgba(254, 243, 220, 0) 100%); }
.tint-green { --tint: radial-gradient(closest-side, #bfe9d6 0%, #ddf3e9 60%, rgba(226, 245, 237, 0) 100%); }
.section-alt .feature-art::before { opacity: 0.95; }
.feature-art .laptop { max-width: 640px; z-index: 1; }

.ticks { display: grid; gap: 14px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.ticks .ic { width: 26px; height: 26px; padding: 4px; margin-top: 0; border-radius: 50%; background: var(--green-soft); color: var(--green); }

.ticks a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.section-devices { background: linear-gradient(180deg, var(--card) 0%, var(--page) 100%); }
.devices-art { max-width: 960px; margin: 0 auto; padding: 0 4%; }

/* trust and everyday cards */
.trust { display: grid; gap: 14px; }
.trust-card { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.trust-card .art { width: 64px; height: auto; margin-bottom: 10px; }
.trust-card p { margin-top: 6px; color: var(--muted); font-size: 16px; }

/* three steps */
.steps { display: grid; gap: 14px; counter-reset: none; }
.steps li { position: relative; padding: 24px; border-radius: 20px; background: var(--page); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 19px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 16px; }

/* ---------- plans ---------- */
.plans { display: grid; gap: 22px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px;
  border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.plan-popular { border: 2px solid var(--gold); box-shadow: 0 24px 50px -28px rgba(245, 158, 11, 0.7); }
.plan-badge { position: absolute; top: -15px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 800; letter-spacing: 0.02em; }
.plan-top { display: flex; align-items: center; gap: 12px; }
.plan-top .art { width: 48px; height: auto; }
.plan-top h3 { font-size: 22px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 16px; }
.plan-price strong { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.plan-gst { font-size: 15px; }
.plan-rows { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); margin-bottom: 6px; }
.plan-rows li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.plan-rows .yes .ic { color: var(--green); }
.plan-rows .no { color: #7d86a1; }
.plan-rows .no .ic { color: #a3abc2; }
.plan .btn { margin-top: auto; }
.plans-compact .plan-rows { margin-bottom: 4px; }

.compare { position: relative; overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm); }
.compare table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; font-variant-numeric: tabular-nums; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 18px; font-weight: 800; color: var(--navy); vertical-align: bottom; }
.compare thead th span { display: block; font-size: 15px; font-weight: 600; color: var(--muted); }
.compare th[scope='row'] { position: sticky; left: 0; z-index: 1; text-align: left; font-weight: 600; color: var(--ink); background: var(--card); min-width: 190px; }
.compare .col-popular { background: #fffaf0; }
.compare .yes { color: var(--green); display: inline-flex; }
.compare .no { color: #a3abc2; display: inline-flex; }

/* ---------- FAQ ---------- */
.faq { border-radius: 20px; background: var(--card); border: 1px solid var(--line); padding: 0 18px; box-shadow: var(--shadow-sm); }
.qa + .qa { border-top: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font-size: 18px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa-ic { color: var(--blue); transition: transform 0.2s var(--ease); }
.qa[open] .qa-ic { transform: rotate(180deg); }
.qa-a p { padding: 0 0 20px; color: var(--muted); font-size: 17px; }
.qa-a a, .prose a { color: var(--blue); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.faq-group { font-size: 24px; margin: 44px 0 14px; }
.faq-group:first-child { margin-top: 0; }

/* ---------- call to action ---------- */
.section-cta { padding-top: 24px; }
.cta-band {
  position: relative; overflow: hidden; display: grid; gap: 8px; align-items: center;
  padding: 36px 22px 0; border-radius: 28px; background: var(--navy); color: #fff;
}
.cta-band-copy { position: relative; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: var(--on-navy); font-size: 18px; max-width: 34em; }
.cta-band-art { position: relative; display: flex; justify-content: center; }
.cta-band-art .art { width: 240px; margin-bottom: -18px; }

/* ---------- page head (inner pages) ---------- */
.phead { position: relative; overflow: hidden; padding: 44px 0 52px; background: var(--navy); color: #fff; }
.phead-in { position: relative; display: grid; gap: 20px; align-items: center; }
.phead h1 { font-size: clamp(34px, 9vw, 54px); line-height: 1.06; letter-spacing: -0.032em; font-weight: 800; margin: 12px 0 14px; }
.phead-art { display: none; }

.jump { border-bottom: 1px solid var(--line); background: var(--card); }
.jump-in { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.jump-in::-webkit-scrollbar { display: none; }
.jump a { flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--navy); font-weight: 650; font-size: 16px; }
.jump a:hover { border-color: var(--navy); }

.fsec { display: grid; gap: 20px; }
.fsec-art .art { width: 150px; }
.ticks-2 { gap: 16px; }

/* ---------- prose, legal, contact ---------- */
.prose h2 { font-size: 22px; letter-spacing: -0.015em; margin: 36px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--ink); }
.legal-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal-links a { display: inline-flex; align-items: center; min-height: 48px; color: var(--blue); font-weight: 650; }
.contact-cards { display: grid; gap: 14px; margin-bottom: 44px; }
.contact-card { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: center; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-card .art { grid-row: span 2; width: 64px; }
.contact-h { font-weight: 800; color: var(--navy); font-size: 18px; }
.contact-v { color: var(--blue); font-weight: 650; overflow-wrap: anywhere; }

.handoff { padding: 72px 0 88px; background: var(--page); }
.handoff-in { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.handoff h1 { font-size: clamp(32px, 8vw, 44px); letter-spacing: -0.03em; color: var(--navy); }
.handoff .lede { max-width: 30em; margin-bottom: 8px; }

/* ---------- sign-up and log-in (Addendum 8 §2) ---------- */
.auth { position: relative; padding: 28px 0 64px; background: var(--page); }
.auth-in { display: grid; gap: 20px; max-width: 1040px; }
.auth-side {
  position: relative; overflow: hidden; display: none;
  background: var(--navy); color: #fff; border-radius: 24px; padding: 36px 32px;
}
.auth-side::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 90% 10%, rgba(61, 96, 232, 0.55) 0%, rgba(61, 96, 232, 0) 72%),
    radial-gradient(45% 45% at 0% 100%, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0) 72%);
}
.auth-side > * { position: relative; }
.auth-side .art { width: 180px; margin-bottom: 20px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.3)); }
.auth-side h2 { color: #fff; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 18px; }
.ticks-light { color: var(--on-navy); }
.ticks-light .ic { color: var(--gold); background: rgba(255, 255, 255, 0.1); }
.auth-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
  padding: 28px 20px;
}
.auth-step { display: flex; flex-direction: column; gap: 16px; }
.auth-step[hidden] { display: none; }
.auth-card h1 { font-size: clamp(28px, 7vw, 36px); line-height: 1.15; letter-spacing: -0.03em; color: var(--navy); }
.auth-lede { color: var(--muted); font-size: 16px; overflow-wrap: anywhere; }
.auth-lede strong { color: var(--ink); }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld-label { font-size: 15px; font-weight: 700; color: var(--ink); }
.fld-opt { font-weight: 500; color: var(--muted); }
.fld input {
  width: 100%; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 12px;
  font: inherit; font-size: 17px; color: var(--ink); background: var(--card);
}
.fld input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.fld input[name='code'] { font-size: 26px; letter-spacing: 0.3em; font-weight: 750; text-align: center; }
.fld-hint { font-size: 14px; color: var(--muted); line-height: 1.45; }
.agree { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; padding: 4px 0; font-size: 15px; line-height: 1.5; cursor: pointer; }
.agree input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--navy); }
.agree a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; font-weight: 600; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-or[hidden], .btn-google[hidden], .dev-box[hidden], .auth-error[hidden], .auth-notice[hidden] { display: none; }
.auth-notice { margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; background: var(--green-soft); color: var(--green); font-weight: 650; font-size: 15px; }
.google-g { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; }
.auth-alt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.link-btn {
  min-height: 48px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 700; color: var(--blue);
}
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.dev-box { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 2px dashed var(--gold); border-radius: 14px; background: var(--gold-soft); font-size: 15px; }
.dev-code { font-size: 20px; letter-spacing: 0.15em; }
.auth-error { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #fdecec; color: #a3261e; font-weight: 650; font-size: 15px; }
.auth-switch { text-align: center; color: var(--muted); font-size: 16px; }
.auth-switch a { color: var(--blue); font-weight: 750; display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }


/* ---------- guides, tools and pages for each agent (Addendum 9 §2) ---------- */
.crumbs { margin-bottom: 10px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; }
.crumbs li { display: inline-flex; align-items: center; column-gap: 8px; font-size: 15px; color: var(--on-navy); }
.crumbs li + li::before { content: '/'; color: rgba(201, 210, 242, 0.55); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 650; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { display: none; }
.crumbs [aria-current] span { display: inline-block; max-width: 40ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phead-meta { margin-top: 14px; color: var(--on-navy); font-size: 15px; font-weight: 600; }

.section-read { padding: 44px 0 56px; }
.section-for { padding: 36px 0 12px; }
.section-tool { padding: 28px 0 44px; background: var(--page); }

.answer { padding: 18px 20px; border-radius: 16px; background: var(--blue-soft); }
.answer-label { font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.answer p:last-child { font-size: 18px; line-height: 1.6; color: var(--ink); }
.answer strong { font-weight: 800; }

.guide > * + * { margin-top: 14px; }
.guide h2 { margin-top: 40px; }
.guide .answer + h2 { margin-top: 36px; }
.prose ul { display: grid; gap: 10px; margin: 12px 0; padding-left: 22px; list-style: disc; }
.prose li { font-size: 17px; line-height: 1.6; }
.prose li::marker { color: var(--muted); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--page); border: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; overflow-wrap: anywhere; }
.section-alt .prose code { background: var(--card); }
.prose .note { margin-top: 18px; font-size: 15px; color: var(--muted); max-width: none; }
.msg-sample { padding: 14px 16px; border-radius: 4px 16px 16px 16px; background: var(--green-soft); color: var(--ink); font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }

.tbl { overflow-x: auto; margin: 14px 0; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.tbl caption { padding: 12px 14px 0; text-align: left; font-size: 15px; font-weight: 700; color: var(--navy); }
.tbl th, .tbl td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tbl thead th { font-size: 14px; font-weight: 750; color: var(--muted); white-space: nowrap; }
.tbl tbody th { font-weight: 600; color: var(--ink); min-width: 124px; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 639px) {
  .tbl-stack { overflow: visible; border: 0; border-radius: 0; background: none; }
  .tbl-stack table, .tbl-stack tbody { display: block; }
  .tbl-stack caption { display: block; padding: 0; }
  .tbl-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl-stack tr { display: block; margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
  .tbl-stack tbody th { display: block; min-width: 0; padding: 0 0 6px; border: 0; font-weight: 750; color: var(--navy); }
  .tbl-stack td { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 12px; padding: 4px 0; border: 0; }
  .tbl-stack td::before { content: attr(data-label); font-size: 14px; color: var(--muted); }
  .tbl-stack td[data-label='']::before { content: none; }
  .tbl-stack td[data-label=''] { grid-template-columns: minmax(0, 1fr); }
  .tbl-stack td:has(> span:empty) { display: none; }
}

.sources { display: grid; gap: 12px; margin-top: 10px; counter-reset: src; }
.sources li { counter-increment: src; position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.sources li::before { content: counter(src) '.'; position: absolute; left: 0; color: var(--muted); font-weight: 700; }
.source-kind { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }

.related { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { font-size: 22px; margin: 0 0 14px; }
.link-cards { display: grid; gap: 12px; margin-top: 16px; }
.link-card { display: grid; gap: 4px; min-height: 64px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.link-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 750; color: var(--navy); line-height: 1.35; }
.link-card-h .ic { color: var(--blue); }
.link-card-sub { font-size: 15px; line-height: 1.5; color: var(--muted); }

.glance { display: grid; gap: 0; margin-top: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.glance > div { display: grid; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.glance > div:last-child { border-bottom: 0; }
.glance dt { font-size: 14px; font-weight: 750; color: var(--muted); }
.glance dd { margin: 0; font-size: 16px; line-height: 1.55; }

.tool-wrap { display: grid; gap: 20px; }
.tool-grid { display: grid; gap: 20px; align-items: start; min-width: 0; }
.tool-form { display: grid; gap: 14px; min-width: 0; }
.tool-sec { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow-sm); }
.tool-sec legend { float: left; width: 100%; padding: 0; font-size: 17px; font-weight: 750; color: var(--navy); }
.tool-sec legend + * { clear: both; }
.tool-sec-sub { font-size: 15px; color: var(--muted); }
.tool-sec[hidden], .tool-form [hidden], .result [hidden], .note-box[hidden] { display: none; }
.fld select {
  width: 100%; min-height: 52px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 12px;
  font: inherit; font-size: 17px; color: var(--ink); background: var(--card);
}
.fld select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.fld input[aria-invalid] { border-color: #c0392b; }
.fld-hint a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.tick { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 16px; line-height: 1.4; cursor: pointer; }
.tick input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--navy); }
.note-box { padding: 14px 16px; border-radius: 14px; background: var(--gold-soft); font-size: 16px; }

.tool-form input, .tool-form select { scroll-margin-bottom: 84px; }
.tool-bar { position: sticky; bottom: 10px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 18px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 750; box-shadow: var(--shadow-lg); font-variant-numeric: tabular-nums; }
.tool-bar[hidden] { display: none; }
/* The Ask button sits above the running total on a phone: at the same corner it hid the rupee figure. */
@media (max-width: 1039px) {
  body:has(.tool-bar:not([hidden])) .ask-launch { bottom: calc(env(safe-area-inset-bottom, 0px) + 78px); }
}
.tool-bar span:first-child { font-size: 15px; font-weight: 650; color: var(--on-navy); }
.tool-side { display: grid; gap: 14px; min-width: 0; }
.result { padding: 22px 20px; border-radius: 20px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.result-label { font-size: 15px; font-weight: 700; color: var(--on-navy); }
.result-total { margin-top: 2px; font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.result-hint { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--on-navy); }
.breakup { display: grid; margin-top: 14px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.breakup .kv { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 15px; line-height: 1.4; }
.breakup dt { color: var(--on-navy); }
.breakup dd { margin: 0; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.breakup .strong dt, .breakup .strong dd { color: #fff; font-weight: 800; }
.result-note { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.09); font-size: 15px; line-height: 1.5; }
.result-sub-h { margin-top: 14px; font-size: 14px; font-weight: 800; color: #fff; }
.result-line { margin-top: 4px; font-size: 15px; color: var(--on-navy); }
.result-est { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--gold-soft); color: var(--ink); font-size: 15px; font-weight: 650; line-height: 1.45; }
.result-how ul { display: grid; gap: 6px; margin-top: 6px; padding-left: 18px; list-style: disc; font-size: 15px; line-height: 1.5; color: var(--on-navy); }
.tool-cta { display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tool-cta p { font-size: 16px; color: var(--muted); }

.tool-cards { display: grid; gap: 14px; }
.tool-card { display: grid; grid-template-columns: 72px 1fr; column-gap: 14px; row-gap: 2px; min-height: 96px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tool-card .art { grid-row: span 3; width: 72px; height: auto; }
.tool-card-h { font-size: 18px; font-weight: 750; color: var(--navy); line-height: 1.3; }
.tool-card-sub { font-size: 16px; line-height: 1.45; color: var(--muted); }
.tool-index-note { margin-top: 44px; }
.section-for .cta-row { margin-top: 20px; }

/* ---------- footer ---------- */
.ftr { background: var(--navy-deep); color: var(--on-navy); padding: 56px 0 28px; }
.ftr-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.ftr-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.brand-light { color: #fff; min-height: 48px; }
.ftr-brand p { max-width: 30em; font-size: 16px; }
.ftr-col h2 { margin: 0 0 6px; font-size: 14px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: #fff; }
.ftr-col a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--on-navy); }
.ftr-col a:hover { color: #fff; }
.ftr-col:last-child { grid-column: 1 / -1; }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 15px; }

.nav-wide { display: none !important; }

/* ---------- small phones ---------- */
@media (max-width: 374px) {
  .brand { font-size: 18px; gap: 8px; }
  .nav a { padding: 0 4px; }
}

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  .lines { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .phone { width: 290px; }
  .phead-in { grid-template-columns: 1fr auto; }
  .phead-art { display: block; }
  .phead-art .art { width: 170px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.3)); }
}

@media (min-width: 760px) {
  :root { --gutter: 32px; --hdr: 72px; }
  .hero { padding-top: 64px; --tail: 190px; }
  .hero-copy { max-width: 920px; margin: 0 auto; text-align: center; }
  .hero .lede-dark { margin: 0 auto; }
  .hero .cta-row, .hero-points { justify-content: center; }
  .hero .cta-row .btn { flex: 0 0 auto; }
  .hero-art { display: block; width: 100%; max-width: 920px; margin: 8px auto 0; padding-left: 9%; }
  .hero-art .laptop { display: block; }
  .phone-hero { position: absolute; left: 0; bottom: -26px; width: 23%; padding: 7px; border-radius: 30px; }
  .phone-hero .shot { border-radius: 24px; }
  .hdr-in { grid-template-columns: auto 1fr auto; grid-template-areas: 'brand nav cta'; column-gap: 24px; }
  .brand { min-height: 72px; font-size: 20px; }
  .nav { justify-content: center; gap: 4px; margin: 0; padding: 0; border: 0; }
  .nav a { padding: 0 14px; min-height: 48px; }
  .nav a[aria-current='page'] { box-shadow: none; background: var(--page); border-radius: 10px; }
  .nav .nav-login { display: none; }
  .nav-wide { display: inline-flex !important; }
  .crumbs [aria-current] { display: inline-flex; }
  .hdr-login { display: inline-flex; }
  .hdr-cta { gap: 8px; }
  .section { padding: 96px 0; }
  .lede { font-size: 19px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .faq { padding: 0 28px; }
  .cta-band { grid-template-columns: 1.25fr 1fr; padding: 56px 56px 0; gap: 24px; }
  .cta-band-copy { padding-bottom: 56px; }
  .cta-band-art { align-self: end; }
  .cta-band-art .art { width: 340px; margin-bottom: -26px; }
  .phead { padding: 64px 0 72px; }
  .fsec { grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
  .fsec-art .art { width: 220px; }
  .ticks-2 { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .ftr-in { grid-template-columns: repeat(5, 1fr); gap: 32px; }
  .ftr-col:last-child { grid-column: auto; }
  .section-read { padding: 64px 0 80px; }
  .section-for { padding: 56px 0 8px; }
  .section-tool { padding: 44px 0 64px; }
  .answer { padding: 22px 26px; }
  .tool-sec { padding: 22px; }
  .tool-cards { grid-template-columns: 1fr 1fr; }
  .link-cards { grid-template-columns: 1fr 1fr; }
  .related .link-cards { grid-template-columns: 1fr; }
  .glance > div { grid-template-columns: 170px 1fr; gap: 16px; }
  .auth { padding: 56px 0 96px; }
  .auth-in { grid-template-columns: 1fr 1.1fr; column-gap: 28px; align-items: start; }
  .auth-side { display: block; }
  .auth-card { padding: 40px 40px 36px; }
  .auth-switch { grid-column: 2; }
}

/* ---------- laptop ---------- */
@media (min-width: 1040px) {
  .hero { padding-top: 80px; --tail: 230px; }
  .hero-art { max-width: 1080px; }
  .lines { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .line-card { display: flex; flex-direction: column; padding: 24px; }
  .line-card .art { width: 128px; margin: -4px 0 10px -6px; }
  .line-card p { flex: 1; }
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature.flip .feature-copy { order: 2; }
  .feature-copy { max-width: 540px; }
  .feature-art { padding: 40px 0; }
  .phone { width: 300px; }
  .trust { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .plans { grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
  .contact-card { grid-template-columns: 1fr; row-gap: 4px; }
  .contact-card .art { grid-row: auto; margin-bottom: 6px; }
  .phead-art .art { width: 220px; }
  .ftr-in { grid-template-columns: 1.6fr repeat(5, 1fr); }
  .ftr-brand { grid-column: auto; }
  .tool-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
  .tool-side { position: sticky; top: calc(var(--hdr) + 16px); }
  .tool-bar, .tool-bar[hidden] { display: none; }
  .tool-cards { grid-template-columns: repeat(3, 1fr); }
  .link-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .line-card:hover, .contact-card:hover { transform: none; }
}

/* Store mode (Addendum 8 §5, set by go.js): no menu, prices or sign-up prompts inside a store app. */
html[data-store] .nav,
html[data-store] .hdr-cta .btn,
html[data-store] .ftr-brand .btn,
html[data-store] .ftr-col:not(.ftr-legal) {
  display: none;
}

/* ---------- Ask Bima Diary: the small button (SPEC Addendum 9 §3). The panel's styles load with it. ---------- */
.ask-launch {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 16px 0 12px; border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 999px;
  font: inherit; font-size: 15px; font-weight: 750; line-height: 1; color: #fff;
  background: var(--navy); box-shadow: var(--shadow-lg); cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.15s;
}
.ask-launch:hover { background: var(--navy-lift); transform: translateY(-1px); }
.ask-launch[hidden] { display: none; }
.ask-launch svg { width: 24px; height: 24px; flex: none; }
.ask-launch-long { display: none; }
@media (min-width: 600px) {
  .ask-launch { right: 24px; bottom: 24px; }
  .ask-launch-long { display: inline; }
}
@media print { .ask-launch { display: none; } }
