/* Full-width document sections must not add a scrollbar-width horizontal pan. */
body { overflow-x: clip; }

@font-face {
  font-family: "Freight Display Pro";
  src: url("/assets/brand/freight-display-light.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Freight Display Pro";
  src: url("/assets/brand/freight-display-book.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Freight Display Pro";
  src: url("/assets/brand/freight-display-light-italic.otf") format("opentype");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Sohne";
  src: url("/assets/brand/sohne-book.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Sohne";
  src: url("/assets/brand/sohne-medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Sohne";
  src: url("/assets/brand/sohne-semibold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --red: #ff2c3f;
  --red-press: #e01f31;
  --charcoal: #373638;
  --charcoal-80: #5a595b;
  --charcoal-50: #9b9a9c;
  --white: #fff;
  --cream: #f5f3ef;
  --cream-deep: #ebe7e0;
  --ink: #373638;
  --font-display: "Freight Display Pro", Georgia, "Times New Roman", serif;
  --font-sans: "Sohne", "Söhne", "Helvetica Neue", Arial, sans-serif;
  --rule: #e4e1dc;
  --radius-md: 6px;
  --radius-pill: 999px;
}

html { scroll-behavior: smooth; }
body {
  color: var(--charcoal);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}
body.home-stage-active { padding-top: 0; }
#step-policy .media-frame { height: clamp(420px, 65vh, 760px); aspect-ratio: auto; }
#step-policy .policy-agreements {
  padding-left: 24px;
  margin: 0 0 28px;
  color: var(--charcoal);
  line-height: 1.65;
}
#step-policy .policy-agreements li + li { margin-top: 10px; }
body.register-stage-active {
  position: relative;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(55,54,56,.055) 50%, transparent calc(50% + 1px)),
    var(--cream);
}
body.register-stage-active #step-register {
  position: relative;
  padding: clamp(30px, 6vw, 60px);
  background: var(--white);
  border-top: 4px solid var(--red);
  box-shadow: 0 22px 70px rgba(55,54,56,.08);
}
#step-register > p:first-child {
  max-width: 330px;
  margin: 0 0 28px;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 300;
  line-height: 1.03;
}
.register-form { margin-top: 0; }
.register-form label {
  color: var(--charcoal-80);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.register-form input {
  padding: 15px 16px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.register-form input:focus-visible,
#step-policy input:focus-visible,
#step-branch textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.register-form input::placeholder { color: var(--charcoal-50); }
button, .branch-btn { border-radius: 2px; }
button:focus-visible, .branch-btn:focus-visible, #resource-home:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
.register-form button,
#step-policy button,
#step-branch #branch-submit,
#step-done button {
  min-height: 46px;
  padding: 13px 22px;
  color: var(--white);
  background: var(--red);
}
button:hover:not(:disabled) { background: var(--red-press); }
button:disabled { color: var(--charcoal-50); background: var(--cream-deep); }

.step:not(#step-deck-1):not(#step-deck-2):not(#step-videos):not(#step-home):not(#step-faq) {
  color: var(--charcoal);
}
#step-policy.active, #step-branch.active, #step-done.active {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 26px clamp(0px, 3vw, 30px) 48px;
}
#step-policy h1, #step-branch h1, #step-done h1 {
  max-width: 800px;
  color: var(--charcoal);
  font-size: clamp(2.7rem, 7vw, 5rem);
}
#step-policy .eyebrow, #step-branch .eyebrow, #step-done .eyebrow {
  color: var(--red);
}
#step-policy .media-frame {
  margin: 28px 0;
  background: var(--charcoal);
  border: 0;
  border-radius: 0;
}
#step-policy .sign-block {
  padding: clamp(20px, 4vw, 38px);
  background: var(--cream);
  border-left: 3px solid var(--red);
}
#step-policy .sign-intro, #step-policy label,
#step-branch p, #step-branch label {
  color: var(--charcoal-80);
}
#step-policy input[type="text"], #step-branch textarea {
  color: var(--charcoal);
  background: var(--white);
  border-color: var(--rule);
  border-radius: 2px;
}
#step-policy .checkbox-row { color: var(--charcoal); }
#step-policy .checkbox-row input { accent-color: var(--red); }
#step-policy #policy-acknowledgment { color: var(--charcoal); }
#step-branch .branch-options { border-color: var(--rule); }
#step-branch .branch-btn {
  color: var(--charcoal);
  border-color: var(--rule);
}
#step-branch .branch-btn .label { color: var(--red); }
#step-branch .branch-btn:hover:not(:disabled) { color: var(--red); }
#step-branch .branch-check { border-color: var(--charcoal-50); }
#step-branch .response-block { padding: 20px; background: var(--cream); }
#step-branch .response-block textarea { border-color: var(--rule); }
#step-done #done-message { color: var(--charcoal-80); }

