@font-face {
  font-family: "NUDIM Heavy";
  src: local("Arial Black"), local("Arial-Black");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "NUDIM Regular";
  src: local("Arial");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #06192f;
  --ink: #faf9fc;
  --muted: #b9c1ce;
  --accent: #e5a7fa;
  --grid: #1d2a4f;
  --rule: #2e3e52;
  --page-max: 1160px;
  --page-pad-x: clamp(24px, 4.65vw, 54px);
  --two-col-gap: clamp(58px, 9.1vw, 106px);
  --hero-number-col: clamp(142px, 17.23vw, 200px);
  --hero-gap: clamp(28px, 4vw, 47px);
  --heavy: "NUDIM Heavy", "Noto Sans", Arial, Helvetica, sans-serif;
  --regular: "NUDIM Regular", Arimo, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  min-width: 280px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--regular);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

.site {
  width: 100%;
  min-width: 280px;
}

.page {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background: var(--bg);
}

.page-inner {
  width: min(100%, var(--page-max));
  margin-inline: auto;
  padding-inline: var(--page-pad-x);
}

/* ---------- Page 1 ---------- */
.page-one {
  min-height: max(100svh, 850px);
}

.page-one-inner {
  padding-top: clamp(32px, 4.65vw, 54px);
  padding-bottom: 300px;
}

.topbar {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(16px, 2.06vw, 24px);
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: clamp(54px, 5.7vw, 68px);
  height: auto;
  flex: 0 0 auto;
}

.brand-name {
  display: inline-block;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-dot {
  color: currentColor;
  font-weight: 700;
}

.top-tagline {
  margin: clamp(118px, 15.5vh, 210px) 0 0;
  max-width: 342px;
  color: var(--muted);
  font-size: clamp(20px, 2.58vw, 30px);
  line-height: 1.28;
  letter-spacing: -0.035em;
  text-align: center;
}

.top-tagline strong {
  color: var(--ink);
  font-family: var(--heavy);
  font-weight: 900;
}

.top-tagline span {
  display: inline-block;
}

.hero-grid {
  display: grid;
  grid-template-columns: var(--hero-number-col) minmax(0, 1fr);
  align-items: start;
  column-gap: var(--hero-gap);
  row-gap: 0;
  margin-top: clamp(72px, 8.2vw, 96px);
  padding-left: clamp(0px, 3.9vw, 45px);
}

.number-stack {
  display: grid;
  justify-items: start;
  align-content: start;
  color: var(--accent);
  font-family: var(--heavy);
  font-size: clamp(118px, 15.3vw, 177px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.085em;
}

.number-stack span {
  display: block;
}

.number-stack span:nth-child(2) {
  margin-top: 32px;
}

.number-stack span:nth-child(3) {
  margin-top: 34px;
}


.hero-copy {
  min-width: 0;
}

.hero-copy h1,
.page-two h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--heavy);
  font-weight: 900;
  letter-spacing: -0.063em;
}

.hero-copy h1 {
  font-size: clamp(58px, 7.67vw, 89px);
  line-height: 0.98;
}

.hero-sub {
  margin: 46px 0 0;
  color: var(--muted);
  font-size: clamp(22px, 2.58vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin-top: 36px;
}

.store-button {
  display: inline-flex;
  min-height: 79px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 17px 38px;
  border-radius: 3px;
  background: var(--accent);
  color: #061128;
  font-size: clamp(20px, 2.15vw, 25px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: transform 150ms ease, filter 150ms ease;
}

.windows-icon {
  display: block;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  fill: currentColor;
}

.store-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.035);
}

.store-link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: #d2d6df;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.1;
  text-decoration: none;
}

.store-link span {
  padding-bottom: 5px;
  border-bottom: 2px solid rgba(210, 214, 223, 0.5);
}

.store-link span:last-child {
  min-width: 16px;
  text-align: center;
}

.store-link:hover span {
  border-color: var(--accent);
}

.claim-block {
  margin-top: 54px;
}

