:root {
  color-scheme: dark;
  --ink: #05070d;
  --ink-soft: #0d141b;
  --paper: #f1f4ee;
  --paper-ink: #131814;
  --white: #f8fffd;
  --muted: #a9b8b5;
  --cyan: #20e0c0;
  --cyan-dark: #087f72;
  --gold: #f6c94c;
  --coral: #ff6673;
  --line: rgba(255, 255, 255, 0.16);
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

section[id],
footer[id] {
  scroll-margin-top: 68px;
}

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

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 13, 0.92);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--shell));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: grid;
  grid-template-columns: repeat(3, 34px);
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.language-switch button {
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #82918e;
  cursor: pointer;
  font: 800 10px/1 inherit;
}

.language-switch button:last-child {
  border-right: 0;
}

.language-switch button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--paper-ink);
}

.nav-play {
  min-width: 76px;
  padding: 9px 15px;
  border-radius: 6px;
  background: var(--cyan);
  color: #001b18;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 92px));
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  border-bottom: 8px solid var(--cyan);
  background: #03050a;
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  position: absolute;
  top: -14%;
  right: 7%;
  width: auto;
  max-width: none;
  height: 128%;
  opacity: 0.72;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #03050a 6%, rgba(3, 5, 10, 0.94) 35%, rgba(3, 5, 10, 0.18) 74%),
    linear-gradient(0deg, rgba(3, 5, 10, 0.9), transparent 36%);
}

.hero-content {
  padding-block: 72px 64px;
}

.hero-content > * {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--cyan-dark);
}

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

h1 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 78px;
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(32, 224, 192, 0.34);
}

.hero-lead {
  margin-bottom: 30px;
  color: #d9e4e1;
  font-size: 20px;
  line-height: 1.55;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--cyan);
  color: #001b18;
}

.button-primary:hover {
  background: #66f3dd;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(5, 7, 13, 0.56);
  color: var(--white);
}

.button-secondary:hover {
  border-color: var(--gold);
}

