/* offlog.io — a light "paper" page with one dark band (Sync) and one live
   demo (the hero phone). One accent, one self-hosted typeface, no
   third-party requests: the site keeps the promise the app makes. */
@font-face { font-family: 'Hanken Grotesk'; src: url(fonts/HankenGrotesk-variable.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #F6F7F9; --surface: #FFFFFF; --sunk: #EDEFF3; --raised: #FFFFFF;
  --ink: #1F2937; --muted: #5B6372; --faint: #6B7280; --line: #E2E4EA;
  --accent: #575FCA; --accent-ink: #4C54BD; --accent-tint: #EEF0FB; --accent-line: #DCDFF5; --on-accent: #FFFFFF;
  --night: #15171D; --night-2: #20242D; --night-line: transparent; --night-ink: #F3F4F6; --night-muted: #A7AEBA; --glow: #8590E5;
  --ok: #3D8A57; --late: #BD4138; --mark: rgba(87, 95, 202, .22);
  --bezel: #0D0F14; --bezel-ring: transparent; --slot: #1F2937;
  --display: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 26px; --gutter: clamp(18px, 4.5vw, 64px);
  --shadow: 0 34px 70px -34px rgba(31, 41, 55, .4);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111318; --surface: #1A1D24; --sunk: #22262F; --raised: #2C313C;
    --ink: #EEF0F4; --muted: #A4AAB6; --faint: #8C93A0; --line: #2B303B;
    --accent: #8590E5; --accent-ink: #A3ACF0; --accent-tint: #23264A; --accent-line: #33386A; --on-accent: #111318;
    --night: #1C1F27; --night-2: #262A34; --night-line: #2F3440; --ok: #6FC48A; --late: #E77F7C; --mark: rgba(133, 144, 229, .3);
    --bezel-ring: #3A3F4B; --slot: #303542;
    --shadow: 0 34px 70px -34px rgba(0, 0, 0, .8); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111318; --surface: #1A1D24; --sunk: #22262F; --raised: #2C313C;
  --ink: #EEF0F4; --muted: #A4AAB6; --faint: #8C93A0; --line: #2B303B;
  --accent: #8590E5; --accent-ink: #A3ACF0; --accent-tint: #23264A; --accent-line: #33386A; --on-accent: #111318;
  --night: #1C1F27; --night-2: #262A34; --night-line: #2F3440; --ok: #6FC48A; --late: #E77F7C; --mark: rgba(133, 144, 229, .3);
  --bezel-ring: #3A3F4B; --slot: #303542;
  --shadow: 0 34px 70px -34px rgba(0, 0, 0, .8); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
/* Added by site.js after load, so a deep link lands instantly instead of
   scrolling down from the top. */
html.smooth { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
/* site.js marks images still downloading, so each fades in instead of
   popping into an empty box. */
img { transition: opacity .45s; }
.js img.pending { opacity: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 60; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
h1, h2, h3 { text-wrap: balance; font-family: var(--display); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0; }
h2.eyebrow { line-height: 1.55; letter-spacing: .14em; font-weight: 700; max-width: none; }
h2 { font-size: clamp(42px, 6.4vw, 92px); line-height: .98; letter-spacing: -.045em; font-weight: 780; margin: 18px 0 20px; max-width: 13ch; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 58ch; margin: 0; text-wrap: pretty; }
section { padding-block: clamp(80px, 11vw, 150px); }

/* Navigation */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--paper); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 780; font-size: 21px; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.nav .brand { margin-right: auto; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav nav { display: flex; gap: 22px; font-size: 15px; font-weight: 560; color: var(--muted); }
.nav nav a { text-decoration: none; transition: color .15s; white-space: nowrap; }
.nav nav a:hover { color: var(--ink); }
.pause { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--muted); transition: color .15s, border-color .15s; }
.pause:hover { color: var(--ink); border-color: var(--faint); }
.pause svg { width: 16px; height: 16px; }
.pause .i-play, .pause[aria-pressed="true"] .i-pause { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 680; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .18s cubic-bezier(.2, .7, .2, 1), background-color .18s, box-shadow .18s, border-color .18s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -14px color-mix(in srgb, var(--accent) 95%, transparent); }
.btn-ghost { background: var(--surface); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--faint); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }

/* Hero */
/* Words centred on top; below them the Windows window with the live phone
   demo in front of it, so the first screen shows both apps. */
.hero { padding-block: clamp(24px, 3.5vw, 52px) clamp(64px, 8vw, 110px); overflow-x: clip; }
.hero .wrap { display: grid; justify-items: center; text-align: center; }
.hero-copy { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(42px, 4.7vw, 80px); line-height: .98; letter-spacing: -.05em; font-weight: 800; margin: 16px 0 18px; }
/* inline-block, not inline: the rise animation needs a box to transform. */
.hero h1 .ln { display: inline-block; margin-inline: .13em; white-space: nowrap; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 .ln:nth-child(2) { animation-delay: .08s; }
.hero h1 .ln:nth-child(3) { animation-delay: .16s; }
.hero h1 em { font-style: normal; background: linear-gradient(var(--mark), var(--mark)) no-repeat 0 82% / 0 38%; animation: sweep 1s .7s cubic-bezier(.6, 0, .2, 1) forwards; padding: 0 .04em; margin: 0 -.04em; }
@keyframes rise { from { transform: translateY(.35em); opacity: .001; } }
@keyframes sweep { to { background-size: 100% 38%; } }
.hero .lede { font-size: clamp(18px, 1.5vw, 21px); max-width: 60ch; }
.hero .lede b { color: var(--ink); font-weight: 650; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 18px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 15px; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* The live demo phone: built in HTML so it can move. Its screen is the
   app's light theme in both page themes, so it uses fixed colours. */
.stage { position: relative; width: min(1100px, 100%); margin-top: clamp(32px, 3.5vw, 52px); }
.win { border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; }
.win .bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--sunk); }
.win .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.win .bar span { margin-left: 10px; font-size: 13px; color: var(--faint); font-weight: 600; }
.win img { width: 100%; }
/* Scaled rather than resized: the demo screen's type is set in fixed px. */
.demo-stage { position: absolute; top: 9%; right: -3%; text-align: left; transform: scale(.74); transform-origin: top right; }
.device { position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 18.6; border-radius: 48px; padding: 11px; background: var(--bezel); box-shadow: var(--shadow), 0 0 0 1.5px var(--bezel-ring); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-.6deg); } }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #F6F7F9; color: #1F2937; font-size: 13px; display: flex; flex-direction: column; transition: opacity .4s; }
.screen.fade { opacity: 0; }
.screen .hero-band { background: linear-gradient(160deg, #6168D6, #4E55C2); color: #fff; padding: 40px 18px 24px; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.screen .hello { font-size: 12px; opacity: .85; }
.screen .left { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.screen .left b { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.screen .left span { font-size: 15px; font-weight: 600; }
.screen .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 12px 0; }
.screen .tiles span { background: #fff; border-radius: 12px; padding: 7px 9px; font-size: 10px; font-weight: 600; color: #5B6372; box-shadow: 0 1px 2px rgba(31, 41, 55, .06); }
.screen .tiles b { display: block; font-size: 16px; font-weight: 780; color: #1F2937; line-height: 1.2; }
.screen .tiles b.late { color: #BD4138; }
.screen .sec { padding: 12px 16px 0; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: #6B7280; }
.screen .list { margin: 6px 12px 0; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(31, 41, 55, .06); overflow: hidden; }
.row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid #EEF0F3; font-size: 13px; font-weight: 520; }
.row:first-child { border-top: 0; }
.row .ring { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C7CBD6; flex: none; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.row .ring svg { width: 12px; height: 12px; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.row.done .ring { background: #575FCA; border-color: #575FCA; }
.row.done .ring svg { opacity: 1; transform: none; }
.row.done .t { color: #8A919E; text-decoration: line-through; }
.row .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .25s; }
.pill { font-size: 10.5px; font-weight: 650; padding: 3px 7px; border-radius: 999px; background: #EEF0F4; color: #5B6372; white-space: nowrap; }
.pill.late { background: #F8E4E4; color: #A03A33; }
.pill.hi { background: #FBE7EA; color: #B43A4B; }
.row.new { animation: drop .55s cubic-bezier(.2, .9, .3, 1.2) both; background: #F3F4FD; }
@keyframes drop { from { transform: translateY(-14px) scale(.96); opacity: 0; } }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 24px 24px 0 0; padding: 10px 14px 22px; box-shadow: none; transform: translateY(105%); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.sheet.open { transform: none; box-shadow: 0 -16px 40px -18px rgba(31, 41, 55, .35); }
.sheet .grab { width: 36px; height: 4px; border-radius: 4px; background: #D5D8E0; margin: 0 auto 12px; }
.qa { display: flex; align-items: center; gap: 8px; }
.qa .field { flex: 1; min-width: 0; height: 40px; border: 2px solid #575FCA; border-radius: 12px; padding: 0 10px; display: flex; align-items: center; font-size: 13px; white-space: nowrap; overflow: hidden; }
.qa .field .tok { background: #E3E5FA; color: #4C54BD; border-radius: 4px; padding: 0 2px; }
.qa .field .caret { flex: none; width: 1.5px; height: 18px; background: #575FCA; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.qa .send { width: 40px; height: 40px; border-radius: 50%; background: #575FCA; color: #fff; display: grid; place-items: center; flex: none; transition: transform .15s; }
.qa .send.press { transform: scale(.86); }
.qa .send svg { width: 16px; height: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; min-height: 28px; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; background: #EEF0FB; color: #4C54BD; font-size: 12px; font-weight: 650; animation: pop .35s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.tabbar { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px 6px 14px; background: #fff; border-top: 1px solid #EEF0F3; font-size: 10px; font-weight: 600; color: #6B7280; text-align: center; }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tabbar svg { width: 38px; height: 24px; padding: 3px 10px; border-radius: 12px; }
.tabbar span.on { color: #1F2937; }
.tabbar span.on svg { background: #E3E5FA; color: #4C54BD; }
.fab { position: absolute; right: 16px; bottom: 74px; width: 50px; height: 50px; border-radius: 16px; background: #575FCA; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(87, 95, 202, .9); transition: transform .2s; }
.fab svg { width: 22px; height: 22px; }
.fab.press { transform: scale(.88); }

/* Marquee of plain facts */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; background: var(--surface); }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.02em; }
.marquee span { display: flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee span::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Three views */
.views .head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.views .head h2 { margin-bottom: 0; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 16px; background: var(--sunk); }
.tabs button { position: relative; border: 0; background: none; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 650; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--raised); color: var(--ink); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .3), inset 0 0 0 1px var(--accent-line); }
.tabs button .bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; opacity: 0; }
.tabs button .bar.run { opacity: 1; }
.tabs button[aria-selected="true"] .bar.run { animation: fill 5s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.window { margin-top: 44px; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.window .bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--sunk); }
.window .bar i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.window .bar span { margin-left: 12px; font-size: 13px; color: var(--faint); font-weight: 600; }
.views-stack { position: relative; aspect-ratio: 16 / 10; }
/* The outgoing view fades only after the incoming one is in, so the
   crossfade never dips to the background. */
.views-stack picture { position: absolute; inset: 0; opacity: 0; transform: scale(1.015); transition: opacity .4s .35s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.views-stack picture.on { opacity: 1; transform: none; z-index: 1; transition: opacity .4s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.views-stack img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.views .cap { margin: 22px 0 0; color: var(--muted); font-size: 18px; min-height: 1.6em; }

/* Today's three, playable */
.today .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.today-card { background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.today-card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.today-card .top b { font-size: 24px; letter-spacing: -.02em; }
.today-card .count { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 18px; }
.meter i { height: 6px; border-radius: 6px; background: var(--sunk); transition: background .3s; }
.meter i.on { background: var(--accent); }
.pick { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 18px; padding: 16px 18px; margin-top: 10px; cursor: pointer; transition: transform .15s, border-color .2s, background .2s; }
.pick:hover { transform: translateX(4px); border-color: var(--accent-line); }
.pick .ring { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--faint); flex: none; display: grid; place-items: center; transition: background .25s, border-color .25s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.pick .ring svg { width: 15px; height: 15px; color: var(--on-accent); opacity: 0; transform: scale(.3); transition: opacity .2s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.pick .what { flex: 1; min-width: 0; }
.pick .what b { display: block; font-size: 18px; font-weight: 650; transition: color .25s; }
.pick .what small { color: var(--faint); font-size: 14px; }
.pick[aria-pressed="true"] .ring { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.pick[aria-pressed="true"] .ring svg { opacity: 1; transform: none; }
.pick[aria-pressed="true"] .what b { color: var(--faint); text-decoration: line-through; }
.dayend { margin: 18px 0 0; font-size: 18px; font-weight: 650; color: var(--accent-ink); min-height: 1.6em; }
.burst { position: absolute; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; background: var(--accent); animation: fly .9s cubic-bezier(.1, .7, .3, 1) forwards; }
@keyframes fly { 70% { opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }

/* Scroll story with a sticky phone */
.story .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 6vw, 110px); }
.story .steps { padding-block: 6vh 16vh; }
.story .step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; }
.story .step h3 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1; letter-spacing: -.04em; margin: 0 0 16px; font-weight: 780; transition: color .4s; }
.story .step p { font-size: 20px; color: var(--muted); margin: 0; max-width: 34ch; }
.story .step .k { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.story .pin { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); height: calc(100vh - 140px); display: grid; place-items: center; }
.story .frame { position: relative; width: min(330px, 100%, calc((100vh - 170px) * 640 / 1385)); aspect-ratio: 640 / 1385; border-radius: 44px; padding: 9px; background: var(--bezel); box-shadow: var(--shadow), 0 0 0 1.5px var(--bezel-ring); }
.story .frame .scr { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: #F6F7F9; }
.story .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateY(14px); transition: opacity .4s .3s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.story .frame img.on { opacity: 1; transform: none; z-index: 1; transition: opacity .4s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.story .mobile-shot { display: none; }
@media (min-width: 761px) {
  .story .step:not(.on) h3 { color: var(--muted); }
}

/* Sync: the one dark band */
.sync { padding-block: 0; }
.band { position: relative; overflow: hidden; border-radius: 40px; background: var(--night); color: var(--night-ink); border: 1px solid var(--night-line); padding: clamp(56px, 8vw, 110px) clamp(22px, 5vw, 80px) clamp(48px, 6vw, 90px); }
.band::before { content: ''; position: absolute; inset: -50% 5% auto; height: 700px; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 40%, transparent), transparent); pointer-events: none; }
.band > * { position: relative; }
.band .eyebrow { color: var(--glow); }
.band .lede { color: var(--night-muted); }
.pair { position: relative; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr) minmax(0, 200px); align-items: center; margin: 110px 0 64px; }
.dev { background: var(--night-2); border: 1px solid rgba(255, 255, 255, .08); color: var(--night-ink); }
.dev small { display: block; font-size: 13px; color: var(--night-muted); }
.dev.pc { border-radius: 18px; padding: 22px; }
.dev.pc .code { font-size: clamp(40px, 4.4vw, 60px); font-weight: 780; letter-spacing: .14em; margin: 22px 0 6px; font-variant-numeric: tabular-nums; }
.dev.pc .exp { font-size: 14px; color: var(--glow); }
.dev.ph { border-radius: 34px; padding: 26px 18px; min-height: 300px; display: flex; flex-direction: column; }
.dev.ph .find { margin-block: auto; height: 48px; border-radius: 14px; background: #575FCA; color: #fff; display: grid; place-items: center; font-weight: 650; font-size: 15px; }
.wire { position: relative; height: 2px; margin: 0 28px; background-image: linear-gradient(90deg, color-mix(in srgb, var(--glow) 75%, transparent) 50%, transparent 50%); background-size: 14px 2px; }
.wire::before, .wire::after { content: ''; position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 6px color-mix(in srgb, var(--glow) 22%, transparent); }
.wire::before { left: -6px; } .wire::after { right: -6px; }
/* Two lanes, so the packets pass instead of crossing through each other. */
.packet { position: absolute; z-index: 1; top: 50%; left: 60px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; color: #1F2937; font-size: 13px; font-weight: 650; display: flex; align-items: center; gap: 6px; transform: translate(-50%, calc(-100% - 10px)); white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); opacity: 0; animation: travel 5s cubic-bezier(.5, 0, .5, 1) infinite; }
.packet i { width: 8px; height: 8px; border-radius: 50%; background: #575FCA; }
.packet.back { transform: translate(-50%, 10px); animation-name: travel-back; animation-delay: -2.5s; }
@keyframes travel { 0% { left: 60px; opacity: 0; } 12%, 88% { opacity: 1; } 100% { left: calc(100% - 60px); opacity: 0; } }
@keyframes travel-back { 0% { left: calc(100% - 60px); opacity: 0; } 12%, 88% { opacity: 1; } 100% { left: 60px; opacity: 0; } }
@keyframes travel-v { 0% { top: 30px; opacity: 0; } 12%, 88% { opacity: 1; } 100% { top: calc(100% - 30px); opacity: 0; } }
@keyframes travel-v-back { 0% { top: calc(100% - 30px); opacity: 0; } 12%, 88% { opacity: 1; } 100% { top: 30px; opacity: 0; } }
.nocloud { position: absolute; left: 50%; top: -120px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--night-muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.nocloud svg { width: 54px; height: 40px; }
.syncsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.syncsteps li { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; counter-increment: s; min-width: 0; }
.syncsteps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--glow) 18%, transparent); color: var(--glow); font-weight: 750; margin-bottom: 14px; }
.syncsteps h3 { margin: 0 0 6px; font-size: 22px; }
.syncsteps p { margin: 0; color: var(--night-muted); font-size: 16px; }
.honest { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 0; padding: 0; list-style: none; max-width: 760px; }
.honest li { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: var(--night-muted); }
.honest li b { color: var(--ok); font-weight: 700; }
.honest li.no b { color: var(--night-ink); }

/* Privacy as a receipt */
.privacy .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 6vw, 110px); align-items: center; }
.receipt-slot { position: relative; padding-top: 18px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .22)); }
.receipt-slot::before { content: ''; position: absolute; left: -12px; right: -12px; top: 0; height: 18px; border-radius: 10px; background: var(--slot); }
.receipt { position: relative; background: #fff; color: #1F2937; padding: 30px 28px 34px; font-variant-numeric: tabular-nums; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; }
.js .receipt.wait { clip-path: inset(0 0 100% 0); }
.receipt.print { animation: print 1.8s steps(14) both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.receipt h3 { text-align: center; margin: 0; font-size: 22px; letter-spacing: .02em; }
.receipt .sub { text-align: center; color: #6B7280; font-size: 13px; margin: 4px 0 18px; }
.receipt .ln { display: flex; gap: 8px; font-size: 15px; padding: 6px 0; }
.receipt .ln span:nth-child(2) { flex: 1; border-bottom: 2px dotted #C7CBD6; transform: translateY(-5px); }
.receipt .ln b { font-weight: 650; }
.receipt hr { border: 0; border-top: 2px dashed #C7CBD6; margin: 14px 0; }
.receipt .total { display: flex; justify-content: space-between; font-size: 24px; font-weight: 800; }
.receipt .thanks { text-align: center; margin: 20px 0 0; font-size: 14px; color: #5B6372; }
.receipt .barcode { height: 40px; margin-top: 16px; background: repeating-linear-gradient(90deg, #1F2937 0 2px, transparent 2px 4px, #1F2937 4px 5px, transparent 5px 8px, #1F2937 8px 11px, transparent 11px 12px); opacity: .85; }
.textlink { color: var(--accent-ink); font-weight: 650; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* The tour: a reel of real screenshots, its first shot lined up with the
   content column above it */
.tour { padding-bottom: clamp(40px, 6vw, 80px); --edge: max(var(--gutter), calc((100% - 1360px) / 2 + var(--gutter))); }
.tour-head, .show-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.tour-head h2, .show-head h2 { margin-bottom: 0; }
.tour-head .lede { margin-top: 16px; }
.tour-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 16px; background: var(--sunk); }
.seg button { border: 0; background: none; height: 42px; padding: 0 18px; border-radius: 12px; font-weight: 650; cursor: pointer; color: var(--muted); }
.arrow { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: transform .15s, border-color .15s; }
.arrow:hover { transform: scale(1.06); border-color: var(--faint); }
.arrow svg { width: 20px; height: 20px; }
.reel { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 40px var(--edge) 30px; scrollbar-width: none; overscroll-behavior-x: contain; }
.reel::-webkit-scrollbar { display: none; }
.reel figure { margin: 0; flex: none; scroll-snap-align: start; }
.reel img { border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.reel figure:hover img { transform: translateY(-6px); }
.phone-reel figure { width: clamp(200px, 22vw, 270px); }
.phone-reel img { border-radius: 30px; border: 7px solid var(--bezel); box-shadow: var(--shadow), 0 0 0 1.5px var(--bezel-ring); }
.desk-reel figure { width: min(820px, calc(100vw - 2 * var(--gutter) - 20px)); }
.desk-reel img { border-radius: 18px; }
.reel figcaption { margin-top: 16px; font-size: 15px; color: var(--muted); }
.reel figcaption b { display: block; font-size: 18px; color: var(--ink); }
.reel::after { content: ''; flex: none; width: 1px; }

/* The showroom: every feature, filterable */
.showroom { padding-top: clamp(40px, 6vw, 80px); }
.tally { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.3; }
.tally b { font-size: clamp(56px, 7vw, 96px); font-weight: 820; letter-spacing: -.05em; line-height: .9; color: var(--accent); font-variant-numeric: tabular-nums; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 26px; }
.filters button { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 620; font-size: 15px; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.filters button:hover { transform: translateY(-1px); border-color: var(--faint); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.feats li { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; min-width: 0; transition: transform .2s cubic-bezier(.2, .7, .2, 1), border-color .2s, box-shadow .2s; }
.feats li:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: 0 20px 40px -26px rgba(0, 0, 0, .45); }
.feats li i { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.feats li b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.feats li span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.feats li.end { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 18px; background: var(--accent-tint); border-color: var(--accent-line); padding: 24px 26px; }
.feats li.end b { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; }
.feats li.end span { flex: 1 1 220px; }
.feats li.end:hover { transform: none; box-shadow: none; }
.feats li.in { animation: card-in .35s cubic-bezier(.2, .7, .2, 1) both; }
.more-btn { display: none; margin: 22px auto 0; }
@keyframes card-in { from { transform: translateY(10px) scale(.98); opacity: .001; } }

/* Different by design: the comparison names no product, and keeps the rows
   where a cloud app wins (brand.md §4). */
.compare { padding-bottom: 0; }
.cmp-wrap { margin-top: 48px; overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 22px; border-top: 1px solid var(--line); }
.cmp thead th, .cmp thead td { border-top: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-block: 18px 14px; }
.cmp thead th:nth-child(2) { color: var(--accent); }
.cmp tbody th { font-weight: 650; width: 28%; }
.cmp td { color: var(--muted); width: 36%; }
.cmp td:nth-child(2) { background: color-mix(in srgb, var(--accent-tint) 55%, transparent); }
.cmp td.y { color: var(--ink); }
/* The mark hangs in the cell's left padding, so a wrapped answer lines up
   with its first line instead of running under the mark. */
.cmp td.y, .cmp td.n { position: relative; padding-left: 52px; }
.cmp td.y::before, .cmp td.n::before { position: absolute; left: 22px; top: 18px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 12px; font-weight: 800; line-height: 1; }
.cmp td.y::before { content: '✓'; content: '✓' / ''; background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.cmp td.n::before { content: '✕'; content: '✕' / ''; background: var(--sunk); color: var(--muted); }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.fit > div { border: 1px solid var(--line); border-radius: 24px; padding: 24px 26px; background: var(--surface); }
.fit .for { border-color: var(--accent-line); background: var(--accent-tint); }
.fit h3 { margin: 0 0 10px; font-size: 21px; letter-spacing: -.02em; }
.fit ul { margin: 0; padding-left: 20px; color: var(--muted); }
.fit li { padding: 3px 0; }

/* Download */
.rel { margin: 18px 0 0; color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.rel b { color: var(--ink); }
.btn small { font-size: 13px; font-weight: 600; opacity: .8; }
.howto { border-top: 1px solid var(--line); padding-top: 12px; }
.howto summary { cursor: pointer; font-weight: 650; color: var(--accent-ink); min-height: 44px; display: flex; align-items: center; }
.howto ol { margin: 4px 0 0; padding-left: 22px; color: var(--muted); font-size: 15px; }
.howto li { padding: 4px 0; }
.howto b { color: var(--ink); }
/* Hidden at phone width, where tapping the button is simpler. Fixed white
   tile, since a scanner needs dark modules on a light ground in either page theme. */
.qr { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 16px 20px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); max-width: 560px; }
.qr img { flex: none; width: 112px; height: 112px; border-radius: 10px; background: #fff; padding: 4px; }
.qr p { margin: 0; font-size: 15px; color: var(--muted); }
.qr b { display: block; color: var(--ink); }
@media (max-width: 760px) { .qr { display: none; } }
.howto code { font-size: 13px; background: var(--sunk); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.get { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 54px; }
.plat { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; min-width: 0; transition: transform .2s, box-shadow .2s; }
.plat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plat .big-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }
.plat .big-ico svg { width: 32px; height: 32px; }
.plat h3 { margin: 0; font-size: clamp(30px, 3vw, 40px); letter-spacing: -.035em; line-height: 1; }
.plat .req { color: var(--faint); font-size: 15px; margin: 6px 0 0; }
.plat ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.plat li { display: flex; gap: 10px; padding: 6px 0; }
.plat li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23575FCA' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plat .btn { align-self: flex-start; margin-top: auto; }
.note { margin: 22px 0 0; color: var(--muted); font-size: 15px; max-width: 80ch; text-wrap: pretty; }

/* Questions */
.faq { margin-top: 44px; border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; font-size: clamp(19px, 1.8vw, 23px); font-weight: 680; letter-spacing: -.01em; position: relative; text-wrap: balance; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; content: '+' / ''; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 400; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: -8px 0 26px; color: var(--muted); font-size: 18px; max-width: 64ch; text-wrap: pretty; }

/* Footer */
footer { padding-block: 70px 40px; overflow: hidden; }
footer .row1 { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; color: var(--muted); font-size: 15px; }
footer .row1 nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-left: auto; }
footer .row1 nav a { display: inline-flex; align-items: center; min-height: 44px; }
footer .row1 a { text-decoration: none; } footer .row1 a:hover { color: var(--ink); }
.wordmark { font-size: min(30vw, 440px); font-weight: 820; letter-spacing: -.07em; line-height: .78; margin: 40px 0 0; padding-bottom: .15em; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--faint) 45%, transparent); user-select: none; white-space: nowrap; transition: color .6s; }
footer:hover .wordmark { color: var(--accent-tint); }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; padding-inline: var(--gutter); }
.notfound img { border-radius: 16px; } .notfound h1, .notfound .lede { margin: 0; max-width: none; }
.notfound h1 { font-size: clamp(42px, 6.4vw, 92px); line-height: .98; letter-spacing: -.045em; font-weight: 780; }

/* Entrances: content is visible at rest; it only lifts into place */
.lift { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .lift.wait { transform: translateY(28px); }

/* The pause button in the nav freezes every moving part. */
html.paused *, html.paused *::before, html.paused *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  html.smooth { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .js .lift.wait { transform: none; }
  .marquee .track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 10px; padding-inline: var(--gutter); }
  .marquee span:nth-child(n+11) { display: none; }
  .packet { display: none; }
  .js .receipt.wait { clip-path: none; }
}

/* Tablet */
@media (max-width: 1100px) {
  .today .wrap, .privacy .wrap { grid-template-columns: 1fr; }
  .today-card { max-width: 560px; }
  .story .wrap { grid-template-columns: 1fr 300px; }
  .receipt-slot { max-width: 440px; }
  .feats.short li:nth-child(n+13) { display: none; }
  .feats.short + .more-btn { display: flex; }
}
@media (max-width: 900px) {
  .demo-stage { transform: scale(.6); }
  .pair { grid-template-columns: 1fr; justify-items: center; margin: 56px 0 48px; }
  .dev.pc { width: 100%; max-width: 360px; }
  .dev.ph { width: 220px; min-height: 220px; }
  .wire { width: 2px; height: 220px; margin: 18px 0; background-image: linear-gradient(color-mix(in srgb, var(--glow) 75%, transparent) 50%, transparent 50%); background-size: 2px 14px; }
  .wire::before { left: -5px; top: -6px; } .wire::after { left: -5px; right: auto; top: auto; bottom: -6px; }
  .packet { left: 50%; top: 30px; transform: translate(calc(-100% - 14px), -50%); animation-name: travel-v; }
  .packet.back { left: 50%; transform: translate(14px, -50%); animation-name: travel-v-back; }
  .nocloud { display: none; }
}
@media (max-width: 860px) {
  .nav nav { display: none; }
}
/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding-block: 64px; }
  .nav .wrap { height: 64px; gap: 12px; }
  .ctas .btn, .plat .btn { width: 100%; }
  .hero h1 { font-size: 11.4vw; }
  .hero h1 .ln { white-space: normal; }
  .stage { margin-bottom: 110px; }
  .demo-stage { top: 22%; right: -2%; transform: scale(.5); }
  .views .head { align-items: flex-start; }
  .tabs { width: 100%; } .tabs button { flex: 1; padding: 0 8px; }
  .window { width: min(300px, 82%); margin-inline: auto; border-radius: 40px; border: 9px solid var(--bezel); box-shadow: var(--shadow), 0 0 0 1.5px var(--bezel-ring); background: #F6F7F9; }
  .window > .bar { display: none; }
  .views-stack { aspect-ratio: 520 / 1125; }
  .views-stack img { object-position: top; }
  .views .cap { text-align: center; }
  .today-card { padding: 20px; }
  .story .wrap { grid-template-columns: 1fr; }
  .story .pin { display: none; }
  .story .steps { padding-block: 0; }
  .story .step { min-height: 0; padding-block: 28px; }
  .story .mobile-shot { display: block; width: min(280px, 80%); margin: 24px auto 0; border-radius: 30px; border: 8px solid var(--bezel); box-shadow: 0 0 0 1.5px var(--bezel-ring); }
  .band { border-radius: 28px; }
  .syncsteps, .get, .fit { grid-template-columns: 1fr; }
  /* The comparison becomes one header, then each row as a label over two
     side-by-side answers. */
  .cmp tr { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
  .cmp thead tr { border-top: 0; }
  .cmp thead td { display: none; }
  .cmp th, .cmp td { width: auto; border-top: 0; padding: 6px 14px 14px; font-size: 15px; }
  .cmp thead th { padding: 14px 14px 10px; font-size: 12px; }
  .cmp tbody th { grid-column: 1 / -1; width: auto; padding: 14px 14px 2px; }
  .cmp td:nth-child(2) { background: none; }
  .cmp td.y, .cmp td.n { padding-left: 42px; }
  .cmp td.y::before, .cmp td.n::before { left: 14px; top: 8px; }
  .tour-ctl { width: 100%; } .tour-ctl .seg { margin-right: auto; }
  .tally { width: 100%; }
  .feats li { padding: 16px 18px 18px; }
  .feats li.end .btn { width: 100%; }
  footer .row1 { flex-direction: column; align-items: flex-start; gap: 8px; }
  footer .row1 nav { margin-left: 0; }
}
