/* Ourfice landing page. Glass, colour you can change, motion that respects reduced-motion. Self-hosted font, no third-party code. */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #06080c; --bg-2: #0b0f16; --text: #eef2f8; --muted: #9ba7b6; --faint: #7d8898;
  --line: rgba(255,255,255,.10); --line-2: rgba(255,255,255,.18);
  --glass: rgba(255,255,255,.055); --glass-2: rgba(255,255,255,.09); --glass-3: rgba(255,255,255,.14);
  --shadow: 0 30px 80px rgba(0,0,0,.55), 0 2px 0 rgba(255,255,255,.04) inset;
  --pill-bg: #eef2f8; --pill-text: #06080c;
  --grain: .06; --blob: .42;
  --acc: #a9c4ff; --acc-2: #8fe0ee; --acc-3: #f6cc9e; --acc-on: #0b1220;
  --ok: #8fe0b0; --warn: #f3cf8a;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --wrap: 1180px; --r: 22px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f9; --bg-2: #e9edf3; --text: #0c1420; --muted: #4a5a6d; --faint: #637286;
  --line: rgba(15,30,55,.12); --line-2: rgba(15,30,55,.2);
  --glass: rgba(255,255,255,.62); --glass-2: rgba(255,255,255,.78); --glass-3: rgba(255,255,255,.92);
  --shadow: 0 30px 70px rgba(25,45,80,.16), 0 1px 0 rgba(255,255,255,.8) inset;
  --pill-bg: #0c1420; --pill-text: #ffffff;
  --grain: .035; --blob: .55;
  --acc: #33589f; --acc-2: #2c8aa0; --acc-3: #c98a4a; --acc-on: #ffffff;
  --ok: #1d7a4c; --warn: #8a5a00;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f3f5f9; --bg-2: #e9edf3; --text: #0c1420; --muted: #4a5a6d; --faint: #637286;
    --line: rgba(15,30,55,.12); --line-2: rgba(15,30,55,.2);
    --glass: rgba(255,255,255,.62); --glass-2: rgba(255,255,255,.78); --glass-3: rgba(255,255,255,.92);
    --shadow: 0 30px 70px rgba(25,45,80,.16), 0 1px 0 rgba(255,255,255,.8) inset;
    --pill-bg: #0c1420; --pill-text: #ffffff;
    --grain: .035; --blob: .55;
    --acc: #33589f; --acc-2: #2c8aa0; --acc-3: #c98a4a; --acc-on: #ffffff;
    --ok: #1d7a4c; --warn: #8a5a00;
  }
}
/* Palettes from the app. Dark values first, light values under [data-light]. */
:root[data-accent="jade"]     { --acc: #a3dcc6; --acc-2: #e9dca0; --acc-3: #8fd0e0; }
:root[data-accent="ocean"]    { --acc: #8ed3da; --acc-2: #a9c4ff; --acc-3: #e8d2ae; }
:root[data-accent="rose"]     { --acc: #eba9bd; --acc-2: #f4c69a; --acc-3: #c8b6ff; }
:root[data-accent="amber"]    { --acc: #f4b483; --acc-2: #eba9bd; --acc-3: #f3dd9a; }
:root[data-accent="midnight"] { --acc: #a9b8df; --acc-2: #c7a9ff; --acc-3: #8fd3e6; }
:root[data-light][data-accent="jade"]     { --acc: #25705c; --acc-2: #8a7a2a; --acc-3: #2c8aa0; }
:root[data-light][data-accent="ocean"]    { --acc: #0b6670; --acc-2: #33589f; --acc-3: #a8784a; }
:root[data-light][data-accent="rose"]     { --acc: #9e4462; --acc-2: #b8682a; --acc-3: #6a4fc0; }
:root[data-light][data-accent="amber"]    { --acc: #a0501a; --acc-2: #9e4462; --acc-3: #8a6a10; }
:root[data-light][data-accent="midnight"] { --acc: #233a6b; --acc-2: #6a3fb0; --acc-3: #1f7a8f; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 10px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--pill-bg); color: var(--pill-text); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Atmosphere: colour fields and film grain behind everything */
.sky { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.sky i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: var(--blob); filter: blur(10px); will-change: transform; }
.sky i:nth-child(1) { background: radial-gradient(circle, var(--acc) 0%, transparent 62%); top: -32vmax; left: -18vmax; animation: drift1 26s ease-in-out infinite alternate; }
.sky i:nth-child(2) { background: radial-gradient(circle, var(--acc-2) 0%, transparent 62%); top: -26vmax; right: -28vmax; opacity: calc(var(--blob) * .8); animation: drift2 32s ease-in-out infinite alternate; }
.sky i:nth-child(3) { background: radial-gradient(circle, var(--acc-3) 0%, transparent 62%); top: 38vh; left: 30vw; opacity: calc(var(--blob) * .45); animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vw, 10vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-12vw, 14vh) scale(.92); } }
@keyframes drift3 { to { transform: translate(-18vw, -8vh) scale(1.15); } }
.grain { position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -.02em; text-decoration: none; }
.brand svg { width: 26px; height: 26px; color: var(--acc); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--glass); }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--text); cursor: pointer; }
.icon-btn svg { width: 19px; height: 19px; }
.menu-btn { display: none; }
.cta-sm { text-decoration: none; background: var(--pill-bg); color: var(--pill-text); font-weight: 600; font-size: 14.5px; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 900px) {
  .nav { position: absolute; top: 64px; left: 16px; right: 16px; flex-direction: column; padding: 10px; border-radius: 18px; background: var(--glass-3); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .menu-btn { display: inline-grid; margin-left: auto; }
  .cta-sm { display: none; }
}

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 550; letter-spacing: .01em; color: var(--muted); margin: 0 0 18px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 22%, transparent); }
h1, h2, h3 { margin: 0; font-weight: 640; letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(34px, 5.2vw, 64px); }
h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; margin: 18px 0 0; line-height: 1.55; }
.grad { background: linear-gradient(100deg, var(--acc) 5%, var(--acc-2) 55%, var(--acc-3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
section { padding: clamp(80px, 11vw, 150px) 0 0; position: relative; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center .btns { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 16px; padding: 15px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .2s; }
.btn:active { transform: scale(.97); }
.btn-pill { background: var(--pill-bg); color: var(--pill-text); box-shadow: 0 10px 40px color-mix(in srgb, var(--acc) 35%, transparent); }
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 16px 50px color-mix(in srgb, var(--acc) 50%, transparent); }
.btn-glass { background: var(--glass-2); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-glass:hover { background: var(--glass-3); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; transform: none; }
.btn.two { flex-direction: column; gap: 0; line-height: 1.2; }
.btn.two span { font-size: 12px; font-weight: 500; opacity: .75; }

/* Glass surfaces */
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); box-shadow: var(--shadow); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 90px) 0 0; text-align: center; }
.hero h1 { font-size: clamp(46px, 8.4vw, 116px); letter-spacing: -.055em; line-height: .94; font-weight: 660; }
.hero h1 span { display: block; }
.hero .lede { margin: 26px auto 0; max-width: 46ch; font-size: clamp(17px, 1.7vw, 21px); }
.hero .btns { justify-content: center; margin-top: 34px; }
.proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--faint); font-size: 14px; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 15px; height: 15px; color: var(--ok); }

.stage { position: relative; margin: clamp(46px, 7vw, 80px) auto 0; max-width: 1100px; perspective: 1800px; }
.window { position: relative; border-radius: 20px; padding: 10px; background: var(--glass-2); border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 120px color-mix(in srgb, var(--acc) 22%, transparent);
  transform-origin: 50% 0; transform: rotateX(calc(16deg * (1 - var(--p, 0)))) scale(calc(.93 + .07 * var(--p, 0))); will-change: transform; }
.window .chrome { display: flex; gap: 7px; padding: 4px 6px 10px; }
.window .chrome i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.window img { border-radius: 12px; width: 100%; }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; text-align: left; font-size: 13.5px; line-height: 1.3; min-width: 220px; max-width: 290px;
  background: var(--glass-3); border: 1px solid var(--line-2); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); box-shadow: 0 18px 50px rgba(0,0,0,.35); animation: float 7s ease-in-out infinite; }
