/* Self-hosted so no request goes to a font CDN. */
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: oklch(0.982 0.007 250);
  --ground-2: oklch(0.955 0.012 250);
  --ink: oklch(0.23 0.035 262);
  --ink-2: oklch(0.42 0.03 262);
  --ink-3: oklch(0.5 0.025 262);
  --line: oklch(0.23 0.035 262 / 0.09);
  --accent: oklch(0.54 0.19 262);
  --accent-ink: oklch(0.42 0.17 262);
  --accent-soft: oklch(0.93 0.04 262);
  --ai: oklch(0.62 0.15 300);
  --ai-soft: oklch(0.94 0.035 300);
  --kw: oklch(0.6 0.12 175);
  --kw-soft: oklch(0.94 0.035 175);
  --glass: oklch(1 0 0 / 0.62);
  --glass-strong: oklch(1 0 0 / 0.8);
  --glass-edge: oklch(1 0 0 / 0.9);
  --shadow-1: 0 1px 2px oklch(0.3 0.05 262 / 0.06), 0 8px 24px -12px oklch(0.3 0.08 262 / 0.18);
  --shadow-2: 0 2px 4px oklch(0.3 0.05 262 / 0.05), 0 30px 60px -28px oklch(0.3 0.1 262 / 0.35);
  --night: oklch(0.2 0.04 265);
  --night-2: oklch(0.26 0.045 265);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --display: "Geist", system-ui, sans-serif;
  --text: "Geist", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: oklch(0.54 0.19 262 / 0.18); color: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Ambient color behind the glass. Fixed, so it never repaints on scroll. */
.aurora {
  position: fixed; inset: -10vh -10vw; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vw 34vw at 78% 8%, oklch(0.9 0.07 262 / 0.75), transparent 70%),
    radial-gradient(34vw 30vw at 12% 30%, oklch(0.93 0.06 190 / 0.7), transparent 70%),
    radial-gradient(30vw 26vw at 60% 70%, oklch(0.94 0.05 320 / 0.55), transparent 70%);
}

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Nav: a floating glass island */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 20;
  width: min(1100px, 100% - 24px);
  display: flex; align-items: center; gap: 28px;
  padding: 8px 8px 8px 18px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  box-shadow: var(--shadow-1);
}
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; font: 600 17px/1 var(--display); letter-spacing: -0.03em; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: background 160ms ease, color 160ms ease; }
.nav-links a:hover { background: oklch(0.23 0.035 262 / 0.05); color: var(--ink); }
.nav .btn { margin-left: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px/1 var(--text); letter-spacing: -0.005em;
  padding: 6px 6px 6px 20px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease, background 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--ink); color: white;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.18), 0 10px 24px -12px oklch(0.23 0.035 262 / 0.7);
}
.btn-primary:hover { background: oklch(0.29 0.045 262); }
.btn .dot {
  width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center;
  background: oklch(1 0 0 / 0.14); font-size: 17px;
  transition: transform 220ms var(--ease-out);
}
.btn:hover .dot { transform: translateX(2px); }
.btn-ghost { background: var(--glass-strong); color: var(--ink); padding: 13px 20px; border: 1px solid var(--line); }
.btn-ghost:hover { background: white; }
.btn-lg { font-size: 16px; padding: 7px 7px 7px 24px; }
.btn-lg .dot { width: 40px; height: 40px; }

