:root {
  color-scheme: dark;
  --bg: #0b0f19;
  --surface: #111827;
  --utility: #121a2a;
  --border: #2a3446;
  --control-border: #57657d;
  --text: #eef2ff;
  --secondary: #c7d2fe;
  --sage: #748d7c;
  --blue: #345981;
  --download: #3b5f73;
  --gold: #d4af37;
  --gold-highlight: #f4d67a;
  --radius-panel: 18px;
  --radius-control: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(52, 89, 129, 0.2), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.cwmc-lockup,
.aim-lockup {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.cwmc-lockup img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.cwmc-lockup span,
.aim-lockup span {
  display: grid;
  gap: 0;
}

.cwmc-lockup strong {
  font-size: 20px;
  line-height: 1.25;
}

.cwmc-lockup small,
.aim-lockup small {
  color: var(--secondary);
  font-size: 13px;
}

.aim-lockup strong {
  font-size: 17px;
  line-height: 1.3;
}

.compass {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: var(--gold);
}

.compass path:last-of-type {
  color: var(--gold-highlight);
}

main {
  padding-block: 48px;
}

.surface {
  border: 1px solid var(--control-border);
  border-radius: var(--radius-panel);
  background: var(--surface);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px;
  animation: reveal 280ms ease-out both;
}

.home-hero {
  display: grid;
  min-height: 420px;
  align-content: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.eyebrow,
.section-label,
.step-number,
.step-meta {
  margin: 0;
  color: var(--gold-highlight);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(32px, 4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 30px;
  line-height: 1.2;
}

h3 {
  font-size: 20px;
  line-height: 1.3;
}

.eyebrow {
  margin-bottom: 24px;
}

.lead {
  max-width: 580px;
  margin-bottom: 24px;
  color: var(--secondary);
  font-size: 17px;
}

.hero-watermark {
  position: absolute;
  top: 48px;
  right: 80px;
  width: 280px;
  height: 280px;
  border-radius: 48px;
  opacity: 0.27;
  filter: saturate(0.65);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.button-primary {
  background: var(--sage);
  color: var(--bg);
}

.button-secondary {
  background: var(--blue);
  color: var(--text);
}

.button-download {
  border-color: var(--control-border);
  background: var(--download);
  color: var(--text);
}

.button:hover {
  filter: brightness(1.08);
}

.button:active {
  transform: scale(0.98);
}

.chooser,
.practice-stage {
  margin-top: 24px;
  padding: 48px;
}

.section-label {
  margin-bottom: 24px;
  color: var(--secondary);
}

.choice-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice {
  min-width: 0;
  padding-right: 48px;
  text-decoration: none;
}

.choice + .choice {
  padding-right: 0;
  padding-left: 48px;
  border-left: 1px solid var(--border);
}

.choice h2 {
  margin: 24px 0 12px;
}

.choice p:last-child,
.step p:last-child {
  margin-bottom: 0;
  color: var(--secondary);
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.guide-kicker {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.guide-kicker .compass {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}

.guide-kicker .eyebrow {
  margin-bottom: 0;
}

.guide-mark {
  display: grid;
  width: 280px;
  place-items: center;
}

.guide-mark img {
  width: 260px;
  height: 260px;
  border-radius: 24px;
  filter: saturate(0.55);
  opacity: 0.42;
}

.practice-stage {
  background: var(--utility);
}

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

.step-grid.four-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step {
  min-width: 0;
  padding: 12px 24px 24px;
  border-radius: 14px;
  outline: none;
}

.step + .step {
  border-left: 1px solid var(--border);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.step-number {
  margin-bottom: 24px;
  color: var(--gold);
}

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

.step-meta {
  margin-top: 24px;
  color: var(--secondary);
}

.button:focus-visible,
.cwmc-lockup:focus-visible,
.choice:focus-visible,
.step:focus-visible,
.skip-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.resource-note {
  margin: 24px 0 0;
  color: var(--secondary);
  font-size: 13px;
  text-align: center;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 840px) {
  .aim-lockup {
    display: none;
  }

  .guide-mark {
    width: 180px;
  }

  .guide-mark img {
    width: 180px;
    height: 180px;
  }

  .step-grid.four-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-grid.four-steps .step:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 48px, 1280px);
  }

  .site-header {
    min-height: 104px;
  }

  .cwmc-lockup img {
    width: 44px;
    height: 44px;
  }

  .cwmc-lockup strong {
    font-size: 18px;
  }

  main {
    padding-block: 24px 48px;
  }

  .hero {
    padding: 24px;
  }

  .home-hero {
    min-height: auto;
    padding-inline: 0;
    border: 0;
    background: transparent;
  }

  .hero-watermark {
    display: none;
  }

  .guide-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .guide-mark {
    display: none;
  }

  .guide-kicker {
    gap: 12px;
  }

  .guide-kicker .compass {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .guide-kicker .eyebrow {
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  h2 {
    font-size: 26px;
  }

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

  .guide-hero .actions {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .guide-hero .button {
    padding-inline: 12px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .chooser,
  .practice-stage {
    padding: 24px;
  }

  .choice-grid,
  .step-grid,
  .step-grid.four-steps {
    grid-template-columns: 1fr;
  }

  .choice {
    padding: 0 0 24px;
  }

  .choice + .choice {
    padding: 24px 0 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .step {
    padding: 24px 0;
  }

  .step + .step,
  .step-grid.four-steps .step:nth-child(3) {
    border-top: 1px solid var(--border);
    border-left: 0;
    border-radius: 0;
  }

  .step-number {
    margin-bottom: 12px;
  }
}

@media (max-width: 359px) {
  .guide-hero .actions {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .button:active {
    transform: none;
  }
}

@media (forced-colors: active) {
  .surface,
  .button,
  .step {
    border: 1px solid ButtonText;
  }

  .button,
  .cwmc-lockup,
  .choice,
  .step {
    forced-color-adjust: auto;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .actions,
  .resource-note,
  .skip-link {
    display: none;
  }

  main,
  .shell {
    width: 100%;
    padding: 0;
  }

  .surface {
    border: 1px solid #000;
    background: #fff;
    color: #000;
    break-inside: avoid;
  }

  .lead,
  .step p:last-child,
  .step-meta {
    color: #222;
  }
}
