/* =========================================================
   THE FAIR ENTRY PROJECT — Design System v1
   ========================================================= */

/* --- Variables --- */
:root {
  --ink: #1a1612;
  --ink-soft: #3d352c;
  --ink-mute: #6b6257;
  --paper: #f5efe4;
  --paper-soft: #ede6d7;
  --paper-deep: #e4dbc8;
  --accent: #b24a2b;
  --accent-deep: #8f3a21;
  --hairline: #1a161233;
  --hairline-soft: #1a161215;
  --success: #4a6b2b;
}

/* --- Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(at 15% 20%, rgba(178, 74, 43, 0.04) 0, transparent 45%),
    radial-gradient(at 85% 75%, rgba(26, 22, 18, 0.035) 0, transparent 55%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Subtle paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.07 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
  mix-blend-mode: multiply;
}

main, header, footer { position: relative; z-index: 2; }

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

/* --- Layout --- */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow {
  max-width: 760px;
}
@media (max-width: 640px) {
  .wrap { padding: 0 28px; }
}
@media (max-width: 380px) {
  .wrap { padding: 0 20px; }
}

/* --- Typography --- */
.display {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 48, "SOFT" 50;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
}
.display em {
  font-style: normal;
  color: var(--accent);
}
.h2 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 48, "SOFT" 20;
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.h3 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 30, "SOFT" 20;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.kicker {
  font-family: "Instrument Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
}
.section-num {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.section-num::before { content: "§ "; font-style: normal; }

/* --- Header --- */
header.site {
  position: sticky;
  top: 0;
  background: rgba(245, 239, 228, 0.9);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--hairline-soft);
  z-index: 100;
  transition: background 0.25s ease;
}
header.site.scrolled {
  background: rgba(245, 239, 228, 0.96);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: var(--hairline);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
  transition: padding 0.25s cubic-bezier(.2,.7,.2,1);
}
header.site.scrolled .nav { padding-top: 10px; padding-bottom: 10px; }

.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
  transition: font-size 0.25s ease, font-variation-settings 0.25s ease;
}
@media (max-width: 640px) {
  .wordmark { font-size: 17px; }
}
@media (max-width: 400px) {
  .wordmark { font-size: 15px; }
}
header.site.scrolled .wordmark {
  font-size: 17px;
  font-variation-settings: "opsz" 24, "SOFT" 30;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.nav-links.cta-only { display: none; }
.nav-links a {
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.nav-cta {
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: 11px 20px;
  border-radius: 6px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, padding 0.25s ease;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--accent) !important; }
header.site.scrolled .nav-cta { padding: 8px 16px; }

@media (max-width: 960px) {
  .nav-links:not(.cta-only) { display: none; }
  .nav-links.cta-only { display: flex; }
  .nav-links.cta-only a:not(.nav-cta) { display: none; }
}
@media (max-width: 640px) {
  .nav { gap: 10px; min-width: 0; }
  .wordmark { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .nav-cta { padding: 8px 12px; font-size: 12px; letter-spacing: 0.01em; }
}
@media (max-width: 400px) {
  .nav-cta { padding: 7px 10px; font-size: 11px; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  background: var(--accent);
  color: var(--paper);
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.btn:hover {
  background: var(--accent-deep);
  transform: translateX(3px);
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-meta {
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
}

/* --- Sections --- */
section.band {
  padding: 120px 0;
  border-bottom: 1px solid var(--hairline);
}
@media (max-width: 640px) { section.band { padding: 72px 0; } }

.band-header {
  display: block;
  margin-bottom: 56px;
}
@media (max-width: 820px) {
  .band-header { margin-bottom: 40px; }
}
.section-num { display: none; }

/* --- Page Hero (non-home pages) --- */
.page-hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--hairline);
}
@media (max-width: 640px) { .page-hero { padding: 72px 0 64px; } }
.page-hero .kicker {
  display: inline-block;
  margin-bottom: 28px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink-mute);
}
.page-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 72, "SOFT" 60;
  font-weight: 600;
  font-size: clamp(44px, 6.5vw, 82px);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 32px;
}
.page-hero h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 72, "SOFT" 100;
  font-weight: 500;
  color: var(--accent);
}
.page-hero .lede {
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-soft);
  line-height: 1.5;
}

/* --- Home Hero --- */
section.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 64px 0;
  position: relative;
}
section.hero .eyebrow {
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}
section.hero .eyebrow::after {
  content: "";
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--ink);
  opacity: 0.4;
}
section.hero h1.display {
  font-size: clamp(44px, 7vw, 92px);
  max-width: 18ch;
  text-wrap: balance;
  margin-bottom: 40px;
}
section.hero .subhead {
  max-width: 52ch;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: 48px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  section.hero { min-height: calc(100vh - 64px); padding: 48px 0; }
  section.hero .eyebrow { margin-bottom: 28px; }
  section.hero h1.display { margin-bottom: 28px; }
  section.hero .subhead { margin-bottom: 32px; }
}

