/* ============================================================
   FOCUSED EVALS EBOOK — LANDING PAGE STYLES
   Brand-synced to focused.io:
     - Light theme: #f9f7ff background, #211659 primary text
     - Lato (body) + Roboto Mono (labels) — focused.io's stack
     - Fraunces display serif kept for editorial headlines
     - Signature purple→cyan gradient from focused.io on display em
   ============================================================ */

:root {
  /* Focused brand palette — sampled directly from focused.io */
  --ink:          #211659;  /* primary dark — logo, headings, text */
  --ink-soft:     #2b1f6e;
  --ink-mute:     #5c538c;
  --ink-faint:    #8479b0;

  --paper:        #ffffff;
  --paper-soft:   #f9f7ff;  /* main page background */
  --paper-warm:   #f0ecff;  /* surface tint */
  --paper-cool:   #f5f8fa;
  --paper-mesh-a: #fcf3ec;  /* mesh gradient stop */
  --paper-mesh-b: #efeafd;  /* mesh gradient stop */

  --purple-600:   #8760f6;  /* focused.io accent purple */
  --purple-500:   #7953cd;  /* gradient stop 1 */
  --purple-700:   #764ada;  /* gradient stop 4 */
  --cyan-500:     #00affa;  /* gradient stop 2 */
  --blue-500:     #0190cd;  /* gradient stop 3 */
  --peach:        rgb(252, 195, 158);
  --peach-warm:   rgb(249, 167, 114);
  --focus-ring:   #4d65ff;

  /* Signature Focused gradient — DO NOT alter the stops */
  --brand-gradient: linear-gradient(
    to right,
    #7953cd 20%,
    #00affa 30%,
    #0190cd 70%,
    #764ada 80%
  );

  --rule:         rgba(33, 22, 89, 0.09);
  --rule-strong:  rgba(33, 22, 89, 0.18);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
  --font-body:    "Lato", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:    "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- base ---------- */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Atmospheric background — echoes focused.io's hero mesh:
   radial peach + purple blobs on a soft lavender ground. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(50% 45% at 80% 0%, rgba(252, 195, 158, 0.55), rgba(252, 195, 158, 0) 60%),
    radial-gradient(60% 50% at 0% 10%, rgba(146, 75, 173, 0.18), rgba(146, 75, 173, 0) 70%),
    radial-gradient(80% 60% at 90% 90%, rgba(135, 96, 246, 0.14), rgba(135, 96, 246, 0) 70%),
    linear-gradient(180deg, #fcf3ec 0%, var(--paper-soft) 35%, var(--paper-soft) 100%);
}

::selection { background: var(--purple-500); color: var(--paper); }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- typographic primitives ---------- */
.eyebrow, .label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-600);
  display: inline-block;
}

.display {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-weight: 420;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1.display { font-size: clamp(44px, 6.6vw, 92px); }
h2.display { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; }
h3 { font-family: var(--font-body); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 10px; color: var(--ink); }

.display em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.04em;
}

.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 56ch;
}

/* ---------- layout shell ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

.section-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule-strong), transparent);
  margin: 0;
  border: 0;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  background: rgba(249, 247, 255, 0.82);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.mark .logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.mark .wordmark {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}

.topbar-cta {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 11px 20px;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.topbar-cta:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(60px, 11vw, 130px) 0 clamp(60px, 8vw, 110px);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
}
.hero-left > .eyebrow { margin-bottom: 28px; }
.hero-left h1 { margin: 0 0 26px; }
.hero-left .lede { margin: 0 0 28px; }

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 38px;
  max-width: 54ch;
}
.hero-bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 500;
}
.hero-bullets li::before {
  content: "→";
  color: var(--purple-600);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.6;
  flex-shrink: 0;
  font-weight: 500;
}

/* Primary CTA — brand gradient */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  border-radius: 999px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 14px 40px -18px rgba(33, 22, 89, 0.45);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.cta-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -18px rgba(121, 83, 205, 0.55);
}
.cta-primary:hover::before { opacity: 1; }
.cta-primary .arrow { transition: transform 0.4s var(--ease-out); }
.cta-primary:hover .arrow { transform: translateX(4px); }

.hero-meta {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- book mockup ---------- */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1800px;
}

.book {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 0.72 / 1;
  transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(4deg);
  transition: transform 1s var(--ease-out);
  filter: drop-shadow(0 50px 50px rgba(33, 22, 89, 0.28));
}
.book:hover { transform: rotateY(-14deg) rotateX(2deg); }

