:root {
  color-scheme: light;
  --paper: #f6f5f1;
  --paper-raised: #fbfaf7;
  --paper-deep: #efede7;
  --ink: #17171c;
  --ink-soft: #5f5d64;
  --ink-faint: #77747c;
  --line: #d9d5cc;
  --line-strong: #aaa59b;
  --accent: #2545e6;
  --accent-ink: #1731b3;
  --accent-soft: #e6eaff;
  --success: #16785c;
  --warning: #a64c24;
  --warning-soft: #f8e8dd;
  --logo-purple: #a855f7;
  --logo-black: #17171c;
  --logo-white: #ffffff;
  --shadow: 0 18px 50px rgb(23 23 28 / 10%);
  --sans: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --display: Newsreader, "Iowan Old Style", "Songti SC", "STSong", Georgia, serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

[data-theme="dark"] {
  color-scheme: dark;
  --paper: #141417;
  --paper-raised: #1b1b1f;
  --paper-deep: #202024;
  --ink: #f2efe8;
  --ink-soft: #bbb7b0;
  --ink-faint: #918e88;
  --line: #35343a;
  --line-strong: #605e65;
  --accent: #6f86ff;
  --accent-ink: #99a8ff;
  --accent-soft: #222a57;
  --success: #69c9a4;
  --warning: #ee946a;
  --warning-soft: #3d2820;
  --shadow: 0 18px 55px rgb(0 0 0 / 34%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--paper);
}

body {
  margin: 0;
  background:
    linear-gradient(to right, transparent calc(50% - 620px), color-mix(in srgb, var(--line) 42%, transparent) calc(50% - 620px), color-mix(in srgb, var(--line) 42%, transparent) calc(50% - 619px), transparent calc(50% - 619px)),
    linear-gradient(to left, transparent calc(50% - 620px), color-mix(in srgb, var(--line) 42%, transparent) calc(50% - 620px), color-mix(in srgb, var(--line) 42%, transparent) calc(50% - 619px), transparent calc(50% - 619px)),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 48%, transparent);
  outline-offset: 3px;
}

svg {
  display: block;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.shell {
  width: min(calc(100% - 72px), 1160px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 68px;
}

.brand-plate {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--logo-white);
  color: var(--logo-black);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand-prop {
  color: var(--logo-black);
}

.brand-hub {
  margin-left: 2px;
  padding: 3px 4px 2px;
  border-radius: 4px;
  background: var(--logo-purple);
  color: var(--logo-white);
}

.header-rule {
  width: 1px;
  height: 25px;
  margin: 0 16px;
  background: var(--line-strong);
}

.header-edition {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.icon-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-button {
  width: 44px;
  padding: 0;
}

.icon-button svg,
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.button {
  gap: 9px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 600;
}

.button:hover,
.icon-button:hover {
  border-color: var(--ink);
  background: var(--paper-raised);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  border-color: var(--accent-ink);
  background: var(--accent-ink);
}

.theme-icon-moon,
[data-theme="dark"] .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-icon-moon {
  display: block;
}

.mobile-menu-button {
  display: none;
}

.menu-close-icon {
  display: none;
}

.menu-open .menu-open-icon {
  display: none;
}

.menu-open .menu-close-icon {
  display: block;
}

.reading-progress {
  position: fixed;
  top: 68px;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

.hero {
  padding-top: 34px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-faint);
  font-size: 14px;
}

.breadcrumb strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-grid {
  padding: 64px 0 58px;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 15%, transparent);
}

.firm-identity {
  width: min(100%, 239px);
  margin: 20px 0 0;
}

.firm-identity img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.hero-meta > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.meta-label {
  color: var(--ink-faint);
  font-size: 14px;
}

.hero-meta strong {
  font-size: 15px;
  font-weight: 600;
}

.firm-coupon-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label copy"
    "value copy"
    "detail copy";
  align-content: center;
  min-width: 0;
  min-height: 88px;
  padding: 12px 14px;
  border-left: 1px solid var(--line-strong);
  background: var(--paper-raised);
}

.coupon-label {
  grid-area: label;
  color: var(--ink-faint);
  font-size: 14px;
}

.coupon-value {
  grid-area: value;
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 16px !important;
  font-weight: 700 !important;
}

.coupon-copy-button {
  grid-area: copy;
  align-self: center;
  min-width: 76px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--accent);
  background: var(--paper-raised);
  font: 700 14px/1 var(--sans);
  cursor: pointer;
}

.coupon-copy-button:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.coupon-copy-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.coupon-copy-button:disabled {
  color: var(--ink-faint);
  cursor: not-allowed;
  opacity: 0.62;
}

.coupon-copy-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.coupon-detail {
  grid-area: detail;
  color: var(--ink-faint);
  font-size: 14px;
  line-height: 1.4;
}

