:root {
  --bg-deep: #0b2c34;
  --bg-main: #103b46;
  --bg-panel: rgba(12, 24, 29, 0.42);
  --line: rgba(255, 255, 255, 0.08);
  --text-main: #f7f6ef;
  --text-soft: #d7ddd8;
  --mint: #a5f2e8;
  --mint-strong: #7ad8cb;
  --warm: #f3b552;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 70% 20%, rgba(165, 242, 232, 0.18), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(122, 216, 203, 0.1), transparent 26%),
    linear-gradient(180deg, #123f49 0%, #0b2c34 100%);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.hero {
  padding: 36px 0 42px;
}

.brand-mark {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--mint);
  position: relative;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.brand-core {
  position: absolute;
  inset: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: rgba(114, 206, 197, 0.9);
}

.eyebrow,
.section-label,
.hud-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--text-soft);
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(3.2rem, 10vw, 6rem);
  line-height: 0.94;
}

.hero-copy {
  width: min(640px, 100%);
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  border-radius: 999px;
  padding: 14px 22px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease;
}

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

.button.primary {
  background: var(--mint);
  color: #0e3138;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--line);
}

.button.tertiary {
  color: var(--text-soft);
  border: 1px solid transparent;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 24px;
}

.phone-frame {
  padding: 18px;
  border-radius: 40px;
  background: rgba(5, 12, 15, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.24);
}

.phone-screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border-radius: 28px;
  padding: 22px 18px;
  background: linear-gradient(180deg, #153f49 0%, #0f323a 100%);
}

.screen-glow {
  position: absolute;
  right: -10%;
  top: -8%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(122, 216, 203, 0.32);
  filter: blur(12px);
}

.hud-row,
.hud-right {
  display: flex;
}

.hud-row {
  position: relative;
  justify-content: space-between;
  z-index: 1;
}

.hud-value {
  margin: 6px 0 0;
  font-size: 2.2rem;
  font-weight: 800;
}

.hud-right {
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.hud-state {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.hud-meta,
.screen-copy,
.showcase-copy p,
.feature-card p,
.footer p {
  color: var(--text-soft);
}

.hud-meta {
  margin: 0;
}

.meter {
  position: relative;
  z-index: 1;
  height: 12px;
  margin-top: 18px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.meter-fill {
  width: 74%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--mint-strong));
}

.screen-copy {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 0.98rem;
}

.lane {
  position: absolute;
  inset: 138px 0 0;
}

.obstacle {
  position: absolute;
  width: 56px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.18);
}

.obstacle.top {
  top: 0;
}

.obstacle.bottom {
  bottom: 0;
}

.obstacle.one {
  left: 58%;
}

.obstacle.one.top {
  height: 110px;
}

.obstacle.one.bottom {
  height: 230px;
}

.obstacle.two {
  left: 81%;
}

.obstacle.two.top {
  height: 220px;
}

.obstacle.two.bottom {
  height: 120px;
}

.player-aura,
.player {
  position: absolute;
  border-radius: 50%;
}

.player-aura {
  left: 22%;
  top: 42%;
  width: 66px;
  height: 66px;
  background: rgba(165, 242, 232, 0.36);
}

.player {
  left: calc(22% + 16px);
  top: calc(42% + 16px);
  width: 34px;
  height: 34px;
  background: var(--mint);
  border: 3px solid var(--mint-strong);
}

.showcase-copy h2 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.showcase-copy p {
  max-width: 540px;
  font-size: 1.06rem;
  line-height: 1.7;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.feature-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.feature-card h3 {
  margin: 8px 0 10px;
  font-size: 1.5rem;
}

.feature-card p {
  margin: 0;
  line-height: 1.6;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer a {
  color: var(--mint);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.policy-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.policy-header {
  padding: 20px 0 12px;
}

.policy-header a {
  color: var(--mint);
  text-decoration: none;
}

.policy-header a:hover {
  text-decoration: underline;
}

.policy-page h1 {
  margin: 12px 0 14px;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
}

.policy-intro,
.policy-section p,
.policy-section li {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

.policy-section {
  margin-top: 28px;
  padding: 24px;
  border-radius: 24px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.policy-section h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.policy-section ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

@media (max-width: 900px) {
  .showcase,
  .features {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    max-width: 420px;
    margin: 0 auto;
  }

  .footer {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
