:root {
  --bg: #f4f6fa;
  --bg-soft: #fbfcfe;
  --surface: #ffffff;
  --surface-alt: #f2f5fa;
  --ink: #152338;
  --muted: #5b6b82;
  --line: #e3e8f1;
  --brand: #1d4ed8;
  --brand-strong: #0b3ea8;
  --accent: #f28a2e;
  --accent-soft: #fff0e4;
  --success: #1aa37a;
  --shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 16px 32px rgba(15, 23, 42, 0.12);
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lexend", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 520px at -10% -20%, #e4eeff 0%, transparent 60%),
    radial-gradient(900px 460px at 112% -10%, #ffe8d7 0%, transparent 58%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 55%, #f1f5f9 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.26;
  animation: float 16s ease-in-out infinite;
}

.orb-1 {
  width: 330px;
  height: 330px;
  background: #c8deff;
  left: -120px;
  top: 90px;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: #ffe4cb;
  right: -130px;
  top: 52px;
}

.orb-3 {
  width: 310px;
  height: 310px;
  background: #d8fff1;
  left: 24%;
  bottom: -130px;
}

.orb-4 {
  width: 280px;
  height: 280px;
  background: #e1ebff;
  right: 24%;
  bottom: -100px;
}

.topbar {
  width: min(1120px, calc(100% - 2rem));
  margin: 0.9rem auto 0;
  padding: 0.9rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  position: sticky;
  top: 0.7rem;
  z-index: 30;
  border: 1px solid rgba(227, 232, 241, 0.95);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px) saturate(1.15);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 40px;
  padding: 0.52rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

nav a:hover {
  color: var(--brand);
  border-color: #b7cdf1;
  transform: translateY(-1px);
}

nav a.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 10px 18px rgba(15, 76, 201, 0.25);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 2.6rem;
  display: grid;
  gap: 1rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.5rem;
  background: linear-gradient(160deg, #ffffff 0%, #f7f9fc 55%, #fff6ee 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -80px;
  bottom: -80px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(255, 233, 215, 0) 70%);
}

