:root {
  --bg: #061214;
  --bg-2: #08262a;
  --bg-3: #0b3439;
  --panel: rgba(3, 18, 22, 0.86);
  --panel-solid: #071b1e;
  --panel-border: #35f4ff;
  --text-main: #f2f7f8;
  --text-cyan: #7cfbff;
  --text-muted: #9abec3;
  --accent-orange: #ff6a2a;
  --accent-red: #e63b2e;
  --success-green: #7cff8a;
  --shadow: #021a1d;
  --line: rgba(124, 251, 255, 0.28);
  --line-subtle: rgba(124, 251, 255, 0.14);
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --container: 76rem;
  --radius: 1.25rem;
}

* { box-sizing: border-box; }

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

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 15%, rgba(23, 133, 142, 0.16), transparent 28rem),
    radial-gradient(circle at 83% 30%, rgba(255, 106, 42, 0.07), transparent 25rem),
    var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(124, 251, 255, 0.028) 1px, transparent 1px);
  background-size: 100% 4px;
  content: "";
  opacity: 0.55;
}

img { max-width: 100%; }

a {
  color: var(--text-cyan);
  text-underline-offset: 0.18em;
}

a:hover { color: #fff; }

button, input, textarea, select { font: inherit; }

:focus-visible {
  outline: 3px solid var(--accent-orange);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.85rem;
  transform: translateY(-150%);
  background: var(--text-main);
  color: var(--bg);
  font-family: var(--font-mono);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.16s ease;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line-subtle);
  background: rgba(6, 18, 20, 0.87);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(1rem);
}

.site-header__inner {
  display: flex;
  min-height: 4.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand:hover { color: var(--text-cyan); }

.brand img {
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(124, 251, 255, 0.56);
  border-radius: 0.6rem;
  box-shadow: 0 0 0.9rem rgba(53, 244, 255, 0.2);
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2vw, 1.45rem);
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a,
.site-footer__nav a {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer__nav a:hover,
.site-footer__nav a[aria-current="page"] { color: var(--text-cyan); }

.section {
  position: relative;
  padding-block: clamp(4.75rem, 9vw, 8.5rem);
  scroll-margin-top: 5rem;
}

.section--compact { padding-block-start: 2rem; }

.section--hero {
  min-height: min(54rem, calc(100vh - 4.8rem));
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line-subtle);
}

.section--hero::before,
.section--modes::before,
.section--trust::before,
.info-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(6, 18, 20, 0.98) 0%, rgba(6, 18, 20, 0.83) 43%, rgba(6, 18, 20, 0.49) 100%), url("../images/course-background.png");
  background-position: center, center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
}

.section--hero::after {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -10rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(124, 251, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(124, 251, 255, 0.025), 0 0 0 8rem rgba(124, 251, 255, 0.018);
  content: "";
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 1.05fr);
  gap: clamp(2rem, 5vw, 5.75rem);
  align-items: center;
}

