/* Cuervo Loads marketing site
   Brand tokens match the product. No external requests, no build step.
   To swap the lead CTA, change the class on <html> or <body>:
     cta-lead-demo  → “Request a demo” is the solid button
     cta-lead-beta  → “Try it free during the beta” is the solid button
*/

@font-face {
  font-family: "Newsreader";
  src: url("fonts/Newsreader-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/Newsreader-Italic-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Italic-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f4f2ee;
  --bg-deep: #ece8e0;
  --card: #ffffff;
  --ink: #1b1f1a;
  --muted: #5c6159;
  --line: #e2ddd3;
  --soft: #efebe3;
  --brand: #24301f;
  --brand-2: #33432c;
  --brand-3: #1a2216;
  --accent: #d47a24;
  --accent-d: #b9651a;
  --accent-ink: #7a3f0b;
  --accent-soft: #fff6e9;
  --red: #c62828;
  --red-bg: #fff1ef;
  --green: #2e7d32;
  --green-soft: #e8f3e8;
  --shadow: 0 1px 2px rgba(20, 25, 18, 0.06), 0 8px 28px rgba(20, 25, 18, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 25, 18, 0.18);
  --radius: 16px;
  --radius-lg: 22px;
  --max: 1120px;
  --nav-h: 72px;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-d); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 550; letter-spacing: -0.02em; line-height: 1.15; color: var(--brand); margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 12px;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--brand);
  flex: none;
  padding: 10px 0;
}
.brand-link img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name strong {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.brand-name span {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.nav-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 550;
  padding: 8px 2px;
}
.nav-links a:hover { color: var(--brand-2); }
.nav-cta { display: flex; gap: 8px; align-items: center; flex: none; }
.btn-sm { padding: 9px 14px; font-size: 13.5px; }
.ph-inline {
  display: inline-block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: #ffe3bd;
  border-radius: 999px;
  padding: 1px 7px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brand);
  margin: 4px auto;
  border-radius: 1px;
}

