:root {
  color-scheme: light;
  --brand-purple: oklch(0.42 0.15 290.2);
  --brand-purple-deep: oklch(0.297 0.113 290.2);
  --brand-violet: oklch(0.5 0.16 296);
  --brand-purple-soft: oklch(0.95 0.028 292);
  --brand-yellow: oklch(0.862 0.176 91.5);
  --brand-yellow-soft: oklch(0.955 0.086 91.5);
  --brand-orange: oklch(0.748 0.158 71.9);

  --bg: oklch(1 0 0);
  --surface: oklch(0.985 0.008 96.9);
  --surface-strong: oklch(0.968 0.014 96.9);
  --ink: oklch(0.28 0.05 290.2);
  --ink-strong: oklch(0.2 0.06 290.2);
  --muted: oklch(0.48 0.035 290.2);
  --line: oklch(0.905 0.012 96.9);

  --accent: var(--brand-orange);
  --accent-dark: oklch(0.59 0.14 71.9);

  --header-bg: oklch(1 0 0 / 0.82);
  --menu-bg: oklch(1 0 0);

  --top-accent: linear-gradient(
    90deg,
    var(--brand-purple) 0%,
    var(--brand-violet) 42%,
    var(--brand-orange) 78%,
    var(--brand-yellow) 100%
  );

  --shadow: 0 30px 80px oklch(0.2 0.07 290.2 / 0.14);
  --shadow-card: 0 18px 50px oklch(0.2 0.07 290.2 / 0.09);

  --radius: 14px;
  --radius-sm: 10px;
  --max: 1180px;
  --reading: 920px;
  --header-height: 76px;
  --hero-about-image: image-set(
    url("ducket-about-960.webp") type("image/webp"),
    url("ducket-about.png") type("image/png")
  );
  --hero-sponsor-image: image-set(
    url("ducket-sponsor-960.webp") type("image/webp"),
    url("ducket-sponsor.png") type("image/png")
  );
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 900px) {
  :root {
    --hero-about-image: image-set(
      url("ducket-about-1600.webp") type("image/webp"),
      url("ducket-about.png") type("image/png")
    );
    --hero-sponsor-image: image-set(
      url("ducket-sponsor-1600.webp") type("image/webp"),
      url("ducket-sponsor.png") type("image/png")
    );
  }
}

@media (min-width: 1700px) {
  :root {
    --hero-sponsor-image: image-set(
      url("ducket-sponsor-1920.webp") type("image/webp"),
      url("ducket-sponsor.png") type("image/png")
    );
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--ink-strong);
  color: oklch(1 0 0);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Thin brand hairline pinned to the very top. */
.top-accent {
  position: relative;
  z-index: 6;
  height: 3px;
  background: var(--top-accent);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(14px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px oklch(0.2 0.07 290.2 / 0.06);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-strong);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 2rem;
  height: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.6rem);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
  transition: color 140ms ease;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--ink-strong);
}

.nav-cta {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--brand-purple);
  border-radius: 8px;
  padding: 0.5rem 1.05rem;
  color: var(--brand-purple);
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

.nav-cta:hover {
  background: var(--brand-purple);
  color: oklch(1 0 0);
}

/* ---------- Products dropdown ---------- */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
  transition: color 140ms ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"],
.nav-dropdown:focus-within .nav-dropdown-toggle {
  color: var(--ink-strong);
}

.nav-caret {
  width: 0.66rem;
  height: 0.44rem;
  transition: transform 180ms ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  min-width: 19rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.5rem;
  background: var(--menu-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  translate: 0 6px;
  transition: opacity 160ms ease, translate 160ms ease, visibility 160ms;
}

/* A little hover bridge so moving the cursor from toggle to menu doesn't close it. */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  inset: -0.7rem 0 auto;
  height: 0.7rem;
}

@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
  }
}

.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 140ms ease;
}

.nav-dropdown-menu a:hover {
  background: var(--surface-strong);
}

.nav-dd-name {
  display: block;
  color: var(--ink-strong);
  font-weight: 700;
  font-size: 0.98rem;
}

.nav-dropdown-menu a[aria-current="page"] .nav-dd-name {
  color: var(--brand-purple);
}

.nav-dd-desc {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink-strong);
  padding: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.05rem;
  height: 2px;
  margin: 0.22rem auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):first-of-type {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):last-of-type {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.7rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  background: var(--brand-purple);
  color: oklch(1 0 0);
}

.button-primary:hover {
  background: var(--brand-purple-deep);
}

