:root {
  --bg: #f5f8fc;
  --bg-soft: #eef4fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --line: rgba(11, 44, 93, 0.12);
  --line-strong: rgba(11, 44, 93, 0.18);
  --text: #0b2c5d;
  --heading: #082244;
  --muted: #4e6488;
  --primary: #0b2c5d;
  --primary-2: #1e4f91;
  --teal: #25a789;
  --green: #7ac943;
  --shadow: 0 18px 42px rgba(11, 44, 93, 0.10);
  --shadow-soft: 0 10px 28px rgba(11, 44, 93, 0.08);
  --container: 1220px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(122, 201, 67, 0.10), transparent 24%),
    radial-gradient(circle at 100% 10%, rgba(37, 167, 137, 0.09), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.narrow { max-width: 840px; }
.centered { text-align: center; }
.section-space { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, rgba(11,44,93,0.03), rgba(11,44,93,0.05)); }
.page-hero { padding-bottom: 52px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(248, 251, 255, 0.84);
  border-bottom: 1px solid rgba(11, 44, 93, 0.08);
}

.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.95), rgba(255,255,255,0.18) 34%, transparent 35%),
    linear-gradient(140deg, var(--green), var(--teal) 42%, var(--primary-2) 76%, var(--primary) 100%);
  box-shadow: 0 12px 24px rgba(11, 44, 93, 0.16);
}

.brand-mark::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 3px solid rgba(255,255,255,0.92);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(18deg);
}

.brand-mark::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-top: 4px solid rgba(255,255,255,0.96);
  border-right: 4px solid rgba(255,255,255,0.96);
  transform: rotate(18deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand-text strong { font-size: 1rem; color: var(--heading); }
.brand-text small { color: var(--muted); font-size: 0.78rem; }

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--primary); }

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 0;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 30px rgba(11, 44, 93, 0.16);
}
.btn-primary:hover { box-shadow: 0 18px 34px rgba(11, 44, 93, 0.20); }
.btn-secondary {
  color: var(--primary);
  background: rgba(255,255,255,0.92);
  border-color: rgba(11,44,93,0.12);
}
.btn-full { width: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11,44,93,0.10);
  background: rgba(255,255,255,0.78);
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-grid,
.contact-wrap,
.faq-grid,
.architecture-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}
.hero-grid,
.contact-wrap,
.architecture-grid { grid-template-columns: 1.02fr .98fr; }
.faq-grid { grid-template-columns: .9fr 1.1fr; }

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 12ch;
}
.page-hero h1 { max-width: none; }

.hero-text,
.section-heading p,
.contact-copy p,
.legal-content p,
.legal-content li,
.page-hero p,
.footer-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}
.center-actions { justify-content: center; }

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-bullets span::before {
  content: '•';
  color: var(--green);
  margin-right: 10px;
  font-weight: 700;
}
.hero-bullets.compact { margin-top: 18px; }

.hero-visual {
  position: relative;
}

.visual-card-main {
  border-radius: 34px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7fc 100%);
  border: 1px solid rgba(11, 44, 93, 0.10);
  box-shadow: var(--shadow);
}

.visual-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(11, 44, 93, 0.16);
}

.visual-branding {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(11,44,93,0.96), rgba(30,79,145,0.94));
  color: #fff;
  margin-bottom: 18px;
}
.visual-branding p {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.84);
}
.brand-badge {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-weight: 700;
}

.source-grid,
.metric-grid,
.cards-grid,
.split-cards,
.audience-grid {
  display: grid;
  gap: 18px;
}
.source-grid,
.metric-grid,
.split-cards-3,
.audience-grid,
.cards-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.modules-grid { margin-top: 34px; }

.source-box,
.metric-card,
.info-card,
.feature-card,
.audience-card,
.highlight-card,
.architecture-card,
.contact-form,
.faq-list details,
.step-card,
.mockup-box,
.legal-content,
.section-heading,
.page-hero .narrow,
.info-strip {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(11, 44, 93, 0.08);
  box-shadow: var(--shadow-soft);
}

.source-box,
.metric-card,
.info-card,
.feature-card,
.audience-card,
.highlight-card,
.architecture-card,
.contact-form,
.faq-list details,
.legal-content,
.page-hero .narrow {
  border-radius: 22px;
}

.source-box,
.metric-card,
.info-card,
.feature-card,
.audience-card,
.highlight-card,
.architecture-card,
.contact-form,
.section-heading,
.legal-content,
.page-hero .narrow {
  padding: 22px;
}

