/* Hoookd. Quiet monochrome, landing mode: near-black ink on an off-white
   page, extra-bold DM Sans for headlines only, surfaces drawn with shadow. */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

/* Design tokens */
:root {
  color-scheme: light dark;

  --site: #fafafa;
  --background: #ffffff;
  --foreground: #0a0a0a;
  --card: #ffffff;
  --primary: #171717;
  --primary-foreground: #fafafa;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --ring: #a1a1a1;
  --destructive: #e7000b;
  --highlight: #fff4d1;
  --inverted: oklch(0.16 0.004 85);

  --surface-shadow: 0 0 0 1px #0000000f, 0 1px 2px -1px #0000000f, 0 2px 4px 0 #0000000a;
  --surface-shadow-hover: 0 0 0 1px #00000014, 0 1px 2px -1px #00000014, 0 2px 4px 0 #0000000f;
  --shadow-float: var(--surface-shadow), 0 8px 24px -6px #00000024;
  --shadow-menu: 0 0 0 1px rgb(0 0 0 / 0.06), 0 16px 40px -12px rgb(0 0 0 / 0.3);

  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-display: "DM Sans", "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;

  --site-width: 72rem;
  --gutter: 16px;
  --ease: cubic-bezier(0, 0, 0.2, 1);
  --ease-enter: cubic-bezier(0.2, 0, 0, 1);
}

/* Dark tokens: the dark theme, inside the one inverted section, and on the
   featured plan. */
.inverted, .plan-featured {
  --background: #0a0a0a;
  --foreground: #fafafa;
  --card: #171717;
  --primary: #e5e5e5;
  --primary-foreground: #171717;
  --muted: #262626;
  --muted-foreground: #a1a1a1;
  --border: #ffffff1a;
  --ring: #737373;
  --destructive: #ff6467;
  --highlight: #fff4d138;
  --surface-shadow: 0 0 0 1px #ffffff14;
  --surface-shadow-hover: 0 0 0 1px #ffffff21;
}
@media (prefers-color-scheme: dark) {
  :root {
    --site: #0c0c0c;
    --background: #0a0a0a;
    --foreground: #fafafa;
    --card: #171717;
    --primary: #e5e5e5;
    --primary-foreground: #171717;
    --muted: #262626;
    --muted-foreground: #a1a1a1;
    --border: #ffffff1a;
    --ring: #737373;
    --destructive: #ff6467;
    --highlight: #fff4d138;
    --surface-shadow: 0 0 0 1px #ffffff14;
    --surface-shadow-hover: 0 0 0 1px #ffffff21;
    --shadow-float: var(--surface-shadow);
    --shadow-menu: var(--surface-shadow);
  }
}

/* Tokens derived from the ones above. Declared again inside .inverted so
   they follow its colours. */
