/* ==========================================================================
   Sunrise Gateway Ventures — site styles
   Ported 1:1 from the Claude Design prototype
   `Sunrise Gateway Ventures Website v2.dc.html`.

   Palette: antique brass primary / deep navy anchor / evergreen real estate.
   Type:    Newsreader (display) · Figtree (UI) · IBM Plex Mono (figures)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Surfaces */
  --bg: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --line-strong: #cbd5e1;

  /* Ink */
  --ink: #0f172a;
  --ink-2: #1e293b;
  --body: #475569;
  --muted: #64748b;
  --faint: #94a3b8;
  --label: #334155;

  /* Brass — primary / caregivers */
  --brass: #9a6b28;
  --brass-deep: #7d5620;
  --brass-ink: #5c421a;
  --brass-tint: #fdf7ec;
  --brass-tint-line: #ecdcba;
  --brass-avatar: #f4e7cc;
  --brass-glint: #dfae4b;
  --brass-soft: #e3c98f;

  /* Navy — parent co / platform investors */
  --navy: #1e3a8a;
  --navy-tint: #eef2ff;
  --navy-tint-line: #dbe3ff;

  /* Evergreen — real estate */
  --green: #2d7a4f;
  --green-deep: #235f3e;
  --green-tint: #eef6f0;

  /* Type */
  --font-display: Newsreader, Georgia, "Times New Roman", serif;
  --font-ui: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Elevation */
  --shadow-hair: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-btn: 0 1px 2px rgba(15, 23, 42, 0.08);
  --shadow-brass: 0 4px 14px rgba(154, 107, 40, 0.22);
  --shadow-card: 0 18px 48px rgba(15, 23, 42, 0.1);
  --shadow-pick: 0 8px 22px rgba(15, 23, 42, 0.14);

  /* Rhythm */
  --gutter: clamp(18px, 4vw, 48px);
  --measure-wide: 1400px;
  --measure-page: 1120px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brass-deep);
  text-decoration: none;
}

a:hover {
  color: var(--brass);
}

img,
svg {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

input,
select,
textarea,
button {
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--ink);
}

input::placeholder,
textarea::placeholder {
  color: var(--faint);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* Script-managed elements collapse only when the scripts are present. If
   site.js fails to load, every tab panel and form step stays visible and the
   page degrades to a long, readable document rather than a broken one. */
.js [data-init-hidden] {
  display: none;
}

@keyframes v2pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

@keyframes v2rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(48px, 6vw, 96px) var(--gutter);
  max-width: var(--measure-wide);
  margin: 0 auto;
}

.section--pathways {
  padding-top: clamp(40px, 5vw, 88px);
  padding-bottom: clamp(40px, 5vw, 88px);
}

/* Inner pages sit on a narrower measure and fade in, matching the prototype. */
.page {
  padding: clamp(44px, 6vw, 88px) var(--gutter);
  max-width: var(--measure-page);
  margin: 0 auto;
  animation: v2rise 400ms ease-out both;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}

.eyebrow--navy {
  color: var(--navy);
}

.eyebrow--green {
  color: var(--green);
}

/* Section headings that need the eyebrow's look, not its default weight. */
.eyebrow--h {
  margin: 0 0 18px;
}

.eyebrow--spaced {
  margin: clamp(40px, 5vw, 72px) 0 18px;
}

/* --------------------------------------------------------------------------
   4. Type
   -------------------------------------------------------------------------- */

.h1,
.h2,
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  text-wrap: pretty;
}

.h1 {
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin-bottom: 20px;
}

.h1--hero {
  font-size: clamp(38px, 4.8vw, 66px);
  margin-bottom: 22px;
}

.h1--contact {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
}