.chip b { display: block; font-weight: 620; font-size: 14px; }
.chip small { color: var(--muted); font-size: 12.5px; }
.chip .ic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--acc) 22%, transparent); color: var(--acc); }
.chip .ic svg { width: 18px; height: 18px; }
.chip .key { margin-left: auto; font: 600 11.5px var(--mono); padding: 6px 9px; border-radius: 9px; background: var(--pill-bg); color: var(--pill-text); white-space: nowrap; }
.chip.c1 { top: 13%; left: -4%; animation-delay: -1s; }
.chip.c2 { top: 6%; right: -5%; animation-delay: -3s; }
.chip.c3 { bottom: 16%; left: -6%; animation-delay: -5s; }
.chip.c4 { bottom: 8%; right: -3%; animation-delay: -2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 1000px) { .chip.c1, .chip.c4 { display: none; } .chip.c2 { right: 2%; top: -6%; } .chip.c3 { left: 2%; bottom: -8%; } }
@media (max-width: 560px) { .chip { min-width: 0; max-width: 230px; padding: 10px 12px; font-size: 12.5px; } .chip .ic { width: 28px; height: 28px; } .chip.c2 { top: -12%; } .chip.c3 { bottom: -12%; } }

.tints { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 34px; color: var(--faint); font-size: 14px; flex-wrap: wrap; }
.tints .sw { display: flex; gap: 8px; }
.tints button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; box-shadow: 0 0 0 1px var(--line-2); transition: transform .2s; }
.tints button:hover { transform: scale(1.12); }
.tints button[aria-pressed="true"] { border-color: var(--text); }