:root, .inverted, .plan-featured {
  --fg-80: color-mix(in srgb, var(--foreground) 80%, transparent);
  --fg-70: color-mix(in srgb, var(--foreground) 70%, transparent);
  --fg-30: color-mix(in srgb, var(--foreground) 30%, transparent);
  --fg-6: color-mix(in srgb, var(--foreground) 6%, transparent);
  --tile: color-mix(in srgb, var(--foreground) 3.5%, transparent);
  --track: color-mix(in srgb, var(--foreground) 4.5%, transparent);
  --border-60: color-mix(in srgb, var(--border) 60%, transparent);
  --border-70: color-mix(in srgb, var(--border) 70%, transparent);
  --ring-50: color-mix(in srgb, var(--ring) 50%, transparent);
  --destructive-tint: color-mix(in srgb, var(--destructive) 10%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--site);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
h3 { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.025em; }
strong { font-weight: 500; color: var(--foreground); }

a { color: inherit; }
main p a, .legal a {
  text-decoration: underline; text-decoration-color: var(--fg-30); text-underline-offset: 4px;
  transition: text-decoration-color 150ms var(--ease);
}
main p a:hover, .legal a:hover { text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid transparent; box-shadow: 0 0 0 3px var(--ring-50); border-radius: 8px; }

.container { max-width: calc(var(--site-width) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -4rem; z-index: 20;
  background: var(--primary); color: var(--primary-foreground);
  padding: 8px 12px; border-radius: 10px; font-size: 14px;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 12px; border: 0; border-radius: 10px;
  font: inherit; font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), box-shadow 150ms var(--ease), scale 150ms var(--ease);
}
.btn svg { flex: none; transition: translate 150ms var(--ease); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 80%, transparent); }
.btn-secondary { background: var(--muted); color: var(--foreground); }
.btn-secondary:hover { background: color-mix(in srgb, var(--foreground) 5%, var(--muted)); }
.btn-ghost { background: transparent; color: var(--muted-foreground); }
.btn-ghost:hover, .btn-ghost[aria-expanded="true"] { background: var(--muted); color: var(--foreground); }
.btn-sm { height: 32px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; gap: 8px; }
.btn:focus-visible { border-radius: 10px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

/* Badges */
.tag, .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px; border-radius: 999px; background: var(--muted); color: var(--foreground);
  font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.tag { margin-right: 6px; vertical-align: 1px; }
.badge-bad { background: var(--destructive-tint); color: var(--destructive); }
.badge-quiet { background: none; padding: 0; font-size: 11px; font-weight: 400; color: var(--muted-foreground); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--site) 80%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-60);
}
.bar { display: flex; align-items: center; gap: 8px; height: 56px; }
.brand {
  display: inline-flex; align-items: center; gap: 8px; margin-right: auto;
  font-size: 17px; font-weight: 600; letter-spacing: -0.025em; text-decoration: none;
}
.mark {
  width: 24px; height: 24px; border-radius: 6px; background: #fff; padding: 2px;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.1);
  transition: translate 150ms var(--ease);
}
.site-header nav ul { display: flex; gap: 2px; }
.site-header nav a {
  display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px;
  font-size: 12.8px; font-weight: 500; color: var(--muted-foreground); text-decoration: none;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.site-header nav a:hover { background: var(--muted); color: var(--foreground); }
.menu-btn { width: 32px; padding: 0; }

/* Sections */
.section { padding-block: 80px; scroll-margin-top: 64px; }
.section-head { max-width: 42rem; margin: 0 auto 48px; text-align: center; }
.section-head h2, .display {
  font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-head p { margin-top: 16px; font-size: 17px; line-height: 28px; color: var(--muted-foreground); text-wrap: pretty; }
.prose { max-width: 37rem; margin-inline: auto; font-size: 17px; line-height: 32px; color: var(--fg-80); }
.prose > * + * { margin-top: 20px; }
.prose p { text-wrap: pretty; }
mark { background: var(--highlight); color: inherit; padding: 0.1em 0.2em; border-radius: 4px; }

/* Hero */
.hero { position: relative; padding-top: 48px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 44rem; z-index: -1; pointer-events: none;
  background: radial-gradient(color-mix(in srgb, var(--foreground) 14%, transparent) 1px, transparent 1.5px) center top / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0, #000, transparent);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 0, #000, transparent);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1; letter-spacing: -0.025em;
  text-wrap: balance; max-width: 16ch; margin-inline: auto;
}
.lede { margin: 20px auto 0; max-width: 28rem; font-size: 18px; line-height: 32px; color: var(--muted-foreground); text-wrap: pretty; }
.hero .btn-lg { margin-top: 32px; }

/* Product preview */
.preview { margin-top: 56px; text-align: left; }
.preview figcaption, .fineprint { margin-top: 16px; text-align: center; font-size: 14px; color: var(--muted-foreground); }
.pilltabs {
  display: flex; width: fit-content; margin: 0 auto 20px; padding: 4px; border-radius: 999px;
  background: var(--track); box-shadow: 0 0 0 1px var(--fg-6);
}
.pilltabs[hidden] { display: none; }
.pilltabs button {
  height: 36px; padding: 0 8px; border: 0; border-radius: 999px; background: none;
  font: inherit; font-size: 13px; font-weight: 500; color: var(--muted-foreground); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), box-shadow 150ms var(--ease), scale 150ms var(--ease);
}
.pilltabs button:hover { color: var(--foreground); }
.pilltabs button[aria-selected="true"] { background: var(--card); color: var(--foreground); box-shadow: var(--surface-shadow); }
.pilltabs button:focus-visible { border-radius: 999px; }
.frames { display: grid; gap: 16px; max-width: 56rem; margin-inline: auto; }
.frame { background: var(--card); border-radius: 18px; box-shadow: var(--surface-shadow); overflow: hidden; }
.frame[hidden] { display: none; }
.frame-bar { position: relative; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--border-60); }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.frame-bar span {
  position: absolute; left: 50%; translate: -50%; max-width: 60%;
  padding: 3px 12px; border-radius: 999px; background: var(--muted);
  font-family: var(--font-mono); font-size: 12px; color: var(--muted-foreground);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.frame-body { padding: 20px; }

/* Logo row under the preview */
.logos { margin-top: 40px; }
.logos figcaption { font-size: 15px; color: var(--muted-foreground); }
.logos figcaption a {
  font-weight: 500; color: var(--foreground);
  text-decoration: underline; text-decoration-color: var(--fg-30); text-underline-offset: 4px;
  transition: text-decoration-color 150ms var(--ease);
}
.logos figcaption a:hover { text-decoration-color: currentColor; }
.logos ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.logos img { width: 36px; height: 36px; border-radius: 9px; }

/* Preview: coding agent */
.say { font-size: 14px; line-height: 22px; color: var(--muted-foreground); }
.say b { font-weight: 500; color: var(--foreground); }
.say + .calls, .calls + .say { margin-top: 14px; }
.calls { border-radius: 14px; box-shadow: var(--surface-shadow); }
.calls li { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px; font-size: 13px; color: var(--muted-foreground); }
.calls li + li { border-top: 1px solid var(--border-60); }
.calls code { font-family: var(--font-mono); font-size: 12.5px; color: var(--foreground); }
.calls span:first-of-type { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calls .badge { margin-left: auto; }

/* Preview: report */
.report { display: grid; gap: 24px; }
.score { display: flex; align-items: center; gap: 16px; }
.ring { position: relative; flex: none; width: 96px; height: 96px; }
.ring svg { width: 100%; height: 100%; rotate: -90deg; }
.ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.ring .ring-track { stroke: var(--muted); }
.ring .ring-value { stroke: var(--foreground); stroke-dasharray: 182.1 263.9; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.score p { font-size: 14px; line-height: 20px; color: var(--muted-foreground); }
.score p b { display: block; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.025em; color: var(--foreground); }
.bars li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 2rem; align-items: center; gap: 12px; min-height: 28px; font-size: 13px; color: var(--muted-foreground); }
.bars i { height: 6px; border-radius: 3px; background: var(--muted); overflow: hidden; }
.bars i::before { content: ""; display: block; height: 100%; width: var(--v); border-radius: 3px; background: var(--foreground); }
.bars b { text-align: right; font-weight: 500; color: var(--foreground); font-variant-numeric: tabular-nums; }
.rows { grid-column: 1 / -1; border-radius: 14px; box-shadow: var(--surface-shadow); }
.rows li { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px; font-size: 13px; }
.rows li + li { border-top: 1px solid var(--border-60); }
.rows li > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows .badge-quiet { margin-left: auto; }

/* Stats strip */
.stats-wrap { padding-top: 64px; }
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--card); border-radius: 22px; box-shadow: var(--shadow-float);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 28px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--border-70); }
.stat dd {
  font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.stat dt { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }

/* Bento: the six checks */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tile {
  --muted-foreground: #666666;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--tile); border-radius: 22px; box-shadow: 0 0 0 1px var(--fg-6);
}
.tile > h3 { padding: 24px 24px 0; font-size: 18px; line-height: 26px; }
.tile > p { padding: 6px 24px 0; font-size: 15px; line-height: 24px; color: var(--muted-foreground); text-wrap: pretty; }
.demo { margin-top: auto; padding: 24px; }
.demo-card { background: var(--card); border-radius: 14px; box-shadow: var(--surface-shadow); transition: box-shadow 150ms var(--ease); }
.tile:hover .demo-card { box-shadow: var(--surface-shadow-hover); }
.demo-card li { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px; font-size: 13px; color: var(--muted-foreground); }
.demo-card li + li { border-top: 1px solid var(--border-60); }
.demo-card li > :first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-card code { font-family: var(--font-mono); font-size: 12.5px; color: var(--foreground); }
.demo-card b { font-weight: 500; color: var(--foreground); }
.demo-card .badge { margin-left: auto; }
.demo-card .dim, .demo-card .end { margin-left: auto; }
.demo-card .dim + .badge { margin-left: 0; }
.demo-card li.flag { position: relative; }
.demo-card li.flag::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 2px var(--foreground); opacity: 0; transition: opacity 150ms var(--ease);
}
.demo-card li.flag:first-child { border-radius: 14px 14px 0 0; }
.demo-card li.flag:last-child { border-radius: 0 0 14px 14px; }
.tile:hover li.flag::after { opacity: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--card); box-shadow: var(--surface-shadow); font-size: 12px; font-weight: 500;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--foreground); }
.chip.off { color: var(--muted-foreground); }
.chip.off::before { background: none; box-shadow: inset 0 0 0 1px var(--muted-foreground); }