/* --- Scenarios Carousel --- */
.carousel-wrap { position: relative; }
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}
.carousel::-webkit-scrollbar { display: none; }
@media (max-width: 820px) { .carousel { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .carousel { grid-auto-columns: 82%; gap: 16px; } }

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 820px) { .scenarios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .scenarios-grid { grid-template-columns: 1fr; } }

.scenario {
  scroll-snap-align: start;
  background: var(--paper-soft);
  border: 1px solid var(--hairline-soft);
  padding: 32px 28px 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  cursor: pointer;
}
.scenario:hover {
  background: var(--paper-deep);
  border-color: var(--hairline);
  transform: translateY(-2px);
}
.scenario .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  color: var(--accent);
}
.scenario .num {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-style: italic;
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.scenario h3 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 30, "SOFT" 20;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.scenario p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: auto;
  padding-bottom: 20px;
}
.scenario .link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline-soft);
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}
.carousel-count {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
}
.carousel-arrows { display: flex; gap: 12px; }
.arrow-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.arrow-btn:hover:not(:disabled) {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.arrow-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* --- Why Us (dark) --- */
section.why {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink);
}
section.why .section-num { color: var(--paper); opacity: 0.55; }
section.why .h2 { color: var(--paper); }
section.why .band-header { margin-bottom: 64px; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; gap: 32px; max-width: 520px; } }

.value {
  padding-top: 32px;
  border-top: 1px solid rgba(245, 239, 228, 0.25);
}
.value .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 22px;
  color: var(--accent);
}
.value h3 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 28, "SOFT" 20;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.value p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(245, 239, 228, 0.75);
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 32px; } }
.step { position: relative; }
.step::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 44px;
  right: -48px;
  height: 1px;
  background: var(--hairline);
}
.step:last-child::before { display: none; }
@media (max-width: 820px) { .step::before { display: none; } }

.step-num {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 48, "SOFT" 30;
  font-weight: 500;
  font-style: italic;
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  display: inline-block;
}
.step h3 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 30, "SOFT" 20;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.step p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.steps-link {
  margin-top: 56px;
  text-align: right;
}
.steps-link a {
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--ink-mute);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.steps-link a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --- Vertical Steps (for How It Works page) --- */
.steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
@media (max-width: 640px) { .steps-vertical { gap: 56px; } }
.step-v {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
  align-items: baseline;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--hairline-soft);
}
.step-v:last-child { border-bottom: none; padding-bottom: 0; }
@media (max-width: 640px) {
  .step-v { grid-template-columns: 1fr; gap: 20px; padding-bottom: 56px; }
}
.step-v .num-large {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(64px, 7vw, 96px);
  color: var(--accent);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.step-v h2 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 48, "SOFT" 20;
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.step-v p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 58ch;
  margin-bottom: 12px;
}
.step-v p:last-child { margin-bottom: 0; }
.step-v .note {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  background: var(--paper-soft);
  border-left: 2px solid var(--accent);
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
}
.step-v .subpoints {
  margin-top: 16px;
}
.step-v .subpoint {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--hairline-soft);
  font-size: 15px;
}
.step-v .subpoint:last-child { border-bottom: 1px solid var(--hairline-soft); }
.step-v .subpoint strong { color: var(--ink); font-weight: 500; }
@media (max-width: 640px) {
  .step-v .subpoint { grid-template-columns: 1fr; gap: 4px; }
}

/* --- Trust Band --- */
section.trust {
  padding: 80px 0;
  background: var(--paper-soft);
  text-align: center;
}
section.trust .wrap { max-width: 720px; }
section.trust p {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 24, "SOFT" 40;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}
section.trust p em {
  font-style: italic;
  color: var(--accent);
}

/* --- Final CTA --- */
section.final {
  padding: 140px 0;
  text-align: center;
  border-bottom: 1px solid var(--hairline);
}
@media (max-width: 640px) { section.final { padding: 88px 0; } }
section.final .section-num { display: block; margin-bottom: 24px; }
section.final h2.display {
  font-size: clamp(44px, 7vw, 88px);
  margin-bottom: 48px;
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}
section.final .btn { margin-bottom: 24px; }
section.final .fine {
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
  letter-spacing: 0.01em;
}

