/* Signalwork Labs. Geist (SIL Open Font License), self-hosted.
   Hybrid look: dark "midnight" bands for the hero, philosophy and footer; light (or the visitor's dark mode) for the
   product explanations. Teal is the brand; each product has its own accent. */
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f7f8fc; --bg-tint: #eef0f6; --surface: #ffffff; --ink: #0b1020; --text: #1f2433; --muted: #5b6375; --faint: #8a91a1;
  --line: #e8ebf3; --line-strong: #d7dbe7;
  --teal: #0f8a74; --teal-bright: #24b99a; --teal-soft: #e3f5f0;
  --btn: #0b1020; --btn-ink: #ffffff;
  --live: #15803d; --beta: #b45309; --private: #6d28d9;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / 5%);
  --shadow-lg: 0 1px 2px rgb(16 24 40 / 4%), 0 12px 32px -8px rgb(16 24 40 / 14%), 0 32px 64px -24px rgb(16 24 40 / 20%);
  --dot: rgb(11 16 32 / 8%);
  --acc: var(--teal-bright);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f1a; --bg-tint: #111725; --surface: #121826; --ink: #f3f5fa; --text: #dde2ec; --muted: #9aa3b5; --faint: #6f788b;
    --line: #1e2636; --line-strong: #2a3346;
    --teal: #2dd4bf; --teal-bright: #5eead4; --teal-soft: #0e2a2a;
    --btn: #f3f5fa; --btn-ink: #0b1020;
    --live: #4ade80; --beta: #fbbf24; --private: #c4b5fd;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);
    --shadow-lg: 0 1px 2px rgb(0 0 0 / 40%), 0 24px 48px -12px rgb(0 0 0 / 60%);
    --dot: rgb(255 255 255 / 6%);
    color-scheme: dark;
  }
}
/* Always-dark bands, whatever the visitor's setting */
.band-dark {
  --bg: #090d18; --bg-tint: #0f1524; --surface: #111827; --ink: #f5f7fb; --text: #d9deea; --muted: #9ba4b8; --faint: #7a8398;
  --line: #1c2435; --line-strong: #2a3349;
  --teal: #2dd4bf; --teal-bright: #5eead4; --teal-soft: #0d2a2a;
  --btn: #f5f7fb; --btn-ink: #090d18;
  --live: #4ade80; --beta: #fbbf24; --private: #c4b5fd;
  --shadow-lg: 0 1px 2px rgb(0 0 0 / 40%), 0 30px 60px -18px rgb(0 0 0 / 70%);
  --dot: rgb(255 255 255 / 6%);
  background: var(--bg); color: var(--text); color-scheme: dark;
}
/* Product accents */
.acc-quantara { --acc: #24b99a; } .acc-quillwork { --acc: #7778f7; } .acc-pulse { --acc: #f0b75b; }
.acc-callsight { --acc: #4fa3f7; } .acc-claimcheck { --acc: #f2709c; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
/* The drifting glows must never widen the page on phones; clip (unlike hidden) keeps the sticky header working */
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { color: var(--ink); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 30; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.kicker { font: 500 12px/1 "Geist Mono", ui-monospace, monospace; color: var(--teal); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }

/* ---------- Header (dark over the hero; a hairline once the page scrolls) */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; letter-spacing: .1em; font-size: 13px; text-transform: uppercase; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav .links { display: flex; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { color: var(--btn-ink); }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .nav .links { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
  .nav.open .links { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 4px 16px 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open .links a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav.open .links a:last-child { border-bottom: 0; }
}

/* ---------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 "Geist", system-ui, sans-serif; text-decoration: none; white-space: nowrap; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; }
.btn-dark { background: var(--btn); color: var(--btn-ink); }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--teal-bright) 55%, transparent); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn-ghost:hover { border-color: var(--faint); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.arrow { display: inline-block; transition: transform .15s; }
.btn:hover .arrow, a:hover > .arrow { transform: translateX(3px); }

/* ---------- Hero */
.hero { position: relative; overflow: hidden; margin-top: -64px; padding: 148px 0 80px; }
.hero::before, .p-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 25%, transparent 75%); pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; opacity: .6; animation: drift 22s ease-in-out infinite alternate; }
.glow.g1 { width: 620px; height: 620px; left: -160px; top: -120px; background: radial-gradient(circle, rgb(36 185 154 / 35%), transparent 65%); }
.glow.g2 { width: 560px; height: 560px; right: -140px; top: 40px; background: radial-gradient(circle, rgb(119 120 247 / 28%), transparent 65%); animation-delay: -8s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 12px/1.2 "Geist Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: color-mix(in srgb, var(--surface) 50%, transparent); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal-bright) 20%, transparent); }
.hero h1 { font-size: clamp(50px, 8.2vw, 88px); line-height: .98; letter-spacing: -0.05em; margin: 28px auto 24px; font-weight: 650; }
.hero h1 span { display: block; }
.hero h1 .lit { background: linear-gradient(92deg, #5eead4 0%, #24b99a 40%, #9b9cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero .tagline { font-size: clamp(20px, 2.3vw, 26px); color: var(--ink); font-weight: 500; letter-spacing: -0.02em; margin: 0 0 12px; }
.hero .sub { font-size: 18px; color: var(--muted); margin: 0 auto 34px; max-width: 36em; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.stage { position: relative; max-width: 1040px; margin: 64px auto 0; padding-bottom: 44px; }
.stage .front { position: absolute; right: -28px; bottom: 0; width: 40%; }
@media (max-width: 760px) { .stage .front { display: none; } .stage { padding-bottom: 0; margin-top: 44px; } .hero { padding-top: 112px; } }

/* Ecosystem strip */
.eco { margin-top: 64px; }
.eco-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; font: 500 12px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.eco-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; text-align: left; }
.eco-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--surface) 70%, transparent); text-decoration: none; transition: transform .2s, border-color .2s, background .2s; }
.eco-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--acc) 60%, transparent); background: var(--surface); }
.ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--acc); background: color-mix(in srgb, var(--acc) 15%, transparent); flex: none; }
.ic svg { width: 18px; height: 18px; }
.eco-card .ic { margin-bottom: 8px; }
.eco-card strong { font-size: 15px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.eco-card small { font-size: 13px; color: var(--muted); }
.eco-card .arrow { position: absolute; top: 16px; right: 16px; color: var(--faint); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.trust span::before { content: "✓"; color: var(--teal-bright); margin-right: 8px; font-weight: 600; }
@media (max-width: 960px) { .eco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .eco-grid .eco-card:last-child { grid-column: span 2; } }
@media (max-width: 420px) { .eco-grid { grid-template-columns: 1fr; } .eco-grid .eco-card:last-child { grid-column: auto; } }

/* ---------- Browser frame around screenshots */
.frame { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--bg-tint); }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); flex: none; }
.chrome span { margin: 0 auto; font: 12px/1 "Geist Mono", ui-monospace, monospace; color: var(--faint); padding-right: 36px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame img { width: 100%; height: auto; transition: transform .5s ease; }
.frame.crop img { aspect-ratio: var(--ratio, 16 / 10); object-fit: cover; object-position: top left; }

/* ---------- Product showcases */
.products { padding: 104px 0 40px; }
.section-head { max-width: 700px; margin: 0 0 40px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -0.04em; margin: 0 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.jump { position: sticky; top: 76px; z-index: 5; display: flex; justify-content: center; margin: 0 0 16px; pointer-events: none; }
.jump nav { pointer-events: auto; display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); text-decoration: none; transition: background .2s, color .2s; }
.jump a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.jump a:hover { color: var(--ink); }
.jump a.on { background: var(--bg-tint); color: var(--ink); }
@media (max-width: 900px) { .jump { display: none; } }
.show { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 72px; align-items: center; padding: 72px 0; }
.show + .show { border-top: 1px solid var(--line); }
.show:nth-of-type(even) .copy { order: 2; }
.num { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 500 12px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.num b { color: color-mix(in srgb, var(--acc) 72%, var(--ink)); font-weight: 600; }
.num .rule { width: 28px; height: 1px; background: var(--acc); }
.show .name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 15px; color: var(--muted); }
.show .name strong { color: var(--ink); font-size: 16px; font-weight: 600; }
.show h3 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.06; letter-spacing: -0.035em; margin: 0 0 16px; }
.show .lede { color: var(--muted); margin: 0 0 22px; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--acc) 35%, var(--line)); color: var(--text); background: color-mix(in srgb, var(--acc) 7%, transparent); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.actions .src { margin-left: 6px; font-size: 14px; color: var(--muted); text-decoration: none; }
.actions .src:hover { color: var(--ink); }
.visual { position: relative; }
.visual::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: 32px; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 26%, transparent), transparent); filter: blur(30px); z-index: 0; }
.visual .frame { z-index: 1; transition: transform .35s ease, border-color .35s; }
.show .visual:hover .frame { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); }
.show .visual:hover .frame img { transform: scale(1.015); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, currentColor 11%, transparent); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.live { color: var(--live); } .status.beta { color: var(--beta); } .status.private { color: var(--private); }
.status.live::before { animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 50%, transparent); } 50% { box-shadow: 0 0 0 4px transparent; } }
.access { color: var(--faint); font-size: 13px; }
@media (max-width: 900px) { .show { grid-template-columns: 1fr; gap: 36px; padding: 52px 0; } .show:nth-of-type(even) .copy { order: 0; } }