/* Hero */
.hero { padding: 150px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.hero-grid > *, .bento > *, .sets > *, .plans > *, .flow > *, .versus > * { min-width: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.4vw, 68px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; }
h1 .soft { color: var(--ink-3); font-weight: 500; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 24px 0 34px; max-width: 34ch; }
.lede q { quotes: "\201C" "\201D"; color: var(--ink); font-weight: 500; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* The live demo */
.demo { position: relative; }
.shell {
  padding: 8px; border-radius: var(--r-xl);
  background: oklch(1 0 0 / 0.42);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.window { border-radius: calc(var(--r-xl) - 8px); background: white; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.chrome { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: oklch(0.985 0.004 250); }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 99px; background: oklch(0.88 0.01 250); }
.url { flex: 1; font-size: 13px; color: var(--ink-3); background: oklch(0.95 0.006 250); padding: 6px 12px; border-radius: 999px; display: flex; align-items: center; gap: 8px; }
.ext-icon { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); position: relative; }
.ext-icon b { position: absolute; top: -5px; right: -7px; background: var(--accent); color: white; font: 600 10px/1 var(--text); padding: 3px 5px; border-radius: 99px; }

.site-tabs { display: flex; gap: 4px; padding: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: oklch(0.23 0.035 262 / 0.05); border-radius: 999px; width: max-content; margin: 0 auto 14px; }
.site-tabs button { font: 500 14px/1 var(--text); color: var(--ink-2); background: none; border: 0; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background 200ms ease, color 200ms ease; }
.site-tabs button[aria-pressed="true"] { background: white; color: var(--ink); box-shadow: var(--shadow-1); }

.feed { padding: 10px 14px 14px; display: grid; gap: 8px; height: 432px; overflow: hidden; align-content: start; }
.post:focus { outline: none; }
.post { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: white; transition: opacity 320ms ease, filter 320ms ease, padding 380ms var(--ease-drawer); }
.post .av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 600 12px/1 var(--text); color: white; }
.post .meta { font-size: 12px; color: var(--ink-3); margin-bottom: 2px; }
.post .body { min-width: 0; }
.post .title { font-size: 14.5px; line-height: 1.35; font-weight: 500; }
.post .snip { font-size: 13px; color: var(--ink-2); margin-top: 3px; line-height: 1.4; }
.post .price { font: 600 14px/1 var(--text); margin-top: 6px; }
.post .body { transition: filter 360ms var(--ease-out), opacity 360ms ease; }

/* The three treatments, as the extension renders them */
.post.is-blur .body, .post.is-blur .av { filter: blur(7px); opacity: 0.75; }
.post.is-dim { opacity: 0.38; }
.post.is-hide { padding-block: 0; }
.post.is-hide .body, .post.is-hide .av { display: none; }
.post .tag { display: none; }
.post.is-blur .tag, .post.is-hide .tag, .post.is-dim .tag { display: flex; }
.tag {
  max-width: calc(100% - 16px);
  position: absolute; z-index: 1; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--ink); white-space: nowrap;
}
.post.is-blur .tag {
  inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  padding: 7px 8px 7px 12px; border-radius: 999px;
  background: oklch(1 0 0 / 0.7); border: 1px solid var(--glass-edge);
  backdrop-filter: blur(12px) saturate(1.5); -webkit-backdrop-filter: blur(12px) saturate(1.5);
  box-shadow: var(--shadow-1);
}
.post.is-hide { grid-template-columns: 1fr; min-height: 38px; background: oklch(0.975 0.006 250); border-style: dashed; }
.post.is-hide .tag { position: static; padding: 8px 4px 8px 12px; }
.post.is-dim .tag { top: 10px; right: 10px; padding: 4px 6px 4px 10px; border-radius: 999px; background: white; border: 1px solid var(--line); opacity: 1; }
.post.is-dim { opacity: 1; }
.post.is-dim .body, .post.is-dim .av { opacity: 0.35; }
.chip-kind { font: 600 10.5px/1 var(--text); letter-spacing: 0.02em; padding: 4px 7px; border-radius: 99px; }
.chip-kind.ai { background: var(--ai-soft); color: oklch(0.45 0.14 300); }
.chip-kind.kw { background: var(--kw-soft); color: oklch(0.42 0.1 175); }
.show-btn { font: 500 12px/1 var(--text); color: var(--accent-ink); background: var(--accent-soft); border: 0; padding: 6px 10px; border-radius: 99px; cursor: pointer; }

/* Floating rules panel over the window corner */
.rules {
  position: absolute; right: -28px; bottom: -36px; width: 300px;
  padding: 14px; border-radius: var(--r-lg);
  background: oklch(1 0 0 / 0.72);
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: var(--shadow-2);
}
.rules-title { margin: 0 0 10px; font: 600 13px/1 var(--text); color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; }
.rules-title span { font-weight: 500; color: var(--ink-3); }
.rule { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 12px; background: white; border: 1px solid var(--line); margin-top: 6px; }
.rule p { margin: 0; font-size: 13.5px; line-height: 1.25; font-weight: 500; }
.rule small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 400; margin-top: 2px; }
.switch { width: 34px; height: 20px; border-radius: 99px; background: oklch(0.64 0.02 250); border: 0; position: relative; cursor: pointer; transition: background 200ms ease; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 99px; background: white; box-shadow: 0 1px 2px oklch(0 0 0 / 0.2); transition: transform 220ms var(--ease-out); }
.switch::before { content: ""; position: absolute; inset: -4px 0; }
.switch:disabled { cursor: default; }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"]::after { transform: translateX(14px); }
.meter { margin-top: 12px; font-size: 12px; color: var(--ink-3); display: flex; justify-content: space-between; }
.meter-bar { height: 4px; border-radius: 9px; background: var(--accent-soft); margin-top: 6px; overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: 64%; background: var(--accent); border-radius: 9px; }