/* --- Prose (generic long-form content) --- */
.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.prose-wide { max-width: 78ch; }
.prose p { margin-bottom: 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 20;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 2em;
  margin-bottom: 0.7em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 28, "SOFT" 20;
  font-weight: 500;
  font-size: 21px;
  color: var(--ink);
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}
.prose ul, .prose ol {
  margin: 0 0 1.2em 0;
  padding-left: 1.2em;
}
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s, border-color 0.2s;
}
.prose a:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* Callout inside prose */
.callout {
  background: var(--paper-soft);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin: 1.5em 0;
  font-size: 16px;
  color: var(--ink-soft);
  font-style: italic;
}

/* Disclaimer banners */
.disclaimer-top {
  background: var(--paper-deep);
  border-left: 4px solid var(--ink);
  padding: 24px 28px;
  margin-bottom: 56px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.disclaimer-top .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--ink);
  margin-top: 3px;
}
.disclaimer-top p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.disclaimer-top strong { font-weight: 600; display: block; margin-bottom: 6px; }

.disclaimer-formal {
  margin-top: 64px;
  padding: 28px;
  border: 1px solid var(--hairline);
  background: transparent;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute);
}
.disclaimer-formal strong { color: var(--ink-soft); display: block; margin-bottom: 8px; }

/* --- Who Qualifies specific --- */
.criteria-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
@media (max-width: 640px) { .criteria-list { grid-template-columns: 1fr; } }
.criteria-list li {
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid var(--hairline-soft);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--ink-soft);
}
.criteria-list li .bullet {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  margin-top: 4px;
  position: relative;
}
.criteria-list li .bullet::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--accent);
  border-radius: 50%;
}

.disqualify-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--hairline);
}
.disqualify-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-soft);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 16px;
}
.disqualify-list li::before {
  content: "—";
  color: var(--ink-mute);
  flex-shrink: 0;
  width: 16px;
}

/* --- About --- */
.about-canonical {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 40;
  font-weight: 400;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 34ch;
  letter-spacing: -0.005em;
}
.about-canonical em {
  font-style: italic;
  color: var(--accent);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}
.about-label {
  font-family: "Instrument Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
  padding-top: 8px;
}
.what-we-are-not {
  list-style: none;
  padding: 0;
  margin: 0;
}
.what-we-are-not li {
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.5;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: baseline;
}
.what-we-are-not li::before {
  content: "×";
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
}

/* --- FAQ --- */
.faq-groups { display: flex; flex-direction: column; gap: 72px; }
.faq-group h2 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 20;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.15;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.accordion {
  border-top: 1px solid var(--hairline);
}
.accordion-item {
  border-bottom: 1px solid var(--hairline-soft);
}
.accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 24, "SOFT" 20;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
.accordion-toggle:hover { color: var(--accent); }
.accordion-toggle .plus {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  margin-top: 4px;
}
.accordion-toggle .plus::before,
.accordion-toggle .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.25s;
}
.accordion-toggle .plus::before {
  top: 9px;
  left: 0;
  right: 0;
  height: 1.5px;
}
.accordion-toggle .plus::after {
  left: 9px;
  top: 0;
  bottom: 0;
  width: 1.5px;
}
.accordion-toggle[aria-expanded="true"] .plus::after {
  transform: scaleY(0);
}
.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.accordion-body-inner {
  padding: 0 48px 28px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 68ch;
}
.accordion-body-inner p { margin-bottom: 0.9em; }
.accordion-body-inner p:last-child { margin-bottom: 0; }
.accordion-body-inner a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* --- Report page form mock --- */
.form-card {
  background: var(--paper-soft);
  border: 1px solid var(--hairline);
  padding: 48px 40px;
  margin: 48px 0;
}
@media (max-width: 640px) { .form-card { padding: 32px 24px; } }
.form-card .form-kicker {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.form-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 20;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.form-card p { color: var(--ink-soft); margin-bottom: 24px; line-height: 1.6; }
.form-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}
.form-progress span {
  flex: 1;
  height: 3px;
  background: var(--hairline-soft);
  border-radius: 2px;
}
.form-progress span.on { background: var(--accent); }
.form-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-soft);
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
}
.what-helps {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--hairline);
}
.what-helps li {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-soft);
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 16px;
  color: var(--ink-soft);
}
.what-helps li::before {
  content: "→";
  color: var(--accent);
  flex-shrink: 0;
}

