:root {
  --ink: #17202b;
  --deep: #093f48;
  --teal: #0d6872;
  --teal-soft: #dceff0;
  --blue: #5866cc;
  --gold: #c79a43;
  --paper: #ffffff;
  --wash: #f6f8fb;
  --mist: #eef3f7;
  --line: #dbe4ee;
  --muted: #60717f;
  --shadow: 0 28px 90px rgba(9, 63, 72, 0.13);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(199, 154, 67, 0.18), transparent 28rem),
    linear-gradient(180deg, #fbfcfd 0%, #edf4f6 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button:focus-visible,
input:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(88, 102, 204, 0.38);
  outline-offset: 3px;
}

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

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 48px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 104, 114, 0.14);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 104, 114, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(13, 104, 114, 0.06) 1px, transparent 1px),
    #fbfdfd;
  background-size: 54px 54px;
}

.topbar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
}

.brand {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 12px;
  text-align: left;
}

.brand-orbit {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(13, 104, 114, 0.38);
  border-radius: 50%;
  color: var(--deep);
  background:
    radial-gradient(circle, #fff 0 24%, transparent 25%),
    repeating-radial-gradient(circle, rgba(13, 104, 114, 0.18) 0 1px, transparent 2px 8px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.brand strong {
  display: block;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0.12em;
}

.top-links {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 7vw, 82px);
  font-weight: 500;
  line-height: 0.96;
}

h2 {
  margin-bottom: 10px;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.05;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions,
.hero-overlay {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-cta-copy {
  flex: 1 1 260px;
  min-width: min(100%, 260px);
  padding: 4px 8px;
}

.hero-cta-copy strong,
.hero-cta-copy span {
  display: block;
}

.hero-cta-copy strong {
  color: var(--deep);
  font-size: 15px;
}

.hero-cta-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.primary-link,
.ghost-link,
.date-row button,
.upgrade button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 850;
}

.primary-link,
.date-row button,
.upgrade button {
  border: 0;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
}

.ghost-link {
  border: 1px solid var(--line);
  color: var(--deep);
  background: rgba(255, 255, 255, 0.76);
}

.hero-poster {
  position: relative;
  display: grid;
  min-height: min(860px, calc(100vh - 84px));
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: #f7fbfb;
}

.hero-poster img {
  width: min(100%, 1024px);
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(9, 63, 72, 0.16);
}

.hero-overlay {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 5vw, 54px);
  transform: translateX(-50%);
  width: min(760px, calc(100% - 36px));
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 44px rgba(9, 63, 72, 0.12);
  backdrop-filter: blur(10px);
}

.calculator-card,
.report-preview,
.navigation-panel,
.tab-content,
.upgrade {
  padding: clamp(28px, 5vw, 56px);
}

.report-preview {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 10%, rgba(199, 154, 67, 0.18), transparent 24rem),
    linear-gradient(135deg, #fffaf3, #f9fcfc 60%, #edf7f8);
}

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

.report-grid article {
  min-height: 168px;
  padding: 18px;
  border: 1px solid rgba(199, 154, 67, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 34px rgba(9, 63, 72, 0.07);
}

.report-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(199, 154, 67, 0.46);
  border-radius: 50%;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.report-grid strong {
  display: block;
  color: var(--deep);
  font-size: 15px;
  text-transform: uppercase;
}

.report-grid p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.calculator-card {
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
  text-align: center;
  background: var(--paper);
}

.calculator-head {
  max-width: 720px;
  margin: 0 auto 18px;
}

.date-form {
  max-width: 640px;
  margin: 0 auto 34px;
}

.form-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
}

.date-form label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.date-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 12px;
}

.date-row input,
.date-row button {
  min-height: 56px;
}

.date-row input {
  width: 100%;
  border: 1px solid #d6dce6;
  border-radius: 8px;
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
}

.matrix-wrap {
  display: grid;
  grid-template-columns: 92px auto;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.matrix-labels {
  display: grid;
  grid-template-rows: repeat(3, 74px);
  gap: 10px;
  align-items: center;
  justify-items: end;
  color: #3742b4;
  font-size: 18px;
  font-weight: 850;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 74px);
  gap: 10px;
}

.matrix-cell {
  min-width: 0;
  height: 74px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(88, 102, 204, 0.72);
  border-radius: 8px;
  color: var(--deep);
  background: #eef1fa;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 850;
  letter-spacing: 0.03em;
  text-align: center;
  word-break: break-word;
}

#cell8,
#cell4,
#cell2 {
  grid-column: 1;
}