/* Sections */
section { padding: 120px 0; }
.sec-head { max-width: 640px; margin-bottom: 56px; }
h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.06; font-weight: 600; letter-spacing: -0.04em; }
.sec-head p { font-size: 18px; color: var(--ink-2); margin: 18px 0 0; max-width: 56ch; }


/* Pains */
.pains { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pain { padding: 32px 40px 36px 0; border-bottom: 1px solid var(--line); }
.pain:nth-child(even) { padding: 32px 0 36px 40px; border-left: 1px solid var(--line); }
.pain .ic { display: block; font-size: 26px; color: var(--ink-3); }
.pain h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; margin-top: 14px; }
.pain p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; max-width: 44ch; }
.fixes { margin-top: 48px; font: 600 clamp(26px, 3vw, 36px)/1.15 var(--display); letter-spacing: -0.035em; max-width: 22ch; }
.fixes span { color: var(--accent-ink); }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } .pain, .pain:nth-child(even) { padding: 28px 0; border-left: 0; } }

/* Keywords vs meaning */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-col { padding: 8px; border-radius: var(--r-xl); background: oklch(1 0 0 / 0.45); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-1); }
.vs-inner { border-radius: calc(var(--r-xl) - 8px); background: white; padding: 22px; height: 100%; }
.vs-inner h3 { font-size: 20px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.vs-rule { margin: 14px 0 16px; font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.vs-rule code { font: 500 13.5px/1 var(--text); background: var(--ground-2); padding: 6px 10px; border-radius: 8px; color: var(--ink); }
.vs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vs-list li { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 14.5px; }
.vs-list li .ic { font-size: 18px; }
.vs-list li.caught { background: oklch(0.97 0.02 262); border-color: oklch(0.54 0.19 262 / 0.2); }
.vs-list li.caught .ic { color: var(--accent); }
.vs-list li.missed .ic { color: oklch(0.65 0.02 262); }
.vs-score { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.vs-score b { color: var(--ink); font-weight: 600; }

/* Bento: how a rule is made */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(0, auto); gap: 20px; }
.cell { border-radius: var(--r-xl); padding: 8px; background: oklch(1 0 0 / 0.45); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-1); }
.cell-in { border-radius: calc(var(--r-xl) - 8px); background: white; padding: 26px; height: 100%; display: flex; flex-direction: column; }
.cell h3 { font-size: 21px; letter-spacing: -0.025em; font-weight: 600; line-height: 1.1; }
.cell p { font-size: 15.5px; color: var(--ink-2); margin: 10px 0 0; max-width: 46ch; }
.c-write { grid-column: span 7; }
.c-act { grid-column: span 5; grid-row: span 2; }
.c-scope { grid-column: span 4; }
.c-show { grid-column: span 3; }
.c-write .cell-in { background: linear-gradient(160deg, white 40%, oklch(0.97 0.025 300)); }
.c-show .cell-in { background: var(--night); color: white; }
.c-show .cell-in p { color: oklch(0.82 0.02 262); }

.composer { margin-top: auto; padding-top: 24px; }
.compose-field { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 16px; background: white; border: 1px solid oklch(0.62 0.15 300 / 0.35); box-shadow: 0 0 0 4px oklch(0.62 0.15 300 / 0.08); }
.compose-field #typed { flex: 1; font-size: 16px; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--ai); vertical-align: -3px; margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.suggest span { font-size: 13px; padding: 7px 12px; border-radius: 99px; background: var(--ground-2); color: var(--ink-2); }

.act-stack { margin-top: 24px; display: grid; gap: 12px; }
.act-row { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; }
.act-row b { font: 600 14px/1 var(--text); }
.mini { position: relative; padding: 12px; border-radius: 12px; border: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 10px; overflow: hidden; }
.mini .av { width: 28px; height: 28px; border-radius: 8px; background: oklch(0.7 0.12 40); }
.mini .lns { display: block; }
.mini .ln { display: block; height: 8px; border-radius: 9px; background: oklch(0.9 0.01 250); margin: 4px 0; }
.mini .ln.s { width: 60%; }
.mini.blur .av, .mini.blur .lns { filter: blur(5px); }
.mini.dim .av, .mini.dim .lns { opacity: 0.3; }
.mini.hide { grid-template-columns: 1fr; padding: 10px 12px; border-style: dashed; background: var(--ground); font-size: 12.5px; color: var(--ink-2); }
.mini.only { box-shadow: 0 0 0 2px var(--accent); border-color: transparent; }
.mini .lbl { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); font-size: 12px; padding: 5px 10px; border-radius: 99px; background: oklch(1 0 0 / 0.75); border: 1px solid var(--glass-edge); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; }

