:root {
  --bg: #08090a;
  --panel: #0f1113;
  --panel-2: #14171a;
  --line: #21262b;
  --line-soft: #191d21;
  --ink: #eef1f3;
  --muted: #8d959d;
  --accent: #d4ff3f;
  --accent-dim: #9dbf2e;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  --sans: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--accent);
  background: #16191c;
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(8, 9, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  font-size: 1.02rem;
}

.brand img {
  border-radius: 6px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #0b0d05;
  font-weight: 650;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s, box-shadow 0.15s;
}

.btn:hover { background: #e2ff6d; }

.btn:active { transform: translateY(1px); }

.btn-sm { padding: 9px 16px; font-size: 0.86rem; }

.btn-lg { padding: 16px 30px; font-size: 1rem; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover { background: var(--panel-2); border-color: #313a41; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(18px, 4vw, 56px) clamp(40px, 5vw, 72px);
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto auto;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(212, 255, 63, 0.11), transparent 62%);
  pointer-events: none;
}

.hero-copy { position: relative; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 22px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 640;
  margin: 0 0 24px;
}

.lede {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: #b9c1c8;
  max-width: 34em;
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.micro {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: #6d757d;
  margin: 0;
}

/* ---------- hero visual ---------- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.window {
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #101315, #0b0d0f);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: #0d0f11;
}

.dotrow { display: flex; gap: 5px; }

.dotrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #262c31;
}

.window-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #6f777f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.live b {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.window-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 14px;
  padding: 16px;
  align-items: center;
}

.phone {
  position: relative;
  aspect-ratio: 9 / 17.5;
  border-radius: 18px;
  border: 1px solid #2a3238;
  background: radial-gradient(120% 90% at 20% 0%, #2b3a52, #101a2b 55%, #0a0f18);
  padding: 10px 12px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(120, 180, 255, 0.09);
}

.phone::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 5px;
  border-radius: 3px;
  background: #05070a;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.52rem;
  color: #cfd8e2;
  padding: 2px 2px 0;
}

.pills { display: flex; gap: 3px; align-items: center; }

.pills i {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: #cfd8e2;
  opacity: 0.8;
}

.phone-clock {
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #f1f6ff;
  margin-top: 14px;
  line-height: 1;
}

.phone-date {
  font-size: 0.56rem;
  color: #9fb0c6;
  margin-bottom: 14px;
}

.phone-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.phone-tiles span {
  aspect-ratio: 1;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-tiles span:nth-child(1) { background: rgba(212, 255, 63, 0.5); }
.phone-tiles span:nth-child(4) { background: rgba(96, 165, 250, 0.45); }
.phone-tiles span:nth-child(6) { background: rgba(244, 114, 182, 0.4); }
.phone-tiles span:nth-child(7) { background: rgba(251, 191, 36, 0.45); }

.phone-dock {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 7px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.phone-dock span {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
}

.side {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: var(--mono);
}

.side-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line-soft);
}

.side-row em {
  font-style: normal;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: #5d656d;
  text-transform: uppercase;
}

.side-row b {
  font-weight: 500;
  font-size: 0.64rem;
  color: #c8d1d9;
}

.side-note {
  font-size: 0.55rem;
  line-height: 1.45;
  color: var(--accent-dim);
  margin-top: 2px;
}

/* ---------- strip ---------- */

.strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #7c848c;
  background: #0a0c0d;
}

.strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2c3338;
}

/* ---------- sections ---------- */

.section {
  padding: clamp(56px, 7vw, 104px) clamp(18px, 4vw, 56px);
  max-width: 1280px;
  margin: 0 auto;
}

.section-head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 46em; }

.kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--accent-dim);
  margin: 0 0 14px;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 620;
  margin: 0 0 16px;
}

.body { color: #a9b2ba; max-width: 40em; margin: 0; }

/* ---------- feature grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
}

.card {
  background: var(--panel);
  padding: 26px 24px 28px;
  transition: background 0.18s;
}

.card:hover { background: var(--panel-2); }

.card .num {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: #4d555c;
  margin: 0 0 16px;
}

.card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: #98a1a9;
  line-height: 1.55;
}

/* ---------- setup ---------- */

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}

.steps li:last-child { border-bottom: 1px solid var(--line-soft); }

.step-n {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--accent-dim);
  padding-top: 3px;
}

.steps h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 5px;
  letter-spacing: -0.01em;
}

.steps p {
  margin: 0;
  font-size: 0.9rem;
  color: #98a1a9;
}

.steps em { font-style: normal; color: #d5dde3; }

/* ---------- requirements ---------- */

.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.req {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 26px 24px;
  background: var(--panel);
}

.req h3 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d757d;
  margin: 0 0 16px;
}

.req ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.req li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: #b3bcc4;
  line-height: 1.5;
}

.req li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1px;
  background: #4d555c;
}

/* ---------- download ---------- */

.download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 0 clamp(18px, 4vw, 56px) clamp(56px, 7vw, 96px);
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid #2a3220;
  border-radius: 16px;
  background:
    radial-gradient(120% 140% at 90% 0%, rgba(212, 255, 63, 0.14), transparent 55%),
    #0b0e08;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
}

.download h2 { margin-bottom: 12px; }

.dl-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.dl-note {
  margin: 16px 0 0;
  font-size: 0.84rem;
  color: #d9c98a;
  max-width: 32em;
}

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--line-soft);
  padding: 34px clamp(18px, 4vw, 56px) 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: baseline;
}

.credit {
  margin: 0;
  font-size: 0.92rem;
  color: #cfd7de;
}

.fine {
  margin: 0;
  font-size: 0.76rem;
  color: #62696f;
  max-width: 62em;
  line-height: 1.6;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .window { max-width: 420px; }
  .section-split { grid-template-columns: 1fr; }
  .download { grid-template-columns: 1fr; }
  .dl-action { align-items: flex-start; }
  .nav-links { display: none; }
  .window-body { grid-template-columns: minmax(0, 1fr) 108px; }
}

@media (max-width: 480px) {
  .window-body { grid-template-columns: 1fr; }
  .side { display: none; }
  .cta-row .btn { width: 100%; }
}