#cell1,
#cell3,
#cell5 {
  grid-column: 2;
}

#cell6,
#cell7,
#cell9 {
  grid-column: 3;
}

#cell0 {
  grid-column: 4;
  grid-row: 2;
}

.quick-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 880px;
  margin: 34px auto 0;
}

.quick-metrics article,
.insight-card,
.vector-card,
.line-item,
.health-row,
.signal-card,
.addon-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quick-metrics article {
  padding: 18px;
}

.quick-metrics span,
.insight-card span,
.vector-card span,
.addon-grid span,
.signal-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.quick-metrics strong {
  display: block;
  margin-top: 7px;
  color: var(--deep);
  font-size: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.navigation-panel {
  text-align: center;
  border-top: 1px solid var(--line);
  background: #fff;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  border-radius: 8px;
  background: #f4f5fc;
}

.tab {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: #4454cb;
  background: #e6e9f7;
  cursor: pointer;
  font-weight: 700;
}

.tab.active {
  color: #fff;
  background: var(--blue);
}

.tab-content {
  border-top: 1px solid var(--line);
  background: var(--wash);
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.panel-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

#quick > .panel-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.analysis-grid,
.addon-grid,
.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.insight-card,
.addon-grid article,
.signal-card,
.vector-card {
  padding: 22px;
}

.addon-grid article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 250px;
}

.addon-grid article small {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--deep);
  background: var(--teal-soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.addon-grid article span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 700;
  text-transform: none;
}

.addon-grid article p {
  color: var(--ink);
}

.featured-offer {
  border-color: rgba(199, 154, 67, 0.65) !important;
  background:
    linear-gradient(180deg, rgba(199, 154, 67, 0.13), rgba(255, 255, 255, 0.96)),
    #fff !important;
  box-shadow: 0 18px 52px rgba(9, 63, 72, 0.12);
}

.card-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: var(--teal);
  font-weight: 850;
}

.ghost-card-link {
  color: var(--deep);
  border: 1px solid rgba(13, 104, 114, 0.22);
  background: #fff;
}

.insight-card strong,
.vector-card strong,
.addon-grid strong,
.signal-card strong {
  display: block;
  margin: 8px 0;
  color: var(--deep);
  font-size: 22px;
}

.insight-card.locked {
  position: relative;
  background:
    linear-gradient(135deg, rgba(88, 102, 204, 0.08), rgba(199, 154, 67, 0.12)),
    #fff;
}

