/* Crescendo landing v2: paper and ink. Tokens and rules in DESIGN.md. */

:root {
  --paper: #f5f4f0;
  --paper-2: #ecebe5;
  --card: #fff;
  --ink: #0c0c0d;
  --ink-2: #2b2a28;
  --muted: #6b6963;
  --faint: #a3a098;
  --line: #e2dfd7;
  --line-2: #d6d2c8;
  --accent: #ff5a31;
  --accent-text: #b83a14; /* ember on paper is 2.8:1; text uses Ember Deep (5.2:1) */
  --t-delegate: linear-gradient(140deg, #ff8a5c, #ff3d2e);
  --t-capture: linear-gradient(140deg, #d4c8ff, #8f74ff);
  --t-review: linear-gradient(140deg, #e3f78a, #a6dc2c);
  --t-plan: linear-gradient(140deg, #bfe0ff, #5aa6ff);
  --shadow-card: 0 1px 0 #fff inset, 0 24px 48px -24px rgba(25, 22, 15, .22), 0 2px 6px rgba(25, 22, 15, .05);
  --shadow-float: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 30px 60px -28px rgba(25, 22, 15, .32), 0 4px 14px rgba(25, 22, 15, .06);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1240px;
  --gutter: 32px;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--ink); color: var(--paper); }

/* Grain over the whole page, printed feel */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Type ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: .9; }
.display em, .h2 em, .h3 em, .statement em { font-style: italic; letter-spacing: -.02em; }
.h1 { font-size: clamp(58px, 9vw, 132px); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.6vw, 78px); line-height: .98; letter-spacing: -.03em; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.02; letter-spacing: -.02em; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow.plain::before { display: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 140px 0; }
.section.tight { padding: 100px 0; }
.center { text-align: center; }
.head { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.head .lead { max-width: 600px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap;
  background: var(--ink); color: #fff; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 10px 24px -12px rgba(0, 0, 0, .55);
}
.btn:hover { background: #262626; }
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn.ghost { background: rgba(255, 255, 255, .6); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.ghost:hover { background: #fff; }
.btn.small { height: 44px; padding: 0 20px; font-size: 14px; }
.play { width: 22px; height: 22px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.play svg { width: 9px; height: 9px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(245, 244, 240, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); opacity: 0; transition: opacity .3s; border-bottom: 1px solid var(--line); }
.site-header.is-scrolled::before { opacity: 1; }
.nav { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 1440px; height: 84px; margin: 0 auto; padding: 0 56px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.wordmark svg { width: 26px; height: 26px; flex: none; color: var(--ink); }
/* the ring mark used inline in text and mock-ups */
.mk { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; margin-right: .35em; flex: none; }
.side li .ic .mk, .foot-word sup .mk { margin: 0; }
.nav-pill { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--line), 0 6px 20px -14px rgba(0, 0, 0, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-pill > a, .nav-pill > button { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav-pill > a:hover, .nav-pill > button:hover, .nav-pill > [aria-expanded="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .06), inset 0 0 0 1px var(--line); }
.nav-pill svg { width: 10px; height: 10px; transition: transform .25s var(--ease); }
.nav-pill [aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-cta { justify-self: end; height: 46px; padding: 0 22px; font-size: 14.5px; }
.nav-menu-btn { display: none; justify-self: end; width: 44px; height: 44px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); align-items: center; justify-content: center; }
.nav-menu-btn svg { width: 18px; height: 18px; }

.dropdown {
  position: absolute; top: 74px; left: 50%; width: 520px; padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  border-radius: 22px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; transform: translate(-50%, -8px) scale(.98); transform-origin: top center; pointer-events: none;
  transition: opacity .18s, transform .3s var(--ease);
}
.dropdown.is-open { opacity: 1; transform: translate(-50%, 0) scale(1); pointer-events: auto; }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background-color .15s; }
.dropdown a:hover { background: var(--paper); }
.dropdown b { display: block; font-size: 14px; font-weight: 500; }
.dropdown small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.dropdown .soon { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-left: 4px; }

.tile { width: 36px; height: 36px; border-radius: 11px; flex: none; display: grid; place-items: center; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 4px 10px -4px rgba(0, 0, 0, .3); }
.tile svg { width: 17px; height: 17px; }
.tile.delegate { background: var(--t-delegate); }
.tile.capture { background: var(--t-capture); }
.tile.review { background: var(--t-review); color: #233008; }
.tile.plan { background: var(--t-plan); }
.tile.ink { background: var(--ink); }
.tile.sm { width: 28px; height: 28px; border-radius: 9px; }
.tile.sm svg { width: 14px; height: 14px; }

.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(20, 18, 14, .32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.popover { position: fixed; z-index: 61; top: 130px; left: 50%; width: 440px; max-width: calc(100vw - 30px); border-radius: 26px; background: var(--card); box-shadow: var(--shadow-float); overflow: hidden; opacity: 0; transform: translate(-50%, 12px) scale(.97); pointer-events: none; transition: opacity .2s, transform .35s var(--ease); }
.popover.is-open { opacity: 1; transform: translate(-50%, 0) scale(1); pointer-events: auto; }
.popover header { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 0; }
.popover h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.02em; }
.popover .close { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--paper); }
.popover .close svg { width: 12px; height: 12px; }
.popover-body { padding: 18px 24px 26px; color: var(--muted); }
.popover-body p + p { margin-top: 10px; }

.mobile-menu { position: fixed; inset: 84px 12px auto 12px; z-index: 49; padding: 10px; border-radius: 22px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-float); display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu a { display: block; padding: 14px 14px; font-size: 16px; border-radius: 12px; }
.mobile-menu a:hover { background: var(--paper); }

/* ---------- Hero ---------- */
.hero { position: relative; max-width: 1440px; margin: 0 auto; padding: 64px 56px 0; overflow: hidden; }
.hero-copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy .h1 em { display: block; padding-right: .06em; }
.hero-copy .lead { max-width: 560px; margin-top: 30px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.hero-figure { position: relative; z-index: 1; width: min(1060px, 88%); margin: -10px auto 0; background: var(--paper); /* multiply blends inside this group */ }
.hero-figure img { width: 100%; height: auto; mix-blend-mode: multiply; filter: contrast(1.04); user-select: none; -webkit-user-drag: none; }
.hero-figure::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--paper); }

.connectors { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.connectors path { fill: none; stroke: #bdb9af; stroke-width: 1; stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.2s var(--ease) .6s; }
.reveal.is-in .connectors path { stroke-dashoffset: 0; }
.connectors circle { fill: var(--paper); stroke: #bdb9af; }

.float-card {
  position: absolute; z-index: 3; width: 262px; padding: 26px 26px 24px; border-radius: 26px; text-align: left;
  background: rgba(255, 255, 255, .82); box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(255, 255, 255, .8);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  animation: bob 7s ease-in-out infinite;
}
.float-card h3 { margin-top: 26px; font-size: 22px; line-height: 1.18; font-weight: 500; letter-spacing: -.02em; }
.float-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.float-card .row { display: flex; gap: 6px; align-items: center; margin-top: 18px; }
.fc-left { left: 120px; top: 460px; rotate: -5deg; }
.fc-right { right: 110px; top: 540px; rotate: 4.5deg; animation-delay: -3.5s; }
kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), 0 2px 0 var(--line-2); font: 500 12.5px/1 var(--sans); color: var(--ink); }
.mini-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.mini-btn.dark { background: var(--ink); color: #fff; }
.mini-btn.light { background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
.mini-btn svg { width: 11px; height: 11px; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.badge { position: absolute; z-index: 3; right: 104px; top: 200px; width: 132px; height: 132px; }
.badge .ring { width: 100%; height: 100%; animation: spin 30s linear infinite; }
.badge text { font: 600 10.4px var(--sans); letter-spacing: .26em; text-transform: uppercase; fill: var(--ink); }
.badge .star { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; translate: -50% -50%; color: var(--ink); }
@keyframes spin { to { rotate: 360deg; } }

.hero-note { position: absolute; z-index: 3; bottom: 92px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.hero-note::before { content: ""; display: block; width: 36px; height: 1px; background: var(--line-2); margin-bottom: 22px; }
.hero-note.left { left: 120px; }
.hero-note.right { right: 120px; display: grid; grid-template-columns: auto auto; align-items: end; gap: 0 22px; }
.hero-note.right::before { grid-column: 1; grid-row: 2; margin: 0 0 10px; }
.hero-note.right .star { grid-column: 2; grid-row: 1; width: 22px; height: 22px; margin: 0 0 16px; color: var(--ink); }
.hero-note.right span { grid-column: 2; grid-row: 2; }
.hero-note .gh { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 6px 16px -10px rgba(0, 0, 0, .3); color: var(--ink); font-size: 14px; font-weight: 500; }
.hero-note .gh svg { width: 18px; height: 18px; }

.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .72); box-shadow: 0 1px 0 #fff inset, 0 18px 40px -20px rgba(25, 22, 15, .4), inset 0 0 0 1px rgba(255, 255, 255, .8);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  animation: bob 6s ease-in-out infinite; white-space: nowrap;
}
.chip b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.chip small { display: block; font-size: 12.5px; color: var(--muted); }
.chip .live { width: 7px; height: 7px; border-radius: 99px; background: var(--accent); margin-left: 4px; box-shadow: 0 0 0 0 rgba(255, 90, 49, .5); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(255, 90, 49, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 49, 0); } }

/* ---------- Statement ---------- */
.statement { font-family: var(--serif); font-size: clamp(36px, 4.6vw, 64px); line-height: 1.12; letter-spacing: -.025em; text-align: center; max-width: 1080px; margin: 0 auto; color: var(--ink); }
.statement .dim { color: var(--faint); }
.inline-img { display: inline-block; vertical-align: middle; width: 1.7em; height: .95em; border-radius: 999px; background-size: cover; background-position: center; margin: -.12em .08em 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.inline-tile { display: inline-grid; vertical-align: middle; place-items: center; width: .95em; height: .95em; border-radius: .26em; margin: -.12em .06em 0; color: #fff; }
.inline-tile svg { width: .5em; height: .5em; }

/* ---------- Product window ---------- */
.window-wrap { position: relative; margin-top: 72px; }
.window { position: relative; border-radius: 16px; overflow: hidden; background: #141416; box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 1px 0 1px rgba(255, 255, 255, .06) inset, 0 60px 120px -40px rgba(25, 22, 15, .55), 0 20px 40px -20px rgba(25, 22, 15, .3); }
.window .app { height: 720px; }
.toast {
  position: absolute; z-index: 3; top: -26px; left: 50%; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); translate: -50% 0;
}
.reveal.is-in .toast { animation: toast-in .6s cubic-bezier(.2, .9, .3, 1.2) .5s both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-16px) scale(.9); } to { opacity: 1; transform: none; } }
.toast .tile { width: 30px; height: 30px; border-radius: 999px; }
.toast .tile svg { animation: spin 6s linear infinite; }
.toast b { display: block; font-size: 13px; font-weight: 600; }
.toast small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }

/* ---------- Mock app (ink) ---------- */
.app { --app-bg: #141416; --app-side: #1b1b1e; --app-line: rgba(255, 255, 255, .06); --app-text: rgba(255, 255, 255, .86); --app-dim: rgba(255, 255, 255, .42);
  display: grid; grid-template-rows: 22px 36px 1fr; background: var(--app-bg); color: var(--app-text); font-size: 11px; line-height: 1.3; text-align: left; height: 100%; }
.app.light { --app-bg: #f6f6f7; --app-side: #eeeef0; --app-line: rgba(0, 0, 0, .07); --app-text: rgba(0, 0, 0, .82); --app-dim: rgba(0, 0, 0, .42); }
.app.no-menu { grid-template-rows: 36px 1fr; }
.menubar { display: flex; align-items: center; gap: 14px; padding: 0 12px; background: rgba(60, 60, 64, .55); font-size: 10px; color: var(--app-text); }
.app.light .menubar { background: rgba(255, 255, 255, .8); }
.menubar b { font-weight: 700; }
.menubar .right { margin-left: auto; display: flex; gap: 10px; align-items: center; color: var(--app-dim); }
.menubar .right i { width: 11px; height: 8px; border-radius: 2px; border: 1px solid currentColor; display: block; }
.toolbar { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid var(--app-line); }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 999px; background: #ff5f57; display: block; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.tabs-mini { display: flex; gap: 6px; margin-left: 90px; }
.tabs-mini span { padding: 3px 9px; border-radius: 999px; color: var(--app-dim); font-size: 10px; }
.tabs-mini span.on { color: var(--app-text); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--app-line); }
.app.light .tabs-mini span.on { background: #fff; }
.toolbar .plus { margin-left: auto; width: 18px; height: 18px; border-radius: 999px; background: #1a8cff; color: #fff; display: grid; place-items: center; font-size: 12px; }
.app-body { display: grid; grid-template-columns: 190px 1fr 280px; min-height: 0; }
.app-body.no-right { grid-template-columns: 210px 1fr; }
.app-body.solo { grid-template-columns: 1fr; }
.side { background: var(--app-side); padding: 12px 10px; border-right: 1px solid var(--app-line); overflow: hidden; }
.side .ws { display: flex; align-items: center; gap: 6px; font-weight: 600; padding: 2px 4px 12px; }
.side .ws i { width: 13px; height: 13px; border-radius: 4px; background: linear-gradient(135deg, #ffb59a, #ff5a31); display: block; }
.side h6 { margin: 14px 4px 4px; font-size: 9px; font-weight: 500; color: var(--app-dim); }
.side li { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 6px; white-space: nowrap; overflow: hidden; }
.side li.on { background: rgba(255, 255, 255, .07); }
.side li .ic { width: 11px; text-align: center; color: var(--app-dim); font-size: 9.5px; }
.side li .ag { color: var(--accent); }
.side li .run { margin-left: auto; width: 9px; height: 9px; border-radius: 999px; border: 1.5px solid var(--app-dim); border-top-color: transparent; animation: spin 1.2s linear infinite; }
.content { padding: 18px 24px; overflow: hidden; }
.cover { position: relative; height: 220px; max-width: 420px; margin: 0 auto 14px; border-radius: 10px; overflow: hidden; background-size: cover; background-position: center; }
.cover .label { position: absolute; left: 12px; bottom: 10px; right: 12px; display: flex; align-items: flex-end; justify-content: space-between; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
.cover .label b { display: block; font-size: 16px; font-weight: 600; }
.cover .label small { font-size: 9px; opacity: .9; }
.task-group { max-width: 420px; margin: 0 auto 12px; border-radius: 9px; background: rgba(255, 255, 255, .025); padding: 4px 11px; }
.app.light .task-group { background: #fff; }
.task-group h6 { margin: 7px 0 2px; font-size: 9px; font-weight: 600; }
.task { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--app-line); }
.task:last-child { border-bottom: 0; }
.task i { width: 11px; height: 11px; border-radius: 999px; border: 1px solid var(--app-dim); flex: none; display: block; }
.task i.pri { border-color: #ff9f0a; background: rgba(255, 159, 10, .25); }
.task i.ag { border-color: var(--accent); border-style: dashed; animation: spin 4s linear infinite; }
.task em { margin-left: auto; font-style: normal; font-size: 8.5px; color: var(--app-dim); }
.task.dim { color: var(--app-dim); }
.assistant { border-left: 1px solid var(--app-line); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 18px; gap: 14px; }
.assistant .spark { width: 22px; height: 22px; color: var(--accent); }
.assistant h5 { margin: 0; font-size: 14px; font-weight: 500; font-family: var(--serif); font-size: 20px; }
.composer { width: 100%; border-radius: 11px; background: rgba(255, 255, 255, .05); border: 1px solid var(--app-line); padding: 10px 11px; color: var(--app-dim); }
.composer .row { display: flex; gap: 8px; margin-top: 12px; font-size: 8.5px; }
.composer .row b { color: var(--accent); font-weight: 500; }
.composer .send { margin-left: auto; width: 13px; height: 13px; border-radius: 999px; background: #1a8cff; }
.suggest { display: flex; gap: 6px; font-size: 8.5px; color: var(--app-dim); }
.suggest span { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .04); }

/* ---------- Use cases ---------- */
.role-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.role-tabs button { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: color .25s, background-color .25s, box-shadow .25s; }
.role-tabs button:hover { color: var(--ink); }
.role-tabs button.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.marquee { margin-top: 56px; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; padding: 10px 0 30px; will-change: transform; }
.uc-card { width: 380px; flex: none; padding: 28px 28px 24px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.uc-head { display: flex; align-items: center; justify-content: space-between; }
.uc-role { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.uc-card blockquote { margin: 22px 0 0; font-family: var(--serif); font-size: 26px; line-height: 1.18; letter-spacing: -.015em; flex: 1; }
.uc-foot { display: flex; align-items: center; gap: 8px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.uc-foot .done { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: #2f7a20; font-weight: 500; }
.uc-foot .done svg { width: 12px; height: 12px; }

/* ---------- Features ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 96px; }
.feature + .feature { margin-top: 150px; }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: flex; flex-direction: column; gap: 22px; max-width: 520px; }
.feature-num { display: flex; align-items: center; gap: 16px; }
.feature-num .n { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: .8; color: var(--ink); }
.feature-num .tag { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 500; }
.feature-num .tag .soon { color: var(--faint); font-weight: 400; }
.feature-list { display: grid; gap: 10px; margin-top: 6px; }
.feature-list li { display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; color: var(--ink-2); }
.feature-list li::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--ink); flex: none; translate: 0 -2px; }
.photo-card { position: relative; height: 660px; border-radius: 32px; overflow: hidden; isolation: isolate; background: var(--paper-2); }
.photo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.reveal.is-in .photo-card > img { transform: scale(1); }
.photo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 60%, transparent 40%, rgba(0, 0, 0, .22)); }
.float-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 34px; }
.float-wrap > * { width: 400px; max-width: 100%; min-width: 0; }

/* paper mock cards (light glass) */
.mock-card { border-radius: 20px; background: rgba(255, 255, 255, .84); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(255, 255, 255, .85); font-size: 13px; line-height: 1.45; text-align: left; overflow: hidden; color: var(--ink); }
.mock-row { display: flex; align-items: center; gap: 11px; padding: 15px 16px; }
.mock-sep { border-top: 1px solid rgba(0, 0, 0, .06); }
.circle { width: 22px; height: 22px; border-radius: 999px; border: 1.5px solid #c9c5bb; flex: none; display: grid; place-items: center; background: #fff; }
.circle svg { width: 11px; height: 11px; }
.circle.done { background: var(--ink); border-color: var(--ink); color: #fff; }
.circle.done path { stroke-dasharray: 12; animation: check-draw .35s ease-out .6s both; }
@keyframes check-draw { from { stroke-dashoffset: 12; } to { stroke-dashoffset: 0; } }
.mock-title { font-weight: 500; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-accent { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; flex: none; }
.chip-accent svg { width: 11px; height: 11px; color: var(--accent); }
.chip-ghost { display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 12px; flex: none; }
.log { padding: 12px 16px 16px; font-size: 12.5px; line-height: 1.5; }
.log li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-2); padding: 3px 0; transition: opacity .4s; }
.log li span:first-child { color: var(--faint); width: 34px; flex: none; font-variant-numeric: tabular-nums; }
.log li.now { color: var(--ink); font-weight: 500; }
.log li.now::after { content: ""; width: 6px; height: 13px; background: var(--accent); align-self: center; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.app-tiles { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.app-tiles span { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .8); box-shadow: var(--shadow-card); display: grid; place-items: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.app-tiles svg { width: 17px; height: 17px; color: var(--ink-2); }
.stack-cards { position: relative; }
.stack-cards .ghost { position: absolute; left: 50%; height: 70px; border-radius: 20px; background: rgba(255, 255, 255, .5); translate: -50% 0; }
.stack-cards .ghost.g1 { top: -8px; width: 93%; }
.stack-cards .ghost.g2 { top: -15px; width: 86%; opacity: .55; }
.msg { display: flex; gap: 12px; padding: 16px; }
.msg .av { width: 32px; height: 32px; border-radius: 999px; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; background: var(--ink); }
.msg .who { display: flex; align-items: baseline; gap: 8px; }
.msg .who b { font-weight: 600; }
.msg .who small { font-size: 11.5px; color: var(--faint); }
.msg p { color: var(--ink-2); }
.captured .src { margin-left: auto; font-size: 11px; padding: 2px 9px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.arrow-down { display: grid; place-items: center; height: 26px; color: rgba(255, 255, 255, .9); }
.arrow-down svg { width: 14px; height: 14px; }
.diff { padding: 6px 16px 14px; font: 12px/1.65 ui-monospace, "SF Mono", Menlo, monospace; }
.diff div { padding: 0 8px; border-radius: 4px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.diff .file { color: var(--ink); font-weight: 600; padding-bottom: 4px; }
.diff .add { background: #e8f5e3; color: #24661a; }
.diff .del { background: #fbe9e6; color: #a3321f; }
.review-actions { display: flex; gap: 8px; justify-content: flex-end; padding: 0 16px 16px; }
.day-head { display: flex; align-items: baseline; gap: 8px; padding: 14px 16px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.day-head b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.day-head small { font-size: 12px; color: var(--faint); }
.hours { position: relative; }
.hours .h { display: flex; height: 56px; border-top: 1px solid rgba(0, 0, 0, .05); }
.hours .h:first-child { border-top: 0; }
.hours .h span { width: 48px; padding-left: 16px; font-size: 10px; color: var(--faint); transform: translateY(-7px); }
.ev { position: absolute; left: 72px; right: 14px; border-radius: 9px; padding: 6px 10px; font-size: 12px; line-height: 1.3; font-weight: 600; }
.ev small { display: block; font-size: 10.5px; font-weight: 400; opacity: .8; margin-top: 2px; }
.ev.violet { color: #5b45c9; background: #ece8ff; }
.ev.blue { color: #1f62b8; background: #e3f0ff; }
.ev.accent { color: #fff; background: var(--ink); }
.ev.accent small { opacity: .65; }
.ev.ghosted { color: var(--ink); background: rgba(255, 255, 255, .6); outline: 1.5px dashed var(--ink); outline-offset: -1.5px; }
.feature .pop { opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.reveal.is-in .pop { opacity: 1; transform: none; }
.reveal.is-in .pop.d1 { transition-delay: .15s; }
.reveal.is-in .pop.d2 { transition-delay: .3s; }
.reveal.is-in .pop.d3 { transition-delay: .45s; }

/* ---------- Showcase ---------- */
.seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 5px; margin-top: 40px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line); position: relative; }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; color: var(--muted); transition: color .3s; }
.seg button[aria-selected="true"] { color: #fff; }
.seg button svg { width: 15px; height: 15px; }
.seg-ind { position: absolute; z-index: 0; top: 5px; left: 0; height: 42px; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); overflow: hidden; }
.seg-ind .fill { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.showcase { position: relative; height: 860px; margin-top: 36px; border-radius: 36px; overflow: hidden; isolation: isolate; }
.showcase > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.panel { position: absolute; top: 80px; left: 80px; right: -120px; bottom: -120px; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 50px 100px -30px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(24px); transition: opacity .45s, transform .8s var(--ease); pointer-events: none; }
.panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.panel .app { font-size: 12px; }
.panel .side { font-size: 12px; padding: 14px 12px; }
.panel .side li { padding: 6px 8px; }
.panel .content { padding: 22px 26px; }
.kanban { display: grid; grid-template-columns: repeat(4, 250px); gap: 14px; height: 100%; }
.col { border-radius: 10px; background: rgba(255, 255, 255, .025); padding: 10px 12px; }
.col h6 { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .05); font-size: 10px; font-weight: 600; }
.col .task { padding: 9px 0; border-bottom: 0; align-items: flex-start; }
.col .task div small { display: block; color: var(--app-dim); font-size: 9.5px; margin-top: 3px; }
.week { display: grid; grid-template-columns: 46px repeat(7, 1fr); height: 100%; border-top: 1px solid var(--app-line); }
.week > div { border-left: 1px solid var(--app-line); position: relative; }
.week .wh { padding: 8px; font-size: 10px; color: var(--app-dim); border-bottom: 1px solid var(--app-line); height: 34px; }
.week .wh b { color: var(--app-text); font-size: 13px; margin-left: 4px; }
.week .wh.today b { color: #fff; background: var(--accent); border-radius: 999px; padding: 1px 6px; }
.week .ev { left: 4px; right: 4px; font-size: 10px; color: rgba(255, 255, 255, .92); }
.week .ev.violet { background: rgba(167, 139, 250, .22); color: #c9b9ff; }
.week .ev.blue { background: rgba(96, 165, 250, .2); color: #a9cdff; }
.week .ev.accent { background: rgba(255, 90, 49, .22); color: #ffb39c; }
.week .ev.ghosted { background: transparent; color: #ffb39c; outline: 1px dashed rgba(255, 90, 49, .6); }
.week .times span { display: block; height: 70px; font-size: 9px; color: var(--app-dim); text-align: right; padding-right: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; }
.stat { border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--app-line); padding: 16px; }
.stat small { color: var(--app-dim); font-size: 10px; }
.stat b { display: block; font-size: 28px; font-weight: 400; margin-top: 6px; font-family: var(--serif); }
.chart { grid-column: span 2; height: 260px; display: flex; align-items: flex-end; gap: 14px; padding: 20px 16px 16px; }
.chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .25)); display: block; }
.chart i.hi { background: linear-gradient(var(--accent), rgba(255, 90, 49, .35)); }
.donut { width: 160px; height: 160px; border-radius: 999px; margin: 18px auto; background: conic-gradient(#f4f3ef 0 40%, #ff5a31 0 68%, #a39f96 0 84%, #5b5955 0 100%); position: relative; }
.donut::after { content: ""; position: absolute; inset: 22px; border-radius: 999px; background: var(--app-bg); }
.timer-big { font-family: var(--serif); font-size: 120px; line-height: 1; letter-spacing: -.03em; text-align: center; margin: 50px 0 12px; font-variant-numeric: tabular-nums; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: 100%; max-width: 980px; }
.split > div { border-radius: 10px; background: rgba(255, 255, 255, .025); padding: 14px; }
.agent-chat { display: flex; flex-direction: column; gap: 12px; max-width: 660px; }
.bubble { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); max-width: 80%; }
.bubble.me { align-self: flex-end; background: #f4f3ef; color: #111; }
.tool { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--app-line); color: var(--app-dim); font-size: 11px; }
.tool b { color: var(--app-text); font-weight: 500; }

/* ---------- Native (paper keyboard) ---------- */
.native { position: relative; height: 640px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.keys { position: absolute; top: 40px; left: 50%; translate: -50% 0; display: flex; flex-direction: column; gap: 14px; pointer-events: none;
  mask-image: radial-gradient(640px 460px at 50% 50%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(640px 460px at 50% 50%, #000 30%, transparent 85%); }
.keyrow { display: flex; gap: 14px; }
.key { width: 92px; height: 92px; flex: none; border-radius: 18px; display: grid; place-items: center; font-size: 22px; color: #a6a29a;
  background: linear-gradient(#fdfcfa, #efede7); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #e2dfd7, 0 4px 0 #dcd8ce, 0 10px 20px -10px rgba(0, 0, 0, .2);
  transition: transform .15s, box-shadow .15s, color .2s, background .2s; }
.key small { font-size: 13px; }
.key.lit { color: #fff; background: linear-gradient(#2b2a28, #0c0c0d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 0 0 1px #000, 0 1px 0 #000, 0 6px 14px -6px rgba(0, 0, 0, .5); transform: translateY(3px); }
.key.lit.spark { background: linear-gradient(#ff7a52, #ff4a23); box-shadow: 0 0 0 1px #e8401c, 0 1px 0 #c63412, 0 8px 18px -6px rgba(255, 90, 49, .6); }
.native-copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 40px 50px; border-radius: 40px; background: radial-gradient(closest-side, rgba(245, 244, 240, .96), rgba(245, 244, 240, .75) 70%, transparent); }
.native-copy .lead { max-width: 420px; }

/* ---------- Local-first ---------- */
.local { position: relative; height: 940px; border-radius: 36px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; padding-top: 72px; text-align: center; color: #fff; }
.local > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.local::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .2) 38%, rgba(0, 0, 0, 0) 60%); }
.local .eyebrow { color: rgba(255, 255, 255, .8); }
.local .h2 { margin-top: 20px; max-width: 760px; }
.local .lead { margin-top: 22px; max-width: 620px; color: rgba(255, 255, 255, .94); text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.local .h2, .local .eyebrow { text-shadow: 0 1px 18px rgba(0, 0, 0, .25); }
.local-points { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.local-points span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; }
.local-points svg { width: 14px; height: 14px; }
.devices-art { position: absolute; left: 50%; bottom: 0; width: 1100px; height: 500px; translate: -50% 0; }
.mbp { position: absolute; left: 0; bottom: 0; width: 960px; height: 500px; border-radius: 24px 24px 0 0; background: #0b0b0c; padding: 16px 16px 0; box-shadow: inset 0 0 0 2px #2b2b2e, 0 -30px 80px -20px rgba(0, 0, 0, .5); }
.mbp .screen { position: relative; height: 100%; border-radius: 8px 8px 0 0; overflow: hidden; }
.notch { position: absolute; z-index: 2; top: 0; left: 50%; width: 110px; height: 20px; translate: -50% 0; background: #000; border-radius: 0 0 8px 8px; }
.phone { position: absolute; right: 0; bottom: 0; width: 236px; height: 400px; border-radius: 40px 40px 0 0; background: #0b0b0c; padding: 10px 10px 0; box-shadow: inset 0 0 0 2px #2b2b2e, -20px 0 50px rgba(0, 0, 0, .3); }
.phone .scr { height: 100%; border-radius: 31px 31px 0 0; background: #f6f6f7; color: #111; padding: 20px 14px; text-align: left; font-size: 10px; overflow: hidden; }
.scr .top { display: flex; justify-content: space-between; align-items: baseline; }
.scr .top b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.scr .top span { color: #888; font-size: 9px; }
.scr .pills2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 10px; }
.scr .pills2 div { background: #fff; border-radius: 14px; padding: 10px; text-align: center; }
.scr .pills2 b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; }
.scr .pills2 small { color: #888; font-size: 8px; }
.scr .card { background: #fff; border-radius: 16px; padding: 12px; }
.scr .donut { width: 110px; height: 110px; margin: 4px auto 10px; background: conic-gradient(#0c0c0d 0 40%, #ff5a31 0 68%, #a39f96 0 84%, #d9d6cf 0 100%); }
.scr .donut::after { inset: 16px; background: #fff; }
.scr .legend div { display: flex; align-items: center; gap: 6px; padding: 3px 0; }
.scr .legend i { width: 6px; height: 6px; border-radius: 99px; display: block; }
.scr .legend span { margin-left: auto; color: #888; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; height: 1180px; overflow: hidden; margin-top: 64px;
  mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); }
.bento-col { display: flex; flex-direction: column; }
.bento-col.is-marquee { animation: marquee-y var(--dur, 70s) linear infinite; }
.bento-col.is-marquee:nth-child(2) { animation-direction: reverse; --dur: 82s; }
.bento-col.is-marquee:nth-child(3) { --dur: 64s; }
.bento:hover .bento-col { animation-play-state: paused; }
.bento-set { display: flex; flex-direction: column; gap: 24px; padding-bottom: 24px; }
@keyframes marquee-y { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.card { position: relative; border-radius: 26px; background: var(--card); box-shadow: var(--shadow-card); overflow: hidden; isolation: isolate; }
.card-text { padding: 28px 28px 0; }
.card-text h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.card-text p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.card-text.bottom { padding: 0 28px 28px; }
.card.photo { color: #fff; }
.card.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.card.photo .card-text p { color: rgba(255, 255, 255, .8); }
.tree { padding: 24px 24px 26px; font-size: 14px; mask-image: linear-gradient(#000 60%, transparent); -webkit-mask-image: linear-gradient(#000 60%, transparent); }
.tree .hd { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.tree li { display: flex; align-items: center; gap: 10px; height: 34px; border-bottom: 1px solid var(--line); }
.tree li.sub { padding-left: 24px; }
.tree .em { width: 20px; font-size: 15px; }
.tree .car { margin-left: auto; color: var(--faint); font-size: 11px; }
.focus-bar { position: relative; margin: 30px 24px 28px; display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; }
.focus-bar .t { padding: 8px 12px; border-radius: 11px; background: #fff; box-shadow: var(--shadow-card); font-family: var(--serif); font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; }
.focus-bar button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; color: var(--ink-2); }
.focus-bar button:hover { background: #fff; }
.focus-bar button svg { width: 13px; height: 13px; }
.focus-bar .prog { position: absolute; left: 20px; right: 20px; bottom: -1px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.focus-bar .prog i { display: block; height: 100%; width: 38%; background: var(--accent); }
.tech-art { position: relative; height: 290px; background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px), linear-gradient(var(--line) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(#000 55%, transparent); -webkit-mask-image: linear-gradient(#000 55%, transparent); }
.tech-art svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.tech-node { position: absolute; top: 26px; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; box-shadow: var(--shadow-float); }
.tech-node svg { width: 20px; height: 20px; }
.privacy { height: 440px; }
.rings { position: absolute; left: 50%; top: 250px; width: 200px; height: 200px; translate: -50% 0; }
.rings i { position: absolute; left: 50%; top: 50%; border-radius: 999px; display: block; translate: -50% -50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .07); backdrop-filter: blur(2px); animation: ring 4s ease-in-out infinite; }
.rings i:nth-child(1) { width: 200px; height: 200px; }
.rings i:nth-child(2) { width: 150px; height: 150px; animation-delay: .2s; }
.rings i:nth-child(3) { width: 100px; height: 100px; animation-delay: .4s; }
.rings i:nth-child(4) { width: 52px; height: 52px; background: #fff; color: var(--ink); display: grid; place-items: center; border: 0; animation: none; }
.rings svg { width: 18px; height: 18px; }
@keyframes ring { 0%, 100% { scale: 1; } 50% { scale: 1.05; } }
.brandcard { height: 400px; display: grid; place-items: end start; padding: 28px; }
.brandcard .wm { font-family: var(--serif); font-size: 76px; line-height: .9; letter-spacing: -.04em; color: var(--ink); mix-blend-mode: multiply; }
.brandcard .wm em { font-style: italic; }
.brandcard .ver { position: absolute; top: 24px; right: 24px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px); font-size: 12.5px; font-weight: 500; }
.qa-art { position: relative; height: 290px; margin-top: 22px; font-size: 13px; }
.qa-list { position: absolute; left: 28px; top: 18px; display: flex; flex-direction: column; gap: 16px; mask-image: linear-gradient(#000 50%, transparent); -webkit-mask-image: linear-gradient(#000 50%, transparent); }
.qa-list div { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--ink-2); }
.qa-list i { width: 15px; height: 15px; border-radius: 99px; border: 1.5px solid #c9c5bb; display: block; }
.qa-list .on i { border-color: var(--accent); }
.ctx { position: absolute; left: 180px; top: 0; width: 190px; padding: 6px; border-radius: 12px; background: rgba(250, 250, 250, .9); box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(0, 0, 0, .06); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.ctx div { display: flex; justify-content: space-between; height: 26px; align-items: center; padding: 0 9px; border-radius: 6px; font-size: 13px; }
.ctx div.on { background: #1a8cff; color: #fff; }
.ctx div span { color: var(--faint); font-size: 11px; }
.ctx hr { border: 0; height: 1px; background: rgba(0, 0, 0, .08); margin: 5px 4px; }
.covers { display: flex; gap: 8px; padding: 26px 28px 0; }
.covers span { width: 54px; height: 40px; border-radius: 9px; display: block; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.covers span.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.files-art { margin: 24px 28px 0; height: 168px; border-radius: 14px 14px 0 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font: 12px/1.75 ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); padding: 14px 16px; overflow: hidden; mask-image: linear-gradient(#000 60%, transparent); -webkit-mask-image: linear-gradient(#000 60%, transparent); }
.files-art b { color: var(--ink); font-weight: 600; }
.files-art .ok { color: #2f7a20; }
.today { padding: 28px; }
.today ul { margin-top: 20px; mask-image: linear-gradient(#000 55%, transparent); -webkit-mask-image: linear-gradient(#000 55%, transparent); }
.today li { display: flex; align-items: center; gap: 12px; height: 38px; font-size: 14px; border-bottom: 1px solid var(--line); }
.today li i { width: 16px; height: 16px; border-radius: 99px; border: 1.5px solid #c9c5bb; display: block; flex: none; }
.today li:first-child i { border-color: var(--accent); }
.pill-tag { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--paper); font-size: 12.5px; font-weight: 500; }
.pill-tag svg { width: 12px; height: 12px; color: var(--accent); }
.today h3 { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.swatches { display: flex; align-items: center; gap: 10px; padding: 34px 28px 0; }
.swatches button { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; transition: transform .3s var(--spring); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.swatches button.on { transform: scale(1.22); box-shadow: 0 0 0 3px var(--card), 0 0 0 4.5px var(--ink); }
.swatches button svg { width: 15px; height: 15px; opacity: 0; color: #fff; }
.swatches button.on svg { opacity: 1; }
.swatches button:hover { transform: scale(1.1); }
.swatches button.on:hover { transform: scale(1.22); }
.accent-card .card-text { padding-bottom: 28px; }
.sidecal { height: 560px; }
.sidecal-art { position: relative; height: 400px; margin-top: 8px; mask-image: linear-gradient(transparent, #000 12%, #000 70%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 70%, transparent); }
.sidecal-art .hr { display: flex; align-items: center; gap: 10px; height: 78px; padding: 0 28px; font-size: 11px; color: var(--faint); }
.sidecal-art .hr::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sidecal-art .blk { position: absolute; left: 76px; right: 28px; border-radius: 11px; background: var(--ink); color: #fff; padding: 9px 12px; font-size: 12.5px; font-weight: 500; }
.sidecal-art .blk small { display: block; font-size: 11px; font-weight: 400; opacity: .6; }
.sidecal-art .blk.soft { background: var(--paper-2); color: var(--ink); }
.sidecal-art .nowline { position: absolute; left: 28px; right: 28px; display: flex; align-items: center; gap: 6px; color: var(--accent-text); font-size: 11px; font-weight: 600; }
.sidecal-art .nowline::after { content: ""; flex: 1; height: 1.5px; background: var(--accent); }
.shortcuts { padding: 22px 28px 28px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.shortcuts li { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.shortcuts li span { flex: 1; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.faq-side { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 22px; }
.faq-side .lead { max-width: 380px; }
.faq-item { border-top: 1px solid var(--line-2); }
.faq-item:last-child { border-bottom: 1px solid var(--line-2); }
.faq-q { display: flex; align-items: center; gap: 18px; width: 100%; min-height: 88px; text-align: left; }
.faq-q .n { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--faint); width: 30px; flex: none; }
.faq-q .t { flex: 1; font-family: var(--serif); font-size: 28px; line-height: 1.12; letter-spacing: -.015em; }
.faq-q .pm { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; flex: none; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), background-color .2s, color .2s; }
.faq-q .pm svg { width: 13px; height: 13px; }
.faq-q:hover .pm { background: var(--ink); color: #fff; }
.faq-item.is-open .pm { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 60px 28px 48px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 600px; border-radius: 40px; background: #fff; box-shadow: var(--shadow-card); overflow: hidden; isolation: isolate; }
.cta-copy { position: relative; z-index: 2; padding: 80px 0 80px 80px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.cta-copy .lead { max-width: 440px; }
.cta-figure { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: 1; }
.cta-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 18%; mix-blend-mode: multiply; }
.signup { display: flex; align-items: center; width: 440px; max-width: 100%; height: 60px; padding: 6px; margin-top: 8px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.signup:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.signup input { flex: 1; min-width: 0; height: 100%; padding: 0 20px; background: none; border: 0; outline: none; font-size: 15px; }
.signup input::placeholder { color: var(--faint); }
.signup .btn { height: 48px; }
.signup.is-done input { color: var(--muted); }
.signup-note { min-height: 20px; font-size: 13.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding: 90px 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.foot-grid p { max-width: 300px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.foot-grid h4 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.foot-grid li + li { margin-top: 10px; }
.foot-grid a, .foot-grid button { font-size: 15px; color: var(--ink-2); transition: color .2s; }
.foot-grid a:hover, .foot-grid button:hover { color: var(--accent-text); }
.foot-legal { display: flex; justify-content: space-between; margin-top: 70px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot-word { font-family: var(--serif); font-size: clamp(80px, 26vw, 400px); line-height: .74; letter-spacing: -.055em; text-align: center; color: var(--ink); margin: 20px 0 -0.08em; user-select: none; white-space: nowrap; }
.foot-word em { font-style: italic; }
.foot-word sup { font-size: .16em; vertical-align: top; position: relative; top: .5em; margin-left: .25em; color: var(--ink); font-style: normal; }

/* ---------- Reveal ---------- */
.reveal .fade { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in .fade { opacity: 1; transform: none; }
.reveal.is-in .fade.d1 { transition-delay: .08s; }
.reveal.is-in .fade.d2 { transition-delay: .16s; }
.reveal.is-in .fade.d3 { transition-delay: .24s; }
.reveal.is-in .fade.d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .fc-left { left: 40px; } .fc-right { right: 40px; } .hero-note.left { left: 40px; } .hero-note.right { right: 40px; } .badge { right: 40px; }
  .nav { padding: 0 32px; }
}
@media (max-width: 1100px) {
  .float-card { display: none; }
  .connectors { display: none; }
  .feature { gap: 56px; }
  .cta-copy { padding: 60px 0 60px 48px; }
  .devices-art { scale: .8; transform-origin: bottom center; }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .section { padding: 96px 0; }
  .nav { height: 72px; padding: 0 20px; grid-template-columns: 1fr auto; }
  .nav-pill, .nav-cta, .dropdown { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .mobile-menu { inset: 72px 12px auto 12px; }
  .hero { min-height: 0; padding: 40px 20px 0; display: flex; flex-direction: column; }
  .hero-copy .lead { font-size: 17px; margin-top: 22px; }
  .hero-ctas .btn { height: 48px; }
  .hero-figure { position: relative; left: auto; translate: none; width: 130%; margin: 30px 0 0 -15%; }
  .hero-note, .hero-note.right, .badge { display: none; }
  .hero-figure .chip:nth-of-type(2), .hero-figure .chip:nth-of-type(3) { display: none; }
  .hero-figure .chip:nth-of-type(1) { left: 14% !important; top: 30% !important; }
  .hero-figure .chip:nth-of-type(4) { left: auto !important; right: 14%; top: 50% !important; }
  .chip { scale: .74; transform-origin: center; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .feature-copy { order: 0; }
  .feature + .feature { margin-top: 100px; }
  .photo-card { height: 540px; border-radius: 26px; }
  .float-wrap { padding: 18px; }
  .uc-card { width: 300px; }
  .uc-card blockquote { font-size: 22px; }
  .window .app { height: 520px; }
  .window-wrap { overflow: hidden; border-radius: 16px; }
  .window-wrap .window { width: 1100px; transform-origin: top left; scale: .42; margin-bottom: -300px; }
  .toast { top: 12px; scale: .9; }
  .seg button span { display: none; }
  .seg button { padding: 0 14px; }
  .showcase { height: 560px; border-radius: 26px; }
  .panel { top: 40px; left: 24px; right: auto; bottom: auto; width: 1400px; height: 960px; transform-origin: top left; }
  .panel, .panel.is-active { scale: .48; }
  .native { height: 520px; }
  .key { width: 70px; height: 70px; border-radius: 14px; }
  .local { height: 860px; border-radius: 26px; padding: 56px 20px 0; }
  .local::before { background: linear-gradient(rgba(0, 0, 0, .62), rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, 0) 75%); }
  .devices-art { width: 1100px; scale: .34; }
  .bento { grid-template-columns: 1fr; height: auto; mask-image: none; -webkit-mask-image: none; }
  .bento-col.is-marquee { animation: none; }
  .bento-set[aria-hidden] { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-side { position: static; }
  .faq-q .t { font-size: 22px; }
  .faq-a p { padding: 0 10px 24px 48px; }
  .cta { grid-template-columns: minmax(0, 1fr); border-radius: 28px; }
  .signup { width: 100%; }
  .signup .btn { padding: 0 18px; }
  .cta-copy { padding: 48px 24px 0; }
  .cta-figure { position: relative; width: 100%; height: 380px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: span 2; }
  .foot-legal { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal .fade, .feature .pop { opacity: 1; transform: none; }
  .connectors path { stroke-dashoffset: 0; }
}
