:root {
  --ink: #09111a;
  --navy: #112842;
  --ice: #f4f8fb;
  --white: #ffffff;
  --line: #d7e3ec;
  --muted: #617184;
  --red: #c92f32;
  --green: #2f6f5e;
  --gold: #c98d3d;
  --shadow: 0 18px 55px rgba(7, 17, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ice);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

body.is-nav-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 4rem;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 13, 21, 0.94);
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
  font-size: 0.84rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a {
  min-height: 2.55rem;
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.primary-nav .nav-cta {
  margin-left: 0.3rem;
  color: var(--white);
  background: var(--red);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-line {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.25rem auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 82svh;
  color: var(--white);
  background-image: url("assets/course-hero-rink.png");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 12, 20, 0.9), rgba(6, 12, 20, 0.6) 48%, rgba(6, 12, 20, 0.2));
}

.hero-inner,
.section-inner {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-inner {
  padding-top: 7.5rem;
  padding-bottom: 3rem;
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.85rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 1.45rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.8rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.2;
}

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #a9272a;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-note {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.proof-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.proof-grid div {
  min-height: 7.25rem;
  padding: 1.25rem;
  background: var(--white);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.proof-grid span {
  margin-top: 0.35rem;
  color: var(--muted);
}

.section {
  padding: 5.3rem 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: 2.55rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading p,
.curriculum-layout p,
.media-layout p,
.join-grid p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.offer-card,
.module-panel,
.results-grid article,
.join-card,
.faq-list details {
  border-radius: 8px;
}

.offer-card {
  min-height: 14.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(7, 17, 28, 0.06);
}

.offer-card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

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

.section-dark .section-kicker {
  color: var(--gold);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.curriculum-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.module-panel {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #111f2f;
  box-shadow: var(--shadow);
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.module-tab {
  min-height: 2.5rem;
  padding: 0.58rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-weight: 850;
}

.module-tab:hover,
.module-tab:focus-visible,
.module-tab.is-active {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.module-content {
  min-height: 19rem;
  padding: 1.25rem;
  border-radius: 8px;
  background: #0b1623;
}

.module-content span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.module-content ul,
.join-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.module-content li,
.join-card li {
  position: relative;
  padding-left: 1.1rem;
}

.module-content li::before,
.join-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--red);
}

.media-band {
  background: #edf4f7;
}

.media-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.media-frame {
  min-height: 31rem;
  border-radius: 8px;
  background-image: url("assets/course-hero-rink.png");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.story-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.story-list div {
  padding: 1rem;
  border-left: 4px solid var(--red);
  background: var(--white);
}

.story-list strong,
.story-list span {
  display: block;
}

.story-list span {
  margin-top: 0.24rem;
  color: var(--muted);
}

.results-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.results-grid article {
  padding: 1.15rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.results-grid strong {
  display: block;
  font-size: 1.08rem;
}

.results-grid p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

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

.join-grid,
.faq-layout,
.footer-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.join-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.join-card {
  padding: 1.35rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.join-card ul {
  margin-bottom: 1.2rem;
}

.join-card li {
  color: #344154;
  font-weight: 700;
}

.join-button {
  width: 100%;
}

.text-button {
  width: 100%;
  min-height: 2.8rem;
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-weight: 850;
}

.text-button:hover,
.text-button:focus-visible {
  border-color: var(--navy);
}

.join-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.faq-section {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid var(--line);
  background: #f7fafc;
}

.faq-list summary {
  cursor: pointer;
  padding: 1rem;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.site-footer {
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.74);
  background: #070d14;
}

.site-footer strong {
  display: block;
  color: var(--white);
}

.site-footer p {
  margin: 0.3rem 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

input:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(201, 141, 61, 0.55);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 4.5rem 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(7, 13, 21, 0.98);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-inner {
    padding-top: 6.8rem;
  }

  .hero h1 {
    font-size: 3.9rem;
  }

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

  .curriculum-layout,
  .media-layout,
  .results-layout,
  .join-grid,
  .faq-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 76svh;
  }

  .hero::before {
    background: rgba(6, 12, 20, 0.76);
  }

  .hero-inner,
  .section-inner {
    width: min(100% - 1.25rem, 1160px);
  }

  .hero-inner {
    padding-top: 6rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: 2.85rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .proof-grid,
  .offer-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  h2 {
    font-size: 2.08rem;
  }

  .module-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .module-content {
    min-height: 22rem;
  }

  .media-frame {
    min-height: 19rem;
  }
}
