:root {
  --action: #0066cc;
  --action-focus: #0071e3;
  --action-dark: #2997ff;
  --ink: #1d1d1f;
  --ink-soft: #333333;
  --muted: #6e6e73;
  --hairline: #e0e0e0;
  --divider: #f0f0f0;
  --canvas: #ffffff;
  --parchment: #f5f5f7;
  --pearl: #fafafc;
  --dark: #272729;
  --black: #000000;
  --category-life: #0066cc;
  --category-accident: #1f78d1;
  --category-medical: #3d8ed9;
  --category-cancer: #65a7e5;
  --category-critical: #8bbdee;
  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang TC", sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC", "Noto Sans TC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button,
a.button {
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--action-focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 9999px;
  color: #ffffff;
  background: var(--action);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 40;
}

.global-nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 44px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
  color: #ffffff;
  background: var(--black);
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.global-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  opacity: 0.86;
  transition: opacity 180ms ease;
}

.global-nav a:last-child {
  justify-self: end;
}

.global-nav a:hover {
  opacity: 1;
}

.sub-nav {
  position: sticky;
  top: 0;
  z-index: 39;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
}

.sub-nav-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.sub-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.sub-nav-links > a:not(.sub-nav-action) {
  color: var(--ink-soft);
}

.sub-nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 9999px;
  color: #ffffff;
  background: var(--action);
}

.page-shell {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  min-height: min(900px, calc(100vh - 96px));
  max-width: 1440px;
  margin: 0 auto;
  padding: 104px 48px 120px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--action);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.29;
  letter-spacing: -0.016em;
}

.hero h1 {
  max-width: 72rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.035em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.42em;
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1.38;
  letter-spacing: -0.018em;
}

.hero-lead span {
  opacity: 1;
}

.has-gsap .hero-lead span {
  opacity: 0.16;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 46px;
  padding: 11px 22px;
  border: 0;
  border-radius: 9999px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:active {
  transform: scale(0.95);
}

.button-primary {
  color: #ffffff;
  background: var(--action);
}

.button-primary:hover {
  background: var(--action-focus);
}

.button-secondary {
  border: 1px solid var(--action);
  color: var(--action);
  background: var(--canvas);
}

.button-secondary:hover {
  color: #ffffff;
  background: var(--action);
}

.button-dark {
  border-radius: 8px;
  color: #ffffff;
  background: var(--ink);
  font-size: 14px;
}

.privacy-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  width: min(100%, 650px);
  margin: 0;
  justify-self: end;
  text-align: center;
}

.hero-visual svg {
  display: block;
  width: 100%;
  filter: drop-shadow(3px 5px 30px rgba(0, 0, 0, 0.22));
}

.hero-visual figcaption,
.wheel-stage figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.hero-rings circle {
  fill: none;
  stroke: #d9d9de;
  stroke-width: 1.5;
}

.hero-rays path {
  stroke: #ffffff;
  stroke-width: 7;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0, 1), opacity 300ms ease;
  transform-origin: 310px 310px;
}

.hero-rays path:nth-child(1) { fill: var(--category-life); }
.hero-rays path:nth-child(2) { fill: var(--category-accident); }
.hero-rays path:nth-child(3) { fill: var(--category-medical); }
.hero-rays path:nth-child(4) { fill: var(--category-cancer); }
.hero-rays path:nth-child(5) { fill: var(--category-critical); }

.hero-visual:hover .hero-rays path:nth-child(odd) {
  transform: scale(1.025);
}

.hero-center {
  fill: #ffffff;
}

.hero-center-main,
.hero-center-sub {
  text-anchor: middle;
  fill: var(--ink);
  font-family: var(--font-text);
}

.hero-center-main {
  font-size: 18px;
  font-weight: 600;
}

.hero-center-sub {
  fill: var(--muted);
  font-size: 12px;
}

.marquee {
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  background: var(--black);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 72px;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  padding: 0 28px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.marquee-track i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--action-dark);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.planner-section {
  padding: 144px max(48px, calc((100vw - 1440px) / 2));
}

.planner-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.planner-section {
  color: #ffffff;
  background: var(--dark);
}

.planner-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}

.planner-heading .eyebrow {
  color: var(--action-dark);
}