.hero.compact {
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: #e9f1ff;
  color: var(--brand-strong);
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

h1 {
  margin: 0;
  max-width: 18ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 7.7vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

h2 {
  margin: 0 0 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  line-height: 1.2;
  color: #182a45;
}

h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  color: #182a45;
}

.lead {
  margin-top: 0.95rem;
  max-width: 66ch;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

.cta-row {
  margin-top: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  min-height: 44px;
  padding: 0.72rem 1.12rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  color: #fff;
  background: linear-gradient(138deg, var(--brand), #2e93ff 58%, #399fff);
  box-shadow: 0 11px 24px rgba(10, 116, 255, 0.27);
}

.btn-solid:hover {
  box-shadow: 0 16px 30px rgba(10, 116, 255, 0.35);
}

.btn-outline {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.btn-outline:hover {
  border-color: #b8cbec;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.card::before {
  display: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #bfd3ee;
  box-shadow: var(--shadow-hover);
}

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

.card p {
  margin: 0.25rem 0 0;
  line-height: 1.63;
}

.card ul {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.card li {
  position: relative;
  margin: 0.43rem 0;
  padding-left: 0.95rem;
  line-height: 1.52;
}

.card li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 800;
}

.big-number {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.65rem, 4.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--brand-strong);
}

.table-wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.72rem 0.66rem;
  text-align: left;
  border-bottom: 1px solid #e3ebf6;
  font-size: 0.92rem;
}

.table th {
  color: #2a3b54;
  background: #f1f4f9;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.74rem;
  font-weight: 800;
}

.table tbody tr:nth-child(even) {
  background: #fafcff;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.muted {
  color: #67758b;
  font-size: 0.88rem;
  line-height: 1.55;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.53rem 0 0.53rem 1.15rem;
  border-bottom: 1px dashed #dbe6f3;
  line-height: 1.45;
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist li::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 0.52rem;
  font-weight: 800;
  color: var(--brand);
}

.form-grid {
  display: grid;
  gap: 0.82rem;
}

.form-hint {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: #5a6a82;
  line-height: 1.5;
}

.form-details {
  margin-top: 0.7rem;
  border: 1px dashed #d6dfec;
  border-radius: 12px;
  padding: 0 0.9rem;
  background: #f8fafc;
}

.form-details summary {
  list-style: none;
  cursor: pointer;
  padding: 0.7rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-weight: 700;
  color: #1b2f4b;
}

.form-details summary::-webkit-details-marker {
  display: none;
}

.form-details summary::after {
  content: "+";
  font-size: 1.05rem;
  color: var(--brand);
}

.form-details[open] summary::after {
  content: "–";
}

.form-grid.four {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.form-grid.two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  display: grid;
  gap: 0.45rem;
}

.label-text {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4b5d76;
}

input {
  width: 100%;
  min-height: 54px;
  border: 1.5px solid #d0d9e6;
  border-radius: 14px;
  background: #f7f9fd;
  color: var(--ink);
  font: inherit;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 0.78rem 0.9rem;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(10, 116, 255, 0.16);
  outline: 0;
  background: #fff;
}

.result-grid {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.72rem;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
}

.report-panel {
  margin-top: 0.92rem;
  display: grid;
  gap: 0.8rem;
}

.report-main {
  border-radius: 14px;
  padding: 0.86rem 0.95rem;
  background: linear-gradient(140deg, #1347b5, #1d5fe4 70%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.report-main p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.report-main strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  line-height: 1.1;
  color: #fff;
}

.report-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.report-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.62rem 0.74rem;
  border-bottom: 1px dashed #dbe7f4;
}

.report-list li:last-child {
  border-bottom: 0;
}

.report-list span {
  color: #4f617a;
  font-size: 0.86rem;
}

.report-list strong {
  color: #1d385e;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: right;
}

.report-notes {
  display: grid;
  gap: 0.48rem;
}

.report-note {
  margin: 0;
  padding: 0.57rem 0.68rem;
  border-radius: 10px;
  border: 1px solid #d7e4f4;
  background: #f3f8ff;
  color: #274062;
  font-size: 0.84rem;
  line-height: 1.45;
}

.result-box {
  background: #ffffff;
  border: 1px solid #d8e4f4;
  border-radius: 14px;
  padding: 0.82rem;
}

.result-box p {
  margin: 0;
  color: #5f6e84;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-box strong {
  margin-top: 0.36rem;
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.28rem;
  line-height: 1.2;
  color: #17325b;
}

.result-box.highlight {
  border-color: transparent;
  background: linear-gradient(140deg, var(--brand), #2d96ff 58%, #38a2ff);
}

.result-box.highlight p,
.result-box.highlight strong {
  color: #fff;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.section-nav a {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  background: #f4f7fc;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.section-nav a:hover {
  color: var(--ink);
  border-color: #d6deea;
  background: #fff;
}

.section {
  display: grid;
  gap: 0.9rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-row {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.2rem;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6a7b93;
  font-weight: 700;
}

.stat-value {
  font-size: 1.08rem;
  font-weight: 700;
  color: #172a44;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.panel-block {
  display: grid;
  gap: 0.7rem;
}

.chart-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.6rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.chart {
  width: 100%;
  height: 190px;
  display: block;
}

.chart-mini {
  height: 130px;
}

.summary-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.summary-item {
  border: 1px solid #e4eaf4;
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  background: #f8fbff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.summary-item span {
  font-size: 0.82rem;
  color: #4f6079;
}

.summary-item strong {
  font-size: 0.92rem;
  color: #1a2f4e;
  text-align: right;
}

.tier-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.tier-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.35rem;
}

.tier-range {
  font-size: 0.82rem;
  color: #5b6b82;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-bonus {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  color: #152a4d;
}

.example-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.example-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.example-card small {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6c7c93;
  font-weight: 700;
}

.example-card h3 {
  margin: 0.35rem 0 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  color: #182b49;
}

.example-card p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.accordion {
  display: grid;
  gap: 0.6rem;
}

.accordion details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0 0.9rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-weight: 700;
  color: #1b2f4b;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--brand);
}

.accordion details[open] summary::after {
  content: "–";
}

.accordion .checklist {
  margin-bottom: 0.7rem;
}

.accordion.compact details {
  padding: 0 0.8rem;
}

.accordion.compact summary {
  padding: 0.65rem 0;
  font-size: 0.88rem;
}

.note {
  margin: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: #f3f7ff;
  border: 1px solid #dbe5f5;
  color: #2a4162;
  font-size: 0.88rem;
}

.footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 1.3rem;
  text-align: center;
  color: #6a7a90;
  font-size: 0.83rem;
}

.reveal {
  opacity: 0;
  animation: rise 0.62s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.66s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.reveal-stagger > *:nth-child(1) {
  animation-delay: 0.05s;
}

.reveal-stagger > *:nth-child(2) {
  animation-delay: 0.12s;
}

.reveal-stagger > *:nth-child(3) {
  animation-delay: 0.19s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.994);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.04);
  }
}

