@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #0a0b0d;
  --surface: #111316;
  --surface-raised: #181a1e;
  --text: #f4f2ee;
  --muted: #a4a6aa;
  --line: rgba(255, 255, 255, .13);
  --accent: #c6281e;
  --accent-bright: #f04a3e;
  --accent-soft: rgba(198, 40, 30, .17);
  --highlight: #ffd3c9;
  --mono: 'DM Mono', monospace;
  --sans: 'Space Grotesk', sans-serif;
}

html[data-theme="blue"] {
  --accent: #2874e8;
  --accent-bright: #65a2ff;
  --accent-soft: rgba(40, 116, 232, .18);
  --highlight: #f1d58c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
.site-header {
  position: absolute;
  z-index: 6;
  inset: 0 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(22px, 5vw, 76px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.035em;
}
.brand img { width: 39px; height: 39px; object-fit: cover; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.nav-links a {
  color: #d3d4d7;
  font: 10px var(--mono);
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}
.nav-links a:hover { color: white; }
.nav-links .nav-download {
  padding: 12px 15px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.48);
}
.hero {
  min-height: 690px;
  height: min(810px, 100svh);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  align-items: center;
  gap: 4vw;
  padding: 130px clamp(24px, 9vw, 140px) 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 53%, var(--accent-soft), transparent 43%),
    linear-gradient(118deg, #0b0c0e 4%, #111316 58%, #0c0e11);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.08);
  transform: rotate(45deg);
}
.hero::before { width: 60vw; height: 60vw; right: -24vw; top: -25vw; }
.hero::after { width: 41vw; height: 41vw; right: -15vw; top: -15vw; }
.hero-copy { position: relative; z-index: 1; max-width: 700px; }
.eyebrow {
  margin: 0;
  color: var(--accent-bright);
  font: 10px var(--mono);
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow::before { content: "// "; opacity: .72; }
.hero h1 {
  max-width: 760px;
  margin: 28px 0 24px;
  font-size: clamp(52px, 7.3vw, 108px);
  font-weight: 500;
  line-height: .91;
  letter-spacing: -.085em;
}
.hero h1 em { color: var(--accent-bright); font-style: normal; }
.hero-description {
  max-width: 510px;
  margin: 0;
  color: #b7b9be;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.download-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 13px;
  padding: 10px 20px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: white;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.download-button:hover { transform: translateY(-3px); background: var(--accent-bright); box-shadow: 0 12px 32px var(--accent-soft); }
.play-mark { width: 21px; height: 24px; flex: none; }
.download-copy { display: grid; gap: 2px; }
.download-copy small { color: rgba(255,255,255,.78); font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.download-copy strong { font-size: 15px; font-weight: 600; }
.text-link { color: #d6d6d8; font: 11px var(--mono); text-decoration: none; }
.text-link span { margin-left: 7px; color: var(--accent-bright); font-size: 15px; }
.hero-art {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 440px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.art-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  box-shadow: 0 0 90px var(--accent-soft), inset 0 0 60px rgba(255,255,255,.025);
}
.art-ring::before, .art-ring::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.art-ring::after { inset: -10%; border-color: rgba(255,255,255,.07); }
.app-icon-frame {
  position: relative;
  width: 56%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 27%;
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(226,226,226,.96) 36%, rgba(255,255,255,.58));
  box-shadow: 0 35px 75px rgba(0,0,0,.5), inset 0 1px 3px white;
  transform: rotate(-7deg);
}
.app-icon-frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 21%; }
.orbit-label {
  position: absolute;
  right: 0;
  bottom: 17%;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(14,15,17,.75);
  color: #e8e8ea;
  font: 9px var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.signal-strip {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 3vw, 42px);
  padding: 12px 18px;
  overflow: hidden;
  background: var(--accent);
  color: white;
  white-space: nowrap;
  font: 9px var(--mono);
  letter-spacing: .13em;
}
.signal-strip i { width: 5px; height: 5px; flex: none; background: white; transform: rotate(45deg); }
.section { padding: clamp(76px, 10vw, 142px) clamp(24px, 9vw, 140px); }
.intro {
  display: grid;
  grid-template-columns: 1fr minmax(230px, .55fr);
  align-items: end;
  gap: 50px;
  background: #f0efec;
  color: #121316;
}
.intro .eyebrow { color: var(--accent); }
.intro h2 {
  max-width: 810px;
  margin: 35px 0 0;
  font-size: clamp(46px, 6.7vw, 93px);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.085em;
}
.intro h2 em { color: var(--accent); font-style: normal; }
.intro-copy { max-width: 360px; padding-bottom: 5px; }
.intro-copy p { margin: 0 0 22px; color: #595a5d; font-size: 15px; line-height: 1.7; }
.intro-copy a { color: #17181a; font: 10px var(--mono); text-decoration: none; text-transform: uppercase; letter-spacing: .1em; }
.intro-copy a span { color: var(--accent); margin-left: 8px; }
.feature-section { background: var(--bg); }
.feature-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.feature-heading h2 {
  max-width: 570px;
  margin: 20px 0 0;
  font-size: clamp(38px, 5vw, 67px);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.075em;
}
.feature-heading > p:last-child { max-width: 300px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-card { min-height: 240px; padding: 27px 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-number { color: var(--accent-bright); font: 10px var(--mono); }
.feature-card h3 { margin: 52px 0 12px; font-size: 22px; font-weight: 500; letter-spacing: -.045em; }
.feature-card p { max-width: 290px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.download-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 45px;
  background:
    radial-gradient(ellipse at 85% 50%, var(--accent-soft), transparent 40%),
    var(--surface);
}
.download-section::after {
  content: "GO";
  position: absolute;
  right: 15%;
  top: -75%;
  color: rgba(255,255,255,.025);
  font-size: clamp(240px, 34vw, 470px);
  font-weight: 700;
  letter-spacing: -.15em;
  pointer-events: none;
}
.download-copy-block { position: relative; z-index: 1; }
.download-copy-block h2 { max-width: 690px; margin: 24px 0 15px; font-size: clamp(45px, 6vw, 82px); font-weight: 500; line-height: .93; letter-spacing: -.08em; }
.download-copy-block > p:last-child { max-width: 480px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.download-section .download-button { position: relative; z-index: 1; white-space: nowrap; }
.site-footer {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(22px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: #08090a;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #e9e9ea; font-size: 12px; font-weight: 500; }
.footer-brand img { width: 27px; height: 27px; object-fit: cover; border-radius: 50%; }
.footer-meta { display: flex; align-items: center; gap: 22px; color: #888b90; font: 9px var(--mono); }
.footer-meta a { color: #d0d1d3; text-decoration: none; }
.footer-meta a:hover { color: var(--accent-bright); }
.footer-meta .footer-action {
  padding: 11px 14px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.footer-meta .footer-action:hover { background: var(--accent-bright); color: #fff; transform: translateY(-2px); }
.studio-credit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #a4a6aa;
  font: 9px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.studio-credit img { width: 88px; height: auto; max-height: 34px; object-fit: contain; }
.qr-dialog {
  width: min(440px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  background: #111316;
  color: var(--text);
  box-shadow: 0 24px 90px rgba(0,0,0,.65);
}
.qr-dialog::backdrop { background: rgba(3,4,6,.78); backdrop-filter: blur(7px); }
.qr-dialog-content { padding: clamp(24px, 6vw, 36px); text-align: center; }
.qr-dialog-close {
  display: grid;
  width: 38px;
  height: 38px;
  margin: 0 0 10px auto;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: 23px var(--sans);
  cursor: pointer;
}
.qr-dialog h2 { margin: 8px 0 12px; font-size: 30px; font-weight: 500; letter-spacing: -.06em; }
.qr-instructions { margin: 0 auto 20px; max-width: 330px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.qr-code-image {
  display: block;
  width: min(250px, 75vw);
  aspect-ratio: 1;
  margin: 0 auto 20px;
  padding: 10px;
  background: white;
  object-fit: contain;
}
.qr-code-image[hidden] { display: none; }
.qr-fallback { display: none; color: var(--highlight); font-size: 13px; }
.qr-fallback.visible { display: block; }
.qr-store-link { display: inline-flex; margin-top: 16px; }
:focus-visible { outline: 2px solid var(--highlight); outline-offset: 4px; }

@media (max-width: 800px) {
  .hero { height: auto; min-height: 0; grid-template-columns: 1fr; gap: 26px; padding-top: 140px; padding-bottom: 70px; }
  .hero-copy { max-width: 680px; }
  .hero-art { width: min(78vw, 365px); margin: 8px auto 0; }
  .hero h1 { max-width: 650px; }
  .intro { grid-template-columns: 1fr; gap: 30px; }
  .intro-copy { max-width: 500px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .download-section { grid-template-columns: 1fr; gap: 30px; }
  .download-section .download-button { justify-self: start; }
}
@media (max-width: 560px) {
  .site-header { min-height: 70px; padding-inline: 19px; }
  .brand { gap: 9px; font-size: 13px; }
  .brand img { width: 34px; height: 34px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 8px; letter-spacing: .07em; }
  .nav-links a:not(.nav-download) { display: none; }
  .nav-links .nav-download { padding: 10px 11px; }
  .hero { padding: 125px 23px 57px; }
  .hero h1 { font-size: clamp(49px, 13vw, 70px); }
  .hero-description { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .signal-strip { justify-content: flex-start; gap: 18px; font-size: 8px; }
  .section { padding: 75px 23px; }
  .intro h2 { font-size: clamp(47px, 12vw, 67px); }
  .feature-heading { align-items: flex-start; flex-direction: column; }
  .feature-heading h2 { font-size: 43px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 200px; }
  .feature-card h3 { margin-top: 39px; }
  .download-copy-block h2 { font-size: 51px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-meta { flex-wrap: wrap; gap: 13px 19px; }
  .studio-credit { gap: 7px; }
  .studio-credit img { width: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
