/* GENERATED by tools/tokens-sync.ts from packages/ui/tokens/campfire.tokens.json. Do not edit by hand. */
/* Design system: Kenhold (Campfire). Source: claude-design. */

/* Tailwind theme: utilities (bg-primary, text-muted-foreground, shadow-md, ...) read the
   Campfire custom properties below, so switching data-theme re-skins everything. */

:root {
  --spacing: 0.25rem;
  --font-sans: "Inter Variable", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: "Lora Variable", "Lora", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --text-3xs: 0.625rem;
  --text-2xs: 0.6875rem;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 4rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --leading-tight: 1.15;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --tracking-display: -0.035em;
  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-eyebrow: 0.16em;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
}

:root,
[data-theme="light"] {
  color-scheme: light;
  --background: oklch(0.985 0.008 70);
  --foreground: oklch(0.22 0.020 50);
  --card: oklch(1 0.005 70);
  --card-foreground: oklch(0.22 0.020 50);
  --popover: oklch(1 0.005 70);
  --popover-foreground: oklch(0.22 0.020 50);
  --primary: oklch(0.72 0.155 65);
  --primary-foreground: oklch(0.22 0.020 50);
  --secondary: oklch(0.95 0.015 65);
  --secondary-foreground: oklch(0.25 0.020 50);
  --accent: oklch(0.95 0.015 65);
  --accent-foreground: oklch(0.25 0.020 50);
  --muted: oklch(0.96 0.010 70);
  --muted-foreground: oklch(0.50 0.025 55);
  --border: oklch(0.91 0.012 70);
  --input: oklch(0.65 0.020 60);
  --ring: oklch(0.60 0.150 65);
  --link: oklch(0.48 0.14 290);
  --destructive: oklch(0.55 0.16 30);
  --destructive-foreground: oklch(0.99 0.005 70);
  --success: oklch(0.52 0.120 150);
  --success-foreground: oklch(0.99 0.005 70);
  --warning: oklch(0.64 0.155 48);
  --warning-foreground: oklch(0.99 0.005 70);
  --info: oklch(0.55 0.12 240);
  --info-foreground: oklch(0.99 0.005 70);
  --cf-shadow-sm: 0 1px 2px 0 oklch(0.22 0.020 50 / 8%), 0 1px 1px -1px oklch(0.22 0.020 50 / 6%);
  --cf-shadow-md: 0 2px 6px -1px oklch(0.22 0.020 50 / 10%), 0 2px 4px -2px oklch(0.22 0.020 50 / 8%);
  --cf-shadow-lg: 0 8px 20px -4px oklch(0.22 0.020 50 / 14%), 0 4px 8px -4px oklch(0.22 0.020 50 / 10%);
}

[data-theme="dark"] {
  color-scheme: dark;
  --background: oklch(0.18 0.015 50);
  --foreground: oklch(0.94 0.010 70);
  --card: oklch(0.21 0.018 50);
  --card-foreground: oklch(0.94 0.010 70);
  --popover: oklch(0.21 0.018 50);
  --popover-foreground: oklch(0.94 0.010 70);
  --primary: oklch(0.78 0.13 65);
  --primary-foreground: oklch(0.18 0.020 50);
  --secondary: oklch(0.27 0.020 50);
  --secondary-foreground: oklch(0.94 0.010 70);
  --accent: oklch(0.27 0.020 50);
  --accent-foreground: oklch(0.94 0.010 70);
  --muted: oklch(0.24 0.018 50);
  --muted-foreground: oklch(0.68 0.020 65);
  --border: oklch(1 0 0 / 12%);
  --input: oklch(1 0 0 / 36%);
  --ring: oklch(0.78 0.13 65);
  --link: oklch(0.72 0.12 290);
  --destructive: oklch(0.65 0.15 30);
  --destructive-foreground: oklch(0.18 0.020 50);
  --success: oklch(0.70 0.13 150);
  --success-foreground: oklch(0.18 0.020 50);
  --warning: oklch(0.74 0.15 48);
  --warning-foreground: oklch(0.18 0.020 50);
  --info: oklch(0.70 0.12 240);
  --info-foreground: oklch(0.18 0.020 50);
  --cf-shadow-sm: 0 1px 2px 0 oklch(0 0 0 / 30%), 0 1px 1px -1px oklch(0 0 0 / 24%);
  --cf-shadow-md: 0 2px 6px -1px oklch(0 0 0 / 36%), 0 2px 4px -2px oklch(0 0 0 / 28%);
  --cf-shadow-lg: 0 8px 20px -4px oklch(0 0 0 / 46%), 0 4px 8px -4px oklch(0 0 0 / 36%);
}