.scope-pills { margin-top: auto; padding-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.scope-pills span { font-size: 13px; padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; }
.scope-pills span.on { background: var(--ink); color: white; border-color: transparent; }

.reveal-demo { margin-top: auto; padding-top: 22px; }
.reveal-demo .show-btn { background: oklch(1 0 0 / 0.12); color: white; padding: 9px 14px; font-size: 13px; }

/* Presets */
.presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.preset { border-radius: var(--r-lg); padding: 22px; background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-1); display: grid; gap: 14px; align-content: start; transition: transform 260ms var(--ease-out), box-shadow 260ms ease; }
.preset:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.preset header { display: flex; align-items: center; gap: 12px; }
.mono { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 600 13px/1 var(--display); letter-spacing: -0.01em; color: white; flex: none; }
.preset h3 { font-size: 20px; letter-spacing: -0.015em; }
.preset header small { display: block; font-size: 13px; color: var(--ink-3); }
.preset ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.preset li { font-size: 14px; display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.preset li .chip-kind { flex: none; }
.anysite { display: grid; grid-template-columns: 1fr; gap: 20px; align-content: center; padding: 26px 28px; border-radius: var(--r-lg); background: linear-gradient(120deg, oklch(0.96 0.03 262 / 0.9), oklch(0.97 0.03 190 / 0.9)); border: 1px solid var(--glass-edge); }
.anysite h3 { font-size: 22px; }
.anysite p { margin: 6px 0 0; color: var(--ink-2); font-size: 15.5px; max-width: 62ch; }
.detect { display: flex; gap: 6px; }
.detect i { width: 46px; height: 58px; border-radius: 10px; background: white; border: 1.5px dashed oklch(0.54 0.19 262 / 0.55); }

/* Filter sets: stacked cards */
.sets { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.sets .sec-head { margin: 0; }
.stack { position: relative; height: 380px; }
.set {
  position: absolute; left: 0; right: 0; padding: 20px 22px; border-radius: var(--r-lg);
  background: oklch(1 0 0 / 0.78); border: 1px solid var(--glass-edge);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: var(--shadow-2);
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center;
  transition: transform 420ms var(--ease-out);
}
.set:nth-child(1) { top: 0; transform: translateX(40px) rotate(1.5deg); }
.set:nth-child(2) { top: 120px; transform: translateX(-10px) rotate(-1deg); }
.set:nth-child(3) { top: 240px; transform: translateX(24px); }
.stack:hover .set:nth-child(1) { transform: translateX(40px) translateY(-8px) rotate(1.5deg); }
.stack:hover .set:nth-child(3) { transform: translateX(24px) translateY(8px); }
.set h3 { font-size: 19px; letter-spacing: -0.015em; }
.set .sites { grid-column: 1; display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ink-3); }
.set .sites .mono { width: 22px; height: 22px; border-radius: 7px; font-size: 10px; }
.set .switch { grid-row: 1 / span 2; grid-column: 2; }

/* Privacy band */
.night { background: var(--night); color: white; border-radius: 40px; margin: 0 12px; padding: 110px 0; position: relative; overflow: hidden; }
.night::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 0%, oklch(0.45 0.15 262 / 0.5), transparent 70%), radial-gradient(40% 50% at 0% 100%, oklch(0.45 0.1 190 / 0.35), transparent 70%); pointer-events: none; }
.night .wrap { position: relative; }
.night h2 { color: white; }
.night .sec-head p { color: oklch(0.82 0.02 262); }
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.flow-card { border-radius: var(--r-lg); padding: 26px; background: oklch(1 0 0 / 0.06); border: 1px solid oklch(1 0 0 / 0.12); }
.flow-card h3 { font-size: 21px; display: flex; gap: 10px; align-items: center; letter-spacing: -0.015em; }
.flow-card h3 .ic { font-size: 22px; color: oklch(0.8 0.1 190); }
.flow-card ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.flow-card li { display: flex; gap: 10px; font-size: 15px; color: oklch(0.88 0.015 262); line-height: 1.45; }
.flow-card li .ic { margin-top: 3px; flex: none; color: oklch(0.75 0.03 262); }
.payload { margin-top: 20px; font: 400 13px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: oklch(0.86 0.04 262); background: oklch(0 0 0 / 0.25); padding: 16px; border-radius: 12px; overflow-x: auto; }
.payload .k { color: oklch(0.8 0.1 190); }
.payload .s { color: oklch(0.85 0.09 85); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: stretch; }
.plan { border-radius: var(--r-xl); padding: 8px; background: oklch(1 0 0 / 0.45); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-1); }
.plan-in { border-radius: calc(var(--r-xl) - 8px); background: white; padding: 32px; height: 100%; }
.plan h3 { font-size: 24px; }
.price-big { font: 600 48px/1 var(--display); letter-spacing: -0.03em; margin: 18px 0 4px; }
.price-big small { font: 500 16px/1 var(--text); color: var(--ink-3); letter-spacing: 0; }
.plan ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; }
.plan li .ic { color: var(--accent); margin-top: 4px; }
.packs { display: grid; gap: 10px; margin-top: 22px; }
.pack { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); transition: border-color 200ms ease, background 200ms ease; }
.pack:hover { border-color: oklch(0.54 0.19 262 / 0.4); background: oklch(0.985 0.01 262); }
.pack b { font: 600 17px/1.2 var(--text); }
.pack small { display: block; color: var(--ink-3); font-size: 13px; }
.pack .amt { font: 600 24px/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.pack .amt small { font: 500 13px/1 var(--text); color: var(--ink-3); letter-spacing: 0; margin-left: 2px; }
.pack .tagline { font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 9px; border-radius: 99px; }
.plan .note { margin: 18px 0 0; font-size: 14px; color: var(--ink-3); }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font: 500 18px/1.3 var(--display); letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform 220ms var(--ease-out); color: var(--ink-3); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* Closing */
.close { text-align: center; padding: 140px 0 120px; }
.close h2 { font-size: clamp(38px, 5vw, 60px); max-width: 14ch; margin: 0 auto; }
.close p { color: var(--ink-2); font-size: 18px; margin: 18px 0 32px; }
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Entrance: content is visible by default, JS opts in */
.js .rv { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out), filter 700ms var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; filter: none; transition: none; }
  .caret { animation: none; }
  * { transition-duration: 1ms !important; }
}