/* Marquee of sources */
.marquee { margin-top: clamp(60px, 8vw, 100px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee p { text-align: center; color: var(--faint); font-size: 14px; margin: 0 0 16px; }
.track { display: flex; gap: 12px; width: max-content; animation: slide 38s linear infinite; }
.track span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--muted); font-size: 14.5px; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* The problem */
.chaos { position: relative; text-align: center; padding-bottom: 20px; }
.chaos .time { font: 600 15px var(--mono); color: var(--acc); letter-spacing: .02em; }
.chaos h2 { max-width: 17ch; margin: 18px auto 0; font-size: clamp(34px, 5.6vw, 72px); }
.chaos h2 .dim { color: var(--faint); }
.noise { position: absolute; inset: 90px 0 0 0; pointer-events: none; z-index: -1; }
.noise span { position: absolute; padding: 9px 14px; border-radius: 12px; font-size: 13.5px; background: var(--glass-2); border: 1px solid var(--line); color: var(--muted); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap; animation: jitter 6s ease-in-out infinite; }
.noise span b { color: #ff8a7a; font-weight: 650; margin-left: 6px; }
.noise span:nth-child(1) { top: 2%; left: 3%; animation-delay: -.5s; }
.noise span:nth-child(2) { top: 10%; right: 4%; animation-delay: -2s; }
.noise span:nth-child(3) { top: 46%; left: -1%; animation-delay: -3.5s; }
.noise span:nth-child(4) { top: 52%; right: 0%; animation-delay: -1.2s; }
.noise span:nth-child(5) { bottom: 4%; left: 9%; animation-delay: -4.2s; }
.noise span:nth-child(6) { bottom: 0%; right: 10%; animation-delay: -2.8s; }
.noise span:nth-child(7) { top: 28%; left: 10%; animation-delay: -5s; }
.noise span:nth-child(8) { top: 30%; right: 9%; animation-delay: -.8s; }
@keyframes jitter { 0%, 100% { transform: translate(0,0) rotate(-1deg); } 50% { transform: translate(6px,-10px) rotate(1.5deg); } }
@media (max-width: 760px) { .noise { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 16px 26px; } .noise span { position: static; font-size: 12.5px; } .noise span:nth-child(n+7) { display: none; } }
.chaos .then { max-width: 40ch; margin: 34px auto 0; font-size: clamp(18px, 2vw, 22px); color: var(--muted); }
.chaos .then strong { color: var(--text); font-weight: 600; }

/* Two Tuesdays */
.days { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.day { padding: 28px; }
.day h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.day h3 .badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; letter-spacing: 0; }
.day.without h3 .badge { background: rgba(255,120,110,.14); color: #ff9d90; }
.day.with { border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); background: color-mix(in srgb, var(--acc) 7%, var(--glass)); }
.day.with h3 .badge { background: color-mix(in srgb, var(--acc) 22%, transparent); color: var(--acc); }
:root[data-light] .day.without h3 .badge { color: #a2352a; background: rgba(200,60,40,.1); }
.tl { list-style: none; margin: 20px 0 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }
.tl time { font: 600 13.5px var(--mono); color: var(--faint); padding-top: 2px; }
.day.without .tl li span { color: var(--muted); }
.day.with .tl time { color: var(--acc); }
.tl li.end span { font-weight: 600; }
.day.without .tl li.end span { color: #ff9d90; }
:root[data-light] .day.without .tl li.end span { color: #a2352a; }
@media (max-width: 820px) { .days { grid-template-columns: 1fr; } }

/* Calculator */
.calc { margin-top: 22px; padding: 30px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.calc label { display: block; font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.calc .row { margin-bottom: 18px; }
.calc .val { font-weight: 650; color: var(--text); }
.calc input[type=range] { width: 100%; accent-color: var(--acc); height: 28px; }
.calc .out { text-align: center; }
.calc .big { font-size: clamp(54px, 8vw, 92px); font-weight: 680; letter-spacing: -.05em; line-height: 1; }
.calc .out p { margin: 10px 0 0; color: var(--muted); }
.calc .fine { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: var(--faint); }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 46px; }
.tile { position: relative; overflow: hidden; padding: 26px; min-height: 250px; display: flex; flex-direction: column; }
.tile p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.tile .art { margin-top: auto; padding-top: 22px; }
.t-today { grid-column: span 4; grid-row: span 2; }
.t-auto, .t-notes { grid-column: span 2; }
.t-move, .t-priv { grid-column: span 3; }
.t-claude, .t-md, .t-spaces { grid-column: span 2; }
.t-acc { grid-column: span 6; min-height: 0; }
.t-acc p { max-width: 70ch; }
.acc { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.acc-row { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-row span { padding: 9px 14px; border-radius: 12px; font-size: 14px; border: 1px solid var(--line); background: var(--glass-2); }
.ask { font: 500 14.5px var(--mono); padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--acc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); color: var(--text); display: inline-flex; align-items: center; gap: 4px; }
.ask i { width: 2px; height: 18px; background: var(--acc); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile { grid-column: span 2 !important; grid-row: auto !important; min-height: 0; } .t-auto, .t-notes, .t-claude, .t-md, .t-spaces { grid-column: span 1 !important; } .t-acc { grid-column: span 2 !important; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .tile { grid-column: auto !important; } .t-auto, .t-notes, .t-claude, .t-md, .t-spaces { grid-column: auto !important; } }
.t-today .shot { margin: 22px -26px -26px 26px; border-radius: 14px 0 0 0; overflow: hidden; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; box-shadow: var(--shadow); }
.t-move .shot { margin: 20px -26px -26px 0; border-radius: 14px 0 0 0; overflow: hidden; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; }

/* Autopilot tile: three cards that tick themselves */
.ap { display: grid; gap: 8px; }
.ap div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--line); font-size: 13.5px; }
.ap .k { margin-left: auto; font: 600 11px var(--mono); padding: 4px 8px; border-radius: 8px; background: var(--glass-3); border: 1px solid var(--line); white-space: nowrap; }
.ap .tick { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.ap .tick svg { width: 12px; height: 12px; opacity: 0; color: var(--acc-on); }
.ap div:nth-child(1) .tick { animation: tick 6s infinite; }
.ap div:nth-child(2) .tick { animation: tick 6s 1.2s infinite; }
.ap div:nth-child(3) .tick { animation: tick 6s 2.4s infinite; }
.ap div:nth-child(1) .tick svg { animation: tickmark 6s infinite; }
.ap div:nth-child(2) .tick svg { animation: tickmark 6s 1.2s infinite; }
.ap div:nth-child(3) .tick svg { animation: tickmark 6s 2.4s infinite; }
@keyframes tick { 0%, 12% { background: transparent; border-color: var(--line-2); } 18%, 80% { background: var(--acc); border-color: var(--acc); } 92%, 100% { background: transparent; border-color: var(--line-2); } }
@keyframes tickmark { 0%, 12% { opacity: 0; } 18%, 80% { opacity: 1; } 92%, 100% { opacity: 0; } }
.keys { display: flex; gap: 8px; margin-top: 14px; align-items: center; color: var(--faint); font-size: 13px; flex-wrap: wrap; }
kbd { font: 600 12.5px var(--mono); padding: 6px 10px; border-radius: 9px; background: var(--glass-2); border: 1px solid var(--line-2); border-bottom-width: 3px; color: var(--text); }

/* Notes tile: two live voice lanes */
.wave { display: grid; gap: 10px; }
.lane { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.lane em { font-style: normal; width: 46px; }
.bars { display: flex; align-items: center; gap: 3px; height: 34px; flex: 1; }
.bars i { flex: 1; height: 100%; border-radius: 3px; background: var(--acc); transform: scaleY(.15); animation: talk 1.4s ease-in-out infinite; }
.lane.o .bars i { background: var(--acc-2); }
@keyframes talk { 0%, 100% { transform: scaleY(.15); } 50% { transform: scaleY(var(--h, .8)); } }
.notes-out { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.notes-out span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 16%, transparent); color: var(--acc); }

/* Private mode tile */
.pm { display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 16px; background: var(--glass-2); border: 1px solid var(--line); }
.sw-ui { width: 58px; height: 34px; border-radius: 999px; background: var(--line-2); position: relative; flex: none; animation: swbg 5s infinite; }
.sw-ui::after { content: ""; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); animation: swknob 5s infinite; }
@keyframes swbg { 0%, 20% { background: var(--line-2); } 30%, 85% { background: var(--acc); } 95%, 100% { background: var(--line-2); } }
@keyframes swknob { 0%, 20% { transform: translateX(0); } 30%, 85% { transform: translateX(24px); } 95%, 100% { transform: translateX(0); } }
.pm .st { font-size: 14px; line-height: 1.4; }
.pm .st b { display: block; font-size: 15px; }
.pm .wifi { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--faint); }
.pm .wifi svg { width: 22px; height: 22px; }

/* Brain indicator tile */
.brain { display: grid; gap: 8px; }
.brain span { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass-2); font-size: 13.5px; color: var(--muted); }
.brain span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.brain span:nth-child(1)::before { animation: lamp 6s infinite; }
.brain span:nth-child(2)::before { animation: lamp 6s 2s infinite; }
.brain span:nth-child(3)::before { animation: lamp 6s 4s infinite; }
@keyframes lamp { 0%, 30% { background: var(--ok); box-shadow: 0 0 10px var(--ok); } 34%, 100% { background: var(--line-2); box-shadow: none; } }

.spaces { display: flex; flex-wrap: wrap; gap: 8px; }
.spaces span { padding: 8px 12px; border-radius: 12px; font-size: 13.5px; border: 1px solid var(--line); background: var(--glass-2); display: inline-flex; align-items: center; gap: 8px; }
.spaces span i { width: 9px; height: 9px; border-radius: 3px; }
.md { font: 12.5px/1.65 var(--mono); padding: 14px; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--line); color: var(--muted); white-space: pre-wrap; }
.md b { color: var(--acc); font-weight: 600; }

/* Three kinds of action */
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.kind { padding: 26px; border-top: 3px solid var(--line-2); }
.kind.k2 { border-top-color: var(--acc); }
.kind.k3 { border-top-color: var(--acc-3); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--line); color: var(--muted); margin-bottom: 14px; }
.kind p { color: var(--muted); margin: 8px 0 0; font-size: 15.5px; }
@media (max-width: 820px) { .kinds { grid-template-columns: 1fr; } }
.plain { margin: 22px 0 0; color: var(--faint); font-size: 14.5px; max-width: 80ch; }

/* Privacy band */
.band { margin-top: 0; padding: clamp(50px, 7vw, 80px) clamp(24px, 5vw, 60px); border-radius: 32px; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 0%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%); pointer-events: none; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.stat { padding: 22px; border-radius: 18px; background: var(--glass-2); border: 1px solid var(--line); }
.stat b { display: block; font-size: 26px; letter-spacing: -.03em; font-weight: 650; }
.stat span { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr; } }
details.more { margin-top: 26px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
details.more > summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: "+"; font-size: 22px; color: var(--muted); transition: transform .2s; }
details.more[open] > summary::after { transform: rotate(45deg); }
.tbl { padding: 0 22px 18px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 13px 12px 13px 0; border-top: 1px solid var(--line); vertical-align: top; }
thead th { color: var(--faint); font-weight: 600; font-size: 13.5px; border-top: 0; }
tbody th { font-weight: 600; width: 32%; }
td { color: var(--muted); }
@media (max-width: 640px) {
  table, thead, tbody, tr, th, td { display: block; width: 100% !important; }
  thead { display: none; }
  tbody tr { border-top: 1px solid var(--line); padding: 10px 0; }
  tbody th, td { border: 0; padding: 4px 0; }
  td::before { content: attr(data-label); display: block; font-size: 12.5px; color: var(--faint); }
}
.note { margin-top: 18px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); font-size: 15px; color: var(--muted); }
.note strong { color: var(--text); }

