/* LOOP · loopindia.tech
   Layout: editorial page on paper (light) or ink (dark), chosen by the visitor's local time on first load. One framed
   hero "stage" with the real app and its two moments (the ask, the receipt); a 24-hour timeline that shows the
   difference; a sealed-message flow; real screenshots everywhere else. Phones get their own layouts, not shrunk ones. */
:root {
  --paper: #fafaf8;
  --paper-2: #f1f1ed;
  --raised: #ffffff;
  --ink: #111113;
  --ink-2: #3b3b41;
  --muted: #6c6c74;
  --line: #e3e2dc;
  --sun: #ffd000;
  --sun-soft: #fff4bf;
  --sun-ink: #111113;
  --stage: #e7eef5;
  --band: #0f1012;
  --band-2: #1b1c1f;
  --band-line: #2c2d31;
  --band-text: #f2f2ef;
  --band-muted: #a3a3ab;
  --danger: #e5484d;
  --ok: #13703d;
  --shadow: 0 30px 60px -30px rgb(17 17 19 / 0.35);
  --sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --deva: "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif;
  --deva-serif: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
  --wrap: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --r-lg: 32px;
  --r-md: 20px;
  --r-sm: 12px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #0c0c0e;
  --paper-2: #141417;
  --raised: #18181b;
  --ink: #f3f3ef;
  --ink-2: #c9c9cf;
  --muted: #8f8f98;
  --line: #26262b;
  --sun-soft: #2b2508;
  --stage: #121821;
  --band: #141417;
  --band-2: #1b1b1f;
  --band-line: #2a2a2f;
  --ok: #4ad187;
  --shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
  color-scheme: dark;
}
/* Without JavaScript the visitor's system setting decides. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --paper: #0c0c0e; --paper-2: #141417; --raised: #18181b; --ink: #f3f3ef; --ink-2: #c9c9cf; --muted: #8f8f98; --line: #26262b;
    --sun-soft: #2b2508; --stage: #121821; --band: #141417; --band-2: #1b1b1f; --band-line: #2a2a2f; --ok: #4ad187;
    --shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8); color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color .3s ease; }
html[lang="hi"] body { font-family: var(--deva), var(--sans); line-height: 1.7; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--sun); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 600; letter-spacing: -0.025em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
html[lang="hi"] .accent { font-family: var(--deva-serif); font-style: normal; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html[lang="hi"] .kicker { letter-spacing: .02em; text-transform: none; font-size: 14px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--sun-soft); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; gap: 14px; max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 60ch; }
html[lang="hi"] .section-head h2, html[lang="hi"] .page-hero h1 { line-height: 1.28; letter-spacing: 0; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; font-weight: 600; text-decoration: none; padding: 10px 0; border-bottom: 1.5px solid var(--sun); }
.more svg, .btn svg, .sheet a svg { width: 18px; height: 18px; fill: currentColor; }
.mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .14em; font-size: 15px; text-decoration: none; }


/* ---------- nav */
.nav { position: sticky; top: 0; z-index: 30; padding: 14px var(--gutter) 0; }
.nav-bar { width: min(var(--wrap), 100%); margin-inline: auto; display: flex; align-items: center; gap: 16px; padding: 9px 10px 9px 18px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 80%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); box-shadow: 0 6px 24px rgb(0 0 0 / .06); }
.nav-links { display: flex; gap: 2px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; font-size: 15px; text-decoration: none; color: var(--ink-2); }
.nav-links a:hover, .nav-links a[aria-current] { background: var(--paper-2); color: var(--ink); }
.lang-link { font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.menu-btn { display: none; border: 0; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--paper); padding: calc(84px + env(safe-area-inset-top, 0px)) var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; justify-content: space-between; }
.sheet[hidden] { display: none; }
.sheet nav { display: grid; }
.sheet nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
html[lang="hi"] .sheet nav a { font-size: 22px; letter-spacing: 0; }
.sheet nav a svg { width: 22px; height: 22px; fill: var(--muted); }
.sheet-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.nav[data-open] .nav-bar { position: relative; z-index: 41; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: var(--line); background: var(--raised); color: var(--ink); }
.btn-sun { background: var(--sun); color: var(--sun-ink); }
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover, .btn:disabled:hover { transform: none; }
.play-note { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.play-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 3px rgb(31 157 85 / .16); }

