/* Anvil shared styles. Brand Standard v3: Navy #0D2037, Amber #C37B2A, Grey #7C8388, White #FFFFFF. */

:root {
  --navy: #0D2037;
  --amber: #C37B2A;
  --grey: #5F666B;
  --white: #FFFFFF;
  --rule: rgba(13, 32, 55, 0.14);
  --rule-strong: rgba(13, 32, 55, 0.28);
  --tint: rgba(13, 32, 55, 0.04);
  --tint-2: rgba(13, 32, 55, 0.08);
  --rule-dark: rgba(255, 255, 255, 0.16);
  --max: 1160px;
  --radius: 10px;
  --serif: "Spectral", Georgia, serif;
  --sans: "League Spartan", Calibri, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 50;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

h1,
h2,
h3,
.stat {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
}

h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--amber);
}

.dark .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.cap {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.muted {
  color: var(--grey);
}

.lede {
  font-size: 20px;
}

.text-link {
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}

.text-link:hover {
  border-bottom-color: var(--navy);
}

/* Buttons */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  padding: 17px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity .15s ease, background-color .15s ease;
}

.btn:hover {
  opacity: .88;
}

.btn[disabled] {
  opacity: .4;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.dark .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--navy);
  padding-left: 4px;
  padding-right: 4px;
}

.btn-sm {
  padding: 12px 20px;
  font-size: 15px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

section {
  padding: 112px 0;
}

.dark {
  background: var(--navy);
  color: var(--white);
}

.rule-top {
  border-top: 1px solid var(--rule);
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.nav .logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--amber);
}

/* Home hero */

.hero {
  padding: 136px 0 120px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(44px, 8.2vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 13ch;
  margin: 0 auto;
}

.hero .lede {
  max-width: 620px;
  margin: 36px auto 0;
}

.hero .actions {
  justify-content: center;
  margin-top: 44px;
}

.hero .note {
  margin: 28px auto 0;
  font-size: 15px;
  color: var(--grey);
  max-width: 560px;
}

/* Two-column intro */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.split p + p {
  margin-top: 18px;
}

.symptoms {
  list-style: none;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}

.symptoms li {
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--rule);
}

.symptoms strong {
  display: block;
  font-weight: 500;
}

.symptoms span {
  font-size: 15px;
  color: var(--grey);
}

.symptoms-h {
  margin-top: 56px;
  font-size: 22px;
}

.symptoms-h + .symptoms {
  margin-top: 18px;
}

.symptoms-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* FAQ (home): reuses the shared .faq styles below, narrowed for reading */

#faq .faq {
  max-width: 820px;
}

/* AI layer */

.layer {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 64px;
  align-items: center;
}

.layer p {
  margin-top: 22px;
}

.figure {
  margin: 0;
}

.figure figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--grey);
  text-align: center;
}

.lists3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
}

.lists3 > div {
  border-top: 3px solid var(--navy);
  padding-top: 20px;
}

.lists3 > div:nth-child(2) {
  border-top-color: var(--amber);
}

.lists3 h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.lists3 ul {
  list-style: none;
}

.lists3 li {
  font-size: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}

.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 72px;
}

.versus-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px;
}

.versus-card.with {
  border: 2px solid var(--navy);
}

.versus-card h3 {
  margin: 4px 0 8px;
}

.versus-card p {
  font-size: 16px;
  color: var(--grey);
}

.versus-card svg {
  margin-top: 28px;
  width: 100%;
  height: auto;
}

.compare {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.compare > div {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.compare h3 {
  margin: 12px 0 10px;
}

.compare p {
  font-size: 16px;
  color: var(--grey);
}

.compare .us {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.compare .us .cap {
  color: var(--amber);
}

.compare .us p {
  color: rgba(255, 255, 255, 0.8);
}

/* Case study */

.case {
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}

.case-head {
  padding: 56px 56px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.case-head .eyebrow {
  margin-bottom: 14px;
}

.case-head h3 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
}

.case-head p {
  font-size: 17px;
}

.stats3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}

.stats3 > div {
  padding: 32px 56px 30px;
  border-right: 1px solid var(--rule);
}

.stats3 > div:last-child {
  border-right: 0;
}

.stats3 .stat {
  font-size: clamp(40px, 4.6vw, 56px);
  line-height: 1;
}

.stats3 .stat-phrase {
  font-size: clamp(28px, 3vw, 40px);
}

.case-intro {
  margin-bottom: 28px;
}

.split h2 + .decision {
  margin-top: 20px;
}

.aside-apply {
  margin-top: 24px;
}

address {
  font-style: normal;
}

.stats3 .cap {
  margin-top: 10px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 18px 56px;
  border-top: 1px solid var(--rule);
  background: var(--tint);
  font-size: 15px;
}

.case-meta span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  margin-right: 10px;
  vertical-align: 1px;
}

.snapshot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 40px 56px;
  border-top: 1px solid var(--rule);
}

