@font-face {
  font-family: "CK Bricolage";
  src: url("../fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "CK Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #111815;
  --paper: #f5f0e5;
  --paper-bright: #fffaf0;
  --orange: #f36b2b;
  --orange-dark: #d84d12;
  --olive: #68705a;
  --acid: #d7e55c;
  --line: rgba(17, 24, 21, 0.18);
  --display: "CK Bricolage", "Avenir Next Condensed", sans-serif;
  --body: "CK Manrope", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

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

.shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.promo-banner {
  padding: 10px 24px;
  background: var(--acid);
  text-align: center;
  font-weight: 750;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-symbol {
  position: relative;
  width: 29px;
  height: 29px;
  display: inline-block;
  transform: rotate(-7deg);
}

.brand-symbol::before,
.brand-symbol span {
  content: "";
  position: absolute;
  background: var(--orange);
  border-radius: 2px;
}

.brand-symbol::before { inset: 4px 2px 3px 13px; }
.brand-symbol span:first-child { inset: 1px 14px 13px 2px; }
.brand-symbol span:last-child { inset: 17px 14px 1px 2px; }

.desktop-nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
}

.desktop-nav a,
.text-link,
.footer-links a,
.footer-links button {
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover,
.text-link:hover,
.footer-links a:hover,
.footer-links button:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 22px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); background: #ff7c3d; }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #2176ff; outline-offset: 3px; }
.button-small { min-height: 42px; padding: 8px 15px; box-shadow: 3px 3px 0 var(--ink); }
.button-secondary { background: var(--paper-bright); }
.button-inverse { background: var(--paper-bright); }

.hero {
  min-height: calc(100svh - 76px);
  padding-block: clamp(56px, 8vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1, h2, h3 { font-family: var(--display); }

h1 {
  margin: 0;
  font-size: clamp(4.3rem, 8.2vw, 8.7rem);
  line-height: 0.79;
  letter-spacing: -0.075em;
  font-weight: 800;
}

h1 em {
  color: var(--orange-dark);
  font-style: normal;
}

.hero-lead {
  max-width: 650px;
  margin: 34px 0 0;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 580;
}

.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-proof { margin: 30px 0 0; max-width: 510px; color: rgba(17, 24, 21, 0.66); font-size: 0.88rem; }

.hero-film {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--olive);
  box-shadow: 13px 13px 0 var(--ink);
  transform: rotate(1.2deg);
}

.hero-film video,
.film-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-fallback { background: url("../img/hero-pain-poster.jpg") center / cover no-repeat; z-index: 0; }
.hero-film video { z-index: 1; }

.hero-film::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 56%, rgba(17, 24, 21, 0.72));
  mix-blend-mode: multiply;
}

.ai-label {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 99px;
  background: rgba(17, 24, 21, 0.78);
  color: var(--paper-bright);
  font-size: 0.68rem;
  font-weight: 750;
}

.film-caption {
  position: absolute;
  z-index: 4;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(0.66rem, 1vw, 0.85rem);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.film-caption i { width: 22px; height: 2px; background: var(--orange); }

.flow-section {
  padding: clamp(80px, 10vw, 150px) 0;
  color: var(--paper-bright);
  background: var(--ink);
}

.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 70px; }
.section-intro h2, .tool-callout h2, .final-cta h2 { margin: 0; font-size: clamp(3.3rem, 6vw, 6.9rem); line-height: 0.88; letter-spacing: -0.06em; }

.flow-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 250, 240, 0.3);
}

.flow-grid li { min-height: 320px; padding: 24px 26px 30px 0; border-right: 1px solid rgba(255, 250, 240, 0.23); }
.flow-grid li:not(:first-child) { padding-left: 26px; }
.flow-grid li:last-child { border-right: 0; }
.step-number { color: var(--orange); font-family: var(--display); font-weight: 800; }
.flow-grid h3 { margin: 110px 0 14px; font-size: 1.55rem; letter-spacing: -0.035em; }
.flow-grid p { margin: 0; color: rgba(255, 250, 240, 0.7); font-size: 0.93rem; }

.tool-callout {
  padding-block: clamp(90px, 11vw, 160px);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 90px;
  align-items: end;
}

.tool-callout h2 { max-width: 850px; }
.tool-callout > div:last-child { padding-bottom: 10px; }
.tool-callout > div:last-child p { max-width: 420px; font-size: 1.08rem; }
.arrow-link { display: inline-flex; gap: 30px; margin-top: 20px; font-family: var(--display); font-size: 1.2rem; font-weight: 800; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; }

