:root {
  color-scheme: light;
  --navy: #0f2434;
  --deep: #142f43;
  --sky: #f5f8fb;
  --blue: #2f6fed;
  --blue-dark: #1f55c2;
  --mint: #bff2d6;
  --text: #0f172a;
  --muted: #4b5563;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 20px rgba(47, 111, 237, 0.2);
}

.button-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button-ghost {
  border-color: var(--border);
  color: var(--text);
  background: #fff;
}

.button-ghost:hover {
  border-color: rgba(15, 23, 42, 0.24);
  transform: translateY(-1px);
}

.button-mini {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 999px;
}

.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(47, 111, 237, 0.12), transparent 50%),
    radial-gradient(circle at bottom right, rgba(15, 36, 52, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  margin: 12px 0 16px;
  line-height: 1.1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-title {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  width: min(420px, 90vw);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.visual-header,
.visual-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.visual-body {
  display: grid;
  gap: 16px;
  padding: 16px 0 12px;
}

.story-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.story-step p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 6px;
}

.pill {
  background: var(--mint);
  color: #0f5132;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.75rem;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--sky);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.section-head p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 620px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  color: var(--muted);
}

.checklist li {
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.preview-frame {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.preview-body {
  padding-top: 16px;
  display: grid;
  gap: 12px;
}

.preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--sky);
  border-radius: 12px;
  font-size: 0.9rem;
}

.tag {
  font-size: 0.75rem;
  background: #e5eefc;
  color: #1f55c2;
  padding: 4px 10px;
  border-radius: 999px;
}

.preview-graph {
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(47, 111, 237, 0.18), rgba(15, 36, 52, 0.08));
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  border-radius: 22px;
  background: var(--deep);
  color: #fff;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-header {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .button,
  .card {
    transition: none;
  }
}