:root {
  /* Brand hexes for exports and other non-CSS contexts. */
  --cream: #faf7f1;
  --bone: #f2ece2;
  --rule: #e6decf;
  --slate: #7a7066;
  --cocoa: #2c2520;
  --caramel: #d89255;
  --ember: #c56535;
  --plum: #6a52a3;
  --radius: 0.75rem;
  --space-0-5: 0.125rem;
  --space-1: 0.25rem;
  --space-1-5: 0.375rem;
  --space-2: 0.5rem;
  --space-2-5: 0.625rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --control-h: 2rem;
  --control-h-lg: 2.5rem;
  --row-h: 1.75rem;
  --header-h: 2.25rem;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: oklch(0.18 0.015 50);
    --foreground: oklch(0.94 0.010 70);
    --card: oklch(0.21 0.018 50);
    --card-foreground: oklch(0.94 0.010 70);
    --popover: oklch(0.21 0.018 50);
    --popover-foreground: oklch(0.94 0.010 70);
    --primary: oklch(0.78 0.13 65);
    --primary-foreground: oklch(0.18 0.020 50);
    --secondary: oklch(0.27 0.020 50);
    --secondary-foreground: oklch(0.94 0.010 70);
    --accent: oklch(0.27 0.020 50);
    --accent-foreground: oklch(0.94 0.010 70);
    --muted: oklch(0.24 0.018 50);
    --muted-foreground: oklch(0.68 0.020 65);
    --border: oklch(1 0 0 / 12%);
    --input: oklch(1 0 0 / 36%);
    --ring: oklch(0.78 0.13 65);
    --link: oklch(0.72 0.12 290);
    --destructive: oklch(0.65 0.15 30);
    --destructive-foreground: oklch(0.18 0.020 50);
    --success: oklch(0.70 0.13 150);
    --success-foreground: oklch(0.18 0.020 50);
    --warning: oklch(0.74 0.15 48);
    --warning-foreground: oklch(0.18 0.020 50);
    --info: oklch(0.70 0.12 240);
    --info-foreground: oklch(0.18 0.020 50);
    --cf-shadow-sm: 0 1px 2px 0 oklch(0 0 0 / 30%), 0 1px 1px -1px oklch(0 0 0 / 24%);
    --cf-shadow-md: 0 2px 6px -1px oklch(0 0 0 / 36%), 0 2px 4px -2px oklch(0 0 0 / 28%);
    --cf-shadow-lg: 0 8px 20px -4px oklch(0 0 0 / 46%), 0 4px 8px -4px oklch(0 0 0 / 36%);
  }
}
/* What every page shares, the home page (src/home.css) and the rest (src/site.css): the fonts,
   the base, the waiting-list form's message, buttons and the cookie banner. build.ts puts Campfire's
   tokens (src/campfire.css) above it. Every colour, radius, shadow and space here is a token. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Lora Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("/fonts/lora-latin-wght-normal.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Lora Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url("/fonts/lora-latin-wght-italic.woff2") format("woff2-variations");
}

@font-face {
  font-family: "JetBrains Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}

:root {
  --font-brand: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-features: "ss01", "cv11", "calt";
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: 120ms;
  --dur: 160ms;
  /* The boards' 1200px column, plus the gutters either side. */
  --page-max: calc(var(--spacing) * 300 + 2 * var(--gutter));
  --section-y: calc(var(--spacing) * 14);
  --band: color-mix(in oklch, var(--muted) 45%, var(--background));
  --narrow-max: calc(var(--space-16) * 11);
  --gutter: var(--space-4);
}