/* The inverted section: the coding-agent workflow */
.inverted-wrap { padding: 0 8px; scroll-margin-top: 72px; }
.inverted {
  max-width: calc(var(--site-width) + 2rem); margin-inline: auto; padding: 64px 20px;
  border-radius: 32px; background: var(--inverted); color: var(--foreground);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
}
.inverted .section-head { margin-bottom: 40px; }
.inverted .section-head p { margin-top: 12px; }
.inverted .intro { max-width: 36rem; margin: 40px auto; text-align: center; font-size: 15px; line-height: 26px; color: var(--muted-foreground); text-wrap: pretty; }
.inverted .steps li { padding: 0; background: none; box-shadow: none; }
.inverted .steps { max-width: 60rem; margin-inline: auto; gap: 32px; }

/* One agent at a time. Without motion this is a plain list: logo, then
   what that agent does. With motion the logos sit in a row, one lifts
   and lights up at a time, and its line shows underneath. */
.cycle { display: grid; gap: 12px; width: fit-content; margin-inline: auto; }
.cycle li { display: flex; align-items: center; gap: 14px; }
.cycle img { width: 40px; height: 40px; border-radius: 10px; }
.cycle p { font-size: 15px; color: var(--muted-foreground); }
.cycle b { font-weight: 600; color: var(--foreground); }
.cycle code {
  margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: var(--muted);
  font-family: var(--font-mono); font-size: 12px; color: var(--muted-foreground); white-space: nowrap;
}
.connect { max-width: 32rem; margin: 40px auto 0; text-align: center; }
.connect p { font-size: 14px; line-height: 22px; color: var(--muted-foreground); }
.connect pre { margin-top: 10px; text-align: left; }
.connect .copy-btn + p { margin-top: 16px; }
.inverted .note { margin: 40px auto 0; text-align: center; }

