/* Strix landing: monochrome base, nav, hero and the product mocks over the dune panels. */
:root {
  --bg: #0a0a0a;
  --surface: #121212;
  --surface-2: #171717;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --dim: #8c8c8c;
  --muted: #6b6b6b;
  --sans: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(16px, 4vw, 80px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--dim); font: 400 15px/1.55 var(--sans); letter-spacing: 0.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.22; }
h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.32; }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.32; }
h4 { font-size: 16px; }
p { margin: 0; }
.dim { color: var(--dim); }
.label { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Announcement bar + nav */
.announce { display: block; padding: 9px 16px; background: #141414; color: #e5e5e5; text-align: center; font-size: 13px; border-bottom: 1px solid var(--line); }
.announce:hover { color: #fff; }
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 80px); max-width: 1280px; margin: 0 auto;
  background: rgba(10, 10, 10, 0.82); backdrop-filter: blur(12px);
}
.nav-left { display: flex; align-items: center; gap: 28px; }
.nav nav { display: flex; gap: 22px; font-size: 14px; }
.nav nav a, .nav-link { color: var(--dim); transition: color 0.2s; }
.nav nav a:hover, .nav-link:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 22px; }

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; border: 0;
  background: #fff; color: #0a0a0a; font: 500 14px var(--sans); cursor: pointer; white-space: nowrap;
  transition: transform 0.2s, background 0.2s;
}
.pill:hover { transform: translateY(-1px); background: #e8e8e8; }
.pill span { font-size: 16px; line-height: 1; transition: transform 0.2s; }
.pill:hover span { transform: translateX(2px); }
.pill.ghost { background: #222; color: #fff; }
.pill.ghost:hover { background: #2c2c2c; }
button.link { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; }

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 72px); }
.hero h1 { margin-bottom: 36px; }
.hero-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 48px; }
.hero-side .lede { color: var(--text); font-size: clamp(20px, 1.9vw, 25px); line-height: 1.32; margin-bottom: 36px; }
ul.plain { list-style: none; margin: 0; padding: 0; color: var(--text); font-size: 14px; line-height: 1.95; }

/* Dune panel: generated greyscale texture (art.js) behind a product mock. */
.stage { position: relative; display: grid; place-items: center; min-height: 420px; padding: clamp(20px, 4vw, 48px); overflow: hidden; background: #8a8a8a; }
.stage.wide { grid-column: 1 / -1; min-height: 480px; margin-top: 56px; }
.stage > canvas.dunes { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Product mock */
.mock {
  position: relative; z-index: 1; width: 100%; max-width: 760px; padding: 10px; border-radius: 14px;
  background: #0d0d0d; border: 1px solid rgba(255, 255, 255, 0.06); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.75);
  color: var(--dim); font-size: 12px;
}
.mock.narrow { max-width: 680px; }
.mock-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 12px; font-size: 11px; color: var(--muted); }
.mock-brand { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.mock-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6px; }
.panel { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 10px; background: var(--surface); min-height: 100%; }
.panel small { color: var(--muted); font-size: 11px; }
.panel b { display: block; color: var(--text); font-weight: 400; font-size: 18px; margin-top: 2px; }
.panel b.big { font-size: 22px; }
.who { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.who strong { display: block; color: var(--text); font-weight: 400; font-size: 13px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e5e5e5; color: #0a0a0a; font-size: 12px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ledger { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-family: var(--mono); font-size: 11px; }
.ledger li { display: flex; justify-content: space-between; }
.ledger code { color: var(--text); font-family: inherit; }
.ledger span { color: var(--text); }
.limit { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text); }
.chart-head { display: flex; justify-content: space-between; }
.chart-head .right { text-align: right; }
canvas.chart { width: 100%; height: 170px; }
.legend { display: flex; gap: 18px; font-size: 10px; color: var(--muted); }
.legend i { display: inline-block; width: 14px; height: 0; margin-right: 6px; vertical-align: middle; border-top: 1px solid #fff; }
.legend i.dashed { border-top-style: dashed; border-color: #777; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mock-cols { grid-template-columns: 1fr; }
  .nav nav { display: none; }
}
@media (max-width: 480px) { .nav-actions { gap: 16px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
