/* =====================================================
   Xarify — Pitch Deck Vibe
   Yellow + Cream + Charcoal. Triangle motifs. Editorial.
   Cross-browser: vendor prefixes where needed, no :has(),
   feature fallbacks for gap, clip-path, backdrop-filter.
   ===================================================== */

/* ---------- Tokens ---------- */
:root {
  --yellow: #FFD60A;
  --yellow-deep: #F4C500;
  --yellow-soft: #FFF1A8;
  --cream: #FAF7F0;
  --cream-2: #F2EDE0;
  --paper: #FFFFFF;
  --ink: #15141A;
  --ink-2: #2A2832;
  --ink-soft: #4B4956;
  --ink-mute: #7A7884;
  --rule: #E6E1D2;
  --rule-strong: #1A1820;
  --shadow-sm: 0 2px 8px rgba(20, 18, 26, 0.06);
  --shadow-md: 0 18px 50px rgba(20, 18, 26, 0.10);
  --shadow-lg: 0 30px 80px rgba(20, 18, 26, 0.18);

  --font-display: 'Archivo', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --container: 1200px;
  --container-narrow: 880px;
  --nav-h: 72px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul { list-style: none; padding: 0; margin: 0; }

/* Triangle accents reusable as ::before / ::after pseudo-shapes via clip-path */
/* Cross-browser clip-path needs vendor prefix on older Safari */

/* ---------- Type ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 900; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-soft); line-height: 1.55; }

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.gradient-text {
  background: var(--yellow);
  background: linear-gradient(180deg, transparent 60%, var(--yellow) 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.05em;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section + .section { padding-top: 96px; }
.center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  -webkit-transition: -webkit-transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--yellow);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
  text-decoration: none;
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--yellow);
  text-decoration: none;
}
.btn-arrow::after {
  content: "→";
  font-family: var(--font-display);
  font-weight: 700;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
}
.btn-arrow:hover::after {
  -webkit-transform: translateX(4px);
  transform: translateX(4px);
}
.btn[disabled], .btn.is-busy {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Nav ---------- */
.nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250, 247, 240, 0.92);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: 220px;
  user-select: none;
  flex: 0 0 auto;
}
.footer .brand-logo,
.brand-logo-light { height: 64px; max-width: 280px; }
@media (max-width: 820px) {
  .brand-logo { height: 38px; max-width: 180px; }
  .footer .brand-logo, .brand-logo-light { height: 54px; max-width: 240px; }
}
@media (max-width: 540px) {
  .brand-logo { height: 34px; max-width: 160px; }
  .footer .brand-logo, .brand-logo-light { height: 48px; max-width: 220px; }
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links li { display: inline-flex; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--ink-soft); text-decoration: none; }
.nav-links a.btn { padding: 10px 20px; font-size: 13px; }
.nav-links a.btn-primary { color: var(--yellow); }
.nav-links a.btn-primary:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  background: var(--ink);
  color: var(--yellow);
  border: 2px solid var(--ink);
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav-toggle:hover { background: var(--yellow); color: var(--ink); }
.nav-toggle .nt-bars {
  display: inline-block;
  position: relative;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle .nt-bars::before,
.nav-toggle .nt-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  -webkit-transition: -webkit-transform 0.25s ease, top 0.25s ease, bottom 0.25s ease;
  transition: transform 0.25s ease, top 0.25s ease, bottom 0.25s ease;
}
.nav-toggle .nt-bars::before { top: -7px; }
.nav-toggle .nt-bars::after  { bottom: -7px; }
.nav-toggle.open .nt-bars { background: transparent; }
.nav-toggle.open .nt-bars::before { top: 0; -webkit-transform: rotate(45deg); transform: rotate(45deg); }
.nav-toggle.open .nt-bars::after  { bottom: 0; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); }
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 28px 32px;
    gap: 20px;
    display: none;
    box-shadow: 0 18px 40px -24px rgba(21,20,26,0.25);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 6px 0;
    font-size: 17px;
  }
  .nav-links a.btn { padding: 14px 22px; font-size: 14px; display: inline-flex; width: auto; }
}