.h2 {
  font-size: clamp(24px, 2.9vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

/* Inner-page section subheads — the top margin separates stacked sections. */
.h2--sub {
  font-size: clamp(24px, 2.7vw, 40px);
  margin: clamp(44px, 5.5vw, 80px) 0 clamp(20px, 2.4vw, 32px);
}

/* When an eyebrow directly above already carries the section gap. */
.h2--tight {
  margin-top: 0;
}

.lede--sub {
  margin-bottom: clamp(22px, 2.6vw, 36px);
}

.h2--pathway {
  font-size: clamp(22px, 2.6vw, 40px);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.h3 {
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  max-width: 26ch;
}

.lede {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.68;
  color: var(--body);
  margin: 0 0 clamp(30px, 4vw, 52px);
  text-wrap: pretty;
}

.lede--hero {
  max-width: 56ch;
  margin-bottom: 32px;
}

.lede--62 {
  max-width: 62ch;
}

.lede--64 {
  max-width: 64ch;
}

.lede--66 {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.7;
  max-width: 66ch;
  margin-bottom: clamp(34px, 4vw, 60px);
}

.measure-24 {
  max-width: 24ch;
}
.measure-26 {
  max-width: 26ch;
}
.measure-34 {
  max-width: 34ch;
}

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  padding: 14px 22px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease;
}

.btn--sm {
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 10px;
}

.btn--hero {
  padding: 15px 24px;
}

.btn--wide {
  padding: 15px 26px;
}

.btn--submit {
  padding: 15px 28px;
}

.btn--send {
  padding: 14px 26px;
}

.btn--nowrap {
  white-space: nowrap;
}

.btn--primary {
  background: var(--brass);
  color: #fff;
  box-shadow: var(--shadow-brass);
}

.btn--primary:hover {
  background: var(--brass-deep);
  color: #fff;
}

.btn--primary.btn--sm {
  box-shadow: var(--shadow-btn);
}

.btn--outline {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--navy {
  background: var(--ink);
  color: #fff;
}

.btn--navy:hover {
  background: var(--ink-2);
  color: #fff;
}

.btn--on-brass {
  background: #fff;
  color: var(--brass-deep);
}

.btn--on-brass:hover {
  background: var(--brass-tint);
  color: var(--brass-deep);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.link-arrow {
  font-size: 15px;
  font-weight: 600;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-row--foot {
  margin-top: clamp(28px, 3.4vw, 48px);
  gap: 14px;
}

.fineprint {
  font-size: 13.5px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   6. Announcement bar + header
   -------------------------------------------------------------------------- */

.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  background: var(--ink);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
}

.topbar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass-glint);
  animation: v2pulse 2.6s ease-in-out infinite;
  flex: none;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 16px var(--gutter);
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.brand__text {
  display: block;
  line-height: 1.15;
}

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand__sub {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px clamp(4px, 1vw, 10px);
  flex: 1 1 300px;
  justify-content: center;
}

.site-nav a {
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 13px;
  border-radius: 9px;
  white-space: nowrap;
  background: transparent;
  color: var(--label);
}

.site-nav a:hover {
  color: var(--brass-deep);
}

.site-nav a[aria-current="page"] {
  background: var(--brass-tint);
  color: var(--brass-deep);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
}

/* The photo fills the whole hero band; a left-to-right white scrim keeps the
   overlaid text readable while the subjects stay clear on the right. */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 38%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.9) 36%,
    rgba(255, 255, 255, 0.55) 60%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 58vh, 660px);
  padding: clamp(44px, 6vw, 88px) var(--gutter);
  max-width: var(--measure-wide);
  margin: 0 auto;
}

.hero__content {
  max-width: 640px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brass-deep);
  background: var(--brass-tint);
  border: 1px solid var(--brass-tint-line);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero__accent {
  color: var(--brass);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.chip {
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

/* On phones the text sits over the whole image, so the scrim goes uniform. */
@media (max-width: 700px) {
  .hero__scrim {
    background: rgba(255, 255, 255, 0.9);
  }
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-hair);
}

.card--flat {
  box-shadow: none;
}

.card--pad-fluid {
  padding: clamp(22px, 2.4vw, 30px);
}

.card--tight {
  padding: 22px;
}

.card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card__list {
  font-size: 15px;
  line-height: 1.9;
  color: var(--body);
}

.card__body {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--body);
  margin: 0;
}

/* Metric cards (investor pages / pathway rails) */
.metric__figure {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
}

.metric__figure--rail {
  font-size: clamp(34px, 3.2vw, 46px);
}

.metric__label {
  font-size: 14px;
  color: var(--body);
  margin-top: 10px;
}

.metric__label--rail {
  margin-top: 9px;
}

/* --------------------------------------------------------------------------
   10. Grids
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 16px;
}

.grid--18 {
  gap: 18px;
}

.grid--14 {
  gap: 14px;
}

.grid--210 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

.grid--220 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.grid--240 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.grid--280 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid--300 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid--320 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.grid--340 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.grid--rail {
  align-content: start;
}

/* Explicit two-step tracks: `auto-fit` drifts through a 3-column band that
   strands the last cell, so this grid states its tracks outright. */
#cg-benefits {
  grid-template-columns: minmax(0, 1fr);
}

