:root {
  color-scheme: light;
  --bg: #F4E6C4;
  --bg2: #EEDCB3;
  --panel: #FAF1DC;
  --panel2: #FFF8EA;
  --line: rgba(11,11,18,.10);
  --line2: rgba(11,11,18,.18);
  --ink: #0B0B12;
  --muted: #564E40;
  --dim: #6E624B;
  --gold: #7D5A1E;
  --gold2: #93682A;
  --goldline: rgba(125,90,30,.32);
  --violet: #5A4AD4;
  --live: #1F9D66;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gut: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1; }
h1 em, h2 em { color: var(--gold2); }
h3 { font: 600 20px/1.25 var(--sans); letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(31,157,102,.16); flex: none; display: inline-block; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #23222C, #0B0B12); color: #F4E6C4;
  font: 600 16px/1 var(--sans); text-decoration: none;
  box-shadow: 0 12px 28px -14px rgba(11,11,18,.6), inset 0 1px 0 rgba(255,255,255,.12);
  transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.25); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); filter: none; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(244,230,196,.8); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 17px/1 var(--sans); letter-spacing: .24em; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* hero */
.hero { position: relative; padding: 36px 0 32px; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -120px 0 auto; height: 900px; background: radial-gradient(50% 45% at 72% 40%, rgba(255,250,236,.95), transparent 70%), radial-gradient(35% 35% at 18% 8%, rgba(125,90,30,.09), transparent 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--goldline); background: rgba(255,250,236,.55); color: var(--gold); font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { font-size: clamp(50px, 6.4vw, 108px); line-height: .95; letter-spacing: -.025em; margin: 24px 0 0; max-width: 11ch; text-wrap: balance; }
.lede { margin-top: 22px; font-size: clamp(17px, 1.25vw, 20px); color: var(--muted); max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--dim); }

