/* OffGridWealth — offgridwealth.in
   One family (Archivo, variable width) does all the work: wide and heavy for headlines,
   normal width for reading. Colours come straight from the app icon. */

:root {
  --night: #0F2238;      /* icon background — hero, film, bands, footer */
  --night-2: #183251;    /* raised surfaces on night */
  --night-3: #27446A;    /* rules and outlines on night */
  --ink: #0F2238;        /* text on light */
  --ink-2: #4B5F78;      /* secondary text on light */
  --paper: #FFFFFF;
  --mist: #F2F5F9;       /* alternate light ground */
  --rule: #D8E0EA;
  --teal: #7FA6CF;       /* the icon's mid-blue bar — secondary accent on night */
  --teal-ink: #2C5A8A;   /* blue that reads on white */
  --ember: #F3C969;      /* the icon's gold — the call to act */
  --ember-ink: #9A6B0C;  /* gold that reads on white */
  --steel: #BFD6EC;      /* the pale bar */
  --steel-2: #D7E5F3;
  --on-night: #EAF1F9;
  --on-night-2: #A9BBD1;
  --good: #1E9E62;
  --bad: #D24B3A;

  --f: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", sans-serif;
  --wide: 116;           /* font-stretch for display type */

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --measure: 66ch;
  --page: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --r-sm: 6px; --r: 12px; --r-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f); font-size: 17px; line-height: 1.6; font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #D9A441; outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 var(--s4); }
