:root {
  color-scheme: dark;
  --ink: #0d0f0c;
  --panel: #141713;
  --panel-2: #1a1e19;
  --line: #2b3029;
  --line-bright: #46503f;
  --paper: #e9e9df;
  --muted: #92998d;
  --lime: #b6f36d;
  --amber: #e6b75c;
  --danger: #f07b67;
  --max: 1180px;
  font-family: "Avenir Next", Avenir, "Segoe UI Variable", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--ink);
  background-size: 40px 40px;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; color: var(--ink); background: var(--lime); }
.skip-link:focus { top: 16px; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.mono, code, .eyebrow, .tag, .nav-links, .button, .release-state, .footer, .data-table { font-family: "SFMono-Regular", "Cascadia Code", Consolas, monospace; }
.muted { color: var(--muted); }
.lime { color: var(--lime); }
.amber { color: var(--amber); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(70,80,63,.65);
  background: rgba(13,15,12,.9);
  backdrop-filter: blur(18px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 178px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 12px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.menu-button { display: none; width: 42px; height: 42px; color: var(--paper); border: 1px solid var(--line); background: var(--panel); font-size: 20px; }

.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line-bright);
  color: var(--paper);
  background: var(--panel-2);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); border-color: var(--paper); }
.button.primary { color: #10120f; border-color: var(--lime); background: var(--lime); }
.button.ghost { background: transparent; }
.button.small { min-height: 38px; padding-inline: 14px; font-size: 11px; }
.button[aria-disabled="true"] { color: var(--muted); pointer-events: none; }

.hero { padding: 90px 0 48px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr); gap: 64px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--lime); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(52px, 7.8vw, 104px); letter-spacing: -.075em; font-weight: 650; }
h1 em { color: var(--lime); font-style: normal; }
.lede { max-width: 620px; margin: 0; color: #b8beb3; font-size: clamp(17px, 2vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.release-state { min-height: 24px; margin-top: 15px; color: var(--muted); font-size: 10px; }

.app-window { position: relative; border: 1px solid var(--line-bright); background: #111410; box-shadow: 26px 34px 0 rgba(0,0,0,.28); transform: rotate(1.5deg); }
.app-window::before { content: "DEMO"; position: absolute; top: -29px; right: -1px; padding: 5px 10px; color: var(--ink); background: var(--amber); font: 800 9px "SFMono-Regular", monospace; letter-spacing: .14em; }
.window-bar { height: 38px; padding: 0 13px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); }
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #4b5148; }
.window-bar span { margin-left: auto; color: #6f776b; font: 8px "SFMono-Regular", monospace; letter-spacing: .12em; }
.window-body { display: grid; grid-template-columns: 116px 1fr; min-height: 390px; }
.mock-sidebar { padding: 18px 12px; border-right: 1px solid var(--line); }
.mock-logo { display: block; width: 34px; margin-bottom: 30px; }
.mock-nav { height: 7px; margin: 13px 0; background: #32372f; }
.mock-nav.active { background: var(--lime); }
.mock-main { padding: 24px; }
.mock-status { display: flex; justify-content: space-between; gap: 12px; padding: 18px; border: 1px solid var(--line); background: linear-gradient(110deg, var(--panel-2) 0 68%, rgba(182,243,109,.08) 68%); }
.mock-status small, .ledger small { color: var(--muted); font: 8px "SFMono-Regular", monospace; text-transform: uppercase; letter-spacing: .1em; }
.mock-status strong { display: block; margin-top: 10px; font-size: 18px; }
.status-dot { display: flex; align-items: center; gap: 7px; color: var(--lime); font: 8px "SFMono-Regular", monospace; }
.status-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(182,243,109,.09); }
.ledger-title { margin: 30px 0 12px; display: flex; align-items: end; justify-content: space-between; }
.ledger-title b { font-size: 14px; }
.ledger-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.ledger { min-height: 88px; padding: 13px; background: var(--panel); }
.ledger strong { display: block; margin-top: 18px; color: var(--paper); font: 500 19px "SFMono-Regular", monospace; }
.ledger strong.demo-value { color: #71796d; }
.mock-footer { margin-top: 15px; padding: 10px 12px; border: 1px solid rgba(182,243,109,.25); color: var(--lime); font: 8px "SFMono-Regular", monospace; }

.trust { border-block: 1px solid var(--line); background: rgba(20,23,19,.75); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 102px; padding: 23px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item b { display: block; color: var(--lime); font: 600 11px "SFMono-Regular", monospace; letter-spacing: .08em; text-transform: uppercase; }
.trust-item span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }

.section { padding: 110px 0; }
.section-head { display: grid; grid-template-columns: 150px 1fr; gap: 34px; margin-bottom: 54px; }
.section-index { color: var(--muted); font: 700 10px "SFMono-Regular", monospace; letter-spacing: .16em; }
.section h2, .page-hero h1 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 66px); letter-spacing: -.055em; }
.section-head p { max-width: 670px; margin: 0; color: var(--muted); font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.card { min-height: 300px; padding: 30px; background: var(--panel); }
.card .tag { color: var(--lime); font-size: 10px; letter-spacing: .12em; }
.card h3 { margin: 55px 0 14px; font-size: 25px; letter-spacing: -.035em; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card code { display: inline-block; margin-top: 25px; color: var(--amber); font-size: 11px; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: steps; }
.flow article { position: relative; min-height: 210px; padding: 26px 24px; border-top: 1px solid var(--line-bright); counter-increment: steps; }
.flow article::before { content: "0" counter(steps); display: block; margin-bottom: 58px; color: var(--lime); font: 700 11px "SFMono-Regular", monospace; }
.flow article:not(:last-child)::after { content: "→"; position: absolute; right: -20px; top: 20px; color: var(--line-bright); }
.flow h3 { margin-bottom: 10px; font-size: 18px; }
.flow p { margin: 0; color: var(--muted); font-size: 13px; }

.privacy-band { padding: 58px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; border: 1px solid rgba(182,243,109,.28); background: linear-gradient(120deg, rgba(182,243,109,.07), transparent 42%), var(--panel); }
.privacy-band h2 { font-size: clamp(34px, 4.8vw, 60px); letter-spacing: -.055em; }
.privacy-list { margin: 0; padding: 0; list-style: none; }
.privacy-list li { padding: 17px 0; display: flex; gap: 14px; border-bottom: 1px solid var(--line); color: #c5cabf; }
.privacy-list li::before { content: "✓"; color: var(--lime); font-family: monospace; }

.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 850px; margin-inline: auto; }
.price-card { position: relative; min-height: 390px; padding: 36px; border: 1px solid var(--line); background: var(--panel); }
.price-card.featured { border-color: var(--lime); }
.price-card.featured::before { content: "UNLIMITED"; position: absolute; right: 0; top: 0; padding: 7px 10px; color: var(--ink); background: var(--lime); font: 800 9px "SFMono-Regular", monospace; letter-spacing: .12em; }
.price-card h3 { margin-bottom: 34px; font-size: 18px; }
.price { font-size: 50px; line-height: 1; letter-spacing: -.06em; }
.price del { color: var(--muted); font-size: .55em; }
.price small { color: var(--muted); font-size: 13px; letter-spacing: 0; }
.price-card ul { min-height: 110px; margin: 34px 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.price-card li { margin: 9px 0; }
.price-card li::before { content: "+"; margin-right: 10px; color: var(--lime); font-family: monospace; }

.faq { max-width: 850px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 23px 40px 23px 0; cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--lime); font-family: monospace; }
.faq details[open] summary::after { content: "−"; }
.faq p { max-width: 700px; margin: -4px 0 24px; color: var(--muted); }

.final-cta { padding: 80px 0; border-block: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.final-cta .shell { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.final-cta h2 { max-width: 760px; margin: 0; font-size: clamp(42px, 6vw, 78px); letter-spacing: -.065em; }
.final-cta .button { flex: 0 0 auto; border-color: var(--ink); color: var(--paper); background: var(--ink); }

.footer { padding: 38px 0 48px; color: var(--muted); font-size: 10px; }
.footer-row { display: flex; justify-content: space-between; gap: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }

.page-hero { padding: 100px 0 60px; border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 700px; margin: 0; color: var(--muted); font-size: 18px; }
.content { max-width: 820px; padding-block: 70px 110px; }
.content h2 { margin: 54px 0 14px; font-size: 28px; letter-spacing: -.03em; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin: 34px 0 10px; font-size: 18px; }
.content p, .content li { color: #adb4a8; }
.content a { color: var(--lime); }
.callout { margin: 34px 0; padding: 20px 22px; border-left: 3px solid var(--lime); background: var(--panel); }
.callout.warning { border-left-color: var(--amber); }
.callout.danger { border-left-color: var(--danger); }

.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 32px 0; }
.download-card { min-height: 190px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--panel); }
.download-card h3 { margin: 0 0 8px; }
.download-meta { color: var(--muted); font: 10px "SFMono-Regular", monospace; }
.download-card .button { align-self: flex-start; margin-top: auto; }
.release-fallback { padding: 26px; border: 1px dashed var(--line-bright); color: var(--muted); }
.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 30px; border: 1px solid var(--line); background: var(--line); counter-reset: install; }
.install-steps li { min-height: 150px; padding: 23px; background: var(--panel); list-style: none; counter-increment: install; }
.install-steps li::before { content: "0" counter(install); display: block; margin-bottom: 24px; color: var(--lime); font: 700 10px "SFMono-Regular", monospace; }
.data-table { width: 100%; border-collapse: collapse; margin: 30px 0; font-size: 12px; }
.data-table th, .data-table td { padding: 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: var(--lime); background: var(--panel-2); }
.data-table td { color: var(--muted); background: var(--panel); }
.status-panel { margin-top: 35px; padding: 35px; border: 1px solid var(--line-bright); background: var(--panel); }
.status-panel .status-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid currentColor; color: var(--lime); font: 700 24px monospace; }
.status-panel.warning .status-icon { color: var(--amber); }
.status-panel h2 { margin: 0 0 12px; }

.reveal { animation: reveal .55s ease-out both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .app-window { max-width: 610px; transform: none; }
  .trust-grid, .cards { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow article:nth-child(2)::after { display: none; }
  .privacy-band { grid-template-columns: 1fr; padding: 40px; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .nav { min-height: 64px; }
  .menu-button { display: grid; place-items: center; }
  .nav-links { position: absolute; inset: 64px 0 auto; padding: 20px; display: none; align-items: stretch; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); background: var(--ink); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px max(16px, calc((100vw - var(--max)) / 2)); }
  .nav-links .button { margin-top: 10px; }
  .hero { padding-top: 64px; }
  .hero-grid { gap: 56px; }
  h1 { font-size: clamp(50px, 17vw, 76px); }
  .window-body { grid-template-columns: 72px 1fr; min-height: 340px; }
  .mock-main { padding: 16px; }
  .mock-sidebar { padding: 16px 10px; }
  .mock-logo { width: 23px; }
  .mock-logo i { height: 23px; }
  .trust-grid, .cards, .pricing, .download-grid, .install-steps { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 78px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .flow { grid-template-columns: 1fr; }
  .flow article { min-height: 170px; }
  .flow article::before { margin-bottom: 34px; }
  .flow article:not(:last-child)::after { display: none; }
  .privacy-band { padding: 28px; gap: 30px; }
  .final-cta .shell, .footer-row { align-items: stretch; flex-direction: column; }
  .page-hero { padding-top: 70px; }
  .content { padding-top: 48px; }
  .data-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
