/* ---------- tokens ---------- */
:root {
  --ink: #06122e;
  --ink-soft: #1a2a55;
  --navy: #0b1f5a;
  --royal: #2348e0;
  --blue: #4a7bff;
  --sky: #9cc3ff;
  --ice: #e6efff;
  --cream: #f6f4ef;
  --paper: #fbfaf6;
  --coral: #ff8a6b;
  --mint: #c5f0d8;
  --sun: #ffd96b;
  --line: rgba(11, 31, 90, 0.12);

  --display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --blobby: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 44px;
  --r-blob: 64% 36% 58% 42% / 48% 60% 40% 52%;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--royal);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}
h1 { font-size: clamp(56px, 8.4vw, 124px); }
h2 { font-size: clamp(38px, 5vw, 70px); }
h3 { font-weight: 800; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; }
p  { font-size: 17px; color: var(--ink-soft); font-weight: 400; }
/* emphasis: just a color change — no italic, no font swap */
.ital { font-style: normal; font-family: inherit; font-weight: inherit; color: var(--royal); }
.serif-it { font-style: normal; font-family: inherit; }

/* ---------- layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
section { position: relative; padding: 120px 0; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--royal);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 10px 10px 22px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(11, 31, 90, 0.08);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.nav-logo .glyph {
  width: 26px; height: 26px;
  background: var(--royal);
  border-radius: var(--r-blob);
  animation: morph 8s ease-in-out infinite;
}
.nav-links { display: flex; gap: 4px; margin: 0 8px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.nav-links a:hover { background: var(--ice); color: var(--navy); }
.nav-cta {
  padding: 10px 18px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { background: var(--royal); transform: translateY(-1px); }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--royal); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(35,72,224,0.4); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: white; }
.btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: white;
  color: var(--ink);
  transition: transform 0.25s;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- blobs (shared) ---------- */
.blob {
  position: absolute;
  border-radius: var(--r-blob);
  pointer-events: none;
  filter: blur(0.5px);
}
@keyframes morph {
  0%, 100% { border-radius: 64% 36% 58% 42% / 48% 60% 40% 52%; }
  33% { border-radius: 38% 62% 44% 56% / 64% 36% 64% 36%; }
  66% { border-radius: 52% 48% 36% 64% / 40% 56% 44% 60%; }
}
@keyframes drift {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(30px,-20px) rotate(8deg); }
}
