:root {
  --ink: #0b0b0b;
  --surface: #14171c;
  --surface-2: #1a1e25;
  --white: #f4f7ee;
  --muted: #9aa197;
  --line: rgba(244, 247, 238, 0.12);
  --lime: #bfff00;
  --blue: #82c7ff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--lime); color: var(--ink); }

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  width: min(calc(100% - 40px), var(--max));
  height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 31px; height: 49px; object-fit: contain; }
.brand span {
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}
.brand em { color: var(--lime); font-style: normal; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 180ms ease;
}
.back-link svg { width: 17px; height: 17px; }
.back-link path, .download-button path, .install-note path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.back-link:hover { color: var(--white); }

.hero {
  position: relative;
  min-height: calc(100svh - 104px);
  padding: 106px 20px 42px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, #000, transparent 77%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  min-height: calc(100svh - 252px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(34px, 4vw, 60px);
}
.hero-copy { max-width: 690px; padding-bottom: 26px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 2px; background: var(--blue); }
h1 {
  max-width: 720px;
  margin: 0;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(3.4rem, 6.8vw, 6.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: uppercase;
}
h1 strong { display: block; color: var(--lime); font-weight: inherit; }
.lead {
  max-width: 590px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}
.download-block { display: flex; align-items: center; gap: 19px; margin-top: 31px; }
.download-button {
  min-height: 56px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--lime);
  border-radius: 6px;
  box-shadow: 7px 7px 0 rgba(130, 199, 255, 0.28);
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.download-button svg { width: 21px; height: 21px; }
.download-button:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 rgba(130, 199, 255, 0.34); }
.download-button:active { transform: none; box-shadow: 4px 4px 0 rgba(130, 199, 255, 0.25); }
.download-button:focus-visible, .back-link:focus-visible, .after-release a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.file-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; max-width: 210px; }
.file-meta span { position: relative; color: var(--muted); font-size: 0.76rem; font-weight: 650; }
.file-meta span:not(:last-child)::after { content: "·"; position: absolute; right: -10px; color: #525961; }
.install-note {
  max-width: 590px;
  margin: 23px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #798078;
  font-size: 0.78rem;
  line-height: 1.5;
}
.install-note svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--blue); }

.app-preview { position: relative; justify-self: center; }
.build-label {
  position: absolute;
  top: 14%;
  right: -42px;
  z-index: 3;
  padding: 8px 11px;
  background: var(--blue);
  color: #07111a;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.69rem;
  font-weight: 800;
  white-space: nowrap;
  transform: rotate(4deg);
}
.phone {
  position: relative;
  height: min(67svh, 620px);
  aspect-ratio: 9 / 19.4;
  padding: 10px;
  background: #070809;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 39px;
  box-shadow: 22px 28px 0 rgba(191, 255, 0, 0.09), -15px -14px 0 rgba(130, 199, 255, 0.08);
  transform: rotate(2.5deg);
  animation: phone-in 700ms cubic-bezier(.2,.8,.2,1) both;
}
.phone::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(191, 255, 0, 0.18);
  pointer-events: none;
}
.phone-screen {
  height: 100%;
  overflow: hidden;
  background: #0b0b0b;
  border-radius: 30px;
}
.phone-screen img { width: 100%; height: 100%; display: block; object-fit: cover; }
@keyframes phone-in { from { opacity: 0; transform: translateY(28px) rotate(5deg); } }

.release-status {
  min-height: 104px;
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  align-items: stretch;
}
.status-intro, .status-item { min-width: 0; padding: 22px 24px; border-right: 1px solid var(--line); }
.status-intro { padding-left: 0; }
.status-item:last-child { border-right: 0; padding-right: 0; }
.status-intro small, .status-item small { display: block; color: #676e67; font-size: 0.61rem; font-weight: 850; letter-spacing: 0.12em; }
.status-intro strong, .status-item strong { display: block; margin-top: 5px; font-size: clamp(0.75rem, 1vw, 0.88rem); }
.status-item { display: flex; align-items: center; gap: 12px; }
.status-dot { flex: 0 0 auto; width: 9px; height: 9px; border: 2px solid #596059; border-radius: 50%; }
.status-item--ready .status-dot { border-color: var(--lime); background: var(--lime); box-shadow: 0 0 0 5px rgba(191, 255, 0, 0.08); }
.status-item--ready strong { color: var(--lime); }

.after-release {
  min-height: 62svh;
  padding: 120px 20px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background: var(--white);
  color: var(--ink);
}
.after-release p { margin: 0 0 17px; color: #4e5d70; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.16em; }
.after-release h2 { margin: 0; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(2.6rem, 6vw, 5.7rem); line-height: 0.95; text-transform: uppercase; }
.after-release a { margin-top: 35px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); font-weight: 850; }
.after-release a span { display: inline-block; margin-left: 8px; transition: transform 180ms ease; }
.after-release a:hover span { transform: translateX(5px); }

@media (max-width: 860px) {
  .hero { min-height: auto; padding-bottom: 45px; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr minmax(170px, 0.55fr); gap: 24px; }
  h1 { font-size: clamp(3rem, 11vw, 5.5rem); }
  .lead { font-size: 0.98rem; }
  .download-block { align-items: flex-start; flex-direction: column; gap: 14px; }
  .phone { height: min(58svh, 520px); }
  .build-label { right: -20px; }
  .release-status { grid-template-columns: 1fr 1fr; }
  .status-intro, .status-item { border-bottom: 1px solid var(--line); }
  .status-intro { padding-left: 20px; }
  .status-item:nth-child(2) { border-right: 0; }
}

@media (max-width: 620px) {
  .topbar { height: 68px; width: calc(100% - 28px); }
  .brand img { width: 25px; height: 40px; }
  .brand span { font-size: 1.08rem; }
  .back-link { font-size: 0; gap: 0; }
  .back-link svg { width: 21px; height: 21px; }
  .hero { padding: 88px 14px 38px; }
  .hero-grid { background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 86%); }
  .hero-inner { grid-template-columns: 1fr; gap: 31px; }
  .hero-copy { padding: 0; }
  h1 { max-width: 8em; font-size: clamp(3rem, 16.5vw, 4.6rem); }
  .lead { margin-top: 19px; }
  .download-block { margin-top: 24px; }
  .download-button { width: 100%; min-height: 54px; }
  .file-meta { max-width: none; }
  .install-note { margin-top: 18px; }
  .app-preview { justify-self: center; }
  .phone { height: min(47svh, 390px); border-radius: 28px; box-shadow: 14px 16px 0 rgba(191, 255, 0, 0.09), -9px -9px 0 rgba(130, 199, 255, 0.08); transform: rotate(1.5deg); }
  .phone-screen { border-radius: 21px; }
  .build-label { top: 10%; right: -28px; }
  .release-status { width: 100%; grid-template-columns: 1fr; }
  .status-intro, .status-item { min-height: 78px; padding: 18px 20px; border-right: 0; }
  .status-item:last-child { padding-right: 20px; }
  .after-release { min-height: 54svh; padding: 88px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone { animation: none; }
  .download-button, .after-release a span { transition: none; }
}
