:root {
  color-scheme: light;
  --ink: #112935;
  --muted: #112935;
  --line: #dfe5e5;
  --panel: #ffffff;
  --page: #f3f7f7;
  --deep: #112935;
  --green: #15d19b;
  --royal: #446ee2;
  --picton: #4eace5;
  --mint: #f3f7f7;
  --sky: #f3f7f7;
  --shadow: 0 22px 65px rgba(17, 41, 53, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(21, 209, 155, 0.18), transparent 32rem),
    radial-gradient(circle at 90% 16rem, rgba(78, 172, 229, 0.18), transparent 28rem),
    linear-gradient(180deg, #ffffff 0, var(--page) 32rem);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

a {
  color: var(--royal);
  font-weight: 800;
}

.site-header,
main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(190px, 22vw, 255px);
  height: auto;
}

nav {
  align-items: center;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: var(--deep);
  text-decoration: none;
}

nav a:hover,
.text-link:hover,
.resource-links a:hover {
  color: var(--royal);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--deep);
  border-radius: var(--radius);
  background: var(--deep);
  color: #ffffff;
}

.nav-cta:hover {
  background: var(--royal);
  border-color: var(--royal);
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 52px 0 32px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero::after {
  position: absolute;
  right: max(-80px, -4vw);
  bottom: 10px;
  width: min(38vw, 360px);
  aspect-ratio: 601 / 532;
  background: url("assets/cybersmart-mark.png") center / contain no-repeat;
  content: "";
  opacity: 0.13;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--royal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.hero-lede {
  max-width: 700px;
  color: var(--deep);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.actions,
.resource-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button-link,
button {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--deep);
  border-radius: var(--radius);
  background: var(--deep);
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}

.button-link:hover,
button:hover {
  background: var(--royal);
  border-color: var(--royal);
}

.text-link,
button.secondary {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--deep);
  text-decoration: none;
}

button:disabled {
  border-color: var(--line);
  background: var(--line);
  color: var(--deep);
  cursor: not-allowed;
}

.notice-band {
  margin: 0 0 28px;
  padding: 18px 22px;
  border-left: 5px solid var(--royal);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--deep);
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(17, 41, 53, 0.08);
}

.learn-section,
.wizard-section {
  padding: 56px 0;
}

.section-heading,
.wizard-intro {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading p,
.wizard-intro p {
  color: var(--muted);
  font-size: 1.1rem;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.level-card,
.wizard,
.result-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(17, 41, 53, 0.08);
}

.level-card {
  min-height: 220px;
  padding: 22px;
}

.level-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green);
  color: var(--deep);
  font-size: 0.85rem;
  font-weight: 900;
}

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

.level-count {
  color: var(--royal);
  font-weight: 900;
}

.level-card small {
  color: var(--deep);
  font-weight: 900;
}

.wizard-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  gap: 32px;
  align-items: start;
}

.wizard {
  padding: 30px;
}

.progress-wrap {
  margin-bottom: 28px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  background: var(--line);
  border-radius: 999px;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--picton), var(--royal));
  border-radius: inherit;
  transition: width 180ms ease;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  width: 100%;
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.08;
}

.question-help {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 1.05rem;
}

.question-why {
  margin-bottom: 22px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--sky);
  color: var(--deep);
  font-size: 0.95rem;
  font-weight: 800;
}

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

.option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.option:hover,
.option:focus-within {
  border-color: var(--green);
  background: var(--mint);
  transform: translateY(-1px);
}

.option input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--royal);
}

.option-title {
  display: block;
  margin-bottom: 3px;
  font-weight: 900;
}

.option-description {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
}

.actions {
  justify-content: space-between;
  margin-top: 28px;
}

.result-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.result-label {
  margin-bottom: 8px;
  color: var(--royal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.result-summary,
#baseline-text,
.result-grid p {
  color: var(--muted);
  font-size: 1.05rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 26px;
}

.result-grid article {
  padding: 18px;
}

#reason-list {
  margin: 0;
  padding-left: 22px;
}

#reason-list li {
  margin-bottom: 8px;
}

.next-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.next-steps li {
  padding-left: 4px;
}

.callout {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 5px solid var(--royal);
  border-radius: var(--radius);
  background: var(--page);
  color: var(--deep);
  font-weight: 800;
}

.result-cta {
  margin-top: 18px;
}

.result-cta .button-link {
  display: inline-flex;
  align-items: center;
}

.resource-links {
  margin-top: 18px;
}

.resource-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--deep);
  text-decoration: none;
}

.hidden {
  display: none;
}

@media (max-width: 940px) {
  .wizard-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .level-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  .site-header,
  main {
    width: min(100% - 24px, 560px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0 8px;
  }

  nav {
    gap: 12px;
  }

  .hero {
    padding-top: 24px;
  }

  h1 {
    font-size: 3rem;
  }

  .wizard {
    border-radius: 16px;
  }

  .level-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .wizard {
    padding: 22px;
  }

  .progress-label,
  .actions {
    flex-direction: column;
  }

  .actions button,
  .button-link,
  .text-link {
    width: 100%;
    text-align: center;
  }
}