/* Steps */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; counter-reset: step; }
.steps li {
  counter-increment: step; padding: 20px;
  background: var(--card); border-radius: 18px; box-shadow: var(--surface-shadow);
}
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 14px;
  border-radius: 50%; background: var(--muted); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.steps p { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted-foreground); text-wrap: pretty; }

/* Notes, findings, code */
.note { max-width: 37rem; font-size: 14px; line-height: 22px; color: var(--muted-foreground); text-wrap: pretty; }
.section-head + .note, .findings + .note { margin-inline: auto; text-align: center; }
.findings { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.section-head + .findings { margin-top: 0; }
.finding { padding: 20px; background: var(--card); border-radius: 18px; box-shadow: var(--surface-shadow); }
.finding > * + * { margin-top: 12px; }
.finding > p { font-size: 14px; line-height: 22px; color: var(--muted-foreground); text-wrap: pretty; }
.finding .finding-meta { font-size: 12px; line-height: 16px; font-weight: 500; }
.finding-label { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted-foreground); }
.finding .finding-label { margin-top: 20px; font-size: 12px; }
pre {
  margin: 0; padding: 12px 14px; overflow-x: auto;
  background: var(--muted); border-radius: 10px; color: var(--foreground);
  font-family: var(--font-mono); font-size: 13px; line-height: 1.6;
}
code { font-family: var(--font-mono); }
.copy-btn { margin-top: 8px; }