/* --------------------------------------------------------------------------
   11. Solution band / CTA bands
   -------------------------------------------------------------------------- */

.cta-band {
  background: var(--brass);
  color: #fff;
  border-radius: 20px;
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

.cta-band__copy {
  flex: 1 1 320px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  max-width: 26ch;
}

.cta-band .btn {
  flex: none;
}

/* --------------------------------------------------------------------------
   12. Pathway tabs
   -------------------------------------------------------------------------- */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  margin-bottom: clamp(24px, 3vw, 40px);
  width: fit-content;
  max-width: 100%;
  box-shadow: var(--shadow-hair);
}

.tab {
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  background: transparent;
  color: var(--body);
  transition: background 160ms ease;
}

.tab:hover {
  background: var(--line-soft);
}

.tab[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.tab[aria-selected="true"]:hover {
  background: var(--ink);
}

.pathway {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(24px, 3vw, 48px);
  animation: v2rise 400ms ease-out both;
}

.pathway[hidden] {
  display: none;
}

.pill {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 13px;
  margin-bottom: 18px;
  color: var(--brass-deep);
  background: var(--brass-tint);
}

.pill--navy {
  color: var(--navy);
  background: var(--navy-tint);
}

.pill--green {
  color: var(--green-deep);
  background: var(--green-tint);
}

.pathway__copy {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin: 0 0 20px;
  max-width: 58ch;
}

.pathway__copy--last {
  margin-bottom: 22px;
}

.callout {
  background: var(--brass-tint);
  border: 1px solid var(--brass-tint-line);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 22px;
}

.callout__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brass-deep);
  margin-bottom: 8px;
}

.callout__body {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  color: var(--brass-ink);
}

.callout--navy {
  background: var(--navy-tint);
  border-color: var(--navy-tint-line);
}

.callout--navy .callout__label {
  color: var(--navy);
}

.callout--navy .callout__body {
  color: var(--ink-2);
}

/* Priced rail rows (Business Incubator / Forced Savings) */
.priced__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.priced__name {
  font-size: 15px;
  font-weight: 700;
}

.priced__name span {
  font-weight: 500;
  color: var(--faint);
}

.priced__price {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
}

.priced__price small {
  font-size: 12.5px;
  color: var(--muted);
}

.priced__figure {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--green);
}

/* --------------------------------------------------------------------------
   13. Caregiver program steps
   -------------------------------------------------------------------------- */

.step__num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--brass-tint);
  color: var(--brass-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.step__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Traditional-way vs Sunrise-co-op cards */
.vs-card__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.vs-card--coop {
  background: var(--brass-tint);
  border-color: var(--brass-tint-line);
}

.vs-card--coop .vs-card__label {
  color: var(--brass-deep);
}

/* DIY-vs-co-op economics table. Scrolls inside its own container on phones
   rather than forcing horizontal page scroll. */
.table-scroll {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-hair);
}

.cmp {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.cmp th,
.cmp td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line-soft);
}

.cmp thead th {
  border-top: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
}

.cmp tbody th {
  width: 21%;
  font-weight: 700;
  color: var(--ink);
}

/* Metric labels stay pinned while the table scrolls sideways on phones. */
.cmp tbody th,
.cmp thead th:first-child {
  position: sticky;
  left: 0;
  background: var(--surface);
  border-right: 1px solid var(--line-soft);
}

.cmp thead th:first-child {
  background: var(--bg);
}

/* Visible only when the table actually overflows its container. */
.table-hint {
  display: none;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
}

@media (max-width: 760px) {
  .table-hint {
    display: block;
  }
}

.cmp td strong {
  display: block;
  margin-bottom: 6px;
}

