/* 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; }
/* A narrow screen shows a third of the photo: keep the phone in her hand in it, screen and all. */
@media (max-width: 759px) { .final-band .bleed img { object-position: 47% 40%; } }

/* 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: 14px; 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; } }
/* The demo video under the hero: plays only when asked. */
.demo-video { margin-top: clamp(32px, 5vw, 72px); margin-bottom: clamp(32px, 5vw, 72px); }
.demo { margin: 0 auto; max-width: 1080px; }
.demo .yt, .demo iframe { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: #0b0b0b; box-shadow: 0 0 0 1px var(--hairline); }
.demo .yt img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: grid; place-items: center; border-radius: 50%; background: #f2f2f0; color: #0b0b0b; transition: transform .2s; }
.yt-play svg { margin-left: 3px; }
.demo .yt:hover .yt-play, .demo .yt:focus-visible .yt-play { transform: scale(1.08); }
.hero .demo-link { margin: 18px 0 0; text-align: center; font-size: 15px; }
.hero .demo-link a { color: var(--secondary); text-decoration: none; }
.hero .demo-link a:hover { color: inherit; }
.demo figcaption { margin-top: 12px; text-align: center; font-size: 14px; color: var(--secondary); }

/* Mac app cheat sheets (/apps/…) */
kbd { font: 500 14px/1 var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); padding: 5px 8px; border-radius: 8px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); white-space: nowrap; letter-spacing: .02em; }
.app-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.app-toc a { font-size: 14px; padding: 7px 12px; border-radius: 99px; background: var(--surface); text-decoration: none; color: inherit; }
.app-sheet h2 { margin: 44px 0 10px; font-size: 24px; scroll-margin-top: 90px; }
.table.shortcuts td { padding: 12px 6px; }
.table.shortcuts td.keys { text-align: right; width: auto; }
.app-sheet .sources { margin-top: 28px; font-size: 14px; }
.app-iphone { margin-top: 56px; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--surface); }
.app-iphone h2 { margin-top: 0; }
.pad { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pad li { display: grid; gap: 10px; align-content: space-between; min-height: 92px; padding: 14px; border-radius: 18px; background: var(--bg, #000); box-shadow: inset 0 0 0 1px var(--hairline); }
.pad li b { font-weight: 500; font-size: 15px; line-height: 1.2; }
.pad kbd { justify-self: start; font-size: 12px; }
.app-iphone .small { font-size: 14px; margin-top: 14px; }
.app-links { columns: 2; }
@media (max-width: 560px) { .pad { grid-template-columns: repeat(2, 1fr); } .app-links { columns: 1; } }

/* "Only from remolo.app" on /download; the official channels on help and security. */
.callout.verify, .callout.official { display: grid; gap: 12px; color: var(--secondary); }
.callout.verify b, .callout.official b { color: var(--ink); }
.callout.official ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.callout code { font: 500 14px/1.5 var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); color: var(--ink); }
.callout code.hash { overflow-wrap: anywhere; }

/* Hero 2.0: a MacBook and an iPhone drawn in CSS around real pictures (the demo slide and Remolo). */
.devices { position: relative; max-width: 1080px; margin: clamp(56px, 8vw, 96px) auto 0; padding: 0 22% 64px 0; }
.macbook { margin: 0; position: relative; }
.macbook-lid { padding: 1.6% 1.6% 2.2%; border-radius: 2.4% / 3.8%; background: #0b0b0b; border: 1px solid #2a2a2a; box-shadow: 0 0 0 1px #000, 0 40px 80px rgba(0,0,0,.6); }
.macbook-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: #111; }
.macbook-screen picture, .macbook-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.macbook-base { position: relative; height: 0; padding-bottom: 2.6%; margin: 0 -6%; border-radius: 0 0 45% 45% / 0 0 100% 100%; background: #2a2a28; border-top: 1px solid #444; }
.macbook-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 38%; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #121212; }
.iphone { position: absolute; right: 0; bottom: 64px; width: 25%; margin: 0; }
.iphone-body { aspect-ratio: 1206 / 2622; padding: 3.2%; border-radius: 17% / 7.9%; background: #0b0b0b; border: 1px solid #333; box-shadow: 0 0 0 1px #000, 0 30px 60px rgba(0,0,0,.7); }
.iphone-body picture { display: block; width: 100%; height: 100%; border-radius: 14% / 6.5%; overflow: hidden; }
.iphone-body img { display: block; width: 100%; height: 100%; object-fit: cover; }
.devices .route { position: absolute; left: 66%; width: 13%; bottom: 46%; --dot: transparent; pointer-events: none; }
.devices .place { position: absolute; left: 50%; top: calc(100% + 18px); transform: translateX(-50%); white-space: nowrap; font-size: 13px; color: var(--secondary); }
@media (max-width: 759px) {
  .devices { padding: 0 14% 56px 0; }
  .iphone { width: 34%; bottom: 40px; }
  .devices .route { display: none; }
  .devices .place { font-size: 12px; }
}

/* ---------- Features, CleanShot-style: a head row, then cards of mixed width with a live scene each ---------- */
.fx { padding: clamp(80px, 9vw, 128px) 0 0; }
.fx:last-of-type { padding-bottom: clamp(80px, 9vw, 128px); }
.fx-head { display: grid; gap: 20px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.fx-head h2 { max-width: 14em; }
.fx-head p { margin: 16px 0 0; color: var(--secondary); max-width: 34em; }
.fx-head .btn { justify-self: start; }
@media (min-width: 860px) { .fx-head { grid-template-columns: 1fr auto; } .fx-head .btn { justify-self: end; } }
.fx-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .fx-grid { grid-template-columns: repeat(12, 1fr); }
  .fx-grid .c3 { grid-column: span 3; } .fx-grid .c4 { grid-column: span 4; } .fx-grid .c5 { grid-column: span 5; }
  .fx-grid .c7 { grid-column: span 7; } .fx-grid .c8 { grid-column: span 8; }
}
@media (min-width: 600px) and (max-width: 859px) { .fx-grid { grid-template-columns: 1fr 1fr; } .fx-grid .c5, .fx-grid .c7, .fx-grid .c8, .fx-grid .t2 { grid-column: span 2; } }
.fc-wrap { display: grid; }
.fc { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 28px; background: #0d0d0d; border: 1px solid #1c1c1c; min-height: 380px; }
.fc-text { padding: 26px 28px 0; display: grid; gap: 8px; align-content: start; }
.fc-text h3 { font-size: 19px; color: var(--ink); }
.fc-text p { margin: 0; font-size: var(--t-small); color: var(--secondary); max-width: 30em; }
.fc-icon { width: 40px; margin-bottom: 6px; }
.fc-vis { position: relative; display: grid; place-items: center; min-height: 230px; padding: 24px; overflow: hidden;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1.5px); background-size: 14px 14px; background-position: 7px 7px; }
.fx-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.fx-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.fx-mini li { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 24px; background: #0d0d0d; border: 1px solid #1c1c1c; }
.fx-mini h3 { font-size: 17px; }
.fx-mini p { margin: 0; font-size: var(--t-small); color: var(--secondary); }

/* Scenes. Everything is dark, one accent, dots; motion is slow and loops. */
.v-phone { width: min(250px, 70%); aspect-ratio: 1206 / 1900; margin-bottom: -90px; padding: 10px; border-radius: 40px 40px 0 0; background: #050505; border: 1px solid #2c2c2c; border-bottom: 0; }
.v-phone-in { height: 100%; display: grid; grid-template-rows: auto 1fr; gap: 10px; padding: 26px 8px 0; border-radius: 32px 32px 0 0; background: #000; }
.v-phone canvas { width: 100%; border-radius: 8px; background: #000; --dot: rgba(255,255,255,.08); }
.v-pad { position: relative; border-radius: 16px; background-image: radial-gradient(circle, rgba(255,255,255,.1) 1px, transparent 1.5px); background-size: 10px 10px; }
.v-touch { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.75); animation: v-touch 4s var(--ease) infinite; }
@keyframes v-touch { 0%, 100% { left: 30%; top: 30%; } 50% { left: 62%; top: 55%; } }


.v-rotate span { display: block; width: 74px; height: 140px; padding: 6px; border-radius: 18px; border: 1.5px solid #3a3a38; animation: v-rot 5s var(--ease) infinite; }
.v-rotate i { display: block; height: 42%; border-radius: 8px; background: var(--accent); opacity: .9; animation: v-rot-in 5s var(--ease) infinite; }
@keyframes v-rot { 0%, 30% { transform: rotate(0); } 45%, 80% { transform: rotate(-90deg); } 95%, 100% { transform: rotate(0); } }
@keyframes v-rot-in { 0%, 30% { height: 42%; } 45%, 80% { height: 100%; } 95%, 100% { height: 42%; } }

.v-pip { position: relative; width: 88%; display: grid; gap: 10px; align-content: start; height: 100%; }
.v-pip p { margin: 0; max-width: 60%; padding: 8px 14px; border-radius: 16px; font-size: 13px; background: #1c1c1c; color: #cfcfcb; }
.v-pip .out { justify-self: end; background: #2a2a28; }
.v-pip-win { position: absolute; right: 0; bottom: 0; width: 56%; padding: 12px 14px; display: grid; gap: 8px; border-radius: 14px; background: #000; border: 1.5px solid var(--accent); font-size: 12px; color: #f2f2f0; box-shadow: 0 16px 30px rgba(0,0,0,.6); animation: v-float 5s ease-in-out infinite; }
.v-pip-win span { height: 6px; border-radius: 3px; background: #262626; overflow: hidden; }
.v-pip-win span i { display: block; height: 100%; background: var(--accent); animation: v-fill 5s linear infinite; }
@keyframes v-fill { from { width: 8%; } to { width: 100%; } }
@keyframes v-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.v-displays { display: flex; gap: 14px; }
.v-displays > span { display: grid; place-items: center; width: 108px; aspect-ratio: 16 / 10; border-radius: 10px; border: 1.5px solid #3a3a38; animation: v-disp 4s steps(1) infinite; }
.v-displays > span .mtext { height: 24px; --accent: #f2f2f0; }
.v-displays > span:last-child { animation-delay: -2s; }
@keyframes v-disp { 0% { border-color: var(--accent); background: rgba(180,165,255,.08); } 50% { border-color: #3a3a38; background: transparent; } }

.v-keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 380px; }
.v-keys i { min-width: 52px; padding: 14px 12px; text-align: center; font-style: normal; font-size: 15px; font-weight: 600; border-radius: 12px; background: #1c1c1c; color: #f2f2f0; box-shadow: inset 0 -2px 0 #000; animation: v-key 6s infinite; }
.v-keys i.wide { min-width: 70px; }
.v-keys i:nth-child(2) { animation-delay: .4s; } .v-keys i:nth-child(8) { animation-delay: .6s; }
.v-keys i:nth-child(5) { animation-delay: 2.4s; } .v-keys i:nth-child(10) { animation-delay: 2.6s; }
.v-keys i:nth-child(3) { animation-delay: 4.2s; } .v-keys i:nth-child(9) { animation-delay: 4.4s; }
.v-keys i:nth-child(1), .v-keys i:nth-child(4), .v-keys i:nth-child(6), .v-keys i:nth-child(7) { animation: none; }
@keyframes v-key { 0%, 12% { background: var(--accent); color: #000; transform: translateY(2px); } 18%, 100% { background: #1c1c1c; color: #f2f2f0; transform: none; } }

.v-gesture { position: relative; width: 86%; height: 200px; }
.v-wins { position: absolute; inset: 0 0 auto 0; display: flex; justify-content: center; gap: 12px; }
.v-wins i { width: 26%; aspect-ratio: 16 / 10; border-radius: 8px; background: #1c1c1c; border: 1px solid #2c2c2c; animation: v-spread 3.6s var(--ease) infinite; }
.v-wins i:nth-child(2) { background: var(--accent); border-color: var(--accent); }
.v-wins i:first-child { --dx: 30px; } .v-wins i:last-child { --dx: -30px; }
@keyframes v-spread { 0%, 20% { transform: translateX(var(--dx, 0)) scale(.86); } 55%, 85% { transform: none; } 100% { transform: translateX(var(--dx, 0)) scale(.86); } }
.v-fingers { position: absolute; left: 50%; bottom: 0; display: flex; gap: 14px; transform: translateX(-50%); animation: v-swipe 3.6s var(--ease) infinite; }
.v-fingers i { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2); border: 1.5px solid rgba(255,255,255,.8); }
@keyframes v-swipe { 0%, 15% { transform: translate(-50%, 0); opacity: 0; } 25% { opacity: 1; } 55% { transform: translate(-50%, -70px); opacity: 1; } 70%, 100% { transform: translate(-50%, -70px); opacity: 0; } }

.v-dock { display: grid; justify-items: center; gap: 14px; width: 100%; }
.v-dock-bar { display: flex; gap: 10px; padding: 12px; border-radius: 20px; background: #161616; border: 1px solid #262626; }
.v-dock-bar i { width: 40px; height: 40px; border-radius: 10px; background: #2a2a28; }
.v-dock-bar i.up { background: var(--accent); animation: v-up 4s var(--ease) infinite; }
@keyframes v-up { 0%, 20% { transform: none; } 35%, 85% { transform: translateY(-6px) scale(1.08); } 100% { transform: none; } }
.v-menu { display: grid; min-width: 180px; padding: 6px; border-radius: 14px; background: #1c1c1c; border: 1px solid #2c2c2c; font-size: 13px; color: #f2f2f0; transform-origin: bottom center; animation: v-menu 4s var(--ease) infinite; }
.v-menu p { margin: 0; padding: 7px 10px; border-radius: 8px; }
.v-menu p:first-child { background: #2a2a28; }
@keyframes v-menu { 0%, 30% { opacity: 0; transform: translateY(8px) scale(.96); } 42%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.v-snap { position: relative; width: 82%; aspect-ratio: 16 / 10; border-radius: 12px; border: 1.5px solid #3a3a38; }
.v-snap i { position: absolute; top: 6%; bottom: 6%; border-radius: 6px; animation: v-snap 4.4s var(--ease) infinite; }
.v-snap i:first-child { left: 3%; width: 46%; background: #262626; --from: translate(18%, 10%) scale(.7); }
.v-snap i:last-child { right: 3%; width: 46%; background: var(--accent); --from: translate(-30%, -6%) scale(.66); animation-delay: .15s; }
@keyframes v-snap { 0%, 15% { transform: var(--from); } 45%, 85% { transform: none; } 100% { transform: var(--from); } }

.v-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; width: 100%; }
.v-route canvas { width: 100%; --dot: rgba(255,255,255,.06); }
.v-end { font-size: 13px; color: var(--secondary); white-space: nowrap; }
.v-big { height: clamp(40px, 5vw, 56px); }
.v-minutes .mtext { --accent: var(--trackpad); }

.v-files { position: relative; display: flex; align-items: center; justify-content: space-between; width: 82%; }
.v-files .mac { width: 120px; aspect-ratio: 16 / 10; border-radius: 8px; border: 1.5px solid #3a3a38; }
.v-files .phone { width: 46px; aspect-ratio: 9 / 19; border-radius: 10px; border: 1.5px solid #3a3a38; }
.v-files b { position: absolute; left: 40px; top: 50%; padding: 8px 10px; border-radius: 8px; background: var(--accent); color: #000; font-size: 12px; transform: translateY(-50%); animation: v-hop 4s var(--ease) infinite; }
@keyframes v-hop { 0%, 15% { left: 40px; } 50%, 65% { left: calc(100% - 52px); } 100% { left: 40px; } }

.v-clip { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.v-clip span { padding: 12px 16px; border-radius: 14px; background: #1c1c1c; color: #f2f2f0; }
.v-clip span.on { background: var(--accent); color: #000; font-weight: 600; animation: v-pulse 2.4s ease-in-out infinite; }
.v-clip i { font-style: normal; color: var(--secondary); }
@keyframes v-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.v-ready { position: relative; }
.v-icon { width: 96px; }
.v-dot { position: absolute; right: -6px; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: var(--buttons); animation: v-blink 2s ease-in-out infinite; }
@keyframes v-blink { 50% { opacity: .3; } }

.v-clicker { display: grid; justify-items: center; gap: 18px; }
.v-clicker .mtext { --accent: var(--accent); }
.v-clicker div { display: flex; gap: 10px; }
.v-clicker i, .v-btns i { font-style: normal; }
.v-clicker div i { width: 64px; padding: 12px 0; text-align: center; border-radius: 14px; background: #1c1c1c; color: #f2f2f0; font-weight: 600; }
.v-clicker div i.on { background: var(--accent); color: #000; animation: v-pulse 2.4s ease-in-out infinite; }

.v-eq { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.v-eq i { width: 10px; border-radius: 5px; background: var(--accent); animation: v-eq 1.6s ease-in-out infinite; }
.v-eq i:nth-child(2n) { animation-delay: -.4s; } .v-eq i:nth-child(3n) { animation-delay: -.9s; } .v-eq i:nth-child(5n) { animation-delay: -1.2s; }
@keyframes v-eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }

.v-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 260px; }
.v-btns i { padding: 16px 4px; text-align: center; border-radius: 14px; background: #1c1c1c; color: #f2f2f0; font-size: 13px; font-weight: 600; }
.v-btns i.on { background: var(--accent); color: #000; animation: v-pulse 2.4s ease-in-out infinite; }

.v-term { width: 100%; padding: 16px 18px; border-radius: 14px; background: #000; border: 1px solid #262626; font: 13px/1.7 ui-monospace, "SF Mono", Menlo, monospace; color: #cfcfcb; }
.v-term p { margin: 0; }
.v-term .dim { color: #6a6a67; }
.v-term .ok { color: var(--buttons); }

@media (prefers-reduced-motion: reduce) { .fc-vis *, .fc-vis *::before { animation: none !important; } }
@media (max-width: 599px) { .fc { min-height: 0; } .v-phone { margin-bottom: -70px; } }
.fc-vis:has(.v-phone) { place-items: end center; padding-bottom: 0; }
.fc-vis:has(.v-phone) .v-phone { margin-bottom: 0; }

/* Magnifier: a small table, and the lens shows one row five times bigger. */
.v-loupe { position: relative; width: 88%; }
.v-sheet { display: grid; padding: 14px 16px; border-radius: 12px; background: #141414; border: 1px solid #222; font-size: 10px; color: #6a6a67; }
.v-sheet p { margin: 0; display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid #1f1f1f; }
.v-sheet p:last-child { border-bottom: 0; }
.v-sheet .hl { color: #cfcfcb; }
.v-lens { position: absolute; right: 4%; top: 50%; width: 150px; height: 150px; display: grid; place-content: center; text-align: center; gap: 2px; border-radius: 50%; background: #000; border: 2px solid var(--accent); transform: translateY(-34%); box-shadow: 0 16px 40px rgba(0,0,0,.7); animation: v-float 5s ease-in-out infinite; }
.v-lens small { font-size: 13px; color: var(--secondary); }
.v-lens b { font-size: 30px; letter-spacing: -0.02em; color: #f2f2f0; }
.v-zoom { position: absolute; top: 6px; right: -4px; padding: 4px 9px; border-radius: 99px; background: var(--accent); color: #000; font-size: 12px; font-weight: 800; }

/* Accent blocks: a card in the section colour, the point beside real screenshots.
   Type: one big headline, then everything at body size in two tones (ink and 60% ink), lines between points. */
.acc-wrap { display: grid; }
.acc { margin-top: 16px; display: grid; gap: 40px; align-items: center; padding: clamp(32px, 4.4vw, 64px); border-radius: 32px; background: var(--accent); color: #0b0b0b; overflow: hidden; grid-template-columns: minmax(0, 1fr); }
.acc-text { display: grid; justify-items: start; align-content: center; }
.acc h3 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.04em; color: #0b0b0b; max-width: 9em; }
.acc .pro { background: #0b0b0b; color: var(--accent); vertical-align: 6px; }
.acc p { margin: 20px 0 0; font-size: var(--t-body); line-height: 1.45; color: rgba(0,0,0,.6); max-width: 24em; }
.acc ul { list-style: none; margin: 32px 0 0; padding: 0; justify-self: stretch; max-width: 30em; font-size: var(--t-body); line-height: 1.4; color: rgba(0,0,0,.6); }
.acc li { padding: 14px 0; border-top: 1px solid rgba(0,0,0,.14); }
.acc li:last-child { border-bottom: 1px solid rgba(0,0,0,.14); }
.acc li b { font-weight: 600; color: #0b0b0b; }
.acc .btn-ink { margin-top: 32px; background: #0b0b0b; color: #f2f2f0; }
.acc-shots { display: flex; justify-content: center; gap: 18px; min-width: 0; }
.acc-shot { margin: 0; flex: 1 1 0; min-width: 0; max-width: 230px; }
.acc-shot:nth-child(2) { transform: translateY(28px); }
.acc-phone { aspect-ratio: 1206 / 2622; padding: 3.2%; border-radius: 17% / 7.9%; background: #0b0b0b; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.acc-slot { height: 100%; display: grid; align-content: end; gap: 6px; padding: 18px 14px; border-radius: 14% / 6.5%; background-color: #000; background-image: radial-gradient(circle, rgba(255,255,255,.1) 1px, transparent 1.5px); background-size: 10px 10px; color: #8e8e8b; font-size: 12px; line-height: 1.35; }
.acc-slot b { color: #f2f2f0; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.acc-slot code { color: #6a6a67; font-size: 11px; }
@media (min-width: 960px) { .acc { grid-template-columns: 5fr 7fr; } }
@media (max-width: 599px) { .acc-shot:nth-child(2) { transform: none; } }

/* Live photos between the feature groups: wide, edge to edge, kept dark like the page. */
.moment-wrap { padding: clamp(72px, 8vw, 112px) 0 0; }
.moment { position: relative; margin: 0; background: #0b0b0b; }
.moment picture, .moment img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.moment-cap { margin-top: 24px; color: var(--secondary); font-size: var(--t-body); }
.moment-cap b { color: var(--ink); font-weight: 600; }
#anywhere { padding-top: clamp(96px, 11vw, 160px); }
#anywhere > .wrap { padding-top: clamp(72px, 8vw, 112px); }
.moment-over figcaption { position: absolute; inset: 0; display: flex; align-items: center; }
.moment-over figcaption span { max-width: 9em; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.035em; color: #f2f2f0; }
@media (max-width: 759px) {
  .moment picture, .moment img { aspect-ratio: 4 / 5; object-position: 70% 50%; }
  .moment-over img { object-position: 62% 50%; }
  .moment-over figcaption { align-items: flex-end; padding-bottom: 28px; }
}

/* A caption written on a light part of the photo: dark ink, top left. */
.moment-over figcaption { flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.moment-light figcaption { justify-content: flex-start; padding-top: clamp(32px, 4.5vw, 64px); }
.moment-light figcaption span { color: #0b0b0b; }
.moment-over figcaption small { max-width: 22em; font-size: var(--t-small); line-height: 1.45; }
.moment-light figcaption small { color: rgba(11,11,11,.7); }
.moment-over:not(.moment-light) figcaption small { color: rgba(242,242,240,.75); }
@media (max-width: 759px) {
  .moment-light img { object-position: 30% 50%; }
  .moment-light figcaption { padding-top: 28px; }
}

/* Footer: the logo and contacts on one line, every link in even columns under a hairline. */
.foot nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 24px; padding-top: 24px; border-top: 1px solid #1c1c1c; }
.foot-row > p { margin: 0; }
.foot-copy { white-space: nowrap; }
.foot-copy::before { content: "· "; }
/* Phone and tablet: two columns that flow on their own (a long name never pushes
   its neighbour down), rows tall enough for a thumb, and the copyright on a line of its own. */
@media (max-width: 999px) {
  .foot nav { display: block; columns: 2; column-gap: 24px; padding-top: 12px; }
  .foot nav a { display: block; padding: 9px 0; line-height: 1.35; break-inside: avoid; }
  .foot-row > p { line-height: 2; }
  .foot-copy { display: block; margin-top: 6px; color: #5f5f5c; }
  .foot-copy::before { content: none; }
}
@media (min-width: 1000px) {
  .foot-row { grid-template-columns: 1fr auto; grid-template-areas: "logo meta" "nav nav"; align-items: center; row-gap: 28px; column-gap: 40px; }
  .foot-row > .logo { grid-area: logo; }
  .foot-row > nav { grid-area: nav; grid-template-columns: repeat(5, 1fr); }
  .foot-row > p { grid-area: meta; text-align: right; }
}

/* The second screen: the photo with a solid plaque on it, like Remolo saying it's connected. */
.moment-plaque { position: relative; }
.moment-plaque-wrap { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: clamp(24px, 3.4vw, 48px); pointer-events: none; }
.plaque { pointer-events: auto; width: min(420px, 100%); display: grid; gap: 14px; padding: 26px 28px 28px; border-radius: 28px; background: #000; color: #f2f2f0; box-shadow: 0 30px 60px rgba(0,0,0,.45); --accent: var(--trackpad); }
.plaque-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plaque-icon { width: 44px; }
.plaque-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 99px; background: #161616; font-size: 13px; color: #cfcfcb; }
.plaque-status i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--buttons); }
.plaque-status i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--buttons); opacity: 0; animation: plaque-ping 2.4s ease-out infinite; }
@keyframes plaque-ping { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(1.8); opacity: 0; } }
.plaque h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.02; letter-spacing: -0.035em; }
.plaque p { margin: 0; color: #8e8e8b; font-size: var(--t-small); line-height: 1.5; max-width: 26em; }
/* The plaque arrives a beat after the photo: a short rise, then the status dot starts to ping. */
.js .plaque[data-reveal] { transform: translateY(40px); transition-delay: .35s; }
.js .plaque[data-reveal].in { transform: none; }
.js .plaque[data-reveal]:not(.in) .plaque-status i::after { animation: none; }
@media (max-width: 759px) {
  .moment-plaque-wrap { position: relative; inset: auto; padding-bottom: 0; margin-top: -64px; }
  .plaque { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .plaque-status i::after { animation: none; } }

/* Hero screens in dots: the laptop and a dot version of Remolo on the phone show the same scene. */
.macbook-screen canvas { display: block; width: 100%; height: 100%; background: #000; --dot: rgba(255,255,255,.08); }
.dot-app { height: 100%; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 8px; padding: 9% 5% 6%; border-radius: 14% / 6.5%; background: #000; overflow: hidden; }
.dot-app-status { display: flex; justify-content: space-between; padding: 0 6%; font-size: clamp(7px, .8vw, 11px); color: #8e8e8b; }
.dot-app canvas { width: 100%; border-radius: 6px; background: #0a0a0a; --dot: rgba(255,255,255,.09); }
.dot-app-tools { display: flex; gap: 5px; }
.dot-app-tools i { width: 14%; aspect-ratio: 2 / 1; border-radius: 99px; background: #1c1c1c; }
.dot-app-tools i.on { background: var(--trackpad); }
.dot-app-tools b { flex: 1; }
.dot-app-pad { position: relative; border-radius: 12px; background-image: radial-gradient(circle, rgba(255,255,255,.1) 1px, transparent 1.4px); background-size: 8px 8px; }
.dot-app-pad span { position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.7); transform: translate(-50%, -50%); animation: dot-pad 4.6s var(--ease) infinite; }
@keyframes dot-pad { 0%, 100% { left: 35%; top: 35%; } 40% { left: 62%; top: 58%; } 70% { left: 48%; top: 40%; } }
.dot-app-dock { display: flex; justify-content: center; gap: 6%; padding: 6px; border-radius: 12px; background: #141414; }
.dot-app-dock i { width: 12%; aspect-ratio: 1; border-radius: 5px; background: #2a2a28; }
.dot-app-dock i:nth-child(2) { background: var(--trackpad); }
.hero-caption { position: relative; min-height: 1.6em; margin: 24px auto 0; color: var(--secondary); font-size: var(--t-small); }
.hero-caption span { position: absolute; top: 0; left: 0; right: 0; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hero-caption span.on { position: relative; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .dot-app-pad span { animation: none; left: 50%; top: 45%; } }

/* ---------- /status ---------- */
.status-wrap { padding-top: 0; }
.status-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 24px 26px; border-radius: 24px; background: #0d0d0d; border: 1px solid #1c1c1c; }
.status-dot { width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: #3a3a38; }
.status-card[data-state="ok"] .status-dot { background: var(--buttons); }
.status-card[data-state="trouble"] .status-dot, .status-card[data-state="down"] .status-dot { background: var(--slides); }
.status-line { margin: 0; font-size: 20px; font-weight: 600; color: var(--ink); }
.status-note { margin: 6px 0 0; font-size: var(--t-small); color: var(--secondary); }
.status-incident { color: var(--ink); }
.status-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.status-nav a { padding: 9px 16px; border-radius: 99px; border: 1px solid #262626; color: var(--ink); text-decoration: none; font-size: var(--t-small); }
.status-nav a:hover { border-color: var(--secondary); }
.reasons, .issues { display: grid; gap: 12px; margin-top: 24px; }
.reason, .issue { scroll-margin-top: 90px; padding: 22px 24px; border-radius: 20px; background: #0d0d0d; border: 1px solid #1c1c1c; transition: border-color .4s; }
.reason:target, .issue:target { border-color: var(--trackpad); box-shadow: inset 4px 0 0 var(--trackpad); }
.reason h3, .issue h3 { font-size: 18px; }
.reason p { margin: 8px 0 0; color: var(--secondary); }
.issue header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.issue-state { padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: #1c1c1c; color: var(--slides); }
.issue-state.fixed { color: var(--buttons); }
.issue dl { margin: 14px 0 0; display: grid; gap: 4px 20px; }
.issue dt { font-size: 14px; color: var(--secondary); }
.issue dd { margin: 0 0 10px; }
@media (min-width: 700px) { .issue dl { grid-template-columns: 160px 1fr; } .issue dd { margin: 0 0 10px; } }
.issue-date { margin: 0; font-size: 14px; color: #8e8e8b; }
.issue-date a { color: inherit; }
.incidents { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.incidents li { padding: 16px 0; border-top: 1px solid #1c1c1c; color: var(--secondary); }
.incidents time { display: block; font-size: 14px; color: #8e8e8b; }
.incidents b { color: var(--ink); margin-right: 6px; }

/* ---------- /mac ---------- */
.mac-link { display: grid; gap: 22px; justify-items: start; padding-top: clamp(48px, 8vw, 96px); }
.mac-link .icon { width: 88px; }
.mac-link h1 { font-size: clamp(36px, 5vw, 60px); }
.mac-link .lead { margin: 18px 0 24px; }
.mac-link-url code { display: inline-block; padding: 12px 18px; border-radius: 14px; background: #111; border: 1px solid #262626; font-size: 20px; color: var(--ink); }
.mac-link-mac { display: none; }
.mac-link.is-mac .mac-link-mac { display: block; }
.mac-link.is-mac .mac-link-phone { display: none; }
.mac-link [hidden] { display: none !important; }
.mac-link-url { margin: 0 0 20px; }
.mac-link .note { margin-top: 20px; }
/* The install on the Mac in three frames: a picture, two words, the detail in grey. */
.mac-install { list-style: none; margin: 18px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; counter-reset: step; }
.mac-install li { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 18px; background: var(--surface); counter-increment: step; }
.mac-install li::before { content: counter(step); font-weight: 700; font-size: 13px; color: var(--accent, #b4a5ff); }
.mac-install-pic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--hairline); color: var(--ink); }
.mac-install b { font-size: 17px; line-height: 1.3; }
.mac-install li > span:last-child { font-size: 14px; color: var(--secondary); }
@media (max-width: 720px) { .mac-install { grid-template-columns: 1fr; } }

/* A photo band's panel holds the waitlist form: wide enough for it, the field and the button stacked. */
@media (min-width: 960px) { .band .panel { width: clamp(400px, 38vw, 480px); } }
.panel h2 { font-size: clamp(28px, 2.8vw, 44px); overflow-wrap: anywhere; }
.panel .launch, .panel .waitlist { width: 100%; min-width: 0; }
.panel .waitlist-row { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 6px; }
.panel .waitlist-row input { min-width: 0; min-height: 46px; padding: 0 14px; }
.panel .waitlist-row .btn { width: 100%; }

/* Coming soon to Europe (inc/components.php eu_soon) */
.eu-soon { margin-top: 14px; max-width: 520px; color: var(--secondary); font-size: var(--t-small); line-height: 1.5; }
.eu-soon b { color: var(--ink); font-weight: 600; }
.eu-soon .waitlist { margin-top: 12px; }
.center .eu-soon, .center + .eu-soon { margin-left: auto; margin-right: auto; text-align: center; }
[data-not-eu][hidden], .eu-soon[hidden] { display: none !important; }

/* Accent blocks: the screenshot fills the phone, with the Dynamic Island over the status bar */
.acc-phone { position: relative; }
.acc-phone::after { content: ""; position: absolute; left: 50%; top: 2.7%; width: 29%; height: 4.1%; transform: translateX(-50%); border-radius: 99px; background: #000; }
.acc-img, .acc-img img { display: block; width: 100%; height: 100%; }
.acc-img img { object-fit: cover; border-radius: 14% / 6.5%; }

/* ---------- Live shots 1.4: iPhone on its side, iPad, screen loops ----------
   The same black outline as .phone; bezels and corners keep their proportion to the short side. */
.phone video { display: block; width: 100%; height: auto; border-radius: 13% / 6%; background: #000; }
.phone.land { padding: 1.2%; border-radius: 7% / 15%; }
.phone.land picture, .phone.land img, .phone.land video { display: block; border-radius: 6% / 13%; }
.tablet { position: relative; margin: 0; padding: 2.2%; border-radius: 3.4% / 4.5%; background: #0b0b0b; border: 1px solid #2a2a2a; }
.tablet picture, .tablet img, .tablet video { display: block; width: 100%; height: auto; border-radius: 2.1% / 2.8%; overflow: hidden; background: #000; }
.tablet:not(.land) { padding: 2.9%; border-radius: 4.5% / 3.4%; }
.tablet:not(.land) picture, .tablet:not(.land) img { border-radius: 2.8% / 2.1%; }
/* A shot across the text column, and shots side by side at one height. */
.shot-wide { margin: clamp(32px, 4vw, 48px) auto; width: 100%; max-width: 880px; }
.guide-shot .phone.land, .guide-shot .tablet.land, .flow-media .phone.land { width: 100%; }
.guide-shot .tablet:not(.land) { width: min(380px, 80vw); }
.shot-row { display: flex; gap: clamp(12px, 2vw, 24px); align-items: flex-start; width: 100%; margin: clamp(32px, 4vw, 48px) 0; }
.guide-shot .shot-row { margin: 0; }
.shot-cell { min-width: 0; }
.shot-cell > figure { width: 100% !important; }
@media (max-width: 599px) { .shot-row.stack { flex-direction: column; } .shot-row.stack .shot-cell { flex: none !important; width: 100%; } }
/* Home hero: the iPhone on its side with the real Mac under the finger. */
.hero-shot { width: min(100%, 920px); margin: clamp(48px, 7vw, 88px) auto 0; }
.hero-shot .phone { box-shadow: 0 0 0 1px #000, 0 40px 80px rgba(0,0,0,.6); }
/* Home feature cards with a live shot in place of the drawn scene; an upright phone shows its top part. */
.fc-real { padding: 20px; }
.fc-real > .phone.land { width: 100%; }
.fc-real:has(> .phone:not(.land)) { height: 320px; min-height: 0; place-items: start center; padding-bottom: 0; }
.fc-real > .phone:not(.land) { width: min(240px, 70%); }
/* Press kit: every shot links to its file. */
.press-shots { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 860px) { .press-shots { grid-template-columns: 1fr 1fr; } }
.press-shots a { display: grid; gap: 12px; text-decoration: none; color: var(--secondary); font-size: var(--t-small); align-content: start; }
.press-shots a span { color: var(--ink); font-weight: 600; }
.press-shots .portrait { justify-self: center; width: min(300px, 72vw); }

/* ---------- Connection diagrams (inc/diagrams.php): dotted devices, the encrypted path in lavender ----------
   Every outline is a stroke of round dots (dasharray 0 + gap); packets are runs of brighter dots moving along it. */
.cd { margin: clamp(28px, 4vw, 44px) 0; }
.cd-art { border-radius: 28px; background: #0b0b0b; border: 1px solid #1c1c1c; padding: clamp(14px, 3vw, 32px);
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1.5px); background-size: 14px 14px; background-position: 7px 7px; }
.cd svg { display: block; width: 100%; height: auto; overflow: visible; }
.cd-v { display: none !important; max-width: 400px; margin: 0 auto; }
@media (max-width: 639px) { .cd-h { display: none !important; } .cd-v { display: block !important; } }
.cd-one { max-width: 520px; margin: 0 auto; }
.cd figcaption { margin-top: 14px; color: var(--secondary); font-size: var(--t-small); line-height: 1.5; max-width: 46em; }
.cd figcaption b { color: var(--ink); font-weight: 600; }
.cd text { font-family: var(--font); letter-spacing: -.01em; }
.cd .n { font-size: 17px; font-weight: 600; fill: var(--ink); }
.cd .s { font-size: 14px; fill: var(--secondary); }
.cd .k { font-size: 13px; font-weight: 600; fill: var(--secondary); letter-spacing: .02em; }
.cd .o { fill: none; stroke: var(--ink); stroke-opacity: .6; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 0 8; }
.cd .o.a { stroke: var(--trackpad); stroke-opacity: 1; }
.cd .o.m { stroke: var(--secondary); stroke-opacity: .8; }
.cd .o.thin { stroke-width: 2.4; stroke-dasharray: 0 7; }
.cd .pd { fill: #fff; fill-opacity: .13; }
.cd .glow { fill: none; stroke: var(--trackpad); stroke-width: 2; stroke-opacity: .85; }
.cd .win { fill: #1c1c1c; stroke: var(--ink); stroke-opacity: .5; stroke-width: 1.5; }
.cd .win.a { fill: rgba(180,165,255,.18); stroke: var(--trackpad); stroke-opacity: 1; }
.cd .zone { fill: none; stroke: var(--secondary); stroke-opacity: .55; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0 10; }
.cd .qr-bg { fill: #f2f2f0; }
.cd .qd { fill: #000; }
.cd .disc { fill: #0b0b0b; }
.cd .lk { fill: var(--trackpad); }
.cd .x { fill: none; stroke: var(--secondary); stroke-width: 2.4; stroke-linecap: round; }
.cd .l { fill: none; stroke: var(--trackpad); stroke-opacity: .35; stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 0 9; }
.cd .pk { fill: none; stroke: var(--trackpad); stroke-width: 4.4; stroke-linecap: round; stroke-dasharray: 0 9 0 9 0 9 0 63; animation: cd-run 2.4s linear infinite; }
.cd .pk.back { animation-direction: reverse; animation-delay: -1.2s; stroke-opacity: .7; }
@keyframes cd-run { to { stroke-dashoffset: -90; } }
@media (prefers-reduced-motion: reduce) { .cd .pk { animation: none; } .cd .pk.back { display: none; } }
/* Compact: in a home feature card. */
.fc-vis .cd { margin: 0; width: 100%; }
.fc-vis .cd-art { background: none; border: 0; padding: 0; }

/* ---------- Home hero: the Mac with its own screen, the iPhone on its side beside it ---------- */
.hero-duo { position: relative; width: min(100%, 1060px); margin: clamp(48px, 7vw, 88px) auto 0; padding-bottom: 9%; text-align: left; }
.hero-duo .hero-mac { width: 76%; margin-left: 5%; }
.hero-duo .macbook-screen { aspect-ratio: 2034 / 1320; background: #000; }
.hero-duo .macbook-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The notch over the menu bar. */
.hero-duo .macbook-screen::after { content: ""; position: absolute; left: 50%; top: 0; width: 10%; height: 3.2%; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: #0b0b0b; }
.hero-duo .hero-phone { position: absolute; right: 0; bottom: 0; width: 48%; }
.hero-duo .hero-phone .phone { box-shadow: 0 0 0 1px #000, 0 40px 80px rgba(0,0,0,.75); }
@media (max-width: 699px) {
  .hero-duo { padding-bottom: 24%; }
  .hero-duo .hero-mac { width: 88%; margin-left: 6%; }
  .hero-duo .hero-phone { width: 68%; }
}

/* "New in 1.4": a small lavender pill. */
.new-badge { display: inline-block; height: 22px; line-height: 22px; padding: 0 10px; border-radius: 99px; background: var(--trackpad); color: #000; font: 700 12px/22px var(--font); letter-spacing: .02em; white-space: nowrap; vertical-align: middle; }
h2 .new-badge { vertical-align: .35em; margin-left: 6px; }
.table .new-badge { height: 18px; line-height: 18px; font-size: 11px; padding: 0 8px; margin-left: 6px; vertical-align: 1px; }
.row-new td:first-child { color: var(--ink); }
.second-screen .head .new-badge { justify-self: start; }
@media (min-width: 960px) { .second-screen .head .new-badge { grid-column: 1 / -1; } }
.second-screen .cd { margin-top: clamp(36px, 5vw, 56px); }
.second-note { margin-top: 0; color: var(--secondary); font-size: var(--t-small); }

/* Security page: a row of anchors, and two-column tables with text on both sides. */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(32px, 4vw, 48px); }
.toc a { padding: 6px 12px; border-radius: 99px; background: var(--surface); color: var(--secondary); font-size: 14px; text-decoration: none; }
.toc a:hover { color: var(--ink); }
.sec-page .prose + .cd, .sec-page .cd + .prose, .sec-page .scroll-x + .prose { margin-top: 8px; }
.sec-page .prose h2 { scroll-margin-top: 80px; }
.sec-page .scroll-x { margin: 20px 0 8px; }
.table.perms td, .table.perms th { text-align: left !important; width: auto !important; }
.table.perms td:first-child { color: var(--ink); width: 32% !important; font-weight: 600; }
.table.perms td:last-child { color: var(--secondary); font-size: 15px; }
@media (max-width: 559px) { .table.perms, .table.perms tbody, .table.perms tr, .table.perms td { display: block; width: 100% !important; } .table.perms thead { display: none; } .table.perms td:first-child { border-bottom: 0; padding-bottom: 2px; } }
.cd .k.sm { font-size: 10px; letter-spacing: .04em; }
/* A Terminal command to copy. */
.cmd { margin: 4px 0; padding: 14px 16px; border-radius: 14px; background: #000; border: 1px solid var(--hairline); overflow-x: auto; white-space: pre; }
.cmd code, .cmd-inline { font: 500 14px/1.5 var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); color: var(--ink); }
.cmd-inline { overflow-wrap: anywhere; }
.callout.verify .cmd + p { margin-top: 10px; }
.acc-text { min-width: 0; grid-template-columns: minmax(0, 1fr); overflow-wrap: break-word; }
.acc-text .btn { max-width: 100%; white-space: normal; text-align: center; height: auto; min-height: 36px; padding-top: 8px; padding-bottom: 8px; line-height: 1.25; }

/* Home: the small Tools row (terminal, files, slides) */
.tools-title { font-size: 1.25rem; font-weight: 600; }
.tools-mini h3 a { color: inherit; text-decoration: none; }
.tools-mini h3 a:hover { text-decoration: underline; }
@media (min-width: 860px) { .fx-mini { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 859px) { .fx-mini li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.shot-mac { margin: clamp(32px, 4vw, 48px) auto 0; max-width: 900px; }
.shot-mac img, .sec-shot img { display: block; width: 100%; height: auto; border-radius: 14px; }
.sec-shot { margin: 24px 0 8px; }
.pro-shots { max-width: 560px; margin: clamp(32px, 4vw, 48px) auto 0; }

/* Cookie consent for Google Analytics: a small card at the bottom, two equal choices. */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 560px;
  display: grid; gap: 14px; padding: 18px 20px; border-radius: 20px; background: #111; border: 1px solid #262626;
  box-shadow: 0 18px 48px rgba(0,0,0,.55); color: var(--ink); font-size: 14px; line-height: 1.5; }
.consent[hidden] { display: none; }
.consent p { margin: 0; color: var(--secondary); }
.consent p a { color: var(--ink); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.consent-actions .btn { flex: 1 1 120px; justify-content: center; }
.foot-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.foot-link:hover { color: #f2f2f0; }
@media (max-width: 859px) { .foot nav .foot-link { display: block; padding: 9px 0; line-height: 1.35; } }

/* Not on a Mac (site.js adds .not-mac): "Send the link to my Mac" replaces the download and the Helper page link. */
[data-send-link] { display: none; }
.not-mac [data-send-link] { display: inline-flex; }
.not-mac [data-helper-link] { display: none; }
/* On a phone the launch block shows the TestFlight and Helper-link buttons first, the waitlist form under them. */
@media (max-width: 760px) { .launch { display: flex; flex-direction: column; } .launch.center { align-items: center; } .launch .store { order: -1; } .launch .waitlist { order: 0; } }

/* ---------- Touch targets and the cookie bar (phones, tablets): hit areas of at least 44 px ---------- */
.top .logo { min-height: 44px; align-items: center; padding-right: 8px; }
.langs summary { min-width: 44px; height: 44px; }
.menu summary { width: 44px; height: 44px; }
.top-actions .btn-sm { min-height: 44px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; }
.langs-sheet a { min-height: 44px; display: flex; align-items: center; }
.foot nav a, .foot-link { display: inline-flex; align-items: center; min-height: 44px; }
.consent-actions .btn { min-height: 44px; }
.consent .btn-sm { font-size: 14px; }
.note, .issue-date, .eyebrow { font-size: max(14px, 1em); }
@media (max-width: 760px) {
  /* A shorter bar: less padding and a tighter line, buttons side by side. */
  .consent { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); padding: 12px 14px; gap: 10px; line-height: 1.4; }
  .consent-actions { flex-wrap: nowrap; }
}
@media (max-height: 520px) {
  /* A phone on its side: the text and the two buttons in one row, so the bar does not cover a third of the screen. */
  .consent { max-width: none; grid-template-columns: 1fr auto; align-items: center; padding: 8px 14px; }
  .consent-actions { flex-wrap: nowrap; }
  .consent-actions .btn { flex: 0 0 auto; padding: 0 20px; }
}
/* Links inside running text: a taller hit area without moving the lines. */
.prose a, article a, .lead a, .note a, .faq a, .answer a { padding-block: 0.6em; margin-block: -0.6em; }