.stack-and {
  display: block;
  margin-top: clamp(34px, 3.9vw, 46px);
  color: var(--ink);
  font-family: var(--heavy);
  font-size: clamp(42px, 5.35vw, 62px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.065em;
  text-align: center;
}

.hero-claim {
  margin: 0;
  color: var(--ink);
  font-family: var(--heavy);
  font-size: clamp(30px, 3.45vw, 40px);
  font-weight: 900;
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.hero-claim span {
  color: var(--accent);
}

.wave-zone {
  position: absolute;
  right: 0;
  bottom: clamp(42px, 6.1svh, 79px);
  left: 0;
  height: clamp(205px, 23.25vw, 270px);
}

.wave-grid {
  display: block;
  width: 100%;
  height: 100%;
}

.grid-lines path {
  fill: none;
  stroke: var(--grid);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.wave-line {
  fill: none;
  stroke: #d7dae6;
  stroke-width: 2.35;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: clamp(76px, 7.75vw, 90px);
  aspect-ratio: 1;
  place-items: center;
  padding: 0;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  z-index: 2;
}

.play-button svg {
  display: block;
  width: 64%;
  height: 64%;
  margin-left: 2%;
  fill: currentColor;
}

.play-button:hover {
  background: #0a203a;
  transform: translate(-50%, -50%) scale(1.035);
}

.play-button:active {
  transform: translate(-50%, -50%) scale(0.98);
}

.store-button:focus-visible,
.store-link:focus-visible,
.brand:focus-visible,
.play-button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

/* ---------- Page 2 ---------- */
.page-two {
  min-height: max(100svh, 1080px);
}

.page-two-inner {
  padding-top: clamp(125px, 22.6svh, 290px);
  padding-bottom: 92px;
}

.page-two h2 {
  font-size: clamp(62px, 7.1vw, 82px);
  line-height: 1.02;
}

.how-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: var(--two-col-gap);
  margin-top: 0;
}

.how-copy {
  min-width: 0;
}

.how-row .how-copy h3 {
  margin-top: clamp(48px, 5vw, 62px);
}

.how-row h3,
.feature h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--heavy);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.how-row h3 {
  font-size: clamp(28px, 3.2vw, 37px);
  line-height: 1;
}

.how-row p {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: clamp(22px, 2.5vw, 29px);
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 40px);
  margin-top: clamp(64px, 7vw, 86px);
}

.showcase-card {
  min-width: 0;
  border: 1px solid rgba(72, 101, 160, 0.8);
  border-radius: 18px;
  background: rgba(10, 29, 56, 0.52);
  box-shadow: inset 0 0 0 1px rgba(15, 34, 65, 0.55);
}

.shot-button {
  display: block;
  width: 100%;
  padding: clamp(16px, 2vw, 22px);
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.shot-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(88, 112, 175, 0.8);
  border-radius: 12px;
  background: #08182e;
}

.shot-image {
  display: block;
  width: 100%;
  height: auto;
}

.shot-expand-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: clamp(46px, 5vw, 58px);
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: rgba(8, 24, 46, 0.96);
  color: var(--accent);
}

.shot-expand-badge svg,
.shot-meta-icon svg {
  display: block;
  width: 58%;
  height: 58%;
}

.shot-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(18px, 1.85vw, 22px);
  letter-spacing: -0.02em;
}

.shot-meta-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #9eb1d2;
}

.shot-button:hover .shot-expand-badge,
.shot-button:focus-visible .shot-expand-badge {
  background: rgba(15, 35, 65, 0.98);
}

.shot-button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 9, 18, 0.82);
  backdrop-filter: blur(4px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(92vw, 1500px);
  max-height: min(90svh, 1100px);
  margin: 5svh auto;
  padding: 18px;
  border: 1px solid rgba(88, 112, 175, 0.8);
  border-radius: 22px;
  background: #07152a;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.lightbox-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(90svh - 36px);
  object-fit: contain;
  border-radius: 14px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 14px;
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-close:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

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

.center-play {
  position: relative;
  height: 190px;
  margin-top: clamp(88px, 12.5vw, 144px);
}

/* ---------- Page 3 ---------- */
.page-three {
  min-height: max(100svh, 920px);
}

.page-three-inner {
  display: flex;
  min-height: inherit;
  flex-direction: column;
  padding-top: clamp(28px, 4vw, 46px);
  padding-bottom: clamp(24px, 2.5vw, 32px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--two-col-gap);
  row-gap: 0;
}

.feature {
  min-width: 0;
  min-height: clamp(216px, 20.4vw, 236px);
  padding-top: clamp(30px, 3vw, 35px);
  border-top: 1px solid var(--rule);
}

.feature:nth-child(-n + 2) {
  min-height: clamp(248px, 23.9vw, 277px);
}

.feature h3 {
  font-size: clamp(25px, 2.85vw, 33px);
  line-height: 1.08;
}

.feature p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.5vw, 29px);
  line-height: 1.48;
  letter-spacing: -0.03em;
}

