/* Daylanes website. Site look: light off-white ground, one grotesk (Geist) at big sizes, mono eyebrows.
   The app replica (.app-window) uses the Mac app's own tokens from desktop/Theme.swift. */

@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #F4F3EF;
  --bg-2: #ECEAE4;
  --ink: #0E0E10;
  --ink-2: #3C3C43;
  --muted: #76767C;
  --faint: #B4B2AC;
  --line: rgba(14, 14, 16, 0.09);
  --panel: #FFFFFF;
  --dark: #111113;
  --dark-ink: #F2F2F3;
  --accent: #5856D6;
  --orange: #F4A02A;
  --green: #2AC561;
  --red: #ED494A;
  --purple: #8B5AF3;
  --shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 40px 80px -30px rgba(20, 18, 10, 0.35), 0 12px 30px -12px rgba(20, 18, 10, 0.18);

  /* App tokens, light (Theme.swift) */
  --ap-chrome: #111113;
  --ap-chrome-sel: #2A2A2E;
  --ap-field: #1F1F23;
  --ap-card: #FBFAF8;
  --ap-block: #EFEEEB;
  --ap-block-hover: #E6E4E0;
  --ap-hair: rgba(0, 0, 0, 0.07);
  --ap-text: #18181B;
  --ap-sec: #8E8E93;
  --ap-accent: #5856D6;
  --t-blue-f: #E3ECFD; --t-blue-i: #2F5BD3;
  --t-green-f: #E2F3E8; --t-green-i: #23794A;
  --t-purple-f: #EEE7FB; --t-purple-i: #6A3FC8;
  --t-amber-f: #FCF0D9; --t-amber-i: #9A6400;
  --t-red-f: #FDE5E1; --t-red-i: #C2311F;
  --t-neutral-f: #EFEEEB; --t-neutral-i: #3C3C43;

  --sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --apple: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C0C0E; --bg-2: #141417; --ink: #F2F2F3; --ink-2: #D1D1D6; --muted: #8E8E93; --faint: #48484D;
    --line: rgba(255, 255, 255, 0.09); --panel: #17171A;
    --shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,.06);
    --ap-card: #1C1C1F; --ap-block: #2A2A2E; --ap-block-hover: #333338; --ap-hair: rgba(255, 255, 255, 0.07);
    --ap-text: #F2F2F3;
    --t-blue-f: #1E2A44; --t-blue-i: #8FB0FF; --t-green-f: #1C3326; --t-green-i: #7FD3A0;
    --t-purple-f: #2D2442; --t-purple-i: #C4AAFF; --t-amber-f: #3A2E17; --t-amber-i: #F2C46B;
    --t-red-f: #43211E; --t-red-i: #FF9C8F; --t-neutral-f: #2A2A2E; --t-neutral-i: #D1D1D6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C0C0E; --bg-2: #141417; --ink: #F2F2F3; --ink-2: #D1D1D6; --muted: #8E8E93; --faint: #48484D;
  --line: rgba(255, 255, 255, 0.09); --panel: #17171A;
  --shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,.06);
  --ap-card: #1C1C1F; --ap-block: #2A2A2E; --ap-block-hover: #333338; --ap-hair: rgba(255, 255, 255, 0.07);
  --ap-text: #F2F2F3;
  --t-blue-f: #1E2A44; --t-blue-i: #8FB0FF; --t-green-f: #1C3326; --t-green-i: #7FD3A0;
  --t-purple-f: #2D2442; --t-purple-i: #C4AAFF; --t-amber-f: #3A2E17; --t-amber-i: #F2C46B;
  --t-red-f: #43211E; --t-red-i: #FF9C8F; --t-neutral-f: #2A2A2E; --t-neutral-i: #D1D1D6;
  color-scheme: dark;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], footer { scroll-margin-top: 84px; }
