/* Portline — portline.ohm.software
   Layout: one wide column with a luminous "line" running down its left edge; each section is a
   station on that line. Dark-first; the light theme is designed, not inverted. */
:root {
  --bg: #070A12;          /* navy black, the icon's ground */
  --bg-2: #0C1220;        /* raised surfaces */
  --bg-3: #121A2C;        /* cards */
  --line: #1E2A42;        /* hairlines */
  --line-2: #2A3A5C;
  --fg: #EAF0FA;
  --fg-2: #AAB6CC;        /* secondary text */
  --fg-3: #74829C;        /* captions, meta */
  --green: #3DDC84;       /* Android */
  --green-2: #22B35F;
  --blue: #3D9BFF;        /* Mac / Finder */
  --blue-2: #1366E8;
  --red: #FF6B6B;         /* failed */
  --glow-g: rgba(61, 220, 132, .28);
  --glow-b: rgba(61, 155, 255, .28);
  --on-accent: #06110B;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --font-display: "Funnel Display", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  --font-body: "Host Grotesk", "Helvetica Neue", Helvetica, system-ui, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F5F7FB; --bg-2: #FFFFFF; --bg-3: #FFFFFF; --line: #DCE3EF; --line-2: #C6D1E3;
    --fg: #0B1220; --fg-2: #4F5E78; --fg-3: #78869F;
    --green: #0F9D58; --green-2: #0A7F46; --blue: #1366E8; --blue-2: #0B4EBE;
    --glow-g: rgba(15, 157, 88, .18); --glow-b: rgba(19, 102, 232, .16); --on-accent: #FFFFFF; --red: #D93636;
    --shadow: 0 24px 60px rgba(16, 32, 64, .14);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F5F7FB; --bg-2: #FFFFFF; --bg-3: #FFFFFF; --line: #DCE3EF; --line-2: #C6D1E3;
  --fg: #0B1220; --fg-2: #4F5E78; --fg-3: #78869F;
  --green: #0F9D58; --green-2: #0A7F46; --blue: #1366E8; --blue-2: #0B4EBE;
  --glow-g: rgba(15, 157, 88, .18); --glow-b: rgba(19, 102, 232, .16); --on-accent: #FFFFFF; --red: #D93636;
  --shadow: 0 24px 60px rgba(16, 32, 64, .14);
  color-scheme: light;
}

/* CJK pages: the system's own faces for the script, and no tightening on headings. */
html[lang="ja"] { --font-display: "Funnel Display", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; --font-body: "Host Grotesk", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; }
html[lang="ko"] { --font-display: "Funnel Display", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; --font-body: "Host Grotesk", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
html[lang="zh-Hans"] { --font-display: "Funnel Display", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; --font-body: "Host Grotesk", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
html[lang="zh-Hant"] { --font-display: "Funnel Display", "PingFang TC", "Hiragino Sans CNS", "Noto Sans TC", "Microsoft JhengHei", sans-serif; --font-body: "Host Grotesk", "PingFang TC", "Hiragino Sans CNS", "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
html[lang="ja"] :is(h1, h2, h3), html[lang="ko"] :is(h1, h2, h3), html[lang^="zh"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.22; word-break: keep-all; overflow-wrap: anywhere; }
html[lang="ja"] .hero__title, html[lang="ko"] .hero__title, html[lang^="zh"] .hero__title { font-size: clamp(2rem, 4.6vw, 3.8rem); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, ul, ol, h1, h2, h3, h4 { margin: 0; }
button { font: inherit; color: inherit; }
code { font-family: var(--font-mono); font-size: .9em; background: var(--bg-3); padding: .1em .35em; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
table.visually-hidden { display: block; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Type scale */
h1, h2, h3, .hero__title { font-family: var(--font-display); letter-spacing: -.02em; text-wrap: balance; line-height: 1.05; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); font-weight: 650; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin-bottom: .6em; }
h3 { font-size: 1.25rem; line-height: 1.25; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--fg-2); max-width: 62ch; text-wrap: pretty; }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 1.1rem; }
.station { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); flex: none; transition: background .5s, border-color .5s, box-shadow .5s; }
.sec.is-active .station { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 6px var(--glow-g); }
.note { color: var(--fg-3); font-size: .95rem; margin-top: 1rem; }
.textlink { display: inline-flex; align-items: center; gap: .35rem; color: var(--blue); font-weight: 600; margin-top: 1.4rem; }
.textlink .ic { width: 18px; height: 18px; }

/* Layout */
.wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap--narrow { width: min(820px, 100%); }
.sec { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.sec + .sec { border-top: 1px solid var(--line); }
.main { position: relative; }
/* The line: a rail down the left of the content column at wide widths. */
@media (min-width: 1280px) {
  .main::before { content: ""; position: absolute; left: calc(50% - var(--wrap) / 2 - 36px); top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--green) 0, var(--blue) var(--line-progress, 0%), var(--line) var(--line-progress, 0%)); opacity: .9; }
}
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--wide { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
.split--wide.split--reverse { grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); }
.split--reverse .split__copy { order: 2; }
.split__copy { min-width: 0; }
.split__media { min-width: 0; }
@media (max-width: 900px) { .split, .split--wide, .split--wide.split--reverse { grid-template-columns: 1fr; } .split--reverse .split__copy { order: 0; } }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
@media (max-width: 1000px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid3 { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary { background: linear-gradient(135deg, var(--green), #2BC5FF 60%, var(--blue)); color: var(--on-accent); box-shadow: 0 10px 30px var(--glow-g); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px var(--glow-b); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg-3); background: var(--bg-2); }
.btn--small { padding: .6rem 1rem; font-size: .9rem; }
.btn--soon { cursor: default; opacity: .9; }
.btn--soon:hover { transform: none; }
.iconbtn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid transparent; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--fg-2); transition: background .2s, color .2s, border-color .2s; }
.iconbtn:hover { background: var(--bg-3); color: var(--fg); }
.iconbtn .ic { width: 20px; height: 20px; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); background: color-mix(in srgb, var(--bg) 72%, transparent); border-bottom: 1px solid var(--line); }
.top__inner { width: min(var(--wrap), 100%); margin: 0 auto; padding: .6rem var(--gutter-r) .6rem var(--gutter); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 650; font-size: 1.25rem; letter-spacing: -.01em; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; }
.top__nav { display: flex; gap: .25rem; margin-left: .5rem; }
.top__nav a, .mobile a { padding: .5rem .8rem; border-radius: 10px; color: var(--fg-2); font-weight: 500; }
.top__nav a:hover, .mobile a:hover { color: var(--fg); background: var(--bg-3); }
.top__nav a[aria-current="page"], .mobile a[aria-current="page"] { color: var(--fg); }
.top__tools { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.theme .ic:last-child { display: none; }
:root[data-theme="dark"] .theme .ic:first-child, html:not([data-theme="light"]) .theme .ic:first-child { display: none; }
:root[data-theme="dark"] .theme .ic:last-child, html:not([data-theme="light"]) .theme .ic:last-child { display: block; }
@media (prefers-color-scheme: light) { html:not([data-theme="dark"]) .theme .ic:first-child { display: block; } html:not([data-theme="dark"]) .theme .ic:last-child { display: none; } }
.lang { position: relative; }
.lang summary { list-style: none; width: auto; padding: 0 .6rem; gap: .35rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang__code { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: .4rem; list-style: none; margin: 0; min-width: 160px; box-shadow: var(--shadow); }
.lang__menu a { display: block; padding: .5rem .75rem; border-radius: 9px; color: var(--fg-2); }
.lang__menu a:hover, .lang__menu a[aria-current="true"] { background: var(--bg-3); color: var(--fg); }
.menu { display: none; }
.menu .ic:last-child { display: none; }
.menu[aria-expanded="true"] .ic:first-child { display: none; }
.menu[aria-expanded="true"] .ic:last-child { display: block; }
.mobile { display: none; flex-direction: column; padding: .5rem var(--gutter) 1rem; border-top: 1px solid var(--line); }
.mobile:not([hidden]) { display: flex; }
@media (max-width: 860px) { .top__nav { display: none; } .menu { display: inline-flex; } .top__cta { display: none; } }

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; background: radial-gradient(60% 50% at 70% 40%, var(--glow-b), transparent 70%), radial-gradient(40% 40% at 20% 20%, var(--glow-g), transparent 70%); pointer-events: none; opacity: .8; }
.hero__inner { position: relative; width: min(var(--wrap), 100%); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center; }
.hero__title { font-size: clamp(2.3rem, 4.4vw, 3.9rem); }
.hero__title { margin-bottom: 1.2rem; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--fg-2); max-width: 54ch; margin-bottom: 1.8rem; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__note { margin-top: 1.1rem; color: var(--fg-3); font-size: .9rem; font-family: var(--font-mono); letter-spacing: .02em; }
.hero__scene { min-width: 0; }
.scene { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 24px; background: linear-gradient(160deg, var(--bg-2), var(--bg)); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.scene__fallback { position: absolute; inset: 0; width: 100%; height: 100%; padding: 6%; transition: opacity .4s, visibility 0s .4s; }
.scene.is-3d .scene__fallback { opacity: 0; visibility: hidden; }
.scene__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s; }
.scene.is-3d .scene__canvas { opacity: 1; }
.scene__caption { margin-top: .8rem; text-align: center; color: var(--fg-3); font-size: .85rem; font-family: var(--font-mono); letter-spacing: .04em; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } .hero__scene { order: -1; } .scene { aspect-ratio: 16 / 10; } }

/* Proof strip */
.proof { padding-block: 2.5rem 3rem; background: linear-gradient(to bottom, var(--bg-2), var(--bg)); }
.proof__intro { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 1.5rem; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }
.stat { padding: 1.4rem 1.4rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); display: flex; flex-direction: column; gap: .35rem; }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.03em; line-height: 1; background: linear-gradient(120deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat__label { font-weight: 600; }
.stat__detail { color: var(--fg-3); font-size: .9rem; font-family: var(--font-mono); letter-spacing: .01em; }

/* Points, checks, cards */
.points, .checks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.points li, .checks li { display: flex; gap: .9rem; align-items: flex-start; }
.points .ic, .checks .ic { width: 22px; height: 22px; flex: none; margin-top: .2rem; color: var(--green); }
.points strong { display: block; margin-bottom: .15rem; }
.points span { color: var(--fg-2); }
.checks li { font-size: 1.05rem; }
.card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); display: flex; flex-direction: column; gap: .6rem; transition: transform .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card .ic { width: 26px; height: 26px; color: var(--blue); }
.card p { color: var(--fg-2); font-size: .98rem; }

/* Shots and video */
.shot, .video { margin: 0; }
.shot__frame, .video__frame { aspect-ratio: var(--ratio); max-width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow); position: relative; color: var(--fg-3); }
.shot__frame img, .video__frame video { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; }
.video__placeholder { position: absolute; inset: 0; }
.video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 12px 30px var(--glow-b); }
.video__play .ic { width: 34px; height: 34px; }
figcaption { margin-top: .75rem; color: var(--fg-3); font-size: .9rem; }