/* Limits */
.principles { max-width: 37rem; margin-inline: auto; }
.principles li { padding: 16px 0; font-size: 15px; line-height: 28px; color: var(--muted-foreground); text-wrap: pretty; }
.principles li + li { border-top: 1px solid var(--border-70); }

/* Pricing. Three cards of equal height with the button pinned to the
   bottom. The featured plan is the one dark card: it takes the dark tokens,
   stands a little taller, and carries a "Best value" badge on its top edge.
   A paid plan shows its regular price struck through before the launch
   price, and a pill under the heading says who the launch price is for. */
.section-head p.launch {
  display: inline-block; margin-top: 20px; padding: 6px 14px; border-radius: 16px; background: var(--fg-6);
  font-size: 13px; line-height: 20px; font-weight: 500; color: var(--foreground);
}
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 24px; background: var(--card); border-radius: 22px; box-shadow: var(--surface-shadow); }
.plan { position: relative; }
.plan-featured { --card: #1c1c1c; color: var(--foreground); box-shadow: 0 0 0 1px #ffffff29, 0 28px 56px -24px rgb(0 0 0 / 0.45); }
.plan .plan-badge {
  position: absolute; top: -12px; left: 24px; margin: 0; padding: 4px 12px; border-radius: 999px;
  background: #fafafa; color: #0a0a0a; box-shadow: 0 0 0 1px #0000001f, 0 2px 6px -2px #00000040;
  font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0;
}
.plan-featured h3 { color: var(--fg-80); }
.plan-featured .per { background: var(--foreground); color: var(--background); font-weight: 600; }
.price s {
  align-self: center; font-size: 20px; line-height: 1; font-weight: 500; color: var(--muted-foreground);
  text-decoration-thickness: 1.5px; font-variant-numeric: tabular-nums;
}
.price .was { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.plan h3 { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0; color: var(--muted-foreground); }
.plan > p { margin-top: 12px; font-size: 14px; line-height: 22px; color: var(--muted-foreground); text-wrap: pretty; }
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 12px; }
.price b {
  font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; letter-spacing: -0.025em;
  color: var(--foreground); font-variant-numeric: tabular-nums;
}
.price .per {
  margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--fg-6);
  font-size: 12px; line-height: 16px; font-weight: 500; color: var(--foreground); font-variant-numeric: tabular-nums;
}
.plan ul { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--border-70); }
.plan li { position: relative; padding: 5px 0 5px 24px; font-size: 14px; line-height: 22px; color: var(--fg-80); text-wrap: pretty; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; background: var(--foreground);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.plan .plan-note { font-size: 13px; line-height: 20px; }
.plan .btn { width: 100%; margin-top: auto; }
.plan > :nth-last-child(2) { margin-bottom: 24px; }
.terms { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 32px; margin-top: 32px; }
.terms p { font-size: 14px; line-height: 22px; color: var(--muted-foreground); text-wrap: pretty; }

/* API */
.api { max-width: 37rem; margin-inline: auto; padding: 24px; background: var(--tile); border-radius: 22px; box-shadow: 0 0 0 1px var(--fg-6); --muted-foreground: #666666; }
.api h2 { font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -0.025em; }
.api p { margin-top: 6px; font-size: 15px; line-height: 24px; color: var(--muted-foreground); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.faq-grid .section-head { margin: 0; text-align: left; }
.faq details + details { border-top: 1px solid var(--border-70); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-size: 17px; line-height: 26px; font-weight: 500; cursor: pointer; list-style: none;
  transition: color 150ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--fg-70); }
.faq summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: rotate 200ms var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { max-width: 42rem; padding-bottom: 24px; font-size: 15px; line-height: 28px; color: var(--muted-foreground); text-wrap: pretty; }

/* Closing call to action */
.closing { padding-bottom: 112px; text-align: center; }
.closing .mark { width: 48px; height: 48px; padding: 5px; border-radius: 12px; margin: 0 auto 28px; box-shadow: var(--surface-shadow); }
.closing h2 { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
.closing p { margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--muted-foreground); }
.closing .btn-lg { margin-top: 32px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border-60); padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.footer-grid > div > p { margin-top: 12px; max-width: 20rem; font-size: 14px; line-height: 22px; color: var(--muted-foreground); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.footer-cols h2 { font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-foreground); }
.footer-cols ul { margin-top: 10px; }
.footer-cols a {
  display: inline-block; padding: 5px 0; font-size: 14px; line-height: 22px; color: var(--fg-80); text-decoration: none;
  transition: color 150ms var(--ease);
}
.footer-cols a:hover { color: var(--foreground); text-decoration: underline; text-underline-offset: 4px; }
.legal-line { margin-top: 48px; padding-block: 20px; border-top: 1px solid var(--border-60); font-size: 12px; color: var(--muted-foreground); }

/* Legal pages */
.legal { max-width: calc(37rem + 2 * var(--gutter)); margin: 0 auto; padding: 64px var(--gutter) 96px; font-size: 16px; line-height: 28px; color: var(--fg-80); }
.legal > * + * { margin-top: 16px; }
.legal h1 { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1.05; letter-spacing: -0.025em; color: var(--foreground); }
.legal h2 { margin-top: 40px; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.025em; color: var(--foreground); }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal li + li { margin-top: 8px; }
.draft-banner + h1 { margin-top: 40px; }
.legal-date { font-size: 14px; color: var(--muted-foreground); }
.legal a { overflow-wrap: anywhere; }
.draft-banner { padding: 16px 20px; background: var(--card); border-radius: 14px; box-shadow: var(--surface-shadow); font-size: 14px; line-height: 22px; color: var(--muted-foreground); }

@media (min-width: 40rem) {
  :root { --gutter: 24px; }
  .section { padding-block: 112px; }
  .section-head { margin-bottom: 64px; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: 48px; }
  .lede { max-width: 42rem; }
  .preview { margin-top: 64px; }
  .pilltabs button { padding: 0 20px; font-size: 14px; }
  .frame-body { padding: 24px; }
  .report { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px 40px; }
  .stat { padding: 40px 24px; }
  .stat dd { font-size: 48px; }
  .stat dt { font-size: 15px; line-height: 22px; }
  .tile > h3 { padding: 32px 32px 0; }
  .tile > p { padding: 6px 32px 0; }
  .demo { padding: 32px; }
  .inverted-wrap { padding: 0 16px; }
  .inverted { padding: 96px 40px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finding { padding: 24px; }
  .section-head h2, .display { font-size: 48px; }
  .closing { padding-bottom: 144px; }
  .closing h2 { font-size: 60px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (min-width: 48rem) {
  .hero h1 { font-size: 60px; }
}
@media (min-width: 64rem) {
  :root { --gutter: 32px; }
  .hero { padding-top: 80px; }
  .stat dd { font-size: 60px; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile { grid-column: span 2; }
  .tile:nth-child(4n + 1), .tile:nth-child(4n) { grid-column: span 4; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .findings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan { padding: 32px; }
  .plan .plan-badge { left: 32px; }
  .plan-featured { margin-block: -12px; padding-block: 44px; }
  .plan .price + p { min-height: 44px; }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
  .faq-grid .section-head { position: sticky; top: 96px; align-self: start; }
}

/* Small screens: the section links move into a floating sheet. Without
   JavaScript there is no menu button, and the same links are in the footer. */
@media (max-width: 47.99rem) {
  .site-header nav { display: none; }
  .site-header nav.open {
    display: block; position: fixed; top: 64px; left: 12px; right: 12px; padding: 8px;
    background: var(--card); border-radius: 18px; box-shadow: var(--shadow-menu);
  }
  .site-header nav.open ul { flex-direction: column; }
  .site-header nav.open a { display: flex; height: 44px; padding: 0 12px; border-radius: 10px; font-size: 15px; color: var(--foreground); }
}
@media (max-width: 39.99rem) {
  .bars li { grid-template-columns: 6.5rem minmax(0, 1fr) 2rem; }
  .demo-card .dim { display: none; }
  .demo-card .dim + .badge { margin-left: auto; }
}
@media (min-width: 48rem) {
  .menu-btn { display: none; }
}

@media (prefers-color-scheme: dark) {
  .tile, .api { --muted-foreground: #a1a1a1; }
}

/* Motion: short, and only when the visitor has not asked for less. */
@media (prefers-reduced-motion: no-preference) {
  .btn:active { scale: 0.96; }
  .pilltabs button:active { scale: 0.97; }
  .btn:hover svg { translate: 2px 0; }
  .brand:hover .mark { translate: 1px -1px; }
  .hero > .container > * { animation: enter 400ms var(--ease-enter) both; animation-delay: calc(var(--stagger, 0) * 80ms); }
  .hero .lede { --stagger: 1; }
  .hero .btn-lg { --stagger: 2; }
  .hero .preview { --stagger: 3; }
  .hero .logos { --stagger: 4; }
  .ring .ring-value { animation: draw 900ms var(--ease-enter) 250ms both; }
}
@media (prefers-reduced-motion: no-preference) {
  .cycle { grid-template-columns: repeat(5, 56px); justify-content: center; gap: 0 16px; width: auto; }
  .cycle li { display: contents; }
  .cycle img { grid-row: 1; width: 56px; height: 56px; border-radius: 14px; opacity: 0.35; animation: lit 12.5s cubic-bezier(0.23, 1, 0.32, 1) infinite; animation-delay: calc(var(--i) * 2.5s); }
  .cycle p {
    grid-area: 2 / 1 / 3 / -1; justify-self: center; width: max-content; max-width: min(40rem, calc(100vw - 72px));
    margin-top: 36px; min-height: 5.5rem; text-align: center; opacity: 0;
    font-family: var(--font-display); font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; color: var(--foreground);
    animation: say 12.5s cubic-bezier(0.23, 1, 0.32, 1) infinite; animation-delay: calc(var(--i) * 2.5s);
  }
  .cycle b { font-weight: inherit; }
  .cycle code { display: block; width: fit-content; margin: 14px auto 0; font-weight: 400; letter-spacing: 0; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 40rem) {
  .cycle p { font-size: 30px; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 39.99rem) {
  .cycle { grid-template-columns: repeat(5, 44px); gap: 0 10px; }
  .cycle img { width: 44px; height: 44px; border-radius: 11px; }
  .cycle p { font-size: 20px; }
}
@keyframes lit {
  0% { opacity: 0.35; translate: 0 0; }
  3%, 17% { opacity: 1; translate: 0 -6px; }
  20%, 100% { opacity: 0.35; translate: 0 0; }
}
@keyframes say {
  0% { opacity: 0; filter: blur(6px); }
  3%, 17% { opacity: 1; filter: blur(0); }
  20%, 100% { opacity: 0; filter: blur(6px); }
}
@keyframes enter {
  from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
}
@keyframes draw {
  from { stroke-dasharray: 0 263.9; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
