/* =========================================================================
   Forge: one-page site styles
   Brand palette lives in :root below. Everything else uses these tokens.
   ========================================================================= */

:root {
  color-scheme: dark;

  /* Brand palette (from the brief) */
  --graphite: #3c3744;
  --navy: #090c9b;          /* navy-electric */
  --blue: #3066be;          /* smart-blue */
  --powder: #b4c5e4;        /* powder-blue */
  --ivory: #fbfff1;

  /* ===== DARK THEME: tweak the look here =====
     Contrast (WCAG AA needs 4.5:1 for text) is noted next to each text color.
     Never use --accent-strong (smart-blue) or --accent-band (navy) as TEXT on the graphite
     backgrounds: they're only ~2:1 there. */
  --bg: var(--graphite);    /* main page background */
  --bg-alt: #34303b;        /* darker graphite for alternating sections */
  --bg-deep: #2a2630;       /* header, footer, form inputs */
  --surface: #46414f;       /* cards on graphite */
  --text: var(--ivory);     /* body text: 11.4:1 on --bg, 12.7 on --bg-alt, 9.7 on --surface */
  --text-muted: #c9c8cc;    /* secondary text: 6.9:1 on --bg, 7.7 on --bg-alt, 5.9 on --surface */
  --accent: var(--powder);  /* links, eyebrows, labels, checkmarks: 6.6:1 on --bg, 5.7 on --surface */
  --accent-strong: var(--blue); /* buttons (ivory text 5.5:1) and decorative borders */
  --accent-band: var(--navy);   /* accent bands and blocks (ivory text 13.5:1, powder 7.8:1) */
  --line: rgba(180, 197, 228, 0.28); /* subtle powder hairlines and card borders */
  --field-bg: var(--bg-deep);
  --field-border: #8e9bb8;  /* input borders: 5.3:1 on the input, 3.5:1 on --surface */
  --placeholder: #a9a6b0;   /* 6.2:1 on --field-bg */
  --error: #ffb4ab;         /* error text: 5.8:1 on --surface, 8.7 on --field-bg */
  --error-bg: #3d2228;      /* invalid input background (ivory 14.2:1) */
  --error-box: #5c2b2e;     /* error message box (ivory 11.2:1) */

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 4px;
  --header-h: 64px;

  /* Context colors (sections override these) */
  --heading: var(--ivory);
  --muted: var(--text-muted);
  --focus: var(--powder);
  --graphite-deep: var(--bg-deep);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  overflow-wrap: break-word; /* long email addresses wrap on small phones */
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); text-transform: uppercase; }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.6rem); line-height: 1.1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
main:focus { outline: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  background: var(--ivory);
  color: var(--navy);
  padding: 0.75rem 1rem;
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 0.75rem; }

[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: var(--ivory);
  --btn-border: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --btn-bg: var(--navy); --btn-border: var(--navy); }
/* On navy blocks the navy hover would vanish, so it keeps a powder outline there */
.section--navy .btn--primary:hover, .questions .btn--primary:hover { --btn-border: var(--powder); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-border: var(--powder); }
.btn--ghost:hover { --btn-bg: var(--ivory); --btn-fg: var(--graphite); --btn-border: var(--ivory); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-border: var(--powder); }
.btn--outline:hover { --btn-bg: var(--powder); --btn-fg: var(--graphite); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--navy); --btn-border: var(--ivory); }
.btn--light:hover { --btn-bg: var(--powder); --btn-border: var(--powder); }
.btn--sm { min-height: 40px; padding: 0.45rem 1.1rem; font-size: 1.05rem; }
.btn--lg { min-height: 54px; padding: 0.85rem 1.7rem; font-size: 1.25rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 559px) { .hero .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: block;
  margin: 0 0 1rem;
  line-height: 1.35;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 28px; height: 3px;
  margin: -3px 0.6rem 0 0;
  background: currentColor;
}
.eyebrow--on-dark { color: var(--powder); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--muted); line-height: 1.55; }
.lead:last-child { margin-bottom: 0; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--graphite-deep);
  color: var(--ivory);
  border-bottom: 1px solid rgba(180, 197, 228, 0.18);
  --focus: var(--powder);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ivory);
  text-decoration: none;
}
.wordmark__mark { width: 28px; height: 28px; color: var(--ivory); }
.wordmark__accent { fill: var(--powder); }
.wordmark__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.22em;
  line-height: 1;
  padding-top: 2px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -8px;
  background: transparent;
  border: 0;
  color: var(--ivory);
  cursor: pointer;
  border-radius: var(--radius);
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu (default). Without JavaScript the menu just shows as a row of links. */
.site-nav__list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: center; }
.site-nav a:not(.btn) {
  color: var(--ivory);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.site-nav a:not(.btn):hover { color: var(--powder); text-decoration: underline; }

.js .site-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--graphite-deep);
  border-bottom: 1px solid rgba(180, 197, 228, 0.18);
  padding: 0.5rem var(--gutter) 1.25rem;
  display: none;
}
.js .site-nav.is-open { display: block; }
.js .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
.js .site-nav a:not(.btn) {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(180, 197, 228, 0.14);
}
.js .site-nav .btn { margin-top: 1rem; width: 100%; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .nav-bar { flex-wrap: wrap; padding-block: 0.5rem; gap: 0.5rem; }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .js .site-nav {
    position: static;
    display: block;
    background: none;
    border: 0;
    padding: 0;
  }
  .js .site-nav__list { flex-direction: row; align-items: center; gap: 2rem; }
  .js .site-nav a:not(.btn) { display: inline; padding: 0; border: 0; font-size: 1rem; }
  .js .site-nav .btn { margin: 0 0 0 0.25rem; width: auto; }
}