.snap {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px;
}

.snap .cap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.snap .cap svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.snap p {
  font-size: 16px;
}

.snap.outcome {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.snap.outcome .cap {
  color: rgba(255, 255, 255, 0.72);
}

.case-steps {
  padding: 44px 56px 52px;
  border-top: 1px solid var(--rule);
}

.case-steps > .cap {
  display: block;
  margin-bottom: 28px;
}

/* Stepper */

.stepper {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stepper.spaced {
  margin-top: 56px;
}

.step {
  position: relative;
}

.step-num {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--rule-strong);
  background: var(--white);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 44px;
  right: -24px;
  height: 2px;
  background: var(--rule-strong);
}

.step.active .step-num {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white);
  box-shadow: 0 0 0 6px rgba(195, 123, 42, 0.18);
}

.step strong {
  display: block;
  font-weight: 500;
  margin: 18px 0 6px;
}

.step span {
  display: block;
  font-size: 15px;
  color: var(--grey);
}

.step .flag {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 2px solid var(--amber);
}

/* Industries */

.ind {
  list-style: none;
  border-top: 1px solid var(--rule);
  margin-top: 48px;
}

.ind li {
  display: grid;
  grid-template-columns: 64px 1.1fr 2fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.ind .n {
  font-size: 14px;
  color: var(--grey);
  letter-spacing: 0.08em;
}

.ind h3 {
  font-size: 22px;
}

.ind p {
  font-size: 16px;
  color: var(--grey);
}

/* Founders (compact) */

.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.founder {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.founder img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

.founder h3 {
  font-size: 22px;
}

.founder .cap {
  margin: 4px 0 8px;
}

.founder p {
  font-size: 16px;
}

.cred {
  margin-top: 24px;
  font-size: 15px;
  color: var(--grey);
}

/* Founders (full, about page) */

.founder-lg {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}

.founder-lg:last-child {
  border-bottom: 1px solid var(--rule);
}

.founder-lg img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
}

.founder-lg h3 {
  font-size: 32px;
}

.founder-lg .cap {
  margin: 8px 0 18px;
}

/* Fit */

.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.fit > div {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 40px;
}

.fit > div:first-child {
  border-top: 3px solid var(--amber);
}

.fit h3 {
  margin-bottom: 20px;
}

.fit ul {
  list-style: none;
}

.fit li {
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--rule);
  position: relative;
  font-size: 16px;
}

.fit li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 23px;
  width: 12px;
  height: 2px;
  background: var(--grey);
}

.fit .yes li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  width: 2px;
  height: 12px;
  background: var(--amber);
}

.fit .yes li::before {
  background: var(--amber);
}

.fit .no li {
  color: var(--grey);
}

/* Closing CTA band */

.cta {
  text-align: center;
  padding: 128px 0;
}

.cta h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  max-width: 820px;
  margin: 0 auto;
}

.cta p {
  max-width: 620px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.84);
}

.cta p + p {
  margin-top: 16px;
}

.cta .actions {
  justify-content: center;
  margin-top: 40px;
}

.cta .note {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer */

.site-foot {
  background: var(--navy);
  color: var(--white);
  border-top: 1px solid var(--rule-dark);
  padding: 72px 0 40px;
}

.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
}

.foot img {
  height: 34px;
  width: auto;
  margin-bottom: 20px;
}

.foot p,
.foot li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}

.foot .foot-h {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.foot ul {
  list-style: none;
}

.foot li + li {
  margin-top: 8px;
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  color: var(--white);
}

.foot-cta {
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  padding: 28px;
}

.foot-cta .title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 8px;
}