/* ---------- Header dropdowns ---------- */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.01em;
  background: transparent;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  text-decoration: none;
}
.nav-link:hover { color: var(--ink-soft); }
.nav-link.is-active { color: var(--ink); position: relative; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.nav-item--dropdown.is-active > .nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 18px; bottom: -4px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.nav-caret { transition: transform 0.2s ease; flex: 0 0 auto; }
.nav-item--dropdown[data-open="true"] > .nav-link .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  min-width: 280px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--cream, #fff);
  border: 1px solid var(--rule, rgba(21,20,26,0.08));
  border-radius: 14px;
  box-shadow: 0 22px 48px -18px rgba(21,20,26,0.22), 0 4px 10px -2px rgba(21,20,26,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 60;
}
.nav-item--dropdown:hover > .nav-dropdown,
.nav-item--dropdown:focus-within > .nav-dropdown,
.nav-item--dropdown[data-open="true"] > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}
/* invisible bridge so the menu doesn't close while moving from button to panel */
.nav-item--dropdown::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 12px;
}
.nav-dropdown li { display: block; width: 100%; }
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown a strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.nav-dropdown a span {
  display: block;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-mute, rgba(21,20,26,0.6));
  margin-top: 2px;
  letter-spacing: 0;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible,
.nav-dropdown a.is-active {
  background: var(--yellow);
  color: var(--ink);
  outline: none;
}
.nav-dropdown a:hover span,
.nav-dropdown a:focus-visible span,
.nav-dropdown a.is-active span { color: var(--ink); }