/* ---------- Hero ---------- */
.hero {
  --text: var(--ivory);
  --heading: var(--ivory);
  --focus: var(--powder);
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  background-color: var(--graphite);
  background-image:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(48, 102, 190, 0.45), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(9, 12, 155, 0.55), transparent 70%),
    linear-gradient(rgba(180, 197, 228, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 197, 228, 0.07) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px;
  padding-block: clamp(2.25rem, 5vw, 4rem) clamp(2.75rem, 5vw, 4rem);
}
.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.6rem, 9vw, 5.1rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 1.25rem;
}
.hero__title em { font-style: normal; color: var(--powder); }
.hero__sub {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  max-width: 38em;
  color: var(--ivory);
  opacity: 0.94;
}
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--powder);
  margin-bottom: 1.75rem;
}
.trust-line {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.75rem;
  font-size: 0.98rem;
  color: var(--powder);
}
.trust-line li { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-line li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--powder);
  flex: none;
}

.hero__photo {
  position: relative;
  margin: 0;
  max-width: 300px;
  width: 100%;
  justify-self: center;
}
.hero__photo::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 2px solid var(--blue);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 calc(100% - 44px));
}
.hero__photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 calc(100% - 44px));
}
.hero__badge {
  position: absolute;
  right: -6px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  padding: 0.65rem 1rem;
  background: var(--ivory);
  color: var(--graphite);
  border-left: 4px solid var(--blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  line-height: 1.25;
}
.hero__badge strong { font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.06em; }
.hero__badge span { font-size: 0.9rem; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.35fr 1fr; }
  .hero__photo { justify-self: end; max-width: 380px; }
}

/* ---------- Tickers ---------- */
.tickers { position: relative; }
.ticker { position: relative; overflow: hidden; }
.ticker--quotes { background: var(--navy); color: var(--ivory); --focus: var(--powder); }
.ticker--wins { background: var(--powder); color: var(--graphite); --focus: var(--navy); }

.ticker__viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.ticker__viewport:focus-visible { outline-offset: -4px; }
.ticker__track { display: flex; width: max-content; }
.ticker__group {
  list-style: none;
  display: flex;
  flex: none;
  align-items: center;
  min-width: 100vw;
  justify-content: space-around;
}
.ticker__group > li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0.95rem 1.4rem;
  font-size: 1.02rem;
  position: relative;
}
/* dot separator */
.ticker__group > li::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: currentColor;
  opacity: 0.55;
}
.ticker--quotes q { font-style: italic; }
.ticker--quotes q::before { content: "\201C"; }
.ticker--quotes q::after { content: "\201D"; }
.ticker--quotes cite {
  font-style: normal;
  font-size: 0.92em;
  color: var(--powder);
}
.ticker--quotes cite::before { content: "\2014\00a0"; }
.ticker--quotes cite i { font-style: italic; }
.ticker--quotes .is-brand q { font-style: normal; font-weight: 700; font-family: var(--font-display); font-size: 1.15em; letter-spacing: 0.04em; text-transform: uppercase; }
.ticker--wins strong { color: var(--navy); font-family: var(--font-display); font-size: 1.12em; text-transform: uppercase; letter-spacing: 0.04em; }

