/* Remolo — the app's own system on the web.
   One texture: the dot grid (icons, numbers, the Mac screen, photos printing in dots).
   One accent per screen. Three type sizes. Everything else stays still. */

/* ---------- Tokens ---------- */
:root {
  --trackpad: #b4a5ff;
  --slides: #ff6a2b;
  --cinema: #4c7dff;
  --buttons: #c6f432;
  --radius: 22px;
  --radius-lg: 28px;
  --gutter: 20px;
  --section: clamp(88px, 11vw, 150px);
  --font: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Type: display, title, body, small. Nothing else. */
  --t-display: clamp(40px, 6.6vw, 84px);
  --t-title: clamp(34px, 4.6vw, 58px);
  --t-body: clamp(17px, 1.45vw, 20px);
  --t-small: 15px;
  color-scheme: dark;
}
:root, .dark {
  --bg: #000;
  --ink: #f2f2f0;
  --secondary: #8e8e8b;
  --hairline: #222;
  --surface: #111;
  --raised: #1c1c1c;
  --tick: #3a3a38;
  --dot: rgba(255, 255, 255, .13);
}
.light {
  --bg: #f2f2f0;
  --ink: #0b0b0b;
  --secondary: #6a6a67;
  --hairline: #d6d5d0;
  --surface: #e6e5e1;
  --raised: #dcdbd6;
  --tick: #c4c3be;
  --dot: rgba(0, 0, 0, .13);
  color-scheme: light;
}
section, .light { background: var(--bg); color: var(--ink); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: #000; color: var(--ink); font: var(--t-body)/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, picture, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--tick); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent, var(--trackpad)); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; margin: 0; line-height: 1.02; text-wrap: balance; }
h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-title); }
h3 { font-size: var(--t-body); letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
b { font-weight: 600; color: var(--ink); }
.muted { color: var(--secondary); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 30; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 99px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
section { padding: var(--section) 0; }
.lead { font-size: var(--t-body); color: var(--secondary); max-width: 32em; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.86); }
@supports (backdrop-filter: blur(1px)) { .top { background: rgba(0,0,0,.6); backdrop-filter: saturate(1.4) blur(18px); } }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { display: inline-flex; color: #f2f2f0; text-decoration: none; }
.top .logo svg { width: auto; height: 17px; }
.nav { display: none; gap: 30px; font-size: var(--t-small); }
.nav a { text-decoration: none; color: #8e8e8b; transition: color .2s; }
.nav a:hover { color: #f2f2f0; }
.top-actions { display: flex; align-items: center; gap: 6px; }
.langs { position: relative; }
.langs summary { list-style: none; min-width: 40px; height: 36px; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #8e8e8b; border-radius: 99px; cursor: pointer; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { color: #f2f2f0; }
.langs-sheet { position: absolute; right: 0; top: 44px; min-width: 168px; padding: 8px; display: grid; background: #111; border: 1px solid #262626; border-radius: 14px; }
.langs-sheet a { padding: 9px 12px; border-radius: 8px; font-size: 15px; text-decoration: none; color: #b5b5b0; }
.langs-sheet a:hover { background: #1c1c1c; color: #f2f2f0; }
.langs-sheet a[aria-current] { color: #f2f2f0; }
.menu summary { list-style: none; width: 40px; height: 36px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 1.5px; background: #f2f2f0; border-radius: 2px; transition: transform .2s; }
.menu[open] summary span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu-sheet { position: absolute; left: 0; right: 0; top: 60px; background: #000; padding: 8px var(--gutter) 28px; display: grid; }
.menu-sheet a { padding: 14px 0; font-size: 24px; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; color: #f2f2f0; }
@media (min-width: 900px) { .nav { display: flex; } .menu { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 99px; font: 600 16px var(--font); text-decoration: none; transition: transform .15s var(--ease), opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.top .btn-ink { background: #f2f2f0; color: #000; }
.store { display: flex; flex-wrap: wrap; gap: 10px; }
.store.center { justify-content: center; }
.more { display: inline-block; font-weight: 600; font-size: var(--t-small); text-decoration: none; color: var(--ink); }
.more::after { content: " →"; }

/* ---------- Dot lettering and icons (canvas, drawn by site.js) ---------- */
:where(canvas[data-matrix]) { width: 100%; height: auto; touch-action: pan-y; }
.icon { width: clamp(96px, 10vw, 128px); }
.mtext { display: inline-block; position: relative; }
.mtext canvas { height: 100%; width: auto; }
.mtext-plain { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html:not(.js) .mtext { height: auto !important; }
html:not(.js) .mtext canvas { display: none; }
html:not(.js) .mtext-plain { position: static; width: auto; height: auto; clip: auto; font: 600 48px/1 var(--font-display); }

/* ---------- Hero: the phone drives the Mac ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 var(--section); text-align: center; }
.hero h1 { max-width: 11.5em; margin: 0 auto; }
.hero .lead { margin: 22px auto 34px; }
.stage { margin: clamp(56px, 8vw, 96px) auto 0; max-width: 1040px; }
.stage-device { position: relative; padding-right: 16%; padding-bottom: 7%; }
.mac-frame { border-radius: 2.2% / 3.4%; padding: 1.4%; background: #0b0b0b; border: 1px solid #262626; }
.mac-frame canvas { border-radius: 4px; background: #000; cursor: crosshair; --dot: rgba(255,255,255,.085); }
.mac-base { height: 0; padding-bottom: 2.2%; margin: 0 -4.5%; background: #0b0b0b; border: 1px solid #262626; border-top-color: #333; border-radius: 0 0 40% 40% / 0 0 100% 100%; }
.stage-phone { position: absolute; right: 0; bottom: 0; width: 24%; aspect-ratio: 1206 / 2622; padding: 1%; border-radius: 17% / 7.9%; background: #0b0b0b; border: 1px solid #2c2c2c; box-shadow: 0 30px 60px rgba(0,0,0,.7); }
.screens { position: relative; width: 100%; height: 100%; border-radius: 15% / 6.9%; overflow: hidden; background: #000; }
.screen { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.screen.on { opacity: 1; }
.screen picture, .screen img { width: 100%; height: 100%; object-fit: cover; }
.touch { position: absolute; width: 17%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.22); border: 1.5px solid rgba(255,255,255,.75); opacity: 0; pointer-events: none; transition: opacity .2s, transform .12s; transform: translate(-50%, -50%); }
@media (max-width: 759px) { .stage-device { padding-right: 20%; padding-bottom: 12%; } .stage-phone { width: 30%; } }

/* Hero: the Mac at home, the phone on the go, a live route between them. */
.hero-remote .stage-device { padding: 0 37% 0 0; margin-bottom: 44px; }
.stage-mac { position: relative; }
.hero-remote .stage-phone { width: 22.5%; bottom: 0; }
.route { position: absolute; left: 61.5%; width: 17%; bottom: 27%; --dot: transparent; pointer-events: none; }
.place { position: absolute; left: 50%; top: calc(100% + 16px); transform: translateX(-50%); white-space: nowrap; font-size: 13px; color: var(--secondary); }
@media (max-width: 759px) {
  .hero-remote .stage { margin-top: 88px; }
  .hero-remote .stage-device { padding-right: 40%; margin-bottom: 40px; }
  .hero-remote .stage-phone { width: 27%; }
  .route { left: 59%; width: 15%; bottom: 30%; }
  .place { font-size: 11px; top: calc(100% + 10px); }
}

.mode-tabs { display: flex; justify-content: center; gap: clamp(14px, 4vw, 40px); margin-top: 40px; }
.mode-tab { appearance: none; border: 0; background: none; padding: 6px; cursor: pointer; display: grid; gap: 12px; justify-items: center; }
.mode-tab .tab-icon { width: 52px; }
.mode-tab:not(.on) .tab-icon { --accent: #77776f; }
.mode-tab .bar { width: 52px; height: 2px; border-radius: 2px; background: var(--hairline); overflow: hidden; }
.mode-tab .bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.mode-tab.on .bar i { animation: fill 5.2s linear forwards; }
.paused .mode-tab.on .bar i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.stage-caption { margin-top: 18px; min-height: 1.5em; color: var(--secondary); }

/* ---------- Section head: icon, title, one paragraph ---------- */
.head { display: grid; gap: 22px; justify-items: start; }
.head p { color: var(--secondary); max-width: 32em; }
@media (min-width: 960px) {
  .head { grid-template-columns: 1fr 1fr; column-gap: 72px; align-items: end; }
  .head .icon { grid-column: 1 / -1; margin-bottom: 26px; }
  .head h2 { max-width: 11em; }
}

/* ---------- Mode: photo and real screen side by side ---------- */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.shot { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.shot picture, .shot img { width: 100%; height: 100%; object-fit: cover; }
.shot.panel { display: grid; place-items: center; background-color: #0b0b0b; background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.6px); background-size: 12px 12px; background-position: 6px 6px; }
.shot.panel .phone { width: 47%; }
@media (max-width: 759px) {
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; }
  .shot.panel .phone { width: 52%; }
}

/* Lists as lines: point in ink, detail in grey, one size. */
.lines { list-style: none; margin: 40px 0 0; padding: 0; display: grid; color: var(--secondary); }
.lines li { padding: 18px 0; border-top: 1px solid var(--hairline); }
@media (min-width: 760px) { .lines { grid-template-columns: repeat(3, 1fr); column-gap: 40px; } }

/* Cells: a dot icon (or dot numeral) over a line of text. */
.cells { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; gap: 44px; color: var(--secondary); }
.cells li { display: grid; gap: 20px; align-content: start; justify-items: start; }
.cells .icon { width: 72px; }
@media (min-width: 760px) { .cells { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.cells + .more { margin-top: 48px; }

/* ---------- Capabilities: the list, the Mac and the real screen ---------- */
.caps { display: grid; gap: 36px; margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 960px) { .caps { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; } .caps-list { order: -1; } }
.caps-stage { position: relative; aspect-ratio: 1 / .8; }
.cs-mac { position: absolute; left: 0; top: 16%; width: 70%; }
.cs-phone { position: absolute; right: 0; top: 0; width: 37%; aspect-ratio: 1206 / 2622; padding: 1.3%; border-radius: 17% / 7.9%; background: #0b0b0b; border: 1px solid #2c2c2c; box-shadow: 0 30px 60px rgba(0,0,0,.7); }
.cap-media { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.cap-media.on { opacity: 1; }
.cap-media video, .cap-media picture, .cap-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.side-btn { position: absolute; left: -4px; top: 21%; width: 3px; height: 7%; border-radius: 2px; background: var(--accent); opacity: 0; transition: opacity .15s; }
.side-btn.on { opacity: 1; }
.caps-list { list-style: none; margin: 0; padding: 0; display: grid; font-size: 17px; }
.cap { appearance: none; background: none; border: 0; border-top: 1px solid var(--hairline); width: 100%; text-align: left; padding: 17px 0; cursor: pointer; display: grid; gap: 6px; color: var(--secondary); font: inherit; position: relative; }
.cap-t { font-weight: 600; transition: color .2s; }
.cap.on .cap-t, .cap:hover .cap-t { color: var(--ink); }
.cap-d { display: none; max-width: 30em; }
.cap.on .cap-d { display: block; }
.cap-bar { position: absolute; left: 0; right: 0; top: -1px; height: 1px; }
.cap-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--accent); }
.cap:not(.on) .cap-bar { display: none; }
/* The app's own PRO mark. */
.pro { display: inline-block; margin-left: 6px; padding: 0 5px; height: 15px; line-height: 15px; border-radius: 99px; background: var(--accent); color: #000; font-size: 9px; font-weight: 800; letter-spacing: .06em; vertical-align: 2px; }
@media (max-width: 959px) { .caps-stage { max-width: 560px; width: 100%; margin: 0 auto; } }

/* Photos, each placed differently down the page for rhythm:
   a wide band that opens a section, a photo beside its heading, a band that closes one,
   and one photo carrying the final words. Clean edges, nothing drawn over them. */
.bleed { margin: 0; width: 100%; overflow: hidden; background: var(--surface); }
.bleed picture, .bleed img, .inset picture, .inset img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.bleed.wide { aspect-ratio: 21 / 9; }
.bleed.tall { aspect-ratio: 16 / 9; }
section.photo-top { padding-top: 0; }
section.photo-end { padding-bottom: 0; }
.inset { margin: 0; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; background: var(--surface); }
.split { display: grid; gap: 40px; align-items: center; }
.split > .head { grid-template-columns: none; }
.split > .head .icon { grid-column: auto; }
@media (min-width: 960px) {
  .split { grid-template-columns: 7fr 5fr; gap: 72px; }
  .split.rev { grid-template-columns: 5fr 7fr; }
  .split.rev > .inset { order: 2; }
}
@media (max-width: 759px) { .bleed.wide, .bleed.tall { aspect-ratio: 4 / 5; } .inset { aspect-ratio: 4 / 5; } }

/* A photo with a solid panel of content on its free side. */
.band { position: relative; }
.panel { border-radius: var(--radius-lg); padding: clamp(28px, 3.2vw, 48px); display: grid; gap: 22px; justify-items: start; }
.panel-dark { background: #000; color: #f2f2f0; --bg: #000; --ink: #f2f2f0; --secondary: #8e8e8b; --hairline: #262626; --dot: rgba(255,255,255,.13); }
.panel-light { background: #f2f2f0; color: #0b0b0b; --bg: #f2f2f0; --ink: #0b0b0b; --secondary: #6a6a67; --hairline: #d6d5d0; --dot: rgba(0,0,0,.13); --accent: #0b0b0b; }
.panel .head { grid-template-columns: none; gap: 18px; }
.panel .head .icon { grid-column: auto; margin: 0 0 6px; width: clamp(72px, 7vw, 96px); }
.panel h2 { font-size: clamp(32px, 3.6vw, 48px); }
.panel h3 { font-size: clamp(24px, 2.4vw, 30px); }
.panel p { color: var(--secondary); }
.panel .lines { margin: 0; grid-template-columns: none; justify-self: stretch; }
.panel .lines li { padding: 14px 0; }
.panel .logo-big { height: clamp(40px, 4.4vw, 64px); }
@media (min-width: 960px) {
  .band .bleed { min-height: 640px; }
  .band .panel { position: absolute; bottom: clamp(32px, 4vw, 64px); width: min(440px, 36vw); left: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))); }
  .band-right .panel { left: auto; right: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))); }
}
@media (max-width: 959px) { .band .panel { position: relative; margin: -56px var(--gutter) 0; } }
section.photo-top > .band + .wrap { padding-top: clamp(64px, 8vw, 120px); }
section.photo-end > .band { margin-top: clamp(72px, 9vw, 140px); }
.final-band { padding: 0 0 clamp(64px, 8vw, 120px); background: #000; }

/* Blocks rise in softly as they reach the screen. Photos open from a slight zoom. */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .bleed img, .js .inset img { transform: scale(1.08); transition: transform 1.8s var(--ease); }
.js .bleed.in img, .js .inset.in img { transform: none; }
.js .panel[data-reveal] { transform: translateY(48px); transition-delay: .25s; }
.js .panel[data-reveal].in { transform: none; }

/* A tall photo beside the moments of use. */
.story { display: grid; gap: 32px; margin-top: clamp(64px, 8vw, 120px); align-items: end; }
.story .shot { aspect-ratio: 4 / 5; }
.story .lines { margin-top: 0; }
@media (min-width: 900px) { .story { grid-template-columns: 5fr 6fr; gap: 72px; } .story .lines { grid-template-columns: none; } }

.mode.compact .caps-stage { max-width: 720px; }
.cells.four { gap: 40px; }
@media (min-width: 760px) { .cells.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cells.four { grid-template-columns: repeat(4, 1fr); } }

/* The Mac's screen on the phone: a dot mirror over the trackpad. */

/* Apple Watch beside its heading. */
.watch { margin: 0; justify-self: center; width: min(340px, 72vw); padding: 5.5%; border-radius: 30% / 26%; background: #0b0b0b; box-shadow: inset 0 0 0 1px #2c2c2c, 0 40px 80px -30px rgba(0,0,0,.45); }
.watch picture, .watch img { display: block; width: 100%; height: auto; border-radius: 24% / 20%; overflow: hidden; }
.watch-feature { margin-top: clamp(72px, 9vw, 128px); }
@media (min-width: 960px) { .split.rev.watch-feature { grid-template-columns: 1fr 1fr; } }
.watch-feature .head { grid-template-columns: none; }
.watch-feature h2 .pro { vertical-align: 10px; height: 18px; line-height: 18px; font-size: 10px; padding: 0 7px; }
.split.rev > .watch { order: 2; }

/* Use cases: one routine per role, shown as the chain it runs. */
.roles { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; gap: 12px; }
.roles li { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); }
.roles .role { font-size: var(--t-small); color: var(--secondary); }
.roles b { font-family: var(--font-display); font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.chain-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chain-row i { font-style: normal; color: var(--secondary); font-size: 14px; }
.chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; line-height: 30px; align-items: center; height: 30px; padding: 0 11px; border-radius: 99px; font-size: 14px; color: var(--ink); background: var(--raised); box-shadow: inset 0 0 0 1px rgba(198,244,50,.35); }
.roles p { color: var(--secondary); }
.roles-note { margin-top: 28px; }
/* The team photo is one tile of the grid: two columns wide, cropped to the people. */
.roles .photo-tile { display: block; padding: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--raised); }
.roles .photo-tile picture, .roles .photo-tile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 74% 55%; }
@media (min-width: 700px) {
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles .photo-tile { grid-column: span 2; aspect-ratio: 16 / 8; }
}
@media (min-width: 1100px) {
  .roles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .roles .photo-tile { aspect-ratio: auto; min-height: 280px; }
}

/* Access from anywhere: the dot scene of home, relay and phone beside the promise. */
.anywhere-visual { border-radius: var(--radius-lg); background: #0b0b0b; padding: 4%; box-shadow: inset 0 0 0 1px #222; }
.anywhere-visual canvas { --dot: rgba(255,255,255,.08); }
.anywhere { margin-top: 0; }
.anywhere-steps { display: grid; gap: 24px; }
.anywhere-steps h3 { font-size: clamp(26px, 2.8vw, 36px); }
.anywhere-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.anywhere-steps li { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; color: var(--secondary); }
.anywhere-steps .step-num { height: 40px; }
.anywhere-cases { margin-top: clamp(56px, 7vw, 96px); }
.anywhere-cases li { gap: 14px; }
.anywhere-cases .icon { width: 64px; }
@media (min-width: 1100px) { .roles.anywhere-cases { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.panel .btn { margin-top: 6px; }
.panel .note { color: var(--secondary); }
.anywhere-note { margin-top: 36px; }
#anywhere .lines { margin-top: clamp(48px, 6vw, 72px); }

/* Print in dots: a photo appears as a halftone that fills in. */
@property --dot-r { syntax: "<length>"; inherits: false; initial-value: 0px; }
.js .print:not(.done) { -webkit-mask: radial-gradient(circle, #000 var(--dot-r), transparent calc(var(--dot-r) + .6px)) 0 0 / 12px 12px; mask: radial-gradient(circle, #000 var(--dot-r), transparent calc(var(--dot-r) + .6px)) 0 0 / 12px 12px; transition: --dot-r 1.5s var(--ease); }
.js .print.in { --dot-r: 9px; }

/* ---------- Mac ---------- */
.mac-shot { margin-top: clamp(48px, 6vw, 72px); }
.mac-shot .mac { border-radius: 12px; }

/* ---------- Steps ---------- */
.steps-row .step-num { height: clamp(52px, 6vw, 76px); }

/* ---------- Plans ---------- */
.plans { display: grid; gap: 64px; margin-top: clamp(48px, 6vw, 72px); }
.plan { display: grid; gap: 22px; align-content: start; justify-items: start; }
.plan h3 { color: var(--secondary); }
.plan .price { height: clamp(52px, 6vw, 76px); }
.plan-note { color: var(--secondary); max-width: 26em; }
.plan ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; justify-self: stretch; }
.plan li { padding: 14px 0; border-top: 1px solid var(--hairline); }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; margin-top: 48px; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; background: radial-gradient(circle, var(--ink) 1.4px, transparent 1.9px) 0 0 / 5px 5px; -webkit-mask: linear-gradient(#000 0 0) 5px 0 / 5px 15px no-repeat, linear-gradient(#000 0 0) 0 5px / 15px 5px no-repeat; mask: linear-gradient(#000 0 0) 5px 0 / 5px 15px no-repeat, linear-gradient(#000 0 0) 0 5px / 15px 5px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--secondary); max-width: 40em; }

/* ---------- Final call ---------- */
.final { text-align: center; }
.final .wrap { display: grid; gap: 34px; justify-items: center; }
.final .logo-big { height: clamp(56px, 11vw, 132px); max-width: 100%; }

/* ======================================================================
   Inner pages (guides, legal) on the same tokens. */
.updated { font-size: 13px; color: var(--secondary); }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.cards { display: grid; gap: 12px; }
@media (min-width: 720px) { .cards.two { grid-template-columns: 1fr 1fr; } .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.four { grid-template-columns: repeat(4, 1fr); } }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--secondary); font-size: 16px; }
.card .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--raised); display: grid; place-items: center; margin-bottom: 16px; color: var(--accent, var(--trackpad)); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; background: var(--surface); border-radius: var(--radius); padding: 20px; }
.steps .num { width: 44px; height: 44px; border-radius: 50%; background: var(--raised); display: grid; place-items: center; color: var(--accent, var(--trackpad)); }
.steps h3 { margin: 10px 0 6px; }
.steps p { color: var(--secondary); }
.steps figure { margin-top: 16px; }
.steps .phone { width: min(240px, 66vw); }
.gestures { display: grid; gap: 1px; background: var(--hairline); border-radius: var(--radius); overflow: hidden; }
.gesture { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; background: var(--surface); padding: 16px 18px; }
.gesture .g-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--raised); display: grid; place-items: center; color: var(--accent, var(--trackpad)); }
.gesture b { display: block; font-weight: 600; }
.gesture span { color: var(--secondary); font-size: 15px; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.table th { color: var(--secondary); font-weight: 500; font-size: 14px; }
.table td:not(:first-child), .table th:not(:first-child) { text-align: center; width: 22%; }
.yes { color: var(--accent, var(--trackpad)); font-weight: 700; }
.no { color: var(--tick); }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prices { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.prices .price { background: var(--surface); border-radius: var(--radius); padding: 18px 10px; text-align: center; display: grid; gap: 4px; border: 2px solid transparent; }
.prices .price.best { border-color: var(--accent, var(--trackpad)); }
.price .p-title { color: var(--secondary); font-size: 14px; }
.price .p-value { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price .p-note { font-size: 12px; color: var(--secondary); }
.prose { display: grid; gap: 18px; font-size: 17px; }
.prose h2 { font-size: 28px; margin-top: 28px; }
.prose h3 { margin-top: 10px; }
.prose p, .prose li { color: var(--secondary); }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
.callout { background: var(--surface); border-radius: var(--radius); padding: 20px 22px; }
figure.shot { margin: 0; display: grid; gap: 10px; aspect-ratio: auto; background: none; border-radius: 0; overflow: visible; }
figure.shot figcaption { font-size: 14px; color: var(--secondary); }
.pill { font-size: 13px; padding: 6px 12px; border-radius: 99px; background: var(--surface); color: var(--ink); }
.photo { border-radius: var(--radius); overflow: hidden; }

/* Phone and Mac frames for screenshots. */
.phone { position: relative; margin: 0; padding: 2.6%; border-radius: 15% / 7%; background: #0b0b0b; border: 1px solid #2a2a2a; }
.phone picture, .phone img, .phone .placeholder { border-radius: 13% / 6%; overflow: hidden; width: 100%; height: auto; }
.mac { margin: 0; border-radius: 14px; border: 1px solid #2a2a2a; overflow: hidden; background: #0b0b0b; }
.mac img { width: 100%; height: auto; }
.placeholder { width: 100%; background: var(--surface); display: grid; place-items: center; padding: 20px; text-align: center; color: var(--secondary); font-size: 13px; border: 1px dashed var(--tick); }

/* ---------- Inner pages: one rhythm for all of them ----------
   Head: generous top, clear gap below. Sections: an even beat between blocks,
   a long rest before the footer. Section titles one step below the page title. */
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--hairline); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--secondary); }
.steps-more { margin-top: 48px; }
.page-head { padding: clamp(72px, 9vw, 128px) var(--gutter) clamp(48px, 6vw, 80px); display: grid; gap: 22px; justify-items: start; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); max-width: 13em; }
.page-head .lead { max-width: 36em; }
.eyebrow { font-size: var(--t-small); font-weight: 600; color: var(--secondary); }
.page main > section { padding-block: clamp(36px, 4.5vw, 64px); }
.page main > section:last-child { padding-bottom: clamp(104px, 12vw, 168px); }
.page main > .page-head + section { padding-top: 0; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(24px, 3vw, 36px); }
.section-head h2, .page .prose h2 { font-size: clamp(28px, 3.2vw, 40px); }
.page .prose h2 { margin-top: 24px; }
.page .prose h2:first-child { margin-top: 0; }
.page .faq { margin-top: 0; }
.page .cards + p, .page .prose + p { margin-top: 24px; }
.page .table + p { margin-top: 20px; }

/* A page that opens like the landing: centred, one button. */
.page-hero { text-align: center; justify-items: center; }
.page-hero .store { justify-content: center; }
.page-hero h1 { margin: 0 auto; }
.page-hero .lead { margin: 0 auto; }
.note { font-size: var(--t-small); color: var(--secondary); }

/* Steps that alternate sides: number and words, then the real screen. */
.flow { list-style: none; margin: 0; padding: 0; display: grid; }
.flow > li { display: grid; gap: 32px; align-items: center; padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--hairline); }
.flow > li:first-child { border-top: 0; padding-top: 0; }
.flow-copy { display: grid; gap: 18px; justify-items: start; max-width: 30em; }
.flow-copy .step-num { height: clamp(44px, 5vw, 64px); }
.flow-copy h2 { font-size: clamp(28px, 3.2vw, 40px); }
.flow-copy p { color: var(--secondary); }
.flow-copy a { color: var(--ink); }
.flow-media { display: grid; justify-items: center; }
.flow-media .phone { width: min(280px, 70vw); }
.flow-media .mac { width: 100%; }
.mac.panel { width: min(300px, 80vw); border-radius: 22px; }
.flow-media video { display: block; width: 100%; height: auto; border-radius: 13% / 6%; }
.dot-panel { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); display: grid; place-items: center; background-color: #0b0b0b; background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.6px); background-size: 12px 12px; background-position: 6px 6px; }
.dot-panel .icon { width: clamp(120px, 14vw, 180px); }
@media (min-width: 900px) {
  .flow > li { grid-template-columns: 1fr 1fr; gap: 72px; }
  .flow > li:nth-child(even) .flow-media { order: -1; }
}

/* ---------- Footer ---------- */
.foot { background: #000; color: #8e8e8b; padding: 40px 0; font-size: 14px; }
.foot-row { display: grid; gap: 22px; }
.foot .logo svg { width: auto; height: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #f2f2f0; }
@media (min-width: 1000px) { .foot-row { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
.plans-more { margin-top: 48px; }
.help-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.help-nav a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 99px; text-decoration: none; font-size: var(--t-small); font-weight: 600; color: var(--ink); background: var(--surface); }
.help-nav a:hover { background: var(--raised); }
.panel > .icon { width: 72px; }
.prices:has(> .price:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }

/* Guest access and the Insider thanks */
#guest .split { align-items: center; }
#guest .head .icon { width: 56px; margin-bottom: 18px; }
.light .guest-visual { background: #0b0b0b; }
#guest .steps-row { margin-top: clamp(48px, 6vw, 72px); }
#insider .head .icon { width: 56px; margin-bottom: 18px; }
.thanks { margin-top: clamp(40px, 5vw, 64px); }
.thanks h3 { font-size: var(--t-small); font-weight: 600; color: var(--secondary); margin: 0 0 14px; }
.thanks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 18px; }
.btn.is-soon { cursor: default; }
.btn.is-soon:hover { transform: none; }
.card-matrix { width: 44px; margin-bottom: 16px; }

/* Launch waitlist: one field and a button in a pill, the note under it. */
.launch { display: grid; gap: 14px; }
.launch.center { justify-items: center; }
.waitlist { display: grid; gap: 10px; width: min(100%, 480px); }
.launch.center .waitlist { justify-items: center; text-align: center; }
.waitlist-row { display: flex; gap: 6px; width: 100%; padding: 5px; border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
.waitlist-row:focus-within { box-shadow: inset 0 0 0 1.5px var(--secondary); }
.waitlist input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 400 16px var(--font); padding: 0 16px; outline: none; }
.waitlist input[type=email]::placeholder { color: var(--secondary); }
.waitlist .btn { min-height: 44px; padding: 0 20px; border: 0; cursor: pointer; }
.waitlist .btn:disabled { opacity: .5; }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist-note { margin: 0; font-size: 14px; color: var(--secondary); }
.waitlist-note a { color: inherit; }
.waitlist-note[data-state=sent], .waitlist-note[data-state=saved] { color: var(--ink); }
.waitlist-page .waitlist { margin-top: 8px; }
.waitlist-page form.store { margin-top: 8px; }
.waitlist-page button.btn { border: 0; cursor: pointer; }
@media (max-width: 480px) {
  .waitlist-row { flex-direction: column; border-radius: 24px; padding: 6px; }
  .waitlist input[type=email] { min-height: 46px; }
  .waitlist .btn { width: 100%; }
}

/* Guides: a list of questions, and each guide in the narrow reading column. */
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide-list a { display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--ink); transition: background .2s; }
.guide-list a:hover { background: var(--raised); }
.guide-list b { font-size: 19px; line-height: 1.3; }
.guide-list span { color: var(--secondary); font-size: 15px; }
.guide .steps { margin: 0 0 8px; }
.guide .section-head { margin-top: clamp(40px, 5vw, 64px); }
.guide-shot { display: grid; justify-items: center; margin: clamp(32px, 4vw, 48px) 0; }
.guide-shot .phone { width: min(300px, 72vw); }
.guide .prose h2 { margin-top: clamp(36px, 4vw, 52px); }
.guide-more ul { padding-left: 1.1em; }
.guide .store { margin-top: clamp(40px, 5vw, 64px); }
.guide .launch { margin-top: clamp(40px, 5vw, 64px); }
.compare-table { min-width: 1080px; font-size: 14px; }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { width: auto; }
.compare-table tbody th { text-align: left; color: var(--ink); font-weight: 600; font-size: 14px; }
.compare-table td.yes { color: var(--ink); font-weight: 600; }
.sources { font-size: 14px; color: var(--secondary); }
.compare-table tbody th, .compare-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); min-width: 150px; }
.waitlist-block { margin-top: clamp(56px, 7vw, 96px); margin-bottom: clamp(40px, 5vw, 64px); }
.waitlist-block .launch { margin-top: 20px; }
.vs-table { min-width: 520px; font-size: 15px; }
.vs-table td:not(:first-child), .vs-table th:not(:first-child) { width: 36%; text-align: left; }
.vs-table tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.changes { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.changes li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.changes time { color: var(--secondary); font-size: 14px; padding-top: 4px; }
.changes h2 { margin: 0 0 8px; font-size: 20px; }
.changes p { margin: 0; color: var(--secondary); }
@media (max-width: 600px) { .changes li { grid-template-columns: 1fr; gap: 6px; } }
