/* ============================================================
   wwilloww.ai — calm storefront stylesheet
   Palette: warm sand, willow teal, muted sage, ink, lavender + gold accents
   ============================================================ */

:root {
  /* Type scale (clamp for fluid) */
  --text-xs: 0.78rem;       /* ~12.5px */
  --text-sm: 0.92rem;       /* ~14.5px */
  --text-base: 1.0625rem;   /* ~17px — above 16px floor for body comfort */
  --text-lg: 1.25rem;       /* 20px */
  --text-xl: clamp(1.5rem, 2.2vw + 0.7rem, 2rem);
  --text-2xl: clamp(2rem, 3.6vw + 0.8rem, 3rem);
  --text-hero: clamp(2.5rem, 5vw + 1rem, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5.5rem;
  --space-16: 7rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Light theme — warm willow */
  --bg: #f3eddf;            /* warm sand */
  --bg-soft: #efe7d4;       /* slightly darker warmth */
  --surface: #faf6ec;       /* card surface, lighter than bg */
  --surface-2: #f7f1e1;
  --border: #d9cfb6;
  --border-strong: #c4b896;

  --ink: #1f2a26;           /* deep ink-green, primary text */
  --ink-soft: #3a4742;
  --ink-muted: #6a7570;
  --ink-faint: #94978f;

  --willow: #2f5d52;        /* deep willow/teal accent */
  --willow-hover: #224740;
  --sage: #7d9684;          /* muted sage for secondary */
  --lavender: #8472a8;      /* tiny emphasis */
  --gold: #8a672a;          /* tiny emphasis — meets AA on surface */

  --focus: #2f5d52;
  --focus-ring: 3px solid var(--focus);
  --focus-offset: 3px;

  --shadow-sm: 0 1px 2px rgba(31, 42, 38, 0.05),
    0 1px 4px rgba(31, 42, 38, 0.04);
  --shadow-md: 0 2px 8px rgba(31, 42, 38, 0.06),
    0 8px 24px rgba(31, 42, 38, 0.04);

  --font-display: "Boska", Georgia, "Iowan Old Style", serif;
  --font-body: "Supreme", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --container-tight: 880px;
}

[data-theme="dark"] {
  --bg: #141b18;
  --bg-soft: #111815;
  --surface: #1a221e;
  --surface-2: #1f2723;
  --border: #2d3833;
  --border-strong: #3c4944;

  --ink: #e8e2d2;
  --ink-soft: #c9c4b6;
  --ink-muted: #8e9690;
  --ink-faint: #5b6360;

  --willow: #7fbcaf;
  --willow-hover: #a5d4c8;
  --sage: #9bb3a0;
  --lavender: #b9a8de;
  --gold: #d4a657;

  --focus: #a5d4c8;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   Base
   ============================================================ */

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  font-feature-settings: "ss01", "ss02", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--willow);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--willow-hover);
  text-decoration-thickness: 2px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  background: var(--willow);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: 100;
  text-decoration: none;
  font-weight: 500;
  transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: var(--space-3);
}

main:focus {
  outline: none;
}

/* ============================================================
   Layout helpers
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(var(--space-10), 8vw, var(--space-16));
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-8);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
}

@media (min-width: 880px) {
  .two-col {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-12);
    align-items: start;
  }
}

.col-narrow,
.col-wide {
  min-width: 0;
}

.prose p {
  margin: 0 0 var(--space-4);
  max-width: 62ch;
}

/* ============================================================
   Typography utilities
   ============================================================ */

.display,
.display-sm {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 var(--space-5);
  color: var(--ink);
}

.display {
  font-size: var(--text-hero);
  letter-spacing: -0.02em;
}

.display-sm {
  font-size: var(--text-2xl);
  line-height: 1.12;
}

h1, h2, h3 {
  color: var(--ink);
}

h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 var(--space-2);
  line-height: 1.3;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 var(--space-4);
}

.eyebrow .dot,
.kicker .dot {
  width: 8px;
  height: 8px;
  background: var(--willow);
  border-radius: 50%;
  display: inline-block;
}

.lede {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 var(--space-6);
  max-width: 56ch;
}

.muted {
  color: var(--ink-muted);
}

.text-accent {
  color: var(--willow);
  font-style: italic;
  font-weight: 500;
}

[data-theme="dark"] .text-accent {
  color: var(--willow);
}

.micro-note {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  margin-top: var(--space-6);
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-body);
}

.brand-mark {
  color: var(--willow);
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.brand-dot {
  color: var(--willow);
}

.primary-nav {
  display: none;
  gap: var(--space-6);
}

.primary-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  padding-block: var(--space-2);
  position: relative;
}

.primary-nav a:hover {
  color: var(--willow);
}

