:root {
  --noir: #070707;
  --carbon: #111111;
  --ink: #17120f;
  --ivory: #f4efe4;
  --porcelain: #fffaf0;
  --champagne: #c49d5b;
  --champagne-2: #e5c986;
  --oxblood: #6f1733;
  --evergreen: #0f3b35;
  --blueprint: #233b53;
  --smoke: #756d60;
  --line: rgba(196, 157, 91, 0.34);
  --line-dark: rgba(244, 239, 228, 0.16);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.home-page .score-entry-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 28px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  color: var(--ivory);
  background:
    linear-gradient(135deg, rgba(7, 7, 7, 0.96), rgba(23, 18, 15, 0.94)),
    radial-gradient(circle at 82% 20%, rgba(196, 157, 91, 0.22), transparent 32%);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
}

.home-page .score-entry-panel h2 {
  max-width: 780px;
  margin: 6px 0 14px;
  color: var(--porcelain);
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  line-height: 1.05;
}

.home-page .score-entry-panel p {
  max-width: 700px;
  margin: 0;
  color: rgba(244, 239, 228, 0.78);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.7;
}

.score-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.home-page .score-entry-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .score-entry-panel li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(244, 239, 228, 0.14);
}

.home-page .score-entry-panel li span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--champagne-2);
  border: 1px solid rgba(229, 201, 134, 0.45);
  font-size: 0.72rem;
  font-weight: 950;
}

.home-page .score-entry-panel li strong {
  color: var(--porcelain);
  font-size: 0.94rem;
  line-height: 1.35;
}

.home-page .workbench > :not(.score-entry-panel) {
  display: none !important;
}

.intake-page .hero-section,
.intake-page .decision-section,
.intake-page .method-section,
.intake-page .plus-section,
.intake-page .purchase-strip,
.intake-page .signed-in-banner,
.intake-page .score-entry-panel {
  display: none !important;
}

.intake-page main {
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.03), rgba(244, 239, 228, 0) 260px),
    var(--ivory);
}

.intake-page .workbench {
  padding-top: clamp(36px, 7vw, 86px);
}

.intake-page .section-head {
  max-width: 860px;
}

.intake-page .section-head h2 {
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.05;
}

.intake-page .app-grid {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
  gap: 22px;
}

.intake-page .score-form {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.wizard-panel {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto 18px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--porcelain);
  border: 1px solid rgba(196, 157, 91, 0.42);
  box-shadow: 0 22px 70px rgba(7, 7, 7, 0.12);
}

.wizard-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.wizard-topline h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.wizard-topline p:not(.eyebrow),
.wizard-status {
  margin: 8px 0 0;
  color: var(--smoke);
  line-height: 1.55;
}

.wizard-plan {
  padding: 9px 12px;
  color: var(--evergreen);
  background: rgba(15, 59, 53, 0.08);
  border: 1px solid rgba(15, 59, 53, 0.24);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.wizard-progress {
  position: relative;
  height: 8px;
  overflow: hidden;
  background: rgba(117, 109, 96, 0.16);
}

.wizard-progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--champagne), var(--evergreen));
  transition: width 360ms ease;
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wizard-steps li {
  min-height: 62px;
  padding: 10px;
  color: var(--smoke);
  background: rgba(7, 7, 7, 0.035);
  border: 1px solid rgba(117, 109, 96, 0.18);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.25;
}

.wizard-steps span {
  display: block;
  margin-bottom: 5px;
  color: var(--champagne);
  font-size: 0.66rem;
  font-weight: 950;
}

.wizard-steps li.is-current {
  color: var(--ink);
  background: rgba(196, 157, 91, 0.14);
  border-color: rgba(196, 157, 91, 0.48);
}

.wizard-steps li.is-complete {
  color: var(--evergreen);
  background: rgba(15, 59, 53, 0.08);
  border-color: rgba(15, 59, 53, 0.22);
}

.wizard-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.intake-page #scoreForm fieldset {
  display: none;
}

.intake-page #scoreForm fieldset.is-active-step {
  display: grid;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 36px);
  background: var(--porcelain);
  border: 1px solid rgba(196, 157, 91, 0.42);
  box-shadow: 0 22px 70px rgba(7, 7, 7, 0.10);
  animation: wizardStepIn 300ms ease both;
}

.intake-page #scoreForm .form-actions {
  display: none;
  max-width: 920px;
  margin: 18px auto 0;
  padding: 20px;
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid rgba(196, 157, 91, 0.34);
}

.intake-page #scoreForm.is-final-step .form-actions {
  display: flex;
}

.intake-page .results-shell {
  display: none;
  max-width: 920px;
  margin: 0 auto;
}

.intake-page.show-intake-results .results-shell {
  display: block;
}

@keyframes wizardStepIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .home-page .score-entry-panel,
  .wizard-topline {
    grid-template-columns: 1fr;
  }

  .wizard-steps {
    grid-template-columns: 1fr;
  }

  .wizard-controls,
  .score-entry-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html.is-signed-in [data-signed-out-only] {
  display: none !important;
}

html.is-signed-out [data-signed-in-only] {
  display: none !important;
}

html.is-signed-in [data-auth-signup],
html.is-signed-in [data-auth-login] {
  display: none !important;
}

html.is-signed-out [data-auth-account] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button:disabled,
input:disabled,
select:disabled {
  cursor: wait;
  opacity: 0.58;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 52px);
  color: var(--ivory);
  background: rgba(7, 7, 7, 0.92);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, Cambria, serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--champagne);
  color: var(--champagne-2);
  font-family: Georgia, Cambria, serif;
  font-style: italic;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: rgba(244, 239, 228, 0.70);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--champagne-2);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

main {
  overflow: hidden;
}

.hero-section {
  position: relative;
  min-height: calc(100svh - 68px);
  padding: clamp(44px, 6vw, 86px) clamp(20px, 6vw, 88px) clamp(34px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 70px);
  align-content: center;
  align-items: center;
  color: var(--ivory);
  background-image:
    linear-gradient(90deg, rgba(7, 7, 7, 0.94) 0%, rgba(7, 7, 7, 0.80) 48%, rgba(7, 7, 7, 0.44) 100%),
    url("assets/benchmark-luxury-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
}

.hero-content {
  position: relative;
  max-width: 720px;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--champagne-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Bright champagne eyebrows/labels are unreadable on light cards (cream/ivory).
   Deepen them to a readable gold on light surfaces; dark heroes/panels keep the
   bright champagne above. */
.auth-card .eyebrow,
.plan-panel .eyebrow,
.plan-card .eyebrow,
.plan-status-card .eyebrow,
.account-card .eyebrow,
.account-actions .eyebrow,
.workspace-strip .eyebrow,
.signed-in-banner .eyebrow,
.support-card .eyebrow,
.support-side-card .eyebrow,
.unlock-plan-card .eyebrow,
.unlock-summary-card .eyebrow,
.checkout-card .eyebrow,
.checkout-receipt .eyebrow,
.history-box:not(.locked-history) .eyebrow,
.credibility-panel:not(.guardrail-panel) .eyebrow,
.support-card .section-line span,
.support-side-card .section-line span,
.account-card .section-line span,
.plan-panel .section-line span,
.plan-card .section-line span,
.unlock-plan-card .section-line span,
.unlock-summary-card .section-line span,
.paid-detail-card .eyebrow,
.paid-detail-card .section-line span,
.briefing-card:not(.vault-card) .eyebrow,
.briefing-card:not(.vault-card) .section-line span,
.credibility-panel:not(.guardrail-panel) .section-line span {
  color: #8a6712;
}

/* Dark vault card on the briefing page contains drop cards styled for light
   backgrounds (oxblood labels / ink values) — unreadable on dark. Re-theme. */
.vault-card .next-drop-card,
.vault-card .drop-calendar article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(244, 239, 228, 0.16);
}

.vault-card .next-drop-card span,
.vault-card .drop-calendar span {
  color: var(--champagne-2);
}

.vault-card .next-drop-card strong,
.vault-card .drop-calendar strong {
  color: var(--ivory);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: Georgia, Cambria, serif;
  font-size: clamp(2.4rem, 8.2vw, 7.4rem);
  font-style: italic;
  line-height: 1.04;
  color: var(--porcelain);
}

/* The homepage/intake hero headline is a full sentence, not a single word,
   so it needs a more moderate size than the giant display h1 default. */
#hero-title {
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.08;
  overflow-wrap: normal;
}

h2 {
  max-width: 980px;
  margin-bottom: 14px;
  font-family: Georgia, Cambria, serif;
  font-size: clamp(2.25rem, 5vw, 5.2rem);
  line-height: 1.06;
}

h3,
h4 {
  margin-bottom: 10px;
}

.hero-text {
  max-width: 700px;
  color: rgba(244, 239, 228, 0.84);
  font-size: clamp(1.08rem, 1.65vw, 1.5rem);
  line-height: 1.48;
}

