/* Layout: one story told top to bottom in wide bands; the signature is the amber
   line that swerves around an obstacle, and a live copy of the app's tile. */
@font-face {
  font-family: "Unbounded";
  src: url("/unbounded.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ground: #17181C;
  --deep: #101114;
  --surface: #23252B;
  --line: #34373F;
  --text: #F3EFE6;
  --muted: #A29E95;
  --signal: #FFB020;
  --on-signal: #1B1403;
  --fault: #FF6B5E;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --wide: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 66px); line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(28px, 4.4vw, 48px); line-height: 1.08; font-weight: 800; }
h3 { font-size: 17px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.hl { color: var(--signal); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wide); margin: 0 auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(56px, 9vw, 112px); }
.band.lift { background: var(--surface); }
.band.warm { background: var(--signal); color: var(--on-signal); }
.band.deep { background: var(--deep); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; max-width: 34em; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.stuck { border-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 18px var(--display); text-decoration: none; margin-right: auto; }
.brand svg { width: 36px; height: 36px; }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--text); }
.lang { font: 600 13px var(--body); text-decoration: none; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.lang:hover { color: var(--text); border-color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 16px; font: 700 16px var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .12s, background .15s; }
.btn:active { transform: scale(.97); }
.btn.main { background: var(--signal); color: var(--on-signal); }
.btn.main:hover { background: #ffc04d; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.btn.small { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn.dark { background: var(--on-signal); color: var(--signal); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; }
@media (max-width: 760px) { .nav { display: none; } }

/* hero */
.hero { padding-block: clamp(36px, 6vw, 72px) 0; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero .fine { font-size: 14px; color: var(--muted); }
@media (max-width: 880px) { .hero .grid { grid-template-columns: 1fr; } }
.route { width: 100%; height: auto; margin-top: clamp(28px, 5vw, 56px); }
.route .go { stroke-dasharray: 2600; animation: draw 2.2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes draw { from { stroke-dashoffset: 2600; } to { stroke-dashoffset: 0; } }

/* the phone with a live tile */
.phone { width: min(100%, 340px); margin-inline: auto; background: var(--deep); border: 1px solid var(--line); border-radius: 44px; padding: 16px 14px 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); display: flex; flex-direction: column; gap: 10px; }
.phone .bar { display: flex; align-items: center; gap: 8px; padding: 6px 8px 2px; font: 600 14px var(--display); }
.phone .bar svg { width: 26px; height: 16px; }
.tile { position: relative; overflow: hidden; height: 190px; border: 0; padding: 18px; border-radius: 28px; background: var(--surface); color: var(--text); text-align: left; cursor: pointer; font: inherit; display: flex; flex-direction: column; transition: transform .12s, color .35s; -webkit-tap-highlight-color: transparent; }
.tile:active { transform: scale(.975); }
.tile::before { content: ""; position: absolute; top: 41px; right: 41px; width: 2px; height: 2px; border-radius: 50%; background: var(--signal); transform: scale(0); transition: transform .62s cubic-bezier(.2, .7, .2, 1); }
.tile.on::before { transform: scale(420); }
.tile.on { color: var(--on-signal); }
.tile > * { position: relative; }
.tile .hint { font-size: 12.5px; font-weight: 600; opacity: .7; max-width: 70%; }
.tile .power { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--deep); display: grid; place-items: center; transition: background .35s; }
.tile.on .power { background: var(--on-signal); }
.tile .power svg { width: 22px; height: 22px; stroke: var(--muted); transition: stroke .35s; }
.tile.on .power svg { stroke: var(--signal); }
.tile .state { margin-top: auto; font: 700 30px/1.05 var(--display); letter-spacing: -.03em; }
.tile .where { margin-top: 8px; font-size: 13.5px; font-weight: 600; opacity: .8; font-variant-numeric: tabular-nums; }
.pcard { background: var(--surface); border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.pcard .head { display: flex; align-items: center; gap: 8px; font: 700 13px var(--display); }
.pcard .head i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.pcard .head span { margin-left: auto; font: 700 11px var(--body); color: var(--signal); background: var(--deep); padding: 5px 9px; border-radius: 999px; }
.gauges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gauge { background: var(--deep); border-radius: 12px; padding: 9px 9px 10px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.gauge small { font-size: 10px; font-weight: 600; color: var(--muted); }
.gauge b { font: 700 17px/1 var(--display); white-space: nowrap; }
.gauge b em { font: 600 10px var(--body); color: var(--muted); font-style: normal; margin-left: 3px; }
.gauge u { display: block; height: 4px; border-radius: 2px; background: var(--line); text-decoration: none; overflow: hidden; }
.gauge u::after { content: ""; display: block; height: 100%; width: var(--w, 100%); background: var(--signal); border-radius: 2px; }
.prow { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 16px; padding: 11px 12px; font-size: 13.5px; font-weight: 600; }
.prow .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--signal); color: var(--on-signal); display: grid; place-items: center; font-size: 14px; flex: none; }
.prow .ms { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.prow.best { box-shadow: inset 0 0 0 2px var(--signal); background: linear-gradient(90deg, #5a4416, var(--surface) 80%); }

/* compare */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .pair { grid-template-columns: 1fr; } }
.case { border-radius: 26px; padding: 24px; background: var(--ground); display: flex; flex-direction: column; gap: 14px; }
.case.bad h3 { color: var(--fault); }
.case.good { box-shadow: inset 0 0 0 2px var(--signal); }
.case.good h3 { color: var(--signal); }
.wire { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.wire span { padding: 8px 12px; border-radius: 999px; background: var(--line); white-space: nowrap; }
.wire i { flex: 1 1 20px; min-width: 20px; height: 3px; border-radius: 2px; }
.bad .wire i { background: repeating-linear-gradient(90deg, var(--fault) 0 6px, transparent 6px 11px); }
.good .wire i { background: var(--signal); }
.good .wire .mask { background: var(--signal); color: var(--on-signal); }

/* reasons */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 820px) { .reasons { grid-template-columns: 1fr; } }
.reason { display: flex; flex-direction: column; gap: 10px; }
.reason svg { width: 56px; height: 56px; }
.reason h3 { font-size: 19px; }
.note { border-radius: 20px; padding: 18px 22px; background: rgba(27, 20, 3, .12); max-width: 46em; }

/* features */
.feats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.feat { grid-column: span 2; border-radius: 24px; padding: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feat.big { grid-column: span 3; }
.feat p { color: var(--muted); font-size: 16px; }
.feat.star { background: linear-gradient(110deg, #5a4416, var(--surface) 70%); box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .4); }
.feat.star h3 { color: var(--signal); }
@media (max-width: 820px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feat, .feat.big { grid-column: span 1; } .feat.big { grid-column: 1 / -1; } }
@media (max-width: 480px) { .feats { grid-template-columns: 1fr; } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: var(--ground); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: counter(s); width: 46px; height: 46px; border-radius: 50%; background: var(--signal); color: var(--on-signal); display: grid; place-items: center; font: 800 19px var(--display); }
.steps p { color: var(--muted); font-size: 16px; }

/* faq */
.faq { max-width: 780px; }
details { background: var(--surface); border-radius: 20px; padding: 0 22px; }
details + details { margin-top: 10px; }
summary { list-style: none; cursor: pointer; padding: 19px 34px 19px 0; font-weight: 700; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 13px; font: 500 26px var(--display); color: var(--signal); }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 20px; color: var(--muted); }

/* download */
.get { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
@media (max-width: 760px) { .get { grid-template-columns: 1fr; } }
.get .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.foot { padding-block: 36px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.foot .brand { color: var(--text); font-size: 16px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 48px); }
.legal h2 { font-size: 22px; margin-top: 18px; }
.legal p, .legal li { color: #d9d5cb; }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal .date { color: var(--muted); font-size: 15px; }
.legal a { color: var(--signal); }
.box { background: var(--surface); border-radius: 20px; padding: 20px 22px; }

/* arrival */
.rise { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .rise:not(.seen) { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route .go { animation: none; }
  .js .rise:not(.seen) { opacity: 1; transform: none; }
  .tile::before { transition: none; }
}

@media print { .js .rise:not(.seen) { opacity: 1; transform: none; } }
