/* Pitch B&W tokens — mirrored from src/app/globals.css + home.css */

:root {
  --pitch-bg: #0a0a0a;
  --pitch-fg: #f4f4f4;
  --pitch-muted: #b4b4b4;
  --pitch-faint: #9a9a9a;
  --pitch-line: #2a2a2a;
  --pitch-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pitch-move: 0.45rem;
  --pitch-duration: 420ms;
  --font-inter-tight: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --d: 0ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100%;
  background: var(--pitch-bg);
  color: var(--pitch-fg);
  color-scheme: dark;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pitch-page {
  background: var(--pitch-bg);
  color: var(--pitch-fg);
  overflow-x: clip;
}

.home-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(4.75rem, 12vh, 7.5rem) clamp(1.25rem, 5.4vw, 5rem) clamp(2.75rem, 8vh, 4.75rem);
  border-bottom: 1px solid var(--pitch-line);
}

.home-slide:last-child {
  border-bottom: 0;
}

.home-slide-compact {
  min-height: 0;
  padding-block: clamp(4.5rem, 10vh, 6.5rem);
}

.home-frame {
  width: 100%;
  max-width: 88rem;
  margin-inline: auto;
}

.home-kicker {
  margin: 0 0 1.1rem;
  font-size: clamp(0.68rem, 1.05vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--pitch-muted);
}

.home-display {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-inter-tight);
  font-size: clamp(2.15rem, 4.6vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--pitch-fg);
}

.home-display-lg {
  max-width: 14ch;
  font-size: clamp(2.35rem, 6.8vw, 5.6rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.home-display-ask {
  margin: 0;
  max-width: 28ch;
  font-family: var(--font-inter-tight);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--pitch-fg);
}

.home-hero-copy .home-display-ask {
  margin-top: 1.15rem;
}

.home-support {
  margin: 0;
  max-width: 34rem;
  min-width: 0;
  overflow-wrap: break-word;
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  color: var(--pitch-muted);
}

.home-hero-copy {
  display: flex;
  min-width: 0;
  max-width: 46rem;
  flex-direction: column;
  justify-content: center;
}

.home-hero-copy .home-support {
  margin-top: 1.5rem;
}

.home-lead .home-support {
  margin-top: 1.35rem;
}

.home-lead .home-support + .home-support {
  margin-top: 0.85rem;
}

.home-why-headline {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-inter-tight);
  font-size: clamp(1.55rem, 3.4vw, 3.05rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.home-why-mark {
  margin: 0;
  font-family: var(--font-inter-tight);
  font-size: clamp(1.15rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.home-how-list {
  display: grid;
  gap: 0;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.home-how-item {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.15rem 0 1.2rem;
  border-top: none;
  border-bottom: none;
}

.home-how-item:not(:first-child):not(:last-child) {
  border-top: 1px solid var(--pitch-line);
}

.home-how-item:nth-last-child(2):not(:first-child) {
  border-bottom: 1px solid var(--pitch-line);
}

.home-how-item:first-child:nth-last-child(2) + .home-how-item {
  border-top: 1px solid var(--pitch-line);
}

.home-how-index {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pitch-faint);
}

.home-how-title {
  margin: 0;
  font-family: var(--font-inter-tight);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.home-how-body {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--pitch-muted);
}

.home-close .home-support {
  margin-top: 1.5rem;
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.1rem 1.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin: 0;
  padding: 0 0 0.12em;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: none;
  cursor: pointer;
  transition: opacity var(--pitch-duration) var(--pitch-ease);
}

.btn::after {
  content: "→";
  margin-left: 0.55em;
  letter-spacing: normal;
}

.btn:hover,
.btn:focus-visible {
  opacity: 0.7;
}

.btn:active {
  opacity: 0.55;
}

.btn:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

/* Motion — ported from globals.css FadeIn / Reveal / SlideUp */
.anim-fade-in,
.anim-fade-up,
.anim-slide-up {
  animation-delay: var(--d, 0ms);
  animation-duration: var(--pitch-duration);
  animation-timing-function: var(--pitch-ease);
  animation-fill-mode: both;
}

.anim-fade-in.is-instant {
  animation: none;
}

.home-reveal.is-pending {
  opacity: 0;
}

@keyframes deck-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes deck-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, var(--pitch-move), 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes deck-slide-up {
  from {
    opacity: 0;
    transform: translate3d(0, 0.7rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .anim-fade-in:not(.is-instant) {
    animation-name: deck-fade;
  }

  .anim-fade-up {
    animation-name: deck-fade-up;
  }

  .anim-slide-up {
    animation-name: deck-slide-up;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .anim-fade-in:not(.is-instant),
  .anim-fade-up,
  .anim-slide-up {
    animation: deck-fade 120ms ease both;
    animation-delay: 0ms !important;
  }

  .anim-fade-in.is-instant {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .home-reveal.is-pending {
    opacity: 1;
  }

  .btn {
    transition: none;
  }
}

.page-split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.pitch-faq {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
}

.pitch-faq-item {
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem 0;
  border-top: none;
  border-bottom: none;
}

.pitch-faq-item:not(:first-child):not(:last-child) {
  border-top: 1px solid var(--pitch-line);
}

.pitch-faq-item:nth-last-child(2):not(:first-child) {
  border-bottom: 1px solid var(--pitch-line);
}

.pitch-faq-item:first-child:nth-last-child(2) + .pitch-faq-item {
  border-top: 1px solid var(--pitch-line);
}

.pitch-faq-item .home-support {
  max-width: none;
}

@media (max-width: 480px) {
  .home-cta-row {
    flex-direction: column;
  }
}

/* Mobile readability: no copy/labels below 16px */
@media (max-width: 767px) {
  .home-kicker,
  .home-how-index {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .home-how-item {
    grid-template-columns: 3.5rem minmax(0, 0.42fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4.5rem;
  }

  .pitch-faq-item {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 2rem;
    align-items: start;
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
    color-scheme: light;
  }

  .pitch-page {
    --pitch-bg: #fff;
    --pitch-fg: #111;
    --pitch-muted: #444;
    --pitch-faint: #666;
    --pitch-line: #ccc;
    background: #fff;
    color: #111;
  }

  .home-slide {
    min-height: 0;
    padding-block: 1.75rem;
  }

  .home-slide-compact {
    padding-block: 1.35rem;
  }

  .home-how-item,
  .pitch-faq-item {
    break-inside: avoid;
  }

  .home-reveal.is-pending,
  .anim-fade-in,
  .anim-fade-up,
  .anim-slide-up {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
