:root {
  --navy: #1a2d4a;
  --navy-deep: #152238;
  --green: #22a559;
  --green-hover: #1d934d;
  --green-text: #1a7a42;
  --green-bg: #e8f6ed;
  --green-border: #b8e0c8;
  --badge-bg: #eef4fb;
  --badge-text: #2c5282;
  --text-muted: #5a6578;
  --text-body: #3d4654;
  --border-light: #e2e8f0;
  --white: #ffffff;
  --page-bg: #f4f6f9;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(26, 45, 74, 0.08);
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--text-body);
  line-height: 1.55;
  min-height: 100vh;
}

body.modal-open {
  overflow: hidden;
}

.page {
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-card {
  background: var(--white);
  padding: 28px 22px 32px;
  flex: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

h1 {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.intro:last-of-type,
.intro--last {
  margin-bottom: 22px;
}

.clarity-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 22px;
  line-height: 1.5;
}

.highlight-box {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  text-align: center;
  margin-bottom: 22px;
}

.highlight-box p {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--green-text);
  line-height: 1.45;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 22px;
  height: 22px;
  margin: 0 auto 8px;
  color: var(--green);
}

.trust-card span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: var(--green);
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 16px 20px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 14px rgba(34, 165, 89, 0.35);
}

.btn-primary:hover {
  background: var(--green-hover);
}

.btn-primary:active {
  transform: scale(0.98);
}

.cta-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.bottom-panel {
  background: var(--navy-deep);
  color: var(--white);
  padding: 28px 22px 36px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  text-align: center;
  margin-top: auto;
}

.bottom-panel p {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}

.bottom-panel .btn-primary {
  font-size: 1rem;
  padding: 14px 18px;
}

.site-footer {
  background: var(--navy-deep);
  padding: 0 22px 28px;
  text-align: center;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  margin: 0 10px;
}

.site-footer .disclaimer {
  max-width: 380px;
  margin: 16px auto 0;
  font-size: 0.6875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 34, 56, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 26px 22px 22px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(26, 45, 74, 0.25);
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

.modal-overlay.is-visible .modal {
  transform: translateY(0);
}

.modal-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--badge-text);
  margin-bottom: 10px;
}

.modal h2 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 14px;
}

.modal-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.modal-body strong {
  color: var(--text-body);
  font-weight: 600;
}

.modal-actions {
  display: grid;
  gap: 10px;
}

.btn-yes {
  background: var(--green);
  color: var(--white);
}

.btn-no {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--border-light);
  box-shadow: none;
}

.btn-no:hover {
  background: #f8fafc;
}

.modal-footnote {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
}

@media (min-width: 421px) {
  .page {
    box-shadow: 0 0 40px rgba(26, 45, 74, 0.12);
  }
}