@media (max-width: 1024px) {
  /* Mobile: dropdowns become inline accordions inside the slide-out menu */
  .nav-links li,
  .nav-links .nav-item,
  .nav-links .nav-item--dropdown { display: block; width: 100%; position: static; }
  .nav-link {
    display: flex;
    width: 100%;
    padding: 8px 0;
    font-size: 17px;
    justify-content: space-between;
    align-items: center;
  }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 4px 0 4px 14px;
    min-width: 0;
    width: 100%;
    margin-top: 4px;
    display: none;
    transition: none;
    list-style: none;
  }
  .nav-item--dropdown[data-open="true"] > .nav-dropdown { display: block; }
  .nav-item--dropdown::after { display: none; }
  .nav-dropdown li { width: 100%; }
  .nav-dropdown a { display: block; padding: 8px 8px; width: 100%; }
  .nav-dropdown a strong { font-size: 15px; }
  .nav-dropdown a span { font-size: 12px; }
  .nav-link.is-active::after,
  .nav-item--dropdown.is-active > .nav-link::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* Big yellow triangle as the signature backdrop */
  content: "";
  position: absolute;
  top: -60px;
  right: -120px;
  width: 720px;
  height: 720px;
  background: var(--yellow);
  -webkit-clip-path: polygon(100% 0%, 100% 100%, 0% 0%);
  clip-path: polygon(100% 0%, 100% 100%, 0% 0%);
  z-index: 0;
  opacity: 0.96;
}
.hero::after {
  /* Tiny solid triangle accent (disabled — collided with hero bullet list) */
  content: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { color: var(--ink); }
.hero h1 .gradient-text {
  background: linear-gradient(180deg, transparent 55%, var(--yellow) 55%);
  padding: 0 0.06em;
}
.hero p { color: var(--ink-2); max-width: 540px; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
/* Centered hero variant: when the hero block uses .center, center the lead
   paragraph box and the CTA row instead of pinning them left. */
.hero .center p,
.hero .center .lead { margin-left: auto; margin-right: auto; }
.hero .center .hero-cta-row { justify-content: center; }
.hero-points {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
}
.hero-points li::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  background: var(--yellow);
  -webkit-clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink);
  overflow: hidden;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-filter: contrast(1.05) saturate(1.05);
  filter: contrast(1.05) saturate(1.05);
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 214, 10, 0.10), rgba(21, 20, 26, 0.30));
  pointer-events: none;
}
@media (max-width: 880px) {
  .hero { padding: 48px 0 80px; }
  .hero::before { width: 460px; height: 460px; right: -120px; top: -40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { aspect-ratio: 4 / 4; }
}

/* ---------- Marquee strip ---------- */
.marquee {
  background: var(--ink);
  color: var(--yellow);
  padding: 22px 0;
  border-top: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  gap: 56px;
  -webkit-animation: marquee 40s linear infinite;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.3vw, 30px);
  color: var(--yellow);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee-track span::after {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--yellow);
  -webkit-clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
@-webkit-keyframes marquee {
  from { -webkit-transform: translateX(0); }
  to { -webkit-transform: translateX(-50%); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section primitives ---------- */
.page-head {
  padding: 100px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -120px;
  width: 360px;
  height: 360px;
  background: var(--yellow);
  -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 0;
  opacity: 0.85;
}
.page-head .container, .page-head .container-narrow { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -0.02em; }
.page-head p { max-width: 640px; margin: 18px auto 0; }
.page-head .lead { font-size: 18px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  -webkit-transition: -webkit-transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.card-icon {
  width: 88px;
  height: 80px;
  background: var(--yellow);
  -webkit-clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  margin-bottom: 22px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  /* Big number/icon, optically centered toward the wider bottom of the triangle */
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  position: relative;
  font-feature-settings: 'tnum' 1;
}
.card-icon span {
  display: inline-block;
  font-size: inherit;
  line-height: 1;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- Pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- Audience cards ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 880px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  -webkit-transition: -webkit-transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.audience-card:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.audience-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.audience-card-body {
  padding: 24px 24px 28px;
  background: var(--paper);
}
.audience-card-body h3 { font-size: 22px; margin-bottom: 6px; }
.audience-card-body p { color: var(--ink-soft); margin: 0 0 16px; font-size: 15px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 32px 28px;
  border-radius: var(--radius-md);
}
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--yellow);
  -webkit-text-stroke: 1.5px var(--ink);
  text-stroke: 1.5px var(--ink);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* ---------- Capture engine ---------- */
.engine {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 880px) { .engine { grid-template-columns: 1fr; } }
/* engine-4: 4-step capture engine. 2x2 in narrow containers (e.g. inside grid-2),
   widens to 4-up on dedicated wide layouts via .engine-4-wide modifier. */
.engine-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.engine-4-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .engine-4-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .engine-4, .engine-4-wide { grid-template-columns: 1fr; } }
.engine-card {
  position: relative;
  padding: 32px 26px;
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: var(--radius-md);
}
.engine-card-num {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
}
.engine-card h3 { font-size: 18px; margin: 14px 0 6px; }
.engine-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- Diagnostic ---------- */
.diagnostic {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.diagnostic::before {
  content: "";
  position: absolute;
  top: 0;
  right: -80px;
  width: 360px;
  height: 360px;
  background: var(--yellow);
  -webkit-clip-path: polygon(100% 0, 100% 100%, 0 0);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.18;
  z-index: 0;
}
.diagnostic .container { position: relative; z-index: 1; }
.diagnostic h2, .diagnostic h3 { color: var(--paper); }
.diagnostic .lead { color: rgba(250, 247, 240, 0.78); }
.diagnostic .eyebrow { background: var(--yellow); color: var(--ink); }
.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
@media (max-width: 880px) { .diagnostic-grid { grid-template-columns: 1fr; } }
.diagnostic-item {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}
.diagnostic-check {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: var(--yellow);
  margin-bottom: 12px;
  -webkit-clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.diagnostic-item h3 { font-size: 17px; color: var(--paper); margin-bottom: 4px; }
.diagnostic-item p { font-size: 14px; color: rgba(250, 247, 240, 0.72); margin: 0; }

/* ---------- After-sign / Prosada handoff ---------- */
.after-sign {
  background: var(--cream-2);
  position: relative;
}
.after-sign::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 18px,
    transparent 18px 30px
  );
}

/* ---------- Compare table ---------- */
.compare {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 36px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 0;
  overflow: hidden;
  font-size: 15px;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--ink-2);
}
.compare-table thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--cream);
  border-bottom: 1.5px solid var(--ink);
}
.compare-table thead th.col-xarify {
  background: var(--yellow);
  color: var(--ink);
}
.compare-table tbody td.col-xarify {
  background: var(--yellow-soft);
  color: var(--ink);
  font-weight: 600;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:first-child {
  font-weight: 700;
  color: var(--ink);
  width: 22%;
  background: var(--cream);
}
.compare-table tbody td { line-height: 1.5; }
@media (max-width: 880px) {
  .compare-table { font-size: 13px; min-width: 720px; }
  .compare-table th, .compare-table td { padding: 12px 12px; }
}
.price-teaser {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 28px;
  background: var(--ink);
  color: var(--cream);
  margin-top: 28px;
  border-radius: var(--radius-md);
  text-align: center;
}
.price-teaser strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.01em;
}
.price-teaser span { color: rgba(250, 247, 240, 0.78); font-size: 15px; }

