:root {
  --bg: #07111c;
  --card: #0e1a28;
  --ink: #f4f6f8;
  --muted: #93a0b0;
  --line: rgba(244, 246, 248, 0.1);
  --yellow: #ffd84a;
  --cyan: #3cdbf5;
  --green: #22c55e;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(255, 216, 74, 0.16), transparent 60%),
    radial-gradient(700px 480px at 100% 8%, rgba(60, 219, 245, 0.08), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--yellow); }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 6vw;
  background: rgba(7, 17, 28, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
.mail-pill {
  color: #1a0e06 !important;
  background: var(--yellow);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 40px;
  align-items: center;
  width: min(var(--max), calc(100% - 10vw));
  margin: 0 auto;
  padding: 54px 0 20px;
}
.kicker {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 6.4vw, 5.6rem);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.lede {
  max-width: 38rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.button.solid { background: var(--yellow); color: #1a0e06; }
.button.solid:hover { color: #1a0e06; filter: brightness(1.05); }
.button.ghost { color: var(--ink); border: 1px solid var(--line); }
.button.ghost:hover { color: var(--ink); border-color: rgba(255, 216, 74, 0.5); }

.stage {
  position: relative;
  height: 640px;
  overflow: hidden;
}
.device {
  position: absolute;
  width: 200px;
  padding: 8px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 18%, transparent 40%),
    #101820;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 216, 74, 0.22);
}
.device img {
  display: block;
  width: 100%;
  aspect-ratio: 402 / 874;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  background: #07111c;
}
.device.back-left { left: 0; top: 54px; transform: rotate(-8deg); }
.device.back-right { right: 0; top: 78px; transform: rotate(7deg); }
.device.front {
  left: 50%;
  top: 0;
  z-index: 2;
  width: 236px;
  transform: translateX(-50%);
}
.device figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.marquee {
  margin-top: 28px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.track {
  display: flex;
  gap: 42px;
  width: max-content;
  padding: 16px 0;
  animation: drift 42s linear infinite;
}
.track span { color: var(--muted); font-size: 0.92rem; letter-spacing: 0.04em; }
@keyframes drift { to { transform: translateX(-50%); } }

.section {
  width: min(var(--max), calc(100% - 10vw));
  margin: 0 auto;
  padding: 84px 0 10px;
}
.section h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1;
}
.section .intro { max-width: 40rem; margin: 0 0 28px; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}
.card {
  margin: 0;
  padding: 22px;
  background: rgba(14, 26, 40, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--muted); }
.card.wide { grid-column: 1 / 2; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; background:
  radial-gradient(400px 220px at 0% 0%, rgba(255, 216, 74, 0.18), transparent 70%),
  var(--card);
}
.card.wide h3 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 560; letter-spacing: -0.04em; }

.support {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: end;
  margin-top: 18px;
  padding: 32px;
  border-radius: 28px;
  background: var(--yellow);
  color: #1a0e06;
}
.support h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; line-height: 0.95; }
.support p { margin: 12px 0 0; }
.support a { color: #1a0e06; font-weight: 600; }
.support .address {
  justify-self: end;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.03em;
}

.legal {
  width: min(760px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 48px 0 80px;
}
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.legal h2 { margin: 28px 0 8px; font-size: 1.2rem; letter-spacing: -0.03em; }
.legal p { color: var(--muted); }
.legal .date { color: var(--yellow); font-size: 0.92rem; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(var(--max), calc(100% - 10vw));
  margin: 48px auto 0;
  padding: 22px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
footer a { color: var(--muted); text-decoration: none; }
footer nav { display: flex; gap: 16px; }

@media (max-width: 900px) {
  .hero, .grid, .support { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; grid-row: auto; min-height: 0; }
  .stage { height: auto; display: flex; gap: 16px; overflow-x: auto; padding: 10px 4px 24px; scroll-snap-type: x mandatory; }
  .device, .device.front, .device.back-left, .device.back-right {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    flex: 0 0 230px;
    transform: none;
    scroll-snap-align: center;
  }
  .support .address { justify-self: start; }
  .mail-pill { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track { animation: none; }
}