/* Animated mode: added by main.js once the loop copy exists and motion is allowed */
.ticker.is-animated .ticker__viewport { overflow: hidden; }
.ticker.is-animated .ticker__track {
  animation: ticker-left var(--ticker-duration, 90s) linear infinite;
  will-change: transform;
}
.ticker.is-animated[data-direction="right"] .ticker__track { animation-name: ticker-right; }
.ticker.is-animated:hover .ticker__track,
.ticker.is-animated:focus-within .ticker__track,
.tickers.is-paused .ticker__track { animation-play-state: paused; }

@keyframes ticker-left { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes ticker-right { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

/* Reduced motion: never animate; viewers scroll the bar by hand (or with arrow keys when focused) */
@media (prefers-reduced-motion: reduce) {
  .ticker .ticker__track { animation: none !important; transform: none !important; }
  .ticker .ticker__viewport { overflow-x: auto !important; scroll-snap-type: x proximity; }
  .ticker__group > li { scroll-snap-align: start; }
  .ticker-toggle { display: none !important; }
}

.ticker-controls {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  right: 0; left: 0; bottom: -40px;
  pointer-events: none;
  z-index: 2;
}
.ticker-toggle {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 32px;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--bg-deep);
  color: var(--text);
  font: 600 0.85rem/1 var(--font-body);
  cursor: pointer;
}
.ticker-toggle:hover { border-color: var(--powder); color: var(--powder); }
.ticker-toggle__icon {
  width: 10px; height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.ticker-toggle[aria-pressed="true"] .ticker-toggle__icon {
  border: 0;
  width: 0; height: 0;
  border-left: 10px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section--tint { background: var(--bg-alt); }
.section--navy {
  --text: var(--ivory); --heading: var(--ivory); --muted: var(--powder); --accent: var(--powder); --focus: var(--powder);
  background: var(--accent-band);
  color: var(--ivory);
}
.section--dark {
  --text: var(--ivory); --heading: var(--ivory); --muted: var(--powder); --accent: var(--powder); --focus: var(--powder);
  background-color: var(--bg-alt);
  background-image:
    linear-gradient(rgba(180, 197, 228, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 197, 228, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ivory);
}
.section--navy a:not(.btn), .section--dark a:not(.btn) { color: var(--ivory); }

.closer {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.15;
  color: var(--accent);
  margin: 2rem 0 0;
  max-width: 30em;
}
.closer--small { font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; color: var(--text); }

/* Problems */
.problem-grid {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .problem-grid li:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
.problem-grid li {
  position: relative;
  padding: 1.1rem 1.2rem 1.1rem 3.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-strong);
  border-radius: var(--radius);
  line-height: 1.45;
}
.problem-grid li::before {
  content: "";
  position: absolute;
  left: 1.05rem; top: 1.25rem;
  width: 14px; height: 14px;
  border: 2px solid var(--accent);
  transform: rotate(45deg);
}

/* Who it's for (compact strip in the problems section) */
.fit-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent-strong);
  border-radius: var(--radius);
}
.fit-strip__title { margin: 0; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.fit-strip__list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.fit-strip__list li { position: relative; padding-left: 1.7rem; line-height: 1.4; }
.fit-strip__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.28em;
  width: 14px; height: 8px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

.questions {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--accent-band);
  color: var(--ivory);
  border-radius: var(--radius);
  --focus: var(--powder);
}
.questions__title { color: var(--ivory); text-transform: uppercase; font-size: clamp(1.5rem, 3.2vw, 2rem); }
.question-list {
  list-style: none;
  counter-reset: q;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  margin-bottom: 1.5rem;
}
.question-list li {
  counter-increment: q;
  padding: 1rem;
  border: 1px solid rgba(180, 197, 228, 0.35);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.15;
}
.question-list li::before {
  content: "0" counter(q);
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--powder);
  margin-bottom: 0.4rem;
}
.questions__foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
.questions__foot p { margin: 0; font-size: 1.1rem; max-width: 34em; }

.check-list { list-style: none; display: grid; gap: 0.6rem; margin-bottom: 1.25rem; }
.check-list li { position: relative; padding-left: 1.9rem; line-height: 1.45; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 16px; height: 9px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}
.check-list--on-dark li::before { border-color: var(--powder); }
.fine-print { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.5rem; }

/* Method */
.pillars {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.pillar {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid rgba(180, 197, 228, 0.4);
  border-top: 4px solid var(--powder);
  border-radius: var(--radius);
  background: rgba(251, 255, 241, 0.04);
}
.pillar__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--powder);
  margin-bottom: 0.5rem;
}
.pillar h3 { text-transform: uppercase; font-size: 1.8rem; letter-spacing: 0.04em; }
.pillar p { margin: 0; }
.badges { display: grid; gap: 1rem; margin: 2rem 0 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.badge { display: flex; flex-direction: column; gap: 0.25rem; }
.badge dt {
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
}
.badge dd { margin: 0; color: var(--ivory); font-size: 0.98rem; }

/* What owners work toward (inside the method section) */
.outcomes {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(1.5rem, 4vw, 2rem);
  border-top: 1px solid rgba(180, 197, 228, 0.3);
}
.outcomes__title { text-transform: uppercase; font-size: 1.35rem; letter-spacing: 0.04em; }
.outcome-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.25rem; }
.outcome-list li {
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(180, 197, 228, 0.5);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
}
.outcomes .fine-print { margin-bottom: 0; }

