/* Benefits Guide — jump page. Mobile first, system fonts (no external requests). */
:root {
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #172554;
  --blue-50:  #eff5ff;
  --ink:      #0f1b33;
  --muted:    #4b5a74;
  --faint:    #7a879c;
  --line:     #e3e9f3;
  --white:    #ffffff;
  --radius:   18px;
  --shadow:   0 1px 2px rgba(15,27,51,.05), 0 12px 32px -12px rgba(29,78,216,.22);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--blue-50) 0%, #f7f9fd 55%, var(--white) 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

.page {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(28px, env(safe-area-inset-top)) 16px 28px;
}

.card {
  width: 100%;
  max-width: 520px;
  padding: 32px 22px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.icon { display: flex; justify-content: center; margin-bottom: 18px; }
.icon svg { display: block; width: 48px; height: 48px; }

h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 7vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--blue-900);
}

.lead {
  margin: 0 auto 26px;
  max-width: 34ch;
  font-size: 1.0625rem;
  color: var(--muted);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  padding: 16px 16px;
  border-radius: 14px;
  background: var(--blue-700);
  color: var(--white);
  font-size: clamp(1rem, 4.5vw, 1.125rem);
  font-weight: 700;
  letter-spacing: .005em;
  text-decoration: none;
  box-shadow: 0 8px 20px -8px rgba(29,78,216,.65), inset 0 -2px 0 rgba(0,0,0,.12);
  transition: background-color .15s ease, transform .1s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}
.cta:hover { background: var(--blue-800); }
.cta:active { transform: translateY(1px); }
.cta:focus-visible { outline: 3px solid #93b4ff; outline-offset: 3px; }
.cta-arrow { flex: none; transition: transform .15s ease; }
.cta:hover .cta-arrow { transform: translateX(3px); }
.cta.is-loading { opacity: .8; pointer-events: none; }

.cta-note {
  margin: 12px 0 0;
  font-size: .8125rem;
  color: var(--faint);
}

.debug {
  margin: 16px 0 0;
  padding: 10px;
  text-align: left;
  font-size: .75rem;
  white-space: pre-wrap;
  word-break: break-all;
  background: #f4f6fa;
  border: 1px dashed #b8c3d6;
  border-radius: 8px;
}

.footer {
  flex: none;
  padding: 18px 20px max(22px, env(safe-area-inset-bottom));
  text-align: center;
  font-size: .75rem;
  line-height: 1.55;
  color: var(--faint);
}
.footer p { margin: 0 auto 6px; max-width: 640px; }
.footer p:last-child { margin-bottom: 0; }

@media (min-width: 640px) {
  .card { padding: 48px 48px 38px; }
  .lead { font-size: 1.125rem; }
  .cta { width: auto; min-width: 320px; margin: 0 auto; padding: 16px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta, .cta-arrow { transition: none; }
}