/* --- Footer --- */
footer {
  background: var(--paper-deep);
  padding: 72px 0 48px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
.footer-col h4 {
  font-family: "Instrument Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--ink-soft);
}
.footer-col a:hover { color: var(--accent); }
.footer-col p { line-height: 1.55; max-width: 44ch; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.6;
}
.footer-bottom .legal { margin-top: 8px; font-style: italic; }

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   REPORT FORM — Intake flow
   ========================================================= */

#claim-form { border: none; padding: 48px 40px; }
@media (max-width: 640px) { #claim-form { padding: 32px 24px; } }
.form-step { border: none; padding: 0; margin: 0; }
.form-step[hidden] { display: none; }

.field-group { display: flex; flex-direction: column; gap: 28px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.field label,
.field-q legend {
  font-family: "Instrument Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}
.field .optional {
  color: var(--ink-mute);
  font-weight: 400;
  font-style: italic;
}
.field-help {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.45;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="month"],
.field select,
.field textarea {
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: var(--accent-deep);
  background: rgba(178, 74, 43, 0.04);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1612' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field-q { display: flex; flex-direction: column; gap: 12px; border: none; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label,
.checkbox-list label,
.agreement-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.radio-row label {
  padding: 10px 18px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  background: var(--paper);
  transition: background 0.2s, border-color 0.2s;
  align-items: center;
}
.radio-row label:hover { border-color: var(--ink-mute); }
.radio-row label:has(input:checked) {
  border-color: var(--accent);
  background: rgba(178, 74, 43, 0.06);
  color: var(--ink);
}
.radio-row input[type="radio"],
.checkbox-list input[type="checkbox"],
.agreement-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.checkbox-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 4px 0;
}
@media (max-width: 560px) { .checkbox-list { grid-template-columns: 1fr; } }
.checkbox-list label {
  padding: 12px 16px;
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  border-radius: 2px;
  align-items: center;
}
.checkbox-list label:has(input:checked) {
  border-color: var(--accent);
  background: rgba(178, 74, 43, 0.05);
}

.scenario-options { display: flex; flex-direction: column; gap: 10px; }
.scenario-option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.scenario-option:hover { border-color: var(--hairline); }
.scenario-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(178, 74, 43, 0.05);
}
.scenario-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.scenario-option div { display: flex; flex-direction: column; gap: 4px; }
.scenario-option strong {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 24, "SOFT" 20;
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.scenario-option span {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* File upload */
.file-drop {
  position: relative;
  border: 1.5px dashed var(--hairline);
  border-radius: 2px;
  background: var(--paper);
  padding: 36px 24px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.file-drop.dragover {
  border-color: var(--accent);
  background: rgba(178, 74, 43, 0.05);
}
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-drop-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.file-drop-inner .icon {
  width: 28px;
  height: 28px;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.file-drop-label { font-size: 15px; color: var(--ink-soft); }
.file-drop-label u { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.file-drop small { font-size: 12px; color: var(--ink-mute); }

.file-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  border-radius: 2px;
  font-size: 14px;
  color: var(--ink-soft);
}
.file-list li.too-big { color: var(--accent-deep); border-color: var(--accent); }
.file-list .file-name {
  font-weight: 500;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-list .file-size { color: var(--ink-mute); font-size: 13px; margin-left: 12px; flex-shrink: 0; }
.file-list .file-remove {
  background: transparent;
  border: none;
  color: var(--ink-mute);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 18px;
  line-height: 1;
  margin-left: 8px;
}
.file-list .file-remove:hover { color: var(--accent); }

.agreement-box {
  margin-top: 40px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--hairline);
}
.agreement-box h4 {
  font-family: "Instrument Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.agreement-check {
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 14px;
  line-height: 1.55;
}
.agreement-check:last-of-type { border-bottom: none; padding-bottom: 0; }
.agreement-check strong { color: var(--ink); font-weight: 500; }
.agreement-check a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline-soft);
  gap: 16px;
}
.form-actions .spacer { flex: 1; }
.btn-link {
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.2s;
}
.btn-link:hover { color: var(--accent); }

/* Inline field errors */
.field-error {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-deep);
  margin-top: 8px;
  line-height: 1.4;
  animation: field-error-in 0.25s ease;
}
@keyframes field-error-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.radio-row.invalid-group,
.scenario-options.invalid-group,
.checkbox-list.invalid-group {
  outline: 1.5px solid var(--accent-deep);
  outline-offset: 6px;
  border-radius: 2px;
}
label.invalid-group {
  border-color: var(--accent-deep) !important;
  background: rgba(178, 74, 43, 0.06) !important;
}
label.invalid-group strong,
label.invalid-group span {
  color: var(--ink) !important;
}

.form-flag {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.form-flag strong { color: var(--ink); font-weight: 500; display: block; margin-bottom: 4px; }
.form-flag p { margin: 0; }

.form-error {
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(178, 74, 43, 0.08);
  border-left: 3px solid var(--accent-deep);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
}
.form-error strong { display: block; margin-bottom: 4px; }
.form-error p { margin: 0; color: var(--ink-soft); }

#submit-btn.submitting { opacity: 0.7; pointer-events: none; }
#submit-btn.submitting::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-left: 4px;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