/* Connection modes */
.modes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .modes__grid { grid-template-columns: 1fr; } }
.mode { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(170deg, var(--bg-3), var(--bg-2)); display: flex; flex-direction: column; gap: .8rem; }
.mode__head { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.mode__head .ic { width: 26px; height: 26px; color: var(--green); }
.mode__speed { margin-left: auto; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.mode__needs { font-family: var(--font-mono); font-size: .8rem; color: var(--fg-3); }
.mode p:last-child { color: var(--fg-2); }
.modes__auto { margin-top: 2rem; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; color: var(--fg-2); }
.modes__auto .ic { width: 20px; height: 20px; color: var(--green); }
.modes__auto a { color: var(--blue); font-weight: 600; }

/* Charts: Portline against MacDroid on one Android phone */
.chart { margin-top: 2rem; display: grid; gap: 1.25rem; }
.chart__legend { display: flex; gap: 1.2rem; align-items: center; font-size: .9rem; color: var(--fg-2); flex-wrap: wrap; }
.legend { display: inline-flex; align-items: center; gap: .5rem; }
.legend::before { content: ""; width: 14px; height: 14px; border-radius: 4px; }
.legend--pl::before { background: linear-gradient(90deg, var(--green), var(--blue)); }
.legend--md::before { background: var(--fg-3); }
.legend__note { margin-left: auto; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.chart__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 820px) { .chart__grid { grid-template-columns: 1fr; } }
.bars { padding: 1.25rem 1.4rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); min-width: 0; }
.bars__title { font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: .9rem; letter-spacing: 0; }
.bars__pair { display: grid; gap: .5rem; }
.bar { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr) auto; align-items: center; gap: .7rem; }
.bar__who { font-size: .82rem; color: var(--fg-2); }
.bar i { display: block; height: 14px; border-radius: 7px; width: 0; transition: width 1.1s var(--ease); }
.bars.is-in .bar--pl i { width: var(--pl); }
.bars.is-in .bar--md i { width: var(--md); }
.bar--pl i { background: linear-gradient(90deg, var(--green), var(--blue)); box-shadow: 0 0 18px var(--glow-g); min-width: 4px; }
.bar--md i { background: var(--fg-3); opacity: .55; }
.bar b { font-family: var(--font-mono); font-size: .82rem; font-weight: 500; font-variant-numeric: tabular-nums; min-width: 6.5ch; text-align: right; }
.bars__tag { display: inline-block; margin-top: .6rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; color: var(--fg-3); }
.bars__tag.is-win { color: var(--green); }
.tested { display: flex; align-items: center; gap: .45rem; margin-top: .9rem; font-size: .8rem; color: var(--fg-3); font-family: var(--font-mono); letter-spacing: .01em; }
.tested .ic { width: 14px; height: 14px; }
.speed__note { margin-top: 1.5rem; color: var(--fg-2); }
.speed__meta { margin: 1rem 0 1.5rem; font-family: var(--font-mono); font-size: .78rem; color: var(--fg-3); letter-spacing: .02em; }
.sub { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 3.5rem 0 .5rem; }
.lead--small { font-size: 1.02rem; }