.book-cover {
  position: absolute;
  inset: 0;
  border-radius: 2px 10px 10px 2px;
  background:
    radial-gradient(120% 100% at 80% 20%, rgba(135, 96, 246, 0.28), transparent 60%),
    radial-gradient(90% 60% at 10% 90%, rgba(0, 175, 250, 0.18), transparent 60%),
    linear-gradient(155deg, #2d1f78 0%, #1a0f52 48%, #0d0733 100%);
  padding: 38px 30px 34px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-left: 14px solid transparent;
  border-image: var(--brand-gradient) 1;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 14px 0 28px -10px rgba(0, 0, 0, 0.7);
}
.book-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.25;
  pointer-events: none;
}
.book-cover::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 30%;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.book-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.book-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.book-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  font-weight: 440;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 20px 0 14px;
  position: relative;
  z-index: 1;
}
.book-title em {
  font-style: italic;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.book-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.35;
  max-width: 22ch;
  position: relative;
  z-index: 1;
}
.book-divider {
  height: 1px;
  background: var(--brand-gradient);
  margin: 22px 0 14px;
  position: relative;
  z-index: 1;
}
.book-author {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.book::after {
  content: "";
  position: absolute;
  top: 2%;
  right: -1px;
  width: 6px;
  height: 96%;
  background: repeating-linear-gradient(90deg, #e3ddf2 0px, #f5f2ff 1px, #c9c0ea 2px);
  transform: rotateY(90deg) translateX(3px);
  transform-origin: right center;
  border-radius: 0 2px 2px 0;
}

/* ---------- trust row (real client logos) ---------- */
.trust {
  padding: 50px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.6);
}
.trust-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.trust .label { white-space: nowrap; }
.logos {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.logos img {
  height: 28px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(1) contrast(0.9);
  transition: opacity 0.3s, filter 0.3s;
}
.logos img:hover {
  opacity: 1;
  filter: grayscale(0) contrast(1);
}

/* ---------- generic section ---------- */
.section {
  padding: clamp(80px, 11vw, 140px) 0;
}
.section-head {
  max-width: 56ch;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .label { margin-bottom: 20px; }
.section-head h2 { margin: 0 0 20px; }
.section-head p.lede { margin: 0; }

/* ---------- value grid ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.value-card {
  padding: 40px 34px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 20px 40px -30px rgba(33, 22, 89, 0.2);
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-gradient);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out);
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--rule-strong);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 30px 60px -30px rgba(33, 22, 89, 0.3);
}
.value-card:hover::before { transform: scaleX(1); }
.value-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--purple-600);
  margin-bottom: 22px;
  display: block;
}
.value-card h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48, "SOFT" 30;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  color: var(--ink);
}
.value-card p {
  color: var(--ink-mute);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
}

/* ---------- proof / case studies ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 28px);
}
.proof-card {
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.proof-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(33, 22, 89, 0.25);
}
.proof-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--purple-600);
}
.proof-card h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48, "SOFT" 30;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.proof-card p {
  color: var(--ink-mute);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}

/* ---------- table of contents ---------- */
.toc-list {
  border-top: 1px solid var(--rule-strong);
}
.toc-list li {
  display: grid;
  grid-template-columns: 80px 1fr 1.3fr;
  gap: clamp(16px, 2.4vw, 36px);
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: background 0.35s var(--ease-out), padding 0.35s var(--ease-out);
}
.toc-list li:hover {
  padding-left: 14px;
  padding-right: 14px;
  background: linear-gradient(90deg, rgba(135, 96, 246, 0.06), transparent 80%);
}
.toc-list .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--purple-600);
  letter-spacing: 0.14em;
}
.toc-list .title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "SOFT" 30;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 460;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.toc-list .desc {
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- who it's for ---------- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.who-card {
  padding: 40px 34px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 20px 40px -30px rgba(33, 22, 89, 0.18);
}
.who-card h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.who-card p {
  margin: 0;
  color: var(--ink-mute);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ---------- form section ---------- */
.form-section {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}
.form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 15% 0%, rgba(135, 96, 246, 0.12), transparent 60%),
    radial-gradient(700px 450px at 95% 100%, rgba(252, 195, 158, 0.30), transparent 60%);
  pointer-events: none;
}
.form-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  position: relative;
}

.form-card {
  padding: clamp(36px, 5vw, 60px);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 24px;
  box-shadow: 0 40px 80px -40px rgba(33, 22, 89, 0.35);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand-gradient);
}
.form-card .label { margin-bottom: 18px; }
.form-card h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96, "SOFT" 50;
  font-weight: 460;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.form-card .sub {
  color: var(--ink-mute);
  font-size: 15.5px;
  margin: 0 0 32px;
  max-width: 44ch;
}

