.an-body {
  --an-panel: #141e33;
  --an-border: #364259;
  --an-paper: #faf8f2;
  --an-ink: #1a2436;
  --an-gray: #4a566a;
  --an-green: #bbdfc2;
  --an-gold: #dec482;
  --an-amber: #f3cd8c;
  --an-red: #f2b9ac;
}
.an-body [hidden] { display: none !important; }
.an-body :focus-visible { outline: 3px solid #ad6900; outline-offset: 4px; }
.an-body .skip:focus { z-index: 101000; }
.an-body :is(h1,h2,h3,p,ol,ul) { margin-top: 0; }
.an-body button, .an-body select { font: inherit; }
.an-body button { cursor: pointer; }
.an-body button:disabled { opacity: .65; cursor: wait; }
.an-hero { padding: clamp(3.75rem, 8vw, 7rem) 0; background: radial-gradient(ellipse at 82% 20%, #1c2a47 0, #0b1020 65%); }
.an-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.an-kicker { color: var(--an-gold); font-weight: 700; font-size: .94rem; }
.an-hero h1 { margin-bottom: 1.5rem; font-size: clamp(2.45rem, 5vw, 4.5rem); line-height: 1.03; letter-spacing: -.055em; }
.an-question { margin-bottom: .7rem; font-size: clamp(1.2rem, 2.15vw, 1.55rem); font-weight: 700; line-height: 1.33; }
.an-description, .an-note { color: var(--apex-muted); }
.an-description { max-width: 53ch; margin-bottom: 1.5rem; }
.an-note { margin: .9rem 0 0; font-size: .9rem; }
.an-overview { background: var(--an-panel); border: 1px solid var(--an-border); border-top: 3px solid var(--an-gold); border-radius: 1rem; padding: clamp(1.15rem, 3vw, 1.8rem); }
.an-overview h2 { font-size: 1.2rem; }
.an-overview ol { list-style: none; padding: 0; margin: 0; }
.an-overview li { border-top: 1px solid var(--an-border); padding: .75rem 0; }
.an-overview li:last-child { padding-bottom: 0; }
.an-overview li span { display: block; color: var(--an-gold); font-size: .9rem; }
.an-overview li strong { display: block; font-size: 1rem; }
.an-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.an-button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: .55rem 1rem; border: 1px solid var(--an-border); border-radius: .5rem; background: transparent; color: inherit; font: inherit; font-weight: 700 !important; text-align: center; line-height: 1.35; }
.an-button:hover { border-color: currentColor; }
.an-primary { border-color: var(--an-gold); background: var(--an-gold); color: #151c29; }
.an-primary:hover { background: #f3daa1; }
.an-demo { padding-block: 2.75rem 4.5rem; scroll-margin-top: 6rem; }
.an-demo h2 { margin-bottom: .25rem; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.an-demo p { color: var(--apex-muted); }
.an-demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.an-demo-card { min-height: 8rem; display: grid; gap: .3rem; align-content: start; text-align: start; padding: 1rem 1.15rem; background: var(--an-panel); color: var(--apex-text); border: 1px solid var(--an-border); border-radius: .8rem; }
.an-demo-card:hover { border-color: var(--an-gold); }
.an-demo-card span { color: var(--apex-muted); font-size: .93rem; }
.an-workspace { padding: 2rem 0 4rem; min-width: 0; }
.an-workspace h2 { font-size: clamp(1.6rem, 4vw, 2.55rem); letter-spacing: -.035em; line-height: 1.13; }
.an-workspace h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: .7rem; }
.an-quiz, .an-card, .an-lead { padding: clamp(1rem, 3vw, 2rem); background: var(--an-paper); color: var(--an-ink); border-radius: .9rem; min-width: 0; }
.an-quiz { margin-top: 1rem; }
.an-progress { display: flex; flex-wrap: wrap; gap: .35rem .65rem; padding: 0; list-style: none; margin: 0; }
.an-progress button { border: 1px solid var(--an-border); border-radius: .5rem; min-height: 2.7rem; background: transparent; color: var(--apex-text); padding: .35rem .65rem; text-align: start; }
.an-progress button[aria-current="step"] { border-color: var(--an-gold); color: var(--an-gold); }
.an-progress button:disabled { cursor: default; }
.an-quiz h2 { margin: 0 0 .45rem; }
.an-quiz p, .an-card p, .an-lead p { color: var(--an-gray); }
.an-context { border-left: .22rem solid #a56620; padding: .6rem .8rem; background: #eee8da; font-size: .94rem; }
.an-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; column-gap: 1.1rem; row-gap: .85rem; }
.an-field { display: grid; grid-template-rows: auto auto; gap: .35rem; align-self: stretch; }
.an-field > label { font-weight: 700; line-height: 1.25; align-self: end; }
.an-field :is(input,select,textarea) { width: 100%; color: var(--an-ink); background: #fff; border: 1px solid #718097; border-radius: .4rem; padding: .55rem; min-height: 2.65rem; font: inherit; }
.an-field textarea { min-height: 6rem; resize: vertical; }
.an-field small { font-size: .88rem; color: var(--an-gray); }
.an-span { grid-column: 1 / -1; }
.an-market-regions { margin: 0; border: 1px solid #718097; border-radius: .4rem; }
.an-market-regions legend, .an-fieldset legend { font-weight: 750; }
.an-market-regions { grid-column: 1 / -1; min-inline-size: 0; }
.an-market-regions p { margin: 0 0 .4rem; }
.an-scope-status { margin: 0; }
.an-market-options { display: flex; flex-wrap: wrap; gap: .1rem .9rem; }
.an-market-options label { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .3rem; }
.an-market-options input, .an-consent input { inline-size: 1.15rem; block-size: 1.15rem; accent-color: #263851; }
.an-fieldset { margin: 0 0 1rem; padding: .7rem 1rem 1rem; border: 1px solid #718097; border-radius: .5rem; min-width: 0; }
.an-quiz-footer { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid #c4c9d2; justify-content: space-between; }
.an-result-head { margin-bottom: 1rem; padding: clamp(1rem,4vw,2rem); background: var(--an-panel); border: 1px solid var(--an-border); border-radius: .95rem; }
.an-result-head h2 { margin-bottom: .55rem; color: var(--an-gold); }
.an-result-head p { max-width: 80ch; color: var(--apex-muted); margin-bottom: .55rem; }
.an-pill { display: inline-block; color: var(--apex-text); font-weight: 700; margin-bottom: .65rem; }
.an-result-head[data-decision="accelerate"] h2 { color: var(--an-green); }
.an-result-head[data-decision="redesign"] h2 { color: var(--an-red); }
.an-metrics, .an-result-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1rem; }
.an-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.an-metric { padding: 1rem; margin: 0; background: var(--an-panel); border: 1px solid var(--an-border); border-radius: .65rem; overflow-wrap: anywhere; }
.an-metrics.an-metrics-express { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.an-result-head .an-scope-summary { margin: .35rem 0; }
.an-metric dt { color: var(--apex-muted); line-height: 1.3; font-size: .95rem; }
.an-metric dd { margin: .35rem 0 0; color: var(--apex-text); font-size: clamp(1.12rem, 2.2vw, 1.6rem); font-weight: 800; }
.an-results .an-card { margin-bottom: 0; }
.an-card ul, .an-card ol { margin-bottom: 0; padding-inline-start: 1.25rem; }
.an-card li + li { margin-top: .45rem; }
.an-card a { text-decoration: underline; text-underline-offset: .15em; }
.an-bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .6rem; margin-bottom: .6rem; }
.an-bar-row progress { grid-column: 1/-1; width: 100%; height: .62rem; border: none; border-radius: 1rem; background: #d4dbe3; overflow: hidden; }
.an-bar-row progress::-webkit-progress-bar { background: #d4dbe3; }
.an-bar-row progress::-webkit-progress-value { background: #465e84; }
.an-bar-row progress::-moz-progress-bar { background: #465e84; }
.an-chart { margin: 0 0 .7rem; }
.an-matrix { position: relative; display: grid; grid-template-columns: 65fr 35fr; grid-template-rows: 35fr 65fr; gap: 1px; min-height: 9rem; background: #7d8da4; border: 1px solid #7d8da4; overflow: hidden; border-radius: .42rem; }
.an-matrix span { display: grid; place-content: center; text-align: center; padding: .24rem; color: #17243a; font-size: .87rem; font-weight: 750; background: #e6ebef; }
.an-matrix span:nth-child(2) { background: #d4e5d7; }
.an-matrix span:nth-child(3) { background: #eff0ed; }
.an-matrix span:nth-child(4) { background: #f0dfb7; }
.an-matrix i { position: absolute; left: clamp(8px, var(--x), calc(100% - 8px)); bottom: clamp(8px, var(--y), calc(100% - 8px)); width: 14px; height: 14px; transform: translate(-50%, 50%); border-radius: 50%; background: #213553; box-shadow: 0 0 0 3px white; }
.an-axis { font-size: .88rem; font-weight: 700; display: block; }
.an-axis-x { text-align: right; }
.an-table { border-collapse: collapse; width: 100%; }
.an-table th, .an-table td { padding: .5rem .65rem; border-bottom: 1px solid #b5becc; text-align: start; white-space: nowrap; }
.an-table th { color: #34425a; }
.an-table-region { overflow-x: auto; max-width: 100%; }
.an-source { display: block; font-size: .9rem; color: var(--an-gray); }
.an-card summary { font-weight: 750; cursor: pointer; }
.an-muted { font-size: .94rem; }
.an-roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.an-roadmap section { padding: .7rem; border-left: 2px solid #96783d; }
.an-roadmap h4 { margin: 0 0 .35rem; }
.an-review-cta { padding: 1.3rem 0; }
.an-lead { margin: 1rem 0; }
.an-lead .an-fields { margin: 1rem 0; }
.an-consent { display: flex; gap: .5rem; align-items: flex-start; }
.an-consent input { flex: 0 0 1.15rem; margin-top: .28rem; }
.an-lead-status { min-height: 1.5em; margin: .7rem 0; }
.an-body .apex-cookie-preferences { font-size: .82rem; }
@media (max-width: 800px) {
  .an-hero-grid, .an-demo-grid, .an-result-grid { grid-template-columns: minmax(0, 1fr); }
  .an-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 570px) {
  .an-body .apex-cookie-preferences {
    position: static;
    display: block;
    width: fit-content;
    margin: .75rem 1rem .75rem auto;
  }
  .an-fields, .an-roadmap { grid-template-columns: minmax(0, 1fr); }
  .an-actions button, .an-actions a { max-width: 100%; }
  .an-progress { gap: .35rem; }
  .an-progress button { font-size: .9rem; }
}
@media print {
  .an-body { color: #111; background: white; font-size: 10pt; }
  .an-body > header, .an-body > footer, .an-body .skip, .an-body .apex-cookie-banner, .an-body .apex-cookie-preferences,
  .an-body .an-hero, .an-body .an-demo, .an-body .an-actions, .an-body .an-review-cta, .an-body .an-lead,
  .an-body .an-quiz, .an-body .an-progress { display: none !important; }
  .an-workspace { width: 100%; padding: 0; }
  .an-result-head, .an-card, .an-metric { color: #111; background: white; border: 1px solid #aaa; padding: .55rem; }
  .an-body :is(.an-result-head h2, .an-pill, .an-result-head p, .an-metric dt, .an-metric dd) { color: #111 !important; }
  .an-body .an-matrix, .an-body .an-bar-row progress { print-color-adjust: exact; }
  .an-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
  .an-result-grid { display: block; }
  .an-result-grid .an-card { margin: .4rem 0; }
  .an-result-head, .an-metrics, .an-chart, .an-table tr, .an-roadmap section { break-inside: avoid; }
  .an-table-region { overflow: visible; }
  .an-table th, .an-table td { padding: .25rem; white-space: normal; }
}