@media (min-width: 880px) {
  .primary-nav {
    display: inline-flex;
  }
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.theme-toggle:hover {
  background: var(--surface);
  color: var(--willow);
  border-color: var(--border-strong);
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: inline-block;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease;
  line-height: 1;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: var(--text-sm);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--willow);
  color: #fbf6e8;
  border-color: var(--willow);
}

.btn-primary:hover {
  background: var(--willow-hover);
  border-color: var(--willow-hover);
  color: #fff;
  text-decoration: none;
}

[data-theme="dark"] .btn-primary {
  background: var(--willow);
  color: #0c1310;
}
[data-theme="dark"] .btn-primary:hover {
  background: var(--willow-hover);
  color: #0c1310;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--willow);
  color: var(--willow);
  background: var(--surface);
  text-decoration: none;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding-block: clamp(var(--space-8), 7vw, var(--space-16));
  position: relative;
  overflow: hidden;
}

.hero::before {
  /* a very soft, calm radial wash — no harsh gradient */
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(
    closest-side,
    color-mix(in oklab, var(--sage) 28%, transparent),
    transparent 70%
  );
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

[data-theme="dark"] .hero::before {
  background: radial-gradient(
    closest-side,
    color-mix(in oklab, var(--willow) 18%, transparent),
    transparent 70%
  );
  opacity: 0.45;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.95fr;
    gap: var(--space-12);
  }
}

.hero-copy {
  max-width: 38rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.audience-chips {
  list-style: none;
  padding: 0;
  margin: var(--space-8) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.audience-chips li {
  font-size: var(--text-sm);
  padding: 0.4rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-soft);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-5), 3vw, var(--space-8));
  box-shadow: var(--shadow-md);
  position: relative;
}

.hero-card-inner {
  position: relative;
}

.card-tag {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--willow);
  background: color-mix(in oklab, var(--willow) 10%, transparent);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: var(--space-4);
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

.hero-card-body {
  color: var(--ink-soft);
  margin: 0 0 var(--space-5);
}

.hero-card-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: grid;
  gap: var(--space-3);
}

.hero-card-meta li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--space-3);
  font-size: var(--text-sm);
  padding-bottom: var(--space-3);
  border-bottom: 1px dashed var(--border);
}

.hero-card-meta li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-card-meta strong {
  color: var(--ink-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: var(--text-xs);
}

.hero-card-meta span {
  color: var(--ink);
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gold);
  margin: 0;
  font-weight: 500;
}

[data-theme="dark"] .coming-soon {
  color: var(--gold);
}

.coming-soon .cs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* ============================================================
   About
   ============================================================ */

.about {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

/* ============================================================
   Library / product grid
   ============================================================ */

.section-lede {
  color: var(--ink-soft);
  max-width: 58ch;
  margin-top: var(--space-3);
}

.product-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (prefers-reduced-motion: reduce) {
  .product-card:hover {
    transform: none;
  }
}

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-6);
}

[data-theme="dark"] .product-thumb {
  color: var(--willow);
}

.thumb-tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.product-cat {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--willow);
  margin: 0;
  font-weight: 500;
}

.product-body h3 {
  margin: 0;
}

.product-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.product-body .status {
  margin-top: auto;
  padding-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--gold);
  font-weight: 500;
  border-top: 1px dashed var(--border);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.product-body .status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.product-body .btn-sm {
  align-self: flex-start;
  margin-top: var(--space-2);
}

/* ============================================================
   Featured
   ============================================================ */

.featured {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 880px) {
  .featured-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: var(--space-12);
  }
}

.featured-art {
  position: relative;
  aspect-ratio: 5 / 6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-art-stack {
  position: relative;
  width: 78%;
  height: 90%;
}

.paper {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}

.paper-back {
  transform: rotate(-4deg) translate(-4%, 3%);
  background: var(--surface-2);
}

.paper-mid {
  transform: rotate(2deg) translate(2%, -2%);
}

.paper-front {
  transform: rotate(-1deg);
  padding: 8% 9%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.paper-bar {
  width: 38%;
  height: 8px;
  background: var(--willow);
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.paper-line {
  height: 8px;
  background: color-mix(in oklab, var(--ink) 12%, transparent);
  border-radius: 4px;
}

.paper-line.short {
  width: 70%;
}

.paper-block {
  height: 56px;
  background: color-mix(in oklab, var(--sage) 38%, transparent);
  border-radius: 6px;
  margin-block: 0.5rem;
}

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

.feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--space-3);
  color: var(--ink-soft);
}

.bullet {
  display: inline-block;
  margin-top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--willow);
  border: 2px solid color-mix(in oklab, var(--willow) 30%, transparent);
  box-sizing: content-box;
}

/* ============================================================
   Outcomes
   ============================================================ */

.outcomes-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
}

.outcomes-grid li {
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.outcome-stat {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--willow);
  margin: 0 0 var(--space-3);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.outcomes-grid h3 {
  margin: 0 0 var(--space-2);
}

.outcomes-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--text-sm);
  line-height: 1.55;
}