.hero-diagnostic {
  position: relative;
  z-index: 1;
  justify-self: end;
  max-width: 420px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(229, 201, 134, 0.46);
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.92), rgba(32, 18, 22, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-diagnostic h2 {
  margin-bottom: 18px;
  color: var(--porcelain);
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
  line-height: 1.05;
}

.hero-diagnostic ul {
  display: grid;
  gap: 1px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.hero-diagnostic li {
  padding: 12px 14px;
  background: rgba(244, 239, 228, 0.05);
}

.hero-diagnostic span,
.purchase-strip span,
.anxiety-ledger span {
  display: block;
  color: rgba(229, 201, 134, 0.78);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-diagnostic strong {
  display: block;
  margin-top: 4px;
  color: var(--ivory);
  font-size: 0.94rem;
  line-height: 1.34;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 46px;
  border-radius: 4px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.primary-button {
  border: 1px solid var(--champagne);
  background: var(--champagne);
  color: var(--noir);
}

.secondary-button,
.ghost-button {
  border: 1px solid var(--line);
  background: rgba(244, 239, 228, 0.04);
  color: inherit;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
  border-color: var(--champagne-2);
}

.full {
  width: 100%;
}

.proof-strip {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 920px;
  margin: clamp(24px, 4vw, 42px) 0 0;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.proof-strip div {
  padding: 15px 16px 14px;
  background: rgba(7, 7, 7, 0.62);
}

.proof-strip dt {
  color: var(--champagne-2);
  font-family: Georgia, Cambria, serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.proof-strip dd {
  margin: 3px 0 0;
  color: rgba(244, 239, 228, 0.74);
  font-size: 0.82rem;
}

.workbench,
.decision-section,
.method-section,
.plus-section,
.integration-strip {
  padding: clamp(42px, 6vw, 86px) clamp(18px, 5vw, 76px);
}

.workbench {
  background:
    linear-gradient(180deg, #f4efe4 0%, #ece1cf 100%);
}

.decision-section {
  background: var(--noir);
  color: var(--ivory);
  border-top: 1px solid var(--line-dark);
}

.decision-section .section-head h2,
.decision-section .section-head p {
  color: var(--ivory);
}

.anxiety-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 24px;
  border: 1px solid rgba(229, 201, 134, 0.34);
  background: rgba(229, 201, 134, 0.34);
}

.anxiety-ledger div {
  padding: clamp(18px, 3vw, 26px);
  background: rgba(17, 17, 17, 0.94);
}

.anxiety-ledger strong {
  display: block;
  margin-top: 8px;
  color: var(--porcelain);
  font-family: Georgia, Cambria, serif;
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.12;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.decision-grid article {
  min-height: 250px;
  padding: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(32, 24, 21, 0.98));
}

.decision-grid span,
.method-grid article span {
  color: var(--champagne-2);
  font-family: Georgia, Cambria, serif;
  font-size: 2rem;
}

.decision-grid h3 {
  color: var(--ivory);
  font-family: Georgia, Cambria, serif;
  font-size: 1.55rem;
}

.decision-grid p {
  color: rgba(244, 239, 228, 0.72);
  line-height: 1.58;
}

.section-head {
  margin-bottom: 30px;
}

.section-head h2 {
  color: var(--carbon);
}

.section-head p {
  max-width: 780px;
  color: var(--smoke);
  line-height: 1.55;
}

.purchase-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: -4px 0 24px;
  border: 1px solid rgba(196, 157, 91, 0.42);
  background: rgba(196, 157, 91, 0.42);
  box-shadow: var(--shadow);
}

.purchase-strip article {
  min-height: 168px;
  padding: clamp(18px, 3vw, 26px);
  background: rgba(255, 250, 240, 0.94);
}

.purchase-strip .featured-purchase {
  background:
    linear-gradient(180deg, rgba(111, 23, 51, 0.96), rgba(80, 15, 36, 0.96));
  color: var(--ivory);
}

.purchase-strip strong,
.purchase-strip b {
  display: block;
}

.purchase-strip strong {
  margin-top: 8px;
  color: inherit;
  font-family: Georgia, Cambria, serif;
  font-size: 1.6rem;
}

.purchase-strip b {
  margin-top: 5px;
  color: var(--oxblood);
  font-size: 1.05rem;
}

.featured-purchase b,
.featured-purchase span {
  color: var(--champagne-2);
}

.purchase-strip p {
  margin: 10px 0 0;
  color: #5a4f45;
  line-height: 1.46;
}

.featured-purchase p {
  color: rgba(244, 239, 228, 0.78);
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1.1fr) minmax(380px, 0.78fr);
  align-items: start;
  gap: 24px;
}

.score-form,
.results-shell,
.history-box,
.integration-strip {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--shadow);
}

.score-form {
  padding: clamp(18px, 3vw, 30px);
}

fieldset {
  margin: 0 0 24px;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid rgba(196, 157, 91, 0.32);
}

fieldset:last-of-type {
  border-bottom: 0;
}

legend {
  width: 100%;
  margin-bottom: 16px;
  color: var(--oxblood);
  font-family: Georgia, Cambria, serif;
  font-size: 1.22rem;
  font-weight: 700;
}

label,
.field-label {
  display: grid;
  gap: 7px;
  color: #392f27;
  font-size: 0.86rem;
  font-weight: 850;
}

.target-helper,
.field-help {
  margin: 0 0 12px;
  color: var(--smoke);
  line-height: 1.48;
}

.target-helper {
  padding: 14px;
  border: 1px solid rgba(196, 157, 91, 0.30);
  background: rgba(255, 250, 240, 0.58);
}

.target-helper strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: 1.08rem;
}

.target-helper p,
.field-help {
  font-size: 0.9rem;
  font-weight: 760;
}

.tier-scale {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 10px 0 12px;
  border: 1px solid rgba(196, 157, 91, 0.30);
  background: rgba(196, 157, 91, 0.30);
}

.tier-scale span {
  display: grid;
  gap: 3px;
  min-height: 58px;
  align-content: center;
  padding: 10px;
  background: rgba(255, 250, 240, 0.72);
  color: var(--smoke);
  font-size: 0.78rem;
  font-weight: 820;
}

.tier-scale b {
  color: var(--oxblood);
  font-size: 0.92rem;
}

.school-tier-tool {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(196, 157, 91, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.86), rgba(244, 239, 228, 0.58));
}

.method-receipt {
  display: grid;
  gap: 5px;
  max-width: 760px;
  margin-top: 14px;
  border-left: 3px solid var(--gold);
  padding: 10px 12px;
  background: rgba(255, 250, 240, 0.7);
  color: var(--ink);
}

.method-receipt span {
  color: var(--oxblood);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.method-receipt strong {
  font-family: Georgia, Cambria, serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.method-receipt small {
  color: var(--smoke);
  font-weight: 760;
}

.school-tier-tool .section-line {
  margin: 0;
}

.school-tier-tool .section-line span:last-child {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(196, 157, 91, 0.36);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--oxblood);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.school-search-label {
  margin: 0;
}

.school-search-results {
  display: grid;
  gap: 8px;
}

.school-result-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(23, 18, 15, 0.14);
  border-radius: 4px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.school-result-button:hover,
.school-result-button:focus-visible {
  border-color: rgba(112, 17, 48, 0.45);
  background: rgba(255, 255, 255, 0.94);
}

.school-result-button strong,
.selected-school-card strong {
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.school-result-button small,
.selected-school-card p {
  color: var(--smoke);
  font-size: 0.78rem;
  font-weight: 800;
}

.school-result-button em {
  align-self: start;
  border: 1px solid rgba(112, 17, 48, 0.22);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--oxblood);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.selected-school-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
  align-items: start;
  gap: 14px;
  border: 1px solid rgba(112, 17, 48, 0.30);
  padding: 12px;
  background: rgba(112, 17, 48, 0.08);
}

.selected-school-card.is-school-mode {
  border-color: rgba(15, 59, 53, 0.38);
  background: rgba(15, 59, 53, 0.08);
  box-shadow: inset 3px 0 0 var(--evergreen);
}

.selected-school-card div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.selected-school-card strong,
.selected-school-card p {
  margin: 0;
}

.selected-school-card[hidden] {
  display: none;
}

.school-card-actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.school-card-round {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
  border-top: 1px solid rgba(15, 59, 53, 0.18);
  padding-top: 12px;
}

.school-card-round[hidden] {
  display: none;
}

.school-card-round .field-help {
  grid-column: 1 / -1;
  margin: 0;
}

.primary-button.mini,
.secondary-button.mini,
.ghost-button.mini {
  min-height: 34px;
  padding: 8px 10px;
  font-size: 0.68rem;
}

.target-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--smoke);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.target-divider[hidden] {
  display: none;
}

.target-divider::before,
.target-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(196, 157, 91, 0.34);
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(23, 18, 15, 0.22);
  border-radius: 4px;
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.45;
}

input::placeholder {
  color: rgba(117, 109, 96, 0.72);
}

input:focus,
select:focus {
  outline: 3px solid rgba(196, 157, 91, 0.24);
  border-color: var(--champagne);
}

.two-col,
.three-col {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.entry-editor {
  margin: 10px 0 14px;
  padding: 14px;
  border: 1px solid rgba(196, 157, 91, 0.24);
  background: rgba(255, 250, 240, 0.56);
}

.signed-in-banner {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(196, 157, 91, 0.26);
  background: rgba(255, 250, 240, 0.74);
  min-width: 0;
}

.signed-in-banner strong {
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: 1.12rem;
  line-height: 1.2;
}

.signed-in-banner span {
  color: var(--smoke);
  line-height: 1.45;
}

.home-signed-actions {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.home-student-picker {
  display: grid;
  gap: 6px;
  max-width: 420px;
}

.home-student-picker select {
  width: 100%;
}

.home-signed-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-signed-buttons .primary-button,
.home-signed-buttons .secondary-button {
  min-width: 190px;
}

.workspace-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(196, 157, 91, 0.24);
  background: rgba(255, 250, 240, 0.70);
  min-width: 0;
}

.workspace-strip strong {
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: 1.1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.workspace-strip span {
  color: var(--smoke);
  font-size: 0.92rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.entry-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.entry-line h4 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: 1.04rem;
}

.entry-stack {
  display: grid;
  gap: 10px;
}

.entry-row {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(196, 157, 91, 0.22);
  background: rgba(255, 255, 255, 0.54);
}

.entry-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.entry-index {
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: 1rem;
  font-weight: 700;
}

.entry-row--award {
  align-content: start;
}

.entry-row--activity {
  align-content: start;
}

.entry-grid {
  display: grid;
  gap: 10px;
}

.entry-grid--award {
  grid-template-columns: minmax(180px, 1.2fr) repeat(4, minmax(132px, 0.9fr)) minmax(86px, 0.5fr);
}

.entry-grid--activity {
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(132px, 0.85fr));
}

.entry-grid--activity input,
.entry-grid--activity select,
.entry-grid--award input,
.entry-grid--award select {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-grid--activity input[type="number"] {
  width: 100%;
}

.entry-grid--activity .entry-years,
.entry-grid--activity .entry-hours,
.entry-grid--activity .entry-weeks {
  width: 100%;
}

@media (max-width: 1100px) {
  .entry-grid--activity {
    grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 132px));
  }

  .entry-grid--award {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 150px));
  }
}

@media (max-width: 780px) {
  .entry-grid--activity,
  .entry-grid--award {
    grid-template-columns: 1fr;
  }
  .entry-row-head {
    align-items: flex-start;
  }
}

.entry-empty {
  color: var(--smoke);
  font-size: 0.9rem;
  font-weight: 760;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.segmented label {
  position: relative;
  display: block;
}

.segmented input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--smoke);
  text-align: center;
}

.segmented input:checked + span {
  background: var(--carbon);
  color: var(--champagne-2);
  border-color: var(--carbon);
}

.school-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  padding: 8px;
  overflow: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.check-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  background: rgba(244, 239, 228, 0.62);
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

.check-row small {
  color: var(--smoke);
}

.results-shell {
  position: sticky;
  top: 92px;
  padding: clamp(18px, 3vw, 26px);
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(34, 25, 23, 0.98));
  color: var(--ivory);
  border-color: rgba(196, 157, 91, 0.54);
}

.score-entitlement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(196, 157, 91, 0.38);
  background: rgba(196, 157, 91, 0.10);
  color: rgba(244, 239, 228, 0.74);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.score-entitlement strong {
  color: var(--champagne-2);
}

.result-panel,
.ai-panel {
  display: none;
}

.result-panel.is-visible,
.ai-panel.is-visible {
  display: block;
}

.result-topline,
.panel-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.result-topline h3,
.panel-line h3 {
  color: var(--ivory);
  overflow-wrap: anywhere;
}

#tierMeta {
  margin: 0;
  color: rgba(244, 239, 228, 0.62);
  font-size: 0.9rem;
}

.calc-pulse {
  margin: 6px 0 0;
  color: rgba(229, 201, 134, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
}

.panel-line span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--champagne-2);
  font-weight: 900;
  white-space: nowrap;
}

.score-stage {
  display: grid;
  grid-template-columns: minmax(160px, 250px) 1fr;
  gap: 18px;
  align-items: center;
  margin: 18px 0 22px;
  min-width: 0;
}

.score-gauge {
  display: grid;
  width: min(250px, 70vw);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--carbon) 0 58%, transparent 59%),
    conic-gradient(var(--champagne) 0 var(--score), rgba(244, 239, 228, 0.16) var(--score) 360deg);
}

.score-gauge div {
  display: block;
  text-align: center;
  line-height: 1;
  min-width: 0;
  padding: 0 14px;
}