/* ---------- Founder ---------- */
.founder { background: var(--cream); }
.founder-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
  padding: 36px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--rule);
  position: relative;
}
.founder-card::before {
  /* Yellow triangle accent in the corner */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  background: var(--yellow);
  -webkit-clip-path: polygon(100% 0, 100% 100%, 0 0);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.founder-photo {
  width: 200px;
  height: 200px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.founder-card blockquote {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 700;
}
.founder-meta {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
}
.founder-card p { margin: 14px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
@media (max-width: 720px) {
  .founder-card { grid-template-columns: 1fr; text-align: center; padding: 28px 24px; }
  .founder-photo { margin: 0 auto; width: 160px; height: 160px; }
}

/* ---------- Guarantee ---------- */
.guarantee-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
}
.guarantee-card::before, .guarantee-card::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--ink);
}
.guarantee-card::before {
  top: -2px;
  left: -2px;
  -webkit-clip-path: polygon(0 0, 100% 0, 0 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.guarantee-card::after {
  bottom: -2px;
  right: -2px;
  -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.guarantee-card h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--ink);
}
.guarantee-card p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--ink); color: var(--cream); }
.newsletter h3 { color: var(--paper); }
.newsletter .eyebrow { background: var(--yellow); color: var(--ink); }
.newsletter-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.newsletter-card p { color: rgba(250, 247, 240, 0.78); }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 24px auto 0;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  -webkit-appearance: none;
  appearance: none;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--yellow);
}
.newsletter-form .form-message {
  width: 100%;
  margin-top: 14px;
  font-size: 14px;
  color: rgba(250, 247, 240, 0.78);
}
.newsletter-form .form-message.success { color: var(--yellow); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  width: 360px;
  height: 360px;
  background: var(--yellow);
  -webkit-clip-path: polygon(0 0, 100% 0, 0 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.10;
}
.footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; } .footer-grid > :nth-child(5) { grid-column: 1 / -1; } }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .footer-grid > :nth-child(5) { grid-column: auto; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { color: var(--paper); }
.footer p { color: rgba(250, 247, 240, 0.72); font-size: 14px; max-width: 320px; }
.footer h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 14px;
}
.footer ul { display: grid; gap: 8px; }
.footer ul a { color: rgba(250, 247, 240, 0.78); font-size: 14px; }
.footer ul a:hover { color: var(--yellow); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(250, 247, 240, 0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(250, 247, 240, 0.55);
}
.footer-tagline { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ilo360-link {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.18s ease;
}
.ilo360-link:hover { color: var(--paper); text-decoration-thickness: 2px; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq details {
  border-top: 1.5px solid var(--ink);
  padding: 22px 0;
}
.faq details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 22px;
  height: 22px;
  margin-left: 16px;
  background: var(--ink);
  -webkit-clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  -webkit-transition: -webkit-transform 0.2s ease, background 0.2s ease;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq details[open] summary::after {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  background: var(--yellow);
}
.faq details > p, .faq details > div {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  max-width: 720px;
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 20, 26, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}
/* On smaller screens, drop the blur — backdrop-filter can interfere with native form pickers on some Android Chrome versions, and adds little value at small sizes */
@media (max-width: 768px) {
  .modal-backdrop {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(21, 20, 26, 0.92);
    padding: 0;
    align-items: stretch;
  }
  .modal { margin: 12px; max-width: none; }
}
/* Lock body scroll when modal is open without breaking iOS native pickers */
html.modal-open, html.modal-open body {
  overflow: hidden;
  height: 100%;
  -webkit-overflow-scrolling: auto;
}

/* Custom dropdown — bulletproof replacement for <select> on mobile */
.dd {
  position: relative;
  width: 100%;
}
.dd-btn {
  width: 100%;
  min-height: 48px;
  padding: 14px 42px 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: rgba(255,214,10,0.25);
  position: relative;
}
.dd-btn:focus { outline: none; border-color: var(--ink); }
.dd.open .dd-btn { border-color: var(--ink); }
.dd-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-value.placeholder { color: var(--ink-soft, #6b6770); opacity: 0.7; }
.dd-caret {
  font-size: 14px;
  color: var(--ink);
  transition: transform 0.18s ease;
  pointer-events: none;
}
.dd.open .dd-caret { transform: rotate(180deg); }
.dd-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--paper, #fff);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  list-style: none;
  padding: 6px;
  margin: 0;
  z-index: 200;
  display: none;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  -webkit-overflow-scrolling: touch;
}
.dd.open .dd-list { display: block; }
.dd-option {
  padding: 12px 14px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255,214,10,0.4);
  user-select: none;
  -webkit-user-select: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.dd-option:hover, .dd-option:focus { background: rgba(21, 20, 26, 0.06); outline: none; }
.dd-option.selected { background: var(--yellow, #FFD60A); color: var(--ink); font-weight: 600; }
.dd-option:active { background: rgba(255, 214, 10, 0.45); }
@media (max-width: 540px) {
  .dd-list { max-height: 60vh; }
  .dd-option { padding: 14px 14px; min-height: 48px; }
}
.modal-backdrop.open { display: flex; }
.modal {
  position: relative;
  background: var(--cream);
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-md);
  border: 2px solid var(--ink);
  padding: 36px 32px 30px;
  box-shadow: var(--shadow-lg);
  margin: auto;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--ink);
  color: var(--yellow);
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.modal h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--ink);
}
.modal .lead { font-size: 15px; margin-bottom: 22px; color: var(--ink-soft); }

/* Modal step progress */
.progress, .step-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}
.progress-bar, .step-progress span {
  flex: 1;
  height: 6px;
  background: var(--rule);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  display: block;
}
.progress-bar.active, .step-progress span.active { background: var(--yellow); }
.progress-bar.done, .step-progress span.done { background: var(--ink); }

/* Form fields */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  /* 16px+ prevents iOS Safari auto-zoom on focus */
  font-size: 16px;
  line-height: 1.3;
  min-height: 48px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: rgba(255,214,10,0.25);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select {
  /* Restore the dropdown caret visually while keeping a clean look on every browser */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%2315141A' d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  padding-right: 42px;
  cursor: pointer;
  /* Native select is the most reliable on mobile — keep its hit target full-size */
  -webkit-appearance: none;
  appearance: none;
}
/* Some Android browsers ignore appearance:none on select; ensure caret/affordance remain interactive */
.field select::-ms-expand { display: none; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.error-msg {
  background: #FFE9E9;
  color: #8B1A1A;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 14px;
  display: none;
}
.error-msg.show { display: block; }
.helper { font-size: 13px; color: var(--ink-mute); margin-top: 8px; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-top: 22px;
  gap: 14px 18px;
}
@media (min-width: 641px) {
  .form-actions { justify-content: space-between; }
}
.form-actions .btn { flex: 0 0 auto; }
.form-actions a, .form-actions button.text-link {
  background: none;
  border: 0;
  color: var(--ink-soft);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: opacity 0.7s ease, -webkit-transform 0.7s ease;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

/* ---------- Ecosystem page ---------- */
.ecosystem-head { text-align: center; margin-bottom: 60px; }
.ecosystem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 880px) { .ecosystem-list { grid-template-columns: 1fr; } }
.ecosystem-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  -webkit-transition: -webkit-transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.ecosystem-item.has-shot { padding: 0; grid-template-columns: 1fr; gap: 0; }
.ecosystem-shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--cream-2);
  border-bottom: 1px solid var(--rule);
  object-fit: cover;
  object-position: center top;
}
.ecosystem-shot-link {
  display: block;
  line-height: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-2);
}
.ecosystem-shot-link .ecosystem-shot {
  transition: transform 0.4s ease, opacity 0.2s ease;
}
.ecosystem-shot-link:hover .ecosystem-shot { transform: scale(1.03); opacity: 0.94; }
.ecosystem-shot-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.ecosystem-item.has-shot .ecosystem-inner {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 24px;
}
@media (max-width: 540px) {
  .ecosystem-item.has-shot .ecosystem-inner { grid-template-columns: 48px 1fr; gap: 14px; }
  .ecosystem-item.has-shot .ecosystem-link { grid-column: 2; margin-top: 4px; }
}
.ecosystem-item:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.ecosystem-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  color: var(--yellow);
  -webkit-text-stroke: 1.2px var(--ink);
  text-stroke: 1.2px var(--ink);
  line-height: 1;
}
.ecosystem-body h3 { font-size: 18px; margin: 0 0 4px; }
.ecosystem-body p { font-size: 14px; color: var(--ink-soft); margin: 0 0 8px; }
.ecosystem-tag {
  display: inline-block;
  background: var(--cream-2);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ecosystem-link {
  font-size: 13px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}
.ecosystem-prosada {
  background: var(--yellow);
  border-color: var(--ink);
  border-width: 2px;
}
.ecosystem-prosada .ecosystem-num { color: var(--ink); -webkit-text-stroke: 0; text-stroke: 0; }
.ecosystem-featured {
  display: inline-block;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.ecosystem-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--yellow);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Arts wedge */
.arts-wedge {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.arts-wedge::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: var(--yellow);
  -webkit-clip-path: polygon(100% 0, 100% 100%, 0 0);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.18;
}
.arts-wedge .container { position: relative; z-index: 1; }
.arts-wedge h2, .arts-wedge h3 { color: var(--paper); }
.arts-wedge .lead { color: rgba(250, 247, 240, 0.78); }
.arts-wedge .eyebrow { background: var(--yellow); color: var(--ink); }
.arts-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 36px 0;
}
@media (max-width: 880px) { .arts-stats { grid-template-columns: 1fr; } }
.arts-stat {
  padding: 28px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}