ul { margin: 0; padding: 0; }
.num, .tab { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ember); color: var(--night); padding: 8px 14px; z-index: 99; border-radius: 6px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1, h2, h3, .display {
  font-family: var(--f); font-stretch: 116%; font-variation-settings: "wdth" var(--wide);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; margin: 0 0 var(--s4); text-wrap: balance;
}
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; }
h3 { font-size: clamp(20px, 2vw, 25px); line-height: 1.2; font-weight: 750; letter-spacing: -0.01em; }
h4 { font-size: 17px; margin: 0 0 var(--s2); font-weight: 700; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.night .lead { color: var(--on-night-2); }
.small { font-size: 14px; color: var(--ink-2); }
.night .small { color: var(--on-night-2); }
.kicker { font-weight: 650; color: var(--teal-ink); margin: 0 0 var(--s3); font-size: 16px; }
.night .kicker { color: var(--teal); }

/* ---------- layout ---------- */
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gut); }
.band { padding: clamp(56px, 9vw, 120px) 0; }
.band.tight { padding: clamp(40px, 6vw, 72px) 0; }
.mist { background: var(--mist); }
.night { background: var(--night); color: var(--on-night); }
.night a:not(.btn) { color: var(--teal); }
.head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.wide-l { grid-template-columns: 1.15fr 1fr; }
.split.wide-r { grid-template-columns: 1fr 1.25fr; }
@media (max-width: 880px) { .split, .split.wide-l, .split.wide-r { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-go { background: linear-gradient(180deg, #F6D27C, #E4B24B); color: #1B1206; box-shadow: 0 6px 18px -8px rgba(217,164,65,.8); }
.btn-go:hover { background: linear-gradient(180deg, #FBDC8E, #EBBB55); }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.night .btn-line { color: var(--on-night); }
.btn-teal { background: var(--teal-ink); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.trial-note { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--s4); font-size: 15px; color: var(--ink-2); max-width: 52ch; }
.night .trial-note { color: var(--on-night-2); }
.trial-note b { color: var(--ink); }
.night .trial-note b { color: var(--on-night); }
.trial-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--teal-ink); }
.night .trial-note svg { color: var(--teal); }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(18, 35, 58, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); color: var(--on-night); border-bottom: 1px solid rgba(255,255,255,.07); }
.top .wrap { display: flex; align-items: center; gap: var(--s5); height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; font-variation-settings: "wdth" 108; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand .wm span { color: var(--ember); }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { color: var(--on-night-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 550; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.top .btn { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 1020px) { .nav, .top .btn-go { display: none; } .menu-btn { display: grid; place-items: center; } }
.drawer { position: fixed; inset: 68px 0 0 0; background: var(--night); z-index: 49; padding: var(--s5) var(--gut) var(--s7); overflow-y: auto; display: none; }
.drawer.open { display: block; }
.drawer a { display: block; color: var(--on-night); text-decoration: none; font-size: 20px; font-weight: 650; padding: 12px 0; border-bottom: 1px solid var(--night-3); }
.drawer a small { display: block; font-size: 14px; font-weight: 400; color: var(--on-night-2); }
.drawer .btn { margin-top: var(--s5); width: 100%; justify-content: center; border: 0; }

/* ---------- hero ---------- */
.hero { background: var(--night); color: var(--on-night); padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before { /* the grid the app sits off */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(191,214,236,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(191,214,236,.07) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(100deg, #000 0%, rgba(0,0,0,.6) 40%, transparent 75%); -webkit-mask-image: linear-gradient(100deg, #000 0%, rgba(0,0,0,.6) 40%, transparent 75%);
}
.hero .wrap { position: relative; }
.hero .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(38px, 4.4vw, 62px); }
.hero h1 .cut { display: block; color: var(--steel); }
.hero .lead { color: var(--on-night-2); }
.hero .btns { margin-top: var(--s6); }
@media (max-width: 960px) { .hero .hero-grid { grid-template-columns: 1fr; } }

/* ---------- concept film ---------- */
.film { position: relative; background: #0E1C30; border-radius: var(--r-lg); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; }
.film-stage { position: relative; aspect-ratio: 16 / 10.4; }
.film svg.f { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 20px 16px; background: linear-gradient(transparent, rgba(10,20,36,.92) 40%); color: #fff; font-size: clamp(14px, 1.6vw, 18px); line-height: 1.4; font-weight: 550; min-height: 3.4em; }
.film .cap b { color: var(--ember); font-weight: 750; }
.film-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #0B1729; border-top: 1px solid rgba(255,255,255,.06); }
.film-bar button { background: none; border: 0; color: var(--on-night); cursor: pointer; border-radius: 8px; }
.film-play { width: 36px; height: 36px; display: grid; place-items: center; flex: none; }
.film-play svg { width: 20px; height: 20px; }
.film-steps { display: flex; gap: 6px; flex: 1; }
.film-steps button { flex: 1; height: 28px; padding: 0; position: relative; }
.film-steps button::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: var(--night-3); }
.film-steps button i { position: absolute; left: 0; top: 12px; height: 4px; border-radius: 2px; background: var(--ember); width: 0; }
.film-steps button.done i { width: 100%; }
.film-steps button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.film-time { font-size: 13px; color: var(--on-night-2); min-width: 3.2em; text-align: right; font-variant-numeric: tabular-nums; }

/* film internals: every scene element is positioned by transform/opacity only */
.f .sc { opacity: 0; transition: opacity .6s ease; }
.f .sc.on { opacity: 1; }
.f .chip { transition: transform 1.1s cubic-bezier(.6,.05,.2,1), opacity .6s ease; }
.f .draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.6s ease; }
.f .on .draw, .f .draw.on { stroke-dashoffset: 0; }
.f .pop { transform-box: fill-box; transform-origin: center; transform: scale(.6); opacity: 0; transition: transform .5s cubic-bezier(.3,1.5,.5,1), opacity .4s ease; }
.f .on .pop, .f .pop.on { transform: scale(1); opacity: 1; }
.f .ring { transition: stroke-dashoffset 1.8s cubic-bezier(.3,.8,.3,1); }
.f .grow { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform 1s cubic-bezier(.3,.8,.3,1); }
.f .on .grow { transform: scaleY(1); }
.f .fade { opacity: 0; transition: opacity .6s ease; }
.f .fade.on, .f .on > .fade.auto { opacity: 1; }
.f .drift { animation: drift 6s ease-in-out infinite alternate; transform-box: fill-box; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(0, -6px); } }
.f .pulse { animation: pulse 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { opacity: .35; } }
.film.static .sc { opacity: 1; }

/* ---------- strip of facts ---------- */
.facts { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; border-top: 1px solid var(--night-3); margin-top: clamp(40px, 6vw, 72px); }
.facts div { padding: var(--s5) var(--s4) 0 0; }
.facts b { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 800; font-variation-settings: "wdth" 116; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts span { font-size: 14px; color: var(--on-night-2); line-height: 1.4; display: block; margin-top: 6px; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- "scattered" problem graphic ---------- */
.scatter { position: relative; aspect-ratio: 1 / .82; }
.scatter .doc { position: absolute; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.3; box-shadow: 0 10px 30px -18px rgba(18,35,58,.5); width: 31%; }
.scatter .doc b { display: block; font-size: 14px; color: var(--ink); }
.scatter .doc span { color: var(--ink-2); }
.scatter .doc i { display: block; height: 4px; border-radius: 2px; background: var(--steel-2); margin-top: 8px; }
.scatter .doc i + i { width: 60%; margin-top: 5px; }
.scatter .q { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--ember-ink); display: grid; place-items: center; text-align: center; font-weight: 750; color: var(--ember-ink); font-size: clamp(14px, 1.5vw, 17px); line-height: 1.2; padding: 10px; background: var(--mist); }

/* ---------- pain list ---------- */
.pains { display: grid; gap: var(--s5); margin-top: var(--s6); }
.pain { display: grid; grid-template-columns: 44px 1fr; gap: var(--s4); align-items: start; }
.pain svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #FBEFD0; color: var(--ember-ink); }
.pain h3 { font-size: 19px; margin-bottom: 4px; }
.pain p { margin: 0; color: var(--ink-2); }

/* ---------- the two paths ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } }
.path { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.path.them { background: var(--night-2); }
.path.us { background: linear-gradient(160deg, #1A3356, #122844); box-shadow: inset 0 0 0 2px var(--ember); }
.path h3 { color: #fff; }
.path .tag { display: inline-block; font-size: 14px; font-weight: 650; padding: 4px 12px; border-radius: 999px; margin-bottom: var(--s4); }
.path.them .tag { background: rgba(210,75,58,.18); color: #FF9A8B; }
.path.us .tag { background: rgba(243,201,105,.16); color: var(--ember); }
.path ol { margin: var(--s4) 0 0; padding: 0; list-style: none; counter-reset: s; }
.path li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); color: var(--on-night); }
.path li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 750; background: rgba(255,255,255,.08); }
.path.us li::before { background: var(--ember); color: var(--night); }
.path li small { display: block; color: var(--on-night-2); font-size: 14px; }

/* ---------- comparison table ---------- */
.cmp-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--rule); background: #fff; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.cmp thead th { font-size: 15px; font-weight: 700; background: var(--mist); position: sticky; top: 0; }
.cmp thead th.us { background: var(--night); color: #fff; }
.cmp thead th.us img { width: 22px; height: 22px; border-radius: 6px; display: inline-block; vertical-align: -5px; margin-right: 6px; }
.cmp td.us { background: #FBF4E2; font-weight: 600; }
.cmp tbody th { font-weight: 600; width: 22%; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.y, .n, .m { display: inline-flex; align-items: center; gap: 6px; }
.y::before, .n::before, .m::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.y::before { background: var(--good); }
.n::before { background: var(--bad); }
.m::before { background: #D9A21B; }

/* ---------- device frames ---------- */
.laptop { position: relative; }
.laptop .scr { border-radius: 12px 12px 0 0; border: 10px solid #1B2738; border-bottom-width: 14px; background: #1B2738; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(18,35,58,.55); }
.laptop .scr img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.laptop .base { height: 14px; margin: 0 -5%; background: linear-gradient(#C9D2DE, #9AA7B8); border-radius: 0 0 14px 14px; position: relative; }
.laptop .base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; background: #8592A3; border-radius: 0 0 6px 6px; }
.phone { width: min(100%, 290px); border-radius: 38px; padding: 10px; background: #1B2738; box-shadow: 0 30px 60px -28px rgba(18,35,58,.6), inset 0 0 0 2px #2E3E55; }
.phone img { border-radius: 29px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.pair { position: relative; padding-right: 14%; padding-bottom: 6%; }
.pair .phone { position: absolute; right: 0; bottom: 0; width: 27%; border-radius: 22px; padding: 6px; }
.pair .phone img { border-radius: 17px; }
.shot-btn { all: unset; cursor: zoom-in; display: block; }
.shot-btn:focus-visible { outline: 3px solid var(--ember); outline-offset: 4px; border-radius: 12px; }

/* ---------- feature tour (tabs) ---------- */
.tour-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: var(--s5); }
.tour-tabs button { font: inherit; font-size: 15px; font-weight: 650; border: 1px solid var(--rule); background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.tour-tabs button[aria-selected="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.tour-panel { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.tour-panel[hidden] { display: none; }
@media (max-width: 880px) { .tour-panel { grid-template-columns: 1fr; } .tour-panel .pair { order: -1; } }
.ticks { list-style: none; display: grid; gap: 10px; margin: var(--s4) 0 var(--s5); }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.night .ticks li::before { background-color: var(--ember); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2238' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 640px) { .ticks.two { grid-template-columns: 1fr; } }
.more { font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* ---------- privacy diagram ---------- */
.offgrid { width: 100%; height: auto; }
.offgrid .flow { stroke-dasharray: 6 8; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s7); }
@media (max-width: 880px) { .promises { grid-template-columns: 1fr; } }
.promise { border-top: 2px solid var(--ember); padding-top: var(--s4); }
.promise h3 { font-size: 20px; color: #fff; }
.promise p { color: var(--on-night-2); margin: 0; }

/* ---------- audience ---------- */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
@media (max-width: 960px) { .who { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } }
.who article { padding: var(--s5); border-radius: var(--r); background: #fff; border: 1px solid var(--rule); }
.who svg { width: 40px; height: 40px; color: var(--teal-ink); margin-bottom: var(--s3); }
.who h3 { font-size: 19px; margin-bottom: 6px; }
.who p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- steps (a real sequence) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); counter-reset: st; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: st; position: relative; padding-top: 64px; }
.steps li::before { content: counter(st); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--ember); color: #1B1206; display: grid; place-items: center; font-weight: 800; font-size: 22px; }
.steps li::after { content: ""; position: absolute; top: 24px; left: 60px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--steel) 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; }
@media (max-width: 820px) { .steps li::after { display: none; } }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps.vert { grid-template-columns: 1fr; }
.steps.vert li { padding: 4px 0 0 68px; min-height: 56px; }
.steps.vert li::after { display: none; }
.steps p { margin: 0; color: var(--ink-2); }
.night .steps p { color: var(--on-night-2); }
.night .steps h3 { color: #fff; }

/* ---------- trial timeline ---------- */
.trial { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 880px) { .trial { grid-template-columns: 1fr; } }
.days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; margin: var(--s5) 0 var(--s3); }
.days i { height: 40px; border-radius: 6px; background: var(--ember); opacity: .9; }
.days i:nth-child(n+8) { opacity: .7; }
.days-l { display: flex; justify-content: space-between; font-size: 14px; color: var(--on-night-2); }
.after { margin-top: var(--s5); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 560px) { .after { grid-template-columns: 1fr; } }
.after div { border-radius: var(--r); padding: var(--s4); background: var(--night-2); }
.after b { display: block; color: #fff; margin-bottom: 4px; }
.after p { margin: 0; font-size: 15px; color: var(--on-night-2); }

/* ---------- download cards ---------- */
.get { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 760px) { .get { grid-template-columns: 1fr; } }
.get article { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--rule); display: flex; flex-direction: column; }
.night .get article { background: var(--night-2); border-color: var(--night-3); }
.get .os { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s4); }
.get .os svg { width: 40px; height: 40px; color: var(--teal-ink); }
.night .get .os svg { color: var(--teal); }
.get h3 { margin: 0; }
.night .get h3 { color: #fff; }
.get .meta { font-size: 14px; color: var(--ink-2); margin: var(--s4) 0 0; }
.night .get .meta { color: var(--on-night-2); }
.get .btn { margin-top: auto; align-self: flex-start; }
.get ul { margin: var(--s2) 0 var(--s5); }

/* ---------- feature pages ---------- */
.page-hero { background: var(--night); color: var(--on-night); padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(191,214,236,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(191,214,236,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(100deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(100deg, #000, transparent 70%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 64px); }
.crumbs { font-size: 14px; color: var(--on-night-2); margin-bottom: var(--s5); }
.crumbs a { color: var(--on-night-2); }
.subnav { background: #fff; border-bottom: 1px solid var(--rule); position: sticky; top: 68px; z-index: 40; }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 14px 14px; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; border-bottom: 3px solid transparent; }
.subnav a[aria-current="page"] { color: var(--ink); border-bottom-color: #D9A441; }
.subnav a:hover { color: var(--ink); }

.feat { padding: clamp(48px, 7vw, 96px) 0; border-bottom: 1px solid var(--rule); }
.feat:nth-of-type(even) { background: var(--mist); }
.feat .split > .txt { max-width: 560px; }
.feat:nth-of-type(even) .split > .txt { order: 2; }
@media (max-width: 880px) { .feat:nth-of-type(even) .split > .txt { order: 0; } }
.feat .new { display: inline-block; font-size: 13px; font-weight: 700; color: var(--ember-ink); background: #FBEFD0; padding: 3px 10px; border-radius: 999px; margin-left: 8px; vertical-align: 4px; letter-spacing: 0; font-stretch: 100%; font-variation-settings: "wdth" 100; }
.note { border-left: 4px solid var(--ember); background: #FBF4E2; padding: var(--s4) var(--s5); border-radius: 0 var(--r) var(--r) 0; font-size: 15px; color: #5A4312; margin: var(--s5) 0 0; }
.note.calm { border-color: var(--teal-ink); background: #EAF1F9; color: #1E3A5C; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s4) 0; list-style: none; }
.chips li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--rule); }
.mist .chips li, .feat:nth-of-type(even) .chips li { background: #fff; }
.small-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
@media (max-width: 880px) { .small-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .small-grid { grid-template-columns: 1fr; } }
.small-grid > div h3 { font-size: 18px; margin-bottom: 6px; }
.small-grid > div p { margin: 0; color: var(--ink-2); font-size: 16px; }
.pager { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s7) 0; flex-wrap: wrap; }
.pager a { text-decoration: none; font-weight: 700; font-size: 18px; color: var(--ink); }
.pager a small { display: block; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.pager a:last-child { text-align: right; margin-left: auto; }

/* all-features index */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
@media (max-width: 960px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .areas { grid-template-columns: 1fr; } }
.area { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.area:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(18,35,58,.5); text-decoration: none; }
.area img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--rule); }
.area div { padding: var(--s5); }
.area h3 { font-size: 22px; margin-bottom: 6px; }
.area p { margin: 0; color: var(--ink-2); font-size: 16px; }
.area .go { margin-top: var(--s3); color: var(--teal-ink); font-weight: 700; font-size: 15px; }

.index-list { columns: 3 260px; column-gap: var(--s6); }
.index-list section { break-inside: avoid; margin-bottom: var(--s6); }
.index-list h3 { font-size: 19px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.index-list li { list-style: none; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.index-list li b { font-weight: 650; }

/* reports list */
.reports { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
@media (max-width: 960px) { .reports { grid-template-columns: 1fr 1fr; } }
.reports h3 { font-size: 17px; margin-bottom: var(--s2); }
.reports li { list-style: none; font-size: 15px; padding: 5px 0; color: var(--ink-2); }

/* guide chapters */
.toc { columns: 2 320px; column-gap: var(--s7); }
.toc section { break-inside: avoid; margin-bottom: var(--s5); }
.toc h3 { font-size: 18px; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.4em; color: var(--ink-2); font-size: 15px; }
.toc li { padding: 2px 0; }

/* pricing table */
.tiers { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 600px; }
.tiers th, .tiers td { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: left; }
.tiers thead th { background: var(--mist); }
.tiers td:nth-child(n+2), .tiers th:nth-child(n+2) { text-align: center; width: 18%; }
.tiers tbody th { font-weight: 500; }
.tiers .grp th { background: #fff; font-weight: 750; padding-top: 22px; font-size: 16px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--teal-ink); }
.dash { color: var(--rule); font-weight: 700; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 12px; height: 12px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: var(--measure); }
.faq h3 { margin-top: var(--s7); font-size: 22px; }

/* legal text */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin-top: var(--s7); }
.prose h3 { font-size: 20px; margin-top: var(--s5); }
.prose li { margin-left: 1.2em; margin-bottom: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: var(--s4) 0; }
.prose td, .prose th { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: top; }

/* closing CTA */
.closing { background: var(--night); color: var(--on-night); padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.closing .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s7); align-items: center; }
@media (max-width: 880px) { .closing .wrap { grid-template-columns: 1fr; } }
.closing h2 { color: #fff; }
.closing .icon-big { width: min(260px, 60%); justify-self: center; border-radius: 22%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(243,201,105,.25); transform: rotate(-6deg); }

/* footer */
.foot { background: #0D1A2C; color: var(--on-night-2); padding: var(--s8) 0 var(--s6); font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s6); }
@media (max-width: 820px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
.foot h4 { color: #fff; font-size: 15px; }
.foot ul { list-style: none; }
.foot li { padding: 4px 0; }
.foot a { color: var(--on-night-2); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .by { display: flex; align-items: center; gap: 10px; margin-top: var(--s4); }
.foot .by img { height: 24px; width: auto; opacity: .85; }
.foot .legal { border-top: 1px solid var(--night-3); margin-top: var(--s7); padding-top: var(--s5); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); }

/* lightbox */
.lb { position: fixed; inset: 0; background: rgba(8,16,28,.92); z-index: 100; display: none; place-items: center; padding: 20px; cursor: zoom-out; }
.lb.open { display: grid; }
.lb img { max-height: 92vh; max-width: 96vw; width: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb button { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--night); font-size: 26px; cursor: pointer; }

/* sticky download bar on phones */
.mbar { display: none; }
@media (max-width: 700px) {
  .mbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; transform: translateY(140%); transition: transform .3s ease; }
  .mbar.show { transform: none; }
  .mbar .btn { flex: 1; justify-content: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }
  .foot { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.foot .cols > div { min-width: 0; }
.foot a { overflow-wrap: anywhere; }
@media (max-width: 560px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > div:first-child { grid-column: 1 / -1; } }
.feat h2 { font-size: clamp(28px, 3.2vw, 42px); }
.feat:nth-of-type(even) .split.wide-r { grid-template-columns: 1.25fr 1fr; }
@media (max-width: 880px) { .feat:nth-of-type(even) .split.wide-r { grid-template-columns: 1fr; } }
.ph-grid { display: grid; grid-template-columns: 1fr 300px; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ph-media .phone { width: 100%; transform: rotate(3deg); }
.ph-media .phone img { object-position: top; }
@media (max-width: 880px) { .ph-grid { grid-template-columns: 1fr; } .ph-media { display: none; } }

/* ---------- v2: menu with a Features drop-down ---------- */
.nav .hasmenu { position: relative; }
.nav .hasmenu > a { display: inline-flex; align-items: center; gap: 4px; }
.nav .hasmenu > a svg { width: 14px; height: 14px; }
.nav .menu { position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; color: var(--ink); border-radius: 14px; padding: 8px; box-shadow: 0 24px 60px -20px rgba(15,34,56,.5), 0 0 0 1px var(--rule); display: none; z-index: 60; margin-top: 8px; }
.nav .hasmenu:hover .menu, .nav .hasmenu:focus-within .menu { display: grid; }
.nav .menu a { display: grid; padding: 9px 12px; border-radius: 8px; color: var(--ink); }
.nav .menu a:hover, .nav .menu a[aria-current="page"] { background: var(--mist); color: var(--ink); }
.nav .menu a b { font-weight: 700; font-size: 15px; }
.nav .menu a span { font-size: 13px; color: var(--ink-2); }
.nav .menu a.all { border-top: 1px solid var(--rule); border-radius: 0; margin-top: 6px; padding-top: 12px; color: var(--teal-ink); font-weight: 700; font-size: 14px; }

/* feature tiles under the hero */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tiles a { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); border-top: 3px solid var(--ember); transition: transform .15s ease, box-shadow .15s ease; }
.tiles a:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(15,34,56,.6); }
.tiles b { font-size: 17px; font-weight: 800; font-variation-settings: "wdth" 110; }
.tiles span { font-size: 13px; color: var(--ink-2); line-height: 1.3; }

/* animated explainers */
.xp { width: 100%; aspect-ratio: 640 / 400; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(15,34,56,.6); background: var(--night); }
.xp svg { display: block; width: 100%; height: 100%; }
.xgrid { display: grid; gap: clamp(40px, 6vw, 80px); }
.xrow { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.xrow:nth-child(even) .xmedia { order: 2; }
.xrow.one { grid-template-columns: 1.2fr 1fr; }
.xrow h3 { font-size: clamp(24px, 2.6vw, 32px); }
.xrow .btn { margin-top: 4px; }
.xband { background: var(--mist); border-bottom: 1px solid var(--rule); }
@media (max-width: 880px) { .xrow, .xrow.one { grid-template-columns: 1fr; } .xrow:nth-child(even) .xmedia { order: 0; } }
.xpsvg.end .k { animation-play-state: paused !important; animation-delay: -8.9s !important; }
@media (prefers-reduced-motion: reduce) { .xpsvg .k { animation-play-state: paused !important; animation-delay: -8.9s !important; animation-name: inherit; } }
/* four promises */
.big4 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); counter-reset: none; }
@media (max-width: 760px) { .big4 { grid-template-columns: 1fr; } }
.big4 article { position: relative; padding: 28px 28px 28px 92px; border-radius: var(--r-lg); background: var(--night); color: var(--on-night); overflow: hidden; }
.big4 .num4 { position: absolute; left: 24px; top: 22px; width: 48px; height: 48px; border-radius: 14px; background: var(--ember); color: var(--night); font-weight: 800; font-size: 24px; display: grid; place-items: center; font-variation-settings: "wdth" 116; }
.big4 h3 { color: #fff; font-size: clamp(20px, 2vw, 24px); }
.big4 h3 em { font-style: normal; color: var(--ember); }
.big4 p { color: var(--on-night-2); margin-bottom: 12px; }
.big4 a { color: var(--ember); font-weight: 700; text-decoration: none; }
.big4 a:hover { text-decoration: underline; }
@media (max-width: 480px) { .big4 article { padding: 84px 22px 24px; } }
