/* ─────────────────────────────────────────────────────────────
   Kaksha360 — landing page
   Brand from the logo: navy leads, orange supports, deep navy grounds.
   Navy is the action colour because the orange is only 2.65:1 on white
   and cannot legally carry button or link text.
   ───────────────────────────────────────────────────────────── */

:root {
  --brand: #123a7a;
  --brand-600: #012f69;
  --brand-50: #eaf0fb;
  --accent: #ff7801;
  --accent-50: #fff1e3;
  --navy: #0d2a5c;
  --navy-700: #08203f;
  --navy-900: #051629;

  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --surface: #ffffff;
  --line: #e4e8ee;
  --line-soft: #eef1f5;
  --ink: #101828;
  --ink-2: #47536b;
  --ink-3: #626e86;

  --ok: #0e8458;
  --ok-bg: #e6f5ee;
  --warn: #9c5508;
  --warn-bg: #fdf2e3;
  --danger: #b8352a;
  --danger-bg: #fcebea;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 2px 6px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-lg: 0 24px 56px -20px rgba(18, 37, 70, .26), 0 8px 18px -10px rgba(18, 37, 70, .12);
  --shadow-brand: 0 18px 40px -16px rgba(18, 58, 122, .45);

  --nav-h: 68px;
  --wrap: 1180px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Noto Sans", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.022em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.85rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.6rem); letter-spacing: -.028em; }
h3 { font-size: 1.14rem; }
p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Links inside running text are underlined: their colour alone is too close to the text around them */
:where(p, .faq .a, .su-foot) a:not(.btn):not(.su-alt):not(.su-c) {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
img, video { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* skip link — keyboard users should not have to tab the whole nav */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .15s ease;
}
.skip:focus { top: 12px; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(18, 58, 122, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ─────────────────────────────── buttons */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-line: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 12px 22px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-line);
  border-radius: 999px; font: 500 15px/1 var(--font); cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary { box-shadow: var(--shadow-brand); }
.btn.primary:hover { --btn-bg: var(--brand-600); --btn-line: var(--brand-600); }
.btn.ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-line: var(--line); }
.btn.ghost:hover { --btn-line: var(--ink-3); background: var(--bg-soft); }
.btn.on-dark { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-line: rgba(255,255,255,.28); }
.btn.on-dark:hover { --btn-bg: rgba(255,255,255,.16); }
.btn.sm { min-height: 38px; padding: 9px 16px; font-size: 14px; }
.btn.lg { min-height: 54px; padding: 15px 30px; font-size: 16.5px; }
.btn svg { flex: 0 0 auto; }

/* ─────────────────────────────── nav */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav .wrap { display: flex; align-items: center; gap: 14px; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand:hover { text-decoration: none; }
.brand img { height: 34px; width: auto; }
/* The full lockup, tagline and all — the same one the footer carries. It needs more
   height than a bare mark, because the tagline underneath has to stay readable. */
.brand .brand-logo { height: 42px; }
@media (max-width: 520px) { .brand .brand-logo { height: 34px; } }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px;  /* touch target minimum */
  padding: 9px 13px; border-radius: 999px; color: var(--ink-2);
  font-size: 14.5px; font-weight: 500; text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn.sm { min-height: 44px; padding: 11px 18px; }
.nav-toggle { display: none; }

/* ─────────────────────────────── hero */
.hero { position: relative; padding: clamp(46px, 5vw, 86px) 0 clamp(56px, 6vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -20% auto -20%; height: 720px; z-index: -1;
  background:
    radial-gradient(52% 46% at 78% 8%, rgba(255, 120, 1, .16), transparent 68%),
    radial-gradient(46% 44% at 14% 0%, rgba(18, 58, 122, .16), transparent 70%);
}
.hero-grid { display: grid; gap: clamp(36px, 4vw, 60px); grid-template-columns: 1fr; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 7px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.eyebrow b {
  background: linear-gradient(120deg, #b35000, var(--brand));   /* white 11.5px needs 4.5:1 at both ends */
  color: #fff; font-weight: 600; font-size: 11.5px; letter-spacing: .04em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
}
.hero h1 { margin: 20px 0 0; max-width: 16ch; }
.hero h1 .grad {
  /* navy→orange through text reads as muddy grey in the middle, so the phrase
     is one solid orange instead — 4:1 on white, and this is display-size type */
  color: #d35a00;
}
.lede { margin-top: 18px; font-size: clamp(1rem, .96rem + .28vw, 1.17rem); color: var(--ink-2); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: var(--ink-3); font-size: 13.5px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { color: var(--ok); }

/* ─────────────────────────────── product panel (the app, rebuilt in HTML) */
.shot {
  border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden;
}
.shot-bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8dde5; }
.shot-bar .url {
  margin-left: 8px; padding: 4px 12px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font: 400 11.5px/1.5 var(--mono); color: var(--ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.app { display: grid; grid-template-columns: 172px 1fr; min-height: 400px; }
.app-side { background: var(--navy); padding: 14px 10px; }
.app-side .s-brand { display: flex; align-items: center; gap: 8px; padding: 2px 6px 14px; }
.app-side .s-brand img { height: 24px; width: auto; }
.app-side .s-brand span { color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: -.01em; }
.app-side u {
  display: block; height: 1px; background: rgba(255, 255, 255, .1);
  margin: 0 4px 12px; text-decoration: none;
}
.app-side a {
  display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 7px;
  color: #a9b6cd; font-size: 12px; text-decoration: none; margin-bottom: 1px;
}
.app-side a.on { background: rgba(255, 120, 1, .2); color: #fff; }
.app-side a svg { opacity: .85; }
.app-main { padding: 16px 18px; background: var(--bg-soft); }
.app-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.app-head b { font-size: 15px; letter-spacing: -.02em; }
.app-head .sp { flex: 1; }
.app-pill {
  padding: 5px 11px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 11.5px; font-weight: 500;
}
.app-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.app-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 11px 12px; }
.app-tile em { display: block; font-style: normal; font-size: 10.5px; line-height: 1.35; color: var(--ink-3); margin-bottom: 5px; min-height: 2.7em; }
.app-tile strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.028em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.app-tile small { display: block; margin-top: 5px; font-size: 10.5px; color: var(--ink-3); }
.meter { height: 4px; border-radius: 99px; background: var(--line-soft); margin-top: 8px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.meter.p i { background: var(--brand); }
.meter.g i { background: var(--ok); }
.app-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; margin-top: 10px; }
.app-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.app-card > em { display: block; font-style: normal; font-size: 11px; color: var(--ink-3); margin-bottom: 9px; }
.app-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line-soft); font-size: 11.5px; }
.app-row:first-of-type { border-top: 0; }
.app-row .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip {
  padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600;
  background: var(--line-soft); color: var(--ink-2);
}
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.bad { background: var(--danger-bg); color: var(--danger); }
.chip.cy { background: var(--accent-50); color: #b04d00; }
.chip.pu { background: var(--brand-50); color: var(--brand); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; padding-top: 6px; }
.bars i {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(255, 120, 1, .35));
}
.bars i.hi { background: linear-gradient(180deg, var(--brand), rgba(18, 58, 122, .35)); }

/* ─────────────────────────────── strip of facts */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding-top: 30px; padding-bottom: 30px; }
.fact strong { display: block; font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); font-weight: 600; letter-spacing: -.03em; }
.fact span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-2); }

/* ─────────────────────────────── sections */
section { padding: clamp(48px, 5.2vw, 82px) 0; }
.sec-head { max-width: 62ch; margin-bottom: clamp(26px, 2.8vw, 40px); }
.sec-head.mid { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.sec-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.04rem; }
.soft { background: var(--bg-soft); }
.dark { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%); color: #e7ecf5; }
.dark h2, .dark h3 { color: #fff; }
.dark .kicker { color: var(--accent); }
.dark .sec-head p, .dark .muted { color: #a9b6cd; }

/* ─────────────────────────────── module grid */
.mod-groups { display: grid; gap: 14px; }
.mod-group { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.mod-group > summary {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; list-style: none;
}
.mod-group > summary::-webkit-details-marker { display: none; }
.mod-group > summary:hover { background: var(--bg-soft); }
.mod-group[open] > summary { border-bottom: 1px solid var(--line); }
.g-ico {
  display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 11px; background: var(--brand-50); color: var(--brand);
}
.mod-group:nth-of-type(2n) .g-ico { background: var(--accent-50); color: #b04d00; }
.g-txt { flex: 1; min-width: 0; }
.g-txt b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -.02em; }
.g-txt span { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.g-count { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.g-chev { color: var(--ink-3); transition: transform .2s ease; }
.mod-group[open] .g-chev { transform: rotate(180deg); }

.mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1px; background: var(--line-soft); }
.mod { background: var(--surface); padding: 18px 22px; }
.mod b { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 5px; }
.mod p { font-size: 13.6px; color: var(--ink-2); line-height: 1.55; }
.mod .screens { margin-top: 9px; font: 400 11.5px/1.5 var(--mono); color: var(--ink-3); }

/* ─────────────────────────────── split feature rows */
.split { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: center; }
.split .copy h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -.025em; }
.split .copy p { margin-top: 14px; color: var(--ink-2); }
.dark .split .copy p { color: #a9b6cd; }
.ticks { margin-top: 22px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.8px; }
.ticks svg { flex: 0 0 auto; margin-top: 3px; color: var(--ok); }
.dark .ticks svg { color: var(--accent); }
.ticks b { font-weight: 600; }
.ticks span { color: var(--ink-2); }
.dark .ticks span { color: #a9b6cd; }

/* ─────────────────────────────── control plane table */
.cp { border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.cp-head { display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.1); }
.cp-head img { height: 22px; }
.cp-head b { font-size: 13px; color: #fff; }
.cp-head .sp { flex: 1; }
.cp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 16px; }
.cp-tile { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 10px; padding: 10px 12px; }
.cp-tile em { display: block; font-style: normal; font-size: 10.5px; color: #93a2bd; }
.cp-tile strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.025em; color: #fff; margin-top: 2px; }
.cp-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cp-table th {
  text-align: left; padding: 9px 16px; font-size: 10px; letter-spacing: .07em; text-transform: uppercase;
  color: #8697b5; font-weight: 600; background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
}
.cp-table td { padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,.06); color: #cdd8ea; }
.cp-table td b { color: #fff; font-weight: 600; display: block; }
.cp-table td small { color: #8697b5; font-size: 11px; }
.cp-table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ─────────────────────────────── video */
.video-grid { display: grid; gap: clamp(30px, 4vw, 56px); grid-template-columns: 1fr; align-items: center; }
.phone {
  position: relative; width: min(298px, 82vw); margin: 0 auto;
  border-radius: 38px; padding: 10px; background: var(--navy-900);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.phone::after {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 20px; border-radius: 99px; background: var(--navy-900); z-index: 3;
}
.phone .screen { position: relative; border-radius: 29px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; }
.phone video, .phone img.poster { width: 100%; height: 100%; object-fit: cover; }
.phone img.poster { position: absolute; inset: 0; }
.play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  border: 0; background: linear-gradient(180deg, rgba(9,19,38,.12), rgba(9,19,38,.55)); cursor: pointer;
}
.play i {
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--brand);
  box-shadow: 0 12px 34px rgba(0,0,0,.34); transition: transform .18s ease;
}
.play:hover i { transform: scale(1.06); }
.play span {
  position: absolute; bottom: 20px; left: 0; right: 0; text-align: center;
  color: #fff; font-size: 12.5px; text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.playing .play { display: none; }
.playing .poster { display: none; }
.film {
  position: relative; border-radius: 24px; padding: 10px; background: var(--navy-900);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.film .screen { position: relative; border-radius: 15px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.film video, .film img.poster { width: 100%; height: 100%; object-fit: cover; }
.film img.poster { position: absolute; inset: 0; }

/* ─────────────────────────────── pricing */
.seg {
  position: relative; display: inline-flex; gap: 4px; margin: 0 auto clamp(26px, 3vw, 38px);
  padding: 5px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
  left: 50%; transform: translateX(-50%);
}
.seg-btn {
  position: relative; z-index: 1; border: 0; background: transparent; cursor: pointer;
  padding: 11px 26px; border-radius: 999px; min-height: 44px;
  font: 500 15px/1 var(--font); color: var(--ink-2);
  transition: color .2s ease;
}
.seg-btn.on { color: #fff; }
.seg-ind {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px;
  border-radius: 999px; background: var(--brand);
  box-shadow: var(--shadow-brand);
  transition: transform .28s cubic-bezier(.22,.61,.36,1), width .28s cubic-bezier(.22,.61,.36,1);
}

.plans { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 30px; display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease, border-color .25s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan.best { border-color: var(--brand); box-shadow: var(--shadow-brand); }
.plan .tag {
  position: absolute; top: -13px; left: 30px; padding: 5px 13px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .03em;
}
.plan h3 { font-size: 1.32rem; }
.plan .who { margin-top: 6px; color: var(--ink-3); font-size: 14px; min-height: 2.6em; }
.plan .cap { display: flex; align-items: baseline; gap: 9px; margin: 22px 0 3px; }
.cap-n {
  font-size: 2.6rem; font-weight: 600; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(105deg, var(--brand) 10%, var(--accent) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.cap-t { font-size: 1rem; color: var(--ink-2); }
.plan .per { color: var(--ink-3); font-size: 13.4px; }
.plan ul { margin: 24px 0 28px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 11px; font-size: 14.4px; align-items: flex-start; line-height: 1.5; }
.plan li svg { flex: 0 0 auto; margin-top: 3px; color: var(--brand); }
.plan .btn { width: 100%; margin-top: auto; }

.guarantee {
  display: flex; gap: 20px; align-items: flex-start; margin-top: 30px;
  padding: 26px 28px; border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--brand-50), var(--accent-50));
  border: 1px solid #e6d5f0;
}
.g-badge {
  display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px;
  border-radius: 14px; background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm);
}
.guarantee h3 { font-size: 1.12rem; }
.guarantee p { margin-top: 8px; color: var(--ink-2); font-size: 14.6px; max-width: 78ch; }
.plan-foot { margin-top: 22px; text-align: center; color: var(--ink-3); font-size: 14.4px; }

/* ─────────────────────────────── how it fits together */
.flow {
  display: grid; align-items: center; gap: 18px; margin-top: 8px;
  grid-template-columns: auto auto auto auto 1fr;
}
.flow-in, .flow-core { padding: 16px 20px; border-radius: var(--r-lg); text-align: center; }
.flow-in { border: 1.5px dashed var(--border-strong, #cfd6df); background: var(--surface); }
.flow-core { background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.flow-in b, .flow-core b { display: block; font-size: 15px; font-weight: 600; }
.flow-in span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }
.flow-core span { display: block; margin-top: 4px; font-size: 12.5px; color: #aebbd2; }
.flow-arrow { color: var(--ink-3); flex: 0 0 auto; }
.flow-out { display: grid; gap: 9px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flow-out li {
  padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 500;
  background: var(--accent-50); color: #7a3500; border: 1px solid #ffd3a8;
}

.donut-block {
  display: grid; align-items: center; gap: clamp(26px, 4vw, 54px);
  grid-template-columns: minmax(0, 260px) 1fr;
  margin-top: clamp(34px, 4vw, 56px); padding-top: clamp(30px, 4vw, 48px);
  border-top: 1px solid var(--line-soft);
}
.donut { width: 100%; height: auto; }
.donut-hole { fill: var(--surface); }
.donut .donut-seg { fill: none; stroke-width: 5.2; transform: rotate(-90deg); transform-origin: 50% 50%; }
.donut-n { font-size: 8px; font-weight: 600; fill: var(--ink); letter-spacing: -.04em; }
.donut-l { font-size: 2.3px; font-weight: 600; fill: var(--ink-3); letter-spacing: .18em; }

.donut-key { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.donut-key li { display: grid; grid-template-columns: 12px auto auto; column-gap: 9px; align-items: baseline; }
.donut-key i { width: 12px; height: 12px; border-radius: 3px; grid-row: 1; align-self: center; }
.donut-key b { font-size: 14.6px; font-weight: 600; }
.donut-key em { font-style: normal; font-weight: 600; color: var(--ink-3); font-size: 13px; }
.donut-key span {
  grid-column: 2 / -1; margin-top: 3px; font-size: 13px; color: var(--ink-2); line-height: 1.5;
}

@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; justify-items: stretch; }
  .flow-arrow { justify-self: center; transform: rotate(90deg); }
  .donut-block { grid-template-columns: 1fr; }
  .donut { max-width: 230px; margin: 0 auto; }
}

/* ─────────────────────────────── android app */
/* A sheet of eight screens rather than one phone, so it needs the width of the
   column and none of the phone-shaped chrome — the shadow and rounding belonged to
   a single device shot. */
/* `width` is stated, not left to the image. As a grid item with `margin:0 auto` the
   figure shrinks to its contents, and a lazily-loaded image has no size until it
   loads — so the figure collapsed to zero, and a zero-size box never enters the
   viewport, so the image would never have loaded at all. */
.mobile-shot { width: 100%; max-width: 620px; margin: 0 auto; }
.mobile-shot img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1 / 1;                 /* holds the space before it arrives */
  border-radius: var(--r-lg);
}

/* ─────────────────────────────── ai */
.ai-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }
.ai-card {
  padding: 26px 24px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .11);
  transition: transform .25s cubic-bezier(.22,.61,.36,1), background .25s ease, border-color .25s ease;
}
.ai-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); border-color: rgba(255, 120, 1, .45); }
.ai-ico {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px;
  border-radius: 13px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 10px 24px -10px rgba(255, 120, 1, .7);
}
.ai-card h3 { font-size: 1.06rem; }
.ai-card p { margin-top: 9px; color: #a9b6cd; font-size: 14.2px; line-height: 1.6; }
.ai-card em { color: #cfe8ee; font-style: italic; }
.ai-note {
  display: flex; gap: 13px; align-items: flex-start; margin-top: 26px;
  padding: 17px 20px; border-radius: var(--r);
  background: rgba(255, 120, 1, .09); border: 1px solid rgba(255, 120, 1, .3);
  font-size: 14.2px; color: #bccbe2;
}
.ai-note svg { flex: 0 0 auto; margin-top: 2px; color: var(--accent); }
.ai-note b { color: #fff; }

/* ─────────────────────────────── demo form */
.demo-grid { display: grid; gap: clamp(30px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.f-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  font: 400 15px/1.5 var(--font); color: var(--ink);
  padding: 12px 14px; min-height: 46px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18, 58, 122, .14); outline: none;
}
.field .help { font-size: 12.5px; color: var(--ink-3); }
.field .err { font-size: 12.5px; color: var(--danger); display: none; }
.field.bad input, .field.bad select { border-color: var(--danger); }
.field.bad .err { display: block; }
.form .btn { width: 100%; margin-top: 4px; }
.form-note { margin-top: 14px; font-size: 12.8px; color: var(--ink-3); text-align: center; }
.result { margin-top: 18px; padding: 15px 18px; border-radius: var(--r); font-size: 14.5px; display: none; }
.result.show { display: block; }
.result.ok { background: var(--ok-bg); color: var(--ok); }
.result.bad { background: var(--danger-bg); color: var(--danger); }

.contact-card { display: grid; gap: 18px; }
.contact-card .row { display: flex; gap: 13px; align-items: flex-start; }
.contact-card .row svg { flex: 0 0 auto; margin-top: 2px; color: var(--accent); }
.contact-card .row b { display: block; font-size: 14.5px; color: #fff; }
.contact-card .row span { font-size: 13.8px; color: #a9b6cd; }
.contact-card .row a { color: #ffb257; }

/* ─────────────────────────────── faq */
.faq { display: grid; gap: 10px; max-width: 840px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.faq summary {
  display: flex; align-items: center; gap: 14px; padding: 17px 20px;
  cursor: pointer; font-weight: 500; font-size: 15.4px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg-soft); }
.faq summary .q { flex: 1; }
.faq summary svg { color: var(--ink-3); transition: transform .2s ease; flex: 0 0 auto; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .a { padding: 0 20px 18px 54px; color: var(--ink-2); font-size: 14.6px; }

/* ─────────────────────────────── cta band + footer */
.band { text-align: center; }
.band h2 { max-width: 20ch; margin: 0 auto; }
.band p { max-width: 56ch; margin: 16px auto 0; color: #a9b6cd; }
.band .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

footer { background: var(--navy-900); color: #93a2bd; padding: 52px 0 34px; font-size: 14px; }
/* Scoped. Unscoped, this sat after the form's own `.f-grid` and won everywhere — so both
   the demo form and the signup form were being laid out in the FOOTER's three columns
   with a 30px gap, which is why their fields never lined up. */
footer .f-grid { display: grid; gap: 30px; grid-template-columns: 1.6fr 1fr 1fr; }
footer .f-head { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 14px; }
footer a { color: #93a2bd; }
footer a:hover { color: #fff; }
footer .f-links { display: grid; gap: 9px; }
.f-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.f-brand img { height: 36px; }
/* The logo is navy with an orange 360; on the navy footer the navy half would
   disappear, and a reversed copy loses the cap tucked inside the "a". A white chip
   keeps every part of the mark exactly as drawn. */
.f-brand .f-logo {
  height: 54px; width: auto; display: block;
  background: #fff; padding: 14px 20px; border-radius: 12px;
}
.f-brand b { color: #fff; text-transform: none; font-size: 16px; display: block; }
.f-brand span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.f-bottom {
  margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: 13px;
}

/* ─────────────────────────────── motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* cards arrive one after another rather than all at once */
.stagger { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1); }
.stagger.in { opacity: 1; transform: none; }

/* the hero panel breathes, very slightly */
.float { animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}


/* the module cards lift a little under the cursor */
.mod { transition: background .2s ease; }
.mod:hover { background: var(--bg-soft); }
.fact strong { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .stagger { opacity: 1; transform: none; }
  .float { animation: none; }
  .plan:hover, .ai-card:hover { transform: none; }
}

/* ─────────────────────────────── responsive */
@media (min-width: 720px) {
  .split, .video-grid, .demo-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr); }
  .split.wide { grid-template-columns: 1fr 1.25fr; }
  .split.wide.flip { grid-template-columns: 1.25fr 1fr; }
  .split.flip .copy { order: 2; }
}

@media (min-width: 861px) {
  .nav-links a[href="#demo"] { display: none; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 14px 20px 22px; background: var(--surface);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-140%); transition: transform .26s cubic-bezier(.22,.61,.36,1);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 14px; border-radius: var(--r-sm); font-size: 16px; }
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto;
    background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
  }
  .nav-cta .btn { display: none; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-tiles { grid-template-columns: repeat(2, 1fr); }
  .app-cols { grid-template-columns: 1fr; }
  .cp-tiles { grid-template-columns: repeat(2, 1fr); }
  .guarantee { flex-direction: column; gap: 14px; }
  .seg-btn { padding: 11px 18px; font-size: 14px; }
  .cp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cp-table { min-width: 560px; }
  /* Both form grids and the footer grid collapse to one column here, which is right
     for all three. */
  .f-grid { grid-template-columns: 1fr; }
  .f-grid.demo-f { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .f-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}


/* ─────────────────────────────────────────────────────── long-form pages
   The city pages and the buyer's guide. These rules used to be a <style> block
   repeated inside every generated page: three copies of the same thing, which stay
   identical exactly until somebody edits one of them. */
.lp { max-width: 78ch; margin: 0 auto; padding: clamp(30px,4vw,54px) 0 clamp(44px,6vw,80px); }
.lp h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); letter-spacing: -.03em; line-height: 1.12; }
.lp .lede { margin-top: 14px; font-size: 1.07rem; line-height: 1.68; color: var(--ink-2); }
.lp h2 { margin: 44px 0 10px; font-size: 1.3rem; letter-spacing: -.01em; }
.lp h3 { margin: 28px 0 8px; font-size: 1.05rem; }
.lp p, .lp li { color: var(--ink-2); line-height: 1.75; }
.lp p { margin-top: 12px; }
.lp ul, .lp ol { margin: 12px 0 0 20px; display: grid; gap: 7px; }
.lp strong { color: var(--ink); font-weight: 600; }

/* The answer paragraph directly under a question heading. Search engines lift this
   whole block for a featured snippet, so it is kept short, complete on its own, and
   never starts with "it depends". */
.lp .answer { margin-top: 10px; padding: 14px 18px; border-left: 3px solid var(--brand);
  background: var(--brand-50); border-radius: 0 var(--r) var(--r) 0; color: var(--ink); }

.lp-mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 12px; margin-top: 18px; }
.lp-mod { padding: 15px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.lp-mod strong { display: block; margin-bottom: 3px; }
.lp-mod span { font-size: .93rem; color: var(--ink-3); line-height: 1.55; }
.lp-cta { margin-top: 30px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--brand-50); border: 1px solid #cddcf3; }
.lp-cta p { margin-top: 6px; }
.lp-nav { padding: 16px 0; border-bottom: 1px solid var(--line); }
.lp-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.lp-nav img { height: 36px; width: auto; display: block; }
.lp .faq { margin-top: 16px; }
.lp-also { margin-top: 34px; font-size: .95rem; color: var(--ink-3); }

.lp-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .95rem; }
.lp-table th, .lp-table td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.lp-table th { background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.lp-table td { color: var(--ink-2); line-height: 1.6; }
.lp-steps { counter-reset: step; list-style: none; margin-left: 0; }
.lp-steps li { position: relative; padding-left: 40px; }
.lp-steps li::before { counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 1px; width: 27px; height: 27px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: .82rem; font-weight: 600;
  display: grid; place-items: center; }


/* ─────────────────────────────────────────── three plans, not two */
/* The grid was built for two cards and capped at 880px to keep them from sprawling.
   Three need the room back — and two-up on a tablet, which is where auto-fit would
   otherwise leave one card alone on its own row. */
.plans[hidden] { display: none; }
@media (min-width: 720px) {
  .plans { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
}
@media (min-width: 1020px) {
  .plans { grid-template-columns: repeat(3, 1fr); max-width: 1180px; gap: 18px; }
  .plan { padding: 30px 24px; }
}

.plans-who {
  grid-column: 1 / -1; margin: 0 0 4px; text-align: center;
  color: var(--ink-3); font-size: 14.5px;
}
.plans-note {
  max-width: 62ch; margin: 26px auto 0; text-align: center;
  color: var(--ink-3); font-size: 14.5px; line-height: 1.7;
}

/* The middle plan is the one most people should buy, so it is the one that looks
   chosen. A badge and a border, not a different colour — the cards still have to
   read as one set. */
.plan.featured { border-color: var(--brand); box-shadow: var(--shadow-brand); position: relative; }
.plan-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 600;
  letter-spacing: .02em; padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}

/* The module list. Small, quiet, and present — a buyer comparing two quotations
   wants the names, and an adjective will not do. */
.plan-mods {
  margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line-soft);
  font-size: 13px; line-height: 1.6; color: var(--ink-3);
}
.plan .cap-t:empty { display: none; }

@media (max-width: 560px) {
  /* Three tabs will not fit on one line of a 375px screen as pills with 26px of padding,
     and wrapping them left the sliding indicator behind the wrong one. So on a phone this
     stops being a sliding segmented control and becomes three equal buttons that paint
     their own selected state — the indicator is switched off, and .seg-btn.on gets the
     background it used to borrow from it. Without that it was white text on a white pill:
     the selected plan was invisible on every phone. */
  .seg {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
    width: 100%; left: 0; transform: none; padding: 4px;
  }
  .seg-ind { display: none; }
  .seg-btn { padding: 11px 6px; font-size: 13px; border-radius: 999px; }
  .seg-btn.on { background: var(--brand); color: #fff; }
}

/* ═══════════════════════════════════════════════════ self-serve signup (start.html)
   Its own page, deliberately. The landing page is written to persuade; this one is
   written to be finished. Nothing on it links anywhere except forward, back, or a
   phone number for when something breaks. */

.su-page { background: var(--bg-soft); }
.su-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(16px, 5vw, 48px);
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.su-logo img { display: block; height: 30px; width: auto; }
.su-help { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
/* On a narrow phone "Stuck? Call +91 88688 64441" wrapped onto two lines and pushed
   into the logo. The number is the part that matters; the invitation is not. */
@media (max-width: 460px) {
  .su-top { padding: 14px 16px; }
  .su-help { font-size: 13px; }
  .su-help span { display: none; }
}

/* Three columns: where you are, what to do, and why it matters. The middle one is the
   only one that is ever essential, so it is the only one that survives a narrow screen. */
.su-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 320px;
  gap: clamp(24px, 4vw, 56px);
  max-width: 1240px; margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 40px) 72px;
  align-items: start;
}
.su-side { position: sticky; top: 32px; }

/* the rail: a vertical line with the steps threaded onto it */
.su-rail { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.su-rail li {
  position: relative; display: flex; align-items: center; gap: 13px;
  padding: 0 0 38px; min-height: 22px;
  font-size: 15px; font-weight: 500; color: var(--ink-3);
}
.su-rail li:last-child { padding-bottom: 0; }
/* the connector, drawn from each marker down to the next */
.su-rail li:not(:last-child)::before {
  content: ''; position: absolute; left: 10px; top: 24px; bottom: 14px;
  width: 2px; background: var(--line); border-radius: 2px;
}
.su-rail li.done::before { background: var(--ok); }
.su-rail li span {
  position: relative; z-index: 1; flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  background: var(--surface); border: 2px solid var(--line); color: var(--ink-3);
}
.su-rail li.now { color: var(--ink); font-weight: 600; }
.su-rail li.now span { background: var(--brand); border-color: var(--brand); color: #fff; }
.su-rail li.done span { background: var(--ok); border-color: var(--ok); font-size: 0; }
.su-rail li.done span::after { content: '\2713'; font-size: 12px; color: #fff; }

.su-main { position: relative; min-width: 0; }

/* The ghost numeral. Decoration, and labelled as such — it repeats the rail, which is
   already in the accessibility tree and already says it better. */
.su-bignum {
  position: absolute; left: -74px; top: -62px; z-index: 0;
  font-size: 132px; font-weight: 700; line-height: 1;
  color: var(--brand); opacity: .06; letter-spacing: -.06em;
  user-select: none; pointer-events: none;
}
@media (max-width: 1080px) { .su-bignum { display: none; } }

.su-step { position: relative; z-index: 1; }

/* the panel beside the form */
.su-aside { position: sticky; top: 32px; }
.su-aside-card {
  padding: 22px 22px 24px; border-radius: var(--r-lg, 16px);
  background: linear-gradient(170deg, #e9f6f6, #eef1fb);
  border: 1px solid #dde6f0;
}
.su-aside-card b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.su-aside-card p { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; }
.su-aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.su-aside-card li {
  position: relative; padding-left: 22px; font-size: 13px; color: var(--ink-2); line-height: 1.5;
}
.su-aside-card li::before {
  content: ''; position: absolute; left: 2px; top: 5px;
  width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}

/* Below 1080px the context panel goes; below 860px so does the rail, replaced by a line
   of text, because a sticky column and a 150px numeral are not what a phone needs. */
@media (max-width: 1080px) {
  .su-shell { grid-template-columns: 200px minmax(0, 1fr); }
  .su-aside { display: none; }
}
@media (max-width: 860px) {
  .su-shell { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 28px; }
  .su-side { position: static; margin-bottom: 26px; }
  .su-rail { grid-auto-flow: column; justify-content: start; gap: 8px; }
  .su-rail li { padding: 0; font-size: 12.5px; }
  .su-rail li:not(:last-child)::before { display: none; }
  .su-rail li:not(.now) { font-size: 0; }
  .su-rail li:not(.now) span { font-size: 11px; }
  .su-rail li.done:not(.now) span { font-size: 0; }
}

.su-step h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); line-height: 1.18; margin: 0; }
.su-lede { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; max-width: 58ch; }
.su-q { font-size: 14px; margin: 30px 0 12px; color: var(--ink); }
.su-fine { margin-top: 18px; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.su-fine svg { vertical-align: -2px; color: var(--ok); }

.su-cards { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.su-cards.tiers { grid-template-columns: repeat(3, 1fr); }
.su-cards.bill { grid-template-columns: repeat(2, 1fr); margin-bottom: 4px; }
@media (max-width: 720px) { .su-cards, .su-cards.tiers { grid-template-columns: 1fr; } }
.su-card {
  position: relative; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px;
  padding: 15px 16px; border-radius: var(--r);
  background: var(--surface); border: 1.5px solid var(--line);
  font: inherit; color: var(--ink-2);
  transition: border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.su-card:hover { border-color: var(--ink-3); }
.su-card.on { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(18, 58, 122, .12); }
.su-card b { font-size: 15px; color: var(--ink); }
.su-card span { font-size: 12.8px; line-height: 1.5; }
.su-card .su-tag { color: var(--brand-600); font-weight: 600; }
.su-card.quote { background: var(--bg-soft); }
.su-card .su-quote { margin-top: 4px; color: var(--accent-ink, #c25400); font-weight: 600; }
.su-badge {
  position: absolute; top: -9px; right: 12px; font-style: normal;
  font-size: 10.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; background: var(--brand); color: #fff;
}

.su-form { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.su-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.su-alt { background: none; border: 0; font: inherit; cursor: pointer; color: var(--ink-2); text-decoration: underline; padding: 0; }
.su-alt:hover { color: var(--ink); }
.err.on { display: block; }

.su-code-field { max-width: 260px; }
.su-code {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 28px !important; letter-spacing: .34em; text-align: center; padding: 14px 8px !important;
}

/* building */
.su-dots { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: 6px; }
.su-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: su-bounce 1.2s infinite; }
.su-dots i:nth-child(2) { animation-delay: .15s; }
.su-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes su-bounce { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .su-dots i { animation: none; opacity: .6; } }

.su-build { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.su-build li {
  display: flex; align-items: center; gap: 11px;
  font-size: 14.5px; color: var(--ink-3);
  transition: color .3s ease;
}
.su-build li::before {
  content: ''; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line); transition: all .3s ease;
}
.su-build li.on { color: var(--ink); }
.su-build li.on::before {
  border-color: var(--ok); background: var(--ok);
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 7px var(--ok);
}

.su-url {
  display: inline-block; margin: 22px 0 6px; padding: 14px 20px;
  border-radius: var(--r); background: var(--navy); color: #fff;
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 17px;
}
.su-url:hover { background: var(--navy-700); text-decoration: none; }
.su-trial {
  margin-top: 22px; padding: 14px 16px; border-radius: var(--r);
  background: var(--warn-bg); color: var(--warn); font-size: 14px; line-height: 1.6;
}

/* The site-wide `footer` rule paints a navy block; this page's footer is one quiet
   line under a form and must not look like the end of a marketing page. */
footer.su-foot {
  background: none; color: var(--ink-3); padding: 0 16px 48px;
}
.su-foot a { color: var(--ink-2); }
.su-foot a:hover { color: var(--ink); }
.su-foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 760px; margin: 0 auto; padding: 0 16px 48px;
  font-size: 13px; color: var(--ink-3);
}

/* "or ask for a quote" under a plan's main button — the way out for anyone who would
   rather talk to a person before typing their school's name into a form. */
.plan-alt {
  display: block; text-align: center; margin-top: 10px;
  font-size: 13px; color: var(--ink-3);
}
.plan-alt:hover { color: var(--ink-2); }


/* ─────────────────────────────── module rows on a phone
   Four things in one row need about 560px. Below that the count moves out of the row
   entirely — "42 screens" is a credibility detail for someone comparing quotations on a
   laptop, not something worth squeezing a heading to four lines for on a phone. */
@media (max-width: 560px) {
  .mod-group > summary { gap: 11px; padding: 14px 15px; }
  .g-ico { width: 36px; height: 36px; flex-basis: 36px; border-radius: 9px; }
  .g-ico svg { width: 18px; height: 18px; }
  .g-txt b { font-size: 15px; }
  .g-txt span { font-size: 12.5px; }
  .g-count { display: none; }
  .mod { padding: 15px 16px; }
}

/* ─────────────────────────────── three-up facts
   What used to be a paragraph and three two-line bullets. The job of these is to be
   understood without being read: an icon, a label you can take in at a glance, and one
   short line underneath for anyone who wants it. */
.facts3 {
  display: grid; gap: 14px; margin-top: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.facts3 li {
  display: grid; gap: 7px; align-content: start;
  padding: 17px 17px 18px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
}
.facts3 svg { color: var(--brand); }
.facts3 b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.facts3 span { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.facts-foot { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }

/* On the dark sections the same component has to invert, or it is three white cards
   punched out of a navy band. */
.dark .facts3 li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.dark .facts3 b { color: #fff; }
.dark .facts3 span { color: #a9b6cd; }
.dark .facts3 svg { color: var(--accent); }
.soft .facts3 li { background: var(--surface); }

@media (max-width: 760px) {
  /* Two columns, not one: three stacked cards is three screens of scrolling for nine
     words, and the whole point of these was to be seen at once. */
  .facts3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .facts3 li { padding: 14px 14px 15px; }
  .facts3 li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .facts3 b { font-size: 14px; }
  .facts3 span { font-size: 12.5px; }
}


/* ─────────────────────────────── footer on a phone
   The brand blurb stays full width; the three link lists do not need a column each when
   they are five short words apiece. Two across halves the footer, which was costing a
   screen and a quarter of scrolling to say almost nothing. */
@media (max-width: 760px) {
  footer .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  footer .f-grid > :first-child { grid-column: 1 / -1; }
  footer .f-links { gap: 11px; }
}


/* The three seconds between "your panel is ready" and actually being in it. */
.su-signin {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 18px; padding: 13px 16px; border-radius: var(--r);
  background: var(--brand-50); color: var(--brand-600); font-size: 14.5px; font-weight: 500;
}
.su-signin a { text-decoration: underline; }

/* ─────────────────────────────── the plan comparison table
   Folded away by default. The three cards above are what sells; this is what answers a
   buyer comparing two quotations, and they will open it. Twenty-three rows in front of
   everybody else would undo the point of shortening the page. */
.plan-matrix {
  /* It is a child of the .plans grid, so without these it would sit in one column and,
     because a grid item's min-width defaults to auto, the 420px table would push that
     column — and the whole page — wider than the screen. */
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
}
.plan-matrix > summary {
  cursor: pointer; list-style: none; padding: 15px 18px;
  font-size: 14.5px; font-weight: 600; color: var(--brand-600);
  display: flex; align-items: center; gap: 9px;
}
.plan-matrix > summary::-webkit-details-marker { display: none; }
.plan-matrix > summary::after {
  content: ''; width: 8px; height: 8px; margin-left: auto;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .18s ease;
}
.plan-matrix[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.plan-matrix > summary:hover { background: var(--bg-soft); }
.plan-matrix[open] > summary { border-bottom: 1px solid var(--line); }

/* A phone cannot show four columns of this at a readable size, so it scrolls sideways
   rather than being crushed into something nobody can parse. */
.matrix-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.plan-matrix table { width: 100%; border-collapse: collapse; min-width: 420px; }
.plan-matrix caption { text-align: left; }
.plan-matrix th, .plan-matrix td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.plan-matrix thead th {
  position: sticky; top: 0; background: var(--surface);
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3);
  text-align: center;
}
.plan-matrix thead th:first-child { text-align: left; }
.plan-matrix tbody th { text-align: left; font-weight: 500; font-size: 13.8px; color: var(--ink); }
.plan-matrix td { text-align: center; }
.plan-matrix td.yes { color: var(--ok); }
.plan-matrix td.yes svg { vertical-align: -2px; }
.plan-matrix td.no { color: var(--ink-3); font-size: 15px; }
.plan-matrix tfoot th, .plan-matrix tfoot td {
  border-bottom: 0; border-top: 2px solid var(--line);
  font-weight: 700; font-size: 13px; color: var(--ink);
}
.plan-matrix tfoot td { text-align: center; }
.matrix-note { margin: 0; padding: 14px 18px 16px; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }

/* ─────────────────────────────── the signup flow, embedded in the home page
   Same markup as start.html, so it cannot drift — but here it is one section of a long
   page rather than the whole of a short one, and it has to read that way. */
.su-embed { background: var(--bg-soft); }
.su-shell.embedded {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 18px);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 44px);
  gap: clamp(22px, 3.5vw, 44px);
}
/* Inside a card there is nothing to stick to, and a sticky rail would float oddly as the
   rest of the page scrolls past behind it. */
.su-shell.embedded .su-side,
.su-shell.embedded .su-aside { position: static; }

/* Inside a card there is far less width to give away than on a page of its own. A
   230px rail plus a 320px aside left the form itself 404px — three category cards at
   120px each, which is not a choice anybody can read. So the rail lies flat across the
   top here and the width goes to the two things that need it. */
.su-shell.embedded {
  grid-template-columns: minmax(0, 1.55fr) 300px;
  grid-template-areas: "rail rail" "main aside";
  row-gap: 26px;
}
/* start.html hides its aside below 1080px — there it is a per-step blurb and losing it
   costs nothing. Embedded it is the only route to a human, so it is never hidden; it
   just moves under the form on a narrow screen. */
.su-shell.embedded .su-aside { display: block; }
.su-shell.embedded .su-side { grid-area: rail; }
.su-shell.embedded .su-main { grid-area: main; }
.su-shell.embedded .su-aside { grid-area: aside; }
.su-shell.embedded .su-rail {
  grid-auto-flow: column; justify-content: start; gap: 30px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line-soft);
}
.su-shell.embedded .su-rail li { padding: 0; }
/* No connector when the rail is horizontal: a line long enough to join two steps runs
   straight through the label of the first one. The numbers already read as a sequence. */
.su-shell.embedded .su-rail li::before { display: none; }
.su-shell.embedded .su-bignum { display: none; }
.su-shell.embedded .su-form {
  border: 0; padding: 0; background: none;
}
/* The step title and the questions inside it are both h3 here — the home page already
   owns the h1, so the flow drops a level to keep the document outline honest. Only the
   title gets the display size; :not(.su-q) is what keeps "What kind of institution is
   it?" from being set at 1.8rem alongside it. */
.su-shell.embedded .su-step > h3:not(.su-q) {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); line-height: 1.2; margin: 0;
}
.su-shell.embedded .su-step > h3.su-q { font-size: 14px; }
.su-contact { display: grid; gap: 4px; margin: 0 0 14px; font-size: 14px; line-height: 1.7; }
.su-contact a { font-weight: 600; color: var(--brand-600); }

@media (max-width: 860px) {
  /* The contact card is not optional here the way the step blurb was — it is the only
     route for somebody who wants a person. Below the form rather than gone. */
  .su-shell.embedded {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "rail" "main" "aside";
  }
  .su-shell.embedded .su-aside { display: block; }
  .su-shell.embedded .su-rail { gap: 10px; }
}
@media (max-width: 860px) {
  .su-shell.embedded { padding: 20px 16px 24px; }
}

/* ─────────────────────────────── getting started: order summary, then what happens next */
.su-order {
  max-width: 560px; margin-top: 22px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
}
.su-order-row {
  display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft); font-size: 15px;
}
.su-order-row span { color: var(--ink-3); }
.su-order-row b { color: var(--ink); font-weight: 600; text-align: right; }
.su-order-row.total { background: var(--brand-50); border-bottom: 0; }
.su-order-row.total b { font-size: 1.3rem; color: var(--brand-600); }
.su-order-row small { margin-left: 4px; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.su-next { max-width: 62ch; margin: 12px 0 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.su-next b { color: var(--ink); }
.su-step [hidden] { display: none !important; }