#step-home.active {
  background: var(--cream);
  padding-top: 0;
  padding-bottom: 56px;
}
#step-home .home-shell { color: var(--charcoal); }
.intro-playback-note {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 2;
  max-width: calc(100% - 136px);
  display: inline-block;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--charcoal);
  background: var(--cream);
  font-size: .85rem;
  line-height: 1.4;
}
.intro-playback-note[hidden] { display: none; }
#step-home .home-hero {
  min-height: 240px;
  position: relative;
  overflow: hidden;
  align-items: flex-end;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 0;
  padding: clamp(28px, 3vw, 40px) clamp(44px, 6.5vw, 80px);
}
#step-home .home-hero-copy { position: relative; z-index: 1; }
#step-home .home-kicker { color: rgba(255,255,255,.84); margin-bottom: clamp(28px, 3vw, 40px); }
#step-home .home-section-label { color: var(--red); }
#step-home .home-title {
  color: var(--white);
  font-size: clamp(3.1rem, 8.4vw, 6.5rem);
  letter-spacing: -.02em;
  line-height: .96;
}
#step-home .home-title em { font-style: italic; font-weight: 300; overflow-wrap: anywhere; }
#step-home .home-intro { max-width: 720px; color: rgba(255,255,255,.92); }
#step-home .home-brand-mark {
  position: absolute;
  top: clamp(24px, 3.3vw, 40px);
  right: clamp(24px, 3.3vw, 40px);
  z-index: 1;
  display: block;
  width: clamp(36px, 3.9vw, 48px);
  height: auto;
  fill: var(--white);
}
#step-home .home-journey {
  border-color: var(--rule);
}
#step-home .home-journey h2,
#step-home .home-section-heading h2,
#step-home .home-governance h2,
#step-home .home-participation h2,
#step-home .home-faq-entry h2 { color: var(--charcoal); }
#step-home .home-muted { color: var(--charcoal-80); }
#step-home .home-group-title { color: var(--charcoal-50); }
#step-home .home-resource-list,
#step-home .home-resource,
#step-home .home-choice-list,
#step-home .home-choice,
#step-home .home-participation { border-color: var(--rule); }
#step-home .home-resource-list { background: var(--white); }
#step-home .home-resource-list .home-resource {
  padding: 20px clamp(20px, 2vw, 28px);
}
#step-home .home-resource { color: var(--charcoal); }
#step-home .home-resource:hover:not(:disabled) { color: var(--red); background: var(--cream); }
#step-home .home-resource-detail,
#step-home .home-resource-kind { color: var(--charcoal-50); }
#step-home .home-status { color: var(--charcoal-80); }
#step-home .home-status-completed { color: var(--red-press); }
#step-home .home-status-in_progress { color: #8c5a17; }
#step-home .home-status::before { background: var(--cream-deep); }
#step-home .home-status-completed::before { background: var(--red); }
#step-home .home-status-in_progress::before { background: #c58d39; }
#step-home .home-governance {
  background: var(--white);
  border-left-color: var(--red);
}
#step-home .home-governance .home-resource-title { color: var(--red-press); }
#step-home .home-choice { color: var(--charcoal); }
#step-home .home-choice:hover:not(:disabled) { color: var(--red); background: transparent; }
#step-home .home-choice-description,
#step-home .home-branch-status { color: var(--charcoal-80); }
#step-home .home-footer { color: var(--charcoal-50); }
#step-home .home-faq-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 12px 0 26px;
  padding: 30px clamp(20px, 3vw, 38px);
  background: var(--white);
  border-left: 3px solid var(--red);
}
#step-home .home-faq-entry h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 300;
}
#step-home .home-faq-copy { max-width: 650px; }
#step-home .home-faq-button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 13px 22px;
  color: var(--white);
  background: var(--red);
}
#resource-home:not([hidden]) {
  color: var(--charcoal);
  background: rgba(255,255,255,.96);
  border-color: var(--rule);
}
#resource-home:not([hidden]):hover { color: var(--white); background: var(--red-press); }

@media (max-width: 760px) {
  #step-home .home-hero { min-height: 240px; }
  #step-home .home-faq-entry { align-items: flex-start; flex-direction: column; }
  #step-home .home-faq-button { width: 100%; }
}

@media (max-width: 540px) {
  #step-home .home-hero { padding: 56px 20px 24px; }
  #step-home .home-kicker { margin-bottom: 24px; }
}