/* phones */
.ph { container-type: inline-size; position: relative; aspect-ratio: 9 / 19.4; border-radius: 16% / 7.4%; background: #050508; padding: 3.2%; box-shadow: 0 0 0 1px #2C2C3A, 0 0 0 3px #0E0E16, 0 40px 70px -30px rgba(60,40,10,.55); }
.ph::before { content: ""; position: absolute; z-index: 3; top: 4.4%; left: 50%; width: 30%; height: 3.3%; transform: translateX(-50%); background: #000; border-radius: 99px; }
.scr { position: relative; height: 100%; border-radius: 13.5% / 6.3%; overflow: hidden; background: #1a1a24; }
.scr img { width: 100%; height: 100%; object-fit: cover; }
.ui { position: absolute; inset: 0; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 22%, transparent 55%, rgba(0,0,0,.75)); }
.live { position: absolute; top: 12%; left: 7%; display: inline-flex; align-items: center; gap: .5em; padding: .45em .8em; border-radius: 99px; background: rgba(0,0,0,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 600 max(8px, 5.4cqi)/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.live i { width: .6em; height: .6em; border-radius: 50%; background: #2BD48A; box-shadow: 0 0 .6em #2BD48A; }
.views { position: absolute; top: 20%; left: 7%; }
.views b { display: block; font: 400 max(20px, 16cqi)/1 var(--serif); font-variant-numeric: tabular-nums; }
.views small { font: 600 max(7px, 4.6cqi)/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.rail { position: absolute; right: 5%; bottom: 23%; display: flex; flex-direction: column; gap: 1.1em; align-items: center; font: 600 max(7px, 5cqi)/1 var(--sans); }
.rail span { display: flex; flex-direction: column; align-items: center; gap: .35em; }
.rail svg { width: max(14px, 12cqi); height: max(14px, 12cqi); filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.cap { position: absolute; left: 7%; right: 24%; bottom: 7%; }
.cap b { display: block; font: 700 max(8px, 6.2cqi)/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cap p { margin-top: .35em; font: 400 max(7px, 5.3cqi)/1.3 var(--sans); opacity: .9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.fan { position: relative; margin: 0; aspect-ratio: 1 / .92; }
.fan .ph { position: absolute; top: 50%; left: 50%; }
.fan .p-c  { width: 38%; transform: translate(-50%, -52%); z-index: 5; box-shadow: 0 0 0 1px #3A3A4C, 0 0 0 3px #0E0E16, 0 50px 80px -30px rgba(60,40,10,.6); }
.fan .p-s1 { width: 30%; transform: translate(-112%, -47%) rotate(-7deg); z-index: 4; }
.fan .p-s2 { width: 30%; transform: translate(12%, -47%) rotate(7deg); z-index: 4; }
.fan .p-o1 { width: 25%; transform: translate(-190%, -42%) rotate(-13deg); z-index: 3; opacity: .85; }
.fan .p-o2 { width: 25%; transform: translate(90%, -42%) rotate(13deg); z-index: 3; opacity: .85; }
.fan figcaption { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 12.5px; color: var(--dim); }

.stats { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--goldline); border-radius: 22px; background: linear-gradient(180deg, rgba(255,250,236,.7), rgba(255,250,236,.35)); overflow: hidden; }
.stats li { padding: 22px 26px 24px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; font: 400 clamp(38px, 3.6vw, 56px)/1 var(--serif); color: var(--gold2); }
.stats span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); max-width: 22ch; }

/* sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 980px; margin-bottom: 32px; }
.sec-head h2, .faq-wrap h2, .iphone h2, .book h2 { font-size: clamp(40px, 4.4vw, 68px); }
.sec-head > p:not(.kicker) { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 40em; }

/* demo board */
.demo { position: relative; isolation: isolate; }
.demo::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(40% 30% at 80% 20%, rgba(255,250,236,.8), transparent 70%); }
.swipe { display: none; }
.board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 22px; min-width: 0; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -30px rgba(60,40,10,.35); }
.panel header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.panel h3 { font: 400 26px/1 var(--serif); letter-spacing: 0; }
.step { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--sans); color: var(--bg); background: var(--ink); flex: none; }
.who { margin-left: auto; font-size: 12.5px; color: var(--dim); text-align: right; }
.p-research, .p-queue, .p-phones { grid-column: span 4; }
.p-board { grid-column: span 5; }
.p-top { grid-column: span 7; }
@media (min-width: 1081px) {
  /* top videos fill the row beside the leaderboard like a strip of phone screens */
  .p-top { display: flex; flex-direction: column; }
  .p-top .tops { flex: 1; gap: 10px; }
  .p-top .tops li { aspect-ratio: auto; min-height: 180px; }
  .p-top .tops b { font-size: 22px; left: 10px; }
  .p-top .tops .pl { top: 8px; left: 8px; font-size: 10px; }
  .ranks li { grid-template-columns: 22px 34px 120px minmax(0, 1fr) 56px; }
}

.url { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); font-weight: 600; }
.url em { margin-left: auto; font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(125,90,30,.22); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.finds { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.finds li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(11,11,18,.035); font-size: 15px; color: var(--muted); transition: color .3s, background .3s; }
.finds svg { width: 18px; height: 18px; color: var(--dim); flex: none; transition: color .3s; }
.finds li.on { color: var(--ink); background: rgba(125,90,30,.1); }
.finds li.on svg { color: var(--gold); }

.queue, .devices, .ranks, .tops { list-style: none; margin: 0; padding: 0; }
.queue { display: grid; gap: 10px; }
.queue li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 14px; background: rgba(11,11,18,.035); }
.queue li > img { width: 44px; height: 64px; border-radius: 8px; object-fit: cover; }
.queue b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue small { display: flex; align-items: center; gap: 7px; margin-top: 5px; font-size: 13px; color: var(--muted); }
.queue small img { width: 18px; height: 18px; border-radius: 50%; }
.st { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; white-space: nowrap; transition: background .3s, color .3s; }
.st[data-s="0"] { background: rgba(11,11,18,.07); color: var(--muted); }
.st[data-s="1"] { background: rgba(90,74,212,.12); color: #4436B8; }
.st[data-s="2"] { background: rgba(125,90,30,.13); color: var(--gold); }
.st[data-s="3"] { background: rgba(31,157,102,.14); color: #146B45; }

.online { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin: -4px 0 14px; }
.online b { color: var(--ink); font-weight: 600; }
.devices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.devices li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px 10px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(11,11,18,.035); }
.devices img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.devices b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.devices small { display: block; font-size: 12px; color: var(--dim); }
.ds { grid-column: 1 / -1; justify-self: start; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; transition: color .3s, background .3s; }
.ds::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ds.posting { color: #146B45; background: rgba(31,157,102,.13); }
.ds.engaging { color: #4436B8; background: rgba(90,74,212,.12); }
.ds.idle { color: var(--muted); background: rgba(11,11,18,.06); }

.ranks { display: grid; gap: 9px; counter-reset: r; }
.ranks li { counter-increment: r; display: grid; grid-template-columns: 22px 34px 140px minmax(0, 1fr) 64px; gap: 12px; align-items: center; font-size: 14.5px; }
.ranks li::before { content: counter(r); font: 400 20px/1 var(--serif); color: var(--dim); text-align: center; }
.ranks li:first-child::before { color: var(--gold); }
.ranks img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.ranks b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { height: 8px; border-radius: 999px; background: rgba(11,11,18,.08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(90,74,212,.75), #B08A45); transition: width .8s ease; }
.ranks em { font-style: normal; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.tops { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tops li { position: relative; aspect-ratio: 9 / 13; border-radius: 16px; overflow: hidden; background: var(--bg2); color: #fff; }
.tops img { width: 100%; height: 100%; object-fit: cover; }
.tops li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.8)); }
.tops .pl { position: absolute; z-index: 1; top: 10px; left: 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 5px 8px; border-radius: 99px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tops b { position: absolute; z-index: 1; left: 12px; bottom: 10px; font: 400 30px/1 var(--serif); }
.note { margin-top: 16px; font-size: 13px; color: var(--dim); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--goldline); }
.steps li { counter-increment: step; padding: 24px 32px 26px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 400 italic 38px/1 var(--serif); color: var(--gold); margin-bottom: 12px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.role { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 24px 24px 26px; }
.role-ic { width: 36px; height: 36px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 18px; }
.role p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.role-ai { background: linear-gradient(160deg, rgba(90,74,212,.14), rgba(90,74,212,.04)), var(--panel); border-color: rgba(90,74,212,.3); }
.role-ai .role-ic { stroke: var(--violet); }

/* iphone */
.iphone-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.iphone-copy > p:not(.kicker) { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 34em; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--bg); background: var(--ink); border-radius: 50%; padding: 4px; margin-top: 1px; }
.duo-ph { position: relative; aspect-ratio: 1 / 1.05; width: 100%; max-width: 440px; justify-self: center; }
.duo-ph .ph { position: absolute; }
.duo-ph .p-back { width: 44%; left: 12%; top: 4%; transform: rotate(-6deg); opacity: .85; }
.duo-ph .p-front { width: 50%; right: 10%; top: 0; transform: rotate(4deg); box-shadow: 0 0 0 1px #3A3A4C, 0 0 0 3px #0E0E16, 0 50px 80px -30px rgba(60,40,10,.6); }

/* niches */
.mosaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.mosaic li { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--bg2); color: #fff; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic li:hover img { transform: scale(1.04); }
.mosaic li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.78)); }
.mosaic span { position: absolute; z-index: 1; left: 14px; right: 10px; bottom: 12px; font: 400 21px/1.05 var(--serif); }
.chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255,250,236,.5); font-size: 15px; color: var(--ink); }
.platforms { margin-top: 20px; color: var(--muted); }

/* faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.faq { border-top: 1px solid var(--goldline); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 400 23px/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
.faq details p { padding: 0 44px 22px 0; color: var(--muted); max-width: 40em; }

/* booking form */
.book { background: var(--bg2); border-top: 1px solid var(--line); }
.book-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.book-copy > p:not(.kicker) { margin-top: 16px; font-size: 18px; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--panel); border: 1px solid var(--line); padding: 28px; border-radius: 26px; box-shadow: 0 24px 50px -36px rgba(60,40,10,.45); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14.5px; }
.opt { font-weight: 400; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: var(--panel2); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; min-height: 50px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); opacity: .8; }
.field textarea { resize: vertical; min-height: 104px; }
.field select { appearance: none; -webkit-appearance: none; background: var(--panel2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237D5A1E' stroke-width='1.6'/%3E%3C/svg%3E") right 16px center/12px no-repeat; padding-right: 40px; }
.field select option { background: #FFF8EA; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(125,90,30,.16); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form-status { font-size: 15px; }
.form-status.ok { color: #146B45; font-weight: 600; }
.form-status.err { color: #A4281C; font-weight: 600; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* footer */
.foot { border-top: 1px solid var(--line); color: var(--muted); padding: 32px 0 40px; font-size: 14.5px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot .brand { font-size: 15px; }
.foot .copy { margin-left: auto; font-size: 13.5px; color: var(--dim); }

.mbar { display: none; }

/* wide screens */
@media (min-width: 1700px) { :root { --wrap: 1440px; } body { font-size: 18px; } }
@media (min-width: 2200px) { :root { --wrap: 1680px; } body { font-size: 19px; } }

/* tablet */
@media (max-width: 1080px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .hero-in { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { max-width: 13ch; }
  .fan { max-width: 640px; width: 100%; margin: 0 auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  /* demo board becomes a swipeable row of stages */
  .swipe { display: block; margin: -16px 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
  .board { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 10px; scroll-padding: 0 var(--gut); scrollbar-width: none; overscroll-behavior-x: contain; }
  .board::-webkit-scrollbar { display: none; }
  .panel { flex: 0 0 min(88%, 540px); scroll-snap-align: start; }
  .tops { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tops b { font-size: 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .iphone-in, .book-in, .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .duo-ph { max-width: 420px; }
}

/* phone */
@media (max-width: 640px) {
  :root { --gut: 18px; }
  body { font-size: 16px; }
  .top-in { height: 62px; }
  .top .btn-sm { display: none; }
  .hero { padding: 24px 0 20px; }
  .hero h1 { margin-top: 20px; }
  .lede { margin-top: 18px; }
  .hero-cta { margin-top: 24px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .fan { aspect-ratio: 1 / 1.05; margin-bottom: 20px; }
  .fan figcaption { bottom: -20px; }
  .fan .p-o1, .fan .p-o2 { display: none; }
  .fan .p-c { width: 48%; }
  .fan .p-s1 { width: 38%; transform: translate(-100%, -46%) rotate(-7deg); }
  .fan .p-s2 { width: 38%; transform: translate(0%, -46%) rotate(7deg); }
  .stats { margin-top: 24px; }
  .stats li { padding: 18px 16px 20px; }
  .section { padding: 52px 0; }
  .sec-head { margin-bottom: 26px; }
  .sec-head > p:not(.kicker) { font-size: 16.5px; }
  .swipe { margin-top: -8px; }
  .panel { padding: 18px 16px; border-radius: 18px; }
  .who { display: none; }
  .devices { gap: 6px; }
  .devices li { padding: 9px; }
  .pill { letter-spacing: .1em; font-size: 11px; padding: 8px 13px; }
  .ranks li { grid-template-columns: 18px 30px minmax(0, 1fr) 56px; }
  .ranks .bar { display: none; }
  .ranks img { width: 30px; height: 30px; }
  .tops b { font-size: 21px; left: 9px; bottom: 8px; }
  .tops .pl { top: 7px; left: 7px; font-size: 10px; }
  /* steps and roles: number or icon beside the text */
  .steps, .team { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 46px minmax(0, 1fr); padding: 16px 0 18px; }
  .steps li::before { grid-row: span 2; margin: 0; font-size: 30px; }
  .steps p { margin-top: 4px; font-size: 15.5px; }
  .team { gap: 10px; }
  .role { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 16px; padding: 18px; border-radius: 18px; }
  .role-ic { grid-row: span 2; width: 32px; height: 32px; margin: 2px 0 0; }
  .role h3 { font-size: 18px; }
  .role p { margin-top: 4px; font-size: 15px; }
  .ticks { margin-top: 20px; }
  .duo-ph { max-width: 300px; }
  .iphone-in { gap: 28px; }
  /* niches become a swipeable strip */
  .mosaic { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); scroll-padding: 0 var(--gut); scrollbar-width: none; }
  .mosaic::-webkit-scrollbar { display: none; }
  .mosaic li { flex: 0 0 40%; scroll-snap-align: start; }
  .mosaic span { font-size: 19px; left: 12px; bottom: 11px; }
  .chips { gap: 8px; }
  .chips li { padding: 8px 14px; font-size: 14px; }
  .faq summary { font-size: 21px; padding: 17px 40px 17px 0; }
  .form { grid-template-columns: 1fr; gap: 14px; padding: 20px; border-radius: 20px; }
  .form-foot .btn { flex: 1 1 100%; }
  .book-in { gap: 28px; }
  .book .ticks { display: none; }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .foot .copy { margin-left: 0; }
  .mbar {
    display: flex; align-items: center; justify-content: center;
    position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    min-height: 52px; border-radius: 999px; background: linear-gradient(180deg, #23222C, #0B0B12); color: #F4E6C4;
    font-weight: 600; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(11,11,18,.55);
    transition: transform .25s, opacity .25s;
  }
  .mbar.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .spin { animation: none; }
  .bar i, .mbar, .faq summary::after, .mosaic img, .finds li, .st, .ds { transition: none; }
}
