:root {
  --ink: #0a1b2f;
  --ink-soft: #27415f;
  --paper: #f3f5f7;
  --brand: #0b63c8;
  --brand-strong: #08458c;
  --accent: #f06543;
  --line: #c6d6ea;
  --card: #fcfdff;
  --shadow: 0 20px 50px rgba(14, 49, 84, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(11, 99, 200, 0.12) 0, rgba(11, 99, 200, 0) 48%),
    radial-gradient(circle at 100% 20%, rgba(240, 101, 67, 0.14) 0, rgba(240, 101, 67, 0) 42%),
    var(--paper);
  line-height: 1.5;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.bg-glow {
  position: fixed;
  z-index: -2;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
}

.bg-glow-a {
  width: 240px;
  height: 240px;
  background: #83bdff;
  top: 120px;
  right: -70px;
}

.bg-glow-b {
  width: 190px;
  height: 190px;
  background: #ffc3b4;
  bottom: 80px;
  left: -70px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(243, 245, 247, 0.72);
  border-bottom: 1px solid rgba(198, 214, 234, 0.8);
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-family: "Space Grotesk", "Segoe UI", Tahoma, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--brand-strong);
}

.hero {
  padding: 3.2rem 0 2.2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0;
  color: var(--brand-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.15;
  margin: 0;
}

h1 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-wrap: balance;
}

.lead {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.06rem;
  max-width: 62ch;
}

.cta-row {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.66rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
  box-shadow: 0 12px 24px rgba(8, 69, 140, 0.28);
}

.btn-ghost {
  color: var(--brand-strong);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.meta-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #4a607b;
  font-size: 0.84rem;
}

.meta-row span {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-strong);
  border: 1px solid #adc7e8;
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  background: #eef5ff;
}

.panel-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.panel-grid article {
  border: 1px solid #d8e4f3;
  border-radius: 14px;
  padding: 0.85rem;
  background: var(--card);
}

.panel-grid h3 {
  font-size: 1rem;
  color: var(--brand-strong);
}

.panel-grid p {
  margin: 0.4rem 0 0;
  font-size: 0.83rem;
  color: #496384;
}

.section {
  padding: 2rem 0;
}

.section-head h2 {
  margin-top: 0.4rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.feature-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(14, 49, 84, 0.07);
  padding: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
}

.flow-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.flow-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  padding: 0.8rem 0.95rem;
  font-weight: 500;
}

.flow-list span {
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand-strong);
  border: 1px solid #adc7e8;
  background: #edf5ff;
}

.callout {
  border: 1px solid #b7d0ee;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(230, 241, 255, 0.7));
  box-shadow: var(--shadow);
  margin-bottom: 2.4rem;
}

.callout h2 {
  font-size: clamp(1.4rem, 3.8vw, 2.05rem);
}

.callout p {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  max-width: 70ch;
}

.site-footer {
  border-top: 1px solid rgba(198, 214, 234, 0.8);
  background: rgba(255, 255, 255, 0.55);
}

.footer-inner {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.footer-inner p {
  margin: 0;
  color: #4f6784;
}

.footer-inner a {
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
}

.reveal.in {
  animation: slideFade 560ms ease forwards;
}

.reveal-delay-1.in {
  animation-delay: 110ms;
}

.reveal-delay-2.in {
  animation-delay: 220ms;
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .top-nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 0.8rem;
    font-size: 0.9rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    min-height: 64px;
  }
}
