:root {
  --bg: #071521;
  --bg-soft: #0f2437;
  --surface: #f3efe5;
  --surface-strong: #e7ddc9;
  --text: #f8f8f2;
  --text-dark: #12314a;
  --muted: rgba(248, 248, 242, 0.76);
  --muted-dark: rgba(18, 49, 74, 0.74);
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(18, 49, 74, 0.14);
  --accent: #ff8f3f;
  --accent-soft: #ffd3a8;
  --sea: #2aa7d9;
  --shadow: 0 28px 80px rgba(4, 16, 28, 0.28);
  --max-width: 1200px;
  --font-display: "Syne", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top, rgba(64, 172, 215, 0.16), transparent 38%),
    linear-gradient(180deg, #0a1a28 0%, #08131d 100%);
  color: var(--text);
  overflow-x: clip;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 2vw, 2rem);
  transition:
    background-color 180ms ease,
    backdrop-filter 180ms ease,
    border-color 180ms ease,
    padding 180ms ease;
}

body.is-scrolled .site-header {
  background: rgba(7, 21, 33, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 0.82rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.site-nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.2rem;
  color: rgba(248, 248, 242, 0.78);
  font-size: 0.94rem;
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.language-switch a {
  min-width: 2.4rem;
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(248, 248, 242, 0.74);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.language-switch a.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.button:hover,
.button:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
  background: #091926;
}

.hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 16, 26, 0.86) 0%, rgba(4, 16, 26, 0.52) 33%, rgba(4, 16, 26, 0.08) 66%),
    linear-gradient(180deg, rgba(5, 14, 22, 0.18) 0%, rgba(5, 14, 22, 0.7) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  padding:
    clamp(7rem, 12vw, 9rem)
    clamp(1.2rem, 4vw, 3.2rem)
    clamp(2rem, 4vw, 3rem);
}

.hero__eyebrow,
.kicker,
.hero__platforms,
.feature__index,
.screen-card figcaption,
.site-footer {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__eyebrow,
.kicker {
  margin: 0 0 1rem;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 12ch;
  margin-top: 0.6rem;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.hero__summary,
.section__body,
.section-heading p,
.feature p,
.detail-copy p,
.detail-steps,
.cta__copy p {
  font-size: clamp(1rem, 1vw + 0.8rem, 1.18rem);
  line-height: 1.7;
}

.hero__summary {
  max-width: 38rem;
  margin: 1.3rem 0 0;
  color: var(--muted);
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-1px);
}

.store-badge img {
  display: block;
  height: 3.25rem;
  width: auto;
}

.hero__platforms {
  margin-top: 1rem;
  color: rgba(248, 248, 242, 0.64);
  font-size: 0.78rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--accent);
  color: #072032;
  box-shadow: 0 10px 30px rgba(255, 143, 63, 0.22);
}

