:root {
  color-scheme: dark;
  --bg: #0a0c0e;
  --surface: #101318;
  --card: #121519;
  --card-hover: #161b21;
  --border: #20252c;
  --border-strong: #323a43;
  --text: #e6e8eb;
  --secondary: #9aa0a6;
  --muted: #7d858e;
  --faint: #566270;
  --accent: #3fb950;
  --accent-hover: #4ac65c;
  --warning: #e0a516;
  --critical: #f85149;
  --shell: 1200px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid rgba(63,185,80,.45); outline-offset: 3px; }
.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 18px; top: 12px; z-index: 100; padding: 9px 14px; color: #08100a; background: var(--accent); border-radius: 7px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .14s ease, border-color .14s ease; }
.site-header.is-scrolled, .site-header:has(.menu-toggle[aria-expanded="true"]) { background: rgba(10,12,14,.9); border-color: rgba(32,37,44,.9); backdrop-filter: blur(16px); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; font-weight: 720; letter-spacing: -.02em; }
.brand img { border-radius: 7px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; margin-right: 30px; }
.desktop-nav a, .site-footer nav a { color: var(--secondary); font-size: 13px; transition: color .14s ease; }
.desktop-nav a:hover, .site-footer nav a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.language { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 13px 11px; border: 0; color: var(--text); background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; margin: 6px 0; background: currentColor; transition: transform .14s ease; }
.menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { padding: 8px 24px 20px; background: var(--bg); border-bottom: 1px solid var(--border); }
.mobile-menu a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid rgba(32,37,44,.65); font-weight: 600; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px; font-weight: 680; line-height: 1; cursor: pointer; transition: color .14s ease, background .14s ease, border-color .14s ease, transform .14s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button-small { min-height: 36px; padding-inline: 15px; border-radius: 7px; font-size: 12px; }
.button-primary { color: #08100a; background: var(--accent); border-color: var(--accent); }
.button-primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
.button-primary:disabled { color: #637368; background: #233127; border-color: #2e3f33; cursor: not-allowed; }
.button-secondary { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.button-secondary:hover { background: var(--card-hover); border-color: #46505b; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--secondary); font-weight: 600; }
.text-link span { color: var(--accent); }
.text-link:hover { color: var(--text); }

.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(520px, 7fr); align-items: center; gap: 70px; min-height: 860px; padding-top: 114px; padding-bottom: 76px; }
.hero-copy { padding-bottom: 12px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--accent); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow span { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px rgba(63,185,80,.8); }
.hero h1 { margin-bottom: 24px; font-size: clamp(44px, 4.15vw, 62px); font-weight: 690; letter-spacing: -.045em; line-height: 1.08; }
.hero-lede { max-width: 520px; margin-bottom: 30px; color: var(--secondary); font-size: 18px; line-height: 1.68; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.availability { margin-top: 20px; margin-bottom: 0; color: var(--faint); font-size: 12px; }
.hero-product { position: relative; }
.screenshot-label { position: absolute; z-index: 2; right: 17px; top: -14px; display: flex; align-items: center; gap: 7px; padding: 6px 9px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 6px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.screenshot-label span { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.product-shot { position: relative; margin: 0; padding: 7px; overflow: hidden; background: #0d1014; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 28px 80px rgba(0,0,0,.36); }
.product-shot::after { position: absolute; inset: 6px; pointer-events: none; content: ""; border: 1px solid rgba(255,255,255,.035); border-radius: 7px; }
.product-shot img { display: block; width: 100%; background: #0d1014; border-radius: 7px; }

.section { padding-block: 110px; }
.section-heading { max-width: 770px; margin-bottom: 48px; }
.section-heading h2, .security-intro h2, .download-panel h2 { margin-bottom: 0; font-size: clamp(30px, 3vw, 42px); font-weight: 650; letter-spacing: -.035em; line-height: 1.22; }
.compact-heading { max-width: 620px; }
.section-kicker { margin-bottom: 14px; color: var(--faint); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { min-height: 255px; padding: 25px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; transition: background .14s ease, border-color .14s ease, transform .14s ease; }
.feature-card:hover { background: var(--card-hover); border-color: var(--border-strong); transform: translateY(-2px); }
.feature-card h3 { margin: 24px 0 9px; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.feature-card p { margin-bottom: 0; color: var(--secondary); font-size: 14px; }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--secondary); background: #101318; border: 1px solid var(--border-strong); border-radius: 9px; }
.stack-icon, .stack-icon::after { display: block; width: 18px; height: 14px; border: 1.5px solid currentColor; border-radius: 2px; content: ""; }
.stack-icon { position: relative; }
.stack-icon::after { position: absolute; left: 4px; top: 4px; }
.clock-icon { position: relative; width: 20px; height: 20px; border: 1.5px solid currentColor; border-radius: 50%; }
.clock-icon::before, .clock-icon::after { position: absolute; left: 9px; top: 4px; width: 1.5px; height: 6px; content: ""; background: currentColor; transform-origin: bottom; }
.clock-icon::after { transform: rotate(125deg); }
.shield-icon { width: 18px; height: 21px; border: 1.5px solid currentColor; border-radius: 9px 9px 12px 12px; clip-path: polygon(50% 0,100% 18%,90% 70%,50% 100%,10% 70%,0 18%); }

.product-focus { background: #0c0f12; border-block: 1px solid rgba(32,37,44,.75); }
.wide-heading { max-width: 880px; }
.focus-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; align-items: center; }
.callout-list { display: grid; gap: 4px; }
.callout { display: grid; width: 100%; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 16px 14px; color: var(--muted); background-color: transparent; border: 0; border-left: 2px solid var(--border); border-radius: 0; -webkit-appearance: none; appearance: none; box-shadow: none; font: inherit; line-height: 1.4; text-align: left; cursor: pointer; transition: color .14s ease, background-color .14s ease, border-color .14s ease; }
.callout:hover { color: var(--secondary); background: rgba(255,255,255,.018); }
.callout:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.callout.is-active { color: var(--text); background: rgba(63,185,80,.055); border-color: var(--accent); }
.callout > span { color: var(--faint); font-family: var(--mono); font-size: 10px; }
.callout > span:last-child { display: grid; gap: 3px; color: inherit; font-family: var(--sans); }
.callout strong { font-size: 14px; }
.callout small { color: var(--muted); font-size: 12px; line-height: 1.55; }
.product-shot-large { border-radius: 10px; box-shadow: none; }
.product-shot-large img { transition: opacity .14s ease; }

.security-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
.security-intro > p:not(.section-kicker) { max-width: 570px; margin: 20px 0 30px; color: var(--secondary); font-size: 17px; }
.data-flow { display: grid; grid-template-columns: 1fr 110px 1fr; align-items: center; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.flow-node, .flow-local { display: flex; min-height: 94px; flex-direction: column; align-items: center; justify-content: center; padding: 12px; text-align: center; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 7px; }
.flow-node strong, .flow-local strong { font-size: 12px; }
.flow-node span, .flow-local span { color: var(--muted); font-family: var(--mono); font-size: 9px; }
.flow-line { position: relative; color: var(--muted); text-align: center; font-family: var(--mono); font-size: 8px; }
.flow-line::before { display: block; height: 1px; margin-bottom: 8px; content: ""; background: var(--accent); }
.flow-line::after { position: absolute; right: -1px; top: -3px; width: 6px; height: 6px; content: ""; border-right: 1px solid var(--accent); border-top: 1px solid var(--accent); transform: rotate(45deg); }
.flow-local { grid-column: 1; min-height: 72px; border-style: dashed; }
.trust-list { display: grid; gap: 10px; }
.trust-list article { display: grid; grid-template-columns: 42px 1fr; gap: 16px; min-height: 110px; align-items: center; padding: 19px; background: var(--card); border: 1px solid var(--border); border-radius: 9px; }
.trust-list h3 { margin-bottom: 4px; font-size: 15px; }
.trust-list p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.trust-icon { position: relative; display: block; width: 30px; height: 30px; color: var(--secondary); }
.trust-icon::before, .trust-icon::after { position: absolute; content: ""; }
.trust-icon.lock::before { inset: 10px 4px 2px; border: 1.5px solid currentColor; border-radius: 4px; }
.trust-icon.lock::after { left: 9px; top: 2px; width: 10px; height: 12px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 7px 7px 0 0; }
.trust-icon.database { border: 1.5px solid currentColor; border-radius: 50%; }
.trust-icon.database::before { inset: 7px -2px; border-block: 1.5px solid currentColor; }
.trust-icon.key::before { width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 50%; }
.trust-icon.key::after { width: 16px; height: 1.5px; left: 11px; top: 16px; background: currentColor; transform: rotate(-42deg); transform-origin: left; }
.trust-icon.check { border: 1.5px solid currentColor; border-radius: 50%; }
.trust-icon.check::after { left: 8px; top: 9px; width: 11px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }

.use-cases { background: var(--surface); border-block: 1px solid var(--border); }
.centered-heading { margin-inline: auto; text-align: center; }
.centered-heading .section-kicker { justify-content: center; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; background: var(--border); border: 1px solid var(--border); border-radius: 10px; }
.use-case-grid article { min-height: 220px; padding: 26px; background: var(--card); }
.use-case-grid span { color: var(--accent); font-family: var(--mono); font-size: 10px; }
.use-case-grid h3 { margin: 45px 0 8px; font-size: 17px; }
.use-case-grid p { margin-bottom: 0; color: var(--secondary); font-size: 13px; }

.download-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: center; padding: 55px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
.download-panel h2 { max-width: 760px; }
.download-panel p:not(.section-kicker) { max-width: 680px; margin: 18px 0 0; color: var(--muted); }
.download-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; min-width: 230px; }
.download-actions .button { width: 100%; }

.site-footer { padding-block: 46px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
.site-footer p { margin: 4px 0 0; color: var(--faint); font-size: 11px; }
.site-footer nav { display: flex; gap: 24px; }
.footer-meta { display: flex; justify-content: flex-end; gap: 20px; color: var(--faint); font-family: var(--mono); font-size: 10px; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(430px, 6fr); gap: 40px; min-height: 780px; }
  .desktop-nav { gap: 22px; margin-right: 22px; }
  .security-layout { gap: 42px; }
  .data-flow { grid-template-columns: 1fr; }
  .flow-line { padding-block: 5px; }
  .flow-line::before { width: 1px; height: 26px; margin: 0 auto 7px; }
  .flow-line::after { display: none; }
  .flow-local { grid-column: auto; }
  .download-panel { padding: 42px; }
}

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 48px), var(--shell)); }
  .desktop-nav, .language, .nav-actions > .button { display: none; }
  .menu-toggle { display: block; }
  .hero { grid-template-columns: 1fr; gap: 52px; min-height: auto; padding-top: 150px; }
  .hero-copy { max-width: 680px; }
  .hero h1 { font-size: clamp(44px, 9vw, 62px); }
  .problem-grid, .use-case-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .focus-layout { grid-template-columns: 1fr; }
  .callout-list { grid-template-columns: 1fr 1fr; }
  .security-layout { grid-template-columns: 1fr; }
  .download-panel { grid-template-columns: 1fr; gap: 32px; }
  .download-actions { align-items: flex-start; }
  .download-actions .button { width: auto; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-meta { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .shell { width: min(calc(100% - 40px), var(--shell)); }
  .hero { padding-top: 126px; padding-bottom: 54px; }
  .hero h1 { font-size: 38px; }
  .hero-lede { font-size: 17px; }
  .button-row { flex-direction: column; }
  .button-row .button { width: 100%; }
  .section { padding-block: 72px; }
  .section-heading { margin-bottom: 32px; }
  .feature-card { padding: 21px; }
  .callout-list { grid-template-columns: 1fr; }
  .product-shot { padding: 4px; border-radius: 8px; }
  .screenshot-label { right: 8px; }
  .trust-list article { grid-template-columns: 34px 1fr; padding: 16px; }
  .use-case-grid article { min-height: 190px; padding: 22px; }
  .download-panel { padding: 26px 22px; }
  .download-actions, .download-actions .button { width: 100%; }
  .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
}

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