/* Pitchpress Night Match landing page styles.
   Colour roles are overridden by night-match-tokens.css when
   <html data-theme="night"> is set. */
:root {
  --ink: #0F2A1D;
  --muted: #3A5A48;
  --mist: #EEF2EF;
  --cream: #FFF7EC;
  --paper: #FFFBF5;
  --white: #FFFFFF;
  --brand: #0B7A3E;
  --brand-dark: #086433;
  --accent: #FF6A13;
  --accent-soft: #FFE1CC;
  --border: #0F2A1D;
  --sage: #999A7A;
  --sage-dark: #6F7058;
  --line: color-mix(in srgb, var(--ink) 18%, transparent);
  --shadow: 0 12px 32px color-mix(in srgb, var(--ink) 10%, transparent);
  --font-display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1120px;
  --tap: 56px;
}

* { 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;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); }
a:hover { color: var(--ink); }

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

/* Spacing only: nginx CSP is default-src 'self' and blocks inline styles. */
.stack-gap { height: 1rem; }
.stack-gap-tight { height: 0.9rem; }
.stack-gap-xs { height: 0.6rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
  position: relative;
}
.logo-word::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  margin-top: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--brand); }
.nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--brand);
  color: var(--white);
  border: 3px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
}
.nav .nav-cta:hover { background: var(--brand-dark); color: var(--white); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0 1.4rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
  border: 3px solid var(--border);
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--white); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #ff7d30; color: var(--ink); }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin: 0 0 0.6rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.55rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 650;
  line-height: 1.45;
}

/* Hero */
.hero {
  padding: 2.5rem 0 3.25rem;
}
.hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-areas:
    "copy"
    "art"
    "form";
}
.hero-copy { grid-area: copy; }
.hero-art { grid-area: art; }
.hero-grid .interest-form { grid-area: form; }
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1.08fr;
    grid-template-areas:
      "copy art"
      "form art";
    column-gap: 2.5rem;
    row-gap: 1.35rem;
    align-items: start;
  }
}
.hero h1 { margin-bottom: 1rem; }
.hero .lede { margin-bottom: 0.75rem; max-width: 36rem; }
.hero-support {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0;
}

.hero-actions {
  margin-top: 1.15rem;
}
.hero-actions .btn {
  display: inline-flex;
}


.hero-art {
  background: var(--cream);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: var(--cream);
}
.hero-art figcaption {
  background: var(--sage);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  text-align: center;
}

/* Form */
.interest-form {
  background: var(--white);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
}
.interest-form h2 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.form-grid {
  display: grid;
  gap: 0.7rem;
}
@media (min-width: 560px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
input, select, textarea {
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  min-height: 48px;
  width: 100%;
}
textarea { min-height: 5rem; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, .nav a:focus-visible, .nav-toggle:focus-visible, .logo:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.form-actions { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.55rem; }
.form-actions .btn { width: 100%; }
.form-note, .form-status {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}
.form-status[hidden] { display: none; }
.form-status.is-ok {
  display: block;
  background: color-mix(in srgb, var(--brand) 12%, var(--white));
  border: 2px solid var(--brand);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  color: var(--ink);
}

section { padding: 3.25rem 0; }
.section-mist { background: var(--mist); }
.section-ink {
  background: var(--ink);
  color: var(--cream);
}
.section-ink .kicker { color: var(--accent); }
.section-ink h2 { color: var(--cream); }
.section-head { max-width: 40rem; margin-bottom: 1.75rem; }
.section-head h2 + p { margin-top: 0.9rem; }

/* Pain + pitch */
.story-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 880px) {
  .story-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
.story-art {
  border: 3px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream);
}
.story-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: var(--cream);
}
.pitch-panel {
  background: var(--white);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
}
.pitch-panel p { font-size: 1.12rem; }
.pitch-payoff {
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.4;
  margin-top: 0.4rem;
}

/* Workflow */
.steps {
  display: grid;
  gap: 1rem;
  position: relative;
}
@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
  }
  .steps::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 8%;
    right: 8%;
    height: 4px;
    background: var(--ink);
    z-index: 0;
    opacity: 0.18;
  }
}
.step {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
}
.step-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.step-num {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.step-icon {
  width: 52px;
  height: 52px;
  flex: none;
  margin-left: auto;
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: 16px;
  display: grid;
  place-items: center;
}
.step-icon svg { width: 30px; height: 30px; }
.step h3 { font-size: 1.12rem; line-height: 1.2; }
.step p { color: var(--muted); font-size: 1rem; font-weight: 600; }

/* Sample report */
.sample-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .sample-grid { grid-template-columns: 1.4fr 0.9fr; align-items: start; }
}
.newspaper {
  background: var(--paper);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.newspaper .masthead {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  border-bottom: 3px solid var(--border);
  padding-bottom: 0.55rem;
  margin-bottom: 0.9rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.newspaper h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-bottom: 0.45rem;
}
.scoreline {
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--brand-dark);
}
.newspaper p { font-size: 1.05rem; }
.social-card {
  background: var(--white);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
}
.social-card .chip {
  display: inline-block;
  background: var(--accent-soft);
  border: 2px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.7rem;
}
.social-card p { font-size: 1.05rem; font-weight: 600; }
.fineprint {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

/* Safeguarding */
.safe-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .safe-grid { grid-template-columns: 1.2fr 0.8fr; }
}
.safe-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.safe-list li {
  background: var(--white);
  border: 3px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-weight: 600;
}
.safe-list strong { font-weight: 800; }
.cast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.cast figure {
  margin: 0;
  background: var(--cream);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cast img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 30%;
  background: var(--cream);
}

/* Benefits */
.benefits {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
}
.benefit {
  background: var(--white);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
}
.benefit img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  object-position: center 40%;
  background: var(--cream);
  border-radius: 16px;
  margin-bottom: 0.8rem;
}
.benefit h3 { margin-bottom: 0.45rem; }
.coming-soon {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
  border: 3px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}
.coming-soon strong { color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 0.7rem; max-width: 48rem; }
details {
  background: var(--white);
  border: 3px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.15rem 0;
}
summary {
  cursor: pointer;
  font-weight: 800;
  padding: 0.85rem 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--brand);
}
details[open] summary::after { content: "-"; } /* will replace if this is en-dash - use hyphen */
details p {
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-weight: 600;
}

/* Close */
.close {
  text-align: center;
  padding: 3.5rem 0 3.75rem;
}
.close h2 { margin-bottom: 0.8rem; }
.close .lede { margin: 0 auto 1.4rem; max-width: 32rem; color: color-mix(in srgb, var(--cream) 85%, var(--sage)); font-weight: 600; }
.close .btn { min-width: 16rem; }

footer {
  border-top: 3px solid var(--border);
  padding: 1.4rem 0 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
footer .wrap { display: flex; flex-direction: column; gap: 0.35rem; }
footer strong { color: var(--ink); }

@media (max-width: 799px) {
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 3px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.35rem;
  }
  .nav a { padding: 0.7rem 0.2rem; }
  .nav .nav-cta { text-align: center; }
  .nav-toggle { display: grid; place-items: center; }
  body.nav-open .nav { display: flex; }
}

.step-art {
  display: block;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  margin: 0 auto 0.9rem;
  border-radius: var(--radius-sm);
}
.hero-art picture,
.story-art picture {
  display: block;
  width: 100%;
}