.planner-heading h2 {
  max-width: 900px;
}

.planner-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, auto));
  grid-auto-flow: dense;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}

.wheel-product {
  grid-column: span 7;
  grid-row: span 2;
  min-width: 0;
  padding: 32px;
  color: var(--ink);
  background: var(--canvas);
}

.input-panel {
  grid-column: span 5;
  grid-row: span 2;
  min-width: 0;
  padding: 32px;
  border-left: 1px solid var(--hairline);
  color: var(--ink);
  background: var(--parchment);
}

.wheel-panel-heading,
.input-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.wheel-panel-heading p {
  margin: 0 0 4px;
  color: var(--action);
  font-size: 14px;
  font-weight: 600;
}

.wheel-panel-heading h3,
.input-panel-top h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

#categoryProgress {
  color: var(--action);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}

.wheel-stage {
  max-width: 680px;
  margin: 24px auto 0;
  text-align: center;
}

#planner-title span {
  display: inline-block;
}

.protection-wheel {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.radar-grid,
.radar-hero-grid polygon,
.radar-hero-grid path {
  fill: none;
  stroke: #d8dce2;
  stroke-width: 1;
  pointer-events: none;
}

.radar-ideal {
  stroke: #747c88;
  stroke-width: 1.5;
}

.radar-spoke {
  stroke: #e0e3e8;
  stroke-width: 1;
}

.radar-actual {
  fill: #0066cc;
  fill-opacity: 0.2;
  stroke: #0066cc;
  stroke-width: 3;
  stroke-linejoin: round;
}

.radar-dot,
.radar-hero-dots circle {
  fill: #0066cc;
  stroke: #ffffff;
  stroke-width: 2;
}

.radar-axis {
  cursor: pointer;
}

.radar-axis-name,
.radar-axis-number {
  fill: var(--ink);
  font-family: var(--font-text);
  font-size: 22px;
  font-weight: 600;
}

.radar-axis-number,
.radar-legend {
  display: none;
}

.radar-axis-percent {
  fill: var(--muted);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
}

.radar-axis.is-active .radar-axis-name,
.radar-axis.is-active .radar-axis-percent,
.radar-axis.is-active .radar-axis-number {
  fill: #0066cc;
}

.radar-axis:focus-visible {
  outline: 2px solid var(--action-focus);
  outline-offset: 6px;
}

.radar-tick {
  fill: #747c88;
  font-size: 14px;
  font-family: var(--font-display);
  paint-order: stroke;
  stroke: #ffffff;
  stroke-width: 4px;
  stroke-linejoin: round;
}

.radar-method {
  margin: 12px auto 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.selected-item-progress {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.selected-item-progress strong {
  margin-left: 8px;
  color: #0066cc;
  font: 600 20px var(--font-display);
}

.input-panel-top {
  display: block;
}

.selected-reading {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  margin: 20px 0 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.selected-reading div {
  min-width: 0;
  padding: 18px 16px;
  border-left: 1px solid var(--hairline);
}

.selected-reading div:first-child {
  border-left: 0;
}

.selected-reading dt {
  color: var(--muted);
  font-size: 12px;
}

.selected-reading dd {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.input-panel-top > p {
  max-width: none;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
  padding-bottom: 12px;
}

.category-tab {
  min-width: 0;
  min-height: 56px;
  padding: 10px 8px;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  color: var(--ink-soft);
  background: var(--canvas);
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.category-tab:hover {
  transform: translateY(-2px);
}

.category-tab[aria-selected="true"] {
  border-color: var(--action);
  color: #ffffff;
  background: var(--action);
}

.item-rows {
  max-height: 720px;
  margin-top: 8px;
  padding-right: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #b8b8bd transparent;
  scrollbar-width: thin;
}

.item-row {
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
}

.item-row:first-child {
  border-top: 0;
}

.item-row.is-selected .item-row-title {
  color: var(--action);
}

.item-row-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.item-row-title {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}

.item-ratio {
  flex: 0 0 auto;
  color: var(--action);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.item-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.number-field {
  display: grid;
  gap: 5px;
}

.number-field > span:first-child {
  color: var(--muted);
  font-size: 11px;
}

.number-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 11px;
  background: var(--canvas);
  overflow: hidden;
  transition: border-color 180ms ease;
}

.number-control:focus-within {
  border-color: var(--action-focus);
}

.number-control input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 10px 8px 10px 12px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.number-control .unit {
  max-width: 70px;
  padding: 0 10px 0 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
  text-align: right;
}

.field-message {
  min-height: 15px;
  margin: 4px 0 0;
  color: #b42318;
  font-size: 11px;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: 64px max(48px, calc((100vw - 1440px) / 2));
  background: var(--canvas);
}

.download-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.25;
}

.download-copy p {
  margin: 14px 0 0;
  color: var(--muted);
}

.download-copy .download-detail,
.download-status {
  font-size: 13px;
  line-height: 1.6;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-actions .button {
  min-height: 48px;
  font-size: 15px;
  line-height: 1.35;
}

.download-actions .button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.download-status {
  min-height: 21px;
  margin: 16px 0 0;
  color: var(--muted);
}

.download-status.is-error {
  color: #b42318;
}

.download-again {
  display: inline-block;
  margin-top: 8px;
  color: var(--action);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-again[hidden] {
  display: none;
}

.coverage-details {
  grid-column: 1 / -1;
  min-width: 0;
}

.coverage-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-block: 24px;
  border-block: 1px solid var(--hairline);
}

.coverage-summary p { margin: 0; }
.coverage-summary span { display: block; color: var(--muted); font-size: 14px; }
.coverage-summary strong { font-size: 36px; font-weight: 600; font-variant-numeric: tabular-nums; }
.coverage-summary small { margin-left: 8px; color: var(--muted); font-size: 14px; }
.coverage-summary .is-gap strong { color: #a34b00; }
.coverage-summary .is-met strong { color: #0066cc; }
.coverage-key, .coverage-footnote { color: var(--muted); font-size: 13px; line-height: 1.7; }
.coverage-key { margin: 20px 0 28px; }
.coverage-footnote { margin: 24px 0 0; }
.coverage-groups { display: grid; gap: 32px; }
.coverage-group { min-width: 0; }
.coverage-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 12px; }
.coverage-group-head h3 { margin: 0; font-size: 21px; }
.coverage-group-head h3 span { margin-right: 10px; color: var(--muted); font-size: 14px; font-weight: 400; }
.coverage-group-head p { margin: 0; color: var(--muted); font-size: 13px; }
.coverage-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.coverage-table th, .coverage-table td { padding: 16px 14px; border-bottom: 1px solid #e5e7eb; vertical-align: middle; }
.coverage-table thead th { padding-block: 10px; background: #f5f5f7; color: #6e6e73; font-size: 12px; font-weight: 400; text-align: right; }
.coverage-table thead th:first-child { width: 34%; text-align: left; }
.coverage-table thead th:last-child { width: 19%; }
.coverage-table tbody th { text-align: left; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.coverage-table tbody th small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 400; }
.coverage-table td { text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.coverage-table .coverage-gap { background: #fff7ed; color: #a34b00; font-weight: 600; }
.coverage-table .is-met .coverage-gap { background: #f2f7fc; color: #0066cc; }
.coverage-table .is-unknown .coverage-gap { background: #f5f5f7; color: #6e6e73; }
.coverage-gap small { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; }
.coverage-ratio strong { color: #0066cc; font-size: 14px; font-weight: 500; }
.coverage-meter { display: block; overflow: hidden; height: 6px; margin-top: 8px; background: #f7e1c9; }
.coverage-meter span { display: block; height: 100%; background: #0066cc; }
.is-unknown .coverage-meter { background: #e5e7eb; }
.coverage-value-label { display: none; }

.page-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding: 64px max(48px, calc((100vw - 1440px) / 2));
  color: var(--muted);
  background: var(--parchment);
  font-size: 12px;
  line-height: 1.6;
}

.page-footer p {
  max-width: 900px;
  margin: 0;
}

.page-footer a {
  flex: 0 0 auto;
  color: var(--action);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
    padding-inline: 36px;
  }

  .hero h1 {
    font-size: clamp(3rem, 5.2vw, 4rem);
  }

  .planner-section {
    padding-inline: 36px;
  }

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

  .wheel-product {
    padding: 24px;
  }

  .input-panel {
    padding: 24px;
  }

  .item-rows {
    max-height: 650px;
  }

  .selected-reading {
    grid-template-columns: 1fr;
  }

  .selected-reading div,
  .selected-reading div:first-child {
    padding: 10px 4px;
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }

  .selected-reading div:first-child {
    border-top: 0;
  }

}

@media (max-width: 900px) {
  .download-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-inline: 36px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 96px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 620px);
    margin-top: 72px;
    justify-self: center;
  }

  .planner-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .wheel-product,
  .input-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .input-panel {
    border-top: 1px solid var(--hairline);
    border-left: 0;
  }

  .item-rows {
    max-height: none;
  }

  .selected-reading {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .selected-reading div,
  .selected-reading div:first-child {
    padding: 16px;
    border-top: 0;
    border-left: 1px solid var(--hairline);
  }

  .selected-reading div:first-child {
    border-left: 0;
  }

}

@media (max-width: 640px) {
  .download-section {
    padding: 48px 20px;
  }

  .download-actions {
    display: grid;
  }

  .coverage-summary { gap: 12px; }
  .coverage-summary strong { font-size: 30px; }
  .coverage-summary span { font-size: 12px; }
  .coverage-table, .coverage-table tbody { display: block; }
  .coverage-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .coverage-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #e5e7eb; padding: 16px 0; gap: 12px 6px; }
  .coverage-table tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
  .coverage-table tbody th small { display: inline; margin-left: 8px; }
  .coverage-table td { border: 0; padding: 8px; text-align: left; }
  .coverage-value-label { display: block; color: #6e6e73; margin-bottom: 6px; font-size: 11px; font-weight: 400; }
  .coverage-table .coverage-ratio { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; padding: 0; }
  .coverage-ratio strong { min-width: 72px; font-size: 12px; }
  .coverage-meter { flex: 1; margin: 0; }

  .category-tab {
    padding-inline: 6px;
    font-size: 12px;
  }

  .radar-axis-name {
    display: none;
  }

  .radar-axis-number {
    display: block;
    font-size: 34px;
  }

  .radar-axis-percent {
    font-size: 34px;
  }

  .radar-tick {
    font-size: 22px;
  }

  .radar-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 24px;
  }

  .radar-legend button {
    display: grid;
    gap: 5px;
    padding: 10px 8px;
    min-height: 64px;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    font: 12px var(--font-text);
    text-align: left;
    cursor: pointer;
  }

  .radar-legend button[aria-pressed="true"] {
    border-color: #0066cc;
  }

  .radar-legend strong {
    color: #0066cc;
    font: 600 20px var(--font-display);
  }

  html {
    scroll-padding-top: 64px;
  }

  .global-nav {
    grid-template-columns: 1fr auto;
    padding-inline: 18px;
  }

  .global-nav span {
    display: none;
  }

  .sub-nav {
    height: 50px;
    padding-inline: 18px;
  }

  .sub-nav-links > a:not(.sub-nav-action) {
    display: none;
  }

  .sub-nav-title {
    font-size: 18px;
  }

  .hero {
    padding: 72px 20px 88px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.3rem);
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-lead {
    font-size: 21px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .planner-section {
    padding: 96px 20px;
  }

  .planner-heading h2 {
    font-size: 38px;
  }

  .planner-heading {
    display: grid;
  }

  .planner-heading .button {
    justify-self: start;
  }

  .wheel-product,
  .input-panel {
    padding: 20px;
  }

  .wheel-panel-heading,
  .input-panel-top {
    display: grid;
  }

  .input-panel-top > p {
    max-width: none;
    text-align: left;
  }

  .selected-reading {
    grid-template-columns: 1fr;
  }

  .selected-reading div,
  .selected-reading div:first-child {
    padding: 12px 4px;
    border-top: 1px solid var(--hairline);
    border-left: 0;
  }

  .selected-reading div:first-child {
    border-top: 0;
  }

  .item-fields {
    grid-template-columns: 1fr;
  }

  .page-footer {
    display: grid;
    padding: 48px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-lead span {
    opacity: 1 !important;
  }
}