.trust-section { background: var(--acid); border-block: 2px solid var(--ink); }
.trust-grid { min-height: 520px; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
.trust-grid blockquote { margin: 0; padding: 80px 80px 80px 0; display: grid; align-items: center; border-right: 2px solid var(--ink); }
.trust-grid blockquote p { margin: 0; font-family: var(--display); font-size: clamp(3rem, 5vw, 5.6rem); font-weight: 800; line-height: 0.92; letter-spacing: -0.065em; }
.trust-points { display: grid; }
.trust-points div { display: grid; align-content: center; padding: 26px 0 26px 70px; border-bottom: 1px solid var(--ink); }
.trust-points div:last-child { border-bottom: 0; }
.trust-points strong { font-family: var(--display); font-size: 1.2rem; }
.trust-points span { margin-top: 4px; font-size: 0.88rem; }

.final-cta {
  min-height: 75vh;
  padding-block: 110px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.final-cta h2 { font-size: clamp(5rem, 11vw, 11rem); }
.final-cta .button { margin-top: 50px; }
.final-cta .hero-actions { justify-content: center; margin-top: 50px; }
.final-cta .hero-actions .button { margin-top: 0; }

.site-footer { border-top: 2px solid var(--ink); }
.footer-inner { min-height: 140px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 50px; }
.brand-footer { font-size: 1.05rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links button { padding: 0; border: 0; background: none; cursor: pointer; }
.footer-inner > p { margin: 0; font-size: 0.78rem; }

.consent {
  position: fixed;
  z-index: 90;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 1080px;
  margin-inline: auto;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: end;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 9px 9px 0 var(--ink);
}

.consent[hidden] { display: none; }
.consent h2, .consent-dialog h2 { margin: 0; font-size: 2rem; line-height: 1; letter-spacing: -0.04em; }
.consent-copy > p:not(.eyebrow) { max-width: 690px; margin: 13px 0 4px; font-size: 0.88rem; }
.consent-copy a { font-size: 0.78rem; font-weight: 750; }
.consent-actions { display: flex; gap: 12px; }
.consent-actions .button { min-height: 46px; white-space: nowrap; }

.consent-dialog {
  width: min(660px, calc(100% - 32px));
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 10px 10px 0 var(--ink);
}
.consent-dialog::backdrop { background: rgba(17, 24, 21, 0.66); backdrop-filter: blur(4px); }
.consent-dialog form { position: relative; padding: 34px; }
.dialog-close { position: absolute; top: 17px; right: 19px; border: 0; background: none; font-size: 1.8rem; cursor: pointer; }
.consent-option { margin-top: 22px; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 1px solid var(--line); }
.consent-option div { display: grid; gap: 3px; }
.consent-option span { font-size: 0.79rem; color: rgba(17, 24, 21, 0.65); }
.always-on { color: var(--olive); font-weight: 800; white-space: nowrap; }
.consent-option input { width: 46px; height: 24px; accent-color: var(--orange-dark); }
.dialog-actions { margin-top: 28px; display: flex; justify-content: flex-end; gap: 14px; }
.noscript-note { margin: 0; padding: 12px; background: var(--acid); text-align: center; font-size: 0.85rem; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-film { min-height: min(72vw, 660px); transform: none; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid li { min-height: 250px; border-bottom: 1px solid rgba(255, 250, 240, 0.23); }
  .flow-grid li:nth-child(2) { border-right: 0; }
  .flow-grid h3 { margin-top: 65px; }
  .tool-callout { grid-template-columns: 1fr; gap: 45px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid blockquote { padding-right: 0; border-right: 0; border-bottom: 2px solid var(--ink); }
  .trust-points div { min-height: 150px; padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; padding-block: 38px; }
  .consent { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 30px, 1240px); }
  .site-header { position: relative; }
  .header-inner { min-height: 66px; }
  .header-actions .text-link { display: none; }
  .button-small { font-size: 0.8rem; }
  .hero { padding-block: 52px 74px; gap: 48px; }
  h1 { font-size: clamp(3.85rem, 18vw, 5.4rem); }
  .hero-lead { margin-top: 28px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-film { min-height: 112vw; box-shadow: 7px 7px 0 var(--ink); }
  .film-caption { gap: 7px; }
  .film-caption i { width: 10px; }
  .section-intro { display: block; }
  .section-intro h2 { margin-top: 25px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid li, .flow-grid li:not(:first-child) { min-height: 220px; padding: 24px 0 26px; border-right: 0; }
  .flow-grid h3 { margin-top: 52px; }
  .tool-callout { padding-block: 90px; }
  .tool-callout h2 { font-size: 3.15rem; }
  .trust-grid blockquote { padding-block: 65px; }
  .trust-points div { min-height: 140px; }
  .final-cta { min-height: 70vh; }
  .final-cta h2 { font-size: clamp(4.4rem, 22vw, 6.8rem); }
  .footer-links { display: grid; }
  .footer-links button { text-align: left; }
  .consent { left: 8px; right: 8px; bottom: 8px; padding: 20px; box-shadow: 5px 5px 0 var(--ink); }
  .consent-actions, .dialog-actions { display: grid; }
  .consent-actions .button:first-child { order: 2; }
  .consent-dialog form { padding: 27px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .hero-film video { display: none; }
}