@media (min-width: 48rem) {
  :root {
    --gutter: var(--space-8);
    --section-y: calc(var(--spacing) * 24);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-padding-top: var(--space-16);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: var(--font-features);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
}

main:focus {
  outline: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--link);
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

::selection {
  background: var(--primary);
  color: var(--primary-foreground);
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow {
  max-width: var(--narrow-max);
}

.icon {
  width: var(--space-4);
  height: var(--space-4);
  flex-shrink: 0;
}

.icon-lg {
  width: var(--space-8);
  height: var(--space-8);
}

.tone-success {
  color: var(--success);
}

.tone-error {
  color: var(--destructive);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 47.99rem) {
  .wide-only {
    display: none;
  }
}

@media (min-width: 48rem) {
  .narrow-only {
    display: none;
  }
}

.skip {
  position: absolute;
  left: var(--space-4);
  top: calc(var(--space-16) * -1);
  z-index: 20;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--foreground);
  box-shadow: var(--cf-shadow-md);
}

.skip:focus {
  top: var(--space-4);
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--link);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.link-button[hidden] {
  display: none;
}

.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-message {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  min-height: calc(var(--text-sm) * 1.5);
  font-size: var(--text-sm);
}

.form-message:empty {
  min-height: 0;
}

.form-message .icon {
  margin-top: var(--space-0-5);
}

.form-message[data-tone="success"] {
  color: var(--success);
}

.form-message[data-tone="error"] {
  color: var(--destructive);
}

.form-message[data-tone="neutral"] {
  color: var(--muted-foreground);
}

/* ---------------------------------------------------------------- buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--control-h-lg);
  padding-inline: var(--space-6);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.button-sm {
  height: var(--control-h);
  padding-inline: var(--space-3);
  text-decoration: none;
}

.button-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.button-primary:hover:not(:disabled) {
  background: color-mix(in oklch, var(--primary) 90%, black);
}

.button-outline {
  border-color: var(--input);
  background: var(--background);
  color: var(--foreground);
}

.button-outline:hover,
.button-ghost:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.button-ghost {
  background: transparent;
  color: var(--foreground);
}

.button-icon {
  width: var(--control-h-lg);
  padding: 0;
}

/* ---------------------------------------------------------------- the cookie banner and dialog */

.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  background: var(--popover);
  color: var(--popover-foreground);
  border-top: 1px solid var(--border);
  box-shadow: var(--cf-shadow-lg);
  font-size: var(--text-sm);
}

.cookie-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3) var(--space-4);
  align-items: center;
  padding-block: var(--space-4);
}

.cookie-row > p {
  grid-column: 1 / -1;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.cookie-row > .button-icon {
  grid-row: 2;
  grid-column: 2;
}

@media (min-width: 48rem) {
  .cookie-row {
    grid-template-columns: 1fr auto auto;
  }

  .cookie-row > p {
    grid-column: 1;
  }

  .cookie-row > .button-icon {
    grid-row: 1;
    grid-column: 3;
  }
}

.cookie-dialog {
  width: min(100% - 2 * var(--space-4), calc(var(--space-16) * 8));
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--popover);
  color: var(--popover-foreground);
  box-shadow: var(--cf-shadow-lg);
}

.cookie-dialog::backdrop {
  background: color-mix(in oklch, var(--foreground) 40%, transparent);
}

.cookie-dialog form {
  display: grid;
  gap: var(--space-4);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.dialog-head h2 {
  font-size: var(--text-lg);
}

.choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
  font-size: var(--text-sm);
}

.choice input {
  width: var(--space-4);
  height: var(--space-4);
  margin: var(--space-0-5) 0 0;
  accent-color: var(--ring);
}