.button--ghost {
  border-color: rgba(248, 248, 242, 0.26);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.legal-body {
  background:
    radial-gradient(circle at top, rgba(64, 172, 215, 0.1), transparent 32%),
    linear-gradient(180deg, #0a1723 0%, #09131c 100%);
}

.site-header--solid {
  background: rgba(7, 21, 33, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section {
  position: relative;
}

.section__inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.section__inner--split,
.detail-layout,
.cta {
  display: grid;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.section--light {
  background:
    radial-gradient(circle at top right, rgba(42, 167, 217, 0.12), transparent 35%),
    linear-gradient(180deg, #f4efe4 0%, #ece3d3 100%);
  color: var(--text-dark);
}

.section--dark {
  background:
    radial-gradient(circle at right top, rgba(255, 143, 63, 0.12), transparent 24%),
    linear-gradient(180deg, #0d2132 0%, #091824 100%);
}

.section--gallery {
  background:
    linear-gradient(180deg, rgba(7, 21, 33, 0.98), rgba(7, 21, 33, 0.98)),
    linear-gradient(135deg, rgba(42, 167, 217, 0.06), rgba(255, 143, 63, 0.08));
}

.section--cta {
  background:
    radial-gradient(circle at center, rgba(42, 167, 217, 0.18), transparent 34%),
    linear-gradient(180deg, #102536 0%, #08131c 100%);
}

.section__inner--split,
.detail-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(24rem, 1fr);
  align-items: start;
}

.section__lead h2,
.section-heading h2,
.detail-copy h2,
.cta h2 {
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  max-width: 10ch;
}

.section__body {
  max-width: 40rem;
  padding-top: 0.5rem;
  color: var(--muted-dark);
}

.section__body p:first-child {
  margin-top: 0;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2.4rem;
}

.section-heading p {
  color: var(--muted);
  margin: 1rem 0 0;
}

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

.feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.feature__index {
  margin: 0.4rem 0 0;
  color: rgba(255, 211, 168, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
}

.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.03em;
}

.feature p {
  max-width: 44rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.section__inner--gallery {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.section-heading--sticky {
  position: sticky;
  top: 5rem;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.screen-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.screen-card {
  grid-column: span 4;
  margin: 0;
}

.screen-card--tall {
  grid-column: span 6;
}

.screen-card--feature {
  grid-column: auto;
}

.screen-card img {
  width: 100%;
  border-radius: 1.7rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.screen-grid--compact .screen-card img {
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
}

.screen-card figcaption {
  margin-top: 0.9rem;
  color: rgba(248, 248, 242, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
}

.detail-copy {
  max-width: 38rem;
}

.detail-copy p {
  color: var(--muted-dark);
}

.detail-steps {
  margin: 1.5rem 0 0;
  padding-left: 1.3rem;
  color: var(--text-dark);
}

.detail-steps li + li {
  margin-top: 0.8rem;
}

.detail-media {
  position: relative;
  min-height: 42rem;
}

.detail-media__main,
.detail-media__accent {
  position: absolute;
  box-shadow: var(--shadow);
}

.detail-media__main {
  inset: 0 4rem 6rem 0;
  width: calc(100% - 4rem);
  height: calc(100% - 6rem);
  border-radius: 2rem;
  object-fit: cover;
}

.detail-media__accent {
  right: 0;
  bottom: 0;
  width: min(18rem, 46%);
  border-radius: 1.6rem;
  border: 8px solid rgba(244, 239, 228, 0.86);
}

.cta {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding-block: clamp(4rem, 7vw, 6rem);
}

.cta__icon {
  width: min(16vw, 7.5rem);
  border-radius: 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

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

.cta__copy p:last-child {
  max-width: 38rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  justify-content: space-between;
  padding: 1.2rem 1rem 2rem;
  color: rgba(248, 248, 242, 0.44);
  font-size: 0.72rem;
  font-weight: 700;
}

.site-footer a {
  color: inherit;
}

.site-footer--legal {
  justify-content: flex-start;
  padding-top: 0;
}

.legal-main {
  width: min(calc(100% - 2rem), 980px);
  margin: 0 auto;
  padding: 8.5rem 0 4rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.4rem;
  color: rgba(248, 248, 242, 0.74);
  font-size: 0.92rem;
}

.legal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.legal-intro {
  max-width: 54rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.legal-section {
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.legal-group + .legal-group {
  margin-top: 1.6rem;
}

.legal-group h3 {
  margin: 0 0 0.45rem;
  color: var(--accent-soft);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-group p {
  max-width: 58rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.reveal {
  opacity: 1;
  transform: none;
}

body.has-reveal .reveal:not(.hero__content) {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

body.has-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.drift {
  animation: media-drift 9s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, 1.1%, 0);
  }
}

@keyframes media-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

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

  .hero__art,
  .drift,
  .reveal {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .section__inner--split,
  .section__inner--gallery,
  .detail-layout,
  .cta {
    grid-template-columns: 1fr;
  }

  .section-heading--sticky {
    position: static;
  }

  .screen-card,
  .screen-card--tall {
    grid-column: span 6;
  }

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

  .screen-card--feature {
    grid-column: auto;
  }

  .detail-media {
    min-height: 34rem;
  }

  .cta__icon {
    width: 6rem;
  }

  body.has-reveal .reveal:not(.hero__content) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .header-meta {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    font-size: 0.76rem;
  }

  .site-nav a {
    text-align: center;
    padding: 0.42rem 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
  }

  .language-switch {
    width: 100%;
    justify-content: flex-end;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    width: 100%;
    padding-top: 10.5rem;
  }

  .hero__brand {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11.6vw, 3.5rem);
  }

  .hero__platforms {
    max-width: 24rem;
  }

  .store-badge img {
    height: 2.9rem;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .screen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .screen-card,
  .screen-card--tall {
    grid-column: span 2;
  }

  .screen-grid--compact {
    grid-template-columns: 1fr;
  }

  .detail-media {
    min-height: 27rem;
  }

  .detail-media__main {
    inset: 0 2rem 4rem 0;
    width: calc(100% - 2rem);
    height: calc(100% - 4rem);
  }

  .detail-media__accent {
    width: 48%;
    border-width: 6px;
  }

  .site-footer {
    flex-direction: column;
  }

  .legal-main {
    padding-top: 10rem;
  }
}