.foot-cta p {
  margin-bottom: 18px;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.legal a {
  text-decoration: none;
  margin-left: 20px;
}

.legal a:hover {
  color: var(--white);
}

/* Subpage hero */

.page-hero {
  padding: 104px 0 80px;
  border-bottom: 1px solid var(--rule);
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero .lede {
  margin-top: 28px;
  max-width: 640px;
}

.page-hero .lede + .lede {
  margin-top: 18px;
}

.page-hero .actions {
  margin-top: 36px;
}

/* Decision callout (how it works, pricing) */

.decision {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  padding-left: 24px;
  border-left: 3px solid var(--amber);
}

/* Pricing */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.fact {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.fact .stat {
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: 1;
}

.fact .cap {
  margin: 12px 0 14px;
}

.fact p {
  font-size: 16px;
  color: var(--grey);
}

.fact.key {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.fact.key .cap {
  color: var(--amber);
}

.fact.key p {
  color: rgba(255, 255, 255, 0.8);
}

/* Investment tiers */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.plan {
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.plan h3 {
  font-size: 30px;
  margin: 8px 0 20px;
}

.plan-price {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}

.plan-price .stat {
  display: block;
  font-size: clamp(28px, 2.8vw, 34px);
  line-height: 1.1;
}

.plan-price .cap {
  display: block;
  margin-top: 6px;
}

.plan p {
  font-size: 16px;
  color: var(--grey);
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.plans-note {
  margin-top: 28px;
  font-size: 16px;
  color: var(--grey);
  max-width: 720px;
}

.plans-note + .plans-note {
  margin-top: 12px;
}

.faq {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 40px 24px 0;
  position: relative;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 20px;
  font-family: var(--sans);
  font-size: 26px;
  color: var(--amber);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  padding: 0 0 24px;
  color: var(--grey);
}

/* Long-form (careers, legal) */

.doc {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 72px;
  align-items: start;
}

.doc aside {
  position: sticky;
  top: 108px;
}

.doc aside .cap {
  display: block;
  margin-bottom: 6px;
}

.doc aside p {
  font-size: 16px;
}

.doc aside p + .cap {
  margin-top: 24px;
}

.prose > * + * {
  margin-top: 18px;
}

.prose h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  margin-top: 64px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 22px;
  margin-top: 36px;
}

.prose ul {
  list-style: none;
}

.prose ul li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid var(--rule);
}

.prose ul li:last-child {
  border-bottom: 1px solid var(--rule);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 12px;
  height: 2px;
  background: var(--amber);
}

.prose strong {
  font-weight: 500;
}

.prose a {
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
}

.duties {
  list-style: none;
  counter-reset: d;
}

.duties li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}

.duties li:last-child {
  border-bottom: 1px solid var(--rule);
}

.duties .n {
  font-size: 14px;
  color: var(--grey);
  letter-spacing: 0.08em;
  padding-top: 4px;
}

.duties strong {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  margin-bottom: 4px;
}

.role-card {
  border: 2px solid var(--navy);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
}

.role-card h2 {
  font-size: 30px;
}

.role-card p {
  font-size: 15px;
  color: var(--grey);
  margin-top: 6px;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.details > div {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
}

.details .cap {
  display: block;
  margin-bottom: 8px;
}

.details p {
  font-size: 16px;
}

.details .btn {
  margin-top: 16px;
}

.trust-block {
  margin-top: 96px;
  padding-top: 72px;
  border-top: 1px solid var(--rule);
}

/* Assessment */

.assess {
  padding: 72px 0 112px;
  background: var(--tint);
  min-height: 70vh;
}

.assess-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 52px;
}

.assess-card h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.assess-card .lede {
  margin-top: 20px;
}

.assess-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
  list-style: none;
}

.assess-meta li {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 8px 14px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.progress-meta .cat {
  color: var(--grey);
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: var(--tint-2);
  overflow: hidden;
  margin: 12px 0 40px;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--amber);
  border-radius: 999px;
  transition: width .3s ease;
}

.q-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  margin-bottom: 28px;
}

.q-title:focus {
  outline: none;
}

.options {
  display: grid;
  gap: 12px;
}

.option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 2px solid var(--rule);
  border-radius: 12px;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.35;
  transition: border-color .15s ease, background-color .15s ease;
}