form#lead-form { display: flex; flex-direction: column; gap: 18px; }
form#lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form#lead-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}
form#lead-form input[type="text"],
form#lead-form input[type="email"] {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  padding: 15px 16px;
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s;
}
form#lead-form input:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--purple-600);
  box-shadow: 0 0 0 3px rgba(135, 96, 246, 0.18);
}
form#lead-form input::placeholder { color: var(--ink-faint); opacity: 0.55; }

form#lead-form label.consent {
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.5;
  margin-top: 6px;
  font-weight: 400;
}
form#lead-form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--rule-strong);
  border-radius: 4px;
  background: var(--paper);
  cursor: pointer;
  margin: 3px 0 0;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}
form#lead-form input[type="checkbox"]:checked {
  background: var(--ink);
  border-color: var(--ink);
}
form#lead-form input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

form#lead-form button[type="submit"] {
  margin-top: 12px;
  padding: 18px 28px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  border-radius: 14px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 14px 40px -18px rgba(33, 22, 89, 0.5);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), opacity 0.3s;
}
form#lead-form button[type="submit"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
form#lead-form button[type="submit"]:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -14px rgba(121, 83, 205, 0.55);
}
form#lead-form button[type="submit"]:hover:not(:disabled)::before { opacity: 1; }
form#lead-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status {
  min-height: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.form-status.error { color: #d94545; }
.form-status.ok { color: var(--purple-600); }

.form-aside { align-self: center; }
.form-aside .label { margin-bottom: 22px; }
.form-aside h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "SOFT" 40;
  font-size: 30px;
  font-weight: 460;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  max-width: 18ch;
  color: var(--ink);
}
.form-aside ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-aside li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}
.form-aside li::before {
  content: "✓";
  color: var(--purple-600);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- about ---------- */
.about-inner { max-width: 68ch; }
.about-inner h2 { margin-bottom: 24px; }
.about-inner p { color: var(--ink-mute); font-size: 17px; line-height: 1.6; margin: 0 0 30px; }
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s, gap 0.3s;
}
.about-link:hover { color: var(--purple-600); border-color: var(--purple-600); gap: 12px; }

/* ---------- faq ---------- */
.faq-list { border-top: 1px solid var(--rule-strong); }
.faq-list details {
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
}
.faq-list summary {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48, "SOFT" 30;
  font-size: 22px;
  font-weight: 460;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--purple-600);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  margin: 14px 0 0;
  color: var(--ink-mute);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 68ch;
}

/* ---------- footer ---------- */
footer {
  padding: 56px 0 44px;
  border-top: 1px solid var(--rule);
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.6);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
}
.footer-inner nav a {
  color: var(--ink-mute);
  margin-right: 18px;
  transition: color 0.3s;
}
.footer-inner nav a:hover { color: var(--purple-600); }

/* ---------- thank-you page specific ---------- */
.ty {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--gutter);
}
.ty-card {
  max-width: 620px;
  text-align: center;
}
.ty-card .label { margin-bottom: 20px; }
.ty-card h1 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 460;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--ink);
}
.ty-card p { color: var(--ink-mute); font-size: 17px; margin: 0 0 36px; }

/* ---------- motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-left > * { animation: rise 0.8s var(--ease-out) both; }
.hero-left > *:nth-child(1) { animation-delay: 0.05s; }
.hero-left > *:nth-child(2) { animation-delay: 0.15s; }
.hero-left > *:nth-child(3) { animation-delay: 0.25s; }
.hero-left > *:nth-child(4) { animation-delay: 0.35s; }
.hero-left > *:nth-child(5) { animation-delay: 0.45s; }
.hero-left > *:nth-child(6) { animation-delay: 0.55s; }
.hero-right { animation: rise 1s var(--ease-out) 0.3s both; }

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

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-right { order: -1; }
  .book { width: min(280px, 70vw); }
  .value-grid, .who-grid { grid-template-columns: 1fr; }
  .form-inner { grid-template-columns: 1fr; }
  .toc-list li { grid-template-columns: 50px 1fr; }
  .toc-list .desc { grid-column: 2; }
  .trust-inner { grid-template-columns: 1fr; }
  .logos { justify-content: flex-start; }
}
@media (max-width: 540px) {
  form#lead-form .row { grid-template-columns: 1fr; }
  .topbar-cta { padding: 9px 16px; font-size: 12px; }
  .cta-primary { padding: 16px 24px; font-size: 15px; }
  .proof-grid { grid-template-columns: 1fr; }
}