/* ---------- screenshots in a phone frame, in the page's theme */
.phone { border-radius: 34px; background: #0b0b0c; padding: 8px; box-shadow: var(--shadow); aspect-ratio: 540 / 1140; position: relative; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }
.shot-d { display: none; }
:root[data-theme="dark"] .shot-l { display: none; }
:root[data-theme="dark"] .shot-d { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .shot-l { display: none; } :root:not([data-theme]) .shot-d { display: block; } }

/* ---------- hero */
.hero { padding-top: clamp(36px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 104px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero h1 { font-size: clamp(46px, 7.2vw, 96px); line-height: .96; letter-spacing: -.045em; }
.hero h1 .accent { display: block; font-size: 1.04em; letter-spacing: -.02em; }
.hero h1 mark { background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); color: inherit; padding-inline: .04em; }
:root[data-theme="dark"] .hero h1 mark { background: none; color: var(--sun); }
html[lang="hi"] .hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.2; letter-spacing: -.01em; }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 30ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; fill: var(--ink); }
.stage { position: relative; border-radius: var(--r-lg); background: var(--stage); border: 1px solid var(--line); padding: 48px 0; display: grid; place-items: center; min-height: 560px; isolation: isolate; }
.stage .phone { width: min(52%, 280px); transform: rotate(-2deg); justify-self: end; margin-right: 12%; }
.glow { position: absolute; inset: 18% 12%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 208 0 / .35), transparent); filter: blur(30px); z-index: -1; animation: breathe 6s ease-in-out infinite; }
.float { position: absolute; background: var(--raised); color: var(--ink); border-radius: 18px; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .4), 0 0 0 1px var(--line); padding: 14px 16px; display: grid; gap: 12px; font-size: 14px; }
.float.ask { left: 5%; top: 12%; width: min(50%, 270px); animation: drift 7s ease-in-out infinite; }
.float.receipt { right: 4%; bottom: 9%; grid-template-columns: auto 1fr; align-items: center; gap: 10px; animation: drift 8s ease-in-out -3s infinite; }
.ask-head { display: flex; align-items: center; gap: 10px; }
.ava { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; background: #5b4b8a; flex: none; }
.ask-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.ask-btns span { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); }
.ask-btns span:first-child { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); }
.eye { width: 30px; height: 30px; border-radius: 50%; background: #111113; display: grid; place-items: center; }
.eye svg { width: 16px; height: 16px; fill: var(--sun); }
.receipt small { display: block; color: var(--muted); font-size: 12px; }
@keyframes drift { 50% { transform: translateY(-8px); } }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .75; } }

