:root {
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --surface: #ffffff;
  --text: #0b0d12;
  --text-2: #3f4452;
  --text-3: #6b7180;
  --border: #e6e8ee;
  --border-2: #d7dae3;
  --brand: #3451d1;
  --brand-2: #2a42b3;
  --brand-soft: #eef1fd;
  --warn: #b4540a;
  --warn-soft: #fdf3e8;
  --ok: #15803d;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 40px -12px rgba(16, 24, 40, .18);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0b0f;
    --bg-2: #101218;
    --surface: #13151c;
    --text: #f2f3f6;
    --text-2: #c2c6d0;
    --text-3: #8c92a0;
    --border: #22252f;
    --border-2: #2e323e;
    --brand: #7c9cff;
    --brand-2: #9db5ff;
    --brand-soft: #172045;
    --warn: #f0a35c;
    --warn-soft: #2a1c0f;
    --ok: #4ade80;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 20px 50px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.15; font-weight: 650; }
p { margin: 0; }
svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--text-3); font-size: 14px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.01em; text-decoration: none; }
.logo { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: #3451d1; color: #fff; }
.logo svg { width: 17px; height: 17px; stroke-width: 1.4; }
.logo.big { width: 52px; height: 52px; border-radius: 13px; margin-bottom: 24px; }
.logo.big svg { width: 30px; height: 30px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 9px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font: 500 15px/1 Inter, sans-serif; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { border-color: var(--text-3); }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.primary:hover { opacity: .9; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.full { width: 100%; }
.btn svg { width: 15px; height: 15px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav-in { display: flex; align-items: center; gap: 32px; height: 64px; }
.links { display: flex; gap: 28px; margin-left: auto; }
.links a { color: var(--text-2); text-decoration: none; font-size: 14.5px; }
.links a:hover { color: var(--text); }
@supports (animation-timeline: scroll()) {
  .nav { animation: navline linear both; animation-timeline: scroll(); animation-range: 0 80px; }
  @keyframes navline { to { border-bottom-color: var(--border); } }
}

/* Hero */
.hero { padding: 88px 0 0; text-align: center; background: radial-gradient(1200px 520px at 50% -120px, var(--brand-soft), transparent 70%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 13.5px; font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #ff9900; box-shadow: 0 0 0 3px color-mix(in srgb, #ff9900 22%, transparent); }
.hero h1 { margin: 24px auto 0; max-width: 860px; font-size: clamp(40px, 6.4vw, 72px); letter-spacing: -.04em; line-height: 1.04; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lede { margin: 24px auto 0; max-width: 690px; color: var(--text-2); font-size: clamp(17px, 2vw, 19.5px); line-height: 1.6; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.ticks { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 28px 0 0; color: var(--text-3); font-size: 14px; }
.ticks li { display: flex; align-items: center; gap: 7px; }
.ticks svg { color: var(--ok); }
.shot-hero { margin-top: 64px; }

/* Screenshot frame */
.frame { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.frame-bar span { margin: 0 auto; padding-right: 50px; color: var(--text-3); font-size: 12.5px; font-family: var(--mono); }
.shot-hero .frame { border-radius: 16px 16px 0 0; border-bottom: 0; }

/* Sections */
section { padding: 112px 0; }
section.hero { padding-bottom: 0; }
.band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker { color: var(--brand); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
section h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; max-width: 760px; }
h2.center { max-width: none; }
.sub { margin-top: 18px; max-width: 680px; color: var(--text-2); font-size: 18px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.grid3.small { margin-top: 0; }
.card { padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.card h3 { font-size: 17px; margin: 18px 0 8px; letter-spacing: -.015em; }
.card p { color: var(--text-2); font-size: 15px; }
.ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.ic.warn { background: var(--warn-soft); color: var(--warn); }
.ic svg { width: 19px; height: 19px; }

/* Diagram */
.diagram { margin: 56px 0 0; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-2); overflow-x: auto; }
.diagram svg { width: 100%; height: auto; min-width: 720px; stroke: none; }
.d-vpc { fill: none; stroke: var(--border-2); stroke-width: 1.5; stroke-dasharray: 6 5; }
.d-label { fill: var(--text-3); font-size: 13px; font-weight: 500; }
.d-node rect { fill: var(--surface); stroke: var(--border-2); stroke-width: 1.2; }
.d-node text { fill: var(--text); font-size: 15px; font-weight: 550; text-anchor: middle; }
.d-soft rect { fill: var(--bg); }
.d-brand rect { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 1.5; }
.d-brand .d-title { fill: var(--brand); font-size: 16.5px; font-weight: 650; }
.d-node .d-small, .d-small { fill: var(--text-2); font-size: 13px; font-weight: 400; text-anchor: middle; }
.d-left { text-anchor: start; fill: var(--text-3); }
.d-line { fill: none; stroke: var(--text-3); stroke-width: 1.5; }
.d-arrowhead { fill: var(--text-3); }

.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { display: flex; gap: 16px; }
.steps li > span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-2); font-weight: 600; font-size: 14px; color: var(--text-2); }
.steps h3 { font-size: 17px; margin: 3px 0 8px; }
.steps p { color: var(--text-2); font-size: 15px; }

/* Features */
.feature { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; align-items: center; margin-top: 96px; }
.feature.flip { grid-template-columns: 7fr 4fr; }
.feature.flip .f-text { order: 2; }
.f-text h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.03em; }
.f-text > p { margin-top: 16px; color: var(--text-2); font-size: 17px; }
.list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 15px; }
.list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 1.8px solid var(--brand); border-bottom: 1.8px solid var(--brand); transform: rotate(-45deg); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 56px; }
.chips span { padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-2); font-size: 14px; background: var(--surface); }

.video { margin-top: 40px; }
.video video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* Security */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 48px; align-items: start; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.facts li { color: var(--text-2); font-size: 15.5px; padding-left: 18px; border-left: 2px solid var(--border-2); }
.facts b { color: var(--text); font-weight: 600; }
.code-card { border-radius: 14px; overflow: hidden; border: 1px solid #1d2130; background: #0d0f16; color: #d6dae4; box-shadow: var(--shadow); }
.code-h { padding: 12px 18px; border-bottom: 1px solid #1d2130; color: #8c92a0; font-size: 13px; }
.code-card pre { margin: 0; padding: 20px 18px; overflow-x: auto; font: 13.5px/1.7 var(--mono); }
.code-card .c { color: #6b7385; }
.code-card .s { color: #a5c8ff; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 20px; justify-content: center; margin-top: 48px; }
.plan { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.plan:first-child { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.plan h3 { font-size: 16px; color: var(--text-2); font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 8px; }
.price b { font-size: 44px; letter-spacing: -.04em; font-weight: 700; }
.price span { color: var(--text-3); font-size: 14.5px; }
.plan .list { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }

/* FAQ */
details { border-bottom: 1px solid var(--border); }
details:first-of-type { margin-top: 36px; border-top: 1px solid var(--border); }
summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-weight: 550; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 1.6px solid var(--text-3); border-bottom: 1.6px solid var(--text-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 0 22px; color: var(--text-2); max-width: 680px; }

.final { background: radial-gradient(900px 420px at 50% 120%, var(--brand-soft), transparent 70%); border-top: 1px solid var(--border); }
.final h2 { max-width: none; }

/* Footer */
.foot { border-top: 1px solid var(--border); padding: 40px 0; font-size: 14px; color: var(--text-3); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot nav { display: flex; gap: 24px; margin-left: auto; }
.foot nav a { text-decoration: none; color: var(--text-2); }
.foot nav a:hover { color: var(--text); }
.foot p { flex-basis: 100%; font-size: 13px; }

/* Responsive */
@media (max-width: 960px) {
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
  .feature, .split { grid-template-columns: 1fr; gap: 32px; margin-top: 72px; }
  .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .f-text { order: 0; }
  section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 56px; }
  .grid3, .steps, .plans { grid-template-columns: 1fr; }
  .diagram { padding: 16px; }
  .ticks { gap: 10px 20px; }
  .foot nav { margin-left: 0; }
  .btn { height: 42px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
