* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 88% 5%, #17445b 0, transparent 31rem), linear-gradient(#071520, #061019 65%); color: var(--text); font: 16px/1.65 system-ui, sans-serif; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; opacity: .13; background: repeating-radial-gradient(ellipse at 75% 0, transparent 0 45px, var(--accent) 46px 47px); mask-image: linear-gradient(to bottom, black, transparent 68%); }
a { color: var(--accent); text-underline-offset: .22em; }
a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent-alt); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 20; padding: .75rem 1rem; background: var(--text); color: var(--background); }
.skip-link:focus { top: 1rem; }
.hero, main, footer { width: min(1180px, calc(100% - 2.2rem)); margin-inline: auto; }
.hero { min-height: 82vh; display: grid; align-content: space-between; gap: 4rem; padding: 1.2rem 0 4.5rem; }
nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .6rem 1.5rem; }
nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
nav a:hover { color: var(--text); }
.hero-layout { display: grid; grid-template-columns: minmax(250px, .6fr) minmax(0, 1.4fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.hero-copy { order: 2; }
.eyebrow, .kicker { color: var(--accent-alt); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, .chart span, .metrics strong { font-family: Georgia, "Times New Roman", serif; }
h1 { max-width: 11ch; margin: .12em 0 .2em; font-size: clamp(4.2rem, 9vw, 8.3rem); line-height: .84; letter-spacing: -.055em; text-wrap: balance; }
h2 { margin: .15em 0 .35em; font-size: clamp(2.35rem, 5vw, 4.7rem); line-height: .97; letter-spacing: -.04em; text-wrap: balance; }
.lede { max-width: 55ch; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.4rem); }
dl { display: flex; gap: 1.2rem 2.5rem; flex-wrap: wrap; margin-top: 2rem; }
dl div { display: grid; }
dt { color: var(--muted); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
dd { margin: 0; font-weight: 800; }
.compass { position: relative; width: min(100%, 330px); aspect-ratio: 1; border: 2px solid var(--accent-alt); border-radius: 50%; box-shadow: inset 0 0 0 34px color-mix(in srgb, var(--accent) 5%, transparent), inset 0 0 0 36px color-mix(in srgb, var(--accent) 35%, transparent); }
.compass::before, .compass::after { content: ""; position: absolute; inset: 13%; background: var(--accent-alt); clip-path: polygon(48% 0, 54% 42%, 100% 48%, 57% 54%, 52% 100%, 46% 57%, 0 52%, 43% 46%); opacity: .9; }
.compass::after { inset: 26%; background: var(--background); transform: rotate(45deg); }
.compass span, .compass b { position: absolute; z-index: 2; color: var(--text); font-size: .8rem; letter-spacing: .15em; }
.compass span { left: 48%; top: 4%; }
.compass b { left: 5%; top: 48%; color: var(--accent-alt); }
.compass i { position: absolute; z-index: 3; left: 48%; top: 48%; width: 18px; aspect-ratio: 1; border-radius: 50%; background: var(--text); }
.chart, .guide, .catalog { padding: clamp(5rem, 10vw, 9rem) 0 1rem; }
.section-heading { max-width: 820px; }
.section-heading > p:not(.eyebrow) { max-width: 64ch; color: var(--muted); }
.chart ol { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid #31536a; }
.chart li { position: relative; min-height: 160px; padding: 1rem; display: grid; align-content: space-between; border-right: 1px solid #31536a; }
.chart li:last-child { border-right: 0; }
.chart li::before { content: ""; position: absolute; top: -5px; left: 1rem; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-alt); box-shadow: 0 0 0 5px var(--background); }
.chart b { color: var(--accent); font-size: .78rem; letter-spacing: .12em; }
.chart span { max-width: 12ch; font-size: 1.45rem; line-height: 1.1; }
.metrics { display: grid; grid-template-columns: repeat(3, .8fr) 1.6fr; margin-top: 5rem; border: 1px solid #31536a; background: color-mix(in srgb, var(--surface) 86%, transparent); }
.metrics div { min-height: 140px; padding: 1.15rem; display: grid; align-content: space-between; border-right: 1px solid #31536a; }
.metrics div:last-child { border-right: 0; }
.metrics strong { color: var(--accent-alt); font-size: 2.3rem; }
.metrics span { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.metrics .wide strong { font-size: 1.4rem; }
.guide-grid { margin-top: 2.7rem; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.guide-card { grid-column: span 4; min-height: 390px; padding: clamp(1.2rem, 2.5vw, 2rem); border-top: 4px solid var(--accent); background: linear-gradient(165deg, var(--surface), #0a1e2c); box-shadow: 0 16px 44px #020a1099; }
.guide-card:nth-child(2), .guide-card:nth-child(5) { transform: translateY(2rem); border-color: var(--accent-alt); }
.guide-card h2 { max-width: 14ch; font-size: clamp(1.9rem, 3vw, 2.8rem); }
.guide-card > p:not(.kicker) { color: var(--muted); }
.section-cards { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid #31536a; font-size: .84rem; }
.section-cards strong { color: var(--text); }
.catalog { margin-top: 3rem; }
.catalog-controls { position: sticky; top: .6rem; z-index: 5; margin: 2.3rem 0; padding: 1rem; display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; border: 1px solid #41667d; background: color-mix(in srgb, var(--background) 94%, transparent); backdrop-filter: blur(12px); }
label { display: grid; gap: .3rem; color: var(--muted); font-size: .86rem; font-weight: 800; }
input, select { min-height: 48px; width: 100%; padding: .65rem .85rem; border: 1px solid #527b91; border-radius: .25rem; background: var(--surface); color: var(--text); font: inherit; }
#catalog-status { min-width: 10rem; margin: 0 0 .65rem; color: var(--accent); font-size: .82rem; }
.deck-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #31536a; border: 1px solid #31536a; }
.deck-card { min-width: 0; min-height: 145px; padding: 1rem; background: var(--surface); }
.deck-card div { display: grid; gap: .25rem; }
.deck-card strong { color: var(--text); }
.deck-card span, .deck-card p { margin: 0; color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.deck-card[hidden] { display: none; }
footer { margin-top: 7rem; padding: 2rem 0 4rem; border-top: 1px solid #31536a; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
@media (max-width: 920px) {
  .guide-card { grid-column: span 6; min-height: 340px; }
  .deck-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .hero { min-height: auto; }
  nav { justify-content: flex-start; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .compass { order: 2; max-width: 260px; }
  .chart ol { grid-template-columns: 1fr; border-bottom: 0; }
  .chart li { min-height: 95px; border-right: 0; border-bottom: 1px solid #31536a; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics div:nth-child(2) { border-right: 0; }
  .metrics div:nth-child(-n+2) { border-bottom: 1px solid #31536a; }
  .guide-card, .guide-card:nth-child(2), .guide-card:nth-child(5) { grid-column: span 12; min-height: auto; transform: none; }
  .catalog-controls { grid-template-columns: 1fr; }
  #catalog-status { margin: 0; }
  .deck-grid { grid-template-columns: repeat(2, 1fr); }
  footer { display: grid; }
}
@media (max-width: 460px) {
  h1 { font-size: clamp(3.3rem, 19vw, 5rem); }
  .hero, main, footer { width: min(100% - 1.2rem, 1180px); }
  .metrics, .deck-grid { grid-template-columns: 1fr; }
  .metrics div, .metrics div:nth-child(2) { border-right: 0; border-bottom: 1px solid #31536a; }
  .metrics div:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
