:root {
  --accent: #1161FE;
  --accent-hover: #0b4fd9;
  --accent-tint: #EEF3FF;
  --accent-tint-2: #E1EAFF;
  --bg: #F6F7FB;
  --surface: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #1a1a1a;
  --muted: #6b6b6b;
  --muted-2: #8f8f8f;
  --line: #EAEBF0;
  --line-2: #DDDFE6;
  --ok: #0BA968;
  --warn: #D97706;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(10,20,60,0.04), 0 1px 1px rgba(10,20,60,0.03);
  --shadow-md: 0 12px 28px rgba(17, 97, 254, 0.08), 0 4px 10px rgba(10,20,60,0.05);
  --shadow-lg: 0 30px 80px rgba(17, 97, 254, 0.14), 0 10px 24px rgba(10,20,60,0.07);
  --shadow-card: 0 1px 0 rgba(10,20,60,0.02), 0 2px 6px rgba(10,20,60,0.04), 0 12px 24px rgba(10,20,60,0.04);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-feature-settings: "ss01", "cv11", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* Utility: pill tag */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 13px;
  font-weight: 590;
  letter-spacing: 0;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(17,97,254,0.18);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 590;
  letter-spacing: -0.01em;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(17,97,254,0.3); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--surface); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* Nav */
.nav {
  position: sticky; top: 12px; z-index: 50;
  width: calc(100% - 32px);
  max-width: 1280px;
  margin: 12px auto 0;
  background: rgba(255,255,255,0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px 10px 20px;
  display: flex; align-items: center; gap: 28px;
  box-shadow: var(--shadow-sm);
}
.nav .logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
}
.nav .logo-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 13px;
  transform: rotate(-6deg);
}
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
}
.nav-links a:hover { background: var(--accent-tint); color: var(--accent); }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

@media (max-width: 1140px) {
  .nav-links a { padding: 8px 10px; }
  .nav { gap: 16px; }
}
@media (max-width: 1040px) {
  .nav-links { display: none; }
}

/* Section scaffolding */
section { position: relative; }
.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }
@media (max-width: 720px) {
  .section-pad { padding: 80px 0; }
  .section-pad-sm { padding: 56px 0; }
}

.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 32px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 16px 0 0;
  max-width: 780px;
  text-wrap: balance;
}
.section-head p { color: var(--muted); max-width: 420px; margin: 0; font-size: 16px; }
@media (max-width: 720px) {
  .section-head { flex-direction: column; align-items: start; gap: 16px; margin-bottom: 40px; }
}

h1, h2, h3, h4 { letter-spacing: -0.035em; }

/* Numeric / mono accents */
.mono { font-family: var(--mono); letter-spacing: -0.02em; }
.tnum { font-variant-numeric: tabular-nums; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 80px 0 40px;
}