/* ---------- the day: 24 hours of tracking vs LOOP */
.day { background: var(--paper-2); }
.day .section-head h2 span { display: block; }
.timeline { position: relative; border-radius: var(--r-md); background: var(--raised); border: 1px solid var(--line); padding: 28px clamp(18px, 3vw, 32px) 20px; display: grid; gap: 22px; }
.lane { display: grid; grid-template-columns: 170px minmax(0, 1fr) 220px; gap: 20px; align-items: center; }
.lane-name { font-weight: 600; }
.lane.them .lane-name { color: var(--muted); }
.lane-note { font-size: 14px; color: var(--muted); }
.track { position: relative; height: 34px; border-radius: 999px; background: var(--paper-2); display: flex; align-items: center; justify-content: space-between; padding: 0 10px; }
.lane.them i { width: 4px; height: 14px; border-radius: 2px; background: var(--muted); opacity: .25; animation: record 4.8s linear infinite; animation-delay: calc(var(--i) * .066s); }
@keyframes record { 0%, 8% { opacity: 1; background: var(--danger); } 30%, 100% { opacity: .35; background: var(--muted); } }
.lane.us .track { justify-content: flex-start; }
.hit { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--sun-soft); }
.hit::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--sun); animation: ping 2.8s ease-out infinite; }
.hit:nth-child(2)::after { animation-delay: 1.4s; }
.hit em { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 12px; font-weight: 600; background: var(--ink); color: var(--paper); padding: 4px 9px; border-radius: 999px; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
.hours { display: flex; justify-content: space-between; margin-left: 190px; margin-right: 240px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lane.us { padding-top: 22px; }

.compare { margin-top: 28px; border-radius: var(--r-md); background: var(--raised); border: 1px solid var(--line); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr 1.15fr; }
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-row > * { padding: 16px 22px; }
.compare-row.head { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
html[lang="hi"] .compare-row.head { text-transform: none; letter-spacing: 0; font-size: 14px; }
.compare-row .them { color: var(--muted); }
.compare-row .us { font-weight: 600; background: linear-gradient(90deg, rgb(255 208 0 / .16), rgb(255 208 0 / .05)); display: flex; gap: 10px; align-items: flex-start; }
.compare-row .us svg { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: currentColor; }
.compare-row.head .us { background: var(--sun); color: var(--sun-ink); }
.compare-row .what { font-weight: 500; }

/* ---------- stats */
.stats-band { padding-block: clamp(48px, 7vw, 88px); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.stat { padding: 30px 24px 26px 0; display: grid; gap: 8px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { font-size: clamp(38px, 4.4vw, 58px); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 15px; }
.stats-note { margin-top: 16px; color: var(--muted); font-size: 13px; max-width: 80ch; }

/* ---------- how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); list-style: none; padding: 0; margin: 0; }
.step { display: grid; gap: 22px; align-content: start; }
.step .phone { width: min(78%, 280px); margin-inline: auto; }
.step:nth-child(2) .phone { transform: translateY(24px); }
.step-text { display: grid; gap: 6px; }
.num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--sun-ink); font-weight: 700; font-size: 15px; }
.step h3 { font-size: 22px; margin-top: 8px; }
.step p { color: var(--ink-2); }
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.detail { border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: grid; gap: 8px; background: var(--raised); }
.detail h3 { font-size: 19px; }
.detail p { color: var(--ink-2); font-size: 15px; }

/* ---------- privacy band */
.dark { background: var(--band); color: var(--band-text); }
:root[data-theme="dark"] .dark { border-block: 1px solid var(--band-line); }
.dark .kicker { color: var(--band-muted); }
.dark .kicker::before { box-shadow: 0 0 0 4px rgb(255 208 0 / .18); }
.dark h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; margin-top: 14px; }
html[lang="hi"] .dark h2 { line-height: 1.28; letter-spacing: 0; }
.privacy-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.privacy-body { color: var(--band-muted); font-size: 18px; margin-top: 20px; max-width: 46ch; }
.privacy-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.privacy-links a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--band-line); text-decoration: none; font-size: 15px; font-weight: 500; }
.privacy-links a:hover { border-color: var(--sun); }
.flow { display: grid; grid-template-columns: auto minmax(30px, 1fr) auto minmax(30px, 1fr) auto; align-items: center; }
.node { display: grid; justify-items: center; gap: 8px; text-align: center; width: 128px; padding: 18px 10px; border-radius: 20px; background: var(--band-2); border: 1px solid var(--band-line); }
.node > svg { width: 30px; height: 30px; fill: var(--band-text); }
.node.server > svg { fill: var(--band-muted); }
.node b { font-size: 14px; }
.node small { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--band-muted); }
.node small svg { width: 13px; height: 13px; fill: var(--sun); }
.wire { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--band-line) 0 8px, transparent 8px 14px); }
.packet { position: absolute; top: 50%; left: 0; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; animation: travel 3.6s cubic-bezier(.55, .1, .45, .9) infinite; }
.packet.late { animation-delay: 1.8s; }
.packet svg { width: 14px; height: 14px; fill: #111113; }
@keyframes travel { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 45% { left: calc(100% - 28px); opacity: 1; } 55%, 100% { left: calc(100% - 28px); opacity: 0; } }
.promises { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); border-radius: var(--r-md); overflow: hidden; }
.promise { background: var(--band-2); padding: 24px; display: grid; gap: 10px; align-content: start; }
.promise svg { width: 26px; height: 26px; fill: var(--sun); }
.promise h3 { font-size: 18px; letter-spacing: -.01em; }
.promise p { color: var(--band-muted); font-size: 15px; }
.stores-title { margin: 48px 0 16px; font-size: 22px; }
.stores { display: grid; gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); border-radius: var(--r-md); overflow: hidden; }
.stores div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 20px; background: var(--band-2); }
.stores span { color: var(--band-muted); }
.stores b { font-weight: 600; text-align: right; }
.dark .more { color: var(--band-text); }