.choice strong {
  font-weight: var(--font-weight-semibold);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
}
/* kenhold.ai's other pages (the privacy notice and the waiting list's pages) on Campfire: build.ts
   puts the design system's tokens (src/campfire.css) and src/shared.css above this file in
   /site.css. Every colour, radius, shadow and space here is a token. */

/* ---------------------------------------------------------------- header and footer */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--space-16);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--foreground);
  text-decoration: none;
  font-family: var(--font-brand);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
  line-height: 1;
}

.wordmark img {
  display: block;
  width: var(--space-8);
  height: var(--space-8);
}

.header-nav {
  margin-inline-start: auto;
}

.header-nav ul {
  display: flex;
  gap: calc(var(--spacing) * 7);
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav a {
  color: var(--foreground);
  font-size: var(--text-sm);
  text-decoration: none;
}

.header-nav a:hover {
  text-decoration: underline;
}

@media (max-width: 47.99rem) {
  .header-nav {
    display: none;
  }
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: var(--text-sm);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  padding-block: var(--space-8);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-mark img {
  width: var(--space-4);
  height: var(--space-4);
}

/* ---------------------------------------------------------------- sections (boards www.v2 and www.v2.phone) */

.section {
  padding-block: var(--section-y);
}

.section:focus,
.early:focus {
  outline: none;
}

.section-muted {
  background: var(--band);
}

.eyebrow {
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-normal);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

h1,
.section-head h2,
.early h2 {
  font-family: var(--font-serif);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
}

.section-head h2,
.early h2 {
  font-size: var(--text-3xl);
}

@media (min-width: 48rem) {
  .section-head h2,
  .early h2 {
    font-size: var(--text-4xl);
  }
}

.section-head {
  display: grid;
  gap: calc(var(--spacing) * 3.5);
  max-width: calc(var(--spacing) * 190);
  margin-bottom: calc(var(--spacing) * 11);
}

.lede {
  color: var(--muted-foreground);
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
}

.serif {
  font-family: var(--font-serif);
}

.tile {
  display: inline-grid;
  place-items: center;
  width: var(--space-10);
  height: var(--space-10);
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--primary) 12%, var(--background));
  color: var(--foreground);
}

.tile .icon {
  width: var(--space-5);
  height: var(--space-5);
}

.card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

/* The hero */

.hero {
  padding-block: var(--section-y);
}

.hero-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: 1fr calc(var(--spacing) * 150);
    gap: var(--space-12);
  }
}

.hero-words {
  display: grid;
  gap: var(--space-6);
  justify-items: start;
}

.hero h1 {
  font-size: var(--text-4xl);
}

@media (min-width: 48rem) {
  .hero h1 {
    font-size: var(--text-5xl);
  }
}

.works-with {
  color: var(--muted-foreground);
  font-size: var(--text-sm);
}

/* The shift */

.split {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
  }

  .split .section-head {
    margin-bottom: 0;
  }
}

.shift-words {
  display: grid;
  gap: calc(var(--spacing) * 4.5);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
}

.shift-text {
  color: var(--muted-foreground);
}

/* Use cases */

.use-cases {
  display: grid;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .use-cases {
    grid-template-columns: repeat(2, 1fr);
  }
}

.use-case {
  display: grid;
  align-content: start;
  gap: calc(var(--spacing) * 3.5);
  padding: calc(var(--spacing) * 7);
}

.use-case-head {
  display: grid;
  gap: var(--space-1);
}

.use-case h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-snug);
}

.use-case-for {
  color: var(--muted-foreground);
  font-size: var(--text-sm);
}

.quote {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
}

.use-case-text {
  color: var(--muted-foreground);
}

/* How it works */

.how-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 64rem) {
  .how-grid {
    grid-template-columns: 1fr calc(var(--spacing) * 150);
    gap: calc(var(--spacing) * 14);
  }
}