.source-box small,
.metric-card small,
.architecture-head small,
.panel-label,
.step-number,
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(122,201,67,0.18), rgba(37,167,137,0.18));
  color: var(--primary);
  font-weight: 700;
}
.source-box small,
.metric-card small {
  min-width: 0;
  height: auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

.source-box strong,
.metric-card strong,
.info-card h3,
.feature-card h3,
.audience-card h3,
.highlight-card strong,
.architecture-card h3,
.section-heading h2,
.faq-list summary,
.contact-copy h2,
.site-footer strong {
  color: var(--heading);
}

.source-box span,
.info-card p,
.feature-card p,
.audience-card p,
.highlight-card p,
.architecture-list span,
.architecture-list b,
.faq-list p,
.form-field label,
.footer-links a,
.footer-bottom span {
  color: var(--muted);
}

.insight-panel {
  margin-top: 18px;
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
  border: 1px solid rgba(11, 44, 93, 0.08);
}

.insight-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.insight-header h3 { margin: 4px 0 0; font-size: 1.2rem; }
.insight-header small { color: var(--muted); }

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}
.chip-strong {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--green));
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}
.trust-row span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11,44,93,0.09);
  background: rgba(255,255,255,0.82);
  color: var(--muted);
  font-weight: 600;
}

.section-heading {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 34px;
}
.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.section-heading p { max-width: 80ch; }
.section-heading.centered p { margin-inline: auto; }

.info-card,
.feature-card,
.audience-card,
.highlight-card { height: 100%; }
.info-card h3,
.feature-card h3,
.audience-card h3,
.highlight-card strong { margin: 18px 0 10px; display: block; }
.info-card p,
.feature-card p,
.audience-card p,
.highlight-card p { margin: 0; }

.audience-card ul {
  padding-left: 18px;
  margin: 16px 0 0;
  color: var(--muted);
}
.audience-card li + li { margin-top: 8px; }

.highlight-list {
  display: grid;
  gap: 16px;
}

.architecture-card {
  background: linear-gradient(180deg, rgba(11,44,93,0.98), rgba(30,79,145,0.96));
  color: #fff;
}
.architecture-card h3,
.architecture-card small,
.architecture-card .architecture-list div,
.architecture-card .architecture-list span,
.architecture-card .architecture-list b { color: rgba(255,255,255,0.94); }
.architecture-head { margin-bottom: 22px; }
.architecture-head h3 { margin: 6px 0 0; font-size: 1.5rem; }

.architecture-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}
.flow-pill {
  padding: 14px 16px;
  border-radius: 16px;
  text-align: center;
  font-weight: 700;
}
.flow-source { background: rgba(255,255,255,0.12); }
.flow-core { background: linear-gradient(135deg, rgba(37,167,137,0.85), rgba(122,201,67,0.85)); color: #fff; }
.flow-output { background: rgba(255,255,255,0.16); }
.flow-arrow { color: rgba(255,255,255,0.72); font-size: 1.3rem; }

.architecture-list {
  display: grid;
  gap: 14px;
}
.architecture-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.architecture-list div:first-child { border-top: 0; padding-top: 0; }
.architecture-list span { font-weight: 700; }
.architecture-list b { font-weight: 600; text-align: right; }

.faq-list {
  display: grid;
  gap: 14px;
}
.faq-list details { padding: 18px 22px; }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { margin: 12px 0 0; }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-size: 0.95rem; font-weight: 600; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(11,44,93,0.12);
  background: #fdfefe;
  color: var(--heading);
  border-radius: 14px;
  padding: 14px 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(30,79,145,0.35);
  box-shadow: 0 0 0 4px rgba(30,79,145,0.08);
}

.site-footer {
  padding: 34px 0 24px;
  background: linear-gradient(180deg, #eff5fb 0%, #e7eff9 100%);
  border-top: 1px solid rgba(11,44,93,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 28px;
  align-items: start;
}
.footer-brand { margin-bottom: 12px; }
.footer-links {
  display: grid;
  gap: 12px;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(11,44,93,0.08);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .contact-wrap,
  .faq-grid,
  .architecture-grid,
  .footer-grid,
  .header-inner {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: auto;
    padding: 16px 0;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .main-nav.is-open,
  .header-actions.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .main-nav.is-open {
    padding-top: 6px;
  }

  .cards-grid-3,
  .cards-grid-4,
  .split-cards-3,
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .section-space { padding: 74px 0; }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .source-grid,
  .metric-grid,
  .cards-grid-3,
  .cards-grid-4,
  .split-cards-3,
  .audience-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .architecture-flow {
    grid-template-columns: 1fr;
  }
  .flow-arrow { display: none; }

  .architecture-list div,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