/* About */
.about { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: 1.4fr 1fr; } }
.about__copy p { max-width: 38em; }
.about__copy .btn { margin-top: 0.75rem; }
.facts {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ivory);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius);
  border-top: 5px solid var(--accent-strong);
}
.facts__title { color: var(--ivory); text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.45rem; }
.facts__list { list-style: none; display: grid; gap: 0; }
.facts__list li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.9rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(180, 197, 228, 0.25);
  line-height: 1.35;
}
.facts__big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--powder);
  text-transform: uppercase;
}

/* How it works */
.steps {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.step {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
}
.step h3 { display: flex; align-items: center; gap: 0.75rem; text-transform: uppercase; font-size: 1.45rem; }
.step__num {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.4rem; height: 2.4rem;
  background: var(--accent-strong);
  color: var(--ivory);
  font-size: 1.4rem;
  border-radius: 2px;
}
.step p { margin: 0; }
.steps__foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; margin-top: 2rem; }
.steps__foot p { margin: 0; font-weight: 600; max-width: 36em; }

/* Pricing */
.plans { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1.35fr; align-items: start; } }
.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(180, 197, 228, 0.4);
  border-radius: var(--radius);
  background: var(--surface);
}
.plan > .btn { margin-top: auto; }
.plan__name { text-transform: uppercase; font-size: 1.7rem; letter-spacing: 0.03em; }
.plan__name span { display: block; font-size: 1rem; letter-spacing: 0.14em; color: var(--powder); margin-top: 0.35rem; }
.plan__price { display: flex; align-items: flex-end; gap: 0.75rem; margin-bottom: 1.25rem; }
.plan__amount { font-family: var(--font-display); font-weight: 700; font-size: 3.6rem; line-height: 0.9; color: var(--ivory); }
.plan__unit { font-size: 0.98rem; color: var(--powder); line-height: 1.3; }
.plan__meta { list-style: none; margin-bottom: 1rem; }
.plan--featured {
  background: var(--accent-band);
  border: 2px solid var(--accent-strong);
  box-shadow: 0 20px 50px rgba(9, 12, 155, 0.35);
}
.plan--featured > .btn { margin-top: 0.5rem; }
.plan--featured .fine-print { margin: 1rem 0 0; }
.plan__flag {
  margin: 0 0 1rem;
  padding: 0.2rem 0.65rem;
  background: var(--powder);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
  border-radius: 2px;
}

/* FAQ */
.faq { display: grid; gap: 0.6rem; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.faq__item[open] { border-color: var(--accent); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__item p { margin: 0; padding: 0 1.25rem 1.25rem; max-width: 62em; }

/* Apply */
.apply { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 960px) { .apply { grid-template-columns: 1fr 1.6fr; } .apply__intro { position: sticky; top: calc(var(--header-h) + 2rem); } }
.apply__next { list-style: none; counter-reset: s; display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.apply__next li { counter-increment: s; position: relative; padding-left: 2.6rem; line-height: 1.4; }
.apply__next li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: -0.1rem;
  width: 1.8rem; height: 1.8rem;
  display: grid; place-items: center;
  background: var(--accent-strong);
  color: var(--ivory);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 2px;
}
.apply__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent-strong);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.form__note { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.25rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.15rem; min-width: 0; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 700; margin-bottom: 0.35rem; color: var(--text); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--field-bg);
  border: 2px solid var(--field-border);
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--powder) 50%),
    linear-gradient(135deg, var(--powder) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field ::placeholder { color: var(--placeholder); opacity: 1; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--powder);
  box-shadow: 0 0 0 3px rgba(180, 197, 228, 0.45);
}
.field [aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.field__help { font-size: 0.9rem; color: var(--muted); margin: 0.35rem 0 0; }
.field__meta { display: flex; justify-content: space-between; gap: 1rem; }
.field__count { font-size: 0.9rem; color: var(--muted); margin: 0.35rem 0 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.field__count.is-over { color: var(--error); font-weight: 700; }
.field__error { margin: 0.35rem 0 0; font-size: 0.92rem; font-weight: 600; color: var(--error); }
.field__error:empty { display: none; }
.field__error::before { content: "! "; font-weight: 800; }

/* Honeypot: visually hidden but not display:none, so bots still see and fill it */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__privacy { font-size: 0.9rem; color: var(--muted); }
.form__notice {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  background: var(--accent-band);
  color: var(--ivory);
  font-weight: 500;
}
.form__notice p { margin: 0; }
.form__notice p + p { margin-top: 0.4rem; }
.form__notice a { color: var(--ivory); font-weight: 700; }
.form__status:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.form__noscript { margin-top: 1rem; font-weight: 600; }
.form__status {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--error);
  background: var(--error-box);
  color: var(--ivory);
  font-weight: 500;
}
.form__status p { margin: 0; }
.form__status p + p { margin-top: 0.4rem; }
.form__status a { color: var(--ivory); font-weight: 700; }

.form__submit .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 3px solid rgba(251, 255, 241, 0.4);
  border-top-color: var(--ivory);
  border-radius: 50%;
}
.form__submit[aria-busy="true"] { cursor: progress; opacity: 0.9; }
.form__submit[aria-busy="true"] .spinner { display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .form__submit[aria-busy="true"] .spinner { animation-duration: 2.4s; } }

