:root {
  color-scheme: dark;
  --ink: #f6f3fb;
  --muted: #aaa3b5;
  --muted-strong: #d0cad8;
  --surface: #100d15;
  --surface-2: #17121e;
  --surface-3: #21162d;
  --line: #33283f;
  --purple: #8c43ed;
  --purple-bright: #ae6dff;
  --purple-deep: #5f1fb2;
  --green: #6be5a2;
  --warning: #eec66d;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #09070c;
  background-size: 42px 42px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -10000px; top: 0; }
.skip-link:focus { left: 16px; top: 12px; z-index: 100; background: white; color: black; padding: 10px 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(9,7,12,.86);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 0; text-decoration: none; font-size: 1.1rem; font-weight: 720; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; object-fit: contain; margin-right: -2px; }
.brand-publisher { color: var(--muted); font-size: .72rem; font-weight: 550; margin-left: 10px; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: var(--muted-strong); text-decoration: none; font-size: .92rem; }
.site-nav a:hover, .site-nav a:focus-visible { color: white; }
.menu-button { display: none; border: 1px solid var(--line); color: white; background: var(--surface-2); border-radius: 10px; padding: 8px 12px; font: inherit; }

.eyebrow { margin: 0 0 14px; color: var(--purple-bright); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { margin-bottom: 24px; font-size: clamp(3rem, 7vw, 6.7rem); max-width: 920px; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.65rem); }
h3 { font-size: 1.22rem; }
p { color: var(--muted-strong); }
.lead { max-width: 720px; font-size: clamp(1.08rem, 2vw, 1.3rem); color: #d9d3df; }
.fine-print { font-size: .85rem; color: var(--muted); }
.hero { position: relative; overflow: hidden; padding: clamp(78px, 12vw, 150px) 0 62px; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -240px; top: -210px; border-radius: 50%; background: radial-gradient(circle, rgba(140,67,237,.32), rgba(140,67,237,0) 68%); pointer-events: none; }
.hero-copy { position: relative; }
.hero h1 span { color: var(--purple-bright); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border-radius: 12px; padding: 0 19px; border: 1px solid #9b56ee; background: linear-gradient(135deg, var(--purple), var(--purple-deep)); color: white; text-decoration: none; font-weight: 750; box-shadow: 0 12px 38px rgba(83,29,145,.28); }
.button.secondary { border-color: var(--line); background: rgba(23,18,30,.75); box-shadow: none; color: #e8e3ed; }
.button.is-disabled { border-color: #3f3548; background: #211c27; box-shadow: none; color: #8f8798; cursor: not-allowed; }
.status-line { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 16px rgba(238,198,109,.7); }

.product-frame { position: relative; margin: 48px auto 0; border: 1px solid #3b2d49; border-radius: 22px; background: #100c15; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 60px rgba(111,47,181,.12); overflow: hidden; }
.product-frame::before { content: attr(data-label); display: block; padding: 10px 16px; color: #b9b0c2; background: #15101b; border-bottom: 1px solid #32263e; font-size: .75rem; letter-spacing: .02em; }
.product-frame img { width: 100%; }

.section { padding: clamp(76px, 10vw, 126px) 0; }
.section-rule { border-top: 1px solid rgba(255,255,255,.08); }
.section-intro { max-width: 720px; margin-bottom: 42px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: linear-gradient(145deg, rgba(27,21,35,.94), rgba(14,11,18,.94)); }
.card .index { color: var(--purple-bright); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.card p:last-child { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 7vw, 88px); align-items: center; }
.shot { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #0d0a10; }
.shot figcaption { padding: 14px 18px; color: var(--muted); font-size: .82rem; border-top: 1px solid var(--line); }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; }
.check-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid rgba(255,255,255,.07); color: #d8d2de; }
.check-list li::before { content: ""; position: absolute; left: 1px; top: 20px; width: 9px; height: 9px; border: 2px solid var(--purple-bright); border-radius: 50%; }
.notice { border-left: 3px solid var(--purple); padding: 17px 20px; background: rgba(140,67,237,.09); color: #d7d0dd; }

.page-hero { padding: 92px 0 50px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.3rem); }
.content-layout { display: grid; grid-template-columns: minmax(0, 760px) 240px; gap: 76px; align-items: start; }
.prose h2 { margin-top: 58px; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.prose h3 { margin-top: 36px; }
.prose p, .prose li { color: #c7c0ce; }
.prose li + li { margin-top: 9px; }
.prose a { color: #c896ff; }
.prose code { overflow-wrap: anywhere; }
.side-nav { position: sticky; top: 104px; border-left: 1px solid var(--line); padding-left: 20px; }
.side-nav a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: .88rem; }
.release-box { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.release-row { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 18px 22px; background: rgba(20,16,26,.92); border-bottom: 1px solid var(--line); }
.release-row:last-child { border-bottom: 0; }
.release-row dt { color: var(--muted); }
.release-row dd { margin: 0; color: #e8e3ec; overflow-wrap: anywhere; }

.ecosystem { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ecosystem a { border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-decoration: none; background: rgba(19,15,25,.82); }
.ecosystem a:hover { border-color: #7241a7; transform: translateY(-2px); }
.ecosystem strong, .ecosystem span { display: block; }
.ecosystem span { color: var(--muted); margin-top: 4px; font-size: .88rem; }

.site-footer { border-top: 1px solid rgba(255,255,255,.08); padding: 42px 0 54px; background: rgba(8,6,10,.85); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.footer-links a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; font-size: .88rem; }
.footer-links a:hover { color: white; }
.footer-note { margin-top: 34px; color: #777080; font-size: .78rem; }

@media (max-width: 860px) {
  .menu-button { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; padding: 18px 20px 24px; flex-direction: column; align-items: stretch; gap: 0; background: #0d0a11; border-bottom: 1px solid var(--line); }
  .site-nav a { padding: 11px 0; }
  .menu-open .site-nav { display: flex; }
  .feature-grid, .ecosystem { grid-template-columns: 1fr 1fr; }
  .two-col, .content-layout { grid-template-columns: 1fr; }
  .side-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .brand-publisher { display: none; }
  .hero { padding-top: 62px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.3rem); }
  .hero-actions .button { width: 100%; }
  .feature-grid, .ecosystem, .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .release-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
