@font-face { font-family: "Plex"; src: url(assets/fonts/IBMPlexSans-Light.ttf) format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Plex"; src: url(assets/fonts/IBMPlexSans-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url(assets/fonts/IBMPlexSans-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(assets/fonts/IBMPlexMono-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --bg: #020203; --surface: #0B0B0D; --line: #1A1A1E; --line-hi: #2A2A30;
  --text: #F2F2F4; --label: #D6D6DB; --muted: #8E8E98; --faint: #5E5E68;
  --accent: #8B5CF6; --accent-soft: #B9A2FF; --accent-fill: #1F1636; --accent-line: #7C5CE6;
  --pink: #D07CFF;
  --sans: "Plex", "Segoe UI", system-ui, sans-serif; --mono: "Plex Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--label); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
b, strong, h1, h2, h3 { font-weight: 500; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.mono { font-family: var(--mono); }
.hl { color: var(--text); font-weight: 500; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 56px); background: rgba(2, 2, 3, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 500; letter-spacing: .02em; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: clamp(14px, 3vw, 32px); }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .15s; }
.nav nav a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; text-align: center; padding: clamp(64px, 11vw, 120px) 20px 0; overflow: hidden; }
.glow { position: absolute; inset: -20% 0 auto; height: 900px; pointer-events: none;
  background: radial-gradient(600px 380px at 50% 28%, rgba(139, 92, 246, .26), transparent 70%),
              radial-gradient(900px 500px at 50% 60%, rgba(208, 124, 255, .08), transparent 70%); }
.hero > :not(.glow) { position: relative; }
.hero-icon { margin: 0 auto 26px; border-radius: 22px; box-shadow: 0 0 0 10px rgba(139, 92, 246, .1), 0 0 0 11px rgba(139, 92, 246, .28), 0 20px 60px rgba(208, 92, 234, .35); }
.eyebrow { margin: 0; color: var(--accent-soft); letter-spacing: .32em; text-transform: uppercase; font-size: 13px; font-weight: 500; }
h1 { margin: 6px 0 14px; color: var(--text); font-size: clamp(48px, 9vw, 88px); letter-spacing: .14em; font-weight: 500; line-height: 1.05; }
.lede { max-width: 620px; margin: 0 auto; color: var(--label); font-size: clamp(18px, 2.2vw, 21px); font-weight: 300; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 34px 0 14px; }
.button { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 10px; text-decoration: none;
  color: var(--text); font-weight: 500; font-size: 16px; border: 1px solid var(--line-hi); background: var(--surface); transition: transform .15s, border-color .15s, background .15s; }
.button:hover { border-color: var(--accent-line); transform: translateY(-1px); }
.button.primary { background: var(--accent); border-color: #A07CFF; box-shadow: 0 10px 30px rgba(139, 92, 246, .35); }
.button.primary:hover { background: #9A70FA; }
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fine { margin: 0; color: var(--faint); font-size: 14px; }
.hero-shot { margin: clamp(48px, 7vw, 80px) auto 0; max-width: 820px; padding: 10px; border-radius: 18px;
  border: 1px solid var(--line-hi); background: linear-gradient(180deg, #120E1C, var(--surface));
  box-shadow: 0 40px 120px rgba(139, 92, 246, .18); -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.hero-shot img { border-radius: 10px; width: 100%; }

/* Features */
section { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.features { padding-top: 40px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(48px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.feature:first-child { border-top: 0; }
.feature img { border-radius: 14px; border: 1px solid var(--line-hi); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); justify-self: center; max-height: 560px; width: auto; }
.feature.flip .text { order: 2; }
.tag { margin: 0 0 8px; color: var(--accent-soft); font-size: 14px; }
h2 { margin: 0 0 16px; color: var(--text); font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.feature p:not(.tag) { margin: 0 0 14px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; padding: 8px 0 clamp(56px, 8vw, 96px); }
.card { padding: 22px 22px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-hi); transform: translateY(-2px); }
h3 { margin: 0 0 6px; color: var(--text); font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Install */
.install { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.install ol { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.install li { display: flex; gap: 14px; padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.install li p { margin: 0; color: var(--muted); font-size: 15px; }
.n { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-fill); border: 1px solid var(--accent-line); color: var(--accent-soft); font-size: 14px; }
.notes { display: grid; gap: 10px; padding: 22px 24px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, #0E0B16, var(--surface)); }
.notes p { margin: 0; color: var(--muted); font-size: 15px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px clamp(20px, 5vw, 56px) 44px; text-align: center; color: var(--faint); font-size: 13.5px; }
footer p { max-width: 860px; margin: 0 auto 12px; }
footer .links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
footer .links a { color: var(--muted); text-decoration: none; }
footer .links a:hover { color: var(--text); }

@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .text { order: 0; }
  .install ol { grid-template-columns: 1fr; }
  .nav nav a:not(:last-child) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
