:root {
  color-scheme: light;
  --ink: #082f3f;
  --ink-soft: #315764;
  --paper: #f8fbfc;
  --ice: #eaf4f6;
  --water: #087f94;
  --water-dark: #046278;
  --line: #c4d9df;
  --gold: #f0b04d;
  --coral: #cc5b56;
  --white: #ffffff;
  --max-width: 1240px;
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(248, 251, 252, 0.96);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 2.4vw, 32px);
  white-space: nowrap;
}

.site-nav > a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 690;
  text-decoration: none;
  padding: 8px 0 6px;
  border-bottom: 2px solid transparent;
}

.site-nav > a:hover,
.site-nav > a.active {
  color: var(--ink);
  border-color: var(--water);
}

.language-control select {
  min-width: 62px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 720;
  padding: 0 26px 0 10px;
}

.hero {
  position: relative;
  height: 82dvh;
  min-height: 620px;
  max-height: 780px;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(56px, 8vw, 112px) clamp(22px, 7vw, 96px);
  color: var(--white);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  background: var(--ice) url("assets/gameplay-sonar.webp") center 24% / cover no-repeat;
}

.hero-scrim {
  z-index: -2;
  background: linear-gradient(90deg, rgba(2, 32, 45, 0.95) 0%, rgba(2, 40, 54, 0.78) 42%, rgba(2, 40, 54, 0.18) 72%, rgba(2, 40, 54, 0.06) 100%);
}

.hero-content {
  width: min(650px, 58vw);
  align-self: center;
}

.hero-kicker,
.document-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 24ch;
  margin: 26px 0 0;
  color: #ecf7f8;
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.28;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 140ms ease, background-color 140ms ease, color 140ms ease;
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--gold);
  color: #2e230d;
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(2, 32, 45, 0.48);
  color: var(--white);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.release-note {
  position: absolute;
  left: clamp(22px, 7vw, 96px);
  bottom: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 630;
}

.mechanic-band,
.product-view,
.access-band,
.contact-band,
.steps {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.mechanic-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 580px);
  align-items: center;
  gap: clamp(52px, 10vw, 150px);
  min-height: 700px;
  padding: 92px 0;
}

.section-copy h2,
.steps h2,
.product-copy h2,
.access-band h2,
.contact-band h2,
.document-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-copy p,
.product-copy p,
.access-band p,
.contact-band p,
.document-hero p {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.7vw, 23px);
}

.game-shot {
  width: min(100%, 580px);
  margin: 0;
}

.game-shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 74px rgba(14, 73, 88, 0.18);
}

.game-shot figcaption {
  width: 100%;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14px;
}

.steps {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.steps h2 {
  max-width: 13ch;
}

.steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 74px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  min-height: 280px;
  padding: 28px clamp(20px, 3vw, 40px) 32px;
  border-right: 1px solid var(--line);
}

.steps li:first-child {
  padding-left: 0;
}

.steps li:last-child {
  border-right: 0;
  padding-right: 0;
}

.step-number {
  display: block;
  color: var(--coral);
  font-size: 13px;
  font-weight: 820;
}