.cmp td span {
  display: block;
  color: var(--body);
  line-height: 1.6;
}

.cmp .cmp__coop {
  background: var(--brass-tint);
}

.cmp thead .cmp__coop {
  color: var(--brass-deep);
}

/* Five-step launch path — a single vertical flow, since five cards would
   strand one cell in a two-column grid. */
.steps-flow {
  list-style: none;
  margin: 0 0 clamp(28px, 3.4vw, 48px);
  padding: 0;
  display: grid;
  gap: 14px;
}

.steps-flow__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-hair);
}

.steps-flow__item .step__num {
  flex: none;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   14. Real-estate option cards
   -------------------------------------------------------------------------- */

.option {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-hair);
}

.option__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 16px;
}

.option__figure {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1;
  color: var(--green);
}

.option__caption {
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0 18px;
}

.option__list {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--body);
}

/* --------------------------------------------------------------------------
   15. About — mission, values, leadership
   -------------------------------------------------------------------------- */

.mission-card .problem {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--faint);
  margin: 0 0 12px;
}

.problem b {
  color: var(--green);
  font-weight: 600;
}

.mission-card .solution {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--body);
  margin: 0;
}

/* Wrapping flex, not a grid — a grid's track count can't be assumed here. */
.value {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 2.4vw, 30px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 40px);
  align-items: baseline;
}

.value__label {
  flex: 1 1 260px;
  max-width: 340px;
}

.value__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brass);
  margin-bottom: 8px;
}

.value__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 500;
  line-height: 1.24;
}

.value__copy {
  flex: 2 1 400px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--body);
  margin: 0;
  max-width: 70ch;
}

.person {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.person__portrait {
  aspect-ratio: 1;
  max-width: 150px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: var(--line-soft);
  border: 1px dashed var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--faint);
}

.person__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
}

.person__role {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}

/* --------------------------------------------------------------------------
   16. Contact routing cards
   -------------------------------------------------------------------------- */

.route {
  border-top: 3px solid var(--brass);
}

.route--navy {
  border-top-color: var(--navy);
}

.route--green {
  border-top-color: var(--green);
}

.route--ink {
  border-top-color: var(--ink);
}

.route__lead {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--body);
  margin: 0 0 8px;
}

.route__detail {
  font-size: 14px;
  line-height: 1.7;
  color: var(--faint);
  margin: 0;
}

.route__email {
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 12px;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   17. Forms
   -------------------------------------------------------------------------- */

.field {
  display: block;
}

.field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--label);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}

.field select {
  cursor: pointer;
}

.field textarea {
  resize: vertical;
}

/* Contact card is white, so its inputs invert to the page wash. */
.form-card--white .field input,
.form-card--white .field select,
.form-card--white .field textarea {
  background: var(--bg);
}

.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 44px);
}

.form-card--white {
  background: var(--surface);
  max-width: 820px;
  box-shadow: var(--shadow-hair);
}

.form-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  margin: 0 0 24px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
}

.step-head--tight {
  margin-bottom: 12px;
}

.step-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--brass-deep);
  background: var(--brass-tint);
  border-radius: 999px;
  padding: 5px 11px;
  flex: none;
}

.step-badge--navy {
  color: var(--navy);
  background: var(--navy-tint);
}

.step-badge--green {
  color: var(--green-deep);
  background: var(--green-tint);
}

.step-head__title {
  font-size: 15.5px;
  font-weight: 700;
}

.form-step {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  animation: v2rise 320ms ease-out both;
}

.form-step[hidden] {
  display: none;
}

.form-step__note {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--body);
  margin: 0 0 22px;
  max-width: 66ch;
}

.form-hint {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}

.form-hint[hidden] {
  display: none;
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 14.5px;
  line-height: 1.6;
}

.form-error[hidden] {
  display: none;
}

/* The contact form is itself a grid, so the gap supplies the spacing. */
[data-contact-form] .form-error {
  margin-top: 0;
}

.form-actions {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.form-actions .fineprint {
  max-width: 48ch;
}

/* --------------------------------------------------------------------------
   18. Waitlist
   -------------------------------------------------------------------------- */

.waitlist {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 96px) var(--gutter);
  scroll-margin-top: 88px;
}