/* ============================================================
   Quotes
   ============================================================ */

.quotes {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.quote {
  margin: 0;
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}

.quote::before {
  content: "“";
  position: absolute;
  top: -0.2em;
  left: 0.4rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: color-mix(in oklab, var(--willow) 25%, transparent);
  line-height: 1;
  pointer-events: none;
}

.quote blockquote {
  margin: 0 0 var(--space-4);
  padding: 0;
  font-size: var(--text-base);
  color: var(--ink);
  line-height: 1.55;
}

.quote blockquote p {
  margin: 0;
}

.quote figcaption {
  display: flex;
  flex-direction: column;
  font-size: var(--text-sm);
  border-top: 1px dashed var(--border);
  padding-top: var(--space-3);
}

.quote-name {
  font-weight: 600;
  color: var(--ink);
}

.quote-role {
  color: var(--ink-muted);
}

/* ============================================================
   Waitlist
   ============================================================ */

.waitlist {
  position: relative;
}

.waitlist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 880px) {
  .waitlist-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

.waitlist-promises {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
  display: grid;
  gap: var(--space-2);
}

.waitlist-promises li {
  padding-left: 1.4em;
  position: relative;
  color: var(--ink-soft);
  font-size: var(--text-sm);
}

.waitlist-promises li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 1px;
  background: var(--willow);
}

.waitlist-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-5), 3vw, var(--space-8));
  display: grid;
  gap: var(--space-5);
}

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

.field label,
.field legend {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  padding: 0;
}

.field input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: var(--text-base);
  font-family: var(--font-body);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input[type="email"]:focus {
  border-color: var(--willow);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--willow) 18%, transparent);
  outline: none;
}

.field input[type="email"]::placeholder {
  color: var(--ink-faint);
}

.field-group {
  border: 0;
  padding: 0;
  margin: 0;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
  margin-top: var(--space-3);
}

.checks label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-soft);
  font-weight: 400;
  cursor: pointer;
  padding: 0.3rem 0.6rem 0.3rem 0.3rem;
  border-radius: var(--radius-sm);
}

.checks input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--willow);
  cursor: pointer;
}

.form-help {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
}

.form-status {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--willow);
  font-weight: 500;
  min-height: 1.3em;
}

.form-status.is-error {
  color: var(--lavender);
}

/* ============================================================
   FAQ accordion
   ============================================================ */

.accordion {
  display: grid;
  gap: var(--space-3);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: var(--surface-2);
}

.faq-item summary:focus-visible {
  outline: var(--focus-ring);
  outline-offset: -3px;
}

.chev {
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--willow);
  font-weight: 400;
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq-item[open] .chev {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--ink-soft);
  border-top: 1px dashed var(--border);
}

.faq-body p {
  margin: var(--space-4) 0 0;
  max-width: 60ch;
}

.faq-body code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* ============================================================
   Accessibility statement
   ============================================================ */

.a11y {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.a11y-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
}

@media (min-width: 720px) {
  .a11y-card {
    grid-template-columns: 80px 1fr;
    gap: var(--space-8);
  }
}

.a11y-mark {
  color: var(--willow);
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklab, var(--willow) 10%, transparent);
  border-radius: 50%;
}

.a11y-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
  display: grid;
  gap: var(--space-3);
}

.a11y-list li {
  position: relative;
  padding-left: 1.6em;
  color: var(--ink-soft);
}

.a11y-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--willow);
  font-weight: 600;
}

.a11y code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* ============================================================
   Contact
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-12);
  }
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
  border-top: 1px solid var(--border);
}

.contact-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

@media (max-width: 600px) {
  .contact-list li {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }
}

.contact-label {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.contact-list a {
  font-size: var(--text-lg);
  font-weight: 500;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-block: var(--space-10) var(--space-6);
  margin-top: var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-tag {
  color: var(--ink-soft);
  margin: 0;
  max-width: 32ch;
  font-size: var(--text-sm);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-6);
}

.footer-nav h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin: 0 0 var(--space-3);
  font-weight: 500;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-2);
}

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

.footer-nav a:hover {
  color: var(--willow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-meta {
  grid-column: 1 / -1;
  margin: var(--space-8) 0 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
}

/* ============================================================
   Small screens cleanup
   ============================================================ */

@media (max-width: 600px) {
  .header-row {
    gap: var(--space-3);
  }
  .header-actions .btn-sm {
    display: none; /* keep header uncluttered; CTA reachable in hero */
  }
  .primary-nav {
    display: none;
  }
  .hero-card-meta li {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }
  .display {
    letter-spacing: -0.015em;
  }
}

/* Print: keep things minimal */
@media print {
  .site-header,
  .site-footer,
  .theme-toggle,
  .cta-row,
  .waitlist-form,
  .skip-link {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