.feature .accent-line {
  margin-bottom: -22px;
  color: var(--accent);
}

.footer-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 40px;
  margin-top: auto;
  padding-top: clamp(52px, 7vw, 90px);
}

.footer-row p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.footer-row p:nth-child(2) {
  justify-self: center;
}

.footer-row p:nth-child(3) {
  justify-self: end;
  text-align: right;
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  :root {
    --hero-number-col: clamp(126px, 18vw, 160px);
    --hero-gap: clamp(24px, 4vw, 36px);
  }

  .hero-grid {
    padding-left: 0;
  }

  .number-stack {
    font-size: clamp(100px, 16vw, 142px);
  }

  .hero-copy h1 {
    font-size: clamp(52px, 8vw, 72px);
  }

  .desktop-break {
    display: none;
  }

  .how-row p {
    max-width: 31em;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  :root {
    --page-pad-x: clamp(22px, 6vw, 34px);
    --hero-number-col: clamp(86px, 25vw, 132px);
    --hero-gap: clamp(18px, 5vw, 30px);
  }

  html {
    scroll-snap-type: none;
  }

  .page {
    min-height: 100svh;
    overflow: hidden;
  }

  .page-one {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
  }

  .page-one-inner {
    width: 100%;
    padding-top: clamp(24px, 6vw, 38px);
    padding-bottom: 54px;
  }

  .topbar {
    gap: 18px;
  }

  .brand {
    gap: clamp(10px, 3.2vw, 16px);
  }

  .brand-name {
    font-size: clamp(27px, 7.5vw, 36px);
  }

  .brand-mark {
    width: clamp(44px, 11.8vw, 56px);
  }

  .top-tagline {
    max-width: 208px;
    margin-top: clamp(70px, 13vw, 118px);
    font-size: clamp(16px, 4.8vw, 21px);
  }

  .hero-grid {
    margin-top: clamp(58px, 14vw, 90px);
  }

  .number-stack {
    font-size: clamp(84px, 24vw, 125px);
    letter-spacing: -0.095em;
  }

  .number-stack span:nth-child(2),
  .number-stack span:nth-child(3) {
    margin-top: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 12.5vw, 67px);
    line-height: 0.96;
  }

  .hero-sub {
    margin-top: 38px;
    font-size: clamp(18px, 5vw, 24px);
  }

  .cta-group {
    gap: 20px;
    margin-top: 28px;
  }

  .store-button {
    min-height: 62px;
    gap: 12px;
    padding: 13px 18px;
    font-size: clamp(17px, 4.6vw, 21px);
  }

  .windows-icon {
    width: 22px;
    height: 22px;
  }

  .store-link {
    font-size: clamp(15px, 4.1vw, 19px);
  }

  .claim-block {
    margin-top: 42px;
  }

  .stack-and {
    font-size: clamp(30px, 9vw, 46px);
  }

  .hero-claim {
    font-size: clamp(25px, 7.1vw, 35px);
  }

  .wave-zone {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: clamp(190px, 50vw, 220px);
    flex: 0 0 auto;
    margin-top: auto;
  }

  .page-two {
    min-height: 100svh;
  }

  .page-two-inner {
    min-height: 100svh;
    padding-top: clamp(92px, 14svh, 130px);
    padding-bottom: 56px;
  }

  .page-two h2 {
    font-size: clamp(54px, 15vw, 76px);
  }

  .how-row {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 0;
  }

  .how-copy h3 {
    margin-top: 40px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 52px;
  }

  .shot-meta {
    font-size: clamp(16px, 4.3vw, 20px);
  }

  .how-row h3 {
    font-size: clamp(27px, 7vw, 34px);
  }

  .how-row p {
    font-size: clamp(19px, 5.1vw, 25px);
    line-height: 1.5;
  }

  .center-play {
    height: 130px;
    margin-top: 54px;
  }

  .lightbox-dialog {
    width: min(94vw, 1100px);
    margin: 4svh auto;
    padding: 14px;
  }

  .page-three-inner {
    padding-top: 28px;
    padding-bottom: 32px;
  }

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

  .feature,
  .feature:nth-child(-n + 2) {
    min-height: 0;
    padding: 30px 0 36px;
  }

  .feature h3 {
    font-size: clamp(25px, 6.8vw, 33px);
  }

  .feature p {
    margin-top: 18px;
    font-size: clamp(19px, 5vw, 25px);
  }

  .feature p br {
    display: none;
  }

  .feature .accent-line {
    margin-bottom: -9px;
  }

  .footer-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 68px;
  }

  .footer-row p,
  .footer-row p:nth-child(2),
  .footer-row p:nth-child(3) {
    justify-self: start;
    font-size: 17px;
    text-align: left;
  }
}