.firm-coupon-card.is-unavailable .coupon-value {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px !important;
  font-weight: 600 !important;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 152px;
  padding: 25px 20px;
  border-right: 1px solid var(--line);
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-label {
  color: var(--ink-faint);
  font-size: 14px;
  font-weight: 600;
}

.stat-item strong {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 33px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.stat-item small {
  margin-top: 6px;
  color: var(--ink-faint);
  font-size: 14px;
}

.stat-item-accent strong {
  color: var(--accent);
}

.article-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 84px;
  padding-top: 110px;
}

.toc {
  position: sticky;
  top: 100px;
  align-self: start;
}

.toc-mobile-title {
  display: none;
}

.toc nav {
  border-left: 1px solid var(--line);
}

.toc nav a {
  position: relative;
  display: grid;
  grid-template-columns: 31px 1fr;
  align-items: center;
  min-height: 48px;
  padding-left: 14px;
  color: var(--ink-faint);
  font-size: 14px;
  text-decoration: none;
}

.toc nav a::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
}

.toc nav a span {
  font-family: var(--mono);
  font-size: 14px;
}

.toc nav a:hover,
.toc nav a.active {
  color: var(--ink);
}

.toc nav a.active {
  font-weight: 600;
}

.toc nav a.active::before {
  opacity: 1;
}

.toc nav a.active span {
  color: var(--accent);
}

.article {
  min-width: 0;
}

.article-section {
  padding-bottom: 108px;
  border-bottom: 1px solid var(--line-strong);
}

.article-section + .article-section {
  padding-top: 104px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
}

.section-kicker span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 14px;
}

.article-section h2 {
  max-width: 830px;
  margin: 0;
  font-family: var(--display);
  font-size: 55px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-intro {
  max-width: 820px;
  margin: 24px 0 40px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.8;
}

.plan-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 46px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.plan-card {
  display: grid;
  min-height: 245px;
  padding: 26px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.plan-card:hover {
  background: var(--paper-raised);
}

.plan-card-new {
  background: var(--accent-soft);
}

.plan-code {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
}

.plan-code b {
  padding: 2px 6px;
  border: 1px solid currentColor;
  font-size: 14px;
  line-height: 1.25;
}

.plan-card > strong {
  max-width: 360px;
  margin-top: 25px;
  font-size: 19px;
  line-height: 1.45;
}

.plan-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.plan-link {
  display: flex;
  align-items: center;
  gap: 4px;
  align-self: end;
  margin-top: 19px;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 600;
}

.plan-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.comparison-wrap {
  margin-top: 46px;
  overflow-x: auto;
}

.comparison-table,
.data-table,
.live-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.comparison-table {
  min-width: 800px;
}

table caption {
  padding-bottom: 14px;
  color: var(--ink-faint);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  min-width: 142px;
  padding: 15px 14px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper-deep);
  font-size: 14px;
}

.comparison-table thead th:first-child,
.comparison-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 150px;
  background: var(--paper);
}

.comparison-table tbody th {
  color: var(--ink-soft);
  font-size: 14px;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 1px solid var(--line-strong);
}

.warning-cell {
  color: var(--warning);
  font-weight: 700;
}

.plain-note {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 18px;
  margin-top: 30px;
  padding: 22px 24px;
  border: 1px solid color-mix(in srgb, var(--warning) 48%, var(--line));
  background: var(--warning-soft);
}

.plain-note > svg {
  width: 21px;
  height: 21px;
  margin-top: 3px;
  fill: none;
  stroke: var(--warning);
  stroke-width: 1.8;
}

.plain-note strong {
  font-size: 16px;
}

.plain-note p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.section-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.section-heading-row .section-intro {
  margin-bottom: 0;
}

.accordion-actions {
  display: flex;
  gap: 14px;
  flex: 0 0 auto;
  padding-bottom: 4px;
}

.accordion-actions button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  cursor: pointer;
}

.accordion-actions button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.plan-accordions {
  margin-top: 52px;
  border-top: 1px solid var(--line-strong);
}

.plan-detail {
  border-bottom: 1px solid var(--line-strong);
}

.plan-detail > summary {
  display: grid;
  grid-template-columns: 104px 1fr auto 24px;
  gap: 22px;
  align-items: center;
  min-height: 106px;
  padding: 19px 18px 19px 0;
  list-style: none;
  cursor: pointer;
}

.plan-detail > summary > span:nth-child(2) {
  min-width: 0;
}

.plan-detail > summary > span:nth-child(2) strong {
  overflow-wrap: anywhere;
}

.plan-detail > summary::-webkit-details-marker {
  display: none;
}

.plan-detail > summary:hover {
  background: var(--paper-raised);
}

.plan-detail-featured > summary {
  box-shadow: none;
  background: var(--accent-soft);
  padding-left: 18px;
}

.summary-code {
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 14px;
}

.summary-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.summary-title strong {
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.1;
}

.summary-title small {
  color: var(--ink-faint);
  font-size: 14px;
}

.summary-tag {
  min-width: 72px;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
}

.plan-detail-featured .summary-tag {
  border-color: var(--accent);
  color: var(--accent-ink);
}