.steps h3 {
  margin: 68px 0 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.product-view {
  padding: 104px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.product-image-wrap {
  background: var(--ice);
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-image-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 22px 0 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
}

.access-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 9vw, 130px);
  align-items: start;
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.access-band dl {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.access-band dl div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.access-band dt {
  color: var(--ink-soft);
}

.access-band dd {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
}

.contact-band {
  min-height: 330px;
  padding: 78px clamp(24px, 6vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  background: var(--ink);
  color: var(--white);
}

.contact-band p {
  color: #c5dde2;
}

.text-link {
  color: var(--water-dark);
  font-weight: 770;
  text-decoration-thickness: 2px;
}

.contact-band .text-link {
  color: var(--gold);
  font-size: 18px;
  white-space: nowrap;
}

.site-footer {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand,
.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand {
  font-size: 14px;
  font-weight: 740;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 690;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}

.document-main {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.document-hero {
  min-height: 430px;
  display: grid;
  align-items: center;
  padding: 72px clamp(24px, 6vw, 78px);
  border-bottom: 1px solid var(--line);
  background: var(--ice);
}

.support-hero {
  grid-template-columns: auto 1fr auto;
  gap: clamp(26px, 5vw, 68px);
}

.support-hero img {
  border-radius: 8px;
}

.document-hero h1 {
  font-size: clamp(42px, 5vw, 68px);
}

.document-hero p {
  margin-bottom: 0;
  font-size: 18px;
}

.email-button {
  align-self: center;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(54px, 9vw, 130px);
  padding: 88px 0 112px;
}

.support-topics {
  border-top: 2px solid var(--ink);
}

.support-topics details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.support-topics summary {
  min-height: 76px;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 760;
}

.support-topics details p {
  max-width: 68ch;
  margin: -8px 0 28px;
  color: var(--ink-soft);
}

.support-aside {
  padding-top: 2px;
}

.support-aside h2 {
  margin: 0 0 12px;
  font-size: 25px;
}

.support-aside h2:not(:first-child) {
  margin-top: 48px;
}

.support-aside p {
  color: var(--ink-soft);
}

.security-note {
  margin-top: 28px;
  padding: 18px 0 18px 20px;
  border-left: 3px solid var(--coral);
  font-size: 14px;
}

.privacy-hero {
  min-height: 380px;
}

.policy-content {
  max-width: 850px;
  margin: 0 auto;
  padding: 74px 0 112px;
}

.policy-content section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.policy-content h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.18;
}

.policy-content p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.policy-contact {
  border-bottom: 0 !important;
}

@media (max-width: 900px) {
  .hero-content {
    width: min(620px, 78vw);
  }

  .hero-scrim {
    background: linear-gradient(90deg, rgba(2, 32, 45, 0.94) 0%, rgba(2, 40, 54, 0.72) 66%, rgba(2, 40, 54, 0.36) 100%);
  }

  .mechanic-band,
  .product-view,
  .access-band,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .mechanic-band {
    gap: 56px;
  }

  .game-shot {
    justify-self: center;
  }

  .product-copy {
    max-width: 680px;
  }

  .support-hero {
    grid-template-columns: auto 1fr;
  }

  .support-hero .email-button {
    grid-column: 2;
    justify-self: start;
  }

  .support-layout {
    gap: 64px;
  }

  .support-aside {
    max-width: 660px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 106px;
    padding: 10px 18px 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
  }

  .brand span {
    font-size: 15px;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 10px;
  }

  .site-nav > a {
    font-size: 14px;
  }

  .language-control select {
    min-width: 56px;
    min-height: 36px;
  }

  .hero {
    height: auto;
    min-height: calc(100dvh - 132px);
    max-height: none;
    padding: 64px 20px 86px;
  }

  .hero-image {
    background-position: 62% center;
  }

  .hero-scrim {
    background: rgba(2, 32, 45, 0.79);
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 58px);
    line-height: 1;
  }

  .hero-copy {
    max-width: 21ch;
    font-size: 20px;
  }

  .hero-actions {
    align-items: stretch;
  }

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

  .release-note {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

  .mechanic-band,
  .product-view,
  .access-band,
  .contact-band,
  .steps,
  .document-main,
  .site-footer {
    width: min(100% - 28px, var(--max-width));
  }

  .mechanic-band {
    min-height: 0;
    padding: 74px 0;
  }

  .section-copy h2,
  .steps h2,
  .product-copy h2,
  .access-band h2,
  .contact-band h2,
  .document-hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .steps,
  .product-view,
  .access-band {
    padding: 74px 0;
  }

  .steps ol {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .steps li,
  .steps li:first-child,
  .steps li:last-child {
    min-height: 0;
    padding: 24px 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps h3 {
    margin-top: 28px;
  }

  .access-band {
    gap: 42px;
  }

  .access-band dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .contact-band {
    min-height: 0;
    margin-bottom: 0;
    padding: 58px 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .document-main {
    width: 100%;
  }

  .document-hero {
    min-height: 0;
    padding: 56px 20px;
  }

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

  .support-hero .email-button {
    grid-column: auto;
    justify-self: stretch;
  }

  .support-layout,
  .policy-content {
    width: calc(100% - 32px);
    margin-inline: auto;
    padding: 62px 0 84px;
  }

  .support-topics summary {
    font-size: 17px;
  }
}

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

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