/* Races played from measured medians */
.races { display: grid; gap: 1rem; margin-top: 2rem; }
.race { padding: 1.4rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(170deg, var(--bg-3), var(--bg-2)); }
.race__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.race__head h3 { font-size: 1.1rem; }
.lane { display: grid; grid-template-columns: 8rem minmax(0, 1fr) 5.5rem; align-items: center; gap: .9rem; padding: .45rem 0; }
.lane__who { font-weight: 600; font-size: .92rem; }
.lane--pl .lane__who { color: var(--green); }
.lane__time { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; font-weight: 500; }
.lane--pl.is-done .lane__time { color: var(--green); }
.lane__cells { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 4px; }
.lane__cells i { height: 26px; border-radius: 5px; background: var(--bg); border: 1px solid var(--line); transition: background .15s, border-color .15s, box-shadow .2s; }
.lane--pl .lane__cells i.on { background: linear-gradient(135deg, var(--green), var(--blue)); border-color: transparent; box-shadow: 0 0 12px var(--glow-g); }
.lane--md .lane__cells i.on { background: var(--fg-3); border-color: transparent; opacity: .75; }
.lane__track { height: 14px; border-radius: 7px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.lane__track i { display: block; height: 100%; width: 0; border-radius: 7px; }
.lane--pl .lane__track i { background: linear-gradient(90deg, var(--green), var(--blue)); box-shadow: 0 0 14px var(--glow-g); }
.lane--md .lane__track i { background: var(--fg-3); opacity: .7; }
.race__note { margin-top: .8rem; font-size: .85rem; color: var(--fg-3); }
@media (max-width: 560px) { .lane { grid-template-columns: minmax(0, 1fr) 5.4rem; gap: .35rem .5rem; } .lane__who { grid-column: 1 / -1; } .lane__time { white-space: nowrap; font-size: .92rem; } .lane__cells { gap: 2px; } .lane__cells i { height: 20px; border-radius: 3px; } }

/* Direct line illustration */
.direct { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 2.5rem 2rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.direct__node { display: flex; flex-direction: column; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.direct__node .ic { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line-2); }
.direct__node--phone .ic { color: var(--green); } .direct__node--mac .ic { color: var(--blue); }
.direct__line { position: relative; height: 2px; background: linear-gradient(90deg, var(--green), var(--blue)); border-radius: 2px; }
.direct__line i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--blue); animation: travel 2.8s linear infinite; }
.direct__line i:nth-child(2) { animation-delay: .9s; } .direct__line i:nth-child(3) { animation-delay: 1.8s; }
@keyframes travel { from { left: 0; opacity: 0 } 10% { opacity: 1 } 90% { opacity: 1 } to { left: calc(100% - 10px); opacity: 0 } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; max-width: 900px; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.plan--premium { border-color: transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(135deg, var(--green), var(--blue)) border-box; }
.plan h3 { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 1rem; }
.plan ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.plan li { display: flex; gap: .6rem; align-items: center; }
.plan .ic { width: 18px; height: 18px; color: var(--green); flex: none; }
.plan__note { margin-top: 1.2rem; color: var(--fg-3); font-size: .9rem; }

/* FAQ */
.qa { display: grid; gap: .5rem; margin-top: 1.5rem; }
.qa__item { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: .2rem 1.2rem; }
.qa__item summary { cursor: pointer; padding: .9rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary::after { content: "+"; font-family: var(--font-mono); color: var(--fg-3); flex: none; }
.qa__item[open] summary::after { content: "–"; }
.qa__item p { padding-bottom: 1rem; color: var(--fg-2); }

/* Closing */
.closing { text-align: center; background: radial-gradient(60% 60% at 50% 100%, var(--glow-b), transparent 70%); }
.closing__inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.closing__inner .hero__cta { justify-content: center; }
.closing__mark { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 20px 50px var(--glow-g); }

/* Inner pages */
.pagehero { padding-bottom: clamp(2rem, 4vw, 3rem); }
.pagehero h1 { margin-bottom: 1rem; }
.tablewrap { overflow-x: auto; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
.tbl th, .tbl td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; }
.tbl tbody th { font-weight: 600; color: var(--fg); }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td { color: var(--fg-2); font-variant-numeric: tabular-nums; }
.tbl--edge .is-pl td:last-child { color: var(--green); font-weight: 600; }
.tbl--edge .is-md td:last-child { color: var(--fg); }
.edge__table[data-collapsed] .is-extra { display: none; }
.edge__summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 1.5rem; }
@media (max-width: 760px) { .edge__summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.edge h3 { margin-top: 2.5rem; margin-bottom: .8rem; }
[data-edge-toggle] { margin-top: 1rem; }
.steps { padding-left: 1.4rem; margin-top: 1.5rem; display: grid; gap: .9rem; color: var(--fg-2); }
.steps li::marker { font-family: var(--font-mono); color: var(--green); font-weight: 600; }
.plain { padding-left: 1.2rem; display: grid; gap: .6rem; color: var(--fg-2); margin-top: 1rem; }
.plain--numbered li::marker { font-family: var(--font-mono); color: var(--blue); }
.contactline { margin-top: 2rem; color: var(--fg-2); }
.contactline a { color: var(--blue); font-weight: 600; }
.emailcard { margin-top: 2rem; display: flex; gap: 1.2rem; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.emailcard .ic { width: 28px; height: 28px; color: var(--green); flex: none; margin-top: .2rem; }
.emailcard h2 { font-size: 1.1rem; margin-bottom: .3rem; }
.emailcard__addr { font-family: var(--font-mono); font-size: 1.05rem; color: var(--blue); display: inline-block; margin-bottom: .6rem; }
.emailcard p { color: var(--fg-2); font-size: .95rem; }
.helpblock + .helpblock { margin-top: 2.5rem; }
.helpblock h2 { font-size: 1.5rem; }
.legal__body h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.legal__body p { color: var(--fg-2); margin-top: .8rem; max-width: 70ch; }
.legal__body a { color: var(--blue); }
.notfound { padding-block: clamp(5rem, 12vw, 10rem); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 3rem 2.5rem; background: var(--bg-2); }
.foot__inner { width: min(var(--wrap), 100%); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); display: grid; grid-template-columns: 1fr auto auto; gap: 2rem 3rem; align-items: start; }
@media (max-width: 760px) { .foot__inner { grid-template-columns: 1fr; } }
.foot__brand { display: flex; gap: .8rem; align-items: center; }
.foot__brand div { display: flex; flex-direction: column; } .foot__brand span { color: var(--fg-3); font-size: .9rem; }
.foot__nav { display: flex; flex-direction: column; gap: .4rem; } .foot__nav a { color: var(--fg-2); } .foot__nav a:hover { color: var(--fg); }
.foot__langs { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.foot__langs a { color: var(--fg-2); } .foot__langs a[aria-current="true"] { color: var(--fg); font-weight: 600; }
.foot__legal { grid-column: 1 / -1; color: var(--fg-3); font-size: .82rem; max-width: 90ch; margin-top: .5rem; }

/* Motion */
/* Everything is visible at rest. The script marks only what is below the fold as "pre" and lifts
   that mark when it scrolls into view; a timer lifts it regardless. */
[data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].pre { opacity: 0; transform: translateY(18px); }
  [data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .hero__copy > * { animation: rise .7s var(--ease) backwards; }
  .hero__copy > :nth-child(2) { animation-delay: .06s } .hero__copy > :nth-child(3) { animation-delay: .12s } .hero__copy > :nth-child(4) { animation-delay: .18s } .hero__copy > :nth-child(5) { animation-delay: .24s }
  @keyframes rise { from { transform: translateY(14px) } to { transform: none } }
}
@media (prefers-reduced-motion: reduce) { .direct__line i { animation: none; left: 45%; opacity: 1; } .bar i { transition: none; } html { scroll-behavior: auto; } }
@media print { .top, .foot, .scene, .video, .hero__cta { display: none !important; } body { background: #fff; color: #000; } }

/* ===== Hero scene: Android phone and Mac, drawn in a 1000 × 680 space ===== */
.stage { position: relative; width: 100%; max-width: 100%; aspect-ratio: 1000 / 680; --s: .6; contain: layout; }
.stage__tilt { position: absolute; inset: 0; transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
@media (min-width: 1100px) { .stage { --s: .56; } }
.stage__inner { position: absolute; left: 0; top: 0; width: 1000px; height: 680px; transform: scale(var(--s)); transform-origin: 0 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", var(--font-body); color: #e8ebf2; }
.stage__modes { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: .9rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--fg-2); font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip svg { width: 16px; height: 16px; }
.chip.is-on { background: linear-gradient(135deg, var(--green), var(--blue)); color: var(--on-accent); border-color: transparent; }
.chip--ghost { background: transparent; }
.chip:hover { color: var(--fg); }

/* The cable, the Wi-Fi path and the bits that travel them */
.wire { position: absolute; inset: 0; width: 1000px; height: 680px; overflow: visible; pointer-events: none; }
.wire path { fill: none; }
.cable, .plug, .ping { transition: opacity .4s; }
.wire__cable { stroke: #5d6679; stroke-width: 8; stroke-linecap: round; }
.wire__sheen { stroke: rgba(255, 255, 255, .26); stroke-width: 2; stroke-linecap: round; transform: translate(-1.2px, -1.2px); }
.wire__flow { stroke: url(#wire-g); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 3 13; opacity: 0; transition: opacity .5s; }
.s1 .wire__flow { opacity: 1; }
.flowing .wire__flow, .flowing .wire__airflow { animation: wireflow .6s linear infinite; }
@keyframes wireflow { to { stroke-dashoffset: -32; } }
.plug__body { fill: url(#plug-g); stroke: #6b7385; stroke-width: 1; }
.plug--phone .plug__body { fill: url(#plug-gv); }
.plug__boot { fill: #4a5263; }
.plug__tip { fill: #a7aebb; }
.plug { transition: transform .5s cubic-bezier(.3, 1.5, .5, 1), opacity .4s; }
.stage:not(.s1) .plug--phone { transform: translateY(14px); }
.stage:not(.s1) .plug--mac { transform: translateX(-14px); }
.ping { fill: none; stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ping--phone { stroke: #3DDC84; } .ping--mac { stroke: #3D9BFF; }
.s1:not(.s2) .ping { animation: ping 1s ease-out .15s 2; }
@keyframes ping { from { opacity: .95; transform: scale(.35); } to { opacity: 0; transform: scale(1.9); } }
.wire__air { stroke: #3D9BFF; stroke-width: 1.5; stroke-dasharray: 3 9; opacity: 0; }
.wire__airflow { stroke: url(#wire-g); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 3 15; opacity: 0; }
.wire__arcs path { stroke: #3D9BFF; stroke-width: 3; stroke-linecap: round; fill: none; opacity: 0; }
.mode-wifi .cable, .mode-wifi .plug, .mode-wifi .ping { opacity: 0 !important; }
.mode-wifi.s1 .wire__air { opacity: .5; }
.mode-wifi.s1 .wire__airflow { opacity: 1; }
.mode-wifi.s1 .wire__arcs path { opacity: .9; animation: arc 1.6s ease-in-out infinite; }
.mode-wifi .wire__arcs path:nth-child(2) { animation-delay: .25s; }
@keyframes arc { 50% { opacity: .25; } }
.bit { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(61, 220, 132, .8), 0 0 22px 6px rgba(61, 155, 255, .45); opacity: 0;
  offset-path: path("M114 560 C 114 618, 226 622, 228 548 C 229 506, 220 480, 236 480"); offset-rotate: 0deg; }
.mode-wifi .bit { offset-path: path("M120 18 C 180 -4, 290 -4, 352 10"); }
.flowing .bit { animation: bit 1.1s linear infinite; }
.bit--2 { animation-delay: .22s !important; } .bit--3 { animation-delay: .44s !important; } .bit--4 { animation-delay: .66s !important; } .bit--5 { animation-delay: .88s !important; }
@keyframes bit { 0% { offset-distance: 0%; opacity: 0 } 12% { opacity: 1 } 88% { opacity: 1 } 100% { offset-distance: 100%; opacity: 0 } }

/* The Mac */
.mac { position: absolute; left: 300px; top: 46px; width: 660px; }
.mac__lid { width: 660px; height: 424px; border-radius: 22px 22px 6px 6px; background: linear-gradient(#20242c, #0c0e12); padding: 12px; box-shadow: 0 0 0 1.5px #3a404c, 0 30px 70px rgba(0, 0, 0, .55); position: relative; }
.mac__lid::before { content: ""; position: absolute; left: 50%; top: 4px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #1b2028; box-shadow: inset 0 0 0 1.5px #2c3340; }
.mac__screen { position: relative; width: 636px; height: 400px; border-radius: 10px; overflow: hidden; background: #0b1120; }
.mac__wall { position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 10%, #1d4ed8 0%, transparent 55%), radial-gradient(90% 80% at 10% 100%, #0f766e 0%, transparent 60%), radial-gradient(80% 70% at 60% 80%, #6d28d9 0%, transparent 60%), #0b1022; filter: saturate(1.1); }
.mac__menubar { position: absolute; left: 0; right: 0; top: 0; height: 24px; display: flex; align-items: center; gap: 14px; padding: 0 12px; font-size: 12.5px; color: #f2f4f8; background: rgba(10, 14, 24, .35); backdrop-filter: blur(10px); }
.mac__menubar b { font-weight: 700; }
.mac__apple { width: 12px; height: 14px; background: #f2f4f8; clip-path: path("M8.6 2.4c.5-.7.9-1.6.8-2.4-.8 0-1.8.5-2.4 1.2-.5.6-.9 1.5-.8 2.3.9.1 1.8-.4 2.4-1.1ZM9.4 3.6c-1.3-.1-2.4.7-3 .7-.6 0-1.6-.7-2.6-.7C2.5 3.6 1.2 4.4.5 5.7c-1.4 2.4-.4 6 1 8 .7 1 1.5 2 2.5 2s1.4-.7 2.6-.7 1.5.7 2.6.6c1.1 0 1.7-1 2.4-2 .8-1.1 1.1-2.2 1.1-2.3 0 0-2.1-.8-2.2-3.2 0-2 1.6-2.9 1.7-3-1-1.4-2.4-1.5-2.8-1.5Z"); transform: scale(.9); }
.mac__clock { margin-left: auto; }
.mac__base { position: absolute; left: -36px; top: 424px; width: 732px; height: 20px; border-radius: 2px 2px 14px 14px; background: linear-gradient(#5b6270, #2c3038 55%, #1a1d22); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.mac__base span { position: absolute; left: 50%; top: 0; width: 120px; height: 7px; margin-left: -60px; border-radius: 0 0 8px 8px; background: #1f232a; }

/* Finder */
.fw { position: absolute; left: 20px; top: 38px; width: 494px; height: 296px; border-radius: 12px; background: #1e1f22; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 40px rgba(0, 0, 0, .55); overflow: hidden; display: flex; flex-direction: column; }
.fw__bar { height: 36px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: #26272b; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.fw__lights { display: flex; gap: 7px; }
.fw__lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.fw__lights i:nth-child(2) { background: #febc2e; } .fw__lights i:nth-child(3) { background: #28c840; }
.fw__nav { color: #8a8f99; font-size: 15px; letter-spacing: 4px; }
.fw__title { position: relative; font-weight: 700; font-size: 13px; height: 18px; flex: 1; }
.fw__title .t { position: absolute; left: 0; top: 0; white-space: nowrap; transition: opacity .35s, transform .35s; opacity: 0; transform: translateY(4px); }
.fw__body { flex: 1; display: flex; min-height: 0; }
.fw__side { width: 132px; flex: none; padding: 10px 8px; background: #232428; font-size: 11.5px; color: #d9dce3; border-right: 1px solid rgba(255, 255, 255, .05); }
.fw__head { font-size: 10px; color: #7f8591; font-weight: 600; margin: 6px 6px 3px; }
.fw__item { padding: 3px 6px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.fw__item--phone { max-height: 0; padding-block: 0; opacity: 0; transition: max-height .45s var(--ease), opacity .45s, padding .45s, background .4s; }
.fw__phoneicon { width: 9px; height: 14px; border: 1.6px solid currentColor; border-radius: 2.5px; flex: none; }
.fw__main { position: relative; flex: 1; }
.fw__view { position: absolute; inset: 0; padding: 14px; display: grid; gap: 10px 8px; align-content: start; opacity: 0; transition: opacity .4s; }
.fw__view--desk, .fw__view--root { grid-template-columns: repeat(4, 1fr); }
.fw__view--photos { grid-template-columns: repeat(4, 1fr); gap: 10px 8px; }
.fi { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; color: #e5e7ec; border-radius: 8px; padding: 6px 2px; transition: background .3s; }
.fi__icon { width: 48px; height: 38px; border-radius: 4px; position: relative; background: linear-gradient(#6cb8ff, #2f86f6); }
.fi__icon::before { content: ""; position: absolute; left: 0; top: -5px; width: 20px; height: 8px; border-radius: 3px 3px 0 0; background: #3d9bff; }
.fi__icon::after { content: ""; position: absolute; inset: 7px 0 0; border-radius: 3px; background: linear-gradient(#8cc8ff, #3d95f7); }
.ph { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; color: #d9dce3; opacity: 0; transform: scale(.92); transition: opacity .35s calc(var(--i) * 60ms), transform .35s calc(var(--i) * 60ms); }
.ph img { width: 78px; height: 58px; object-fit: cover; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); transition: box-shadow .3s; }
.ph span { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 4px; padding: 0 3px; transition: background .3s; }
.fw__status { height: 22px; flex: none; position: relative; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 10px; color: #8a8f99; }
.fw__status .st { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .35s; }

/* The desktop folder and the copy HUD */
.drop { position: absolute; left: 532px; top: 140px; width: 90px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.drop__icon { width: 60px; height: 48px; position: relative; border-radius: 5px; background: linear-gradient(#6cb8ff, #2f86f6); transition: transform .35s var(--ease); }
.drop__icon::before { content: ""; position: absolute; left: 0; top: -6px; width: 24px; height: 9px; border-radius: 3px 3px 0 0; background: #3d9bff; }
.drop__icon::after { content: ""; position: absolute; inset: 9px 0 0; border-radius: 4px; background: linear-gradient(#8cc8ff, #3d95f7); }
.drop__badge { position: absolute; right: 8px; top: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #ff453a; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .35s var(--ease); text-shadow: none; }
.hud { position: absolute; left: 316px; top: 342px; width: 300px; padding: 9px 12px 10px; border-radius: 12px; background: rgba(30, 31, 36, .92); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 12px 30px rgba(0, 0, 0, .5); font-size: 11.5px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.hud__text { display: block; height: 15px; }
.hud__text--done { display: none; color: #4ade80; font-weight: 600; }
.hud__bar { display: block; height: 5px; margin-top: 7px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.hud__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3DDC84, #3D9BFF); }
.ghosts { position: absolute; inset: 0; pointer-events: none; }
.ghost { position: absolute; left: 0; top: 0; width: 78px; height: 58px; opacity: 0; transition: transform .9s cubic-bezier(.5, 0, .2, 1), width .9s, height .9s, opacity .3s; z-index: 5; }
.ghost img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; box-shadow: 0 0 0 2px #3D9BFF, 0 10px 24px rgba(0, 0, 0, .5); }
.mcur { position: absolute; left: 0; top: 0; width: 19px; height: 27px; margin: -2px 0 0 -2px; z-index: 7; opacity: 0; pointer-events: none; transition-property: transform, opacity; transition-duration: .85s, .3s; transition-timing-function: cubic-bezier(.45, 0, .2, 1), ease; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); }
.mcur.is-on { opacity: 1; }
.mcur svg { width: 100%; height: 100%; display: block; transform-origin: 2px 2px; transition: transform .1s; }
.mcur.is-click svg { transform: scale(.8); }

/* The Android phone */
.droid { position: absolute; left: 8px; top: 64px; width: 212px; height: 468px; }
.droid__body { position: absolute; inset: 0; border-radius: 34px; padding: 7px; background: linear-gradient(145deg, #3b414c, #15181d 40%, #2a2f38); box-shadow: 0 0 0 1px #4b5260, 0 30px 60px rgba(0, 0, 0, .55); }
.droid__screen { position: relative; width: 100%; height: 100%; border-radius: 28px; background: #131417; overflow: hidden; color: #e8eaef; font-family: Roboto, "Google Sans", system-ui, sans-serif; }
.droid__cam { position: absolute; left: 50%; top: 17px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #050608; box-shadow: inset 0 0 0 2px #1d2128; }
.droid__btn { position: absolute; right: -3px; width: 3px; border-radius: 0 2px 2px 0; background: #4b5260; }
.droid__btn--a { top: 96px; height: 56px; } .droid__btn--b { top: 168px; height: 34px; }
.droid__port { position: absolute; left: 50%; bottom: -2px; width: 26px; height: 5px; margin-left: -13px; border-radius: 3px; background: #0b0c0f; }
.droid__status { height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 0 22px; font-size: 11px; font-weight: 600; }
.droid__icons { display: flex; gap: 5px; align-items: center; }
.droid__icons .w { width: 12px; height: 9px; background: #e8eaef; clip-path: polygon(50% 100%, 0 25%, 15% 10%, 50% 0, 85% 10%, 100% 25%); }
.droid__icons .b { width: 18px; height: 9px; border-radius: 2px; background: #e8eaef; }
.droid__notif { position: absolute; left: 8px; right: 8px; top: 34px; z-index: 2; display: flex; gap: 8px; align-items: flex-start; padding: 9px 10px; border-radius: 16px; background: #2a2d34; box-shadow: 0 8px 20px rgba(0, 0, 0, .45); transform: translateY(-130%); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.droid__notif-icon { width: 26px; height: 26px; flex: none; border-radius: 50%; background: #3DDC84; color: #062a14; display: grid; place-items: center; }
.droid__notif-icon svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.droid__notif-text { display: flex; flex-direction: column; gap: 2px; font-size: 10.5px; line-height: 1.25; }
.droid__notif-text b { font-weight: 600; }
.droid__notif-text em { font-style: normal; color: #a9afbb; font-size: 9.5px; }
.mode-usb .n--wifi, .mode-wifi .n--usb, .mode-usb .droid__notif-icon svg:last-child, .mode-wifi .droid__notif-icon svg:first-child { display: none; }
.droid__appbar { display: flex; align-items: center; gap: 12px; padding: 12px 16px 6px; font-size: 15px; font-weight: 500; }
.droid__back { color: #c8ccd6; }
.droid__chips { display: flex; gap: 6px; padding: 4px 14px 10px; }
.droid__chips span { font-size: 9.5px; padding: 4px 9px; border-radius: 8px; border: 1px solid #3a3f49; color: #c8ccd6; }
.droid__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 10px; }
.dg { border-radius: 10px; overflow: hidden; background: #1e2026; border: 1px solid #2b2f37; }
.dg img { width: 100%; height: auto; aspect-ratio: 1 / .82; object-fit: cover; display: block; }
.dg span { display: block; font-size: 8.5px; padding: 4px 6px 5px; color: #c8ccd6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.droid__gesture { position: absolute; left: 50%; bottom: 8px; width: 74px; height: 4px; margin-left: -37px; border-radius: 2px; background: #e8eaef; opacity: .8; }

/* Captions under the devices */
.cap { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--font-body); }
.cap b { font-family: var(--font-mono); font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; }
.cap span { font-size: 19px; color: var(--fg-2); }
.cap--phone { left: -6px; width: 240px; top: 622px; transition: top .45s var(--ease); }
.mode-wifi .cap--phone { top: 556px; }
.cap--mac { left: 300px; width: 660px; top: 506px; }

/* The story, step by step (s1 … s6 accumulate) */
.s1 .droid__notif { transform: none; opacity: 1; }
.s3 .droid__notif { transform: translateY(-130%); opacity: 0; }
.s2 .fw__item--phone { max-height: 22px; padding-block: 3px; opacity: 1; background: rgba(61, 155, 255, .35); }
.s3 .fw__item--phone { background: rgba(255, 255, 255, .08); }
.stage:not(.s2) .fw__view--desk, .s2:not(.s3) .fw__view--root, .s3 .fw__view--photos { opacity: 1; }
.stage:not(.s2) .t--desk, .s2:not(.s3) .t--phone, .s3 .t--folder { opacity: 1; transform: none; }
.stage:not(.s2) .st--desk, .s2:not(.s3) .st--phone, .s3 .st--photos { opacity: 1; }
.s2:not(.s3) .fi--target { background: rgba(61, 155, 255, .3); animation: pick 1.2s .6s ease-in-out; }
@keyframes pick { 50% { background: rgba(61, 155, 255, .55); } }
.s3 .ph { opacity: 1; transform: none; }
.s4 .ph--pick img { box-shadow: 0 0 0 2.5px #3D9BFF; }
.s4 .ph--pick span { background: #2f6fe0; color: #fff; }
.s5 .hud { opacity: 1; transform: none; }
.s5:not(.s6) .hud__bar i { width: 100%; transition: width 1.5s cubic-bezier(.3, .1, .3, 1); }
.s6 .hud__bar i { width: 100%; }
.s6 .hud__text--busy { display: none; } .s6 .hud__text--done { display: block; }
.s6 .drop__badge { transform: scale(1); }
.s5:not(.s6) .drop__icon { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .stage * { transition: none !important; animation: none !important; } }

/* ===== Screenshots: Mac windows and phones, with numbered callouts ===== */
.shot { margin: 0; min-width: 0; }
.shot--mac .shot__frame, .shot--phone .shot__frame { position: relative; }
.shot--mac img { width: 100%; height: auto; filter: drop-shadow(0 24px 50px rgba(0, 0, 0, .45)) drop-shadow(0 0 0 rgba(0,0,0,0)); border-radius: 12px; }
.shot--phone .shot__frame { width: min(100%, 320px); margin: 0 auto; padding: 9px; border-radius: 42px; background: linear-gradient(145deg, #3b414c, #15181d 40%, #2a2f38); box-shadow: 0 0 0 1px #4b5260, 0 30px 60px rgba(0, 0, 0, .45); }
.shot--phone .shot__frame img { width: 100%; height: auto; border-radius: 34px; display: block; }
.shot--phone .shot__frame::after { content: ""; position: absolute; left: 50%; top: 23px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #050608; box-shadow: inset 0 0 0 2px #1d2128; }
.shot--phone figcaption { text-align: center; max-width: 320px; margin-inline: auto; }
.shot--placeholder .shot__frame { aspect-ratio: var(--ratio); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg-3); }
.shot--fade .shot__frame { -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.mark { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; font: 700 .82rem/1 var(--font-mono); color: #06110b; background: linear-gradient(135deg, #3DDC84, #3D9BFF); box-shadow: 0 0 0 4px rgba(7, 10, 18, .55), 0 6px 18px rgba(0, 0, 0, .4); z-index: 2; transition: transform .25s var(--ease); }
.mark::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #3DDC84; opacity: 0; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.7); opacity: .8 } 80%, 100% { transform: scale(1.6); opacity: 0 } }
.mark.is-hot { transform: scale(1.25); }
.legend-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.legend-list li { display: flex; align-items: center; gap: .55rem; color: var(--fg-2); font-size: .95rem; cursor: default; }
.legend-list__n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 700 .75rem/1 var(--font-mono); color: #06110b; background: linear-gradient(135deg, #3DDC84, #3D9BFF); }
.legend-list li.is-hot { color: var(--fg); }
@media (prefers-reduced-motion: reduce) { .mark::after { animation: none; } }

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 290px); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: 2.5rem; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
.points--row { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.5rem; }
@media (max-width: 860px) { .points--row { grid-template-columns: 1fr; } }
.apptour .shot, .openplace .shot { margin-top: 2.5rem; }
.phones3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.phones3 .shot--phone .shot__frame { width: min(100%, 260px); }
@media (max-width: 760px) { .phones3 { grid-template-columns: 1fr; } }
.split__media--phone .shot--phone .shot__frame { width: min(100%, 300px); }
.card--why { position: relative; padding-top: 1.4rem; }
.card__n { font-family: var(--font-mono); font-size: .8rem; color: var(--green); letter-spacing: .08em; }

/* Guides */
.guidecards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2.2rem 0 2rem; }
@media (max-width: 1000px) { .guidecards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .guidecards { grid-template-columns: 1fr; } }
.guidecards--small { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1rem 0 0; }
@media (max-width: 620px) { .guidecards--small { grid-template-columns: 1fr; } }
.guidecard { position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1.3rem 1.3rem 2.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); transition: transform .3s var(--ease), border-color .3s; min-width: 0; }
.guidecard:hover { transform: translateY(-3px); border-color: var(--line-2); }
.guidecard__kicker { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.guidecard strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; letter-spacing: -.01em; }
.guidecard__text { color: var(--fg-2); font-size: .92rem; }
.guidecard__go { position: absolute; right: 1.1rem; bottom: .9rem; color: var(--blue); }
.guidecard__go .ic { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.guidecard:hover .guidecard__go .ic { transform: translateX(4px); }
.crumbs { display: flex; gap: .5rem; font-size: .85rem; color: var(--fg-3); margin-bottom: 1.5rem; }
.crumbs a:hover { color: var(--fg); }
.article { padding-top: clamp(2rem, 5vw, 3.5rem); }
.article__head { max-width: 820px; }
.article__head h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 1rem; }
.article__meta { margin-top: 1rem; font-family: var(--font-mono); font-size: .78rem; color: var(--fg-3); }
.article__layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.5rem; align-items: start; }
@media (max-width: 900px) { .article__layout { grid-template-columns: 1fr; } }
.article__toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); font-size: .9rem; }
.article__toc p { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: .6rem; }
.article__toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; border-left: 2px solid var(--line); }
.article__toc a { display: block; padding-left: .9rem; color: var(--fg-2); margin-left: -2px; border-left: 2px solid transparent; }
.article__toc a:hover, .article__toc a.is-here { color: var(--fg); border-left-color: var(--green); }
@media (max-width: 900px) { .article__toc { position: static; } }
.article__body { min-width: 0; max-width: 760px; }
.article__block + .article__block { margin-top: 3rem; }
.article__block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.article__block > p { color: var(--fg-2); margin-top: .9rem; }
.article__block a:not(.textlink):not(.guidecard) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article__block em { font-style: normal; color: var(--fg); font-weight: 600; }
.gsteps { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1.4rem; }
.gstep { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; }
.gstep__n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font: 700 1rem/1 var(--font-mono); color: #06110b; background: linear-gradient(135deg, var(--green), var(--blue)); }
.gstep__body h3 { font-size: 1.15rem; margin: .55rem 0 .4rem; }
.gstep__body p { color: var(--fg-2); }
.gstep__body .shot { margin-top: 1.2rem; }
.gstep__body .shot--phone .shot__frame { width: min(100%, 260px); margin: 0; }
.gstep__body .shot--phone figcaption { text-align: left; }
.article__cta + .article__block { margin-top: 3rem; }
.article__cta { margin-top: 3rem; display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem; border-radius: var(--radius); border: 1px solid transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(135deg, var(--green), var(--blue)) border-box; flex-wrap: wrap; }
.article__cta .closing__mark { width: 56px; height: 56px; border-radius: 14px; box-shadow: none; }
.article__cta div { display: flex; flex-direction: column; flex: 1; min-width: 200px; }
.article__cta span { color: var(--fg-2); font-size: .92rem; }

/* ===== Portline against MacDroid, numbers first ===== */
.who { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; white-space: nowrap; color: var(--fg); }
.who__logo { width: 26px; height: 26px; border-radius: 7px; flex: none; display: block; }
.who--md { color: var(--fg-2); }
.who--sm { font-size: .82rem; gap: .4rem; } .who--sm .who__logo { width: 18px; height: 18px; border-radius: 5px; }
.who--mini { gap: 0; } .who--mini .who__logo { width: 20px; height: 20px; border-radius: 5px; } .who--mini .who__name { display: none; }
.lane--pl .lane__who .who { color: var(--fg); }
.chart__legend .who { font-size: .9rem; }

/* The two logos, facing each other */
.pagehero--vs { text-align: center; }
.pagehero--vs .eyebrow { justify-content: center; }
.vs__copy { margin: 0 auto; }
.vs__copy .lead { margin-inline: auto; }
.vs { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(1.6rem, 6vw, 4.5rem); margin: 0 auto 2.2rem; isolation: isolate; }
.vs::before { content: ""; position: absolute; left: 50%; top: calc(50% - 14px); width: min(420px, 60%); height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, var(--green), var(--blue) 50%, var(--line-2)); opacity: .55; z-index: -1; }
.vs::after { content: ""; position: absolute; left: calc(50% - min(210px, 30%)); top: calc(50% - 17px); width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px var(--green); z-index: -1; opacity: 0; }
.vs__side { display: flex; flex-direction: column; align-items: center; gap: .7rem; font-weight: 600; font-size: 1.05rem; }
.vs__logo { width: clamp(76px, 11vw, 120px); height: clamp(76px, 11vw, 120px); border-radius: 23%; display: block; }
.vs__side--pl .vs__logo { filter: drop-shadow(0 0 28px var(--glow-g)) drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.vs__side--md .vs__logo { filter: saturate(.85) drop-shadow(0 18px 30px rgba(0, 0, 0, .3)); }
.vs__side--md span { color: var(--fg-2); }
.vs__badge { width: 54px; height: 54px; margin-bottom: 1.9rem; border-radius: 50%; display: grid; place-items: center; font: 600 .85rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg); background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 0 0 6px var(--bg), 0 0 30px var(--glow-b); }
@media (prefers-reduced-motion: no-preference) {
  .vs__side--pl .vs__logo { animation: hover 6s ease-in-out infinite; }
  .vs::after { animation: zip 2.8s cubic-bezier(.5, 0, .5, 1) infinite; }
}
@keyframes hover { 50% { transform: translateY(-6px) rotate(-1.5deg); } }
@keyframes zip { 0% { opacity: 0; transform: translateX(0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(min(420px, 60vw)); } }

/* Scoreboard */
.score { margin-top: 2rem; text-align: left; }
.score__grid { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(170deg, var(--bg-3), var(--bg-2)); overflow: hidden; }
.score__head, .score__row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) 9rem; align-items: center; gap: 1rem; padding: 1.05rem 1.6rem; }
.score__head { border-bottom: 1px solid var(--line); padding-block: .85rem; background: color-mix(in srgb, var(--bg) 40%, transparent); }
.score__row + .score__row { border-top: 1px solid var(--line); }
.score__row { transition: background .3s; }
.score__row:hover { background: color-mix(in srgb, var(--blue) 5%, transparent); }
.score__label { font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.score__val { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.score__val .who--mini { display: none; }
.score__num { display: inline-flex; align-items: baseline; gap: .25rem; font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.score__num b { font-size: clamp(1.75rem, 3.1vw, 2.6rem); }
.score__num small { font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--fg-3); }
.score__pre { font-size: 1.5rem; font-weight: 600; color: var(--fg-3); margin-right: .15rem; align-self: center; }
.score__val--pl b { background: linear-gradient(120deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score__val--md b { color: var(--fg-3); }
.score__x { justify-self: end; padding: .42rem .75rem; border-radius: 999px; font: 600 .8rem/1 var(--font-mono); letter-spacing: .02em; white-space: nowrap; color: var(--green); background: color-mix(in srgb, var(--green) 13%, transparent); border: 1px solid color-mix(in srgb, var(--green) 38%, transparent); }
.score.is-armed .score__row { opacity: 0; transform: translateY(12px); }
.score.is-armed .score__row.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s; }
.score.is-armed .score__x { opacity: 0; transform: scale(.5); }
.score.is-armed .score__row.is-done .score__x { opacity: 1; transform: none; transition: transform .5s cubic-bezier(.3, 1.7, .5, 1), opacity .25s; }
.score__val--pl.is-stop .score__num { animation: stop .7s var(--ease); }
@keyframes stop { 30% { transform: scale(1.08); filter: drop-shadow(0 0 14px var(--glow-g)); } }
@media (max-width: 760px) {
  .score__head { display: none; }
  .score__row { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "label label" "pl md"; gap: .6rem .8rem; padding: 1rem 1.1rem; }
  .score__label { grid-area: label; font-size: .95rem; padding-right: 7.2rem; min-height: 1.6rem; }
  .score__val--pl { grid-area: pl; } .score__val--md { grid-area: md; } .score__x { grid-area: x; }
  .score__val .who--mini { display: inline-flex; }
  .score__num b { font-size: 1.6rem; }
  .score__x { position: absolute; top: .95rem; right: 1.1rem; padding: .32rem .55rem; font-size: .72rem; }
}

/* A new file on the phone, in Finder */
.lr { margin-top: 0; }
.lr__stage { display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); gap: 1.4rem; align-items: center; }
.lr__win { min-width: 0; padding: .85rem; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); transition: border-color .4s, box-shadow .4s; }
.lr__win--pl.is-shown { border-color: color-mix(in srgb, var(--green) 55%, transparent); box-shadow: 0 0 30px var(--glow-g); }
.lr__top { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.lr__clock { margin-left: auto; font: 600 1.05rem/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.lr__win--pl.is-shown .lr__clock { color: var(--green); }
.lr__win--md.is-timeout .lr__clock { color: var(--fg-3); }
.lr__ffchip { margin-left: auto; padding: .25rem .45rem; border-radius: 6px; font: 600 .7rem/1 var(--font-mono); color: var(--blue); background: color-mix(in srgb, var(--blue) 14%, transparent); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s cubic-bezier(.3, 1.7, .5, 1); }
.lr__ffchip + .lr__clock { margin-left: .5rem; }
.lr.is-fast .lr__ffchip { opacity: 1; transform: none; }
.lr.is-fast .lr__win--md:not(.is-timeout) .lr__clock { color: var(--blue); }
.lr__finder { border-radius: 10px; overflow: hidden; background: #1e1f22; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 12px 30px rgba(0, 0, 0, .3); }
.lr__bar { height: 26px; display: flex; align-items: center; gap: 10px; padding: 0 10px; white-space: nowrap; overflow: hidden; background: #26272b; color: #e8ebf2; font-size: .72rem; font-weight: 700; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", var(--font-body); }
.lr__lights { display: flex; gap: 5px; } .lr__lights i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; } .lr__lights i:nth-child(2) { background: #febc2e; } .lr__lights i:nth-child(3) { background: #28c840; }
.lr__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px; }
.lr__tile { display: block; aspect-ratio: 4 / 3; border-radius: 5px; overflow: hidden; }
.lr__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lr__win .lr__tile--new { overflow: visible; outline: 1.5px dashed rgba(255, 255, 255, .38); outline-offset: -1.5px; }
.lr__win .lr__tile--new img { border-radius: 5px; opacity: 0; transform: scale(.3); transition: opacity .3s, transform .5s cubic-bezier(.3, 1.6, .5, 1), box-shadow .5s; }
.lr__win.is-shown .lr__tile--new { outline-color: transparent; }
.lr__win.is-shown .lr__tile--new img { opacity: 1; transform: none; box-shadow: 0 0 0 2px #3DDC84, 0 0 18px rgba(61, 220, 132, .6); }
.lr__win--md.is-timeout .lr__tile--new { outline-color: color-mix(in srgb, var(--red) 70%, transparent); }
.lr__state { margin-top: .65rem; font-size: .85rem; font-weight: 600; min-height: 1.3em; }
.lr__state span { display: none; }
.lr__win:not(.is-shown):not(.is-timeout) .lr__wait { display: inline; color: var(--fg-3); }
.lr__win.is-shown .lr__ok { display: inline; color: var(--green); }
.lr__win.is-timeout .lr__no { display: inline; color: var(--red); }
.lr__phone { position: relative; width: 132px; aspect-ratio: 9 / 19; padding: 5px; border-radius: 22px; background: linear-gradient(145deg, #3b414c, #15181d 40%, #2a2f38); box-shadow: 0 0 0 1px #4b5260, 0 20px 40px rgba(0, 0, 0, .45); justify-self: center; }
.lr__screen { position: relative; height: 100%; border-radius: 17px; overflow: hidden; background: #131417; padding: 24px 6px 6px; }
.lr__screen::before { content: ""; position: absolute; left: 50%; top: 8px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #050608; }
.lr__pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.lr__pgrid .lr__tile { aspect-ratio: 1; border-radius: 4px; }
.lr__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 2; }
.lr__save { position: absolute; left: 50%; top: 36%; padding: .3rem .55rem; border-radius: 999px; font: 700 .8rem/1 var(--font-mono); color: var(--on-accent); background: linear-gradient(135deg, var(--green), var(--blue)); transform: translate(-50%, 0) scale(.6); opacity: 0; pointer-events: none; }
.lr.is-saving .lr__flash { animation: flash .55s ease-out; }
.lr.is-saving .lr__save { animation: saved 1.6s var(--ease); }
.lr.is-saving .lr__pgrid .lr__tile--new img { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes flash { 0% { opacity: .9; } 100% { opacity: 0; } }
@keyframes saved { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.6); } 20% { opacity: 1; transform: translate(-50%, 0) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -26px) scale(1); } }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.lr__ff { color: var(--fg-3); }
@media (max-width: 760px) {
  .lr__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; }
  .lr__phone { grid-column: 1 / -1; order: -1; width: 104px; }
  .lr__win { padding: .6rem; } .lr__grid { gap: 4px; padding: 6px; }
  .lr__top { flex-wrap: wrap; gap: .35rem .45rem; margin-bottom: .55rem; }
  .lr__top .who { font-size: .85rem; gap: .4rem; } .lr__top .who__logo { width: 20px; height: 20px; }
  .lr__clock, .lr__ffchip + .lr__clock { order: 3; width: 100%; margin-left: 0; font-size: 1rem; }
  .lr__ffchip { margin-left: auto; }
  .lr__lights { display: none; }
  .lr__stage { align-items: start; }
}

/* 52 everyday tasks */
.sub--tg { margin-top: 2.2rem; }
.tg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.2rem 0 2rem; }
.tg__panel { padding: 1.3rem 1.4rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(170deg, var(--bg-3), var(--bg-2)); min-width: 0; }
.tg__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.tg__n { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tg__n b { font-size: clamp(2.1rem, 4vw, 3rem); }
.tg__n small { font-size: 1.1rem; color: var(--fg-3); font-weight: 600; letter-spacing: 0; }
.tg__panel--pl .tg__n b { background: linear-gradient(120deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tg__panel--md .tg__n b { color: var(--fg-2); }
.tg__grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 5px; }
.tg__c { display: block; aspect-ratio: 1; border-radius: 4px; }
.tg__c--done { background: var(--green); }
.tg__panel--pl .tg__grid .tg__c--done { box-shadow: 0 0 10px var(--glow-g); }
.tg__c--failed { background: var(--red); }
.tg__c--blocked { background: repeating-linear-gradient(135deg, var(--fg-3) 0 1.5px, transparent 1.5px 4.5px); box-shadow: inset 0 0 0 1px var(--fg-3); opacity: .75; }
.tg__grid .tg__c { cursor: help; }
.tg__legend { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; font-size: .88rem; color: var(--fg-2); }
.tg__legend li { display: flex; align-items: center; gap: .45rem; }
.tg__legend .tg__c { width: 12px; height: 12px; border-radius: 3px; box-shadow: none; }
.tg__legend b { color: var(--fg); font-variant-numeric: tabular-nums; }
.tg.is-armed .tg__grid .tg__c { opacity: 0; transform: scale(0); }
.tg.is-armed.is-in .tg__grid .tg__c { opacity: 1; transform: none; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) calc(var(--i, 0) * 20ms), opacity .2s calc(var(--i, 0) * 20ms); }
.tg.is-armed.is-in .tg__grid .tg__c--failed { animation: nope .45s ease-in-out calc(var(--i, 0) * 20ms + 600ms); }
@keyframes nope { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
@media (max-width: 760px) { .tg { grid-template-columns: minmax(0, 1fr); } .tg__grid { gap: 4px; } }

/* Why cards, number first */
.why__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 4vw, 3.1rem); letter-spacing: -.03em; line-height: 1; margin-top: .35rem; background: linear-gradient(120deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card--why h3 { font-size: 1.05rem; line-height: 1.3; }
.why__md { display: flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .4rem; font: 500 .9rem/1.2 var(--font-mono); color: var(--fg-3) !important; }
.tasksec .lead, .pagehero--vs .lead { max-width: 62ch; }
.pagehero--vs .tested { justify-content: center; }
@media (max-width: 760px) {
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .card--why { padding: 1.1rem; }
  .why__num { font-size: 2rem; }
  .card--why h3 { font-size: .95rem; }
}

/* Connection diagrams */
.mv { width: 100%; height: auto; display: block; margin: -.2rem 0 .2rem; overflow: visible; }
.mv__dev { fill: var(--bg); stroke: var(--fg-3); stroke-width: 1.6; }
.mv__notch { fill: var(--fg-3); }
.mv__cable { fill: none; stroke: var(--line-2); stroke-width: 5; stroke-linecap: round; }
.mv__plug { fill: var(--fg-3); }
.mv__air { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 3 7; opacity: .7; }
.mv__lock rect { fill: var(--blue); } .mv__lock path { stroke: var(--blue); stroke-width: 1.8; }
.mv__bit { fill: var(--green); filter: drop-shadow(0 0 4px var(--green)); }
.mv--2 .mv__bit { fill: var(--blue); filter: drop-shadow(0 0 4px var(--blue)); }
@media (prefers-reduced-motion: reduce) { .mv__bit { display: none; } }

.tbl thead th .who { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 600; }
.tbl thead th .who--md { color: var(--fg-2); }

/* ===================================================================================================
   2026-10-26: the twelve recorded races, the film, and a brighter hero.
   =================================================================================================== */
.grad { background: linear-gradient(120deg, var(--green), #2BC5FF 55%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* MacDroid is named, not shown by its icon: a neutral monogram. */
.who__mono { display: grid; place-items: center; background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line-2); color: var(--fg-2); font: 700 14px/1 var(--font-display); letter-spacing: 0; }
.who--sm .who__mono { font-size: 10px; }
.who--mini .who__mono { font-size: 11px; }
.vs__mono { display: grid; place-items: center; background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line-2); color: var(--fg-2); font: 700 clamp(2.2rem, 4.4vw, 3.6rem)/1 var(--font-display); box-shadow: 0 18px 30px rgba(0, 0, 0, .25); }

/* Hero: a slow aurora, a faint grid, and the result up front. */
.hero__inner { z-index: 1; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 62% 38%, #000 10%, transparent 72%); mask-image: radial-gradient(70% 70% at 62% 38%, #000 10%, transparent 72%); }
.hero__badge { position: relative; display: inline-flex; align-items: center; gap: .65rem; max-width: 100%; padding: .3rem .95rem .3rem .3rem; margin-bottom: 1.4rem; border-radius: 999px; overflow: hidden;
  border: 1px solid var(--line-2); background: color-mix(in srgb, var(--bg-2) 78%, transparent); color: var(--fg); font-size: .9rem; font-weight: 500; line-height: 1.25; transition: border-color .25s, transform .25s var(--ease); }
.hero__badge:hover { border-color: var(--blue); transform: translateY(-1px); }
.hero__badge-n { flex: none; padding: .42rem .62rem; border-radius: 999px; background: linear-gradient(135deg, var(--green), var(--blue)); color: var(--on-accent); font: 700 .78rem/1 var(--font-mono); letter-spacing: .04em; }
.hero__badge .ic { width: 16px; height: 16px; flex: none; color: var(--fg-3); transition: transform .25s var(--ease), color .25s; }
.hero__badge:hover .ic { transform: translateX(3px); color: var(--blue); }
.hero__badge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, #fff 14%, transparent) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }

/* Headline numbers */
.stat--big .stat__value { font-size: clamp(2.5rem, 4.8vw, 3.8rem); padding-bottom: .1rem; }
.stat--big { padding: 1.6rem 1.5rem 1.4rem; }
.stat, .card { background: radial-gradient(420px circle at var(--mx, -600px) var(--my, -600px), color-mix(in srgb, var(--blue) 11%, transparent), transparent 62%), var(--bg-2); }

/* The race section */
.racesec { overflow: hidden; background: radial-gradient(70% 45% at 50% 0%, color-mix(in srgb, var(--blue) 11%, transparent), transparent 70%), radial-gradient(40% 35% at 6% 12%, color-mix(in srgb, var(--green) 8%, transparent), transparent 70%); }
.racesec__title { font-size: clamp(2.3rem, 5.4vw, 4.4rem); letter-spacing: -.035em; max-width: 18ch; }
.rb { margin-top: 2.4rem; display: grid; gap: 1.1rem; }
.rb__stage { position: relative; padding: clamp(1.1rem, 2.6vw, 2rem); border-radius: 28px; isolation: isolate;
  background: radial-gradient(80% 120% at 0% 0%, color-mix(in srgb, var(--green) 7%, transparent), transparent 60%), radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--blue) 9%, transparent), transparent 60%), linear-gradient(175deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); box-shadow: var(--shadow); }
.rb__stage::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(120deg, color-mix(in srgb, var(--green) 55%, transparent), transparent 35%, transparent 65%, color-mix(in srgb, var(--blue) 60%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.rb__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.rb__conn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: .55rem; }
.rb__conn .ic { width: 16px; height: 16px; color: var(--blue); }
.rb__ic { display: inline-flex; } .rb__ic[hidden] { display: none; }
.rb__what { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; font-size: clamp(1.45rem, 2.7vw, 2.2rem); letter-spacing: -.025em; }
.rb__route { font-family: var(--font-body); font-size: .48em; font-weight: 600; letter-spacing: 0; color: var(--fg-2); padding: .35em .8em; border-radius: 999px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--bg) 40%, transparent); white-space: nowrap; }
.rb__ctrl { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.rb__speed { display: inline-flex; align-items: center; gap: .45rem; padding: .48rem .85rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--fg-2); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.rb__speed .ic { width: 12px; height: 12px; }
.rb__speed.is-lapse { background: linear-gradient(135deg, #7CF0B4, #7DBBFF); border-color: transparent; color: #06110B; font-weight: 600; }
.rb__speed.is-hidden { opacity: 0; }
.chip--film { background: linear-gradient(135deg, var(--green), var(--blue)); color: var(--on-accent); border-color: transparent; }
.chip--film:hover { color: var(--on-accent); filter: brightness(1.06); }
.chip--film[aria-pressed="true"] { background: transparent; color: var(--fg); border-color: var(--line-2); }
.chip .ic { width: 14px; height: 14px; }

.rb__body { position: relative; }
.rb__lanes { display: grid; gap: .9rem; }
.rb.is-watching .rb__lanes { display: none; }
.rb__clip { border-radius: 20px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--line-2); }
.rb__clip video { width: 100%; height: 100%; object-fit: contain; }
.rb__lane { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr) 11.5rem; gap: 1.3rem; align-items: center; padding: 1.15rem 1.3rem; border-radius: 20px;
  background: color-mix(in srgb, var(--bg) 45%, transparent); border: 1px solid var(--line); transition: border-color .45s, box-shadow .45s, background .45s; }
.rb__lane--pl.is-done { border-color: color-mix(in srgb, var(--blue) 60%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--green) 35%, transparent), 0 18px 50px -18px var(--glow-b);
  background: linear-gradient(100deg, color-mix(in srgb, var(--green) 8%, transparent), color-mix(in srgb, var(--blue) 8%, transparent)); }
.rb__who { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; min-width: 0; }
.rb__who .who { font-size: 1.12rem; }
.rb__who .who__logo { width: 32px; height: 32px; border-radius: 9px; }
.rb__mode { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.rb__lane--pl .rb__mode { border-color: color-mix(in srgb, var(--blue) 55%, transparent); color: color-mix(in srgb, var(--blue) 55%, var(--fg)); }
.rb__state { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.rb__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-3); }
.rb__lane.is-running .rb__dot { background: var(--green); animation: rbPulse 1s ease-in-out infinite; }
.rb__lane--md.is-running .rb__dot { background: var(--fg-2); }
.rb__lane.is-done .rb__dot { background: var(--green); box-shadow: 0 0 0 4px var(--glow-g); }
.rb__lane--md.is-done .rb__dot { background: var(--fg-2); box-shadow: none; }
@keyframes rbPulse { 50% { opacity: .35; } }
.rb__tiles { display: grid; gap: 3px; min-width: 0; }
.rb__tiles--many { grid-template-columns: repeat(40, minmax(0, 1fr)); }
.rb__tiles--few { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.rb__tiles i { aspect-ratio: 1; border-radius: 3px; background: color-mix(in srgb, var(--fg) 7%, transparent); transition: background .18s, box-shadow .3s, transform .3s var(--ease); }
.rb__tiles--few i { aspect-ratio: auto; height: clamp(34px, 4.4vw, 58px); border-radius: 9px; position: relative; overflow: hidden; }
.rb__tiles--few i::before, .rb__tiles--few i::after { content: ""; position: absolute; left: 0; right: 0; height: 7px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--bg) 70%, transparent) 0 5px, transparent 5px 10px); opacity: .55; }
.rb__tiles--few i::before { top: 3px; } .rb__tiles--few i::after { bottom: 3px; }
.rb__lane--pl .rb__tiles i.on { background: var(--c, var(--green)); box-shadow: 0 0 10px -2px var(--c, var(--green)); }
.rb__lane--md .rb__tiles i.on { background: color-mix(in srgb, var(--fg-3) 80%, transparent); }
.rb__tiles i.pop { transform: scale(1.35); }
.rb__read { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; text-align: right; }
.rb__clock { display: inline-flex; align-items: baseline; gap: .2rem; }
.rb__clock b { font: 700 clamp(2.1rem, 4.2vw, 3.3rem)/1 var(--font-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.rb__clock small { font: 500 1.1rem/1 var(--font-display); color: var(--fg-3); }
.rb__lane--pl.is-done .rb__clock b { background: linear-gradient(120deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rb__lane--md.is-done .rb__clock b { color: var(--fg-2); }
.rb__count { font-family: var(--font-mono); font-size: .72rem; color: var(--fg-3); letter-spacing: .02em; white-space: nowrap; }

.rb__result { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.1rem; padding: .95rem 1.3rem; border-radius: 18px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--green) 10%, transparent), color-mix(in srgb, var(--blue) 11%, transparent)); border: 1px solid color-mix(in srgb, var(--blue) 40%, transparent);
  opacity: .38; filter: saturate(0); transition: opacity .45s var(--ease), filter .45s var(--ease), box-shadow .6s var(--ease); }
.rb__result.is-in { opacity: 1; filter: none; box-shadow: 0 18px 50px -22px var(--glow-b); }
@media (prefers-reduced-motion: no-preference) { .rb__result.is-in { animation: rbWin .9s var(--ease); } }
@keyframes rbWin { 0% { transform: scale(.985); box-shadow: 0 0 0 0 color-mix(in srgb, var(--blue) 45%, transparent); } 60% { transform: scale(1.01); box-shadow: 0 0 0 10px transparent; } 100% { transform: none; } }
.rb__mark { width: 34px; height: 34px; flex: none; }
.rb__result strong { font: 700 clamp(2rem, 4.2vw, 3rem)/1 var(--font-display); letter-spacing: -.04em; background: linear-gradient(120deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.rb__faster { font: 600 clamp(1.1rem, 2vw, 1.5rem)/1 var(--font-display); }
.rb__times { margin-left: auto; font-family: var(--font-mono); font-size: .8rem; color: var(--fg-2); }

.rb__matrix { display: grid; grid-template-columns: minmax(10rem, 1.05fr) repeat(4, minmax(0, 1fr)); gap: .55rem; align-items: stretch; }
.rb__col { display: flex; flex-direction: column; justify-content: flex-end; gap: .15rem; padding: 0 .2rem .2rem; }
.rb__col b, .rb__row b { font-size: .86rem; font-weight: 600; line-height: 1.25; }
.rb__col small, .rb__row small { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); line-height: 1.35; }
.rb__row { display: flex; align-items: center; gap: .65rem; padding-right: .4rem; }
.rb__row > span { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.rb__row .ic { width: 22px; height: 22px; flex: none; color: var(--blue); }
.rb__cell { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: .85rem .95rem .8rem; border-radius: 16px; text-align: left; cursor: pointer; border: 1px solid var(--line); color: var(--fg);
  background: linear-gradient(155deg, color-mix(in srgb, var(--green) calc(var(--heat) * 30%), var(--bg-2)), color-mix(in srgb, var(--blue) calc(var(--heat) * 34%), var(--bg-2)));
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.rb__cell:hover { transform: translateY(-2px); border-color: var(--line-2); }
.rb__cell.is-on { border-color: transparent; box-shadow: 0 0 0 2px var(--blue), 0 16px 36px -12px var(--glow-b); }
.rb__cell b { font: 700 clamp(1.35rem, 2.3vw, 1.95rem)/1 var(--font-display); letter-spacing: -.03em; }
.rb__bars { display: grid; gap: 4px; }
.rb__bars i { display: block; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--fg) 16%, transparent); }
.rb__bars i:first-child { width: calc(var(--p) * 100%); min-width: 6px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.rb__ts { font-family: var(--font-mono); font-size: .66rem; color: var(--fg-2); white-space: nowrap; }
.rb__k { display: none; }
.rb__note { display: flex; gap: .5rem; align-items: flex-start; font-family: var(--font-mono); font-size: .74rem; line-height: 1.55; color: var(--fg-3); }
.rb__note .ic { width: 15px; height: 15px; flex: none; margin-top: .15rem; }
@media (max-width: 900px) {
  .rb__lane { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who read" "tiles tiles"; gap: .9rem 1rem; }
  .rb__who { grid-area: who; } .rb__read { grid-area: read; } .rb__tiles { grid-area: tiles; }
  .rb__tiles--many { grid-template-columns: repeat(25, minmax(0, 1fr)); }
  .rb__matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb__corner, .rb__col { display: none; }
  .rb__row { grid-column: 1 / -1; margin-top: .6rem; }
  .rb__k { display: block; font-size: .74rem; font-weight: 600; color: var(--fg-2); line-height: 1.3; }
}
@media (max-width: 520px) { .rb__tiles--many { grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 2px; } .rb__times { margin-left: 0; width: 100%; } .rb__lane { padding: 1rem; } }

/* The film */
.filmsec { background: radial-gradient(60% 50% at 50% 30%, color-mix(in srgb, var(--blue) 9%, transparent), transparent 70%); }
.film { margin-top: 2.2rem; }
.film__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #05070D;
  box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px -40px color-mix(in srgb, var(--blue) 55%, transparent), 0 30px 80px -50px color-mix(in srgb, var(--green) 60%, transparent); }
.film__frame video { width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; left: 50%; top: 50%; width: clamp(68px, 9vw, 104px); height: clamp(68px, 9vw, 104px); margin: 0; transform: translate(-50%, -50%); border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--blue)); color: #06110B;
  box-shadow: 0 0 0 12px color-mix(in srgb, #fff 9%, transparent), 0 24px 60px color-mix(in srgb, var(--blue) 50%, transparent); transition: transform .3s var(--ease), opacity .3s; }
.film__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.film__play .ic { width: 42%; height: 42%; margin-left: 8%; }
.film.is-playing .film__play { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.85); }
.film__chapters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin-top: 1rem; }
.film__ch { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: .1rem .6rem; padding: .8rem .95rem; text-align: left; cursor: pointer; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); transition: border-color .25s, background .25s; }
.film__ch:hover { border-color: var(--line-2); }
.film__ch.is-on { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 9%, var(--bg-2)); }
.film__n { grid-row: span 2; font-family: var(--font-mono); font-size: .72rem; color: var(--green); }
.film__ch > span:not(.film__n) { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.film__ch small { font-family: var(--font-mono); font-size: .68rem; color: var(--fg-3); }
.film__cap { margin-top: .9rem; font-family: var(--font-mono); font-size: .74rem; color: var(--fg-3); }
@media (max-width: 760px) { .film__chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .film__frame { border-radius: 18px; } }

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: aurora 22s ease-in-out infinite alternate; }
  .hero__badge::after { animation: shimmer 4.5s ease-in-out 1.2s infinite; }
}
@keyframes aurora { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-4%, 3%, 0) scale(1.08); } 100% { transform: translate3d(3%, -2%, 0) scale(1.03); } }
@keyframes shimmer { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .rb__tiles i { transition: none; } .rb__lane.is-running .rb__dot { animation: none; } }

/* Light theme: the board keeps its depth without the dark glows. */
:root[data-theme="light"] .rb__lane, :root[data-theme="light"] .rb__route { background: color-mix(in srgb, var(--bg) 70%, #fff); }
@media (prefers-color-scheme: light) { html:not([data-theme="dark"]) .rb__lane, html:not([data-theme="dark"]) .rb__route { background: color-mix(in srgb, var(--bg) 70%, #fff); } }

/* 2026-10-27: the home page shows pictures and short lines only. Captions stay as the images' alt
   text; guide summaries stay on the guides page. */
.page-home .shot figcaption, .page-home .guidecard__text { display: none; }
.page-home .legend-list { margin-top: .9rem; }
html[lang="ja"] .racesec__title, html[lang="ko"] .racesec__title, html[lang^="zh"] .racesec__title { max-width: none; font-size: clamp(2rem, 4.6vw, 3.8rem); }

/* Website edition: three clear purchase options and an equally weighted privacy choice. */
.plans--three{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.plan{display:flex;flex-direction:column}.plan ul{flex:1}.plan .btn{margin-top:1rem;justify-content:center}.plan .textlink{margin-top:.8rem;text-align:center}
.plan__price{font-size:clamp(1.8rem,3vw,2.8rem);font-weight:650;letter-spacing:-.05em;margin:.8rem 0}.plan__price small{display:block;font-size:.85rem;font-weight:400;letter-spacing:0;opacity:.65}
.pricing__terms{font-size:.85rem;max-width:82ch;line-height:1.7;margin:1.4rem auto 0;color:var(--muted);text-align:center}.pricing .note{text-align:center}
.consent{position:fixed;z-index:110;bottom:1rem;left:1rem;width:min(31rem,calc(100vw - 2rem));padding:1.2rem;border:1px solid #6c7486;border-radius:16px;background:#131b29;color:#f2f5fa;box-shadow:0 12px 50px #0006;font:400 .88rem/1.55 'Host Grotesk',system-ui,sans-serif}.consent[hidden]{display:none}.consent strong{font-size:1.1rem}.consent p{margin:.6rem 0 1rem}.consent a{color:inherit;text-decoration:underline}.consent__buttons{display:flex;gap:.6rem;flex-wrap:wrap}.consent .btn{flex:1;padding:.65rem .8rem;background:transparent;color:#fff;border:1px solid #8190a6;font-size:.85rem;cursor:pointer}.consent .btn:hover{background:#2d3a4d}.consent-link{font:inherit;color:inherit;border:0;padding:0;background:none;cursor:pointer;text-align:left}.consent-link:hover{text-decoration:underline}.foot__nav{flex-wrap:wrap}
@media(max-width:900px){.plans--three{grid-template-columns:1fr}.plan__price small{display:inline;font-size:.8rem}.plan{max-width:34rem;width:100%;margin-inline:auto}}