.score-gauge strong {
  display: inline;
  color: var(--porcelain);
  font-family: Georgia, Cambria, serif;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.score-gauge span {
  display: inline;
  color: var(--champagne-2);
  font-style: normal;
  font-weight: 800;
  font-size: 1.95rem;
  margin-left: 1px;
}

/* The "~" prefix — kept small so it reads as "about", not a giant squiggle. */
.score-gauge .score-approx {
  font-size: 0.46em;
  vertical-align: 0.38em;
  font-weight: 800;
  margin-right: 1px;
}

.score-gauge em {
  display: block;
  margin-top: 10px;
  color: var(--champagne-2);
  font-style: normal;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.evidence-block {
  display: grid;
  gap: 10px;
  color: rgba(244, 239, 228, 0.72);
  font-size: 0.9rem;
  font-weight: 850;
}

.evidence-block i {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--champagne) 0 var(--evidence), rgba(244, 239, 228, 0.18) var(--evidence));
}

.score-receipt {
  display: grid;
  gap: 14px;
  align-content: center;
  min-width: 0;
}

.receipt-note {
  margin: 0;
  color: rgba(244, 239, 228, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.signal-grid div {
  padding: 14px;
  border: 1px solid var(--line-dark);
  background: rgba(244, 239, 228, 0.06);
}

.signal-grid span {
  display: block;
  color: rgba(244, 239, 228, 0.58);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--champagne-2);
}

.result-section {
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
}

.result-section h4 {
  color: var(--ivory);
  font-family: Georgia, Cambria, serif;
  font-size: 1.1rem;
}

.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-line h4 {
  margin: 0;
}

.section-line h3 {
  margin: 0;
}

.section-line span,
.lock-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(196, 157, 91, 0.42);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--champagne-2);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.component-list,
.mini-list,
.action-panel ol,
.ladder-panel ul,
.school-results ul,
.missing-list,
#historyList {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.component-list li {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 44px;
  gap: 10px;
  align-items: center;
}

.component-list span,
.mini-list span,
.ladder-panel span,
.school-results span,
.missing-list,
#historyList span {
  color: rgba(244, 239, 228, 0.70);
  font-size: 0.88rem;
  font-weight: 760;
}

.component-list strong,
.mini-list strong,
.ladder-panel strong,
.school-results b,
#historyList strong {
  color: var(--champagne-2);
}

.component-list i {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--champagne) 0 var(--bar), rgba(244, 239, 228, 0.16) var(--bar));
}

.mini-list,
.ladder-panel ul,
.school-results ul,
#historyList {
  gap: 0;
}

.mini-list li,
.ladder-panel li,
.school-results li,
#historyList li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-dark);
}

.mini-list span {
  min-width: 94px;
}

.mini-list strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.action-panel ol {
  counter-reset: step;
}

.action-panel li {
  position: relative;
  padding: 10px 0 10px 34px;
  color: rgba(244, 239, 228, 0.78);
  border-bottom: 1px solid var(--line-dark);
  counter-increment: step;
}

.action-panel li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid var(--champagne);
  color: var(--champagne-2);
  font-size: 0.72rem;
  font-weight: 900;
}

.missing-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.missing-list li {
  padding: 8px 10px;
  border: 1px solid var(--line-dark);
  color: rgba(244, 239, 228, 0.72);
}

.missing-list .issue {
  border-color: rgba(229, 201, 134, 0.52);
  color: var(--champagne-2);
  background: rgba(196, 157, 91, 0.08);
}

.locked-suite {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(196, 157, 91, 0.42);
  background:
    linear-gradient(180deg, rgba(111, 23, 51, 0.26), rgba(196, 157, 91, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 250, 240, 0.08);
}

.locked-suite.has-score {
  border-color: rgba(229, 201, 134, 0.74);
  background:
    linear-gradient(180deg, rgba(111, 23, 51, 0.38), rgba(15, 59, 53, 0.16));
}

.locked-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  min-width: 0;
}

.locked-head h4 {
  margin: 0 0 8px;
  color: var(--porcelain);
  font-family: Georgia, Cambria, serif;
  font-size: 1.35rem;
  overflow-wrap: anywhere;
}

.locked-head p:not(.eyebrow) {
  margin: 0;
  color: rgba(244, 239, 228, 0.72);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.locked-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.locked-grid article {
  min-height: 128px;
  padding: 14px;
  border: 1px solid var(--line-dark);
  background: rgba(7, 7, 7, 0.24);
  min-width: 0;
}

.locked-grid span {
  color: rgba(229, 201, 134, 0.82);
  font-family: Georgia, Cambria, serif;
  font-weight: 800;
}

.locked-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ivory);
  overflow-wrap: anywhere;
}

.locked-grid p {
  margin: 7px 0 0;
  color: rgba(244, 239, 228, 0.62);
  font-size: 0.84rem;
  line-height: 1.38;
}

.locked-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 14px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.locked-preview div {
  min-height: 76px;
  padding: 12px;
  background: rgba(7, 7, 7, 0.42);
  min-width: 0;
}

.locked-preview span {
  display: block;
  color: rgba(244, 239, 228, 0.52);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.locked-preview strong {
  display: block;
  margin-top: 8px;
  color: var(--champagne-2);
  filter: blur(2.6px);
  user-select: none;
  overflow-wrap: anywhere;
}

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

.ai-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  line-height: 1.48;
  color: rgba(244, 239, 228, 0.78);
}

.method-section {
  background: var(--carbon);
  color: var(--ivory);
}

.method-section .section-head h2,
.method-section .section-head p {
  color: var(--ivory);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.method-grid article {
  min-height: 230px;
  padding: 28px 24px;
  background: #141414;
}

.method-grid h3 {
  color: var(--ivory);
}

.method-grid p,
.plus-section p,
.integration-strip p {
  color: rgba(244, 239, 228, 0.72);
  line-height: 1.55;
}

.plus-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 430px);
  gap: 24px;
  align-items: start;
  background: var(--oxblood);
  color: var(--ivory);
}

.plus-section h2,
.plus-section .eyebrow {
  color: var(--ivory);
}

.plus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.history-box {
  padding: 24px;
  color: var(--ivory);
  background: rgba(7, 7, 7, 0.38);
}

.locked-history {
  border: 1px solid rgba(196, 157, 91, 0.34);
}

.locked-history p {
  margin-top: 0;
}

.integration-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: clamp(26px, 5vw, 64px) clamp(18px, 5vw, 76px);
  padding: 26px;
  background: var(--carbon);
  color: var(--ivory);
}

.integration-strip h2 {
  color: var(--ivory);
  font-size: clamp(1.8rem, 3vw, 3rem);
}

code {
  border: 1px solid var(--line-dark);
  padding: 2px 6px;
  color: var(--champagne-2);
  background: rgba(244, 239, 228, 0.08);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 76px);
  color: rgba(244, 239, 228, 0.62);
  background: var(--noir);
  border-top: 1px solid var(--line-dark);
}

footer strong {
  color: var(--champagne-2);
}

footer a {
  color: var(--champagne-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.plain-page {
  background:
    linear-gradient(180deg, var(--noir) 0, var(--carbon) 570px, var(--ivory) 570px);
}

/* Every auth page (sign up, sign in, forgot/reset password) has a dark hero
   above a light form area. A fixed-pixel dark band crowded the hero copy
   against the seam at certain widths, so instead: ivory body + a full-bleed
   dark hero that grows with its own text. Robust at every width. */
.auth-page {
  background: var(--ivory);
}

.auth-page .auth-hero {
  max-width: none;
  background: linear-gradient(180deg, var(--noir) 0, var(--carbon) 100%);
  margin:
    calc(-1 * clamp(34px, 6vw, 78px))
    calc(-1 * clamp(18px, 5vw, 76px))
    0;
  padding:
    clamp(34px, 6vw, 78px)
    clamp(18px, 5vw, 76px)
    clamp(36px, 5vw, 60px);
}

/* The dark band spans full width, but keep the text from stretching across
   huge screens. */
.auth-page .auth-hero > * {
  max-width: 900px;
}

/* Legal page: same dark-hero-over-light-content pattern, same fix. */
.legal-page {
  background: var(--ivory);
}

.legal-page .legal-hero {
  max-width: none;
  background: linear-gradient(180deg, var(--noir) 0, var(--carbon) 100%);
  margin:
    calc(-1 * clamp(34px, 6vw, 78px))
    calc(-1 * clamp(18px, 5vw, 76px))
    0;
  padding:
    clamp(34px, 6vw, 78px)
    clamp(18px, 5vw, 76px)
    clamp(36px, 5vw, 60px);
}

.legal-page .legal-hero > * {
  max-width: 900px;
}

/* Credibility / Why Benchmark / Plain-English heroes have long copy that wraps
   to many lines at narrower widths. The old fixed-pixel dark band couldn't grow
   with it, so the light hero text spilled onto the light background and became
   unreadable. Fix: drop the fixed band on these pages (solid ivory body) and
   give the hero its own full-bleed dark background that always wraps its text. */
.credibility-page {
  background: var(--ivory);
}

.credibility-page .credibility-hero {
  background: linear-gradient(180deg, var(--noir) 0, var(--carbon) 100%);
  margin:
    calc(-1 * clamp(34px, 6vw, 78px))
    calc(-1 * clamp(18px, 5vw, 76px))
    0;
  padding:
    clamp(34px, 6vw, 78px)
    clamp(18px, 5vw, 76px)
    clamp(36px, 5vw, 60px);
}

.email-page {
  background:
    linear-gradient(180deg, var(--noir) 0, var(--carbon) 520px, var(--ivory) 520px);
}

.support-page {
  background:
    linear-gradient(180deg, var(--noir) 0, var(--carbon) 520px, var(--ivory) 520px);
}

.auth-main,
.legal-main {
  padding: clamp(34px, 6vw, 78px) clamp(18px, 5vw, 76px);
  font-size: 16px;
}

.auth-hero,
.legal-hero {
  max-width: 980px;
  color: var(--ivory);
}

.auth-hero h1,
.legal-hero h1 {
  margin-bottom: 18px;
  font-family: Georgia, Cambria, serif;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-style: normal;
  line-height: 1.04;
  color: var(--porcelain);
}

.auth-hero p:not(.eyebrow),
.legal-hero p:not(.eyebrow) {
  max-width: 820px;
  color: rgba(244, 239, 228, 0.78);
  font-size: 1.05rem;
  line-height: 1.56;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 22px;
  margin-top: clamp(26px, 5vw, 54px);
}

.plan-panel,
.auth-card,
.checkout-box,
.legal-warning,
.legal-nav,
.legal-doc {
  border: 1px solid rgba(196, 157, 91, 0.34);
  background: rgba(255, 250, 240, 0.94);
  box-shadow: var(--shadow);
}

.plan-panel,
.auth-card,
.checkout-box {
  padding: 22px;
}

.plan-panel {
  align-self: start;
  position: sticky;
  top: 92px;
}

.plan-card {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid rgba(23, 18, 15, 0.16);
  background: rgba(244, 239, 228, 0.72);
  cursor: pointer;
}

.plan-card input,
.consent-row input {
  width: 18px;
  min-height: 18px;
}

.plan-card strong,
.checkout-box strong {
  display: block;
  color: var(--ink);
}

.plan-card strong b {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--oxblood);
  color: var(--champagne-2);
  font-size: 0.62rem;
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  font-style: normal;
  text-transform: uppercase;
  vertical-align: middle;
}

.plan-card small {
  color: var(--smoke);
  font-weight: 800;
}

.plan-card:has(input:checked) {
  border-color: var(--champagne);
  background: rgba(196, 157, 91, 0.16);
}

.plan-summary {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(23, 18, 15, 0.12);
  color: var(--smoke);
  font-size: 0.92rem;
  line-height: 1.48;
}

.billing-choice-panel {
  display: none;
  gap: 8px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(196, 157, 91, 0.24);
  background: rgba(255, 250, 240, 0.66);
}

.billing-choice-panel.is-visible {
  display: grid;
}

.term-card {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(23, 18, 15, 0.12);
  background: rgba(244, 239, 228, 0.62);
  cursor: pointer;
}

.term-card:has(input:checked),
.term-card.is-best:has(input:checked) {
  border-color: var(--champagne);
  background: rgba(196, 157, 91, 0.16);
}

.term-card strong {
  display: block;
  color: #17120f;
  line-height: 1.2;
}

.term-card s,
.term-option s {
  color: rgba(111, 23, 51, 0.62);
  text-decoration-thickness: 2px;
}

.pricing-ladder s {
  color: rgba(244, 239, 228, 0.62);
  text-decoration-color: var(--champagne-2);
  text-decoration-thickness: 2px;
}

.term-card small {
  display: block;
  color: var(--smoke);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.35;
}

.pricing-ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.pricing-ladder article {
  min-height: 106px;
  padding: 14px;
  border: 1px solid rgba(196, 157, 91, 0.24);
  background: rgba(244, 239, 228, 0.09);
  color: var(--ivory);
}

.pricing-ladder article.featured-price {
  border-color: rgba(229, 201, 134, 0.7);
  background: rgba(196, 157, 91, 0.16);
}

.pricing-ladder span,
.pricing-ladder small {
  display: block;
  color: rgba(244, 239, 228, 0.74);
  font-size: 0.78rem;
  font-weight: 900;
}

.pricing-ladder strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--porcelain);
  font-family: Georgia, Cambria, serif;
  font-size: 1.05rem;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-card {
  display: grid;
  gap: 14px;
}