.arts-stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}
.arts-stat p { color: rgba(250, 247, 240, 0.78); font-size: 14px; margin: 0; }
.arts-list { display: grid; gap: 14px; margin-top: 28px; }
.arts-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(250, 247, 240, 0.85);
}
.arts-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 6px;
  background: var(--yellow);
  flex: 0 0 auto;
  -webkit-clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 {
  margin-top: 36px;
  font-size: 22px;
  padding-top: 20px;
  border-top: 1.5px solid var(--ink);
}
.legal-content h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-content h3 { margin-top: 22px; font-size: 17px; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.legal-content ul { padding-left: 22px; list-style: disc; }
.legal-content ul li { margin-bottom: 6px; }
.legal-content a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.legal-content strong { color: var(--ink); font-weight: 700; }

/* ---------- Legal page shell (TOC + content) ---------- */
.legal-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .legal-shell { grid-template-columns: 1fr; gap: 28px; }
}
.legal-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  border-left: 2px solid var(--ink);
  padding: 4px 0 4px 18px;
}
@media (max-width: 880px) {
  .legal-toc { position: static; border-left: 0; border-top: 2px solid var(--ink); padding: 18px 0 0; }
}
.legal-toc h4 {
  font-family: var(--font-display, inherit);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
.legal-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legal-toc ul li { margin: 0; }
.legal-toc a {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.legal-toc a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.legal-toc a.is-active { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }
.legal-toc-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.5;
}
.legal-callout {
  background: var(--yellow-soft);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 0 0 36px;
}
.legal-callout p { margin: 0 0 8px; color: var(--ink); font-size: 14.5px; line-height: 1.6; }
.legal-callout p:last-child { margin-bottom: 0; }
.legal-callout strong { font-weight: 700; }
.legal-disclaimer {
  margin-top: 48px;
  padding: 18px 22px;
  border-top: 1.5px solid var(--ink);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.6;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 28px;
  font-size: 14px;
}
.legal-table th,
.legal-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--cream-2);
  vertical-align: top;
  color: var(--ink-soft);
  line-height: 1.5;
}
.legal-table th {
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--ink);
}
.legal-table tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
  .legal-table { font-size: 13px; }
  .legal-table th, .legal-table td { padding: 10px 8px; }
}
.legal-shell .legal-content { max-width: 760px; margin: 0; }