.button-ghost {
  background: transparent;
  color: var(--ink-strong);
  border: 1.5px solid var(--line);
}

.button-ghost:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple);
}

.button .arrow {
  margin-left: 0.45rem;
  transition: transform 160ms ease;
}

.button:hover .arrow {
  transform: translateX(3px);
}

/* ---------- Hero (full-viewport brand image) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  padding: clamp(5rem, 10vw, 8.5rem) 20px clamp(7rem, 13vw, 11rem);
  display: flex;
  align-items: center;
}

/* Full-viewport brand image with a bottom fade into the page background. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      to bottom,
      oklch(1 0 0 / 0.22) 0%,
      oklch(1 0 0 / 0.2) 42%,
      oklch(1 0 0 / 0.72) 78%,
      var(--bg) 100%
    ),
    url("ducket-about.png") center / cover no-repeat;
  background:
    linear-gradient(
      to bottom,
      oklch(1 0 0 / 0.22) 0%,
      oklch(1 0 0 / 0.2) 42%,
      oklch(1 0 0 / 0.72) 78%,
      var(--bg) 100%
    ),
    var(--hero-about-image) center / cover no-repeat;
  pointer-events: none;
}

/* Homepage gateway hero only: soft brand-color wash instead of the photo, fading to the page bg below. */
.gateway-hero::before {
  z-index: -2;
  background:
    radial-gradient(620px 460px at 2% -16%, oklch(0.862 0.176 91.5 / 0.42), transparent 60%),
    radial-gradient(680px 520px at 108% -8%, oklch(0.748 0.158 71.9 / 0.26), transparent 56%),
    radial-gradient(560px 480px at 100% 38%, oklch(0.5 0.16 296 / 0.2), transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, black, black 55%, transparent 96%);
  mask-image: linear-gradient(to bottom, black, black 55%, transparent 96%);
}

/* A whisper of grain so the gateway wash reads as textured, not a flat CSS gradient. */
.gateway-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  -webkit-mask-image: linear-gradient(to bottom, black, black 55%, transparent 96%);
  mask-image: linear-gradient(to bottom, black, black 55%, transparent 96%);
  pointer-events: none;
}

.hero-inner {
  width: min(var(--reading), calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  color: var(--ink-strong);
  font-size: clamp(2.75rem, 6.6vw, 5.1rem);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* Yellow marker highlight on a key word. */
.hl {
  position: relative;
  white-space: nowrap;
}

.hl::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.06em;
  height: 0.34em;
  z-index: -1;
  background: var(--brand-yellow);
  border-radius: 3px;
  transform: rotate(-0.6deg);
}

.hero-text {
  max-width: 60ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ---------- Gateway ---------- */
/* Full-bleed takeover: unlike the org/sponsor heroes, this one isn't a rounded inset panel. */
.gateway-hero {
  width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--bg);
  min-height: calc(100svh - var(--header-height) - 3px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.gateway-inner {
  max-width: 760px;
}

.gateway-actions {
  width: 100%;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.gateway-actions .button {
  min-width: min(100%, 15rem);
}

/* ---------- Generic section ---------- */
.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8.5rem) 0;
}

.section-heading {
  max-width: var(--reading);
  margin: 0 auto;
  text-align: center;
}

.section h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  font-weight: 840;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-heading p {
  max-width: 64ch;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  text-wrap: pretty;
}

/* ---------- Process (stacked rows) ---------- */
.process-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
}

.process-list li {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 1px 3px oklch(0.2 0.07 290.2 / 0.05);
  padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.6rem, 4vw, 2.75rem);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.process-list li:hover {
  border-color: var(--brand-purple);
  box-shadow: var(--shadow-card);
}

.step-num {
  flex: 0 0 auto;
  color: var(--brand-purple);
  font-weight: 840;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.step-body {
  flex: 1 1 auto;
  min-width: 0;
}

.process-list h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.process-list p {
  margin: 0.6rem 0 0;
  max-width: 64ch;
  color: var(--muted);
}

/* ---------- Audience ---------- */
.audience-band {
  border-top: 1px solid var(--line);
}

/* ---------- Products: one full row per product (visual | case + CTA) ---------- */
.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.4rem, 5vw, 4rem) 0;
}

.product-row + .product-row {
  border-top: 1px solid var(--line);
}

.product-row--flip .product-visual {
  order: 2;
}