.google-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(23, 18, 15, 0.18);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.google-button span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--carbon);
  color: var(--champagne-2);
  font-family: Georgia, Cambria, serif;
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: var(--smoke);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: rgba(23, 18, 15, 0.14);
}

.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23, 18, 15, 0.10);
  color: #392f27;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.42;
}

.consent-row a {
  color: var(--oxblood);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.plus-only {
  display: none;
}

.plus-only.is-visible {
  display: grid;
}

.checkout-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.98), rgba(111, 23, 51, 0.90));
  color: var(--ivory);
  min-width: 0;
}

.checkout-box strong {
  color: var(--champagne-2);
}

.checkout-box p,
.auth-status {
  margin: 0;
  color: rgba(244, 239, 228, 0.76);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.auth-status {
  min-height: 24px;
  color: var(--champagne-2);
  font-weight: 850;
}

.auth-form > .auth-status,
.checkout-receipt .auth-status,
.account-card .auth-status,
.manage-card .auth-status,
.support-card .auth-status {
  color: var(--oxblood);
}

.provider-status {
  margin: -4px 0 0;
  color: var(--smoke);
  font-size: 0.86rem;
  font-weight: 800;
}

.auth-help-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--smoke);
  font-size: 0.88rem;
  font-weight: 820;
}

.auth-help-row a,
.recovery-note a {
  color: var(--oxblood);
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recovery-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(111, 23, 51, 0.18);
  background: rgba(111, 23, 51, 0.06);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 1.45;
}

.recovery-layout {
  max-width: 720px;
}

.checkout-panel {
  max-width: 720px;
  margin-top: clamp(26px, 5vw, 54px);
}

.checkout-layout {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 22px;
  align-items: stretch;
}

.checkout-receipt,
.paid-score-card,
.paid-panel,
.paid-detail-card,
.account-strip {
  border: 1px solid rgba(196, 157, 91, 0.34);
  background: rgba(255, 250, 240, 0.94);
  box-shadow: var(--shadow);
}

.checkout-receipt {
  padding: clamp(24px, 4vw, 38px);
}

.checkout-receipt h2 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
}

.checkout-receipt dl {
  display: grid;
  gap: 0;
  margin: 0 0 22px;
  border-top: 1px solid rgba(23, 18, 15, 0.12);
}

.checkout-receipt dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23, 18, 15, 0.12);
}

.checkout-receipt dt {
  color: var(--smoke);
  font-weight: 900;
}

.checkout-receipt dd {
  margin: 0;
  color: var(--ink);
  font-weight: 950;
  text-align: right;
  overflow-wrap: anywhere;
}

.payment-method-box,
.checkout-trust-card {
  border: 1px solid rgba(23, 18, 15, 0.12);
  background: rgba(244, 239, 228, 0.58);
}

.payment-method-box {
  display: grid;
  gap: 4px;
  margin: 0 0 18px;
  padding: 14px;
}

.payment-method-box span,
.payment-method-box small {
  color: var(--smoke);
  font-size: 0.78rem;
  font-weight: 900;
}

.payment-method-box strong {
  color: var(--ink);
}

.checkout-trust-card {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(111, 23, 51, 0.92));
  color: var(--ivory);
  box-shadow: var(--shadow);
}

.checkout-trust-card h3 {
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, Cambria, serif;
  font-size: 1.7rem;
  line-height: 1.12;
}

.trust-card-copy {
  margin: 0;
  color: rgba(244, 239, 228, 0.78);
  line-height: 1.55;
}

.checkout-trust-card .mini-list li {
  border-bottom-color: rgba(244, 239, 228, 0.14);
}

.checkout-trust-card .mini-list span {
  color: var(--champagne-2);
}

.checkout-trust-card .mini-list strong {
  color: rgba(244, 239, 228, 0.86);
}

.dashboard-main {
  padding: clamp(34px, 6vw, 78px) clamp(18px, 5vw, 76px);
  font-size: 16px;
}

.account-main {
  padding: clamp(34px, 6vw, 78px) clamp(18px, 5vw, 76px);
  font-size: 16px;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: 22px;
  align-items: end;
  color: var(--ivory);
}

.dashboard-hero h1 {
  margin-bottom: 18px;
  font-family: Georgia, Cambria, serif;
  max-width: 900px;
  font-size: clamp(2.45rem, 4.6vw, 4.6rem);
  font-style: normal;
  line-height: 1.04;
  color: var(--porcelain);
}

.dashboard-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(244, 239, 228, 0.78);
  line-height: 1.55;
}

.account-strip {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: rgba(7, 7, 7, 0.88);
  color: var(--ivory);
}

.manage-strip {
  margin-top: 18px;
}

.account-strip span {
  color: rgba(244, 239, 228, 0.66);
  font-size: 0.82rem;
  font-weight: 900;
}

.account-strip strong {
  color: var(--champagne-2);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 22px;
  margin-top: 24px;
}

.dashboard-grid.lower {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-grid.lower .living-roadmap-card {
  grid-column: 1 / -1;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.account-actions,
.account-card {
  border: 1px solid rgba(196, 157, 91, 0.34);
  background: var(--porcelain);
  box-shadow: var(--shadow);
}

.account-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: clamp(22px, 4vw, 34px);
}

.account-actions h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.account-actions p {
  color: var(--smoke);
}

.account-card {
  padding: clamp(20px, 3vw, 30px);
}

/* .mini-list text defaults to light (for dark panels). Account cards are light
   (porcelain), so override to dark, readable colors or the rows vanish. */
.account-card .mini-list span {
  color: var(--oxblood);
}

.account-card .mini-list strong {
  color: var(--ink);
}

.account-card .mini-list li {
  border-bottom-color: rgba(23, 18, 15, 0.12);
}

.plan-status-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
}

.plan-status-card .account-button-row {
  margin-top: 6px;
}

.compact-plan-list {
  margin-top: 2px;
}

.compact-plan-list li {
  display: grid;
  grid-template-columns: minmax(96px, 132px) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(23, 18, 15, 0.10);
}

.compact-plan-list li:last-child {
  border-bottom: 0;
}

.compact-plan-list span,
.compact-plan-list strong {
  max-width: none;
  text-align: left;
}

.compact-plan-list span {
  color: var(--smoke);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.compact-plan-list strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.account-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: 1.55rem;
}

.account-copy {
  color: var(--smoke);
  line-height: 1.52;
}

.account-status {
  color: var(--oxblood);
}

.student-form {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(130px, 180px) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
}

.account-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(23, 18, 15, 0.12);
}

.account-list strong {
  display: block;
  color: var(--ink);
}

.account-list span {
  display: block;
  margin-top: 3px;
  color: var(--smoke);
  font-size: 0.86rem;
  font-weight: 800;
}

.account-list a {
  color: var(--oxblood);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.outcome-card {
  background: linear-gradient(180deg, #fffaf0 0%, #f2e8d8 100%);
}

.outcome-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(111, 23, 51, 0.20);
  background: rgba(111, 23, 51, 0.06);
  color: var(--oxblood);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.monthly-engine-card {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(111, 23, 51, 0.96));
  color: var(--ivory);
  border-color: rgba(229, 201, 134, 0.24);
  box-shadow: 0 24px 50px rgba(12, 7, 6, 0.24);
}

.monthly-engine-card h3 {
  color: var(--ivory);
}

.monthly-engine-card .section-line span {
  border-color: rgba(229, 201, 134, 0.38);
  color: var(--champagne-2);
  background: rgba(196, 157, 91, 0.10);
}

.monthly-engine-card .mini-list li {
  border-bottom-color: rgba(244, 239, 228, 0.16);
}

.monthly-engine-card .mini-list span {
  color: rgba(244, 239, 228, 0.86);
  font-size: 0.98rem;
  line-height: 1.45;
}

.monthly-engine-card .mini-list strong {
  color: var(--champagne-2);
  font-size: 0.98rem;
  line-height: 1.35;
}

.monthly-engine-card .mini-list li:last-child {
  border-bottom: 0;
}

.monthly-engine-card .mini-list li {
  display: grid;
  grid-template-columns: minmax(112px, 160px) minmax(0, 1fr);
  align-items: flex-start;
}

.monthly-engine-card .mini-list strong,
.monthly-engine-card .mini-list span {
  max-width: none;
}

.monthly-engine-card .mini-list strong {
  text-align: left;
}

.manage-card {
  border-color: rgba(229, 201, 134, 0.24);
  box-shadow: 0 24px 50px rgba(12, 7, 6, 0.20);
}

.manage-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: stretch;
  max-width: 1220px;
}