.hero__content { padding-block: 2rem; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero__icon {
  width: 4.7rem;
  height: 4.7rem;
  border: 2px solid #bbfdff;
  border-radius: 1.1rem;
  box-shadow: 0 0 0 0.32rem rgba(53, 244, 255, 0.08), 0 0 2rem rgba(53, 244, 255, 0.48);
}

.kicker,
.platform-label {
  margin: 0 0 0.75rem;
  color: var(--accent-orange);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.metal-title,
.section-heading h2,
.trust-panel h2,
.privacy-copy h2 {
  margin: 0;
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 0.84;
  text-transform: uppercase;
}

.metal-title {
  max-width: 9ch;
  margin-block: 1.1rem 1.3rem;
  font-size: clamp(4.8rem, 10.2vw, 9.6rem);
  text-shadow: 0.1rem 0.12rem 0 var(--shadow), 0 0 0.7rem rgba(124, 251, 255, 0.38);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .metal-title {
    background: linear-gradient(180deg, #ffffff 4%, #c9d4d6 38%, #f7f9f9 58%, #789294 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.metal-title--small { font-size: clamp(3.7rem, 8vw, 7rem); }

.hero__tagline {
  margin: 0;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.hero__tagline span { color: var(--text-cyan); }

.hero__copy {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  color: #c5dbde;
  font-size: clamp(1rem, 1.5vw, 1.17rem);
  line-height: 1.7;
}

.hero__actions,
.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--panel-border);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.button:hover {
  color: #fff;
  transform: translateY(-2px);
}

.button--primary {
  border-color: #ff9a70;
  background: var(--accent-orange);
  box-shadow: 0 0.6rem 1.5rem rgba(255, 106, 42, 0.26);
}

.button--primary:hover { background: #ff7e4a; }

.button--secondary { background: rgba(3, 18, 22, 0.72); }

.button--secondary:hover { background: rgba(12, 65, 70, 0.94); }

.visual-frame {
  position: relative;
  margin: 0;
  padding: clamp(0.35rem, 0.9vw, 0.72rem);
  border: 1px solid var(--panel-border);
  background: rgba(2, 12, 14, 0.9);
  box-shadow: 0 0 0 0.34rem rgba(53, 244, 255, 0.08), 0 1.25rem 3rem rgba(0, 0, 0, 0.56), 0 0 2.2rem rgba(53, 244, 255, 0.18);
}

.visual-frame::before,
.visual-frame::after {
  position: absolute;
  z-index: 2;
  width: 1.1rem;
  height: 1.1rem;
  border-color: var(--accent-orange);
  border-style: solid;
  content: "";
}

.visual-frame::before { top: -0.35rem; left: -0.35rem; border-width: 2px 0 0 2px; }
.visual-frame::after { right: -0.35rem; bottom: -0.35rem; border-width: 0 2px 2px 0; }

.visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.visual-frame figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.35rem 0.5rem;
  background: rgba(3, 18, 22, 0.88);
  color: var(--text-cyan);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  max-width: 44rem;
  gap: 1.15rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading h2,
.trust-panel h2 { font-size: clamp(3.35rem, 7.2vw, 6.3rem); }

.section-heading > p {
  max-width: 38rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.06rem;
}

.section-heading--split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.58fr);
  align-items: end;
  gap: 2rem;
}

.section-heading--split > p { margin-bottom: 0.35rem; }
.section-heading--left { margin-bottom: 2.5rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-card {
  position: relative;
  min-height: 15.5rem;
  padding: 1.4rem 1.35rem;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(7, 31, 35, 0.88), rgba(3, 18, 22, 0.86));
}

.feature-card::after {
  position: absolute;
  right: -2.2rem;
  bottom: -3rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(53, 244, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.feature-card:hover { background: linear-gradient(145deg, rgba(10, 59, 64, 0.9), rgba(3, 18, 22, 0.94)); }

.feature-card__index,
.mode-card__number {
  display: block;
  margin: 0 0 2rem;
  color: var(--accent-orange);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feature-card h3,
.mode-card h3,
.platform-gallery h3,
.help-list dt {
  margin: 0;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1.25;
  text-transform: uppercase;
}

.feature-card p,
.mode-card > p:last-child {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.section--modes {
  isolation: isolate;
  border-block: 1px solid var(--line-subtle);
}

.section--modes::before {
  opacity: 0.42;
  background-image: linear-gradient(180deg, rgba(6, 18, 20, 0.92), rgba(6, 18, 20, 0.77)), url("../images/course-background.png");
}

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

.mode-card {
  min-height: 18rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: inset 0 0 3rem rgba(3, 18, 22, 0.52);
}

.mode-card--featured {
  border-color: var(--accent-orange);
  background: linear-gradient(145deg, rgba(96, 41, 20, 0.78), rgba(3, 18, 22, 0.94) 70%);
  box-shadow: 0 0 1.7rem rgba(255, 106, 42, 0.12), inset 0 0 3rem rgba(3, 18, 22, 0.52);
}

.mode-card--featured h3 { color: #ffd3bf; }

.section--screenshots { overflow: hidden; }

.platform-gallery { margin-top: clamp(3rem, 6vw, 5.5rem); }

.platform-gallery__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.platform-gallery__heading > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.platform-gallery h3 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.platform-label { margin-bottom: 0.28rem; color: var(--text-cyan); }

.gallery-shell { position: relative; }

.gallery-controls {
  display: none;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.js .gallery-controls { display: flex; }

.gallery-button {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(3, 18, 22, 0.86);
  color: var(--text-cyan);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.gallery-button:hover { border-color: var(--panel-border); background: var(--bg-3); }

.gallery-track {
  display: flex;
  gap: 1rem;
  padding: 0.35rem 0.35rem 1.2rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--panel-border) var(--panel-solid);
  scroll-padding-inline: 0.35rem;
  scroll-snap-type: inline mandatory;
}

.gallery-track::-webkit-scrollbar { height: 0.56rem; }
.gallery-track::-webkit-scrollbar-track { background: var(--panel-solid); }
.gallery-track::-webkit-scrollbar-thumb { border: 1px solid var(--panel-solid); background: var(--panel-border); }

.shot-card {
  flex: 0 0 clamp(18rem, 58vw, 40rem);
  margin: 0;
  scroll-snap-align: start;
}

.shot-frame {
  display: grid;
  min-height: 10rem;
  place-items: center;
  padding: 0.3rem;
  border: 1px solid rgba(124, 251, 255, 0.53);
  background: #020d0f;
  box-shadow: 0 0 0 0.2rem rgba(53, 244, 255, 0.045), 0 0.9rem 1.6rem rgba(0, 0, 0, 0.33);
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.shot-card figcaption {
  margin-top: 0.75rem;
  color: var(--text-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section--trust {
  isolation: isolate;
  border-top: 1px solid var(--line-subtle);
}

.section--trust::before {
  opacity: 0.5;
  background-image: linear-gradient(90deg, rgba(6, 18, 20, 0.88), rgba(6, 18, 20, 0.47)), url("../images/course-background.png");
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(17rem, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding: clamp(1.6rem, 4vw, 3.4rem);
  border: 1px solid rgba(124, 251, 255, 0.42);
  background: rgba(3, 18, 22, 0.78);
  box-shadow: 0 0 2.5rem rgba(53, 244, 255, 0.1);
}

.trust-panel__copy > p:last-child {
  max-width: 37rem;
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.trust-panel__promise {
  margin: 0;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.trust-panel__promise span { color: var(--success-green); }

.site-footer {
  border-top: 1px solid var(--line-subtle);
  background: #030d0f;
}

.site-footer__inner {
  display: flex;
  min-height: 8rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.site-footer__brand img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.58rem;
}

.site-footer__brand strong,
.site-footer__brand span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer__brand strong { color: var(--text-main); }
.site-footer__brand span { margin-top: 0.15rem; color: var(--text-muted); font-size: 0.6rem; }

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.1rem;
}

.page-info .site-header { background: rgba(6, 18, 20, 0.95); }

.info-main { min-height: calc(100vh - 12.8rem); }

.info-hero {
  isolation: isolate;
  padding-block: clamp(5rem, 10vw, 9rem) clamp(2.7rem, 6vw, 5rem);
}

.info-hero::before {
  opacity: 0.74;
  background-image: linear-gradient(90deg, rgba(6, 18, 20, 0.94) 0%, rgba(6, 18, 20, 0.76) 64%, rgba(6, 18, 20, 0.38) 100%), url("../images/course-background.png");
}

.info-hero__content > p:not(.kicker):not(.last-updated) {
  max-width: 42rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.last-updated {
  margin: 1.5rem 0 0;
  color: var(--text-cyan);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.support-email {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--text-cyan);
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3vw, 1.85rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.narrow-content { max-width: 52rem; }

.help-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.help-list > div {
  display: grid;
  grid-template-columns: minmax(11rem, 0.75fr) minmax(0, 1.25fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.help-list dt { color: var(--text-cyan); }

.help-list dd {
  margin: 0;
  color: var(--text-muted);
}

.privacy-copy { max-width: 48rem; }

.privacy-copy__intro {
  margin: 0 0 3rem;
  color: var(--text-main);
  font-size: 1.25rem;
  line-height: 1.55;
}

.privacy-copy section {
  padding: 1.65rem 0;
  border-top: 1px solid var(--line);
}

.privacy-copy h2 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 0.98;
}

.privacy-copy p {
  max-width: 43rem;
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

@media (max-width: 58rem) {
  .hero__grid,
  .trust-panel,
  .section-heading--split { grid-template-columns: 1fr; }

  .hero__content { padding-top: 0; }
  .hero__visual { width: min(100%, 44rem); }
  .section-heading--split { gap: 1rem; }
  .section-heading--split > p { margin-bottom: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 0; }
  .trust-panel { align-items: start; }
}

@media (max-width: 42rem) {
  .container { width: min(calc(100% - 1.5rem), var(--container)); }

  .site-header__inner {
    min-height: 5.25rem;
    align-items: center;
  }

  .brand { font-size: 0.65rem; }
  .brand img { width: 2.2rem; height: 2.2rem; }

  .site-nav {
    gap: 0.42rem 0.8rem;
    justify-content: flex-end;
  }

  .site-nav a { font-size: 0.59rem; }
  .section--hero { min-height: auto; }
  .hero__eyebrow { font-size: 0.63rem; }
  .hero__icon { width: 3.85rem; height: 3.85rem; }
  .metal-title { font-size: clamp(4.15rem, 19vw, 6.1rem); }
  .metal-title--small { font-size: clamp(3.25rem, 15vw, 4.65rem); }
  .hero__tagline { font-size: 1.45rem; }
  .hero__actions, .info-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-card__index { margin-bottom: 1.45rem; }
  .platform-gallery__heading { align-items: start; flex-direction: column; gap: 0.2rem; }
  .platform-gallery__heading > p:last-child { display: none; }
  .shot-card { flex-basis: min(86vw, 32rem); }
  .trust-panel { padding: 1.4rem; }
  .site-footer__inner { min-height: 0; padding-block: 1.65rem; align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .site-footer__nav { justify-content: flex-start; }
  .help-list > div { grid-template-columns: 1fr; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