/* ---------- features (bento) */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { border-radius: var(--r-md); background: var(--raised); border: 1px solid var(--line); padding: 24px; display: grid; gap: 10px; align-content: start; overflow: hidden; }
.tile > svg { width: 24px; height: 24px; fill: var(--ink); }
.tile h3 { font-size: 18px; letter-spacing: -.01em; }
.tile p { color: var(--muted); font-size: 15px; }
.tile.big { grid-column: span 2; grid-row: span 2; background: #111113; color: #f3f3ef; border-color: #111113; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: end; gap: 20px; min-height: 400px; position: relative; }
:root[data-theme="dark"] .tile.big { border-color: var(--line); background: var(--band-2); }
.tile.big > div:first-child { display: grid; gap: 12px; align-content: end; }
.tile.big p { color: #a3a3ab; font-size: 16px; }
.tile.big h3 { font-size: 30px; }
.tile.big .phone { margin-bottom: -80px; transform: rotate(4deg); }
.sos-badge { width: 76px; height: 76px; border-radius: 50%; background: var(--danger); color: #fff; display: grid; place-items: center; font-weight: 700; letter-spacing: .08em; font-size: 17px; box-shadow: 0 0 0 12px rgb(229 72 77 / .18), 0 0 0 26px rgb(229 72 77 / .08); margin: 0 0 22px 22px; animation: sos 2.4s ease-in-out infinite; }
@keyframes sos { 50% { box-shadow: 0 0 0 16px rgb(229 72 77 / .22), 0 0 0 34px rgb(229 72 77 / .06); } }
.tile.wide { grid-column: span 2; }
.crop { height: 150px; overflow: hidden; border-radius: 16px; margin-top: 8px; }
.crop .phone { padding: 0; border-radius: 16px; box-shadow: none; aspect-ratio: auto; background: none; }
.crop .phone img { height: auto; border-radius: 16px; transform: translateY(-14%); }

/* ---------- screenshot carousel: swipe or buttons, no scrollbar */
.gallery { padding-bottom: clamp(56px, 8vw, 96px); }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.carousel-btns { display: flex; gap: 10px; margin-bottom: clamp(32px, 5vw, 56px); }
.carousel-btns button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--raised); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.carousel-btns button svg { width: 20px; height: 20px; fill: currentColor; }
.carousel-btns button:disabled { opacity: .35; cursor: default; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 21vw, 270px); gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 30px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.carousel::-webkit-scrollbar { display: none; }
.slide { margin: 0; scroll-snap-align: start; display: grid; gap: 14px; }
.slide figcaption { font-size: 15px; color: var(--ink-2); font-weight: 500; }
.dots { display: none; justify-content: center; gap: 6px; }
.dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .25s ease, background .25s ease; }
.dots span.on { width: 22px; background: var(--ink); }

/* ---------- FAQ */
.faq { background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .more { margin-top: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 19px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--muted); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- about, feedback */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px; }
.story { border-radius: var(--r-lg); background: var(--paper-2); padding: clamp(28px, 4vw, 48px); display: grid; gap: 20px; align-content: start; }
.story h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.05; }
.story p { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.65; color: var(--ink-2); }
.story .sign { font-family: var(--serif); font-style: italic; font-size: 24px; }
html[lang="hi"] .story .sign { font-family: var(--deva-serif); font-style: normal; font-size: 20px; }
.story .more { margin-top: 0; justify-self: start; }
.cta-card, .dev { border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; background: var(--raised); }
.cta-card > svg { width: 30px; height: 30px; fill: var(--ink); }
.cta-card h3, .dev h3 { font-size: 26px; }
.cta-card p { color: var(--ink-2); }
.cta-card .btn { justify-self: start; margin-top: 8px; }
.dev .role { color: var(--muted); margin-top: -8px; }
.dev dl { margin: 0; display: grid; gap: 12px; }
.dev dt { font-size: 13px; color: var(--muted); }
.dev dd { margin: 2px 0 0; font-weight: 500; word-break: break-word; }
.fine { font-size: 13px; color: var(--muted); }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.principles > div { border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--raised); }
.principles h3 { font-size: 19px; }
.principles p { color: var(--ink-2); font-size: 15px; }

.fb-wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 20px; align-items: start; }
.fb-form { border-radius: var(--r-lg); background: var(--raised); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); display: grid; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0 0 8px; }
.chips legend { font-size: 14px; color: var(--muted); margin-bottom: 10px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; }
.chips input:checked + span { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.field { font-size: 14px; color: var(--muted); margin-top: 6px; }
.fb-form textarea, .fb-form input[type="email"] { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; width: 100%; }
.fb-form textarea { min-height: 160px; resize: vertical; }
.fb-form textarea:focus, .fb-form input:focus { outline: 2px solid var(--sun); border-color: transparent; }
.fb-form .btn { justify-self: start; margin-top: 10px; }
.fb-status { min-height: 1.4em; font-weight: 600; }
.fb-status.ok { color: var(--ok); }
.fb-status.err { color: var(--danger); }
.fb-side { border-radius: var(--r-lg); background: var(--paper-2); padding: 32px; display: grid; gap: 16px; }
.fb-side .mark { width: 44px; height: 44px; }
.fb-side p { color: var(--ink-2); }
.fb-side a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; word-break: break-all; }
.fb-side a svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- updates */
.releases { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.release { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; background: var(--raised); }
.release-side { display: grid; gap: 6px; align-content: start; }
.release-side b { font-size: 34px; letter-spacing: -.03em; line-height: 1; }
.release-side time { color: var(--muted); font-size: 14px; }
.badge { justify-self: start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sun-soft); color: var(--ink); margin-top: 4px; }
.release ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.release li { display: flex; gap: 10px; color: var(--ink-2); }
.release li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; fill: var(--ok); }