.manage-side-card {
  display: grid;
  align-content: start;
  gap: 16px;
  background: linear-gradient(180deg, #fffaf0, #efe4d2);
}

.manage-side-card p {
  color: var(--smoke);
  line-height: 1.52;
}

.manage-side-stack {
  display: grid;
  gap: 10px;
}

.manage-side-stack article {
  padding: 14px 16px;
  border: 1px solid rgba(23, 18, 15, 0.10);
  background: rgba(255, 250, 240, 0.72);
}

.manage-side-stack span {
  display: block;
  color: #7d5a1a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.manage-side-stack strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.manage-card:not(.monthly-engine-card),
.manage-card:not(.monthly-engine-card) h3,
.manage-card:not(.monthly-engine-card) p,
.manage-card:not(.monthly-engine-card) span,
.manage-card:not(.monthly-engine-card) strong,
.manage-card:not(.monthly-engine-card) li,
.manage-card:not(.monthly-engine-card) .section-line span,
.manage-card:not(.monthly-engine-card) .mini-list span,
.manage-card:not(.monthly-engine-card) .mini-list strong {
  color: var(--ink);
}

.manage-card:not(.monthly-engine-card) .section-line span,
.manage-card:not(.monthly-engine-card) .mini-list strong {
  color: var(--oxblood);
}

.manage-card:not(.monthly-engine-card) .mini-list li {
  display: grid;
  grid-template-columns: minmax(112px, 160px) minmax(0, 1fr);
  border-bottom-color: rgba(23, 18, 15, 0.10);
}

.manage-card:not(.monthly-engine-card) .mini-list span {
  color: #5d5349;
  max-width: none;
}

.manage-card:not(.monthly-engine-card) .mini-list strong {
  max-width: none;
  text-align: left;
}

.term-switcher {
  display: grid;
  gap: 12px;
  margin: 18px 0 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(244, 239, 228, 0.16);
}

.compact-line h4 {
  margin: 0;
  color: inherit;
  font-family: Georgia, Cambria, serif;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.term-option {
  min-height: 124px;
  display: grid;
  gap: 7px;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(244, 239, 228, 0.18);
  background: rgba(244, 239, 228, 0.08);
  color: var(--ivory);
  text-align: left;
  cursor: pointer;
}

.term-option.is-active {
  border-color: rgba(229, 201, 134, 0.72);
  background: rgba(196, 157, 91, 0.18);
}

.term-option span {
  color: rgba(229, 201, 134, 0.82);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.term-option strong {
  color: var(--ivory);
  font-family: Georgia, Cambria, serif;
  font-size: 1rem;
  line-height: 1.22;
}

.term-option small {
  color: rgba(244, 239, 228, 0.68);
  font-weight: 760;
  line-height: 1.3;
}

.billing-note {
  margin: 0 0 12px;
  color: var(--smoke);
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.5;
}

.manage-card .billing-note,
.monthly-engine-card .billing-note {
  color: rgba(244, 239, 228, 0.74);
}

.account-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.text-button {
  min-height: 32px;
  border: 0;
  background: transparent;
  color: var(--oxblood);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.account-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.credibility-main {
  display: grid;
  gap: 24px;
}

.credibility-hero .account-strip {
  min-width: min(100%, 300px);
}

.credibility-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.credibility-proof-grid article,
.credibility-panel,
.credibility-metric-row article {
  border: 1px solid rgba(196, 157, 91, 0.30);
  background: var(--porcelain);
  box-shadow: var(--shadow);
}

.credibility-proof-grid article {
  display: grid;
  gap: 9px;
  padding: clamp(18px, 2.4vw, 26px);
}

.credibility-proof-grid span,
.credibility-metric-row span {
  color: #6d6256;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.credibility-proof-grid strong,
.credibility-metric-row strong {
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.credibility-proof-grid p {
  margin: 0;
  color: var(--smoke);
  line-height: 1.4;
}

.credibility-panel {
  padding: clamp(22px, 3vw, 34px);
}

.credibility-panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
}

.credibility-copy {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  color: #4b4138;
  line-height: 1.58;
}

.credibility-copy p,
.credibility-copy li,
.credibility-copy strong {
  color: #241e19;
}

.credibility-copy .mini-list span {
  color: var(--oxblood);
}

.credibility-copy a {
  color: var(--oxblood);
  font-weight: 900;
}

.credibility-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.credibility-metric-row article {
  display: grid;
  gap: 8px;
  padding: 16px;
  box-shadow: none;
}

.credibility-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.credibility-tier-grid article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(196, 157, 91, 0.24);
  background: rgba(255, 250, 240, 0.7);
}

.credibility-tier-grid span {
  color: #6d6256;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.credibility-tier-grid strong {
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: 1.15rem;
  line-height: 1.15;
}

.credibility-tier-grid p {
  margin: 0;
  color: var(--smoke);
  line-height: 1.42;
}

.calibration-list li {
  align-items: flex-start;
}

.guardrail-panel {
  background: linear-gradient(180deg, #17120f 0%, #321e1e 100%);
}

.guardrail-panel h2,
.credibility-plain-cta {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.credibility-plain-cta-link {
  display: block;
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid rgba(196, 157, 91, 0.55);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(196, 157, 91, 0.16), rgba(111, 23, 51, 0.12)),
    rgba(17, 17, 17, 0.92);
  color: var(--ivory);
  text-decoration: none;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.credibility-plain-cta-link:hover,
.credibility-plain-cta-link:focus-visible {
  border-color: var(--champagne-2);
  transform: translateY(-1px);
}

.credibility-plain-cta-link .eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--champagne-2);
}

.credibility-plain-cta-link strong {
  display: block;
  font-family: Georgia, Cambria, serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
  margin-bottom: 10px;
}

.credibility-plain-cta-link p {
  margin: 0 0 14px;
  max-width: 52rem;
  color: rgba(244, 239, 228, 0.86);
  line-height: 1.55;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
}

.credibility-plain-cta-link em {
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--champagne);
}

.plain-english-main .plain-english-panel {
  margin-bottom: clamp(20px, 3vw, 30px);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line-dark);
  background: rgba(17, 17, 17, 0.55);
}

.plain-english-main .plain-english-panel h2 {
  margin: 0 0 12px;
  font-family: Georgia, Cambria, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  color: var(--ivory);
}

.plain-english-main .plain-lead {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.62;
  color: rgba(244, 239, 228, 0.92);
}

.plain-english-main .plain-english-panel > p {
  margin: 0 0 12px;
  line-height: 1.58;
  color: rgba(244, 239, 228, 0.86);
}

.plain-english-main .plain-english-panel > p:last-child {
  margin-bottom: 0;
}

.plain-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.plain-card-grid article {
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  background: rgba(7, 7, 7, 0.45);
}

.plain-card-grid h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--champagne-2);
}

.plain-card-grid p {
  margin: 0;
  line-height: 1.55;
  color: rgba(244, 239, 228, 0.84);
  font-size: 0.95rem;
}

.plain-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 10px;
  color: rgba(244, 239, 228, 0.86);
  line-height: 1.55;
}

.plain-list.ordered {
  list-style: decimal;
}

.plain-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.plain-two-col article {
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  background: rgba(7, 7, 7, 0.35);
}

.plain-two-col h3 {
  margin: 0 0 8px;
  color: var(--champagne);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.plain-two-col p {
  margin: 0;
  line-height: 1.55;
  color: rgba(244, 239, 228, 0.86);
}

.plain-english-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.plain-english-main a:not(.primary-button):not(.secondary-button):not(.ghost-button) {
  color: var(--champagne-2);
}

.guardrail-panel h2 {
  color: var(--ivory);
}

.guardrail-panel .credibility-copy,
.guardrail-panel .credibility-copy p,
.guardrail-panel .credibility-copy li,
.guardrail-panel .credibility-copy strong,
.guardrail-panel .mini-list strong {
  color: var(--ivory);
}

.guardrail-panel .section-line span,
.guardrail-panel .mini-list span {
  color: var(--champagne-2);
}

.guardrail-panel .mini-list li {
  border-bottom-color: rgba(244, 239, 228, 0.16);
}

.confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(7, 7, 7, 0.66);
  backdrop-filter: blur(8px);
}

.confirm-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 81;
  width: min(92vw, 560px);
  transform: translate(-50%, -50%);
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(196, 157, 91, 0.42);
  background: linear-gradient(180deg, #fffaf0 0%, #f4efe4 100%);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.confirm-modal h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.confirm-modal p {
  color: #4a4037;
  line-height: 1.55;
}

.confirm-modal .auth-status {
  margin-top: 12px;
  color: var(--smoke);
}

.outcome-modal {
  width: min(94vw, 680px);
  max-height: min(92vh, 780px);
  overflow: auto;
}

.outcome-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.outcome-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.snapshot-loading-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(9, 7, 5, 0.72);
  backdrop-filter: blur(14px);
}

.snapshot-loading-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 121;
  width: min(92vw, 620px);
  transform: translate(-50%, -50%);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(196, 157, 91, 0.38);
  background: linear-gradient(180deg, #fffaf0 0%, #f5efe5 100%);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.snapshot-loading-modal h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
}

.snapshot-loading-modal p {
  margin: 0;
  color: #4d4238;
  line-height: 1.52;
}

.snapshot-loading-bar {
  position: relative;
  height: 14px;
  margin: 22px 0 14px;
  border-radius: 999px;
  background: rgba(43, 27, 17, 0.12);
  overflow: hidden;
}

.snapshot-loading-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brass), #8b5f2b, #2b1b11);
  transition: width 180ms linear;
}

.snapshot-loading-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--smoke);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.snapshot-loading-steps {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.snapshot-loading-steps li {
  padding: 10px 12px;
  border: 1px solid rgba(43, 27, 17, 0.12);
  background: rgba(255, 255, 255, 0.65);
  color: #5d5144;
  font-size: 0.88rem;
  font-weight: 850;
}

.snapshot-loading-steps li.is-active {
  border-color: rgba(143, 92, 44, 0.36);
  background: rgba(196, 157, 91, 0.16);
  color: var(--ink);
}

body.briefing-is-loading .briefing-main,
body.briefing-is-loading footer {
  opacity: 0;
  pointer-events: none;
}

body.dashboard-is-loading .dashboard-main,
body.dashboard-is-loading footer {
  opacity: 0;
  pointer-events: none;
}

.dashboard-loading-modal {
  width: min(92vw, 560px);
}

.outcome-form input,
.outcome-form select,
.outcome-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 18, 15, 0.18);
  background: rgba(255, 250, 240, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 760;
  text-transform: none;
}

.outcome-form textarea {
  resize: vertical;
  min-height: 96px;
}

.outcome-form label:has(textarea),
.outcome-form .outcome-target-readout,
.outcome-form .account-button-row,
.outcome-form .auth-status {
  grid-column: 1 / -1;
}

.outcome-target-readout {
  margin-top: 0;
}

.cancel-loss-list {
  display: grid;
  gap: 0;
  margin: 16px 0 8px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(23, 18, 15, 0.12);
  border-bottom: 1px solid rgba(23, 18, 15, 0.12);
}

.cancel-loss-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23, 18, 15, 0.10);
}

.cancel-loss-list li:last-child {
  border-bottom: 0;
}

.cancel-loss-list span {
  color: #6d6256;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.cancel-loss-list strong {
  color: var(--oxblood);
  text-align: right;
  line-height: 1.3;
}

.paid-score-card,
.paid-panel,
.paid-detail-card {
  padding: clamp(20px, 3vw, 30px);
}

.paid-score-card {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(34, 25, 23, 0.98));
  color: var(--ivory);
}

.paid-score-card h2,
.paid-panel h3,
.paid-detail-card h3 {
  color: inherit;
}

