:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #173c31;
  background: #f1f5f2;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #f1f5f2; }
body { min-width: 320px; min-height: 100vh; margin: 0; }
button, input, textarea { font: inherit; }

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 8% 3%, rgba(118, 207, 156, .28), transparent 31rem),
    radial-gradient(circle at 92% 0%, rgba(205, 236, 170, .36), transparent 30rem),
    linear-gradient(180deg, #f8fbf9 0%, #eef4ef 100%);
}

.shell { min-height: 100vh; }
.topbar {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 24px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: #087a58;
  box-shadow: 0 10px 24px rgba(8, 122, 88, .22);
  font-size: 1.1rem;
  font-weight: 900;
}
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font-size: 1rem; }
.brand small { margin-top: 5px; color: #71867c; font-size: .69rem; letter-spacing: .03em; }
.environment-badge {
  border: 1px solid #bdd8c7;
  border-radius: 999px;
  padding: 8px 13px;
  color: #196446;
  background: rgba(255, 255, 255, .76);
  font-size: .72rem;
  font-weight: 800;
}

main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0 72px; }
.hero { max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #087a58; font-size: .72rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #20ae76; box-shadow: 0 0 0 6px rgba(32, 174, 118, .12); }
h1 { margin: 20px 0 16px; color: #113a2d; font-size: clamp(2.45rem, 7vw, 5.1rem); line-height: .98; letter-spacing: -.055em; }
h1 span { color: #087a58; }
.hero p { max-width: 690px; margin: 0; color: #5c7167; font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.7; }

.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 48px 0 18px; }
.summary-grid article, .onboarding-card, .safety-note {
  border: 1px solid rgba(178, 203, 188, .68);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 54px rgba(32, 73, 55, .075);
  backdrop-filter: blur(18px);
}
.summary-grid article { display: grid; min-height: 150px; align-content: space-between; border-radius: 20px; padding: 21px; }
.summary-grid span { color: #789086; font-size: .72rem; font-weight: 700; }
.summary-grid strong { color: #174b39; font-size: 1rem; line-height: 1.3; }
.summary-grid small { color: #7a8b83; font-size: .68rem; line-height: 1.4; }

.onboarding-card { border-radius: 24px; padding: 28px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-kicker { color: #719083; font-size: .66rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h2 { margin: 6px 0 0; color: #173c31; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.03em; }
.progress-label { color: #5f766b; font-size: .72rem; font-weight: 750; }
.progress { height: 6px; overflow: hidden; border-radius: 99px; margin: 24px 0 12px; background: #e5eee8; }
.progress span { display: block; width: 20%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #07825d, #34ba7f); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 14px; align-items: center; border-bottom: 1px solid #e7eee9; padding: 18px 4px; }
.steps li:last-child { border-bottom: 0; }
.step-number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 12px; color: #809289; background: #edf2ef; font-size: .77rem; font-weight: 850; }
.complete .step-number { color: #fff; background: #0b8a62; }
.next .step-number { border: 1px solid #b8dbc8; color: #087a58; background: #eaf7ef; }
.step-copy { display: grid; gap: 5px; }
.step-copy strong { color: #24483a; font-size: .86rem; }
.step-copy small { color: #73847c; font-size: .73rem; line-height: 1.5; }
.step-state { border-radius: 999px; padding: 6px 10px; color: #7b8b83; background: #f0f4f1; font-size: .62rem; font-weight: 800; }
.complete .step-state { color: #0b704f; background: #e1f3e8; }
.next .step-state { color: #7a6219; background: #fff4ce; }

.safety-note { display: flex; align-items: flex-start; gap: 14px; border-radius: 18px; margin-top: 18px; padding: 19px 22px; }
.safety-note > span { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border-radius: 10px; color: #087a58; background: #ddf3e7; font-weight: 900; }
.safety-note strong { font-size: .82rem; }
.safety-note p { margin: 4px 0 0; color: #6e8178; font-size: .72rem; line-height: 1.55; }

.loading, .fatal { display: grid; min-height: 100vh; place-items: center; align-content: center; text-align: center; }
.loading span { width: 32px; height: 32px; border: 3px solid #c9ded1; border-top-color: #087a58; border-radius: 50%; animation: spin .75s linear infinite; }
.loading p { color: #60776c; }
.fatal > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 16px; color: #a33a45; background: #fdebed; font-weight: 900; }
.fatal h1 { margin: 18px 0 8px; font-size: 2rem; letter-spacing: -.03em; }
.fatal p { max-width: 540px; color: #6d7d75; line-height: 1.6; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .topbar, main { width: min(100% - 28px, 1120px); }
  .topbar { padding: 17px 0; }
  main { padding: 35px 0 48px; }
  .summary-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .summary-grid article { min-height: 128px; }
  .onboarding-card { padding: 21px 17px; }
  .section-heading { align-items: start; }
  .progress-label { padding-top: 5px; white-space: nowrap; }
  .steps li { grid-template-columns: 38px minmax(0, 1fr); padding: 16px 0; }
  .step-state { grid-column: 2; justify-self: start; margin-top: -5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