.form-success { text-align: left; padding: 0.5rem 0; }
.form-success__icon { width: 52px; height: 52px; color: var(--accent); margin-bottom: 1rem; }
.form-success h3 { font-size: 2rem; text-transform: uppercase; }
.form-success h3:focus { outline: none; }
.form-success__id {
  display: inline-block;
  margin: 0.5rem 0 0;
  padding: 0.5rem 0.85rem;
  background: var(--bg-deep);
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.form-success__id strong { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: var(--accent); }

/* Contact */
.contact { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.3fr 1fr; } }
.contact__card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(180, 197, 228, 0.45);
  border-radius: var(--radius);
  background: rgba(251, 255, 241, 0.05);
}
.contact__list { list-style: none; display: grid; gap: 0.75rem; margin-bottom: 1.5rem; }
.contact__list:not(:has(li:not([hidden]))) { display: none; }
.contact__list li { display: flex; flex-direction: column; }
.contact__label { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.9rem; color: var(--powder); }
.contact__list a { font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.contact__route { margin: 0 0 1.25rem; color: var(--ivory); }
.contact__route strong { display: block; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.25rem; }

/* Footer */
.site-footer {
  --focus: var(--powder);
  background: var(--graphite-deep);
  color: var(--powder);
  padding-block: 3rem 2rem;
  font-size: 0.95rem;
}
.footer__grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr auto; } }
.footer__line { margin: 1rem 0 0; max-width: 32em; }
.footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer__links a { color: var(--ivory); text-decoration: none; font-weight: 600; }
.footer__links a:hover { text-decoration: underline; color: var(--powder); }
.footer__legal {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(180, 197, 228, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}
.footer__legal p { margin: 0; }

/* 404 page */
.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem var(--gutter);
}
.notfound__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 25vw, 11rem); line-height: 0.85; color: var(--powder); margin: 1.5rem 0 0.5rem; }
.notfound .btn-row { justify-content: center; }
.notfound h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); text-transform: uppercase; }
.notfound .hero__sub { margin-inline: auto; }
.notfound__links { margin-top: 2rem; color: var(--text-muted, #c9c8cc); font-size: 0.98rem; }
.notfound__links a { color: var(--powder); font-weight: 600; text-underline-offset: 3px; }
.notfound__links a:hover, .notfound__links a:focus-visible { color: var(--ivory, #fbfff1); }

/* Privacy page */
.page-nav { list-style: none; display: flex; align-items: center; gap: 1.25rem; }
.page-nav a:not(.btn) { color: var(--ivory); text-decoration: none; font-weight: 600; }
.page-nav a:not(.btn):hover { color: var(--powder); text-decoration: underline; }
.legal { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); text-transform: uppercase; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-top: 2rem; }
.legal ul { padding-left: 1.25rem; margin: 0 0 1em; }
.legal li { margin-bottom: 0.35rem; }
.legal__updated { color: var(--muted); font-weight: 600; }
.legal__actions { margin-top: 2.5rem; }

/* Long email addresses (e.g. in the form notices) must not widen the Apply grid on small phones. */
.apply__intro, .apply__card { min-width: 0; }
.apply__card p, .apply__card [role="status"], .apply__card a[href^="mailto:"] { overflow-wrap: anywhere; }

.hero__photo picture { display: block; }