.product-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.product-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.product-info h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.product-tag {
  display: inline-block;
  margin-left: 0.55rem;
  vertical-align: 0.25em;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-purple);
  background: var(--brand-purple-soft);
  border-radius: 5px;
  padding: 0.22rem 0.5rem;
}

.product-tagline {
  margin: 0.6rem 0 0;
  color: var(--ink-strong);
  font-size: 1.12rem;
  font-weight: 680;
}

.product-info > p:not(.product-tagline):not(.product-meta) {
  margin: 0.7rem 0 0;
  max-width: 52ch;
  color: var(--muted);
  text-wrap: pretty;
}

.product-meta {
  margin: 1.1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  font-size: 0.8rem;
  color: var(--muted);
}

.product-info .button {
  margin-top: 1.4rem;
}

@media (max-width: 760px) {
  .product-row {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .product-row--flip .product-visual {
    order: 0;
  }
}

/* ---------- Final CTA / booking wrap ---------- */
.final-cta-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.sponsor-bottom-cta {
  margin-top: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  justify-content: center;
}

.sponsor-bottom-button {
  color: var(--brand-purple);
  background: var(--bg);
}

.sponsor-bottom-button em {
  font-style: italic;
}

/* ---------- Booking form ---------- */
.book-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--surface);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-card);
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* Brand accent strip, clipped to the card's rounded corners. */
.book-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--top-accent);
}

.book-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 0%, oklch(0.862 0.176 91.5 / 0.12), transparent 40%),
    radial-gradient(circle at 90% 100%, oklch(0.42 0.15 290.2 / 0.07), transparent 45%);
  pointer-events: none;
}

.book-intro h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 840;
  line-height: 1.07;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.book-intro p {
  max-width: 46ch;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  text-wrap: pretty;
}

.lead-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: clamp(4rem, 9vw, 7.5rem) 20px clamp(4rem, 8vw, 6.5rem);
  display: grid;
  place-items: center;
}

/* Brand image background with a light veil for text contrast, fading to --bg at the bottom. */
.lead-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      to bottom,
      oklch(1 0 0 / 0.42) 0%,
      oklch(1 0 0 / 0.3) 38%,
      oklch(1 0 0 / 0.62) 78%,
      var(--bg) 100%
    ),
    url("ducket-sponsor.png") center / cover no-repeat;
  background:
    linear-gradient(
      to bottom,
      oklch(1 0 0 / 0.42) 0%,
      oklch(1 0 0 / 0.3) 38%,
      oklch(1 0 0 / 0.62) 78%,
      var(--bg) 100%
    ),
    var(--hero-sponsor-image) center / cover no-repeat;
  pointer-events: none;
}

.lead-card {
  width: 100%;
  max-width: 980px;
}

.lead-card .book-intro h1 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 840;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.redirect-shell {
  min-height: 100svh;
  width: min(36rem, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1rem;
}

.redirect-shell h1 {
  margin: 1rem 0 0;
  color: var(--ink-strong);
  font-size: clamp(2.25rem, 7vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.redirect-shell p {
  margin: 0;
  color: var(--muted);
}

.book-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--ink-strong);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink-strong);
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px oklch(0.42 0.15 290.2 / 0.15);
}

.book-form .button {
  margin-top: 0.4rem;
  width: fit-content;
}

.book-form .button[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.form-status {
  margin: 0;
  min-height: 1.2rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--muted);
}

.form-status.is-error {
  color: oklch(0.55 0.21 25);
}

.form-status.is-success {
  color: oklch(0.52 0.15 150);
}

/* Honeypot: hidden from real users, catches bots. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0.7rem 0 0;
  max-width: 36ch;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-weight: 700;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--brand-purple);
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    inset: calc(var(--header-height) + 5px) 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--menu-bg);
    box-shadow: var(--shadow);
    padding: 0.75rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem;
  }

  .nav-cta {
    justify-content: center;
  }

  /* Products dropdown expands inline within the collapsed menu (no floating panel). */
  .nav-dropdown {
    display: block;
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.8rem;
    font-size: 1rem;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0.1rem 0 0.3rem 0.6rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    translate: none;
    transition: none;
    display: none;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu {
    display: grid;
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown-menu a {
    padding: 0.55rem 0.75rem;
  }

  .process-list li {
    align-items: flex-start;
    gap: 1.1rem;
  }

  .site-footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .book-card {
    grid-template-columns: 1fr;
  }

  .book-form .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }
}

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

  .process-list li:hover {
    box-shadow: 0 1px 3px oklch(0.2 0.07 290.2 / 0.05);
  }
}