.insight-card.locked::after {
  content: "Premium";
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 8px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.line-list,
.health-chart {
  display: grid;
  gap: 10px;
}

.line-item,
.health-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 52px;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.line-meter,
.health-meter {
  height: 12px;
  overflow: hidden;
  border-radius: 99px;
  background: #e5ebf0;
}

.line-meter span,
.health-meter span {
  display: block;
  height: 100%;
  width: var(--value);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.safety-note {
  max-width: 720px;
  color: #7c6531;
}

.upgrade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: stretch;
  border-top: 1px solid rgba(199, 154, 67, 0.24);
  background:
    radial-gradient(circle at 84% 18%, rgba(199, 154, 67, 0.2), transparent 24rem),
    linear-gradient(135deg, #fffaf3, #f9fcfc 58%, #edf7f8);
}

.upgrade h2 {
  color: var(--deep);
}

.upgrade p {
  color: var(--ink);
}

.upgrade-list {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.upgrade-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  line-height: 1.5;
}

.upgrade-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.checkout-card {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 26px;
  border: 1px solid rgba(199, 154, 67, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(220, 239, 240, 0.72)),
    #fff;
  box-shadow: 0 20px 60px rgba(9, 63, 72, 0.12);
}

.checkout-card span,
.checkout-card small {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-card strong {
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  line-height: 1;
}

.upgrade-visual {
  display: grid;
  align-items: center;
}

.upgrade-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(199, 154, 67, 0.38);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(9, 63, 72, 0.12);
}

.checkout-card p {
  margin-bottom: 4px;
}

.upgrade button,
.checkout-card button {
  background: var(--teal);
  color: #fff;
}

.checkout-card button {
  width: 100%;
}

.checkout-card .policy-link {
  min-height: auto;
  width: fit-content;
  justify-self: center;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: var(--deep);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.refund-dialog ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: var(--ink);
  line-height: 1.5;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.trust-row span {
  padding: 8px 10px;
  border: 1px solid rgba(199, 154, 67, 0.36);
  border-radius: 8px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.faq {
  padding: clamp(28px, 5vw, 56px);
  border-top: 1px solid var(--line);
  background: #fff;
}

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

.faq-grid details {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.faq-grid summary {
  color: var(--deep);
  cursor: pointer;
  font-weight: 850;
}

.faq-grid p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px clamp(18px, 4vw, 44px);
  color: #fff;
  background: var(--deep);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.footer-brand {
  grid-column: auto;
  color: #fff;
}

.footer-brand .brand-orbit {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.product-dialog {
  width: min(520px, calc(100% - 32px));
  border: 1px solid rgba(199, 154, 67, 0.5);
  border-radius: 12px;
  padding: 34px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(4, 28, 33, 0.66);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--deep);
  background: var(--wash);
  cursor: pointer;
  font-size: 26px;
}

@media (max-width: 840px) {
  .shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .top-links {
    display: none;
  }

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

  .brand {
    grid-column: 1;
  }

  .analysis-grid,
  .addon-grid,
  .signal-grid,
  .quick-metrics,
  .report-grid,
  .upgrade,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    text-align: center;
  }

  .hero-poster {
    min-height: auto;
    padding: 10px;
  }

  .hero-overlay {
    width: calc(100% - 28px);
    bottom: 14px;
  }

  .hero-overlay a {
    flex: 1 1 150px;
  }

  .hero-cta-copy {
    flex-basis: 100%;
    text-align: center;
  }

  .date-row {
    grid-template-columns: 1fr;
  }

  .matrix-wrap {
    grid-template-columns: 64px auto;
    gap: 10px;
  }

  .matrix-labels {
    grid-template-rows: repeat(3, 62px);
    font-size: 15px;
  }

  .matrix-grid {
    grid-template-columns: repeat(4, minmax(52px, 62px));
  }

  .matrix-cell {
    height: 62px;
  }

  .line-item,
  .health-row {
    grid-template-columns: 1fr;
  }
}

.number-summary,
.character-grid,
.vector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.number-summary {
  max-width: 720px;
  margin: 0 auto 22px;
}

.number-summary article,
.character-card,
.explain-box,
.reference-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.number-summary article {
  padding: 22px;
  text-align: center;
  background: #eef1fa;
  box-shadow: 0 8px 22px rgba(9, 63, 72, 0.08);
}

.number-summary article:first-child {
  grid-column: 1 / 2;
}

.number-summary article:last-child {
  grid-column: 2 / 3;
}

.number-summary span,
.character-card strong {
  color: #2638b8;
  font-weight: 850;
}

.number-summary strong {
  display: block;
  margin: 14px 0;
  color: var(--blue);
  font-size: 42px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.number-summary p {
  margin-bottom: 0;
  color: var(--ink);
}

.template-note {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.template-note strong {
  color: var(--deep);
}

.meaning-stack {
  display: grid;
  gap: 24px;
  margin: 0 0 24px;
}

.meaning-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 20px;
}

.meaning-card,
.shadow-card,
.shadow-note {
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(9, 63, 72, 0.08);
}

.meaning-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: #f7f8fd;
}

.meaning-card h3,
.shadow-card h3 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(88, 102, 204, 0.24);
  color: var(--blue);
  font-size: 18px;
}

.meaning-card p {
  margin-bottom: 16px;
  color: var(--ink);
  line-height: 1.6;
}

.meaning-card p:last-child,
.shadow-card p:last-child {
  margin-bottom: 0;
}

.shadow-card {
  padding: 24px;
  color: #fff;
  background: #202020;
}

.shadow-card h3 {
  color: #8ea0ff;
  border-bottom-color: rgba(142, 160, 255, 0.28);
}

.shadow-card p {
  color: #fff;
  font-weight: 650;
  line-height: 1.6;
}

.shadow-note {
  margin: 0 0 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  background: #fff;
  color: var(--ink);
}

.shadow-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--deep);
}

.explain-box,
.reference-box {
  margin: 0 0 22px;
  overflow: hidden;
}

.explain-box {
  overflow-x: auto;
}

.explain-box summary,
.reference-box summary {
  padding: 14px 20px;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
  font-weight: 850;
}

.explain-box p,
.reference-box p {
  padding: 18px 20px 0;
  margin-bottom: 0;
  color: var(--ink);
}

.compare-table {
  display: grid;
  min-width: 620px;
  padding: 0 20px 22px;
}

.number-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 620px;
  margin: 18px 20px 0;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}

