:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #18324a;
  --muted: #5f7181;
  --line: #d8e2ec;
  --primary: #0c4a6e;
  --primary-deep: #082f49;
  --accent: #d97706;
  --success: #0c7a43;
  --shadow: 0 18px 40px rgba(12, 74, 110, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f7fbff 0%, var(--bg) 100%);
  color: var(--ink);
}

a {
  color: inherit;
}

.hero {
  padding: 24px 24px 56px;
  background:
    radial-gradient(circle at top right, rgba(12, 122, 67, 0.12), transparent 28%),
    radial-gradient(circle at top left, rgba(217, 119, 6, 0.12), transparent 26%);
}

.topbar,
.hero-content,
.section,
.footer,
.legal-page {
  max-width: 1120px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-top: 48px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--success);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.button.secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--line);
}

.trust-line {
  margin: 18px 0 0;
  color: var(--primary);
  font-weight: 600;
}

.hero-card {
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  border: 1px solid #dce8f2;
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-logo {
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 0 auto 24px;
}

.card-panel {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  padding: 20px;
}

.card-panel ul {
  padding-left: 20px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 64px 24px;
}

.section.alt {
  background: rgba(12, 74, 110, 0.03);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.step,
.cta,
.legal-page section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 24px;
}

.feature-card p,
.step p,
.cta p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  padding: 24px;
}

.step span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ecf7ff;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 18px;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-list span {
  padding: 12px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  font-weight: 700;
}

.cta {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer {
  padding: 28px 24px 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: var(--muted);
}

.footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.subpage {
  background: #f7fbff;
}

.legal-page {
  padding: 32px 24px 72px;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
}

.updated {
  color: var(--muted);
}

.legal-page section {
  margin-top: 18px;
  padding: 22px;
}

.legal-page ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

@media (max-width: 900px) {
  .hero-content,
  .feature-grid,
  .steps,
  .cta,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta,
  .footer {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .legal-page,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-card,
  .feature-card,
  .step,
  .cta,
  .legal-page section {
    border-radius: 22px;
  }
}