@media (max-width: 63.99rem) {
  .how-grid .picture {
    order: -1;
  }
}

.steps {
  display: grid;
  gap: calc(var(--spacing) * 7);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  align-items: baseline;
  gap: calc(var(--spacing) * 3.5);
}

.step-number {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: calc(var(--spacing) * 7);
  height: calc(var(--spacing) * 7);
  border-radius: var(--radius-full);
  background: var(--foreground);
  color: var(--background);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
}

.step h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-snug);
}

.step p {
  margin-top: var(--space-1);
  color: var(--muted-foreground);
}

/* Why Kenhold */

.principles {
  display: grid;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .principles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .principles {
    grid-template-columns: repeat(4, 1fr);
  }
}

.principle {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: var(--space-3);
}

.principle h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
}

.principle p {
  color: var(--muted-foreground);
}

/* What's coming */

.coming {
  display: grid;
  justify-items: start;
  gap: calc(var(--spacing) * 3.5);
  max-width: calc(var(--spacing) * 190);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1-5);
  padding: calc(var(--spacing) * 0.75) var(--space-2-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--muted-foreground);
  font-size: var(--text-xs);
}

.badge .icon {
  width: var(--space-3);
  height: var(--space-3);
}

.coming-text {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
}

@media (min-width: 48rem) {
  .coming-text {
    font-size: var(--text-3xl);
  }
}

/* Early access */

.early {
  display: grid;
  gap: var(--space-8);
  padding: var(--space-6) var(--space-4);
  box-shadow: var(--cf-shadow-md);
}

@media (min-width: 48rem) {
  .early {
    padding: var(--space-12);
  }
}

@media (min-width: 64rem) {
  .early {
    grid-template-columns: 1fr calc(var(--spacing) * 105);
    gap: calc(var(--spacing) * 14);
    align-items: start;
  }
}

.early-words {
  display: grid;
  gap: calc(var(--spacing) * 3.5);
}

/* ---------------------------------------------------------------- the picture */

.picture {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  background: color-mix(in oklch, var(--muted) 40%, var(--background));
  border: 1px solid var(--border);
  font-size: var(--text-xs);
}

@media (min-width: 64rem) {
  .picture {
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-6);
  }

  .pic-people {
    flex: 0 0 calc(var(--spacing) * 35);
  }

  .pic-middle {
    flex: 1 1 auto;
    min-width: 0;
  }

  .pic-ais {
    flex: none;
  }
}

@media (max-width: 63.99rem) {
  .pic-arrow {
    transform: rotate(90deg);
  }
}

.pic-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2-5);
}

.pic-middle {
  gap: calc(var(--spacing) * 3.5);
}

.pic-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.pic-label {
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.pic-chip,
.pic-ai {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--border);
  background: var(--card);
  white-space: nowrap;
}

.pic-chip {
  padding: var(--space-1-5) var(--space-3) var(--space-1-5) var(--space-1-5);
  border-radius: var(--radius-full);
}

.pic-face {
  display: inline-grid;
  place-items: center;
  width: var(--space-6);
  height: var(--space-6);
  border-radius: var(--radius-full);
  background: var(--muted);
}

.pic-face .icon,
.pic-ai .icon,
.pic-draft .icon,
.pic-doc .icon {
  width: calc(var(--spacing) * 3.5);
  height: calc(var(--spacing) * 3.5);
}

.pic-ai {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}

.pic-ai .icon,
.pic-draft .icon {
  color: var(--muted-foreground);
}

.pic-draft {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2-5) var(--space-3);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  background: var(--background);
}

.pic-draft span:first-of-type,
.pic-doc span:first-of-type {
  flex: 1 1 auto;
}

.pic-tag {
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  text-transform: uppercase;
}

.pic-arrow {
  display: inline-flex;
  align-self: center;
  color: var(--muted-foreground);
}

.pic-arrow .icon {
  width: var(--space-5);
  height: var(--space-5);
}

.pic-approver {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-medium);
  text-align: center;
}

