:root {
  --bg: #f4f7f3;
  --bg-accent: linear-gradient(135deg, #f7fbff 0%, #eef7f2 100%);
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #183038;
  --muted: #60737b;
  --line: rgba(24, 48, 56, 0.12);
  --blue: #1680c9;
  --blue-dark: #0c5e96;
  --mint: #caefe4;
  --sand: #f4e8cf;
  --shadow: 0 24px 60px rgba(19, 52, 67, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(22, 128, 201, 0.1), transparent 24%),
    radial-gradient(circle at top right, rgba(114, 188, 163, 0.12), transparent 20%),
    var(--bg);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.3;
  pointer-events: none;
}

img {
  max-width: 100%;
}

.page-shell {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.topbar.compact {
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(22, 128, 201, 0.18);
  background: white;
}

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

.topnav a,
.footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.topnav a:hover,
.footer a:hover {
  color: var(--blue-dark);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 48px 0 28px;
  align-items: center;
}

.eyebrow,
.card-tag,
.status-pill,
.step-number,
.policy-meta {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue-dark);
}

.hero h1,
.policy-hero h1,
.section-heading h2,
.cta-panel h2 {
  font-family: 'Newsreader', serif;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
}

.hero h1,
.policy-hero h1 {
  font-size: clamp(3.2rem, 6vw, 5.8rem);
}

.hero-text,
.policy-hero p,
.feature-card p,
.step-card p,
.policy-card p,
.policy-card li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), #1d9de6);
  box-shadow: 0 16px 30px rgba(22, 128, 201, 0.25);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}

.hero-points {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  display: grid;
  gap: 10px;
}

.hero-card,
.feature-card,
.step-card,
.cta-panel,
.policy-card,
.policy-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
  background: var(--bg-accent);
}

.status-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  margin: 16px 0;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
}

.status-panel.safe {
  border: 1px solid rgba(86, 181, 140, 0.28);
}

.status-label {
  margin: 0 0 6px;
  color: var(--muted);
}

.status-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #44bf73;
  box-shadow: 0 0 0 10px rgba(68, 191, 115, 0.12);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(24, 48, 56, 0.08);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-item span {
  color: var(--muted);
}

.feature-grid,
.step-list,
.policy-layout {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 54px;
}

.feature-card,
.step-card,
.policy-card {
  padding: 24px;
}

.feature-card h2,
.step-card h3,
.policy-card h2 {
  margin: 10px 0 12px;
}

.accent-blue {
  background: linear-gradient(180deg, rgba(225, 244, 255, 0.95), rgba(255, 255, 255, 0.96));
}

.accent-sand {
  background: linear-gradient(180deg, rgba(250, 244, 226, 0.95), rgba(255, 255, 255, 0.96));
}

.accent-mint {
  background: linear-gradient(180deg, rgba(226, 247, 240, 0.95), rgba(255, 255, 255, 0.96));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.step-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 54px;
}

.step-number {
  display: inline-block;
  margin-bottom: 18px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  background: linear-gradient(135deg, #12384a, #1a708f);
  color: white;
}

.cta-panel .eyebrow,
.cta-panel h2 {
  color: white;
}

.cta-panel .button-primary {
  background: white;
  color: var(--blue-dark);
  box-shadow: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer p {
  color: var(--muted);
}

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

.policy-layout {
  max-width: 900px;
  margin: 0 auto;
}

.policy-hero {
  padding: 28px;
  background: var(--bg-accent);
}

.policy-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

@media (max-width: 960px) {
  .hero,
  .feature-grid,
  .step-list,
  .cta-panel,
  .footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-panel,
  .footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .page-shell {
    padding: 18px 16px 42px;
  }

  .topbar {
    border-radius: 24px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    width: 100%;
  }

  .hero {
    padding-top: 32px;
  }

  .hero h1,
  .policy-hero h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .hero-card,
  .feature-card,
  .step-card,
  .policy-card,
  .policy-hero,
  .cta-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