.demo-swipe { display: none; }
@media (max-width: 1000px) { .demo-swipe { display: inline; } }
body {
  background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
a { color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }
.eyebrow b { color: var(--ink); font-weight: 500; }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font: 500 16px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s; }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.btn .arrow { transition: transform .3s; }
.btn:hover .arrow { transform: translateX(3px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Floating split nav ---------- */
.nav {
  position: fixed; z-index: 50; top: calc(14px + env(safe-area-inset-top, 0px)); left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding-left: var(--gutter); padding-right: var(--gutter-r); pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-pill {
  display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; padding: 0 12px 0 6px; text-decoration: none; font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.brand .dl-mark { width: 30px; height: 30px; }
.nav-links a { text-decoration: none; font-size: 14.5px; padding: 0 14px; height: 36px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--ink-2); }
.nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.nav-cta { height: 36px; padding: 0 16px; font-size: 14.5px; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: calc(112px + env(safe-area-inset-top, 0px)); padding-bottom: 8px; text-align: center; position: relative; }
.hero-mark { width: clamp(108px, 15vw, 188px); height: auto; margin: 0 auto 28px; display: block; cursor: pointer; }
.hero-mark .dl-mark { width: 100%; height: auto; display: block; overflow: visible; }
.hero h1 {
  font-size: clamp(44px, 7.2vw, 112px); line-height: 0.92; letter-spacing: -0.055em; margin: 18px auto 0; max-width: 12ch;
}
.hero h1 .tm { font-size: 0.22em; letter-spacing: 0; vertical-align: 2.9em; margin-left: 0.05em; color: var(--muted); font-family: var(--mono); }
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line > span { display: inline-block; }
.js .line > span { transform: translateY(105%); transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.js.ready .line > span { transform: none; }
.js.ready .line:nth-child(2) > span { transition-delay: .09s; }
.js.ready .line:nth-child(3) > span { transition-delay: .18s; }
.hero .sub { font-size: clamp(18px, 1.7vw, 22px); color: var(--ink-2); max-width: 36ch; margin: 20px auto 0; letter-spacing: -0.015em; line-height: 1.3; }
.hero .ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.hero .fine { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 16px; letter-spacing: .02em; }
.fade { opacity: 1; }
.js .fade { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.js.ready .fade { opacity: 1; transform: none; }
.js.ready .fade.d1 { transition-delay: .35s; } .js.ready .fade.d2 { transition-delay: .5s; } .js.ready .fade.d3 { transition-delay: .65s; }

/* ---------- Demo stage ---------- */
.demo { padding-top: 28px; padding-bottom: 80px; }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 18px; }
.demo-tabs button {
  height: 36px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer; font: 500 14px/1 var(--sans);
  background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}
.demo-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.demo-hint { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 18px 0 0; letter-spacing: .03em; }
.demo-live { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.demo-live i { width: 7px; height: 7px; border-radius: 50%; background: #30D158; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(48,209,88,.5); } 50% { box-shadow: 0 0 0 6px rgba(48,209,88,0); } }
.stage { position: relative; perspective: 1800px; }
.stage-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 0 0 40px; }
.stage-scroll::-webkit-scrollbar { display: none; }
.stage-size { position: relative; margin: 0 auto; }
.tilt { transform-origin: 50% 0; transform: rotateX(var(--tilt, 0deg)) scale(var(--grow, 1)); transition: transform .1s linear; will-change: transform; }
.app-window {
  position: absolute; top: 0; left: 0; width: 1180px; height: 740px; transform-origin: 0 0; transform: scale(var(--s, 1));
  border-radius: 14px; background: var(--ap-chrome); box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.5); overflow: hidden;
  font-family: var(--apple); font-size: 13px; line-height: 1.35; color: var(--ap-text); letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased; text-align: left;
}
.stage-glow { position: absolute; inset: 10% 6% auto; height: 70%; z-index: -1; filter: blur(80px); opacity: .45;
  background: radial-gradient(40% 60% at 20% 50%, var(--orange), transparent 70%), radial-gradient(40% 60% at 50% 40%, var(--purple), transparent 70%), radial-gradient(40% 60% at 80% 50%, var(--green), transparent 70%); }

/* ---------- App replica (classes from app.js) ---------- */
.app-window button, .app-window input, .app-window select { font: inherit; color: inherit; }
.app-window button { border: 0; background: none; cursor: pointer; padding: 0; text-align: inherit; }
.app-window button:disabled { cursor: default; opacity: .35; }
.app-window h3, .app-window h4, .app-window p { margin: 0; }
.app-window .ic { flex: none; display: block; }
.a-bar { height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: #F2F2F3; position: relative; z-index: 3; }
.a-lights { display: flex; gap: 8px; margin-right: 8px; }
.a-lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.25); }
.a-lights i:nth-child(2) { background: #FEBC2E; } .a-lights i:nth-child(3) { background: #28C840; }
.a-hist { display: flex; gap: 6px; margin-left: 96px; }
.a-search { flex: 0 1 420px; margin: 0 auto; height: 28px; border-radius: 14px; background: var(--ap-field); color: #8E8E93; display: flex; align-items: center; gap: 7px; padding: 0 6px 0 11px; cursor: text; }
.a-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #F2F2F3 !important; font-size: 12.5px; }
.a-search input::placeholder { color: #8E8E93; }
.a-search input::-webkit-search-cancel-button { display: none; }
.a-search kbd { font: 500 10.5px var(--apple); color: #8E8E93; background: #2A2A2E; border-radius: 5px; padding: 2px 5px; }
.a-trail { display: flex; align-items: center; gap: 6px; }
.a-track-wrap { position: relative; }
.a-tracking { height: 26px; border-radius: 13px; background: var(--ap-field) !important; padding: 0 10px !important; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: #F2F2F3; white-space: nowrap; }
.a-tracking:hover { background: #2A2A2E !important; }
.a-tracking i { width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(48,209,88,.15); }
.a-tracking .ic { opacity: .6; }
.a-menu { position: absolute; top: 32px; right: 0; width: 214px; padding: 5px; border-radius: 10px; background: rgba(40,40,44,.96); color: #F2F2F3; box-shadow: 0 18px 40px rgba(0,0,0,.4), 0 0 0 .5px rgba(255,255,255,.12); backdrop-filter: blur(20px); animation: pop .16s ease-out; }
.a-menu p { font-size: 11px; color: #8E8E93; padding: 5px 9px 3px; font-weight: 600; }
.a-menu button { display: block; width: 100%; padding: 5px 9px !important; border-radius: 5px; font-size: 13px; text-align: left; }
.a-menu button:hover { background: var(--ap-accent); }
.a-menu hr { border: 0; height: 1px; background: rgba(255,255,255,.1); margin: 4px 6px; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.a-circle { width: 26px; height: 26px; border-radius: 50%; display: inline-grid !important; place-items: center; background: var(--ap-block) !important; color: var(--ap-text); flex: none; }
.a-circle:not(:disabled):hover { background: var(--ap-block-hover) !important; }
.a-circle.dark { background: var(--ap-field) !important; color: #F2F2F3; }
.a-circle.dark:not(:disabled):hover { background: #2A2A2E !important; }
.a-spin { width: 12px; height: 12px; border-radius: 50%; border: 1.6px solid rgba(255,255,255,.25); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.a-body { display: flex; gap: 8px; height: calc(100% - 52px); padding: 0 8px 8px; }
.a-side { width: 206px; flex: none; display: flex; flex-direction: column; color: #F2F2F3; padding: 2px 0 0; }
.a-navs { flex: 1; overflow: auto; scrollbar-width: none; }
.a-nav { display: flex !important; align-items: center; gap: 9px; width: 100%; height: 30px; padding: 0 10px !important; border-radius: 8px; color: #D1D1D6; font-size: 13px; }
.a-nav:hover { background: rgba(255,255,255,.05) !important; }
.a-nav.on { background: var(--ap-chrome-sel) !important; color: #fff; }
.a-nav span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-nav em { font-style: normal; font-size: 11px; font-weight: 600; background: #3A3A3F; border-radius: 9px; padding: 1px 7px; color: #F2F2F3; }
.a-sh { font-size: 11px; font-weight: 600; color: #8E8E93; margin: 16px 10px 4px !important; }
.a-pdot { width: 8px; height: 8px; border-radius: 50%; margin: 0 3px; flex: none; }
.a-sidefoot { display: flex; gap: 6px; padding: 8px 6px 4px; }
.a-detail { flex: 1; min-width: 0; display: flex; gap: 8px; }
.a-main, .a-right { background: var(--ap-card); border-radius: 16px; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--ap-block-hover) transparent; }
.a-main { flex: 1; min-width: 0; padding: 22px 26px 26px; animation: page .35s cubic-bezier(.2,.8,.2,1); }
@keyframes page { from { opacity: .4; transform: translateY(6px); } }
.a-right { width: 290px; flex: none; padding: 16px 16px 20px; }

.a-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.a-title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.a-sub { font-size: 13px; color: var(--ap-sec); margin-top: 3px !important; }
.a-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.a-pill { height: 26px; padding: 0 12px !important; border-radius: 13px; background: var(--ap-block) !important; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.a-pill:not(:disabled):hover { background: var(--ap-block-hover) !important; }
.a-seg { display: inline-flex; background: var(--ap-block); border-radius: 13px; padding: 2px; }
.a-seg button { height: 22px; padding: 0 12px !important; border-radius: 11px; font-size: 12px; font-weight: 500; color: var(--ap-sec); }
.a-seg button.on { background: var(--ap-card) !important; color: var(--ap-text); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.a-seg.wide { margin-bottom: 14px; }
.a-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 14px; }
.a-strip.two { grid-template-columns: repeat(14, 1fr); }
.a-day { display: flex !important; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 9px !important; border-radius: 10px; background: var(--ap-block) !important; min-width: 0; }
.a-day:not(:disabled):hover { background: var(--ap-block-hover) !important; }
.a-day b { font-size: 15px; font-weight: 700; }
.a-day span { font-size: 11px; color: var(--ap-sec); }
.a-day em { font-style: normal; font-size: 11px; font-weight: 500; margin-top: 2px; }
.a-day i { display: block; width: 100%; height: 3px; border-radius: 2px; background: var(--ap-hair); margin-top: 6px; overflow: hidden; }
.a-day u { display: block; height: 100%; background: var(--ap-accent); text-decoration: none; }
.a-day.sel { background: var(--ap-accent) !important; color: #fff; }
.a-day.sel span, .a-day.sel em { color: rgba(255,255,255,.82); }
.a-day.sel i { background: rgba(255,255,255,.25); } .a-day.sel u { background: #fff; }
.a-day.fut { opacity: .45 !important; }
.a-strip.two .a-day { align-items: center; padding: 6px 2px !important; }
.a-sentence { font-size: 14px; line-height: 1.95; background: var(--ap-block); border-radius: 12px; padding: 10px 14px; margin-bottom: 18px !important; }
.a-chip { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 12px; font-weight: 600; line-height: 1; vertical-align: 1px; white-space: nowrap; }
.a-chip i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.t-blue { background: var(--t-blue-f); color: var(--t-blue-i); }
.t-green { background: var(--t-green-f); color: var(--t-green-i); }
.t-purple { background: var(--t-purple-f); color: var(--t-purple-i); }
.t-amber { background: var(--t-amber-f); color: var(--t-amber-i); }
.t-red { background: var(--t-red-f); color: var(--t-red-i); }
.t-neutral { background: var(--t-neutral-f); color: var(--t-neutral-i); }
.a-sentence .t-neutral, .a-card .t-neutral, .a-run .t-neutral { background: var(--ap-card); }
.a-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.a-stat { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--ap-block); }
.a-stat span, .a-stat small { font-size: 12px; color: var(--ap-sec); }
.a-stat strong { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.a-section { margin-bottom: 20px; }
.a-stitle { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.a-stitle b { font-size: 16px; font-weight: 700; }
.a-stitle small { font-size: 12px; color: var(--ap-sec); }
.a-agent { display: grid; grid-template-columns: 110px 1fr 210px; gap: 12px; align-items: center; height: 30px; }
.a-agent span { font-weight: 500; }
.a-agent i { height: 8px; border-radius: 4px; background: var(--ap-block); overflow: hidden; }
.a-agent u { display: block; height: 100%; border-radius: 4px; background: var(--ap-accent); text-decoration: none; animation: bar 1s cubic-bezier(.2,.8,.2,1); transform-origin: 0 50%; }
@keyframes bar { from { transform: scaleX(0); } }
.a-agent small { font-size: 12px; color: var(--ap-sec); text-align: right; }
.a-row { display: flex !important; align-items: center; gap: 10px; padding: 9px 6px !important; border-bottom: 1px solid var(--ap-hair); width: 100%; }
.a-row > div { flex: 1; min-width: 0; }
.a-row b { display: block; font-weight: 600; }
.a-row small { font-size: 12px; color: var(--ap-sec); }
.a-row em { font-style: normal; color: var(--ap-sec); font-size: 12px; }
.a-row.link { border-radius: 8px; text-align: left; }
.a-row.link:hover { background: var(--ap-block) !important; }
.a-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.a-empty { color: var(--ap-sec); padding: 8px 0; }

.a-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.a-panel-head h4 { font-size: 16px; font-weight: 700; }
.a-group { font-size: 11px; font-weight: 600; color: var(--ap-sec); margin: 14px 0 4px !important; }
.a-panel-head .a-group { margin: 0 !important; }
.a-run { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--ap-hair); }
.a-run > div { min-width: 0; flex: 1; }
.a-run b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-run small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--ap-sec); margin-top: 2px; }
.a-ring { width: 16px; height: 16px; border-radius: 50%; flex: none; margin-top: 1px; box-shadow: inset 0 0 0 1.5px var(--ap-sec); display: block; }
button.a-ring:hover { box-shadow: inset 0 0 0 1.5px var(--ap-accent), 0 0 0 3px color-mix(in srgb, var(--ap-accent) 18%, transparent); }
span.a-ring { box-shadow: none; background: var(--ap-accent); position: relative; }
span.a-ring::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.a-assign { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; animation: pop .16s ease-out; }
.a-assign button:hover .a-chip { box-shadow: 0 0 0 1.5px var(--ap-accent); }
.a-assign .a-chip { background: var(--ap-block); }

.a-cal { border: 1px solid var(--ap-hair); border-radius: 12px; overflow: hidden; }
.a-calhead { display: grid; height: 40px; align-items: center; border-bottom: 1px solid var(--ap-hair); background: var(--ap-card); position: sticky; top: -22px; z-index: 3; }
.a-calhead > div { padding: 0 6px; min-width: 0; }
.a-calhead b { display: block; font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-calhead b.you { color: var(--ap-accent); }
.a-calhead small { display: block; font-size: 10.5px; color: var(--ap-sec); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-calbody { display: grid; padding-top: 8px; }
.a-axis span { display: block; font-size: 10px; color: var(--ap-sec); text-align: right; padding-right: 7px; transform: translateY(-6px); font-variant-numeric: tabular-nums; }
.a-track { position: relative; border-left: 1px solid var(--ap-hair); }
.a-track > i { position: absolute; left: 0; right: 0; height: 1px; background: var(--ap-hair); }
.a-now { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ap-accent); z-index: 2; pointer-events: none; }
.a-axis + .a-track .a-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--ap-accent); }
.a-block { position: absolute !important; display: flex !important; flex-direction: column; gap: 1px; padding: 4px 6px !important; border-radius: 8px; background: var(--ap-block) !important; overflow: hidden; text-align: left; z-index: 1; transition: box-shadow .15s, transform .15s; }
.a-block:hover { background: var(--ap-block-hover) !important; z-index: 4; }
.a-block.on { box-shadow: 0 0 0 2px var(--ap-accent); z-index: 4; }
.a-block.dashed { background: var(--ap-card) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ap-sec) 60%, transparent); }
.a-block.dashed { outline: 1px dashed color-mix(in srgb, var(--ap-sec) 80%, transparent); outline-offset: -1px; box-shadow: none; }
.a-block.dashed.on { box-shadow: 0 0 0 2px var(--ap-accent); }
.a-block.bill { background: color-mix(in srgb, var(--tint) 14%, var(--ap-card)) !important; }
.a-block.bill:hover { background: color-mix(in srgb, var(--tint) 22%, var(--ap-card)) !important; }
.a-bt { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-bt i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.a-block small { font-size: 10.5px; color: var(--ap-sec); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.a-insp { animation: pop .2s ease-out; }
.a-insp h4 { font-size: 16px; font-weight: 700; margin-top: 8px !important; }
.a-kv { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; margin: 14px 0; padding: 12px; border-radius: 12px; background: var(--ap-block); font-size: 12.5px; }
.a-kv span { color: var(--ap-sec); } .a-kv b { text-align: right; font-weight: 600; }
.a-label { display: block; font-size: 12px; color: var(--ap-sec); margin: 14px 0 5px; }
.a-select { width: 100%; height: 28px; border-radius: 8px; border: 1px solid var(--ap-hair); background: var(--ap-block); color: var(--ap-text); padding: 0 8px; font-size: 13px; }
.a-note { font-size: 12px; color: var(--ap-sec); line-height: 1.5; margin-top: 12px !important; }

.a-invoice { border: 1px solid var(--ap-hair); border-radius: 12px; padding: 16px 18px; }
.a-inv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.a-inv-top b { display: block; font-size: 15px; font-weight: 700; } .a-inv-top small { color: var(--ap-sec); font-size: 12px; }
.a-badge { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; flex: none; }
.a-invoice table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.a-invoice th { text-align: left; font-weight: 500; color: var(--ap-sec); padding: 6px; border-bottom: 1px solid var(--ap-hair); }
.a-invoice td { padding: 9px 6px; border-bottom: 1px solid var(--ap-hair); font-variant-numeric: tabular-nums; }
.a-invoice th:last-child, .a-invoice td:last-child { text-align: right; }
.a-invoice tfoot td { font-weight: 700; font-size: 14px; border-bottom: 0; padding-top: 12px; }
.a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.a-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; border-radius: 12px; background: var(--ap-block); }
.a-card b { font-size: 14px; } .a-card small { font-size: 12px; color: var(--ap-sec); }
.a-card > div { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.a-toast { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 9; max-width: 80%; padding: 9px 14px; border-radius: 10px; background: rgba(28,28,31,.96); color: #F2F2F3; font-size: 12.5px; box-shadow: 0 12px 30px rgba(0,0,0,.35), 0 0 0 .5px rgba(255,255,255,.1); animation: toast .25s cubic-bezier(.2,.8,.2,1); }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 22px; overflow: hidden; position: relative; }
.marquee-label { text-align: center; margin-bottom: 16px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -0.03em; white-space: nowrap; color: var(--ink); display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: ""; width: 10px; height: 18px; border-radius: 6px; background: var(--c, var(--faint)); display: inline-block; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(90px, 14vw, 200px); }
.statement p:not(.eyebrow) { font-size: clamp(30px, 4.6vw, 68px); line-height: 1.08; letter-spacing: -0.04em; max-width: 21ch; margin: 22px 0 0; }
.statement .w { color: var(--ink); transition: color .35s; }
.js .statement .w { color: var(--faint); }
.js .statement .w.on { color: var(--ink); }
.inl { display: inline-flex; vertical-align: -0.1em; height: 0.82em; align-items: flex-end; gap: 0.07em; margin: 0 0.06em; }
.inl i { width: 0.24em; border-radius: 0.14em; display: block; }
.inl-av { display: inline-grid; place-items: center; width: 0.84em; height: 0.84em; border-radius: 50%; background: var(--ink); vertical-align: -0.1em; margin: 0 0.06em; }
.inl-av span { font: 500 0.26em/1 var(--mono); color: var(--bg); letter-spacing: 0; }
.inl-chip { display: inline-flex; align-items: center; gap: 0.45em; font-size: 0.42em; letter-spacing: 0; vertical-align: 0.5em; padding: 0.3em 0.8em; border-radius: 999px; background: var(--t-green-f); color: var(--t-green-i); font-weight: 500; font-family: var(--mono); white-space: nowrap; }
.inl-chip::before { content: ""; width: 0.5em; height: 0.9em; border-radius: 0.3em; background: currentColor; }
.inl-chip.c-blue { background: var(--t-blue-f); color: var(--t-blue-i); }
.inl-chip.c-purple { background: var(--t-purple-f); color: var(--t-purple-i); }

/* ---------- Section heads ---------- */
.sec { padding-block: clamp(70px, 10vw, 140px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(38px, 5.6vw, 84px); line-height: 0.95; letter-spacing: -0.05em; margin-top: 16px; }
.sec-head p { color: var(--ink-2); font-size: 19px; max-width: 40ch; margin: 0 0 6px; justify-self: end; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head p { justify-self: start; } }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--panel); border-radius: 24px; padding: 26px; min-height: 340px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.tile.wide { grid-column: span 2; }
.tile.dark { background: var(--dark); color: var(--dark-ink); box-shadow: none; }
.tile.dark .tile-text { color: #A1A1A6; }
.tile .num { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.tile h3 { font-size: 26px; letter-spacing: -0.035em; line-height: 1.05; margin-top: auto; padding-top: 22px; }
.tile-text { color: var(--ink-2); font-size: 15.5px; margin: 10px 0 0; max-width: 42ch; }
.viz { margin-top: 18px; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 120px; }
.tile .soon { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 11px; padding: 4px 9px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); letter-spacing: .05em; }
.tile.dark .soon { background: #2A2A2E; color: #D1D1D6; }
@media (max-width: 1080px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } .tile.wide { grid-column: auto; } .tile { min-height: 0; } }

/* Feature visuals */
.lanes-viz { position: relative; display: grid; grid-template-columns: 34px repeat(5, minmax(0, 1fr)); gap: 8px; width: 100%; height: 210px; font-family: var(--mono); font-size: 10.5px; color: #8E8E93; }
.lanes-viz .lv-col { position: relative; border-left: 1px solid rgba(255,255,255,.07); }
.lanes-viz .lv-col > b { position: absolute; top: -2px; left: 6px; font-weight: 500; white-space: nowrap; color: #D1D1D6; }
.lanes-viz .lv-axis { display: flex; flex-direction: column; justify-content: space-between; padding: 20px 0 0; text-align: right; }
/* Same sheen as the logo mark: white 42% at the top to black 12% at the bottom, over the pill colour. */
.lv-pill { position: absolute; left: 6px; right: 4px; border-radius: 10px; background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(0,0,0,.12)), var(--c); transform-origin: 50% 0; }
.js .lv-pill { transform: scaleY(0); transition: transform 1s cubic-bezier(.2,1.3,.4,1); }
.js .in .lv-pill { transform: none; }
.lv-pill.half { right: auto; width: calc(50% - 7px); } .lv-pill.half2 { left: calc(50% + 3px); }
.lv-now { position: absolute; left: 34px; right: 0; height: 2px; background: var(--accent); top: 62%; z-index: 2; box-shadow: 0 0 12px var(--accent); }
.lv-now::before { content: "15:36"; position: absolute; left: -38px; top: -7px; font-size: 10px; color: #fff; background: var(--accent); border-radius: 4px; padding: 0 4px; }

.agents-viz { display: flex; flex-wrap: wrap; gap: 6px; align-content: center; }
.agents-viz span { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.agents-viz span { display: inline-flex; align-items: center; gap: 6px; }
.agents-viz span::before { content: ""; width: 5px; height: 10px; border-radius: 3px; background: var(--c, var(--faint)); flex: none; }

.bill-viz { width: 100%; }
.bill-seg { display: flex; background: var(--bg-2); border-radius: 999px; padding: 3px; gap: 2px; }
.bill-seg button { flex: 1; height: 32px; border: 0; border-radius: 999px; background: transparent; font: 500 13px var(--sans); color: var(--muted); cursor: pointer; white-space: nowrap; padding: 0 6px; }
.bill-seg button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.bill-out { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.bill-out strong { font-size: 44px; font-weight: 400; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.bill-out small { font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }

.inbox-viz { width: 100%; background: var(--bg-2); border-radius: 16px; padding: 14px; font-size: 14px; }
.inbox-viz .iv-row { display: flex; align-items: center; gap: 10px; }
.inbox-viz .iv-row + .iv-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.iv-ring { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--muted); flex: none; position: relative; transition: background .3s, box-shadow .3s; }
.in .iv-row:first-child .iv-ring { background: var(--accent); box-shadow: none; transition-delay: 1.1s; }
.in .iv-row:first-child .iv-ring::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); }
.iv-row small { display: block; color: var(--muted); font-size: 12px; }
.iv-row .iv-chip { margin-left: auto; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--t-amber-f); color: var(--t-amber-i); white-space: nowrap; }
.in .iv-row:first-child .iv-chip { background: var(--t-blue-f); color: var(--t-blue-i); }

.report-viz { width: 100%; max-width: 260px; aspect-ratio: 0.78; background: #fff; color: #18181B; border-radius: 10px; padding: 18px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06); transform: rotate(-3deg); font-size: 10px; display: flex; flex-direction: column; gap: 7px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.tile:hover .report-viz { transform: rotate(0deg) translateY(-4px); }
.report-viz b { font-size: 13px; }
.report-viz .rv-line { display: flex; justify-content: space-between; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.report-viz .rv-tot { margin-top: auto; display: flex; justify-content: space-between; font-weight: 700; font-size: 13px; }
.report-viz .rv-tag { display: inline-flex; gap: 4px; }
.report-viz .rv-tag i { font-style: normal; background: #EFEEEB; border-radius: 4px; padding: 1px 5px; font-size: 9px; }

.snooze-viz { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.snooze-pill { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; border-radius: 999px; background: #1F1F23; color: #F2F2F3; font: 500 15px var(--apple); font-variant-numeric: tabular-nums; border: 0; cursor: pointer; }
.snooze-pill i { width: 9px; height: 9px; border-radius: 50%; background: #30D158; box-shadow: 0 0 0 4px rgba(48,209,88,.18); transition: background .3s; }
.snooze-pill.snoozed i { background: #FF9F0A; box-shadow: 0 0 0 4px rgba(255,159,10,.18); }
.snooze-viz small { font-family: var(--mono); font-size: 11px; color: #8E8E93; }

.chrome-viz, .menubar-viz { width: 100%; }
.chrome-viz .cv-tab { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--bg-2); font-size: 13.5px; }
.chrome-viz .cv-tab + .cv-tab { margin-top: 6px; }
.chrome-viz .cv-tab span { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.chrome-viz .cv-fav { width: 14px; height: 14px; border-radius: 4px; background: var(--c); flex: none; }
.menubar-viz .mb-bar { display: flex; justify-content: flex-end; align-items: center; gap: 14px; height: 30px; padding: 0 12px; background: rgba(255,255,255,.08); border-radius: 8px; font: 500 12.5px var(--apple); color: #F2F2F3; }
.menubar-viz .mb-bar .dl-mark { width: 16px; height: 16px; }
.menubar-viz .mb-drop { margin: 8px 0 0 auto; width: 88%; background: rgba(40,40,44,.96); border-radius: 12px; padding: 12px; font: 13px var(--apple); color: #F2F2F3; box-shadow: 0 0 0 .5px rgba(255,255,255,.12); }
.menubar-viz .mb-drop div { display: flex; justify-content: space-between; padding: 4px 0; } .menubar-viz .mb-drop span { color: #8E8E93; }

.mcp-viz { width: 100%; font-family: var(--mono); font-size: 12.5px; background: #1A1A1D; border-radius: 14px; padding: 14px; color: #D1D1D6; line-height: 1.6; }
.mcp-viz .q { color: #8E8E93; } .mcp-viz .a { color: #7FD3A0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.step { border-top: 1px solid var(--ink); padding-top: 18px; }
.step .eyebrow { margin-bottom: 40px; display: block; }
.step h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.04em; line-height: 1.05; }
.step p { color: var(--ink-2); margin: 12px 0 0; max-width: 34ch; font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 36px; } .step .eyebrow { margin-bottom: 16px; } }

/* ---------- Pricing ---------- */
.price { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; }
.price-card { border-radius: 28px; padding: clamp(26px, 4vw, 48px); background: var(--dark); color: var(--dark-ink); position: relative; overflow: hidden; }
.price-card .big { font-size: clamp(96px, 13vw, 200px); line-height: .85; letter-spacing: -0.07em; margin: 26px 0 10px; display: flex; align-items: flex-start; }
.price-card .big sup { font-size: 0.3em; margin-top: 0.15em; letter-spacing: 0; }
.price-card .once { color: #A1A1A6; font-size: 18px; }
.price-card .deal { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 16px; border-radius: 999px; background: rgba(42,197,97,.14); color: #7FD3A0; font-size: 15px; }
.price-card .deal s { color: #8E8E93; }
.price-card .btn-ink { background: #F2F2F3; color: #0E0E10; margin-top: 30px; }
.price-card .ghost-mark { position: absolute; right: -40px; bottom: -60px; width: 340px; opacity: .14; pointer-events: none; }
.price-list { border-radius: 28px; padding: clamp(26px, 4vw, 48px); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.price-list ul { list-style: none; padding: 0; margin: 22px 0 0; }
.price-list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.price-list li::before { content: ""; width: 8px; height: 15px; margin-top: 5px; border-radius: 5px; background: var(--c, var(--green)); flex: none; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--muted); transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -8px 0 26px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Footer ---------- */
.foot { padding-top: clamp(90px, 12vw, 180px); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.foot-line { font-size: clamp(34px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.05em; max-width: 16ch; }
.foot-line span { color: var(--muted); }
.foot .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.wordmark { display: flex; align-items: flex-end; gap: 0.04em; font-size: clamp(60px, 17.5vw, 268px); line-height: 0.78; letter-spacing: -0.075em; margin-top: clamp(60px, 9vw, 130px); white-space: nowrap; }
.wordmark .dl-mark { width: 0.86em; height: 0.86em; flex: none; margin-bottom: -0.04em; }
.foot-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .03em; }
.foot-meta nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-meta a { text-decoration: none; } .foot-meta a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1s cubic-bezier(.16,1,.3,1); }
.js .rv.in { opacity: 1; transform: none; }
.js .features .tile.rv:nth-child(4n+2) { transition-delay: .06s; } .js .features .tile.rv:nth-child(4n+3) { transition-delay: .12s; } .js .features .tile.rv:nth-child(4n+4) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 12px 28px; }
  .marquee-track span:nth-child(n+21) { display: none; }
  .tilt { transform: none !important; }
}
/* Statement chips keep their own colours and fade in with the word reveal. */
.statement .inl-chip.w, .statement .inl-chip.w.on { color: var(--t-green-i); }
.statement .inl-chip.c-blue.w { color: var(--t-blue-i); }
.statement .inl-chip.c-purple.w { color: var(--t-purple-i); }
.js .statement .inl-chip.w { opacity: .3; transition: opacity .35s; }
.js .statement .inl-chip.w.on { opacity: 1; }

/* GitHub and integrations tiles */
.pr-viz { width: 100%; font-size: 14px; }
.pr-head, .pr-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) 64px 64px; gap: 12px; align-items: center; }
.pr-head { grid-template-columns: minmax(0, 1fr) 64px 64px; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.pr-head span:first-child { padding-left: 30px; color: var(--ink); }
.pr-row { padding: 11px 0; border-bottom: 1px solid var(--line); }
.pr-row b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-row small { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-row > span:not(.pr-state), .pr-head span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: 12.5px; }
.pr-state { width: 16px; height: 16px; border-radius: 50%; position: relative; }
.pr-state.open { box-shadow: inset 0 0 0 2px var(--green); }
.pr-state.open::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--green); }
.pr-state.merged { background: var(--purple); }
.pr-state.merged::after { content: ""; position: absolute; left: 5px; top: 3.5px; width: 3.5px; height: 6.5px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
@media (max-width: 520px) { .pr-row, .pr-head { grid-template-columns: 18px minmax(0, 1fr) 52px; } .pr-head { grid-template-columns: minmax(0, 1fr) 52px; } .pr-row > span:last-child, .pr-head span:nth-child(2) { display: none; } }
.int-viz { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.int-card { background: #1C1C1F; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; position: relative; }
.int-card b { font-weight: 500; font-size: 15px; }
.int-card small { color: #A1A1A6; font-size: 12.5px; line-height: 1.35; }
.int-card em { position: absolute; top: 12px; right: 12px; font-style: normal; font-family: var(--mono); font-size: 10px; color: #7FD3A0; display: inline-flex; align-items: center; gap: 5px; }
.int-card em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #30D158; }
@media (max-width: 520px) { .int-viz { grid-template-columns: 1fr; } }
.a-pr { display: flex; gap: 9px; align-items: center; padding: 9px 10px; border-radius: 10px; background: var(--ap-block); }
.a-pr b { display: block; font-size: 12.5px; } .a-pr small { font-size: 11.5px; color: var(--ap-sec); }
.a-prs { width: 14px; height: 14px; border-radius: 50%; flex: none; position: relative; box-shadow: inset 0 0 0 1.8px #2AC561; }
.a-prs::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #2AC561; }
.a-prs.merged { box-shadow: none; background: #8B5AF3; }
.a-prs.merged::after { inset: auto; left: 4.5px; top: 3px; width: 3px; height: 6px; border-radius: 0; background: none; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
/* Inbox rows with Git context, as in the app */
.a-run.git b { display: flex; align-items: center; gap: 7px; }
.a-unas { font-size: 10.5px; font-weight: 600; color: var(--ap-sec); padding: 1px 7px; border-radius: 6px; outline: 1px dashed color-mix(in srgb, var(--ap-sec) 70%, transparent); outline-offset: -1px; }
.a-git { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12px; color: #3E8BFF; min-width: 0; }
.a-git .ic { color: var(--ap-sec); }
.a-git u { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-git i { font-style: normal; color: var(--ap-sec); }
.a-git code { font: 11.5px ui-monospace, "SF Mono", Menlo, monospace; }

/* Ghost cursor that clicks through the demo, in the app's own coordinates */
.cursor-layer { position: absolute; top: 0; left: 0; width: 1180px; height: 740px; transform-origin: 0 0; transform: scale(var(--s, 1)); pointer-events: none; z-index: 5; opacity: 0; transition: opacity .35s; }
.cursor-layer.on { opacity: 1; }
.ghost-cursor { position: absolute; top: 0; left: 0; display: flex; align-items: flex-start; gap: 2px; transition: transform .9s cubic-bezier(.45, 0, .2, 1); filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); margin: -3px 0 0 -5px; }
.ghost-cursor svg { transition: transform .15s; transform-origin: 6px 4px; }
.ghost-cursor.press svg { transform: scale(.82); }
.ghost-cursor span { margin-top: 20px; font: 600 11px var(--apple); color: #fff; background: var(--ap-accent); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.ghost-cursor::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -12px 0 0 -12px; border-radius: 50%; border: 2px solid var(--ap-accent); opacity: 0; transform: scale(.4); }
.ghost-cursor.press::before { animation: ripple .5s ease-out; }
@keyframes ripple { 0% { opacity: .8; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.4); } }
.demo-hint { margin-top: 0; }

/* No eyebrows: first elements sit flush */
.sec-head h2 { margin-top: 0; }
.price-card .big { margin-top: 0; }
.price-list ul { margin-top: 0; }
.price-list li:first-child { padding-top: 0; }
.hero h1 { margin-top: 0; }
.statement p:not(.eyebrow) { margin-top: 0; }
.step { padding-top: 22px; }

/* ---------- Legal pages ---------- */
.legal-page .nav { position: sticky; }
.legal { max-width: 760px; padding-top: calc(40px + env(safe-area-inset-top, 0px)); padding-bottom: 80px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 48px; }
.legal-nav a { text-decoration: none; height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 14px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.legal-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); line-height: 0.95; letter-spacing: -0.05em; }
.legal .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.legal .lead { font-size: 21px; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); margin: 32px 0 0; }
.legal h2 { font-size: 26px; letter-spacing: -0.03em; margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.legal p, .legal li, .legal dd { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.legal p { margin: 12px 0 0; }
.legal ul { margin: 12px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 8px; }
.legal b { color: var(--ink); font-weight: 500; }
.legal a { text-underline-offset: 3px; }
.legal .facts { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 10px 20px; margin: 16px 0 0; }
.legal .facts dt { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding-top: 3px; }
.legal .facts dd { margin: 0; }
@media (max-width: 560px) { .legal .facts { grid-template-columns: 1fr; gap: 2px; } .legal .facts dd { margin-bottom: 10px; } }
.legal .table-wrap { overflow-x: auto; margin: 16px 0 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.legal th { text-align: left; font: 500 12px/1.3 var(--mono); color: var(--muted); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal td { color: var(--ink-2); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.legal code { font: 13px var(--mono); color: var(--ink); }
.legal-foot { margin-top: 0; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }

/* Git branch refs in the GitHub tile: icon plus link blue */
.git-ref { display: inline-flex; align-items: center; gap: 4px; color: #2F6FEB; font-family: var(--mono); font-size: 12px; }
.git-ic { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .git-ref { color: #58A6FF; } }
:root[data-theme="dark"] .git-ref { color: #58A6FF; }

/* Private tile */
.private-viz { width: 100%; display: flex; flex-direction: column; gap: 18px; font-size: inherit; letter-spacing: normal; }
.pv-zero strong { display: block; font-size: clamp(56px, 6vw, 76px); font-weight: 400; line-height: .9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.pv-zero small { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.private-viz ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.private-viz li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.private-viz li em { font-style: normal; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; color: var(--t-green-i); background: var(--t-green-f); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.private-viz li em::before { content: ""; width: 7px; height: 4px; border: solid currentColor; border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg) translateY(-1px); }

/* ---------- Cookie consent banner (consent.js) ---------- */
.cc {
  position: fixed; z-index: 90;
  left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  margin-left: auto; width: min(440px, 100%);
  background: var(--panel); color: var(--ink);
  border-radius: 22px; box-shadow: var(--shadow), 0 0 0 1px var(--line);
  padding: 20px 20px 18px; font: 400 14px/1.5 var(--sans);
  animation: cc-in .5s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes cc-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .cc { animation: none; } }
.cc-title { margin: 0 32px 6px 0; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.cc-text { margin: 0; color: var(--ink-2); }
.cc-text a { color: inherit; text-underline-offset: 2px; }
.cc-prefs { margin: 14px 0 0; border-top: 1px solid var(--line); }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cc-row span { min-width: 0; }
.cc-row b { display: block; font-weight: 600; }
.cc-row small { display: block; color: var(--muted); font-size: 13px; }
.cc-row input { appearance: none; -webkit-appearance: none; flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--faint); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.cc-row input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.cc-row input:checked { background: var(--green); }
.cc-row input:checked::after { transform: translateX(16px); }
.cc-row input:disabled { opacity: .55; cursor: default; }
.cc-row input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cc-btn { flex: 1 1 auto; height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer; font: 500 14px/1 var(--sans); background: var(--bg-2); color: var(--ink); white-space: nowrap; }
.cc-btn:hover { box-shadow: inset 0 0 0 1px var(--line); }
.cc-btn.cc-ink { background: var(--ink); color: var(--bg); }
.cc-btn:focus-visible, .cc-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cc-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.cc-x:hover { background: var(--bg-2); color: var(--ink); }
@media (max-width: 480px) { .cc { width: auto; padding: 18px 16px 16px; } }
.chrome-cta { margin-top: 28px; }