.summary-chevron,
.plan-detail > summary > svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transform: rotate(90deg);
}

.plan-detail[open] .summary-chevron,
.plan-detail[open] > summary > svg {
  transform: rotate(-90deg);
}

.plan-content {
  padding: 8px 0 46px;
}

.plan-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 50px;
  padding: 32px 0 38px;
}

.plan-intro > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

.mini-facts {
  display: grid;
  border-top: 1px solid var(--line);
}

.mini-facts span {
  display: grid;
  grid-template-columns: 73px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.mini-facts b {
  color: var(--ink);
}

.daily-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.daily-options div {
  display: grid;
  min-height: 112px;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.daily-options span {
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 14px;
}

.daily-options strong {
  margin-top: 5px;
  font-size: 14px;
}

.daily-options small {
  color: var(--ink-faint);
  font-size: 14px;
}

.data-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.data-table {
  min-width: 1040px;
}

.compact-table {
  min-width: 650px;
}

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

.data-table th,
.data-table td {
  padding: 15px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.data-table thead th {
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 14px;
}

.data-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--paper-raised);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 14px;
}

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

.data-table td {
  font-family: var(--mono);
  font-size: 14px;
}

.table-footnote {
  margin: 15px 0 0;
  color: var(--ink-faint);
  font-size: 14px;
  line-height: 1.7;
}

.rule-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.rule-columns > div {
  min-height: 145px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rule-columns h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.rule-columns p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.common-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.common-rule {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  min-height: 230px;
  padding: 27px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rule-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  color: var(--accent-ink);
}

.rule-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.common-rule h3 {
  margin: 4px 0 8px;
  font-size: 18px;
}

.common-rule p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.limits-panel {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) 1.2fr;
  margin-top: 34px;
  border: 1px solid var(--line-strong);
}

.limits-lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  padding: 32px;
  border-right: 1px solid var(--line);
  background: var(--accent-soft);
  box-shadow: none;
  color: var(--ink);
}

.limits-lead span {
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
}

.limits-lead strong {
  margin-top: 23px;
  font-family: var(--display);
  font-size: 46px;
  font-weight: 500;
}

.limits-lead p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.limits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.limits-list div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 130px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.limits-list div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.limits-list div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.limits-list span {
  color: var(--ink-faint);
  font-size: 14px;
}

.limits-list strong {
  margin-top: 4px;
  font-size: 15px;
}

.risk-lines {
  margin-top: 42px;
  border-top: 1px solid var(--line-strong);
}

.risk-lines > div {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 112px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.risk-lines span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 14px;
}

.risk-lines p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.risk-lines strong {
  color: var(--ink);
}

.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.journey-step {
  min-height: 255px;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.journey-step:last-child {
  border-right: 0;
}

.journey-step > span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 14px;
}

.journey-step strong {
  display: block;
  margin-top: 58px;
  font-size: 18px;
}

.journey-step p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.live-panel {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  margin-top: 36px;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--accent);
  background: var(--paper-raised);
  color: var(--ink);
}

.live-lead {
  padding: 34px;
  border-right: 1px solid var(--line);
  background: var(--accent-soft);
}

.live-badge {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
}

.live-lead > strong {
  display: block;
  margin-top: 52px;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.08;
}

.live-lead p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.live-table-wrap {
  min-width: 0;
  padding: 34px 30px;
  overflow-x: auto;
}

.live-table {
  min-width: 640px;
}

.live-table th,
.live-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-align: left;
}

.live-table thead th {
  color: var(--ink-faint);
  font-size: 14px;
}

.live-table tbody th,
.live-table tbody td {
  font-family: var(--mono);
  font-size: 14px;
}

.live-table-wrap > p {
  margin: 17px 0 0;
  color: var(--ink-faint);
  font-size: 14px;
}

.daily-live-note {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
}

.daily-live-note span {
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
}

.daily-live-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.choice-list {
  margin-top: 48px;
  border-top: 1px solid var(--line-strong);
}

.choice-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 190px;
  gap: 25px;
  align-items: center;
  min-height: 145px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.choice-row-accent {
  margin-inline: -20px;
  padding-inline: 20px;
  background: var(--accent-soft);
}

.choice-name {
  color: var(--accent-ink);
  font-family: var(--display);
  font-size: 26px;
}

.choice-row h3 {
  margin: 0;
  font-size: 17px;
}

.choice-row p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.choice-watch {
  justify-self: end;
  color: var(--ink-faint);
  font-size: 14px;
  text-align: right;
}

.final-section {
  border-bottom: 1px solid var(--line-strong);
}

