/* Shared editorial foundation for the homepage and paid Flight Plan, version two.
   Scoped to these two pages so established assessment and content routes keep their layout. */
.site-v2 {
  --v2-canvas: #fbfaf6;
  --v2-ink: #15201c;
  --v2-muted: #52635b;
  --v2-forest: #0f332b;
  --v2-line: #d9e1d9;
  --v2-lime: #ddf59c;
  --v2-soft: #edf1e9;
  background: var(--v2-canvas);
  color: var(--v2-ink);
  font-family: Manrope, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.dark .site-v2 {
  --v2-canvas: #0b1712;
  --v2-ink: #eff4ec;
  --v2-muted: #b7c6bc;
  --v2-line: #304b3c;
  --v2-soft: #15271d;
}

.site-v2 .home-shell { padding-inline: 0; }
.site-v2 .home-rail-frame { display: none; }
.site-v2 .home-site-header { border-bottom: 1px solid var(--v2-line); }
.site-v2 .home-canvas,
.site-v2 .v2-wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
}

.site-v2 .v2-section { padding-block: clamp(56px, 6.3vw, 88px); }
.site-v2 .v2-kicker {
  margin-bottom: 18px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-v2 .v2-heading {
  max-width: 21ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.site-v2 .v2-lede {
  max-width: 56ch;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.site-v2 .v2-copy {
  max-width: 65ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.site-v2 .v2-copy p + p { margin-top: 18px; }
.site-v2 .v2-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.site-v2 .v2-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  max-width: 100%;
  padding: 14px 24px;
  border: 1px solid var(--v2-forest);
  border-radius: 0;
  background: var(--v2-forest);
  color: #ffffff;
  font: 700 0.9375rem/1.4 Manrope, "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-v2 .v2-button:hover { background: #1b4e3d; transform: translateY(-1px); }
.site-v2 .v2-button-secondary {
  border-color: var(--v2-line);
  background: transparent;
  color: var(--v2-ink);
}
.site-v2 .v2-button-secondary:hover { background: var(--v2-soft); }
.site-v2 .v2-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.site-v2 .v2-link:hover { text-decoration-thickness: 2px; }
.site-v2 .v2-actions > .v2-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.site-v2 .v2-note {
  max-width: 72ch;
  color: var(--v2-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}
.site-v2 .v2-rule { border-top: 1px solid var(--v2-line); }
.site-v2 .v2-dark {
  --v2-ink: #f7faf2;
  --v2-muted: #c5d6ca;
  --v2-line: #3e6151;
  --v2-soft: #224d3b;
  background: var(--v2-forest);
  color: var(--v2-ink);
}
.site-v2 .v2-dark .v2-kicker { color: var(--v2-lime); }
.site-v2 .v2-dark .v2-button,
.dark .site-v2 .v2-button {
  border-color: var(--v2-lime);
  background: var(--v2-lime);
  color: #143123;
}
.site-v2 .v2-dark .v2-button:hover,
.dark .site-v2 .v2-button:hover { background: #eefbcf; }
.site-v2 .v2-dark .v2-button-secondary,
.dark .site-v2 .v2-button-secondary {
  border-color: var(--v2-line);
  background: transparent;
  color: var(--v2-ink);
}
.site-v2 .v2-dark .v2-button-secondary:hover,
.dark .site-v2 .v2-button-secondary:hover { background: var(--v2-soft); }

.site-v2 :is(details.v2-faq, .v2-faq details) { border-top: 1px solid var(--v2-line); }
.site-v2 :is(details.v2-faq, .v2-faq details):last-child { border-bottom: 1px solid var(--v2-line); }
.site-v2 .v2-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding-block: 20px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
.site-v2 .v2-faq summary::-webkit-details-marker { display: none; }
.site-v2 .v2-faq summary::after {
  content: "+";
  flex: 0 0 16px;
  font-size: 1.375rem;
  font-weight: 400;
  text-align: center;
}
.site-v2 :is(details.v2-faq, .v2-faq details)[open] > summary::after { content: "−"; }
.site-v2 :is(details.v2-faq, .v2-faq details) > p,
.site-v2 :is(details.v2-faq, .v2-faq details) > div {
  max-width: 68ch;
  padding-bottom: 24px;
  color: var(--v2-muted);
  font-size: 1rem;
  line-height: 1.75;
}
.site-v2 .v2-faq p + p { margin-top: 14px; }
.site-v2 main :where(h1, h2, h3, [id]) { scroll-margin-top: 100px; }
.site-v2 :where(a, button, input, summary):focus-visible {
  outline: 3px solid #b9472b;
  outline-offset: 5px;
}
.site-v2 .v2-dark :where(a, button, input, summary):focus-visible {
  outline-color: #ffd1aa;
}

@media (max-width: 640px) {
  .site-v2 .v2-kicker { font-size: 0.75rem; letter-spacing: 0.065em; }
  .site-v2 .v2-actions { align-items: stretch; gap: 12px; }
  .site-v2 .v2-actions > .v2-button { width: 100%; }
  .site-v2 .v2-heading { max-width: 24ch; }
  .site-v2 .v2-copy { font-size: 1rem; }
  .site-v2 .v2-faq summary { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-v2 .v2-button { transition: none; }
  .site-v2 .v2-button:hover { transform: none; }
}