.paid-panel {
  align-self: start;
  background: rgba(111, 23, 51, 0.96);
  color: var(--ivory);
}

.paid-panel p {
  color: rgba(244, 239, 228, 0.74);
  line-height: 1.5;
}

.paid-detail-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: 1.65rem;
}

.paid-detail-card pre,
.paid-detail-card .report-copy {
  color: #241e19;
  font-size: 1.02rem;
  line-height: 1.68;
}

.paid-detail-card .report-copy p {
  margin: 0 0 16px;
}

.paid-detail-card .report-copy p:last-child {
  margin-bottom: 0;
}

/* Card is a flex column so the key-facts strip can sit at the bottom, turning the
   leftover space under a short explanation into something intentional. */
.paid-detail-card {
  display: flex;
  flex-direction: column;
}

.report-facts {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(60, 50, 40, 0.14);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.report-facts > div {
  display: grid;
  gap: 4px;
  align-content: start;
}

.report-facts span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7d68;
}

.report-facts strong {
  font-size: 1.02rem;
  color: #2a2010;
  line-height: 1.3;
}

.paid-detail-card .component-list li {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(23, 18, 15, 0.12);
  background: rgba(250, 247, 240, 0.88);
}

.paid-detail-card .component-list .component-driver-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.paid-detail-card .component-list span,
.paid-detail-card .mini-list span {
  color: #2d261f;
  font-size: 0.96rem;
  font-weight: 900;
}

.paid-detail-card .component-list strong,
.paid-detail-card .mini-list strong {
  color: var(--oxblood);
  font-size: 1.05rem;
}

.paid-detail-card .component-driver-evidence,
.paid-detail-card .component-driver-summary {
  margin: 0;
  color: #3a3027;
  line-height: 1.5;
}

.paid-detail-card .component-driver-evidence {
  font-size: 0.88rem;
  font-weight: 720;
}

.paid-detail-card .component-driver-summary {
  color: #6d6256;
  font-size: 0.84rem;
}

.paid-detail-card .component-list i {
  margin-top: 2px;
  height: 7px;
  background: linear-gradient(90deg, var(--oxblood) 0 var(--bar), rgba(23, 18, 15, 0.12) var(--bar));
}

.paid-detail-card .mini-list li {
  border-bottom-color: rgba(23, 18, 15, 0.12);
}

.paid-detail-card .signal-grid div {
  border-color: rgba(23, 18, 15, 0.12);
  background: rgba(196, 157, 91, 0.10);
}

.paid-detail-card .signal-grid span {
  color: #6d6256;
}

.paid-detail-card .signal-grid strong {
  color: var(--oxblood);
  font-size: 1.02rem;
}

.parent-feedback {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.parent-feedback article {
  padding: 14px;
  border: 1px solid rgba(23, 18, 15, 0.12);
  background: rgba(196, 157, 91, 0.10);
}

.parent-feedback article.is-wide {
  grid-column: 1 / -1;
}

.parent-feedback span {
  display: block;
  margin-bottom: 6px;
  color: var(--oxblood);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.parent-feedback p {
  margin: 0;
  color: #352d25;
  line-height: 1.62;
}

.locked-row span,
.locked-row strong {
  filter: blur(2.6px);
  user-select: none;
}

.dashboard-actions {
  display: grid;
  gap: 20px;
  margin: 0;
  padding-left: 22px;
}

.dashboard-actions li {
  color: #3f362e;
  line-height: 1.6;
  padding-left: 4px;
}

.dashboard-actions li p {
  margin: 0;
  line-height: 1.68;
}

/* Paid "Next Actions" list: clear separation between steps, less clutter. */
.paid-detail-card .dashboard-actions {
  gap: 0;
}

.paid-detail-card .dashboard-actions li {
  padding: 16px 0 18px;
  border-bottom: 1px solid rgba(60, 50, 40, 0.12);
}

.paid-detail-card .dashboard-actions li:first-child {
  padding-top: 4px;
}

.paid-detail-card .dashboard-actions li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.plus-command-section {
  margin-top: 24px;
}

.command-center-card,
.living-roadmap-card {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(42, 30, 23, 0.98));
  color: var(--ivory);
}

.living-roadmap-card h3,
.living-roadmap-card .section-line span {
  color: var(--ivory);
}

.living-roadmap-card .section-line span {
  border-color: rgba(229, 201, 134, 0.38);
  background: rgba(196, 157, 91, 0.12);
  color: var(--champagne-2);
}

.roadmap-copy {
  max-width: 720px;
  margin: 0 0 18px;
  color: rgba(244, 239, 228, 0.76);
  line-height: 1.55;
}

.roadmap-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.roadmap-summary div {
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(229, 201, 134, 0.28);
  background: rgba(244, 239, 228, 0.07);
}

.roadmap-summary span,
.roadmap-detail-grid dt {
  display: block;
  margin-bottom: 6px;
  color: rgba(229, 201, 134, 0.82);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.roadmap-summary strong {
  display: block;
  color: var(--ivory);
  font-family: Georgia, Cambria, serif;
  font-size: 1rem;
  line-height: 1.28;
}

.roadmap-timeline {
  display: grid;
  gap: 10px;
}

.roadmap-item {
  display: grid;
  grid-template-columns: minmax(94px, 120px) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(244, 239, 228, 0.14);
  background: rgba(244, 239, 228, 0.06);
}

.roadmap-item.is-open {
  border-color: rgba(229, 201, 134, 0.48);
  background: rgba(196, 157, 91, 0.14);
  box-shadow: inset 3px 0 0 rgba(229, 201, 134, 0.9);
}

.roadmap-item.is-locked {
  opacity: 0.72;
  position: relative;
}

.roadmap-item.is-locked::after {
  content: "Locked";
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 9px;
  border: 1px solid rgba(244, 239, 228, 0.18);
  color: rgba(244, 239, 228, 0.72);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.roadmap-step {
  display: grid;
  align-content: start;
  gap: 7px;
}

.roadmap-step span {
  color: rgba(244, 239, 228, 0.64);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.roadmap-step strong {
  color: var(--champagne-2);
  font-size: 0.86rem;
  line-height: 1.25;
}

.roadmap-item h4 {
  margin: 0 0 6px;
  color: var(--ivory);
  font-family: Georgia, Cambria, serif;
  font-size: 1.02rem;
}

.roadmap-item p {
  margin: 0;
  color: rgba(244, 239, 228, 0.72);
  font-size: 0.92rem;
  line-height: 1.42;
}

.command-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 18px;
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(229, 201, 134, 0.24);
  background: rgba(244, 239, 228, 0.08);
}

.command-hero h2 {
  max-width: 760px;
  margin: 4px 0 10px;
  color: var(--ivory);
  font-family: Georgia, Cambria, serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
}

.command-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(244, 239, 228, 0.78);
  line-height: 1.5;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  padding: 10px 12px;
  border: 1px solid rgba(244, 239, 228, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(244, 239, 228, 0.84);
  font-size: 0.88rem;
}

.next-briefing-card {
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(229, 201, 134, 0.32);
  background: linear-gradient(180deg, rgba(196, 157, 91, 0.16), rgba(0, 0, 0, 0.22));
}

.next-briefing-card span,
.next-briefing-card strong {
  color: var(--champagne-2);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.next-briefing-card h4 {
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, Cambria, serif;
  font-size: 1.45rem;
  line-height: 1.08;
}

.next-briefing-card p {
  color: rgba(244, 239, 228, 0.72);
}

.command-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr) minmax(280px, 1.1fr);
  gap: 14px;
  margin-top: 14px;
}

.command-grid article {
  padding: 18px;
  border: 1px solid rgba(244, 239, 228, 0.12);
  background: rgba(244, 239, 228, 0.055);
}

.command-grid h4 {
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, Cambria, serif;
  font-size: 1.14rem;
}

.command-grid .mini-list li {
  border-bottom-color: rgba(244, 239, 228, 0.12);
}

.command-grid .mini-list span,
.command-grid .dashboard-actions li {
  color: rgba(244, 239, 228, 0.78);
}

.command-grid .mini-list strong {
  color: var(--champagne-2);
  text-align: right;
}

.command-grid .dashboard-actions {
  padding-left: 18px;
}

.command-grid .section-line span {
  color: var(--champagne-2);
}

.briefing-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.dashboard-briefing-preview {
  margin-top: 0;
}

.briefing-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 70px;
}

.briefing-hero,
.briefing-window,
.briefing-card,
.briefing-actions {
  border: 1px solid rgba(196, 157, 91, 0.28);
  box-shadow: var(--shadow);
}

.briefing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  gap: 22px;
  align-items: end;
  min-height: 420px;
  padding: clamp(26px, 5vw, 56px);
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.94), rgba(37, 27, 23, 0.96)),
    url("assets/benchmark-luxury-hero.png") center/cover;
  color: var(--ivory);
}

.briefing-hero h1 {
  max-width: 760px;
  color: var(--ivory);
  font-size: clamp(3.4rem, 8vw, 7.2rem);
}

.briefing-hero p {
  max-width: 680px;
  color: rgba(244, 239, 228, 0.78);
}

.briefing-hero aside {
  padding: 20px;
  border: 1px solid rgba(229, 201, 134, 0.30);
  background: rgba(0, 0, 0, 0.28);
}

.briefing-hero aside span,
.briefing-countdown span,
.briefing-alert span,
.proof-ledger span,
.vault-stack span {
  display: block;
  margin-bottom: 8px;
  color: var(--champagne-2);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.briefing-hero aside strong {
  display: block;
  color: var(--ivory);
  font-family: Georgia, Cambria, serif;
  font-size: 1.55rem;
}

.briefing-window {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  gap: 22px;
  align-items: stretch;
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--porcelain);
}

.briefing-window h2,
.briefing-actions h2 {
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1;
}

.briefing-window p,
.briefing-actions p {
  color: var(--smoke);
  line-height: 1.58;
}

.briefing-countdown {
  display: grid;
  align-content: center;
  padding: 20px;
  background: #17120f;
  color: var(--ivory);
}

.briefing-countdown strong {
  color: var(--ivory);
  font-family: Georgia, Cambria, serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.briefing-countdown p {
  color: rgba(244, 239, 228, 0.70);
}

.briefing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  margin-top: 22px;
}

.briefing-card {
  padding: clamp(20px, 3vw, 30px);
  background: var(--porcelain);
}

.briefing-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: 1.55rem;
}