/* ---------- Narrow phones: prevent any visual collisions ---------- */
@media (max-width: 420px) {
  :root {
    --hero-number-col: clamp(70px, 21vw, 84px);
    --hero-gap: clamp(14px, 4.5vw, 18px);
  }

  .topbar {
    gap: 12px;
  }

  .top-tagline {
    max-width: 165px;
    margin-top: clamp(54px, 11vw, 88px);
  }

  .number-stack {
    font-size: clamp(76px, 22vw, 88px);
  }

  .hero-copy h1 {
    font-size: clamp(36px, 11.5vw, 48px);
  }

  .hero-sub {
    font-size: clamp(17px, 4.7vw, 19px);
  }

  .stack-and {
    font-size: clamp(28px, 8.5vw, 32px);
  }

  .hero-claim {
    font-size: clamp(23px, 6.8vw, 29px);
  }

  .store-button {
    padding-inline: 14px;
  }
}

@media (max-width: 360px) {
  :root {
    --hero-number-col: 64px;
    --hero-gap: 12px;
  }

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

  .top-tagline {
    max-width: none;
    margin-top: 24px;
    font-size: 16px;
    text-align: center;
  }

  .hero-grid {
    margin-top: 48px;
  }

  .number-stack {
    font-size: 70px;
  }

  .number-stack span:nth-child(2),
  .number-stack span:nth-child(3) {
    margin-top: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 9.8vw, 36px);
  }

  .hero-sub {
    margin-top: 28px;
    font-size: 16px;
  }

  .cta-group {
    margin-top: 24px;
  }

  .store-button {
    min-height: 56px;
    gap: 9px;
    padding: 11px 12px;
    font-size: 16px;
  }

  .windows-icon {
    width: 20px;
    height: 20px;
  }

  .store-link {
    font-size: 14px;
  }

  .claim-block {
    margin-top: 34px;
  }

  .stack-and {
    font-size: 26px;
  }

  .hero-claim {
    font-size: clamp(20px, 6.4vw, 23px);
  }
}

@media (orientation: landscape) and (max-height: 700px) and (min-width: 701px) {
  .page-one,
  .page-two,
  .page-three {
    min-height: 760px;
  }

  .page-one-inner {
    padding-top: 28px;
  }

  .hero-grid {
    margin-top: 56px;
  }

  .page-two-inner {
    padding-top: 130px;
  }
}


/* ---------- Medium-height desktop: preserve the reference composition inside the screen ---------- */
@media (min-width: 701px) and (min-height: 921px) and (max-height: 1150px) {
  .page-one,
  .page-two {
    min-height: 100svh;
  }

  .page-one-inner {
    padding-top: clamp(30px, 3.3svh, 38px);
    padding-bottom: clamp(178px, 19svh, 218px);
  }

  .brand-mark {
    width: clamp(42px, 4.5svh, 50px);
  }

  .brand-name {
    font-size: clamp(30px, 3.4svh, 39px);
  }

  .top-tagline {
    margin-top: clamp(78px, 12svh, 148px);
    font-size: clamp(19px, 2.35svh, 27px);
  }

  .hero-grid {
    margin-top: clamp(52px, 5.8svh, 66px);
  }

  .number-stack {
    font-size: clamp(122px, 13.4svh, 154px);
  }

  .number-stack span:nth-child(2),
  .number-stack span:nth-child(3) {
    margin-top: clamp(22px, 2.5svh, 29px);
  }

  .hero-copy h1 {
    font-size: clamp(60px, 6.65svh, 76px);
  }

  .hero-sub {
    margin-top: clamp(32px, 3.6svh, 41px);
    font-size: clamp(20px, 2.35svh, 27px);
  }

  .cta-group {
    gap: clamp(18px, 2.1svh, 24px);
    margin-top: clamp(26px, 2.9svh, 33px);
  }

  .store-button {
    min-height: clamp(62px, 6.6svh, 72px);
    padding-block: 14px;
  }

  .claim-block {
    margin-top: clamp(40px, 4.25svh, 48px);
  }

  .stack-and {
    font-size: clamp(40px, 4.7svh, 54px);
  }

  .hero-claim {
    font-size: clamp(28px, 3.2svh, 36px);
  }

  .wave-zone {
    bottom: clamp(28px, 3.2svh, 37px);
    height: clamp(180px, 18.5svh, 210px);
  }

  .play-button {
    width: clamp(72px, 7.4svh, 82px);
  }

  .page-two-inner {
    padding-top: clamp(165px, 18.2svh, 205px);
    padding-bottom: 38px;
  }

  .page-two h2 {
    font-size: clamp(60px, 6.7svh, 76px);
  }

  .how-row {
    margin-top: 0;
  }

  .how-copy h3 {
    margin-top: clamp(36px, 4.2svh, 48px);
  }

  .how-row h3 {
    font-size: clamp(27px, 3.15svh, 35px);
  }

  .how-row p {
    font-size: clamp(20px, 2.35svh, 26px);
    line-height: 1.45;
  }

  .center-play {
    height: clamp(112px, 12svh, 136px);
    margin-top: clamp(58px, 6.5svh, 74px);
  }
}

