:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #526071;
  --line: #d8dee8;
  --surface: #f4f7fb;
  --accent: #6d28d9;
  --accent-dark: #5521aa;
  --terminal: #0b1020;
  --white: #ffffff;
  --radius: 1rem;
  --shadow: 0 24px 70px rgb(15 23 42 / 12%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
a { color: var(--accent-dark); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
code { font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
.shell { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { max-width: 780px; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  transform: translateY(-180%);
  border-radius: .5rem;
  background: var(--ink);
  color: var(--white);
  padding: .65rem 1rem;
}
.skip-link:focus { transform: none; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(216 222 232 / 85%);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(12px);
}
.nav-wrap, .footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-wrap { min-height: 4.5rem; }
.brand { color: var(--ink); font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
nav a { color: var(--muted); font-size: .92rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--ink); }
.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 10%, rgb(109 40 217 / 14%), transparent 30rem),
    linear-gradient(180deg, #fff, #f8f9fc);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(18rem, .7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hero-grid > *, .two-column > * { min-width: 0; }
.eyebrow { margin: 0 0 .8rem; color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 15ch; margin-bottom: 1.5rem; font-size: clamp(2.8rem, 6.5vw, 5.4rem); line-height: .99; letter-spacing: -.06em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.12; letter-spacing: -.035em; }
.lede { max-width: 66ch; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.32rem); }
.install { display: flex; gap: .8rem; overflow-x: auto; margin-top: 2rem; border: 1px solid #26324c; border-radius: .75rem; background: var(--terminal); color: #e5edf9; padding: 1rem 1.15rem; box-shadow: var(--shadow); white-space: nowrap; }
.install span { color: #a78bfa; }
.install-note, .fine-print { margin-top: .9rem; color: var(--muted); font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: .7rem; padding: .72rem 1.05rem; font-weight: 750; text-decoration: none; }
.primary { background: var(--accent); color: var(--white); }
.primary:hover { background: var(--accent-dark); }
.secondary { border-color: var(--line); background: var(--white); color: var(--ink); }
.fit-card, .security-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 1.6rem; box-shadow: var(--shadow); }
.fit-card h2, .security-card h2 { font-size: 1.25rem; }
.fit-card ul, .security-card ul { padding-left: 1.2rem; }
.fit-card p { margin-bottom: 0; border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); font-size: .9rem; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.surface { border-block: 1px solid var(--line); background: var(--surface); }
.section-heading { max-width: 720px; margin-bottom: 2rem; }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.compact { margin-bottom: 1.4rem; }
.demo-frame { margin: 0; overflow: hidden; border: 1px solid #222c43; border-radius: var(--radius); background: var(--terminal); box-shadow: var(--shadow); }
.demo-frame figcaption { background: #111827; color: #cbd5e1; padding: .9rem 1.1rem; font-size: .9rem; }
.demo-frame figcaption a { color: #ddd6fe; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; border: 1px solid var(--line); background: var(--line); list-style: none; }
.steps li { display: grid; gap: .8rem; background: var(--white); padding: 1.4rem; }
.steps strong { color: var(--accent-dark); font-size: 1.05rem; }
.steps span { color: var(--muted); }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: .8rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
th { background: var(--surface); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
tbody tr:last-child td { border-bottom: 0; }
details { border-top: 1px solid var(--line); padding: 1rem 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 750; }
details p { margin: .8rem 0 0; color: var(--muted); }
.final-cta { background: var(--accent-dark); color: var(--white); text-align: center; }
.final-cta h2 { font-size: clamp(2rem, 5vw, 3.8rem); }
.install.light { border-color: rgb(255 255 255 / 25%); background: rgb(17 24 39 / 45%); box-shadow: none; text-align: left; }
.centered { justify-content: center; }
.light-button { background: var(--white); color: var(--accent-dark); }
.ghost-button { border-color: rgb(255 255 255 / 40%); color: var(--white); }
footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); }
footer p { margin-bottom: 0; font-size: .9rem; }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }

@media (max-width: 860px) {
  .hero-grid, .two-column { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-wrap { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
  .site-header { position: static; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 1.5rem, 1120px); }
  nav { gap: .75rem 1rem; }
  .steps { grid-template-columns: 1fr; }
  .actions, .button { width: 100%; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
  h1 { font-size: clamp(2.5rem, 14vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