.briefing-card.is-primary {
  background: linear-gradient(180deg, #fffaf0, #f2eadc);
}

.alert-stack,
.proof-ledger,
.vault-stack {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.briefing-alert,
.proof-ledger li,
.vault-stack article {
  padding: 16px;
  border: 1px solid rgba(23, 18, 15, 0.12);
  background: rgba(255, 255, 255, 0.48);
}

.briefing-alert.is-hot {
  border-color: rgba(111, 23, 51, 0.34);
  box-shadow: inset 3px 0 0 var(--oxblood);
}

.briefing-alert strong,
.proof-ledger strong,
.vault-stack strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: 1.14rem;
}

.briefing-alert p,
.proof-ledger p,
.vault-stack p,
.vault-card > p {
  margin: 8px 0 0;
  color: #5f554b;
  line-height: 1.48;
}

.briefing-script {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.briefing-script li {
  color: #3f362e;
  line-height: 1.52;
}

.briefing-script li strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.briefing-script li p {
  margin: 0;
  color: #5f554b;
  line-height: 1.58;
}

.proof-ledger li {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(80px, 100px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.proof-ledger p {
  margin: 0;
}

.vault-card {
  background: #17120f;
  color: var(--ivory);
}

.vault-card h3 {
  color: var(--ivory);
}

.vault-card .section-line span {
  color: var(--champagne-2);
}

.vault-card > p {
  color: rgba(244, 239, 228, 0.72);
}

.vault-stack article {
  border-color: rgba(244, 239, 228, 0.14);
  background: rgba(244, 239, 228, 0.06);
}

.vault-stack strong {
  color: var(--ivory);
}

.vault-stack p {
  color: rgba(244, 239, 228, 0.72);
}

.briefing-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--porcelain);
}

.briefing-actions > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.drop-room .briefing-hero h1 {
  max-width: 880px;
}

.drop-room .briefing-hero {
  min-height: 360px;
}

.drop-current {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 22px;
  margin-top: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(196, 157, 91, 0.28);
  background: var(--porcelain);
  box-shadow: var(--shadow);
}

.drop-current h2 {
  max-width: 780px;
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.05;
}

.drop-current p {
  max-width: 760px;
  color: var(--smoke);
  line-height: 1.58;
}

.drop-assets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.drop-assets article,
.packet-card,
.next-drop-card,
.drop-calendar article,
.drop-proof-strip div {
  border: 1px solid rgba(23, 18, 15, 0.12);
  background: rgba(255, 255, 255, 0.52);
}

.drop-assets article,
.packet-card,
.next-drop-card {
  padding: 16px;
}

.drop-assets span,
.packet-card span,
.next-drop-card span,
.drop-calendar span,
.drop-proof-strip span {
  display: block;
  margin-bottom: 7px;
  color: var(--oxblood);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.drop-assets strong,
.packet-card strong,
.next-drop-card strong,
.drop-calendar strong,
.drop-proof-strip strong {
  display: block;
  color: var(--ink);
  line-height: 1.35;
}

.packet-card p {
  margin: 9px 0 0;
  color: #5f554b;
  line-height: 1.58;
}

.drop-retention-card {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  background: #17120f;
  color: var(--ivory);
}

.drop-retention-card span,
.drop-retention-card strong {
  color: var(--champagne-2);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.drop-retention-card h3 {
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, Cambria, serif;
  font-size: 1.55rem;
  line-height: 1.08;
}

.drop-retention-card p {
  color: rgba(244, 239, 228, 0.76);
}

.drop-proof-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.drop-proof-strip div {
  padding: 14px;
}

.drop-proof-strip strong {
  color: var(--oxblood);
}

.drop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  margin-top: 22px;
}

.packet-stack,
.drop-calendar {
  display: grid;
  gap: 10px;
}

.packet-card.is-main {
  border-color: rgba(111, 23, 51, 0.28);
  box-shadow: inset 3px 0 0 var(--oxblood);
}

.next-drop-card {
  margin-top: 16px;
  border-color: rgba(244, 239, 228, 0.14);
  background: rgba(244, 239, 228, 0.07);
}

.next-drop-card strong,
.vault-card .next-drop-card strong {
  color: var(--ivory);
  font-family: Georgia, Cambria, serif;
  font-size: 1.28rem;
}

.next-drop-card p,
.next-drop-card small {
  display: block;
  margin-top: 8px;
  color: rgba(244, 239, 228, 0.72);
  line-height: 1.45;
}

.calendar-card {
  background: linear-gradient(180deg, #fffaf0, #f2eadc);
}

.drop-calendar article {
  padding: 14px;
}

.drop-calendar article.is-open {
  border-color: rgba(111, 23, 51, 0.28);
  box-shadow: inset 3px 0 0 var(--oxblood);
}

.drop-calendar article.is-locked {
  opacity: 0.72;
}

.drop-calendar p {
  margin: 7px 0 0;
  color: #62574d;
  line-height: 1.42;
}

.email-main {
  padding: clamp(34px, 6vw, 78px) clamp(18px, 5vw, 76px);
  font-size: 16px;
}

.support-main {
  padding: clamp(34px, 6vw, 78px) clamp(18px, 5vw, 76px);
  font-size: 16px;
}

.email-hero,
.support-hero {
  max-width: 980px;
  color: var(--ivory);
}

.email-hero h1,
.support-hero h1 {
  margin-bottom: 18px;
  color: var(--porcelain);
  font-family: Georgia, Cambria, serif;
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-style: normal;
  line-height: 1.04;
}

.email-hero p:not(.eyebrow),
.support-hero p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(244, 239, 228, 0.78);
  line-height: 1.58;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 22px;
  align-items: stretch;
  max-width: 1120px;
  margin-top: clamp(26px, 5vw, 54px);
}

.support-card,
.support-side-card {
  border: 1px solid rgba(196, 157, 91, 0.34);
  background: rgba(255, 250, 240, 0.96);
  box-shadow: var(--shadow);
}

.support-card {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
}

.support-card h3,
.support-side-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: 1.65rem;
}

.support-side-card {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(180deg, #fffaf0, #efe4d2);
}

.support-side-card p {
  color: var(--smoke);
  line-height: 1.52;
}

.support-side-card .mini-list li {
  border-bottom-color: rgba(23, 18, 15, 0.12);
}

.support-side-card .mini-list span {
  color: #5d5349;
}

.support-side-card .mini-list strong {
  color: var(--oxblood);
}

.email-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(26px, 5vw, 54px);
}

.email-shell {
  display: grid;
  min-width: 0;
}

.email-window {
  overflow: hidden;
  border: 1px solid rgba(196, 157, 91, 0.34);
  background: #fffaf0;
  box-shadow: var(--shadow);
}

.email-shell.is-featured .email-window {
  border-color: rgba(229, 201, 134, 0.72);
  box-shadow: 0 28px 80px rgba(111, 23, 51, 0.26);
}

.email-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #17120f;
  color: var(--ivory);
}

.email-bar span,
.email-bar strong {
  color: rgba(244, 239, 228, 0.86);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.email-body {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
}

.email-body h2 {
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.02;
}

.email-body p {
  color: #4d433a;
  line-height: 1.56;
}

.email-kicker,
.email-body small {
  color: var(--smoke);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.email-callout,
.email-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(23, 18, 15, 0.12);
  background: rgba(196, 157, 91, 0.12);
  list-style: none;
}

.email-callout.danger {
  background: rgba(111, 23, 51, 0.10);
}

.email-callout span,
.email-body li span {
  display: block;
  color: var(--oxblood);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.email-callout strong,
.email-body li strong {
  display: block;
  color: var(--ink);
  line-height: 1.34;
}

.email-body a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  background: #17120f;
  color: var(--champagne-2);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.legal-warning {
  margin: clamp(24px, 4vw, 42px) 0 18px;
  padding: 20px 22px;
  background: rgba(111, 23, 51, 0.96);
  color: var(--ivory);
}

.legal-warning strong {
  color: var(--champagne-2);
}

.legal-warning p {
  margin: 8px 0 0;
  color: rgba(244, 239, 228, 0.76);
  line-height: 1.5;
}

.legal-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 6px;
  padding: 16px;
}

.legal-nav a {
  padding: 9px 10px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-nav a:hover {
  background: rgba(196, 157, 91, 0.16);
}

.legal-doc {
  padding: clamp(24px, 4vw, 44px);
}

.legal-doc section {
  padding: 0 0 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(23, 18, 15, 0.12);
}

.legal-doc section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.legal-doc h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.legal-doc h3 {
  margin-top: 22px;
  color: var(--oxblood);
  font-family: Georgia, Cambria, serif;
  font-size: 1.25rem;
}

.legal-doc p {
  color: #3f362e;
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .app-grid,
  .hero-section,
  .plus-section,
  .auth-layout,
  .checkout-layout,
  .manage-layout,
  .legal-grid,
  .dashboard-hero,
  .plain-card-grid,
  .plain-two-col {
    grid-template-columns: 1fr;
  }

  .credibility-proof-grid,
  .credibility-metric-row,
  .credibility-tier-grid,
  .dashboard-grid,
  .dashboard-grid.lower,
  .account-grid,
  .email-grid,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .results-shell {
    position: static;
  }

  .plan-panel,
  .legal-nav {
    position: static;
  }
}

@media (max-width: 780px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .ghost-button {
    padding: 11px 12px;
    font-size: 0.78rem;
  }

  nav {
    display: none;
  }

  .hero-section {
    min-height: calc(100svh - 104px);
    background-image:
      linear-gradient(180deg, rgba(7, 7, 7, 0.97) 0%, rgba(7, 7, 7, 0.92) 58%, rgba(7, 7, 7, 0.82) 100%),
      url("assets/benchmark-luxury-hero.png");
    background-position: center;
  }

  .proof-strip,
  .decision-grid,
  .anxiety-ledger,
  .purchase-strip,
  .tier-scale,
  .two-col,
  .three-col,
  .method-grid,
  .signal-grid,
  .locked-grid,
  .locked-preview,
  .score-stage,
  .missing-list,
  .roadmap-summary,
  .roadmap-detail-grid,
  .pricing-ladder,
  .school-card-round,
  .term-grid,
  .command-hero,
  .command-grid,
  .proof-list,
  .briefing-hero,
  .briefing-window,
  .briefing-grid,
  .proof-ledger li,
  .drop-current,
  .drop-assets,
  .drop-proof-strip,
  .drop-grid,
  .parent-feedback {
    grid-template-columns: 1fr;
  }

  .workbench,
  .method-section,
  .plus-section,
  .integration-strip {
    padding-left: 16px;
    padding-right: 16px;
  }

  .integration-strip {
    flex-direction: column;
    align-items: stretch;
    margin-left: 16px;
    margin-right: 16px;
  }

  .checkout-box {
    flex-direction: column;
    align-items: stretch;
  }

  .account-actions,
  .account-list li,
  .briefing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .briefing-actions > div:last-child {
    justify-content: stretch;
  }

  .drop-room .briefing-hero {
    min-height: 300px;
  }

  .drop-current,
  .briefing-card,
  .briefing-actions {
    padding: 20px;
  }

  .drop-current h2 {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  .briefing-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .roadmap-item {
    grid-template-columns: 1fr;
  }

  .cancel-loss-list li {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cancel-loss-list strong {
    text-align: left;
  }

  .student-form {
    grid-template-columns: 1fr;
  }

  .outcome-form {
    grid-template-columns: 1fr;
  }

  .selected-school-card {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(1.85rem, 8vw, 3.2rem);
    line-height: 1.05;
  }

  html,
  body {
    overflow-x: hidden;
  }

  .hero-content,
  .hero-diagnostic {
    max-width: 100%;
  }

  .score-gauge strong {
    font-size: 3.9rem;
  }
}

/* True one-question Snapshot intake */
.intake-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.04), rgba(244, 239, 228, 0) 38vh),
    var(--ivory);
}

.intake-page .workbench {
  min-height: calc(100vh - 68px);
  display: grid;
  align-content: center;
  padding: clamp(26px, 5vw, 58px) clamp(16px, 4vw, 52px);
}

.intake-page .workbench > .section-head {
  display: none;
}

.intake-page .site-header {
  position: fixed;
  width: 100%;
  min-height: 56px;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.92), rgba(7, 7, 7, 0.54));
  border-bottom-color: rgba(244, 239, 228, 0.08);
  grid-template-columns: 1fr auto 1fr;
}
.intake-page .site-header .brand {
  justify-self: start;
}