/* ---------- Short desktop / landscape: keep both navigation controls visible ---------- */
@media (min-width: 701px) and (max-height: 920px) {
  .page-one,
  .page-two {
    min-height: 100svh;
  }

  .page-one-inner {
    padding-top: clamp(18px, 2.8svh, 26px);
    padding-bottom: clamp(104px, 15svh, 138px);
  }

  .brand-mark {
    width: clamp(40px, 5.3svh, 50px);
  }

  .brand-name {
    font-size: clamp(25px, 4svh, 32px);
  }

  .top-tagline {
    margin-top: clamp(48px, 9svh, 92px);
    font-size: clamp(16px, 2.7svh, 22px);
  }

  .hero-grid {
    margin-top: clamp(26px, 4.8svh, 42px);
  }

  .number-stack {
    font-size: clamp(82px, 14.5svh, 116px);
  }

  .number-stack span:nth-child(2),
  .number-stack span:nth-child(3) {
    margin-top: clamp(12px, 2.3svh, 18px);
  }

  .hero-copy h1 {
    font-size: clamp(44px, 7.5svh, 60px);
  }

  .hero-sub {
    margin-top: clamp(18px, 3.4svh, 28px);
    font-size: clamp(16px, 2.8svh, 21px);
  }

  .cta-group {
    gap: clamp(11px, 2.1svh, 17px);
    margin-top: clamp(16px, 2.8svh, 22px);
  }

  .store-button {
    min-height: clamp(50px, 7svh, 58px);
    padding-block: 12px;
  }

  .store-link {
    font-size: clamp(14px, 2.4svh, 17px);
  }

  .claim-block {
    margin-top: clamp(22px, 4svh, 31px);
  }

  .stack-and {
    font-size: clamp(31px, 5.8svh, 43px);
  }

  .hero-claim {
    font-size: clamp(23px, 4.4svh, 29px);
  }

  .wave-zone {
    bottom: clamp(8px, 1.7svh, 14px);
    height: clamp(112px, 15svh, 138px);
  }

  .play-button {
    width: clamp(58px, 7.8svh, 68px);
  }

  .page-two-inner {
    padding-top: clamp(55px, 10svh, 78px);
    padding-bottom: 28px;
  }

  .page-two h2 {
    font-size: clamp(46px, 8svh, 60px);
  }

  .showcase-grid {
    gap: 18px;
    margin-top: 38px;
  }

  .shot-button {
    padding: 14px;
  }

  .shot-meta {
    margin-top: 12px;
    font-size: clamp(14px, 2.5svh, 18px);
  }

  .how-row {
    margin-top: 0;
  }

  .how-copy h3 {
    margin-top: clamp(24px, 4svh, 34px);
  }

  .how-row h3 {
    font-size: clamp(23px, 4svh, 29px);
  }

  .how-row p {
    font-size: clamp(17px, 3svh, 21px);
    line-height: 1.42;
  }

  .center-play {
    height: clamp(84px, 12svh, 100px);
    margin-top: clamp(30px, 5.5svh, 42px);
  }
}