/* ===== Buttons / CTAs =====
   Lead CTA is controlled by body.cta-lead-demo or body.cta-lead-beta
*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 24px; font-size: 16px; }

.btn-solid {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-solid:hover { background: var(--accent-d); border-color: var(--accent-d); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
}
.btn-ghost:hover { background: var(--soft); color: var(--brand); }
.btn-on-dark.btn-solid { background: var(--accent); color: #fff; }
.btn-on-dark.btn-ghost {
  color: #fff;
  border-color: color-mix(in srgb, #fff 35%, transparent);
}
.btn-on-dark.btn-ghost:hover { background: color-mix(in srgb, #fff 10%, transparent); color: #fff; }

/* Default: demo is solid, beta is ghost */
.btn-demo { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-demo:hover { background: var(--accent-d); border-color: var(--accent-d); color: #fff; }
.btn-beta {
  background: transparent;
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
}
.btn-beta:hover { background: var(--soft); color: var(--brand); }

body.cta-lead-beta .btn-demo {
  background: transparent;
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
}
body.cta-lead-beta .btn-demo:hover { background: var(--soft); color: var(--brand); }
body.cta-lead-beta .btn-beta {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
body.cta-lead-beta .btn-beta:hover { background: var(--accent-d); border-color: var(--accent-d); color: #fff; }

/* On dark backgrounds, the non-lead button stays a light outline */
.hero .btn-beta,
.band-dark .btn-beta,
body.cta-lead-beta .hero .btn-demo,
body.cta-lead-beta .band-dark .btn-demo {
  color: #fff;
  border-color: color-mix(in srgb, #fff 40%, transparent);
  background: transparent;
}
.hero .btn-beta:hover,
.band-dark .btn-beta:hover,
body.cta-lead-beta .hero .btn-demo:hover,
body.cta-lead-beta .band-dark .btn-demo:hover {
  background: color-mix(in srgb, #fff 10%, transparent);
  color: #fff;
}
.hero .btn-demo,
.band-dark .btn-demo,
body.cta-lead-beta .hero .btn-beta,
body.cta-lead-beta .band-dark .btn-beta {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, #3b4d33 0%, transparent 60%),
    linear-gradient(165deg, var(--brand) 0%, var(--brand-3) 100%);
  color: #f4f2ee;
  padding: 64px 0 0;
  overflow: hidden;
}
.hero h1 { color: #fff; font-size: clamp(40px, 6vw, 68px); font-weight: 500; margin: 0 0 18px; letter-spacing: -0.03em; }
.hero .lede {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  color: color-mix(in srgb, #fff 82%, #c9d0c4);
  max-width: 38rem;
  margin: 0 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: end;
}
.hero-copy { padding-bottom: 72px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-note { font-size: 14px; color: color-mix(in srgb, #fff 62%, #c9d0c4); }
.hero-art {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-left: 12px;
}
.phone {
  background: #11150f;
  border: 3px solid #0d100c;
  border-radius: 32px;
  padding: 10px 8px 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.06);
  width: min(320px, 100%);
  position: relative;
  z-index: 2;
}
.phone-notch {
  width: 90px;
  height: 8px;
  background: #0d100c;
  border-radius: 0 0 8px 8px;
  margin: 0 auto 8px;
}
.phone img {
  border-radius: 20px;
  width: 100%;
  background: var(--bg);
}
.float-doc {
  position: absolute;
  right: -8px;
  top: 72px;
  width: 200px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  transform: rotate(5deg);
  z-index: 3;
  overflow: hidden;
}
.float-doc img { border-radius: 10px; width: 100%; }
.float-doc figcaption {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 8px 8px;
}

/* ===== Sections ===== */
section { padding: 88px 0; }
.section-head { max-width: 42rem; margin: 0 0 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Pain */
.pain { background: var(--bg); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pain-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  box-shadow: 0 1px 2px rgba(20,25,18,0.04);
}
.pain-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.pain-card h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
.pain-card p { font-size: 14.5px; color: var(--muted); }

/* Features */
.features { background: var(--bg); padding-top: 40px; }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature.reverse .feature-copy { order: 2; }
.feature.reverse .feature-media { order: 1; }
.feature h2 { font-size: clamp(28px, 3.2vw, 38px); }
.feature .body { color: var(--muted); font-size: 17.5px; margin-bottom: 16px; }
.feature ul { margin: 0; padding: 0; list-style: none; }
.feature li {
  position: relative;
  padding: 7px 0 7px 22px;
  color: var(--ink);
  font-size: 16px;
}
.feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 10px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.feature-media { display: flex; justify-content: center; }
.phone.light {
  background: #e8e4dc;
  border-color: #d4cfc4;
  box-shadow: var(--shadow);
}
.phone.light .phone-notch { background: #cfc9bc; }
.doc-frame {
  background: #fff;
  border-radius: 18px;
  padding: 14px 14px 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  width: min(360px, 100%);
}
.doc-frame img { border-radius: 8px; border: 1px solid var(--line); }
.doc-label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.media-stack { position: relative; width: min(420px, 100%); min-height: 420px; }
.media-stack .phone { width: min(300px, 80%); }
.media-stack .doc-frame {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: 230px;
  transform: rotate(4deg);
  z-index: 2;
}
.privacy-callout {
  margin-top: 18px;
  background: var(--green-soft);
  border: 1px solid color-mix(in srgb, var(--green) 22%, var(--line));
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--brand);
}
.privacy-callout strong { font-weight: 700; }
.placeholder-frame {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(420px, 100%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.placeholder-frame::before {
  content: "";
  position: absolute;
  inset: auto -20% 40% 40%;
  height: 180px;
  background: radial-gradient(circle, #3b4d33 0%, transparent 70%);
}
.placeholder-frame .kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
  color: color-mix(in srgb, #fff 55%, #c9d0c4);
  position: relative;
}
.placeholder-frame h3 {
  color: #fff;
  font-size: 28px;
  margin: 8px 0 0;
  position: relative;
}
.placeholder-frame p {
  position: relative;
  color: color-mix(in srgb, #fff 75%, #c9d0c4);
  margin-top: 10px;
  font-size: 15px;
}

.soon {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px dashed color-mix(in srgb, var(--brand) 25%, var(--line));
  border-radius: 14px;
  color: var(--muted);
  font-size: 15px;
  background: color-mix(in srgb, var(--soft) 50%, transparent);
}
.soon strong { color: var(--brand); font-weight: 650; }

/* How it works */
.how { background: var(--bg-deep); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.how-step {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
}
.how-step .num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--accent);
  font-weight: 550;
  display: block;
  margin-bottom: 8px;
}
.how-step h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.how-step p { color: var(--muted); font-size: 15px; }

/* Videos */
.videos { background: var(--bg); }
.video-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}
.video-card {
  background: var(--brand);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  text-decoration: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: default;
}
.video-card.featured { grid-column: 1; grid-row: 1 / span 2; min-height: 420px; }
.video-card img, .video-card .poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
}
.video-card.featured img { object-position: top center; }
.video-card .poster {
  background:
    radial-gradient(600px 280px at 80% 0%, #3b4d33, transparent 60%),
    linear-gradient(180deg, #2a3725 0%, var(--brand-3) 100%);
}
.video-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(16, 20, 14, 0.82) 100%);
}
.video-card.featured .shade {
  background: linear-gradient(180deg, rgba(16, 20, 14, 0) 20%, rgba(16, 20, 14, 0.45) 55%, rgba(16, 20, 14, 0.96) 78%, #141810 100%);
}
.video-card .soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: color-mix(in srgb, #141810 58%, transparent);
  border: 1.5px solid color-mix(in srgb, #fff 40%, transparent);
  border-radius: 999px;
  padding: 8px 12px;
  backdrop-filter: blur(8px);
}
.video-meta { position: relative; z-index: 1; padding: 20px 20px 22px; }
.video-meta .tag {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, #fff 70%, #e8c48a);
  margin-bottom: 6px;
}
.video-meta h3 { color: #fff; font-size: 22px; font-family: var(--serif); font-weight: 500; margin: 0 0 4px; }
.video-meta p { font-size: 14px; color: color-mix(in srgb, #fff 72%, #c9d0c4); }
.video-card.soon-vid { opacity: 1; }
.video-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Pricing */
.pricing { background: var(--bg-deep); }
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  box-shadow: var(--shadow);
  max-width: 920px;
}
.price-card h3 { font-size: 30px; margin-bottom: 8px; }
.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.price-chip {
  background: var(--accent-soft);
  border: 2px dashed var(--accent);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 180px;
}
.price-chip .ph {
  display: inline-block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: #ffe3bd;
  border-radius: 999px;
  padding: 2px 8px;
  margin-bottom: 6px;
}
.price-chip .amt {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--brand);
  line-height: 1.1;
}
.price-chip .per { font-size: 14px; color: var(--muted); }
.price-caveat {
  font-size: 14px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 10px 12px;
}
.price-card ul { margin: 0; padding: 0; list-style: none; }
.price-card li { padding: 6px 0 6px 22px; position: relative; }
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.founding-note {
  margin-top: 20px;
  font-size: 15px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 14px;
  padding: 14px 16px;
  line-height: 1.45;
}

/* FAQ */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 17px;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-weight: 400;
  font-size: 22px;
  color: var(--muted);
  flex: none;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .ans { color: var(--muted); padding: 0 0 18px; max-width: 62ch; }

/* Sign up */
.signup { background: var(--brand); color: #f4f2ee; }
.signup h2 { color: #fff; }
.signup .section-head p { color: color-mix(in srgb, #fff 75%, #c9d0c4); }
.form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 760px;
  box-shadow: var(--shadow-lg);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 650; }
.req { color: var(--red); }
.field input, .field select, .field textarea {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
.choice {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.choice label {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.choice input { accent-color: var(--accent); }
.form-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form-fine { font-size: 13px; color: var(--muted); }
.form-ok {
  display: none;
  margin-top: 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
}
.form-ok.show { display: block; }
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.form-fine a { color: var(--brand); font-weight: 650; }
.form-fine a:hover { color: var(--accent-d); }

/* Footer */
footer.site {
  background: var(--brand-3);
  color: color-mix(in srgb, #fff 70%, #c9d0c4);
  padding: 36px 0;
  font-size: 14px;
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
footer.site .end-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 650;
}
footer.site .end-brand img { width: 32px; height: 32px; border-radius: 8px; }
footer.site .by { color: color-mix(in srgb, #fff 55%, #c9d0c4); font-weight: 500; }
footer.site a { color: #e8c48a; font-weight: 650; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }

.thank {
  padding: 128px 0 96px;
  min-height: calc(100vh - 220px);
  background: var(--bg);
}
.thank .eyebrow { margin-bottom: 10px; }
.thank h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  max-width: 16ch;
}
.thank .lede { font-size: 19px; color: var(--muted); max-width: 42ch; }
.thank .lede a { color: var(--brand); font-weight: 650; }
.thank .hero-actions { margin-top: 28px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid, .feature, .feature.reverse, .price-card, .how-grid { grid-template-columns: 1fr; }
  .feature.reverse .feature-copy, .feature.reverse .feature-media { order: unset; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .pain-grid .pain-card:last-child { grid-column: 1 / -1; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-card.featured { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
  .hero-art { min-height: 0; padding: 0 0 40px; }
  .float-doc { display: none; }
  .hero-copy { padding-bottom: 24px; }
  .media-stack { min-height: 0; }
  .media-stack .doc-frame { position: static; width: min(360px, 100%); transform: none; margin-top: 16px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav-panel { display: none; }
  .nav.open .nav-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
    margin: 0;
    gap: 12px;
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links { flex-direction: column; align-items: stretch; }
  .nav.open .nav-cta { justify-content: stretch; flex-wrap: wrap; }
  .nav.open .nav-cta .btn { flex: 1; }
  .form-grid, .pain-grid, .video-grid { grid-template-columns: 1fr; }
  .pain-grid .pain-card:last-child { grid-column: auto; }
  .video-card.featured { grid-column: auto; }
  section { padding: 64px 0; }
  .price-card, .form { padding: 24px 20px; }
  .wrap, .nav-inner { width: min(var(--max), calc(100% - 28px)); }
}