@media (max-width: 980px) {
  .hero-grid, .sets, .versus, .flow, .plans { grid-template-columns: 1fr; }
  .rules { position: relative; right: auto; bottom: auto; width: auto; margin: -24px 12px 0; }
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: auto !important; grid-row: auto !important; }
  .presets { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .stack { height: auto; display: grid; gap: 14px; }
  .set { position: static; transform: none !important; }
}
@media (max-width: 640px) {
  .hero { padding-top: 116px; }
  section { padding: 80px 0; }
  .presets { grid-template-columns: 1fr; }
  .night { margin: 0; border-radius: 28px; padding: 80px 0; }
  .feed { height: 400px; }
  .nav { padding-left: 14px; }
  .nav .btn { font-size: 14px; }
  .pack { grid-template-columns: 1fr auto; }
  .pack .tagline { grid-row: 2; grid-column: 1; justify-self: start; }
}
/* Icons: inline SVG symbols from the sprite at the top of the page (Phosphor, MIT). */
svg.ic { width: 1em; height: 1em; fill: currentColor; flex: none; display: inline-block; vertical-align: -0.125em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip { position: fixed; left: 12px; top: -80px; z-index: 40; background: var(--ink); color: white; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.night :focus-visible { outline-color: white; }

/* Per-brand colours (white text on each is at least 4.5:1) */
.bg-reddit { background: oklch(0.55 0.14 35); }
.bg-yt { background: oklch(0.52 0.154 27); }
.bg-x { background: oklch(0.25 0.007 262); }
.bg-g { background: oklch(0.55 0.105 255); }
.bg-hn { background: oklch(0.53 0.13 50); }
.bg-news { background: oklch(0.45 0.06 262); }
.av-teal { background: oklch(0.5 0.12 175); }
.av-1 { background: oklch(0.55 0.12 200); }
.av-2 { background: oklch(0.56 0.17 35); }
.av-3 { background: oklch(0.52 0.14 145); }
.av-4 { background: oklch(0.52 0.15 260); }
.av-5 { background: oklch(0.56 0.12 80); }
.av-6 { background: oklch(0.55 0.16 0); }
.av-7 { background: oklch(0.52 0.2 330); }
.av-8 { background: oklch(0.5 0.2 25); }
.av-9 { background: oklch(0.52 0.14 160); }
.av-10 { background: oklch(0.55 0.17 20); }

/* Without JS the demo shows its default state and the controls that need JS are inert */
html:not(.js) .site-tabs, html:not(.js) .feed .show-btn { display: none; }
html:not(.js) .switch { pointer-events: none; }

/* Legal and error pages */
.page { padding: 140px 0 96px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(34px, 4.6vw, 52px); }
.page .lede { max-width: 52ch; }
.notfound { min-height: 70vh; display: grid; align-content: center; }
.notfound .cta-row { margin-top: 8px; }
