:root {
  --paper: #f5f5f3;
  --paper-2: #efece6;
  --ink: #1c1c1c;
  --muted: rgba(28, 28, 28, 0.62);
  --dim: rgba(29, 28, 28, 0.3);
  --orange: #ff4000;
  --peach: #f6e8e2;
  --white: #ffffff;
  --dark: #1d1d1d;
  --line: rgba(0, 0, 0, 0.12);
  --line-2: rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 700;
  font-variation-settings: "opsz" 36, "wght" 700;
  letter-spacing: -0.028em;
  line-height: 0.99;
}

p {
  margin: 0;
}

.orange {
  color: var(--orange);
}

.dim {
  color: var(--dim);
}

/* ---- shared bits ---- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px 7px;
  border-radius: 100px;
  background: var(--peach);
  color: var(--orange);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.btn-primary,
.btn-ghost,
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #000;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-primary .arrow,
.header-cta .arrow {
  font-size: 18px;
  transform: translateY(1px);
}

/* ---- header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  /* full-width frosted bar; content stays aligned with the 1180px container */
  padding: 15px max(24px, calc((100% - 1180px) / 2));
  background: rgba(245, 245, 243, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand img {
  display: block;
  width: 150px;
  height: auto;
}

.header-cta {
  min-height: 46px;
  padding: 0 20px;
  font-size: 16px;
  background: var(--ink);
  color: var(--white);
}

.header-cta:hover {
  background: #000;
}

/* ---- hero ---- */

.hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 84px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 56px;
  align-items: center;
}

.hero-copy .eyebrow {
  margin-bottom: 26px;
}

.hero-title {
  font-size: 66px;
  margin-bottom: 26px;
  overflow-wrap: break-word;
}

/* Prevent long display lines from blowing out grid tracks (min-width:auto). */
.hero-inner > *,
.ask-inner > *,
.pilot-inner > *,
.cards > * {
  min-width: 0;
}

.hero-lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.46;
  font-weight: 450;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.trust-strip span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

/* hero scene card — visually continues the ad that was clicked */
.hero-visual {
  position: relative;
}

.scene-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.16);
  aspect-ratio: 5 / 6;
  background: var(--paper-2);
}

.scene-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 245, 243, 0) 55%, rgba(28, 24, 20, 0.32));
}

.scene-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: var(--ink);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.scene-tag::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 100px;
  background: var(--orange);
}

/* ---- generic section ---- */

.section {
  border-top: 1px solid var(--line);
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head .eyebrow {
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: 48px;
}

.section-head p {
  margin-top: 20px;
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

/* ---- the ask band ---- */

.ask {
  background: var(--paper-2);
}

.ask-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.ask h2 {
  font-size: 44px;
  max-width: 620px;
}

.ask p {
  margin-top: 20px;
  max-width: 600px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

/* ---- third-party pull quote ---- */

.bigquote {
  margin: 0;
  max-width: 1000px;
}

.bigquote p {
  position: relative;
  margin: 0;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.bigquote p::before {
  content: "\201C";
  position: absolute;
  top: -0.42em;
  left: -0.06em;
  color: var(--orange);
  font-size: 1.1em;
  opacity: 0.28;
}

.bigquote cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* ---- the problem, in numbers ---- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  padding: 32px 30px;
}

.stat strong {
  display: block;
  margin-bottom: 16px;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 700;
  font-size: 62px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--orange);
}

.stat-line {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.5;
}

.stat-line b {
  color: var(--ink);
  font-weight: 600;
}

.src {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(28, 28, 28, 0.42);
}

/* ---- steps / cards ---- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  padding: 32px 30px;
}

.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--peach);
  color: var(--orange);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 26px;
}

.card h3 {
  font-size: 25px;
  line-height: 1.06;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.5;
}

/* ---- pilot / proof ---- */

.pilot-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.pilot-copy h2 {
  font-size: 44px;
}

.pilot-copy p {
  margin-top: 22px;
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

.pilot-steps {
  display: grid;
  gap: 12px;
}

.pilot-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 22px 24px;
}

.pilot-step .tag {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 3px;
  white-space: nowrap;
}

.pilot-step h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.pilot-step p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.46;
}

/* ---- final CTA (dark contrast band) ---- */

.final {
  background: var(--dark);
  color: var(--white);
}

.final-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.final-inner img {
  width: 150px;
  margin-bottom: 34px;
}

.final-inner .eyebrow {
  background: rgba(255, 64, 0, 0.16);
  margin-bottom: 24px;
}

.final-inner h2 {
  font-size: 52px;
  max-width: 840px;
  color: var(--white);
}

/* dim emphasis must lighten on the dark band, not darken into it */
.final-inner .dim {
  color: rgba(255, 255, 255, 0.34);
}

.final-inner p {
  margin: 22px 0 32px;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 19px;
  line-height: 1.5;
}

.final-inner .btn-primary {
  background: var(--orange);
  min-height: 56px;
  font-size: 19px;
}

.final-inner .btn-primary:hover {
  background: #ff5a22;
}

/* inline Cal.com booking embed */
.cal-card {
  width: 100%;
  margin-top: 36px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  padding: 10px;
  overflow: hidden;
}

.cal-inline {
  width: 100%;
  min-height: 620px;
  overflow: auto;
  border-radius: 14px;
}

/* fallback shown until Cal renders (or if it fails to load) */
.cal-fallback {
  margin: 40px auto;
}

.cal-inline:has(iframe) .cal-fallback {
  display: none;
}

/* ---- footer ---- */

.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

/* ---- responsive ---- */

@media (max-width: 940px) {
  .hero-inner,
  .pilot-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ask-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cards,
  .stats {
    grid-template-columns: 1fr;
  }

  .bigquote p {
    font-size: 30px;
  }

  .hero-visual {
    order: -1;
  }

  .scene-card {
    aspect-ratio: 16 / 10;
  }

  .hero-title {
    font-size: 52px;
  }

  .section-head h2,
  .ask h2,
  .pilot-copy h2 {
    font-size: 38px;
  }

  .final-inner h2 {
    font-size: 40px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 18px 0;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-title {
    font-size: clamp(27px, 8.2vw, 40px);
    letter-spacing: -0.02em;
  }

  .section-head h2,
  .ask h2,
  .pilot-copy h2,
  .final-inner h2 {
    font-size: 31px;
  }

  .section-head,
  .section-head p {
    margin-bottom: 32px;
  }

  .hero-lede,
  .section-head p,
  .ask p,
  .pilot-copy p {
    font-size: 17px;
  }

  .bigquote p {
    font-size: 25px;
  }

  .stat strong {
    font-size: 52px;
  }

  .section-inner,
  .final-inner {
    padding: 64px 0;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}