/* Global Pulse dossier illustration */
.dossier { padding: 22px; font-size: 14px; }
.dossier .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dossier .title { font-weight: 600; color: var(--ink); font-size: 16px; letter-spacing: -0.01em; }
.dossier .tag { font-size: 12px; font-weight: 600; color: var(--beta); background: color-mix(in srgb, var(--beta) 12%, transparent); padding: 3px 9px; border-radius: 999px; }
.dossier .score { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; }
.dossier .score b { font-size: 44px; line-height: 1; letter-spacing: -0.04em; color: color-mix(in srgb, var(--acc) 80%, var(--ink)); font-weight: 600; }
.dossier .bar { height: 6px; border-radius: 999px; background: var(--bg-tint); overflow: hidden; margin-bottom: 18px; }
.dossier .bar span { display: block; height: 100%; width: 82%; background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 50%, transparent), var(--acc)); }
.dossier h4 { margin: 16px 0 8px; font: 500 11px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.dossier ul, .dossier ol { margin: 0; padding-left: 18px; color: var(--muted); }
.dossier li { margin: 4px 0; }
.dossier .ok { color: var(--live); font-weight: 600; } .dossier .warn { color: var(--beta); font-weight: 600; }
.dossier .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.dossier .note { margin-top: 16px; font-size: 12px; color: var(--faint); }
@media (max-width: 520px) { .dossier .cols { grid-template-columns: 1fr; } }

/* ---------- Philosophy (dark band) */
.philo { position: relative; overflow: hidden; padding: 112px 0; }
.philo .glow.g1 { left: auto; right: -220px; top: -220px; }
.philo .wrap { position: relative; z-index: 1; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.step .n { font: 500 12px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .1em; color: var(--teal); }
.step h3 { font-size: 21px; letter-spacing: -0.02em; margin: 14px 0 8px; }
.step p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.step ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.step li { font: 13px/1.4 "Geist Mono", ui-monospace, monospace; color: var(--muted); padding: 8px 10px; background: var(--bg-tint); border-radius: 8px; }
.signal { display: block; width: 100%; height: 44px; margin-bottom: 16px; color: var(--teal); }
.signal .faint { color: var(--faint); }
.motto { margin: 64px 0 10px; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.035em; color: var(--ink); font-weight: 600; text-align: center; }
.motto-sub { text-align: center; color: var(--muted); margin: 0 auto 40px; max-width: 40em; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.principles div { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 85%, transparent), transparent); }
.principles strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; letter-spacing: -0.01em; }
.principles p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .flow, .principles { grid-template-columns: 1fr; } }