.waitlist__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.waitlist__head {
  text-align: center;
  margin-bottom: clamp(26px, 3vw, 44px);
}

.waitlist__head .h2 {
  font-size: clamp(28px, 3.4vw, 48px);
  margin: 0 auto;
  max-width: 24ch;
}

.picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  margin-bottom: clamp(22px, 2.6vw, 34px);
}

.pick {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  text-align: left;
  padding: 20px;
  border-radius: 16px;
  cursor: pointer;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
    box-shadow 160ms ease;
}

.pick:hover {
  border-color: var(--line-strong);
}

.pick__name {
  font-size: 15.5px;
  font-weight: 700;
}

.pick__sub {
  font-size: 13.5px;
  line-height: 1.55;
  opacity: 0.78;
}

.pick[aria-pressed="true"] {
  color: #fff;
  box-shadow: var(--shadow-pick);
}

.pick--care[aria-pressed="true"] {
  background: var(--brass);
  border-color: var(--brass);
}

.pick--parent[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
}

.pick--real[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
}

.thanks {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(30px, 4vw, 64px);
  text-align: center;
  animation: v2rise 400ms ease-out both;
}

.thanks[hidden] {
  display: none;
}

.thanks__icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--brass-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.thanks .h2 {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.2;
  margin: 0 auto 18px;
  max-width: 34ch;
}

.thanks__copy {
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  max-width: 64ch;
  margin: 0 auto;
}

/* The waitlist stacks a shared follow-up line above the pathway-specific
   paragraph, so consecutive copy needs a gap the single-paragraph case
   never did. */
.thanks__copy + .thanks__copy {
  margin-top: 14px;
}

.thanks__copy[hidden] {
  display: none;
}

.thanks__again {
  margin-top: 26px;
}

/* Confirmation shown in place of the contact form, inside its own card. */
.thanks--inline {
  padding: clamp(22px, 2.6vw, 32px);
  margin-bottom: 24px;
}

.thanks--inline .thanks__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.thanks--inline .thanks__copy {
  max-width: 52ch;
}

.linkbtn {
  font-size: 15px;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  color: var(--brass-deep);
  cursor: pointer;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   19. Trust strip
   -------------------------------------------------------------------------- */

.trust {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 5vw, 72px) var(--gutter);
}

.trust__inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.trust__lead {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  max-width: 30ch;
}

.trust__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
}

.trust__list {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--body);
}

.trust__logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trust__logo {
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 16px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--faint);
}

.trust__note {
  font-size: 12px;
  color: var(--faint);
  margin-top: 9px;
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: #e2e8f0;
  padding: clamp(44px, 5vw, 80px) var(--gutter) 28px;
}

.site-footer__inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(26px, 3vw, 48px);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: #fff;
}

.site-footer__blurb {
  font-size: 14px;
  line-height: 1.7;
  color: var(--faint);
  max-width: 34ch;
  margin: 0;
}

.site-footer h2 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.site-footer a {
  color: var(--faint);
}

.site-footer a:hover {
  color: #fff;
}

.disclosure {
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--ink-2);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 110ch;
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding-top: 20px;
  margin-top: 22px;
  border-top: 1px solid var(--ink-2);
  font-size: 12.5px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   21. Breakpoints
   -------------------------------------------------------------------------- */

/* Two long headlines hold one line on tablet and up, and wrap on phones
   rather than forcing horizontal page scroll. */
@media (min-width: 760px) {
  #pathway-h {
    white-space: nowrap;
  }
}

@media (min-width: 620px) {
  #cg-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Below the width where brand, nav, and CTA fit on one row, the header goes
   two-banded — brand left and CTA right on the first row, nav centered
   underneath — and stops pinning, since the wrapped stack is too tall to
   give up on a phone screen. On small phones the CTA swaps to its compact
   label so it still fits beside the logo. */
.site-header__cta .cta-compact {
  display: none;
}

@media (max-width: 1199px) {
  .site-header {
    position: static;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
  }

  .site-header__cta {
    margin-left: auto;
  }
}

@media (max-width: 540px) {
  .site-header__cta .cta-full {
    display: none;
  }

  .site-header__cta .cta-compact {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