.comparison-intro {
  margin: 18px 20px 0;
  padding: 18px 20px;
  border: 1px solid rgba(13, 104, 114, 0.16);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(220, 239, 240, 0.72), rgba(255, 255, 255, 0.94));
}

.comparison-intro strong {
  display: block;
  margin-bottom: 8px;
  color: var(--deep);
  font-size: 18px;
}

.comparison-intro p {
  padding: 0;
  margin: 0 0 10px;
  color: var(--ink);
}

.comparison-intro p:last-child {
  margin-bottom: 0;
}

.number-bars strong {
  display: block;
  padding: 18px 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--teal));
  border-right: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 20px;
  font-weight: 850;
}

.number-bars strong:last-child {
  background: linear-gradient(135deg, #b8862d, var(--gold));
  color: #071116;
}

.number-bars strong:last-child {
  border-right: 0;
}

.compare-table div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-table div > * {
  padding: 13px 16px;
  border-right: 1px solid rgba(13, 104, 114, 0.12);
  border-bottom: 1px solid rgba(13, 104, 114, 0.12);
}

.compare-table div > *:last-child {
  border-right: 0;
}

.compare-table div:nth-child(even) > * {
  background: var(--teal-soft);
}

.compare-table div:nth-child(odd) > * {
  background: #fbfdfc;
}

.compare-table div > *:nth-child(2) {
  background-image: linear-gradient(90deg, rgba(199, 154, 67, 0.12), rgba(255, 255, 255, 0));
}

.character-card,
.signal-card {
  min-height: 58px;
  padding: 18px;
  border-left: 4px solid rgba(88, 102, 204, 0.72);
  background: #f7f8fd;
}

.character-card span,
.signal-card p {
  display: inline;
  margin: 0;
}

.health-meter {
  position: relative;
  height: 30px;
  border-radius: 5px;
}

.health-meter span {
  background: var(--bar, var(--teal));
}

.health-meter b {
  position: absolute;
  left: 12px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: #fff;
  font-size: 13px;
}

.level-low {
  color: #ff2020 !important;
}

.level-ok {
  color: #129d2f !important;
}

.level-high {
  color: #f07a00 !important;
}

.subsection-title {
  margin-top: 26px;
  text-align: center;
  color: var(--blue);
}

.workout-note {
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.workout-note strong {
  color: var(--deep);
}

.slot-reference {
  display: grid;
  gap: 18px;
  padding: 18px 20px 22px;
}

.slot-card h3 {
  margin-bottom: 8px;
  color: var(--ink);
}

.slot-card p {
  padding: 0;
  margin-bottom: 14px;
  color: var(--ink);
  line-height: 1.5;
}

@media (max-width: 840px) {
  .number-summary,
  .character-grid,
  .vector-grid,
  .meaning-pair {
    grid-template-columns: 1fr;
  }

  .number-summary article:first-child,
  .number-summary article:last-child {
    grid-column: auto;
  }

  .compare-table div,
  .number-bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