/* ---------- Pricing (gated) ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin: 0 auto;
  max-width: 1240px;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; gap: 18px; max-width: 560px; } }
.pricing-tier {
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 36px 32px 32px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pricing-tier.featured { background: var(--yellow); transform: translateY(-8px); box-shadow: 8px 8px 0 var(--ink); }
@media (max-width: 980px) { .pricing-tier.featured { transform: none; box-shadow: 6px 6px 0 var(--ink); } }
.pricing-tier h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.pricing-tier .pill-featured {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
}
.pricing-tier .helper {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 24px;
}
.pricing-tier.featured .helper { color: var(--ink-2); }
.pricing-tier .price-block { margin: 0 0 18px; }
.pricing-tier .price-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0 0 4px;
  letter-spacing: 0.04em;
}
.pricing-tier.featured .price-label { color: var(--ink-2); }
.pricing-tier .price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.pricing-tier .price small {
  font-family: var(--font-body, inherit);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  line-height: 1.4;
  display: flex;
  flex-direction: column;
}
.pricing-tier.featured .price small { color: var(--ink-2); }
.pricing-tier .btn-block {
  width: 100%;
  justify-content: center;
  margin: 0 0 32px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
}
.pricing-tier .feature-group { margin: 0 0 22px; }
.pricing-tier .feature-group:last-of-type { margin-bottom: 0; }
.pricing-tier .feature-group h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
  text-transform: none;
}
.pricing-tier ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pricing-tier ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.pricing-tier ul li::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background-color: var(--yellow-deep);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7 7a.75.75 0 0 1-1.06 0l-3.5-3.5a.75.75 0 0 1 1.06-1.06L6.25 10.69l6.47-6.47a.75.75 0 0 1 1.06 0z'/></svg>") no-repeat center / 16px 16px;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7 7a.75.75 0 0 1-1.06 0l-3.5-3.5a.75.75 0 0 1 1.06-1.06L6.25 10.69l6.47-6.47a.75.75 0 0 1 1.06 0z'/></svg>") no-repeat center / 16px 16px;
}
.pricing-tier.featured ul li::before { background-color: var(--ink); }
.pricing-tier .feature-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 0 0 22px;
  border: 0;
}
.pricing-tier.featured .feature-divider { background: rgba(0, 0, 0, 0.18); }
.pricing-note {
  margin-top: 60px;
  padding: 28px 32px;
  border: 1.5px dashed var(--ink);
  border-radius: var(--radius-md);
  background: var(--cream-2);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-note h3 { font-size: 18px; margin: 0 0 8px; color: var(--ink); }
.pricing-note p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    -webkit-animation-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    -webkit-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { -webkit-animation: none; animation: none; }
  .reveal { opacity: 1; -webkit-transform: none; transform: none; }
}

/* ---------- Selection / focus ---------- */
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
.contact-form-wrap {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 1px 0 rgba(15, 15, 20, 0.04);
}
@media (max-width: 540px) {
  .contact-form-wrap { padding: 22px; }
}
.contact-form .field { margin-bottom: 18px; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.contact-success {
  margin-top: 8px;
  padding: 22px 24px;
  background: var(--yellow-soft, #FFF1A8);
  border: 1.5px solid var(--yellow-deep, #F4C500);
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.contact-success h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}
.contact-success p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

.contact-aside { display: grid; gap: 18px; }
.contact-card {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 14px;
  color: var(--ink);
}
.contact-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--ink);
}
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; font-size: 15px; }
.contact-list-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-list a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.contact-list a:hover { color: var(--yellow-deep, #F4C500); }
.contact-card-quiet { background: var(--cream-2, #F0EADE); }
.contact-quick-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.contact-quick-links a {
  color: var(--ink-soft);
  font-size: 14.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-quick-links a:hover { color: var(--ink); }
@media (max-width: 540px) {
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Demo + Live Sample sections ---------- */
.demo-section { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); position: relative; overflow: hidden; }
.demo-section::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: 220px; height: 220px;
  background: var(--yellow);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.85;
  pointer-events: none;
}
.demo-section::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 160px; height: 160px;
  background: var(--ink);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  opacity: 0.95;
  pointer-events: none;
}
.demo-section .container { position: relative; z-index: 1; }
.eyebrow-yellow {
  background: var(--yellow);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lead-emphasis { margin-top: 14px; font-size: 19px; color: var(--ink); }
.lead-emphasis strong { background: linear-gradient(to bottom, transparent 60%, var(--yellow-soft, #FFF1A8) 60%); padding: 0 2px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.sample-section .cta-row { justify-content: flex-start; }

.sample-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .sample-grid { grid-template-columns: 1fr; gap: 32px; }
}
.sample-shot-link {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--rule);
  background: var(--cream-2);
  box-shadow: 0 12px 40px -16px rgba(15,15,20,0.20);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  line-height: 0;
}
.sample-shot-link:hover { transform: translateY(-3px); box-shadow: 0 18px 48px -16px rgba(15,15,20,0.28); }
.sample-shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}
.sample-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15,15,20,0.20);
  line-height: 1;
}
.sample-copy h2 { margin-top: 14px; }
.sample-copy p { color: var(--ink-soft); font-size: 17px; line-height: 1.6; }

/* ---------- Sponsor Math / Value Logic ---------- */
.sponsor-math { background: var(--cream-2, #FAF6EE); position: relative; }
.math-formula {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
}
.math-term, .math-result {
  flex: 1 1 220px;
  max-width: 280px;
  background: var(--bg, #fff);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 6px 18px -10px rgba(15,15,20,0.12);
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.math-term:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -12px rgba(15,15,20,0.18); }
.math-result {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 12px 32px -10px rgba(15,15,20,0.40);
}
.math-result h3, .math-result p { color: var(--paper); }
.math-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.math-result .math-num { background: var(--yellow); color: var(--ink); }
.math-term h3, .math-result h3 { font-size: 19px; margin-bottom: 8px; line-height: 1.2; }
.math-term p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.math-result p { font-size: 14.5px; line-height: 1.55; color: var(--paper); opacity: 0.92; margin: 0; }
.math-op {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--ink-mute);
  flex: 0 0 auto;
  align-self: center;
  width: 24px;
}
.math-op.math-equals { color: var(--ink); font-size: 36px; }
.math-disclaimer { text-align: center; max-width: 640px; margin: 28px auto 0; font-style: italic; }
@media (max-width: 920px) {
  .math-formula { gap: 12px; }
  .math-term, .math-result { flex: 1 1 280px; max-width: 100%; }
  .math-op { font-size: 24px; width: 18px; }
}
@media (max-width: 600px) {
  .math-formula { flex-direction: column; align-items: stretch; gap: 14px; }
  .math-op { align-self: center; transform: rotate(90deg); margin: 0; }
}

/* ---------- Sponsorship-to-Event Lifecycle ---------- */
.lifecycle-section { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.lifecycle-grid {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: lifecycle;
}
@media (max-width: 1100px) { .lifecycle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .lifecycle-grid { grid-template-columns: 1fr; } }
.lifecycle-card {
  background: var(--bg, #fff);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  box-shadow: 0 6px 18px -10px rgba(15,15,20,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.lifecycle-card::before {
  content: "";
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 4px;
  background: var(--yellow);
  border-radius: 0 0 4px 4px;
}
.lifecycle-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -12px rgba(15,15,20,0.20); border-color: var(--ink); }
.lifecycle-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 8px 0 10px;
}
.lifecycle-card h3 { font-size: 22px; margin-bottom: 8px; line-height: 1.15; }
.lifecycle-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* ---------- Audit form (book-audit page) ---------- */
.audit-form-wrap { max-width: 820px; margin: 0 auto; }
.audit-form .field { margin-bottom: 18px; }
.audit-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .audit-form .field-row { grid-template-columns: 1fr; } }
.audit-form fieldset { border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 18px 22px 6px; margin-bottom: 22px; background: var(--cream-2, #FAF6EE); }
.audit-form legend { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); padding: 0 10px; }
.audit-form input[type="file"] { padding: 10px; border: 1.5px dashed var(--rule); border-radius: 10px; background: var(--bg, #fff); width: 100%; font-family: inherit; }
.audit-form .checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 16px; margin-top: 8px; }
.audit-form .checkbox-grid label,
.audit-form .radio-row label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body, var(--font-display));
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: 0;
  line-height: 1.3;
}
.audit-form .checkbox-grid input[type="checkbox"],
.audit-form .radio-row input[type="radio"] {
  width: 18px; height: 18px; flex: 0 0 auto;
  accent-color: var(--accent, #ff2e7e);
  cursor: pointer;
}
.audit-form .radio-row { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 6px; }
.audit-form .helper { margin-top: -4px; }
.audit-success { padding: 32px; border: 1.5px solid var(--rule); border-radius: var(--radius); background: var(--cream-2, #FAF6EE); text-align: center; }
.audit-success h3 { color: var(--ink); }

/* ---------- About page ---------- */
.about-belief {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 36px;
  border-radius: var(--radius-lg, 22px);
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.about-belief::before {
  content: "\201C";
  position: absolute;
  top: 4px; left: 22px;
  font-family: var(--font-display);
  font-size: 140px;
  line-height: 1;
  color: var(--yellow);
  opacity: 0.55;
  pointer-events: none;
}
.about-belief h2 { color: var(--paper); position: relative; z-index: 1; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.18; margin-top: 4px; }
.about-belief p { color: var(--paper); opacity: 0.92; position: relative; z-index: 1; font-size: 16.5px; line-height: 1.6; max-width: 720px; margin-top: 14px; }
.about-belief .eyebrow { position: relative; z-index: 1; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 24px; }
@media (max-width: 820px) { .about-cols { grid-template-columns: 1fr; } }
.about-list { list-style: none; padding: 0; margin: 14px 0 0; }
.about-list li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.about-list li:last-child { border-bottom: 0; }
.about-list li::before { content: "→ "; color: var(--accent, #ff2e7e); font-weight: 700; }
.about-not-list li::before { content: "× "; color: var(--ink-mute); }

/* =============================================================================
   Welcome page — video, centered CTAs, tight spacing
   ============================================================================= */
.welcome-page .page-head { padding-bottom: 28px; }
.welcome-page .section { padding: 56px 0; }
.welcome-page .section--tight { padding: 32px 0 72px; }

.video-wrap {
  max-width: 880px;
  margin: 28px auto 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(11, 11, 20, 0.18);
  background: #000;
}
.video-wrap > div { border-radius: 18px; overflow: hidden; }

.welcome-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.welcome-cta-row--video { margin-top: 32px; max-width: 880px; margin-left: auto; margin-right: auto; }

.welcome-next {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 28px auto 0;
  max-width: 880px;
}
.welcome-next .card {
  padding: 22px 26px;
  border-radius: 14px;
}
.welcome-next .card h4 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.welcome-next .card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .welcome-page .section { padding: 40px 0; }
  .welcome-page .section--tight { padding: 24px 0 56px; }
  .welcome-cta-row { flex-direction: column; width: 100%; }
  .welcome-cta-row .btn { width: 100%; max-width: 320px; text-align: center; justify-content: center; }
  .video-wrap { border-radius: 14px; }
  .video-wrap > div { border-radius: 14px; }
}

/* =============================================================================
   Post-conversion pages (welcome / pricing / booked) — hide redundant nav CTA
   These pages are reached AFTER the prospect has submitted, so the
   "Book a Free Sponsorship Audit" button in the header is redundant.
   ============================================================================= */
.welcome-page .nav-item--cta,
.pricing-page .nav-item--cta,
.booked-page .nav-item--cta {
  display: none;
}
