:root {
  --bg: #f7f7fb; --surface: #ffffff; --surface-2: #f0f0f7; --ink: #12121c; --ink-2: #4d4d60; --ink-3: #82829a;
  --line: #e2e2ec; --accent: #5b5bf0; --accent-strong: #4646d6; --accent-soft: #ebebfe; --live: #14b88a;
  --shadow: 0 1px 2px rgb(18 18 28 / .04), 0 10px 30px rgb(18 18 28 / .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0c14; --surface: #14141f; --surface-2: #1b1b29; --ink: #ececf5; --ink-2: #a9a9c0; --ink-3: #74748c;
    --line: #26263a; --accent-soft: #1d1d3d; --accent-strong: #8b8bff; --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0c14; --surface: #14141f; --surface-2: #1b1b29; --ink: #ececf5; --ink-2: #a9a9c0; --ink-3: #74748c;
  --line: #26263a; --accent-soft: #1d1d3d; --accent-strong: #8b8bff; --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
a { color: inherit; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 14px max(16px, calc((100vw - 1080px) / 2)); background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; }
.links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--ink-2); }
.links a { text-decoration: none; }
.links a:hover { color: var(--ink); }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.hero { padding: 88px 0 40px; max-width: 760px; }
.eyebrow { display: inline-block; margin: 0 0 20px; font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); background: var(--accent-soft); padding: 8px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 6.4vw, 62px); line-height: 1.05; font-weight: 800; }
.lede { font-size: 19px; color: var(--ink-2); margin: 22px 0 0; max-width: 640px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-strong); }
.btn.ghost { border-color: var(--line); color: var(--ink-2); background: var(--surface); }
.btn.ghost:hover { color: var(--ink); }

.section { padding: 72px 0 0; scroll-margin-top: 70px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.section-head p { color: var(--ink-2); margin: 8px 0 0; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 26px; }
.product { display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; box-shadow: var(--shadow); transition: transform .18s, border-color .18s; }
a.product:hover, a.product:focus-visible { transform: translateY(-3px); border-color: var(--live); outline: none; }
a.product:hover .product-cta span { transform: translateX(4px); }
.product-top { display: flex; align-items: flex-start; justify-content: space-between; }
.product-icon { display: block; line-height: 0; }
.product-icon.placeholder { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; border: 1.5px dashed var(--line); color: var(--ink-3); }
.status { font: 500 12px/1 "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; }
.status.live { color: var(--live); border-color: color-mix(in srgb, var(--live) 40%, transparent); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 60%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } .product, .product-cta span { transition: none; } }
.product h3 { font-size: 24px; margin-top: 18px; }
.product-tag { margin: 2px 0 0; color: var(--live); font-weight: 600; font-size: 14px; }
.product-desc { color: var(--ink-2); margin: 12px 0 0; font-size: 15px; }
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font: 500 12px/1 "JetBrains Mono", monospace; padding: 6px 9px; border-radius: 8px; background: var(--surface-2); color: var(--ink-2); }
.product-cta { margin-top: auto; padding-top: 22px; font-weight: 700; color: var(--ink); display: inline-flex; gap: 6px; }
.product-cta span { transition: transform .18s; }
.product.soon { background: transparent; box-shadow: none; border-style: dashed; }
.product.soon h3 { color: var(--ink-2); }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 26px; }
.principles article { padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.principles h3 { font-size: 18px; }
.principles p { color: var(--ink-2); margin: 8px 0 0; font-size: 15px; }

.footer { text-align: center; color: var(--ink-3); font-size: 14px; padding: 80px 16px 40px; }
.footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 10px; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--ink); }

@media (max-width: 560px) { .hero { padding-top: 56px; } .links { gap: 14px; } }