.intake-page .site-header nav a:not(:first-child),
.intake-page .site-header .header-actions {
  display: none;
}

.intake-page main {
  padding-top: 56px;
}

.intake-page .app-grid {
  display: block;
  max-width: 980px;
  margin: 0 auto;
}

.intake-page .score-form {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.intake-page #scoreForm > fieldset,
.intake-page #scoreForm > fieldset.is-active-step {
  display: none !important;
}

.wizard-parking {
  display: none !important;
}

.intake-page .wizard-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.wizard-progress-row {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 680px;
  margin: 0 auto 16px;
  color: rgba(117, 109, 96, 0.88);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.wizard-progress-row i {
  display: block;
  height: 5px;
  overflow: hidden;
  background: rgba(117, 109, 96, 0.14);
}

.wizard-progress-row b {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--champagne), var(--evergreen));
  transition: width 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wizard-question-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  min-height: min(590px, calc(100vh - 198px));
  padding: clamp(26px, 5vw, 58px);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.985), rgba(255, 250, 240, 0.94)),
    radial-gradient(circle at 50% 0%, rgba(196, 157, 91, 0.13), transparent 32%);
  border: 1px solid rgba(196, 157, 91, 0.42);
  box-shadow: 0 30px 95px rgba(7, 7, 7, 0.13), inset 0 1px 0 rgba(255, 250, 240, 0.84);
  animation: wizardCardIn 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wizard-panel.is-changing .wizard-question-card {
  opacity: 0.5;
  transform: translateY(10px) scale(0.995);
}

.wizard-question-card h3 {
  max-width: 800px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, Cambria, serif;
  font-size: clamp(2.35rem, 5.8vw, 5.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.wizard-question-card > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--smoke);
  font-size: clamp(0.98rem, 1.8vw, 1.1rem);
  line-height: 1.6;
}

.wizard-answer {
  width: min(100%, 680px);
  display: grid;
  gap: 12px;
  margin-top: 6px;
  text-align: left;
}

.wizard-answer > label,
.wizard-answer .target-helper,
.wizard-answer .school-tier-tool,
.wizard-answer #targetTierWrap,
.wizard-answer .entry-editor {
  width: 100%;
  padding: clamp(14px, 2.5vw, 22px);
  background: rgba(244, 239, 228, 0.72);
  border: 1px solid rgba(196, 157, 91, 0.34);
  box-shadow: 0 12px 36px rgba(7, 7, 7, 0.06);
}

.wizard-answer .target-helper {
  display: none;
}

.wizard-answer > label {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wizard-answer.single-field-answer > label {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 0;
  letter-spacing: 0;
}

.wizard-answer.single-field-answer input,
.wizard-answer.single-field-answer select {
  min-height: 66px;
  padding: 0 20px;
  font-size: 1.12rem;
  text-align: center;
  border-color: rgba(196, 157, 91, 0.44);
  box-shadow: 0 16px 42px rgba(7, 7, 7, 0.08);
}

.wizard-answer input,
.wizard-answer select {
  min-height: 58px;
  font-size: 1.08rem;
  background: var(--porcelain);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wizard-answer input:focus,
.wizard-answer select:focus {
  outline: none;
  border-color: rgba(15, 59, 53, 0.62);
  box-shadow: 0 0 0 4px rgba(15, 59, 53, 0.08), 0 18px 46px rgba(7, 7, 7, 0.09);
  transform: translateY(-1px);
}

.wizard-answer input::placeholder {
  color: rgba(117, 109, 96, 0.78);
}

.wizard-answer .field-help,
.wizard-answer .target-helper p,
.wizard-answer .section-line p {
  color: var(--smoke);
  font-size: 0.82rem;
  line-height: 1.45;
}

.wizard-answer .target-divider {
  margin: 2px 0;
}

.wizard-answer .school-tier-tool {
  display: grid;
  gap: 12px;
}

.wizard-answer .selected-school-card {
  margin-top: 8px;
}

.wizard-answer .selected-school-card.is-school-mode + #targetTierWrap,
.wizard-answer .selected-school-card.is-school-mode ~ #targetTierWrap {
  display: none !important;
}

.wizard-answer #targetTierWrap[hidden],
.wizard-answer .target-divider[hidden] {
  display: none !important;
}

.wizard-answer .two-col,
.wizard-answer .three-col,
.wizard-answer .entry-grid {
  grid-template-columns: 1fr;
}

.wizard-answer .entry-card {
  background: rgba(255, 250, 240, 0.9);
}

.wizard-status {
  min-height: 24px;
  margin: 0;
  color: var(--oxblood);
  font-weight: 800;
  text-align: center;
}

.wizard-status.is-error {
  color: #ffffff !important;
  background: var(--oxblood);
  border-radius: 10px;
  padding: 10px 14px;
  min-height: 0;
  box-shadow: 0 8px 20px rgba(90, 14, 14, 0.28);
}

.wizard-status.is-error.is-flagged {
  animation: wizardStatusPop 0.42s ease;
}

@keyframes wizardStatusPop {
  0% { transform: scale(0.94); }
  35% { transform: scale(1.04); }
  60% { transform: scale(0.99); }
  100% { transform: scale(1); }
}

/* School vs. tier choice: neither button is pre-selected, so make the active
   choice obvious once the parent picks one. */
#useSchoolBenchmarkBtn.is-active,
#useTierBenchmarkBtn.is-active {
  background: var(--evergreen, #0f3b35);
  color: #fff;
  border-color: var(--evergreen, #0f3b35);
  box-shadow: 0 6px 16px rgba(15, 59, 53, 0.28);
}

.selected-school-card.is-undecided {
  border-color: rgba(196, 157, 91, 0.55);
  background: rgba(196, 157, 91, 0.08);
}

.selected-school-card.is-undecided .school-card-actions {
  outline: 2px dashed rgba(196, 157, 91, 0.6);
  outline-offset: 6px;
  border-radius: 10px;
}

.intake-page .wizard-controls {
  width: min(100%, 760px);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}

.intake-page .wizard-controls .primary-button,
.intake-page .wizard-controls .ghost-button {
  min-width: 138px;
}

.intake-page #scoreForm .form-actions {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  justify-content: center;
}

.intake-page #sampleBtn,
.intake-page #resetBtn {
  display: none !important;
}

.intake-page #scoreForm:not(.is-final-step) .form-actions {
  display: none !important;
}

.intake-page .results-shell {
  display: none;
  max-width: 980px;
  margin: 18px auto 0;
  position: static;
}

.intake-page.show-intake-results .results-shell {
  display: none;
}

.intake-page.show-intake-result-panel .results-shell {
  display: block;
}

@keyframes wizardCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 720px) {
  .wizard-progress-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wizard-question-card {
    min-height: auto;
    padding: 24px 16px;
  }

  .intake-page .wizard-controls,
  .intake-page #scoreForm .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.unlock-page {
  background:
    linear-gradient(145deg, rgba(7, 7, 7, 0.96), rgba(23, 18, 15, 0.94)),
    var(--noir);
  color: var(--ivory);
}

.unlock-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(46px, 8vw, 92px) 0 72px;
}

.unlock-hero {
  max-width: 860px;
  margin: 0 auto 28px;
  text-align: center;
}

.unlock-hero h1 {
  margin: 8px 0 16px;
  color: var(--porcelain);
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 1.04;
}

.unlock-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(244, 239, 228, 0.76);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.75;
}

.unlock-summary-grid,
.unlock-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.unlock-summary-grid {
  margin: 30px 0 18px;
}

.unlock-summary-card,
.unlock-plan-card {
  border: 1px solid rgba(229, 201, 134, 0.24);
  background: rgba(255, 250, 240, 0.075);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.unlock-summary-card {
  min-height: 126px;
  padding: 20px;
  display: grid;
  align-content: space-between;
  gap: 16px;
}

.unlock-summary-card span {
  color: var(--champagne-2);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.unlock-summary-card strong {
  color: var(--porcelain);
  font-size: 1.05rem;
  line-height: 1.35;
}

.unlock-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.unlock-plan-card {
  padding: clamp(22px, 4vw, 34px);
  display: grid;
  gap: 14px;
}

.unlock-plan-card.is-plus {
  background:
    linear-gradient(140deg, rgba(111, 23, 51, 0.34), rgba(15, 59, 53, 0.24)),
    rgba(255, 250, 240, 0.085);
}

.unlock-plan-card.is-recommended {
  border-color: rgba(229, 201, 134, 0.58);
}

.unlock-plus-active .unlock-choice-grid {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

.unlock-plus-active .unlock-plan-card:not(.is-plus) {
  display: none;
}

#wizardCount {
  display: none !important;
}

.algorithm-hidden-field {
  display: none !important;
}

.score-meaning {
  margin-top: 18px;
  padding: 18px;
  color: var(--ivory);
  background: rgba(7, 7, 7, 0.34);
  border: 1px solid rgba(229, 201, 134, 0.26);
}

.score-meaning strong {
  display: block;
  color: var(--champagne-2);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.35;
}

.score-meaning p {
  margin: 8px 0 0;
  color: rgba(244, 239, 228, 0.78);
  line-height: 1.6;
}

.match-chip {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(229, 201, 134, 0.5);
  color: var(--champagne-2);
  background: rgba(196, 157, 91, 0.14);
}

.match-chip[data-tone="good"] {
  border-color: rgba(120, 190, 130, 0.55);
  color: #9fe2ad;
  background: rgba(80, 160, 100, 0.16);
}

.match-chip[data-tone="low"] {
  border-color: rgba(220, 150, 120, 0.5);
  color: #f0b59a;
  background: rgba(190, 110, 80, 0.16);
}

.score-meaning .fit-context {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(229, 201, 134, 0.2);
  color: var(--champagne-2);
  font-weight: 600;
  line-height: 1.55;
}

.account-only-signup .plan-panel {
  display: none;
}

.account-only-signup .auth-layout {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.unlock-plan-card h2 {
  margin: 0;
  color: var(--porcelain);
  font-size: clamp(2.1rem, 4.6vw, 4.3rem);
  line-height: 1.05;
}

.unlock-plan-card p,
.unlock-plan-card small {
  margin: 0;
  color: rgba(244, 239, 228, 0.76);
  line-height: 1.65;
}

.unlock-plan-card .primary-button {
  justify-self: start;
  margin-top: 6px;
}

.unlock-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.unlock-bottom-row .auth-status {
  margin: 0;
  color: var(--champagne-2);
}

@media (max-width: 820px) {
  .unlock-summary-grid,
  .unlock-choice-grid {
    grid-template-columns: 1fr;
  }

  .unlock-bottom-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* --- Report skeletons (used while Plus text is preparing) --- */
.report-skeleton {
  display: grid;
  gap: 10px;
  padding: 2px 0;
}

.report-skeleton .skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.18), rgba(255,255,255,0.08));
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.15s ease-in-out infinite;
}

.report-skeleton .skeleton-line.wide {
  height: 14px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}
