:root {
  color-scheme: dark;
  --bg: #050506;
  --panel: #0d0e10;
  --line: rgba(255, 255, 255, 0.11);
  --muted: #9299a3;
  --text: #f4f5f7;
  --green: #44e2a2;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 72% 13%, rgba(37, 195, 134, 0.11), transparent 29%), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}

.nav, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.nav { height: 84px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 680; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
nav a:hover { color: var(--text); }
.github { color: var(--text); border: 1px solid var(--line); padding: 10px 15px; border-radius: 999px; }

.hero { min-height: 750px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 7vw; padding: 58px 0 90px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 720; color: var(--muted); }
.hero .eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }
h1 { font-size: clamp(54px, 6.2vw, 92px); line-height: .95; letter-spacing: -.065em; margin: 0; max-width: 750px; }
h1 em { color: var(--green); font-style: normal; }
.lede { color: #b4bac2; font-size: 19px; line-height: 1.65; max-width: 580px; margin: 30px 0 34px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.actions a { padding: 14px 19px; border-radius: 12px; font-weight: 650; font-size: 14px; transition: transform .2s, background .2s; }
.actions a:hover { transform: translateY(-2px); }
.primary { color: #03120c; background: var(--green); }
.primary:hover { background: #67edb7; }
.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.release-note { color: #707781; font-size: 12px; margin: 17px 2px; }

.stage { position: relative; height: 640px; display: grid; place-items: center; overflow: hidden; }
.glow { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: rgba(43, 220, 148, .16); filter: blur(90px); }
.app-shot { position: relative; width: min(100%, 470px); max-height: 620px; object-fit: cover; object-position: top; border-radius: 24px; box-shadow: 0 42px 100px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.12); transform: rotate(1.5deg); }

.trust { border-block: 1px solid var(--line); min-height: 88px; display: flex; justify-content: space-around; align-items: center; gap: 18px; color: #aab0b8; font-size: 12px; text-transform: uppercase; letter-spacing: .11em; }
.trust i { width: 3px; height: 3px; border-radius: 50%; background: #48505a; }

.features { padding: 130px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 48px; }
h2 { font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -.05em; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.grid article { min-height: 280px; padding: 28px; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); border-right: 1px solid var(--line); }
.grid article:last-child { border: 0; }
.number { color: var(--green); font-family: ui-monospace, monospace; font-size: 12px; }
h3 { margin: 105px 0 12px; font-size: 20px; letter-spacing: -.025em; }
.grid p, .source-copy p, .warning p { color: var(--muted); line-height: 1.65; font-size: 14px; margin: 0; }

.source { padding: 110px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.source-copy { max-width: 500px; }
.source-copy p { font-size: 17px; }
.source-copy a { display: inline-flex; gap: 8px; color: var(--green); margin-top: 28px; font-weight: 650; }
.warning { display: grid; grid-template-columns: 180px 1fr; gap: 40px; border: 1px solid rgba(255, 190, 92, .25); background: rgba(255, 190, 92, .055); padding: 24px; border-radius: 15px; margin-bottom: 110px; }
.warning strong { color: #ffd18b; }

footer { border-top: 1px solid var(--line); min-height: 110px; display: flex; align-items: center; justify-content: space-between; color: #757c85; font-size: 12px; }
footer span:first-child { color: var(--text); font-weight: 700; }
footer a:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { text-align: center; }
  .hero .eyebrow, .lede, .actions { justify-content: center; margin-inline: auto; }
  .stage { height: 580px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .grid article:nth-child(2) { border-right: 0; }
  .grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .source { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .nav, main, footer { width: min(100% - 24px, 1180px); }
  nav a:not(.github) { display: none; }
  .hero { min-height: auto; padding-top: 70px; }
  h1 { font-size: 54px; }
  .stage { height: 520px; }
  .app-shot { width: 350px; max-height: 500px; }
  .trust { flex-wrap: wrap; padding: 24px 8px; }
  .grid { grid-template-columns: 1fr; }
  .grid article { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .grid article:last-child { border-bottom: 0; }
  h3 { margin-top: 60px; }
  .warning { grid-template-columns: 1fr; gap: 10px; }
  footer { align-items: flex-start; padding: 30px 0; flex-direction: column; gap: 12px; }
}