.option:hover {
  border-color: var(--rule-strong);
}

.option:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.option .mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--rule-strong);
  flex: none;
  display: grid;
  place-items: center;
}

.option .mark::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  transform: scale(0);
  transition: transform .15s ease;
}

.option[aria-checked="true"] {
  border-color: var(--navy);
  background: var(--tint);
}

.option[aria-checked="true"] .mark {
  border-color: var(--amber);
}

.option[aria-checked="true"] .mark::after {
  transform: scale(1);
}

.q-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.assess-foot {
  margin-top: 20px;
  font-size: 14px;
  color: var(--grey);
  text-align: center;
}

.result {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  align-items: start;
}

.result-main {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 48px;
}

/* Result hierarchy: profile verdict leads, focus area follows as a subhead. */

.result-main .verdict {
  font-size: clamp(40px, 5.4vw, 64px);
  margin-top: 8px;
}

.result-main .verdict:focus {
  outline: none;
}

.result-main .focus {
  margin-top: 20px;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
}

.result-main .focus .cap {
  display: block;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-weight: 500;
}

.result-main .explain {
  margin-top: 18px;
}

.gate {
  margin-top: 28px;
  padding: 22px 24px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
}

.gate .cap {
  display: block;
  margin-bottom: 6px;
}

.gate-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
}

.gate p + p {
  margin-top: 8px;
  font-size: 16px;
}

.first-wf {
  margin-top: 32px;
  padding: 22px 24px;
  border-left: 3px solid var(--amber);
  background: var(--tint);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.first-wf .val {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin-top: 6px;
}

.bars {
  margin-top: 36px;
  display: grid;
  gap: 22px;
}

.bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: baseline;
}

.bar-row .name {
  font-size: 16px;
}

.bar-row .score {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
}

.bar-row .score small {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--grey);
}

.bar-row .hint {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--grey);
  margin-top: -4px;
}

.bar-track {
  grid-column: 1 / -1;
  height: 18px;
  border-radius: 999px;
  background: var(--tint-2);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--navy);
  position: relative;
  transition: width .9s cubic-bezier(.2, .8, .2, 1);
}

.bar-fill.amber {
  background: var(--amber);
}

.breakdown {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 14px;
}

.breakdown .bar-track {
  height: 8px;
}

.breakdown .bar-fill {
  background: var(--grey);
}

.breakdown .name,
.breakdown .score {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
}

.recs {
  margin-top: 36px;
}

.recs ol {
  list-style: none;
  counter-reset: r;
  margin-top: 12px;
}

.recs li {
  counter-increment: r;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  font-size: 16px;
}

.recs li::before {
  content: "0" counter(r);
  font-size: 14px;
  color: var(--grey);
  letter-spacing: 0.08em;
  padding-top: 2px;
}

.result-side {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.side-card {
  border-radius: 18px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--rule);
}

.side-card h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.side-card p {
  font-size: 16px;
}

.side-card.dark {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.side-card.dark h2 {
  color: var(--white);
}

.side-card.dark p {
  color: rgba(255, 255, 255, 0.84);
}

.side-card.dark .btn-primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white);
}

.side-card .btn {
  margin-top: 22px;
  width: 100%;
}

.side-card .save-fallback {
  margin-top: 14px;
}

.field {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.field label {
  font-size: 14px;
}

.field label span {
  color: var(--grey);
}

.field input {
  font: inherit;
  font-size: 16px;
  color: var(--navy);
  padding: 14px 16px;
  border: 2px solid var(--rule);
  border-radius: 10px;
  background: var(--white);
}

.field input:focus {
  outline: none;
  border-color: var(--navy);
}

.status {
  margin-top: 14px;
  font-size: 15px;
  min-height: 1em;
}

.status.ok {
  color: var(--navy);
}

.status.ok::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  margin-right: 8px;
  vertical-align: 1px;
}

.status.err {
  color: var(--navy);
  border-left: 3px solid var(--amber);
  padding-left: 10px;
}

.retake {
  margin-top: 8px;
  text-align: center;
}