.checklist-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 46px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.checklist-card label {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 90px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.checklist-card label:hover {
  background: var(--paper-raised);
}

.checklist-card input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.checklist-card span {
  font-size: 15px;
  line-height: 1.65;
}

.checklist-card label:has(input:checked) span {
  color: var(--ink-faint);
  text-decoration: line-through;
}

.final-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.sources-section {
  border-bottom: 0;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.source-grid a {
  position: relative;
  display: grid;
  min-height: 120px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.source-grid a:hover {
  background: var(--paper-raised);
}

.source-grid span {
  color: var(--ink-faint);
  font-size: 14px;
}

.source-grid strong {
  align-self: end;
  font-size: 15px;
}

.source-grid svg {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
}

.disclaimer {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  margin: 38px 0 0;
  padding: 28px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.disclaimer-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--warning);
  border-radius: 50%;
  color: var(--warning);
  font-family: var(--display);
  font-size: 21px;
}

.disclaimer h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.disclaimer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.site-footer {
  margin-top: 90px;
  border-top: 1px solid var(--line-strong);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 190px;
  padding: 46px 0;
}

.footer-brand {
  font-size: 18px;
}

.footer-inner p {
  margin: 12px 0 0;
  color: var(--ink-faint);
  font-size: 14px;
}

.footer-meta {
  display: grid;
  gap: 4px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 14px;
  text-align: right;
}

.firm-action-cluster {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: stretch;
  width: min(464px, 100%);
  min-height: 88px;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--accent);
  background: var(--paper-raised);
}

.firm-ref-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label icon"
    "action icon"
    "status icon";
  align-content: center;
  align-self: stretch;
  justify-items: start;
  width: 100%;
  min-height: 88px;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

.firm-action-cluster.is-floating {
  position: fixed;
  top: var(--ref-floating-top, 500px);
  right: auto;
  left: var(--ref-floating-left, 16px);
  z-index: 40;
  grid-template-columns: 1fr;
  width: var(--ref-floating-width, 210px);
  max-width: calc(100vw - 32px);
  min-height: 176px;
  background: color-mix(in srgb, var(--paper-raised) 96%, transparent);
  box-shadow: var(--shadow);
  transform: none;
}

.firm-action-cluster.is-floating .firm-ref-link {
  min-height: 88px;
  border-bottom: 1px solid var(--line-strong);
}

.firm-action-cluster.is-floating .firm-coupon-card {
  min-height: 88px;
  border-left: 0;
}

.firm-ref-link:hover {
  border-color: var(--accent);
  background: var(--paper-raised);
  color: var(--accent-ink);
}

.firm-ref-label,
.firm-ref-link small {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.2;
}

.firm-ref-label {
  grid-area: label;
  min-width: 0;
  max-width: 100%;
  color: var(--accent-ink);
  font-weight: 700;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.firm-ref-link strong {
  grid-area: action;
  align-self: end;
  font-size: 15px;
  line-height: 1.35;
}

.firm-ref-link small {
  grid-area: status;
  color: var(--ink-faint);
}

.firm-ref-link svg {
  grid-area: icon;
  align-self: center;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 17px;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--success);
  stroke-width: 2;
}

@media (max-width: 800px) {
  body.ref-floating {
    padding-bottom: 116px;
  }

  .coupon-copy-button {
    min-width: 70px;
    padding-inline: 8px;
  }

  .firm-action-cluster.is-floating {
    top: auto;
    right: auto;
    bottom: 16px;
    left: 50%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(calc(100% - 32px), 480px);
    min-height: 88px;
    border: 1px solid var(--line-strong);
    border-top: 2px solid var(--accent);
    transform: translateX(-50%);
  }

  .firm-action-cluster.is-floating .firm-ref-link {
    min-height: 88px;
    border-right: 1px solid var(--line-strong);
    border-bottom: 0;
  }

  .firm-action-cluster.is-floating .firm-coupon-card {
    min-height: 88px;
  }
}

@media (max-width: 1080px) {
  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 32px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-item:nth-child(3) {
    border-right: 0;
  }

  .stat-item:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .stat-item:first-child {
    padding-left: 20px;
  }

  .article-shell {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 50px;
  }

  .plan-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .journey-step:nth-child(2) {
    border-right: 0;
  }

  .journey-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .live-lead {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    background: var(--paper);
  }

  .shell {
    width: min(calc(100% - 32px), 680px);
  }

  .header-inner {
    height: 62px;
  }

  .header-edition,
  .header-rule,
  .header-copy {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .reading-progress {
    top: 62px;
  }

  .firm-action-cluster.is-floating {
    bottom: 12px;
    width: min(calc(100% - 24px), 480px);
  }

  .hero {
    padding-top: 26px;
  }

  .hero-grid {
    padding: 46px 0 42px;
  }


  .hero-meta {
    margin-top: 28px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    min-height: 130px;
    padding: 20px 15px;
  }

  .stat-item:nth-child(2),
  .stat-item:nth-child(4) {
    border-right: 0;
  }

  .stat-item:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .stat-item:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .stat-item:last-child {
    grid-column: 1 / -1;
  }

  .stat-item strong {
    font-size: 29px;
  }

  .article-shell {
    display: block;
    padding-top: 72px;
  }

  .toc {
    position: fixed;
    inset: 62px 0 auto;
    z-index: 49;
    display: none;
    width: 100%;
    height: calc(100dvh - 62px);
    padding: 24px 16px;
    background: var(--paper);
    overflow-y: auto;
  }

  .menu-open .toc {
    display: block;
  }

  .toc-mobile-title {
    display: block;
    max-width: 680px;
    margin: 0 auto 18px;
    color: var(--ink-faint);
    font-size: 14px;
    font-weight: 600;
  }

  .toc nav {
    max-width: 680px;
    margin-inline: auto;
  }

  .toc nav a {
    min-height: 52px;
    font-size: 15px;
  }

  .article-section {
    padding-bottom: 82px;
  }

  .article-section + .article-section {
    padding-top: 78px;
  }

  .article-section h2 {
    font-size: 42px;
  }

  .section-intro {
    margin: 22px 0 34px;
    font-size: 17px;
  }

  .plan-cards,
  .common-grid,
  .checklist-card {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: 225px;
  }

  .section-heading-row {
    display: block;
  }

  .accordion-actions {
    margin-top: 22px;
  }

  .plan-detail > summary {
    grid-template-columns: 84px 1fr 22px;
    gap: 13px;
    min-height: 104px;
    padding-right: 4px;
  }

  .summary-tag {
    display: none;
  }

  .summary-title strong {
    font-size: 25px;
  }

  .daily-options,
  .rule-columns {
    grid-template-columns: 1fr;
  }

  .daily-options div {
    min-height: 100px;
  }

  .common-rule {
    min-height: 210px;
  }

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

  .limits-lead {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .limits-list {
    grid-template-columns: 1fr;
  }

  .limits-list div,
  .limits-list div:nth-child(odd),
  .limits-list div:nth-last-child(-n + 2) {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .limits-list div:last-child {
    border-bottom: 0;
  }

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

  .journey-step,
  .journey-step:nth-child(2) {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .journey-step:last-child {
    border-bottom: 0;
  }

  .journey-step strong {
    margin-top: 36px;
  }

  .daily-live-note {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .choice-row {
    grid-template-columns: 84px 1fr;
    gap: 18px;
  }

  .choice-watch {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

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

  .footer-inner {
    display: grid;
    gap: 34px;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .shell {
    width: calc(100% - 28px);
  }

  .brand-plate {
    font-size: 18px;
  }

  .breadcrumb {
    gap: 7px;
    overflow: hidden;
    white-space: nowrap;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .stat-item {
    min-height: 124px;
  }

  .stat-item strong {
    font-size: 26px;
  }

  .article-section h2 {
    font-size: 37px;
  }

  .plan-card {
    padding: 23px 20px;
  }

  .plain-note {
    grid-template-columns: 1fr;
  }

  .plan-detail > summary {
    grid-template-columns: 1fr 22px;
    padding: 18px 4px;
  }

  .summary-code {
    grid-column: 1;
  }

  .summary-title {
    grid-column: 1;
  }

  .summary-chevron {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .plan-detail > summary .detail-index,
  .plan-detail > summary > span:nth-child(2) {
    grid-column: 1;
  }

  .plan-detail > summary > svg {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .plan-detail-featured > summary {
    padding-left: 15px;
  }

  .plan-content {
    padding-bottom: 38px;
  }

  .plan-intro {
    padding-top: 24px;
  }

  .common-rule {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .limits-lead {
    min-height: 220px;
    padding: 27px 24px;
  }

  .risk-lines > div {
    grid-template-columns: 38px 1fr;
  }

  .live-lead,
  .live-table-wrap {
    padding: 27px 22px;
  }

  .live-lead > strong {
    margin-top: 38px;
    font-size: 31px;
  }

  .choice-row,
  .choice-row-accent {
    grid-template-columns: 1fr;
    margin-inline: 0;
    padding: 24px 0;
  }

  .choice-watch {
    grid-column: 1;
  }

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

  .final-actions {
    flex-direction: column;
  }

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

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

  .toast {
    transform: none;
  }
}

/* ── Shared company archive additions ─────────────────────────────────── */
.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.firm-identity {
  margin: 22px 0 28px;
  min-height: 72px;
  display: flex;
  align-items: center;
}

.firm-identity img {
  display: block;
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.firm-notice {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  padding: 19px 22px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--accent) 4%, var(--paper));
}

.firm-notice.critical {
  border-color: color-mix(in srgb, var(--warning) 48%, var(--line));
  background: color-mix(in srgb, var(--warning) 8%, var(--paper));
}

.firm-notice strong,
.firm-notice p {
  margin: 0;
}

.firm-notice p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

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

.plan-card {
  min-height: 154px;
}

.plan-card > strong {
  max-width: 35ch;
}

.plan-card .plan-code {
  font-size: 14px;
}

.plan-detail-body {
  padding: 26px 28px 32px;
}

.archive-content > :first-child {
  margin-top: 0;
}

.archive-content > :last-child {
  margin-bottom: 0;
}

.archive-content p,
.archive-content li {
  font-size: 17px;
  line-height: 1.82;
}

.archive-content p {
  margin: 0 0 18px;
  color: var(--muted);
}

.archive-content strong {
  color: var(--ink);
}

.archive-content code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  background: var(--paper-soft);
  font: 600 14px/1.4 var(--mono);
}

.rule-list {
  display: grid;
  gap: 0;
  margin: 16px 0 22px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rule-list li {
  position: relative;
  padding: 16px 10px 16px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 27px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.table-scroll {
  width: 100%;
  margin: 20px 0 26px;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  scrollbar-width: thin;
}

.table-scroll table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.table-scroll th,
.table-scroll td {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-scroll th {
  color: var(--ink);
  background: var(--paper-soft);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.table-scroll td {
  color: var(--muted);
}

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

.table-scroll th:last-child,
.table-scroll td:last-child {
  border-right: 0;
}

.inline-alert,
.empty-note {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--warning) 54%, var(--line));
  background: color-mix(in srgb, var(--warning) 8%, var(--paper));
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.empty-note {
  border-color: var(--line);
  background: var(--paper-soft);
  color: var(--muted);
}

.common-grid {
  display: grid;
  gap: 22px;
}

.common-block {
  padding: 26px 28px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.common-block h3 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.numbered-rules {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: payout-rule;
  border-top: 1px solid var(--line-strong);
}

.numbered-rules li {
  counter-increment: payout-rule;
  position: relative;
  padding: 20px 14px 20px 66px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.numbered-rules li::before {
  content: counter(payout-rule, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 22px;
  color: var(--accent);
  font: 700 14px/1 var(--mono);
}

.rule-calculator {
  display: grid;
  grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.42fr);
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.calculator-inputs {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--line-strong);
  background: var(--paper-soft);
}

.calculator-inputs label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.86fr);
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.calculator-inputs label.calculator-select-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  padding-block: 12px;
}

.calculator-inputs label:last-child {
  border-bottom: 0;
}

.calculator-inputs label[hidden] {
  display: none;
}

.calculator-inputs input,
.calculator-inputs select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  font: 650 14px/1.3 var(--sans);
}

.calculator-inputs label.scope-confirm-only {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding-block: 14px;
  color: var(--ink);
  background: var(--accent-soft);
}

.calculator-confirmation {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.calculator-inputs .calculator-confirmation input {
  width: 20px;
  min-height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.calculator-inputs input:focus,
.calculator-inputs select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.input-prefix {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: stretch;
}

.input-prefix b {
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-right: 0;
  color: var(--accent);
  background: var(--paper);
  font: 700 14px/1 var(--mono);
}

.calculator-result {
  min-width: 0;
  padding: 28px;
}

.result-verdict,
.calculator-unavailable {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-strong);
}

.result-verdict > span,
.calculator-unavailable > span,
.calculator-formula > span,
.transition-progress > span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font: 700 14px/1.2 var(--mono);
  letter-spacing: 0.04em;
}

.result-verdict > strong,
.calculator-unavailable > strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.result-verdict > p,
.calculator-unavailable > p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.calculator-unavailable > small {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
}

.result-verdict.eligible > strong {
  color: var(--success);
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.result-metric {
  min-height: 112px;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.result-metric > span,
.result-metric > small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.result-metric > strong {
  display: block;
  margin: 8px 0 5px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}

.calculator-formula,
.transition-progress {
  margin-top: 20px;
  padding: 17px 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
  background: color-mix(in srgb, var(--accent) 5%, var(--paper));
}

.calculator-formula > strong,
.transition-progress > strong {
  font-size: 16px;
  line-height: 1.6;
}

.calculator-conditions {
  display: grid;
  gap: 0;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.calculator-conditions li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 8px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.calculator-conditions li > span {
  color: var(--accent);
  font: 700 16px/1.45 var(--mono);
}

.calculator-conditions li.unmet > span {
  color: var(--warning);
}

.transition-progress progress {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 14px;
  border: 0;
  accent-color: var(--accent);
}

.calculator-boundary {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.calculation-basis {
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.calculation-basis summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.calculation-basis p {
  margin: 0;
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.directory {
  padding-top: 118px;
  padding-bottom: 96px;
}

.directory-head {
  max-width: none;
  margin-bottom: 54px;
}

.directory-head > span {
  color: var(--accent);
  font: 700 14px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.directory-head h1 {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(48px, 5.8vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.directory-group + .directory-group {
  margin-top: 72px;
}

.directory-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.directory-group-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.05;
}

.directory-group-heading span {
  color: var(--muted);
  font: 600 14px/1.4 var(--mono);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.directory-card {
  min-width: 0;
  min-height: 126px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 17px;
  padding: 20px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
}

.directory-card:hover {
  background: color-mix(in srgb, var(--accent) 5%, var(--paper));
}

.directory-logo {
  width: 72px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.directory-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.directory-card strong,
.directory-card small {
  display: block;
}

.directory-card strong {
  font-size: 17px;
}

.directory-card small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.directory-card > svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
}

@media (max-width: 980px) {
  .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rule-calculator { grid-template-columns: 1fr; }
  .calculator-inputs { border-right: 0; border-bottom: 1px solid var(--line-strong); }
}

@media (max-width: 800px) {
  .firm-identity img { max-width: 190px; max-height: 62px; }
  .firm-notice { grid-template-columns: 1fr; gap: 8px; }
  .plan-cards { grid-template-columns: 1fr; }
  .plan-detail-body,
  .common-block { padding: 22px 18px 26px; }
  .archive-content p,
  .archive-content li,
  .numbered-rules li { font-size: 16px; }
  .directory { padding-top: 92px; }
  .directory-head h1 { white-space: normal; }
  .directory-group + .directory-group { margin-top: 56px; }
  .calculator-result { padding: 22px 18px 26px; }
}

@media (max-width: 640px) {
  .directory-grid { grid-template-columns: 1fr; }
  .directory-card { min-height: 108px; grid-template-columns: 62px minmax(0, 1fr) 22px; }
  .directory-logo { width: 62px; height: 50px; }
  .calculator-inputs label { grid-template-columns: 1fr; gap: 7px; padding: 12px 14px; }
  .result-metrics { grid-template-columns: 1fr; }
}

/* ── Reading rhythm refinement ───────────────────────────────────────── */
:root {
  --muted: var(--ink-soft);
  --paper-soft: var(--paper-deep);
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 88px;
}

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

.hero-grid {
  padding: var(--space-2xl) 0 42px;
}

.firm-identity-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--space-lg);
  width: 100%;
  min-height: 88px;
  margin: 18px 0 var(--space-lg);
}

.firm-identity {
  width: max-content;
  min-height: 0;
  margin: 0;
}

.firm-logo-stage {
  display: grid;
  align-items: center;
  min-height: 88px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.firm-logo-stage.logo-stage-wide {
  width: min(280px, calc(100vw - 72px));
  justify-items: start;
}

.firm-logo-stage.logo-stage-compact {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: var(--space-md);
  width: min(320px, calc(100vw - 72px));
}

.firm-logo-stage.logo-stage-light {
  background: var(--paper-raised);
}

.firm-logo-stage.logo-stage-dark {
  border-color: #26334b;
  background: #091426;
}

.firm-logo-stage img,
.firm-identity img {
  display: block;
  width: 100%;
  height: 64px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

.logo-stage-compact img {
  width: 64px;
  height: 64px;
  object-position: center;
}

.firm-logo-name {
  min-width: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.2;
  text-wrap: balance;
}

.logo-stage-dark .firm-logo-name {
  color: #f5f7ff;
}

.hero-meta {
  gap: var(--space-xl);
  margin-top: 0;
}

.hero-stats .stat-item {
  min-height: 132px;
  padding-block: var(--space-lg);
}

.firm-notice {
  grid-template-columns: 160px minmax(0, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  background: color-mix(in srgb, var(--accent) 4%, var(--paper));
}

.firm-notice.critical {
  border-color: color-mix(in srgb, var(--warning) 48%, var(--line));
  background: color-mix(in srgb, var(--warning) 7%, var(--paper));
}

.firm-notice.critical > strong {
  color: var(--warning);
}

.article-shell {
  gap: 72px;
  padding-top: var(--space-4xl);
}

.article-section {
  padding-bottom: var(--space-4xl);
}

.article-section + .article-section {
  padding-top: 84px;
}

.section-kicker {
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.article-section h2 {
  max-width: 100%;
  font-size: 48px;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-intro {
  max-width: 68ch;
  margin: 18px 0 var(--space-xl);
  font-size: 17px;
  line-height: 1.75;
  text-wrap: pretty;
}

.plan-cards {
  margin-top: var(--space-xl);
}

@media (min-width: 801px) {
  .plan-cards > .plan-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-lg);
    min-height: 110px;
  }

  .plan-cards > .plan-card:last-child:nth-child(odd) > strong,
  .plan-cards > .plan-card:last-child:nth-child(odd) .plan-link {
    margin-top: 0;
  }
}

.plan-card {
  min-height: 142px;
  padding: var(--space-lg);
}

.plan-card > strong {
  margin-top: var(--space-md);
  line-height: 1.4;
}

.plan-link {
  margin-top: var(--space-md);
}

.plan-details,
.plan-accordions {
  margin-top: var(--space-xl);
}

.plan-detail > summary {
  grid-template-columns: 72px minmax(0, 1fr) 22px;
  gap: 18px;
  min-height: 92px;
}

.plan-detail > summary > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.plan-detail > summary > span:nth-child(2) strong {
  font-size: 18px;
  line-height: 1.4;
}

.plan-detail > summary > span:nth-child(2) small {
  display: block;
  color: var(--ink-faint);
  font-size: 14px;
  line-height: 1.4;
}

.plan-detail-body {
  padding: var(--space-lg) 0 var(--space-xl);
}

.archive-content p,
.archive-content li {
  max-width: 72ch;
  line-height: 1.75;
  text-wrap: pretty;
}

.archive-content p {
  margin: 0 0 var(--space-md);
}

.prose-stack {
  display: grid;
  gap: var(--space-sm);
  max-width: 72ch;
  margin: 0 0 var(--space-lg);
}

.prose-stack p {
  margin: 0;
}

.prose-points {
  display: grid;
  gap: 0;
  max-width: 72ch;
  margin: var(--space-sm) 0 var(--space-lg);
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.prose-points li {
  position: relative;
  padding: 14px 8px 14px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.prose-points li::before {
  position: absolute;
  top: 25px;
  left: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.rule-list {
  max-width: 72ch;
  margin: var(--space-sm) 0 var(--space-lg);
}

.rule-list li {
  padding-block: 14px;
}

.table-scroll {
  margin: 18px 0 var(--space-lg);
}

.common-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: var(--space-xl);
  border-top: 1px solid var(--line-strong);
}

.common-block {
  padding: var(--space-lg) clamp(22px, 3vw, 32px) var(--space-xl);
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.common-block h3 {
  margin-bottom: var(--space-md);
  font-size: 30px;
}

.numbered-rules {
  margin-top: var(--space-xl);
}

.numbered-rules li {
  padding-block: 17px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--space-xl);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.choice-grid > div {
  min-width: 0;
  padding: var(--space-lg);
  border-right: 1px solid var(--line);
}

.choice-grid > div:last-child {
  border-right: 0;
}

.choice-grid span {
  display: block;
  color: var(--accent-ink);
  font: 700 14px/1.4 var(--mono);
}

.choice-grid strong {
  display: block;
  margin-top: var(--space-sm);
  font-size: 17px;
  line-height: 1.5;
}

.choice-grid p {
  margin: var(--space-xs) 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--space-xl);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.checklist label {
  display: grid;
  grid-template-columns: 22px 30px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-sm);
  min-height: 82px;
  padding: var(--space-md) 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.checklist label:hover {
  background: var(--paper-raised);
}

.checklist input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.check-index {
  color: var(--accent-ink);
  font: 700 14px/1 var(--mono);
}

.checklist label > span:last-child {
  font-size: 15px;
  line-height: 1.6;
}

.checklist > label:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.source-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin-top: var(--space-xl);
}

.disclaimer {
  margin-top: var(--space-xl);
}

@media (max-width: 1080px) {
  .article-shell {
    gap: var(--space-2xl);
  }

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

  .choice-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .choice-grid > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 800px) {
  .hero-grid {
    padding: 38px 0 var(--space-xl);
  }

  .firm-identity-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 84px;
    margin-bottom: var(--space-lg);
  }

  .firm-identity {
    width: 100%;
    min-width: 0;
  }

  .firm-action-cluster:not(.is-floating) {
    width: 100%;
    min-height: 88px;
  }

  .firm-logo-stage.logo-stage-wide,
  .firm-logo-stage.logo-stage-compact {
    width: min(100%, 300px);
  }

  .firm-logo-stage img,
  .firm-identity img {
    height: 58px;
    max-width: none;
    max-height: none;
  }

  .logo-stage-compact img {
    width: 58px;
  }

  .firm-logo-stage.logo-stage-compact {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .article-shell {
    padding-top: var(--space-3xl);
  }

  .article-section {
    padding-bottom: var(--space-3xl);
  }

  .article-section + .article-section {
    padding-top: 60px;
  }

  .article-section h2 {
    max-width: 100%;
    font-size: 38px;
  }

  .plan-detail-body {
    padding: var(--space-lg) 0 var(--space-xl);
  }

  .common-block {
    padding: var(--space-lg) 18px var(--space-xl);
  }

  .plan-cards > .plan-card:last-child:nth-child(odd) {
    grid-column: auto;
    grid-template-columns: 1fr;
    align-items: initial;
    gap: 0;
    min-height: 142px;
  }

  .plan-cards > .plan-card:last-child:nth-child(odd) > strong,
  .plan-cards > .plan-card:last-child:nth-child(odd) .plan-link {
    margin-top: var(--space-md);
  }

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

@media (max-width: 480px) {
  .firm-logo-stage.logo-stage-wide,
  .firm-logo-stage.logo-stage-compact {
    width: min(100%, calc(100vw - 28px));
  }

  .firm-logo-name {
    font-size: 18px;
  }

  .hero-stats .stat-item {
    min-height: 112px;
  }

  .article-section h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .section-intro {
    font-size: 16px;
  }

  .plan-card,
  .choice-grid > div {
    padding: 20px 18px;
  }

  .checklist label {
    grid-template-columns: 22px 26px minmax(0, 1fr);
    padding-inline: 14px;
  }
}
