:root {
  --bg: #F6F6F3;
  --bg-alt: #ECEDE8;
  --card: #FFFFFF;
  --ink: #14161B;
  --muted: #555A64;
  --faint: #8A8F98;
  --line: #DEDFD9;
  --blue: #3A7BD5;
  --teal: #2F9E8F;
  --navy: #14325A;
  --num: #14325A;
  --glass: rgba(255, 255, 255, .55);
  --plate: transparent;
  --shadow: 0 1px 2px rgba(20, 22, 27, .04), 0 8px 24px rgba(20, 22, 27, .06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101216;
    --bg-alt: #161920;
    --card: #1B1F27;
    --ink: #EDEEF0;
    --muted: #A9AFBA;
    --faint: #7C828D;
    --line: #2A2F38;
    --glass: rgba(16, 18, 22, .5);
    --plate: #F6F6F3;
    --num: #8FBDF2;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}
:root[data-theme="dark"] {
  --bg: #101216; --bg-alt: #161920; --card: #1B1F27; --ink: #EDEEF0; --muted: #A9AFBA;
  --faint: #7C828D; --line: #2A2F38; --glass: rgba(16, 18, 22, .5); --plate: #F6F6F3; --num: #8FBDF2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(28px, 4.2vw, 42px); margin-bottom: 18px; }
h3 { font-size: 19px; letter-spacing: -.01em; margin-bottom: 6px; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font: 600 12.5px/1 "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
}
.body { color: var(--muted); font-size: 18px; max-width: 34em; }

/* buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(20, 50, 90, .25); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { padding: 8px 16px; font-size: 14.5px; }
.btn-lg { padding: 16px 30px; font-size: 18px; }

/* 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 var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand img { height: 40px; width: auto; background: var(--plate); border-radius: 8px; padding: 2px 4px; }
.nav nav { display: flex; align-items: center; gap: 24px; }
.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav nav a:not(.btn):hover { color: var(--ink); }

/* hero */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
h1 { font-size: clamp(40px, 7vw, 76px); letter-spacing: -.035em; margin-bottom: 22px; }
.grad { background: linear-gradient(90deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 30em; margin-bottom: 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art::before {
  content: ""; position: absolute; inset: 8% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(58, 123, 213, .16), transparent);
}
.helix { position: relative; width: 100%; max-width: 440px; margin: 0 auto; display: block; }
.probe { animation: bob 6s ease-in-out infinite; transform-origin: 268px 150px; }
@keyframes bob { 50% { transform: translate(-16px, 10px); } }
@media (prefers-reduced-motion: reduce) { .probe { animation: none; } html { scroll-behavior: auto; } }

/* stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -.03em; line-height: 1.1; color: var(--num); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 15px; }

/* sections */
.section { padding: 96px 0; }
.alt { background: var(--bg-alt); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  box-shadow: var(--shadow); transition: transform .2s ease;
}
.card:hover { transform: translateY(-3px); }
.card p { color: var(--muted); font-size: 16px; }
.ic { font-size: 26px; margin-bottom: 14px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--bg-alt); }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 14px; }
.steps span {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; font-weight: 700;
}
.steps p { color: var(--muted); font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.term { background: #101114; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 48px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .4); }
.term-bar { height: 32px; background: #1C1D21; display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.term-bar i:nth-child(2) { background: #FEBC2E; }
.term-bar i:nth-child(3) { background: #28C840; }
.term pre { margin: 0; padding: 20px 22px 24px; color: #9AA0A6; font: 14px/1.75 "SF Mono", Menlo, Consolas, monospace; overflow-x: auto; }
.term .c { color: #E8E8E6; }
.term .ok { color: #5FD3BE; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 50px;
  position: relative; font-size: 16.5px;
}
.checks li::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

.contact { text-align: center; background: linear-gradient(160deg, var(--navy), #1E5A7A 60%, var(--teal)); color: #fff; }
.contact-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.contact h2 { margin: 0; }
.contact .body { color: rgba(255, 255, 255, .8); margin-bottom: 10px; }
.contact .btn { background: #fff; color: var(--navy); }

.foot { padding: 40px 0; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.by { display: flex; align-items: center; gap: 16px; }
.by img { width: 96px; background: var(--plate); border-radius: 8px; padding: 4px; }
.by p { color: var(--muted); font-size: 15px; }
.small { color: var(--faint); font-size: 13.5px; }

/* responsive */
@media (max-width: 900px) {
  .hero-in, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-art { max-width: 340px; margin: 0 auto; order: -1; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .nav nav a:not(.btn) { display: none; }
  .brand img { height: 28px; }
  .stat { padding: 20px 12px; }
  .stat span { font-size: 14px; }
  .hero { padding-top: 24px; }
  .hero-art { max-width: 190px; margin-bottom: -12px; }
}
.contact .cta { justify-content: center; }
.contact .btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.contact .btn-line:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.small a { color: var(--muted); }