.retake .btn {
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

[hidden] {
  display: none !important;
}

/* 404 */

.notfound {
  padding: 144px 0;
  text-align: center;
}

.notfound h1 {
  max-width: 14ch;
  margin: 0 auto;
}

.notfound p {
  margin: 24px auto 0;
}

.notfound .actions {
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 960px) {
  section {
    padding: 88px 0;
  }

  .split,
  .layer,
  .case-head,
  .result {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .snapshot {
    grid-template-columns: 1fr 1fr;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .foot {
    grid-template-columns: 1fr 1fr;
  }

  .doc {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .doc aside {
    position: static;
  }

  .result-side {
    position: static;
  }

  .layer .figure {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }

  .nav-links {
    gap: 22px;
  }

  .symptoms-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .wrap {
    padding: 0 20px;
  }

  .nav .wrap {
    flex-wrap: wrap;
    height: auto;
    padding-top: 12px;
    gap: 12px;
  }

  .nav .logo img {
    height: 28px;
  }

  .nav .btn {
    margin-left: auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 0 10px;
  }

  .hero {
    padding: 80px 0 72px;
  }

  .lede,
  .hero .lede {
    font-size: 18px;
  }

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

  section {
    padding: 72px 0;
  }

  .symptoms,
  .compare,
  .fit,
  .lists3,
  .versus,
  .founders,
  .details,
  .snapshot,
  .plans {
    grid-template-columns: 1fr;
  }

  .lists3,
  .versus,
  .compare,
  .plans {
    margin-top: 48px;
  }

  .versus-card {
    padding: 24px 20px;
  }

  .plan {
    padding: 28px 22px;
  }

  .case-head {
    padding: 32px 22px;
  }

  .stats3 > div {
    padding: 22px 16px;
  }

  .stats3 .stat {
    font-size: 32px;
  }

  .stats3 .cap {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .case-meta,
  .snapshot {
    padding-left: 22px;
    padding-right: 22px;
  }

  .snapshot {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .case-steps {
    padding: 32px 22px 36px;
  }

  .stepper {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stepper.spaced {
    margin-top: 40px;
  }

  .step {
    padding-left: 64px;
    min-height: 44px;
  }

  .step .step-num {
    position: absolute;
    left: 0;
    top: 0;
  }

  .step:not(:last-child)::after {
    top: 44px;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
    bottom: -28px;
  }

  .step strong {
    margin-top: 8px;
  }

  .ind li {
    grid-template-columns: 40px 1fr;
    gap: 6px 16px;
  }

  .ind p {
    grid-column: 2;
  }

  .founder {
    grid-template-columns: 72px 1fr;
    padding: 20px;
    gap: 16px;
  }

  .founder img {
    width: 72px;
    height: 72px;
  }

  .founder-lg {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0;
  }

  .founder-lg img {
    width: 140px;
    height: 140px;
  }

  .fit > div {
    padding: 28px 22px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 88px 0;
  }

  .foot {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .legal {
    flex-direction: column;
  }

  .legal a {
    margin: 0 20px 0 0;
  }

  .page-hero {
    padding: 72px 0 56px;
  }

  .assess {
    padding: 32px 0 72px;
  }

  .assess-card,
  .result-main {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .gate {
    padding: 18px 18px;
  }

  .side-card {
    padding: 26px 20px;
  }

  .q-actions .btn {
    padding: 15px 20px;
  }

  .role-card {
    padding: 24px 20px;
  }

  .role-card .btn {
    width: 100%;
  }

  .duties li {
    grid-template-columns: 40px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* Alternating section rhythm (launch) */
section.band-tint { background: #F6F3EE; }
section.band-tint.rule-top, section.band-navy.rule-top, section.band-tint + section, section.band-navy + section { border-top-color: transparent; }
section.band-tint .case, section.band-tint .card, section.band-tint .plan { background: var(--white); }
section.band-navy { background: var(--navy); color: var(--white); }
section.band-navy > .wrap > .eyebrow { color: var(--amber); }
section.band-navy > .wrap > h2, section.band-navy > .wrap > p { color: var(--white); }
section.band-navy .case { background: var(--white); color: var(--navy); border-color: transparent; }
.btn-primary, .side-card.dark .btn-primary { color: var(--navy); }
.btn-primary:hover { color: var(--navy); }
section.band-tint .plan, section.band-tint .card { border: 1px solid var(--rule); }