/* ---------- Very small / short phones: keep navigation controls on-screen ---------- */
@media (max-width: 360px) and (max-height: 650px) {
  :root {
    --page-pad-x: 18px;
    --hero-number-col: 56px;
    --hero-gap: 10px;
  }

  .page-one {
    min-height: 100svh;
  }

  .page-one-inner {
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .topbar {
    display: flex;
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 36px;
  }

  .brand-name {
    font-size: 23px;
  }

  .top-tagline {
    max-width: 126px;
    margin-top: 22px;
    font-size: 12px;
    line-height: 1.3;
  }

  .hero-grid {
    margin-top: 24px;
  }

  .number-stack {
    font-size: 54px;
  }

  .number-stack span:nth-child(2),
  .number-stack span:nth-child(3) {
    margin-top: 10px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-sub {
    margin-top: 16px;
    font-size: 14px;
  }

  .cta-group {
    gap: 10px;
    margin-top: 14px;
  }

  .store-button {
    min-height: 44px;
    gap: 7px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .windows-icon {
    width: 17px;
    height: 17px;
  }

  .store-link {
    font-size: 12px;
  }

  .store-link span {
    padding-bottom: 3px;
    border-bottom-width: 1px;
  }

  .claim-block {
    margin-top: 18px;
  }

  .stack-and {
    font-size: 22px;
  }

  .hero-claim {
    font-size: 18px;
  }

  .wave-zone {
    height: 108px;
  }

  .play-button {
    width: 58px;
  }

  .page-two-inner {
    min-height: 100svh;
    padding-top: 50px;
    padding-bottom: 20px;
  }

  .page-two h2 {
    font-size: 40px;
  }

  .how-row {
    gap: 22px;
    margin-top: 0;
  }

  .how-copy h3 {
    margin-top: 24px;
  }

  .how-row h3 {
    font-size: 22px;
  }

  .how-row p {
    font-size: 15px;
    line-height: 1.38;
  }

  .center-play {
    height: 78px;
    margin-top: 28px;
  }
}

@media (hover: none) {
  .store-button:hover {
    transform: none;
    filter: none;
  }

  .play-button:hover {
    background: var(--bg);
    transform: translate(-50%, -50%);
  }

  .shot-button:hover .shot-expand-badge {
    background: rgba(8, 24, 46, 0.96);
  }
}

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

  .store-button,
  .play-button {
    transition: none;
  }
}

@media (min-width: 641px) and (max-width: 700px) {
  .page-one-inner {
    padding-bottom: 38px;
  }
}

/* ---------- Page 1 composition refinement: tagline beside the supporting copy ---------- */
.topbar {
  display: block;
}

.hero-sub-row {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(255px, 342px);
  align-items: start;
  gap: clamp(34px, 5vw, 72px);
  margin-top: 46px;
}

.hero-sub-row .hero-sub {
  margin: 0;
}

.hero-sub-row .top-tagline {
  justify-self: end;
  align-self: start;
  margin: 0;
  max-width: 342px;
  text-align: center;
}

.number-stack {
  width: 100%;
  justify-items: center;
}

.stack-and {
  width: 100%;
  justify-self: stretch;
  text-align: center;
}

@media (min-width: 701px) and (min-height: 921px) and (max-height: 1150px) {
  .hero-sub-row {
    margin-top: clamp(32px, 3.6svh, 41px);
  }
}

@media (min-width: 701px) and (max-height: 920px) {
  .hero-sub-row {
    grid-template-columns: minmax(205px, 1fr) minmax(225px, 300px);
    gap: clamp(24px, 3.5vw, 50px);
    margin-top: clamp(18px, 3.4svh, 28px);
  }

  .hero-sub-row .top-tagline {
    max-width: 300px;
  }
}

@media (max-width: 700px) {
  .hero-sub-row {
    grid-template-columns: minmax(0, 1fr) minmax(165px, 0.9fr);
    gap: clamp(16px, 4vw, 28px);
    margin-top: 38px;
  }

  .hero-sub-row .top-tagline {
    max-width: 208px;
  }
}

@media (max-width: 560px) {
  .hero-sub-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-sub-row .top-tagline {
    justify-self: start;
    max-width: none;
    text-align: left;
  }

  .hero-sub-row .top-tagline br {
    display: none;
  }

  .hero-sub-row .top-tagline span {
    display: inline;
  }
}

@media (max-width: 360px) {
  .hero-sub-row {
    margin-top: 28px;
    gap: 12px;
  }
}

@media (max-width: 360px) and (max-height: 650px) {
  .hero-sub-row {
    margin-top: 16px;
    gap: 8px;
  }

  .hero-sub-row .top-tagline {
    font-size: 12px;
  }
}



/* ---------- Final layout refinements: compact page 2, full-fit page 3 ---------- */
.page-two {
  min-height: max(100svh, 920px);
}

.page-two-inner {
  padding-top: clamp(64px, 9svh, 102px);
  padding-bottom: 44px;
}

.showcase-grid {
  margin-top: clamp(42px, 4.8vw, 54px);
}

.center-play {
  height: 112px;
  margin-top: clamp(26px, 4vw, 36px);
}

.page-three {
  min-height: 100svh;
}

.page-three-inner {
  padding-top: clamp(18px, 2vw, 24px);
  padding-bottom: clamp(16px, 1.6vw, 20px);
}

.feature {
  min-height: clamp(138px, 12.6vw, 154px);
  padding-top: clamp(18px, 1.8vw, 22px);
}

.feature:nth-child(-n + 2) {
  min-height: clamp(154px, 14vw, 170px);
}

.feature h3 {
  font-size: clamp(22px, 2.4vw, 29px);
}

.feature p {
  margin-top: 12px;
  font-size: clamp(17px, 1.95vw, 23px);
  line-height: 1.36;
}

.feature .accent-line {
  margin-bottom: -8px;
}

.footer-row {
  gap: 28px;
  padding-top: clamp(22px, 3vw, 32px);
}

.footer-row p {
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.35;
}

.copyright-line {
  margin: 18px 0 0;
  color: #96a4bb;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: center;
}

@media (max-width: 900px) {
  .page-two-inner {
    padding-top: 52px;
    padding-bottom: 34px;
  }

  .showcase-grid {
    margin-top: 34px;
  }

  .center-play {
    margin-top: 24px;
  }

  .page-three-inner {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .feature,
  .feature:nth-child(-n + 2) {
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .footer-row {
    padding-top: 18px;
  }

  .copyright-line {
    margin-top: 14px;
  }
}

@media (max-width: 700px) {
  .page-two-inner {
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .how-row {
    gap: 24px;
  }

  .showcase-grid {
    margin-top: 28px;
  }

  .center-play {
    height: 96px;
    margin-top: 18px;
  }

  .copyright-line {
    font-size: 12px;
  }
}


.privacy-line {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: center;
}

@media (max-width: 700px) {
  .privacy-line {
    margin-top: 12px;
    font-size: 12px;
  }
}


/* ---------- Footer/legal refinement ---------- */
.accent-word {
  color: var(--accent);
}

.legal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(14px, 1.8vw, 20px);
  padding-top: clamp(12px, 1.5vw, 16px);
  border-top: 1px solid var(--rule);
  color: #96a4bb;
}

.legal-footer p {
  margin: 0;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.legal-separator {
  display: block;
  width: clamp(22px, 3vw, 42px);
  height: 1px;
  flex: 0 0 auto;
  background: var(--rule);
}

/* Override the previous standalone legal-line spacing. */
.legal-footer .privacy-line,
.legal-footer .copyright-line {
  margin: 0;
  text-align: center;
}

@media (max-width: 700px) {
  .legal-footer {
    gap: 10px;
    padding-top: 12px;
  }

  .legal-footer p {
    font-size: clamp(10px, 2.8vw, 12px);
    white-space: normal;
    text-align: center;
  }

  .legal-separator {
    width: 18px;
  }
}

@media (max-width: 430px) {
  .legal-footer {
    flex-wrap: wrap;
  }

  .legal-separator {
    width: 14px;
  }
}


/* ---------- Mobile inline-spacing fix for hidden line breaks ---------- */
@media (max-width: 560px) {
  .hero-sub-row .top-tagline span::before {
    content: " ";
  }
}


/* ---------- Page 2 copy split into two paragraphs ---------- */
.how-text {
  min-width: 0;
}

.how-text p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(22px, 2.5vw, 29px);
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.how-text p + p {
  margin-top: clamp(18px, 2vw, 24px);
}

@media (max-width: 700px) {
  .how-text p {
    font-size: clamp(19px, 5.1vw, 25px);
    line-height: 1.5;
  }

  .how-text p + p {
    margin-top: 16px;
  }

  .feature h3 {
    line-height: 1.16;
  }

  .feature p,
  .footer-row p,
  .legal-footer p {
    line-height: 1.46;
  }
}