/* ---------- Founder */
.founder { padding: 112px 0; }
.founder .grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.mono-card { position: relative; aspect-ratio: 1; max-width: 360px; width: 100%; border-radius: 28px; display: grid; place-items: center; overflow: hidden; background: #090d18; border: 1px solid #1c2435; }
.mono-card::before { content: ""; position: absolute; inset: -30%; background: radial-gradient(circle at 30% 30%, rgb(36 185 154 / 40%), transparent 45%), radial-gradient(circle at 75% 70%, rgb(119 120 247 / 35%), transparent 45%); }
.mono-card b { position: relative; font-size: clamp(72px, 10vw, 120px); letter-spacing: -0.06em; color: #f5f7fb; font-weight: 650; }
.mono-card small { position: absolute; left: 22px; bottom: 20px; font: 500 12px/1.5 "Geist Mono", ui-monospace, monospace; color: #9ba4b8; letter-spacing: .06em; }
.founder h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 18px; }
.founder .who { font-size: 15px; color: var(--muted); margin: 0 0 22px; }
.founder .who strong { color: var(--ink); }
.founder p.body { color: var(--muted); font-size: 18px; margin: 0 0 32px; max-width: 34em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; max-width: 520px; }
.stats div { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.stats b { display: block; font-size: 26px; letter-spacing: -0.03em; color: var(--ink); font-weight: 600; }
.stats span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .founder .grid { grid-template-columns: 1fr; gap: 36px; } .mono-card { max-width: 220px; } }

/* ---------- Footer (dark band) */
.foot { padding: 88px 0 48px; font-size: 14px; }
.foot .big { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.foot h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 12px; }
.foot .big p { color: var(--muted); margin: 0; max-width: 26em; font-size: 16px; }
.foot h3 { font: 500 12px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin: 8px 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .legal { padding-top: 28px; display: grid; gap: 16px; }
.foot .legal p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 90ch; }
.foot .legal .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 13px; }
@media (max-width: 860px) { .foot .big { grid-template-columns: 1fr 1fr; } .foot .big > :first-child { grid-column: 1 / -1; } }

/* ---------- Product landing pages */
.p-hero { position: relative; overflow: hidden; margin-top: -64px; padding: 128px 0 80px; }
.p-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.p-hero .glow.g1 { background: radial-gradient(circle, color-mix(in srgb, var(--acc) 38%, transparent), transparent 65%); }
.back { font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }
.pname { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0 18px; }
.pname .ic { width: 40px; height: 40px; border-radius: 12px; }
.pname strong { font-size: 18px; color: var(--ink); }
.p-hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 18px; }
.p-hero .sub { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 32em; }
.p-hero .cta { justify-content: flex-start; }
.p-hero .avail { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .p-hero .wrap { grid-template-columns: 1fr; } .p-hero { padding-top: 104px; } }
.p-section { padding: 88px 0 0; }
.p-section h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 12px; }
.p-section .intro { color: var(--muted); font-size: 18px; margin: 0 0 36px; max-width: 40em; }
.cando { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cando div { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: transform .2s, border-color .2s; }
.cando div:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--acc) 50%, var(--line)); }
.cando b { display: block; font: 500 12px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--acc) 72%, var(--ink)); margin-bottom: 12px; }
.cando strong { display: block; color: var(--ink); font-size: 17px; letter-spacing: -0.01em; margin-bottom: 6px; }
.cando p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .cando { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cando { grid-template-columns: 1fr; } }
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.pipeline div { position: relative; padding: 24px 26px 26px; border-left: 1px solid var(--line); }
.pipeline div:first-child { border-left: 0; }
.pipeline div:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 20px; z-index: 1; width: 24px; height: 24px; display: grid; place-items: center; font-size: 13px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: color-mix(in srgb, var(--acc) 80%, var(--ink)); }
.pipeline b { display: block; font: 500 12px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.pipeline p { margin: 0; color: var(--text); font-size: 15px; }
@media (max-width: 860px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipeline div { border-left: 0; border-top: 1px solid var(--line); }
  .pipeline div:first-child { border-top: 0; }
  .pipeline div:not(:last-child)::after { content: "↓"; right: auto; left: 24px; top: auto; bottom: -12px; }
}
.shots { display: grid; gap: 32px; }
.shots figcaption { font-size: 15px; color: var(--muted); margin-top: 14px; max-width: 70ch; }
.shots figcaption strong { color: var(--ink); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.sample { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--acc) 9%, var(--surface)); color: var(--text); font-size: 14px; margin: 0 0 28px; border: 1px solid color-mix(in srgb, var(--acc) 28%, transparent); }
.deep { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.deep div { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.deep strong { display: block; color: var(--ink); margin-bottom: 6px; font-size: 17px; }
.deep p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .deep { grid-template-columns: 1fr; } }
.facts-list { display: grid; grid-template-columns: 200px 1fr; margin: 0; border-top: 1px solid var(--line); }
.facts-list dt, .facts-list dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts-list dt { font: 500 12px/1.7 "Geist Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding-right: 20px; }
.facts-list dd { color: var(--text); font-size: 16px; }
@media (max-width: 640px) { .facts-list { grid-template-columns: 1fr; } .facts-list dt { border-bottom: 0; padding-bottom: 0; } }
.p-cta { position: relative; overflow: hidden; margin: 96px 0; padding: 64px 32px; border-radius: 24px; text-align: center; }
.p-cta h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; margin: 0 0 10px; }
.p-cta p { color: var(--muted); margin: 0 0 26px; }
.p-cta .glow.g1 { background: radial-gradient(circle, color-mix(in srgb, var(--acc) 40%, transparent), transparent 65%); left: 50%; margin-left: -310px; top: -380px; }
.p-cta > :not(.glow) { position: relative; }
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 860px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Text pages (privacy, terms) */
.page { padding: 56px 0 72px; }
.page h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.04em; margin: 18px 0 14px; }
.page .sub { color: var(--muted); font-size: 19px; max-width: 40em; margin: 0 0 24px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--teal); }

/* ---------- Reveal on scroll (only with JS, and never when reduced motion is asked for) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.show > *, .two > *, .shots > *, .p-hero .wrap > *, .founder .grid > * { min-width: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