/* ---------- section page intro */
.page-hero { padding-block: clamp(48px, 8vw, 104px) clamp(24px, 4vw, 48px); }
.page-hero .wrap { display: grid; gap: 18px; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1; letter-spacing: -.045em; max-width: 16ch; }

/* ---------- closing + footer */
.closing { padding-block: clamp(80px, 11vw, 140px); text-align: center; }
.closing .wrap { display: grid; gap: 28px; justify-items: center; }
.closing-mark .mark { width: 64px; height: 64px; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.closing h2 { font-size: clamp(42px, 7vw, 92px); line-height: 1; letter-spacing: -.045em; }
.closing h2 .accent { display: block; }
html[lang="hi"] .closing h2 { line-height: 1.25; letter-spacing: 0; }
footer.site { border-top: 1px solid var(--line); padding-block: 48px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-top .brand { color: var(--ink); }
.foot-tag { font-size: 20px; color: var(--ink-2); }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 16px 80px; margin: 36px 0; }
.foot-cols nav { display: grid; gap: 10px; align-content: start; }
.foot-cols a, .foot-bottom a { text-decoration: none; color: var(--ink-2); }
.foot-cols a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- document pages */
.doc { padding-block: clamp(48px, 7vw, 88px) 96px; }
.doc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 104px; font-size: 14px; display: grid; gap: 4px; }
.toc b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.toc a { text-decoration: none; color: var(--ink-2); padding: 4px 0; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.prose { max-width: 74ch; min-width: 0; }
.prose h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 18px; }
.prose h2 { font-size: 27px; margin: 56px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose h3 { font-size: 19px; margin: 30px 0 10px; letter-spacing: -.01em; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; margin: 12px 0; display: grid; gap: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .effective { display: inline-block; margin-bottom: 22px; padding: 6px 14px; border-radius: 999px; background: var(--sun-soft); color: var(--ink); font-size: 14px; font-weight: 500; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--r-sm); scrollbar-width: thin; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--paper-2); font-weight: 600; color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 26px 0 8px; }
.fact { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; display: grid; gap: 4px; }
.fact b { font-size: 20px; letter-spacing: -.02em; }
.fact span { color: var(--muted); font-size: 14px; }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--ink); font-weight: 600; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.notfound > div { display: grid; justify-items: center; gap: 14px; }
.notfound .mark { width: 56px; height: 56px; }
.notfound h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.04em; }
.notfound p { color: var(--muted); margin-bottom: 14px; }

/* ================================================================ tablets */
@media (max-width: 1060px) {
  .hero-grid, .privacy-grid, .faq-grid, .about-grid, .fb-wrap, .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .stage { max-width: 600px; width: 100%; margin-inline: auto; }
  .bento, .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lane { grid-template-columns: 120px minmax(0, 1fr); }
  .lane-note { grid-column: 2; margin-top: -10px; }
  .hours { margin: 0 0 0 140px; }
  .toc, .faq-side { position: static; }
  .flow { max-width: 620px; }
}

