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

:root {
  --indigo: #4f46e5;
  --indigo-dark: #4338ca;
  --ink: #0f172a;
  --body: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.nav-inner {
  max-width: 760px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo img {
  display: block;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav-logo span {
  display: inline-block;
  line-height: 1;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 14px; color: var(--muted); text-decoration: none;
  font-weight: 500; transition: color 0.15s;
}
.nav-links a:hover { color: var(--indigo); }
.nav-links a.active { color: var(--indigo); }

/* ---------- Indigo hero ---------- */
.hero {
  background: linear-gradient(160deg, #4f46e5 0%, #4338ca 100%);
  color: #fff;
  padding: 92px 24px 84px;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.72);
  margin-bottom: 22px;
}
.hero-title {
  font-size: 44px; font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.12; color: #fff; margin-bottom: 22px;
}
.hero-sub {
  font-size: 19px; font-weight: 400; line-height: 1.55;
  color: rgba(255,255,255,0.86); max-width: 560px;
}

/* ---------- Story body ---------- */
main { padding: 0 24px; }
.story {
  max-width: 680px; margin: 0 auto;
  padding: 64px 0 40px;
}
.story .lead {
  font-size: 21px; font-weight: 500; color: var(--ink);
  line-height: 1.55; margin-bottom: 24px; letter-spacing: -0.01em;
}
.story p {
  margin-bottom: 22px;
  color: var(--body);
}
.story h2 {
  font-size: 22px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1.25;
  margin-top: 48px; margin-bottom: 14px;
}
.story em { font-style: italic; color: var(--ink); font-weight: 500; }
.story a {
  color: var(--indigo); text-decoration: none;
  border-bottom: 1px solid rgba(79,70,229,0.3);
  transition: border-color 0.15s;
}
.story a:hover { border-color: var(--indigo); }

/* ---------- CTA ---------- */
.cta {
  margin-top: 48px; padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.cta-btn {
  display: inline-block;
  background: var(--indigo); color: #fff !important;
  font-size: 16px; font-weight: 600;
  padding: 13px 26px; border-radius: 10px;
  text-decoration: none; border: none !important;
  transition: background 0.15s, transform 0.15s;
}
.cta-btn:hover { background: var(--indigo-dark); transform: translateY(-1px); }
.cta-note { font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.footer-inner {
  max-width: 680px; margin: 0 auto;
  padding: 28px 24px 48px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--muted);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--indigo); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .hero { padding: 60px 20px 56px; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 17px; }
  .story { padding: 44px 0 32px; }
  .story .lead { font-size: 19px; }
  .story h2 { font-size: 20px; margin-top: 40px; }
  main { padding: 0 20px; }
}