.pic-seal {
  display: inline-grid;
  place-items: center;
  width: calc(var(--spacing) * 13);
  height: calc(var(--spacing) * 13);
  border-radius: var(--radius-full);
  background: var(--foreground);
  color: var(--background);
}

.pic-seal .icon {
  width: var(--space-6);
  height: var(--space-6);
}

.pic-approved {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  border: 1px solid color-mix(in oklch, var(--success) 30%, var(--border));
  border-radius: var(--radius-xl);
  background: color-mix(in oklch, var(--success) 8%, var(--background));
}

.pic-doc {
  display: flex;
  align-items: center;
  gap: var(--space-1-5);
  padding: calc(var(--spacing) * 2.25) var(--space-2-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--cf-shadow-sm);
  white-space: nowrap;
}

.pic-check {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: calc(var(--spacing) * 4.5);
  height: calc(var(--spacing) * 4.5);
  border-radius: var(--radius-full);
  background: var(--success);
  color: var(--background);
}

.pic-check .icon {
  width: calc(var(--spacing) * 2.75);
  height: calc(var(--spacing) * 2.75);
}

.pic-record {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1-5);
  color: var(--muted-foreground);
  font-size: var(--text-2xs);
}

.pic-record .icon {
  width: var(--space-3);
  height: var(--space-3);
}

.pic-mcp {
  color: var(--muted-foreground);
  font-size: var(--text-2xs);
}

/* ---------------------------------------------------------------- the form */

.join-form {
  display: grid;
  gap: var(--space-2-5);
  width: 100%;
  max-width: calc(var(--space-16) * 9);
}

.label {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
}

.join-row {
  display: grid;
  gap: var(--space-2);
}

@media (min-width: 36rem) {
  .join-row {
    grid-template-columns: 1fr auto;
  }
}

.input {
  width: 100%;
  min-width: 0;
  height: var(--control-h-lg);
  padding-inline: calc(var(--spacing) * 3.5);
  border: 1px solid var(--input);
  border-radius: var(--radius-md);
  background: var(--background);
  color: var(--foreground);
  font: inherit;
  font-size: var(--text-base);
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.input::placeholder {
  color: var(--muted-foreground);
  opacity: 1;
}

.input:focus-visible {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 45%, transparent);
}

.input[aria-invalid="true"] {
  border-color: var(--destructive);
}

.form-note {
  color: var(--muted-foreground);
  font-size: var(--text-sm);
}

/* In the early-access card the button sits under the field, full width. */
.early .join-form {
  max-width: none;
}

.early .join-row {
  grid-template-columns: 1fr;
}

.early .form-note {
  font-size: var(--text-xs);
}

/* ---------------------------------------------------------------- message pages and the notice */

.message-card {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
  padding: var(--space-8);
}

.message-card h1 {
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
}

.prose {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.prose h1 {
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
}

.prose h2 {
  margin-top: var(--space-10);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
}

.prose p,
.prose ul {
  margin-top: var(--space-4);
}

.prose ul {
  padding-left: var(--space-6);
}

.prose li + li {
  margin-top: var(--space-2);
}

.meta {
  color: var(--muted-foreground);
  font-size: var(--text-sm);
}

.table-wrap {
  margin-top: var(--space-4);
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

th,
td {
  padding: var(--space-3);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--muted);
  font-weight: var(--font-weight-semibold);
}

tbody tr:last-child td {
  border-bottom: 0;
}
/* Buttons give a little under a press. */
@media (prefers-reduced-motion: no-preference) {
  .button {
    transition:
      background-color var(--dur) var(--ease),
      color var(--dur) var(--ease),
      transform var(--dur-fast) var(--ease);
  }

  .button:active:not(:disabled) {
    transform: scale(0.98);
  }
}

/* biome-ignore-start lint/complexity/noImportantStyles: reduced motion must beat everything */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* biome-ignore-end lint/complexity/noImportantStyles: reduced motion must beat everything */