@media (max-width: 760px) {
  .topbar {
    width: calc(100% - 1rem);
    margin-top: 0.6rem;
    padding: 0.75rem;
    gap: 0.58rem;
    top: 0.4rem;
    flex-direction: column;
    align-items: stretch;
  }

  .container {
    width: calc(100% - 1rem);
    margin-top: 0.7rem;
    gap: 0.75rem;
  }

  .brand {
    text-align: center;
    font-size: 1.5rem;
  }

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  nav a {
    width: 100%;
    font-size: 0.8rem;
    min-height: 38px;
    padding: 0.5rem;
  }

  .hero {
    padding: 1.25rem 0.95rem;
    border-radius: 16px;
  }

  .hero::after {
    width: 180px;
    height: 180px;
    right: -70px;
    bottom: -85px;
  }

  h1 {
    font-size: clamp(1.75rem, 10.5vw, 2.45rem);
  }

  .lead {
    margin-top: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.52;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .btn {
    width: 100%;
  }

  .card {
    border-radius: 14px;
    padding: 1rem;
  }

  .card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }

  .cards,
  .two-col {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .table-wrap .table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 0.55rem;
  }

  .table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .table tbody,
  .table tr,
  .table td {
    display: block;
    width: 100%;
  }

  .table tr {
    border: 1px solid #d7e3f2;
    border-radius: 12px;
    background: #fff;
    padding: 0.1rem 0.72rem;
    box-shadow: 0 10px 20px rgba(16, 34, 68, 0.06);
  }

  .table tbody tr:nth-child(even) {
    background: #fff;
  }

  .table td {
    border-bottom: 1px dashed #dbe7f4;
    padding: 0.53rem 0;
    font-size: 0.86rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: right;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .table td:last-child {
    border-bottom: 0;
  }

  .table td::before {
    content: attr(data-label);
    color: #213552;
    font-weight: 700;
    text-align: left;
    max-width: 58%;
    flex: 0 0 auto;
  }

  .form-grid.four {
    grid-template-columns: 1fr;
  }

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

  .report-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .report-main strong {
    font-size: 1.38rem;
  }

  .report-list li {
    align-items: flex-start;
  }

  .result-box {
    padding: 0.72rem 0.78rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.74rem;
  }

  .result-box p {
    margin: 0;
    font-size: 0.72rem;
  }

  .result-box strong {
    margin-top: 0;
    text-align: right;
    font-size: 1.08rem;
  }

  .bg-orb {
    opacity: 0.28;
    filter: blur(34px);
  }

  .orb-3,
  .orb-4 {
    display: none;
  }

  .footer {
    width: calc(100% - 1rem);
    margin-bottom: 0.95rem;
    padding: 0 0.2rem;
    font-size: 0.78rem;
  }

  .section-nav {
    border-radius: 16px;
    padding: 0.5rem;
    gap: 0.4rem;
  }

  .section-nav a {
    flex: 1 1 45%;
    text-align: center;
  }

  .panel {
    padding: 0.85rem;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .chart {
    height: 165px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .summary-item {
    align-items: flex-start;
  }

  .tier-grid,
  .example-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  nav {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 1.03rem;
  }

  label {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