/* Versions */
.vers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.ver { padding: 28px; }
.ver ul, .plan ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.ver li, .plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15.5px; color: var(--muted); }
.ver li svg, .plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--acc); }
.ver li.no svg { color: var(--faint); }
@media (max-width: 820px) { .vers { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; margin-top: 44px; align-items: stretch; }
.plan { padding: 30px; display: flex; flex-direction: column; }
.plan .btns { margin-top: auto; padding-top: 26px; }
.plan.life { position: relative; border: 1px solid transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, conic-gradient(from var(--ang, 0deg), var(--acc), var(--acc-2), var(--acc-3), var(--acc)) border-box; box-shadow: 0 30px 90px color-mix(in srgb, var(--acc) 26%, transparent); animation: spin 8s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.amt { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 6px 0 0; }
.amt b { font-size: clamp(56px, 7vw, 84px); letter-spacing: -.055em; font-weight: 690; line-height: 1; }
.amt span { color: var(--muted); font-size: 16px; }
.alt { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.found { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--acc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); font-size: 15px; }
.found strong { color: var(--acc); }
.found .cd { display: block; margin-top: 8px; font: 600 14px var(--mono); color: var(--text); }
.found .cd:empty { display: none; }
.vs { margin-top: 26px; text-align: center; color: var(--muted); font-size: 16px; }
.vs strong { color: var(--text); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan.life { order: -1; } }

/* Download */
.dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.dl a { display: flex; flex-direction: column; gap: 6px; padding: 24px; text-decoration: none; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); transition: transform .2s, border-color .2s, background .2s; }
.dl a:hover { transform: translateY(-3px); border-color: var(--line-2); background: var(--glass-2); }
.dl a b { font-size: 19px; letter-spacing: -.02em; }
.dl a span { color: var(--acc); font-weight: 600; font-size: 15px; }
.dl a small { color: var(--faint); font-size: 13px; }
.dl a.is-rec { border-color: color-mix(in srgb, var(--acc) 60%, transparent); background: color-mix(in srgb, var(--acc) 10%, var(--glass)); }
.dl a[aria-disabled="true"] { opacity: .55; }
@media (max-width: 820px) { .dl { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 36px; }
.faq details { border-radius: 16px; background: var(--glass); border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 18px; color: var(--muted); }
.faq .ans p { margin: 0; }

/* Final call */
.final { text-align: center; padding: clamp(90px, 12vw, 160px) 0 clamp(70px, 9vw, 120px); }
.final h2 { font-size: clamp(44px, 8vw, 104px); letter-spacing: -.055em; }
.final .btns { justify-content: center; }
.plan .tag, .ver .tag, .tile .tag { align-self: flex-start; }
.final .count { margin-top: 18px; color: var(--muted); font-size: 18px; }
.final .count strong { color: var(--text); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot p { margin: 10px 0 0; color: var(--faint); font-size: 14px; max-width: 52ch; }

/* Pictures follow the theme in effect */
:root[data-light] .th-dark, :root:not([data-light]) .th-light { display: none; }
html:not(.js) .th-light { display: none; }
.hero, .chaos { overflow-x: clip; }

/* Reveal on scroll (only when the script runs) */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
#reel[hidden] { display: none; }
.reel-frame { max-width: 420px; margin: 40px auto 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.reel-frame video { width: 100%; display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .window { transform: none; }
  .js .rv { opacity: 1; transform: none; }
}