.hero-facts {
  margin: 42px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-facts strong {
  color: var(--gold);
  font-size: 18px;
}

.how-section {
  padding: 92px 0 98px;
  background: var(--paper);
  color: var(--paper-ink);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-heading h2,
.showcase-copy h2,
.cta-content h2 {
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.showcase-copy > p {
  color: #52605b;
  font-size: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.steps article {
  min-width: 0;
  padding-top: 20px;
  border-top: 3px solid #1e2d28;
}

.step-number {
  display: block;
  margin-bottom: 34px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 900;
}

.steps h3,
.feature h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.steps p {
  margin: 0;
  color: #59635f;
}

.gallery-section {
  padding: 96px 0 104px;
  background: #071119;
}

.gallery-heading > p:last-child {
  color: #9db0ad;
  font-size: 18px;
}

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

.gallery-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #03070c;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #05070d;
}

.gallery-card figcaption {
  min-height: 112px;
  padding: 18px 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-card strong,
.gallery-card span {
  display: block;
}

.gallery-card strong {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 16px;
}

.gallery-card span {
  color: #8fa19d;
  font-size: 13px;
}

.showcase-section {
  padding: 104px 0;
  background: #0d1215;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(360px, 1.22fr);
  align-items: center;
  gap: 90px;
}

.phone-shot {
  margin: 0;
}

.phone-shot img {
  width: min(100%, 420px);
  max-height: 680px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  object-fit: cover;
  object-position: top;
}

.phone-shot figcaption {
  margin-top: 14px;
  color: #81908c;
  font-size: 12px;
  text-align: center;
}

.showcase-copy h2 {
  max-width: 650px;
}

.showcase-copy > p {
  max-width: 650px;
  color: #a9b8b5;
}

.signal-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  position: relative;
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid var(--line);
  color: #dce6e3;
}

.signal-list li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--gold);
}

.features-section {
  padding: 96px 0;
  background: #063b35;
}

.section-heading-light > p:last-child {
  color: #b4cfca;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.feature {
  min-width: 0;
  padding: 30px 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.feature p {
  max-width: 500px;
  margin: 0;
  color: #bfdbd5;
}

.feature-cyan h3 { color: #7effe9; }
.feature-gold h3 { color: var(--gold); }
.feature-coral h3 { color: #ff9ba4; }
.feature-white h3 { color: #fff; }

.score-section {
  padding: 48px 0;
  background: var(--gold);
  color: #1b1809;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.score-grid > div {
  min-width: 0;
  padding: 5px 24px;
  border-left: 1px solid rgba(27, 24, 9, 0.26);
}

.score-grid > div:first-child {
  border-left: 0;
}

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

.score-grid strong {
  font-size: 38px;
  line-height: 1;
}

.score-grid span {
  margin-top: 9px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cta-section {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #061018;
}

.cta-section > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 7, 14, 0.98), rgba(3, 7, 14, 0.56) 65%, rgba(3, 7, 14, 0.28));
}

.cta-content {
  position: relative;
  padding-block: 72px;
}

.cta-content > * {
  max-width: 560px;
}

.cta-content p:not(.eyebrow) {
  color: #c1d1ce;
  font-size: 18px;
}

footer {
  padding: 58px 0 36px;
  border-top: 1px solid var(--line);
  background: #030509;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px 80px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-grid > div:first-child p {
  max-width: 470px;
  margin: 0;
  color: #778682;
  font-size: 14px;
}

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #65736f;
  font-size: 12px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-media img {
    right: -4%;
    opacity: 0.55;
  }

  h1 {
    font-size: 62px;
  }

  .showcase-grid {
    gap: 48px;
  }

  .score-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 0;
  }

  .score-grid > div:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-header {
    height: 62px;
  }

  section[id],
  footer[id] {
    scroll-margin-top: 62px;
  }

  .nav-shell {
    width: calc(100% - 24px);
    gap: 10px;
  }

  .brand span {
    display: none;
  }

  .footer-brand span {
    display: inline;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav-actions {
    margin-left: auto;
    gap: 8px;
  }

  .language-switch {
    grid-template-columns: repeat(3, 31px);
    height: 32px;
  }

  .nav-play {
    min-width: 62px;
    padding: 8px 12px;
  }

  .hero {
    min-height: calc(100svh - 88px);
    align-items: flex-end;
  }

  .hero-media img {
    top: -5%;
    right: 50%;
    height: 112%;
    transform: translateX(50%);
    opacity: 0.5;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, #03050a 3%, rgba(3, 5, 10, 0.92) 46%, rgba(3, 5, 10, 0.34) 92%),
      linear-gradient(90deg, rgba(3, 5, 10, 0.45), rgba(3, 5, 10, 0.05));
  }

  .hero-content {
    padding-block: 54px 42px;
  }

  h1 {
    font-size: 50px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 18px;
    margin-top: 28px;
  }

  .how-section,
  .gallery-section,
  .showcase-section,
  .features-section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .showcase-copy h2,
  .cta-content h2 {
    font-size: 34px;
  }

  .section-heading > p:last-child,
  .showcase-copy > p,
  .cta-content p:not(.eyebrow) {
    font-size: 16px;
  }

  .steps,
  .showcase-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 32px;
  }

  .gallery-heading > p:last-child {
    font-size: 16px;
  }

  .gallery-grid {
    width: calc(100% + 16px);
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 16px 14px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
  }

  .gallery-card {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
  }

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

  .showcase-grid {
    gap: 50px;
  }

  .phone-shot {
    order: 2;
  }

  .feature-grid {
    gap: 0;
  }

  .score-section {
    padding: 38px 0;
  }

  .score-grid > div {
    padding-inline: 16px;
  }

  .score-grid strong {
    font-size: 32px;
  }

  .cta-section {
    min-height: 560px;
    align-items: flex-end;
  }

  .cta-section > img {
    object-position: 72% center;
  }

  .cta-overlay {
    background: linear-gradient(0deg, rgba(3, 7, 14, 0.98) 8%, rgba(3, 7, 14, 0.76) 62%, rgba(3, 7, 14, 0.24));
  }

  .cta-content {
    padding-block: 54px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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

  .button {
    transition: none;
  }
}