/* ================================================================ phones: their own layout */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { padding-top: 10px; }
  .nav-bar { padding: 7px 7px 7px 14px; gap: 10px; }
  .nav-links, .nav-bar > .lang-link { display: none; }
  .menu-btn { display: inline-block; margin-left: auto; }
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 28px; }

  /* Hero: words first, full-width actions, then the app on its stage. */
  .hero { padding-top: 28px; }
  .hero-copy { gap: 20px; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 64px); }
  .hero-ctas { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-ctas .btn { width: 100%; }
  .trust { gap: 8px; }
  .trust li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 9px; background: var(--raised); }
  .stage { min-height: 0; padding: 40px 0 44px; border-radius: 28px; }
  .stage .phone { width: 60%; justify-self: center; margin-right: 0; }
  .float { font-size: 12px; padding: 10px 12px; }
  .float.ask { display: none; }
  .float.receipt { right: 4%; bottom: 6%; }

  /* The day: one lane under the other, labels above the tracks. */
  .timeline { padding: 22px 16px 16px; gap: 16px; }
  .lane { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .lane-note { grid-column: auto; margin: 0; font-size: 13px; }
  .lane.them i:nth-child(even) { display: none; }
  .lane.us { padding-top: 34px; }
  .hit em { font-size: 11px; }
  .lane.us .track { margin-bottom: 30px; }
  .hit:nth-child(1) em { left: 0; transform: none; bottom: auto; top: 26px; }
  .hit:nth-child(2) em { left: auto; right: 0; transform: none; }
  .hours { margin: 0; font-size: 11px; }
  .compare-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .compare-row .what { grid-column: 1 / -1; padding-bottom: 0; color: var(--muted); font-size: 13px; font-weight: 500; }
  .compare-row.head .what { display: none; }
  .compare-row > * { padding: 12px 14px; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 22px 14px 20px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat + .stat { padding-left: 14px; }

  /* Steps: screenshot beside the words, one per row. */
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .step { grid-template-columns: 42% minmax(0, 1fr); gap: 18px; align-items: center; }
  .step .phone { width: 100%; border-radius: 24px; padding: 6px; }
  .step .phone img { border-radius: 19px; }
  .step:nth-child(2) .phone { transform: none; }
  .step h3 { font-size: 19px; }
  .step p { font-size: 15px; }

  /* Sealed flow: top to bottom. */
  .flow { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; }
  .node { width: 100%; max-width: 260px; grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 12px; padding: 14px 16px; }
  .node > svg { grid-row: span 2; }
  .wire { width: 2px; height: 44px; background: repeating-linear-gradient(180deg, var(--band-line) 0 6px, transparent 6px 11px); }
  .packet { left: 50%; top: 0; margin: 0 0 0 -14px; animation-name: travel-down; }
  @keyframes travel-down { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 45% { top: calc(100% - 28px); opacity: 1; } 55%, 100% { top: calc(100% - 28px); opacity: 0; } }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .promise { grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
  .promise svg { grid-row: span 2; }
  .stores div { flex-direction: column; gap: 4px; }
  .stores b { text-align: left; }

  /* Features: SOS first and full width, then a two-up grid. */
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 18px; }
  .tile p { font-size: 14px; }
  .tile.big, .tile.wide { grid-column: 1 / -1; grid-row: auto; }
  .tile.big { grid-template-columns: minmax(0, 1fr) 40%; min-height: 0; padding: 22px; }
  .tile.big h3 { font-size: 24px; }
  .tile.big p { font-size: 14px; }
  .tile.big .phone { margin-bottom: -60px; }
  .sos-badge { width: 60px; height: 60px; font-size: 14px; margin: 0 0 18px 14px; }

  /* Carousel: one phone at a time with the next peeking in, and dots instead of buttons. */
  .carousel-btns { display: none; }
  .carousel { grid-auto-columns: 68%; gap: 14px; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .dots { display: flex; }

  .faq-list summary { font-size: 17px; padding: 18px 0; }
  .about-grid { gap: 14px; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .release { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px; }
  .release-side { grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; }
  .release-side b { font-size: 28px; grid-row: span 2; }
  .fb-form { padding: 22px; }
  .fb-form .btn { width: 100%; }
  .closing h2 { font-size: clamp(40px, 11vw, 60px); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
  .foot-bottom { flex-direction: column; }
  .facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .float.receipt { font-size: 12px; }
  .brand span { letter-spacing: .1em; }
}

/* ================================================================ round 3: distinct pages */
.theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--raised); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.theme-btn svg { width: 18px; height: 18px; fill: currentColor; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }

/* Cut-outs of real screens (cards, sheets, widgets), framed like objects on the page. */
.art { position: relative; }
.art img { width: 100%; height: auto; border-radius: 22px; }
.art.framed { padding: 14px; border-radius: 30px; background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.art.framed img { border-radius: 18px; }

/* Home: three doors into the deeper pages. */
.pillars-band { padding-top: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: var(--raised); border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.pillar h2 { font-size: 26px; line-height: 1.1; }
.pillar p { color: var(--ink-2); font-size: 15px; }
.pillar .art { margin: 14px 0 0; align-self: end; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: var(--stage); display: grid; place-items: center; padding: 14px; }
.pillar .art img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.pillar-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 10px; }
.pillar-go svg { width: 18px; height: 18px; fill: currentColor; transition: transform .2s ease; }
.pillar:hover .pillar-go svg { transform: translateX(4px); }

/* Section page intro with a visual. */
.page-hero.with-visual .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.page-hero-text { display: grid; gap: 18px; }
.page-hero .art { max-width: 460px; justify-self: end; transform: rotate(2deg); }

/* Story rows: a screen beside its explanation, alternating sides. */
.rows { display: grid; gap: clamp(56px, 8vw, 104px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.row.flip .row-visual { order: 2; }
.row-visual { display: grid; place-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--stage); border: 1px solid var(--line); min-height: 420px; }
.row-visual > .phone { width: min(62%, 280px); }
.row-visual > .art { width: min(100%, 460px); }
.row-text { display: grid; gap: 14px; align-content: center; }
.row-text h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; letter-spacing: -.03em; }
html[lang="hi"] .row-text h3 { line-height: 1.3; letter-spacing: 0; }
.row-text p { color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.points { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.points li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 10px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.points svg { width: 15px; height: 15px; fill: var(--ink); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: min(100%, 440px); }
.split .phone:last-child { transform: translateY(28px); }

.modes-band, .keeps-band, .extras-band { background: var(--paper-2); }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mode, .control, .extra { border-radius: var(--r-md); background: var(--raised); border: 1px solid var(--line); padding: 26px; display: grid; gap: 10px; align-content: start; }
.mode > svg, .control > svg, .extra > svg { width: 28px; height: 28px; fill: var(--ink); padding: 6px; box-sizing: content-box; border-radius: 12px; background: var(--sun-soft); }
.mode h3, .control h3, .extra h3 { font-size: 20px; }
.mode p, .control p, .extra p { color: var(--ink-2); font-size: 15px; }

.sees-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.sees { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sees li { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); font-weight: 600; }
.sees svg { width: 22px; height: 22px; fill: var(--ink); flex: none; }
.demo-card { margin-top: 22px; display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-md); background: var(--ink); color: var(--paper); }
.demo-card > svg { width: 26px; height: 26px; fill: var(--sun); flex: none; }
.demo-card h3 { font-size: 19px; }
.demo-card p { color: color-mix(in srgb, var(--paper) 70%, transparent); font-size: 15px; margin-top: 4px; }
.demo-card .more { color: var(--paper); margin-top: 10px; }
.art.tall { max-width: 520px; justify-self: center; }

.crypto { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.crypto li { display: flex; gap: 14px; align-items: flex-start; }
.crypto svg { width: 22px; height: 22px; fill: #111113; background: var(--sun); padding: 9px; border-radius: 12px; box-sizing: content-box; flex: none; }
.crypto b { font-size: 17px; }
.crypto p { color: var(--band-muted); font-size: 15px; margin-top: 2px; }

.keeps-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 20px; align-items: end; }
.keeps-band .stores { background: var(--line); border-color: var(--line); }
.keeps-band .stores div { background: var(--raised); }
.keeps-band .stores span { color: var(--ink-2); }
.never { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--raised); padding: 24px; }
.never h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 16px; }
.never h3 svg { width: 22px; height: 22px; fill: var(--danger); }
.never ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.never li { padding: 7px 12px; border-radius: 999px; border: 1px dashed var(--line); color: var(--muted); font-size: 14px; text-decoration: line-through; text-decoration-color: var(--danger); }
.controls, .extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.privacy-links.light a { border-color: var(--line); }

.faq-page { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-toc { position: sticky; top: 104px; display: grid; gap: 6px; }
.faq-toc a { text-decoration: none; padding: 10px 14px; border-radius: 12px; color: var(--ink-2); font-weight: 500; }
.faq-toc a:hover { background: var(--paper-2); color: var(--ink); }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 26px; margin-bottom: 8px; }

.built { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; }
.built div { border-top: 2px solid var(--sun); padding-top: 16px; }
.built dt { font-weight: 600; font-size: 18px; }
.built dd { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.closing-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; }
.closing-link svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 1060px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar { grid-template-columns: minmax(0, 1fr) 42%; grid-template-rows: auto; column-gap: 20px; align-items: center; }
  .pillar > :not(.art) { grid-column: 1; }
  .pillar .art { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
  .controls, .extras, .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .built { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-page, .keeps-grid, .sees-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-toc { position: static; display: flex; flex-wrap: wrap; }
  .faq-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
}
@media (max-width: 860px) {
  .theme-btn { width: 36px; height: 36px; }
  .nav-bar > .theme-btn { margin-left: auto; }
  .nav-bar > .menu-btn { margin-left: 0; }
  .pillar { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .pillar .art { grid-column: auto; grid-row: auto; margin: 12px 0 0; }
  .pillar h2 { font-size: 22px; }
  .page-hero.with-visual .wrap { grid-template-columns: minmax(0, 1fr); }
  .page-hero .art { justify-self: start; max-width: 100%; transform: none; }
  .row, .row.flip { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .row.flip .row-visual { order: 0; }
  .row-visual { min-height: 0; padding: 26px 18px; }
  .row-visual > .phone { width: min(58%, 240px); }
  .row-text p { font-size: 16px; }
  .rows { gap: 56px; }
  .split .phone:last-child { transform: translateY(18px); }
  .modes, .controls, .extras, .built { grid-template-columns: minmax(0, 1fr); }
  .mode, .control, .extra { grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
  .mode > svg, .control > svg, .extra > svg { grid-row: span 2; }
  .sees { grid-template-columns: 1fr 1fr; }
  .sees li { padding: 12px; font-size: 14px; }
  .demo-card { padding: 18px; }
}


/* ================================================================ round 4: the day on two maps, next-page cards */
.two-maps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mapcard { margin: 0; border-radius: var(--r-lg); background: var(--raised); border: 1px solid var(--line); padding: 18px; display: grid; gap: 14px; }
.mapcard figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 0; }
.mapcard figcaption b { font-size: 20px; letter-spacing: -.01em; }
.tag { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.tag.bad { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.tag.good { background: var(--sun-soft); color: var(--ink); }
.mapbox { position: relative; border-radius: 20px; overflow: hidden; }
.mapbox svg { width: 100%; height: auto; }
.m-bg { fill: var(--stage); }
.m-river { fill: color-mix(in srgb, #7aa7d6 30%, var(--stage)); }
.m-block rect { fill: color-mix(in srgb, var(--ink) 6%, var(--stage)); }
.m-road path { fill: none; stroke: var(--raised); stroke-linecap: round; }
.m-trail { fill: none; stroke: var(--danger); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; opacity: .55; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 3.2s ease-out .3s forwards; }
.m-dot { fill: var(--danger); opacity: 0; animation: dot .4s ease-out forwards; animation-delay: calc(.3s + var(--i) * .045s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot { to { opacity: .9; } }
.place { position: absolute; transform: translate(-50%, 12px); font-size: 11px; font-weight: 600; white-space: nowrap; background: var(--raised); color: var(--ink); padding: 3px 8px; border-radius: 999px; box-shadow: 0 2px 8px rgb(0 0 0 / .12); }
.place.above { transform: translate(-50%, calc(-100% - 12px)); }
.place.left { transform: translate(calc(-100% - 12px), -50%); }
.loop-pin { position: absolute; transform: translate(-50%, -100%); width: 34px; height: 34px; display: grid; place-items: center; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) .6s both; }
.loop-pin svg { width: 34px; height: 34px; fill: var(--sun); stroke: #111113; stroke-width: 1.4px; }
.loop-none { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2px dashed var(--muted); opacity: .7; }
.ask-bubble { position: absolute; display: grid; gap: 3px; padding: 8px 11px; border-radius: 12px; background: var(--raised); color: var(--ink); box-shadow: 0 8px 22px -8px rgb(0 0 0 / .35); font-size: 11.5px; white-space: nowrap; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.ask-bubble.yes { transform: translate(calc(-100% - 22px), -110%); animation-delay: .8s; }
.ask-bubble.no { transform: translate(18px, -50%); animation-delay: 1.1s; }
.ask-bubble em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-weight: 600; font-size: 12px; }
.ask-bubble em svg { width: 13px; height: 13px; fill: currentColor; }
.ask-bubble.yes em { color: var(--ok); }
.ask-bubble.no em { color: var(--muted); }
@keyframes pop { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
.mapnote { display: flex; align-items: center; gap: 10px; padding: 0 6px 4px; font-weight: 500; color: var(--ink-2); }
.mapnote svg { width: 20px; height: 20px; flex: none; }
.them .mapnote svg { fill: var(--danger); }
.us .mapnote svg { fill: var(--ink); }

.next-band { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.next-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 18px; }
.next { position: relative; display: grid; gap: 10px; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-lg); background: var(--paper-2); text-decoration: none; overflow: hidden; transition: transform .25s ease; }
.next:hover { transform: translateY(-3px); text-decoration: none; }
.next h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1; letter-spacing: -.04em; }
html[lang="hi"] .next h2 { line-height: 1.25; letter-spacing: 0; }
.next p { color: var(--ink-2); max-width: 44ch; }
.next-go { position: absolute; right: clamp(22px, 3vw, 36px); bottom: clamp(22px, 3vw, 36px); width: 56px; height: 56px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; transition: transform .25s ease; }
.next-go svg { width: 24px; height: 24px; fill: #111113; }
.next:hover .next-go { transform: translateX(6px); }
.next-app { border-radius: var(--r-lg); border: 1px solid var(--line); padding: 28px; display: grid; gap: 16px; align-content: center; justify-items: start; background: var(--raised); }
.next-app .mark { width: 40px; height: 40px; }
.next-app p { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }

@media (max-width: 1060px) {
  .two-maps, .next-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .mapcard { padding: 12px; gap: 10px; border-radius: 24px; }
  .mapcard figcaption b { font-size: 17px; }
  .place { font-size: 9.5px; padding: 2px 6px; }
  .ask-bubble { font-size: 10px; padding: 6px 8px; }
  .ask-bubble em { font-size: 10.5px; }
  .ask-bubble.no { transform: translate(14px, -50%); }
  .mapnote { font-size: 14px; }
  .next { padding-bottom: 92px; }
  .next-app p { font-size: 19px; }
}

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