:root {
  --paper: #f4f6f2;
  --surface: #ffffff;
  --muted: #5b6660;
  --line: #d7ddd8;
  --soft: #e9eeea;
  --danger: #aa3f32;
  --header-height: 66px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 30;
  padding: 9px 12px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

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

.independence-strip {
  min-height: 28px;
  display: grid;
  place-items: center;
  padding: 5px 24px;
  color: #fff;
  background: var(--ink);
  text-align: center;
  font-size: 11px;
  font-weight: 680;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(140px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 9px max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(244, 246, 242, 0.97);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.brand > span:last-child {
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand strong {
  font-size: 14px;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
}

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

.site-nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 660;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.review-date {
  justify-self: end;
  color: var(--muted);
  font-size: 10px;
}

main > section,
.site-footer {
  padding-right: max(24px, calc((100vw - 1240px) / 2));
  padding-left: max(24px, calc((100vw - 1240px) / 2));
}

.workspace-band {
  min-height: 680px;
  padding-top: 58px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.title-block {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 14px;
  font-size: 46px;
  line-height: 1.07;
}

h2 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.18;
}

h3 {
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.25;
}

.title-block > p:last-child,
.page-intro > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.title-block .site-mission {
  max-width: 900px;
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--accent-3);
  color: var(--muted);
  font-size: 13px;
}

.tool-panel {
  display: grid;
  grid-template-columns: minmax(210px, 1.15fr) 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(17, 23, 20, 0.08);
}

.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field > label,
.field > legend {
  display: block;
  width: 100%;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 740;
}

.input-unit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  height: 48px;
  border: 1px solid #bac5bd;
  border-radius: 6px;
  background: #fff;
}

.input-unit:focus-within {
  border-color: var(--accent);
  outline: 3px solid color-mix(in srgb, var(--accent) 16%, transparent);
}

.input-unit input {
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 760;
}

.input-unit span {
  padding: 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.segments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 48px;
  padding: 3px;
  border: 1px solid #bac5bd;
  border-radius: 6px;
  background: var(--soft);
}

.segments label {
  position: relative;
  min-width: 0;
}

.segments input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.segments span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 720;
}

.segments input:checked + span {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 4px rgba(17, 23, 20, 0.14);
}

.segments input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.tool-result {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 220px 180px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.tool-result > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tool-result strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.tool-result small {
  color: var(--muted);
  font-size: 11px;
}

.fee-bars {
  grid-column: 1 / -1;
  display: grid;
  gap: 9px;
  min-height: 142px;
}

.fee-bar {
  display: grid;
  grid-template-columns: 105px 1fr 105px;
  align-items: center;
  gap: 12px;
  min-height: 28px;
}

.fee-bar > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 740;
}

.fee-bar i,
.exchange-name i {
  display: inline-block;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--exchange);
}

.bar-track {
  height: 11px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--soft);
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--exchange);
  transition: width 180ms ease;
}

.fee-bar > strong {
  text-align: end;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.specialty-tool {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.checklist-tool > label,
.verification-matrix label {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  min-height: 50px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.checklist-tool input,
.verification-matrix input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}

.checklist-score {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
}

.checklist-score span {
  color: var(--muted);
  font-size: 12px;
}

.progress {
  grid-column: 1 / -1;
  height: 9px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--soft);
}

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

.content-band,
.comparison-band,
.article-band,
.related-band,
.risk-band {
  padding-top: 72px;
  padding-bottom: 72px;
}

.content-band,
.article-band,
.related-band {
  background: var(--surface);
}

.comparison-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eef2ed;
}

.briefing-band {
  padding-top: 58px;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.briefing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.briefing-grid article {
  min-height: 218px;
  padding: 22px 20px 20px 0;
  border-right: 1px solid var(--line);
}

.briefing-grid article + article {
  padding-left: 20px;
}

.briefing-grid article:last-child {
  border-right: 0;
}

.briefing-grid article > span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 820;
}

.briefing-grid article p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.article-library-summary {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 36px;
  padding-top: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.article-library-summary > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.article-library-summary strong {
  font-size: 36px;
}

.article-library-summary span,
.article-library-summary p {
  color: var(--muted);
  font-size: 13px;
}

.article-library-summary p {
  max-width: 760px;
  margin: 0;
}

.guide-library {
  padding-top: 24px;
  padding-bottom: 72px;
  background: var(--surface);
}

.guide-topic {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 2.25fr);
  gap: 36px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.guide-topic > div:first-child p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.guide-topic > div:last-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.guide-topic a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
}

.guide-topic a:hover,
.guide-topic a:focus-visible {
  border-color: var(--accent);
  outline: 0;
}

.guide-topic a span,
.guide-topic a small {
  color: var(--muted);
  font-size: 10px;
}

.guide-topic a strong {
  min-width: 0;
  font-size: 12px;
}

.article-draft-intro {
  min-height: 430px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 470px);
  align-items: end;
  gap: 36px;
  margin-bottom: 28px;
}

.section-heading > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.cost-grid article {
  min-height: 210px;
  padding: 22px 20px 20px 0;
  border-right: 1px solid var(--line);
}

.cost-grid article + article {
  padding-left: 20px;
}

.cost-grid article:last-child {
  border-right: 0;
}

.cost-grid article > span,
.app-check-grid article > span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 820;
}

.cost-grid p,
.app-check-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  text-align: start;
}

th,
td {
  padding: 17px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 780;
  text-transform: uppercase;
}

td {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

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

.exchange-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-weight: 760;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.actions a,
.actions button,
.primary-action,
.status-page > a {
  display: inline-grid;
  min-height: 37px;
  place-items: center;
  padding: 7px 11px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 740;
}

.actions .primary-action,
.primary-action {
  color: #fff;
  background: var(--ink);
}

.actions a:hover,
.actions button:hover,
.primary-action:hover,
.status-page > a:hover {
  transform: translateY(-1px);
}

.facts-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.facts-strip > div {
  min-height: 104px;
  padding: 20px 24px 20px 0;
  border-right: 1px solid var(--line);
}

.facts-strip > div + div {
  padding-left: 24px;
}

.facts-strip > div:last-child {
  border-right: 0;
}

.facts-strip span,
.facts-strip strong {
  display: block;
}

.facts-strip span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
}

.facts-strip strong {
  font-size: 14px;
}

.risk-band {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  color: #fff;
  background: var(--ink);
}

.risk-band strong {
  color: var(--accent-3);
}

.risk-band p {
  max-width: 840px;
  margin-bottom: 0;
  color: #dbe1dd;
  font-size: 13px;
}

.page-intro {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line);
}

.context-band {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  background: #eef2ed;
}

.context-band span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
}

.context-band p {
  max-width: 900px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.article-band {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
  align-items: start;
  gap: 72px;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin: 42px 0 12px;
  font-size: 21px;
}

.prose h2:first-child {
  margin-top: 0;
}

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

.prose a {
  color: var(--accent);
  font-weight: 700;
}

.article-band > .tool-panel {
  position: sticky;
  top: 92px;
  grid-template-columns: 1fr;
  margin-top: 0;
}

.article-band > .tool-panel .tool-result,
.article-band > .tool-panel .fee-bars {
  grid-column: 1;
}

.article-band > .tool-panel .tool-result {
  grid-template-columns: 1fr;
  gap: 4px;
}

.sticky-note,
.source-panel,
.verification-matrix {
  position: sticky;
  top: 92px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  background: #f7f9f6;
}

.sticky-note h2,
.source-panel h2,
.verification-matrix h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.sticky-note p,
.source-panel span {
  color: var(--muted);
  font-size: 13px;
}

.sticky-note a,
.source-panel a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 740;
}

.source-panel a,
.source-panel span {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.criteria-list,
.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.criteria-list article,
.step-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.criteria-list article > span,
.step-list li > span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
}

.criteria-list h2,
.step-list h2 {
  margin-bottom: 7px;
  font-size: 19px;
}

.criteria-list p,
.step-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.narrow {
  max-width: none;
}

.app-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.app-check-grid article {
  min-height: 190px;
  padding: 22px 26px 22px 0;
  border-right: 1px solid var(--line);
}

.app-check-grid article + article {
  padding-left: 26px;
}

.app-check-grid article:last-child {
  border-right: 0;
}

.referral-flow-intro {
  max-width: 760px;
  margin-top: 42px;
}

.referral-flow-intro h2 {
  margin-bottom: 10px;
}

.referral-flow-intro > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.registration-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.registration-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  background: #f7f9f6;
}

.registration-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.registration-only {
  padding: 4px 7px;
  border: 1px solid #9bc6b2;
  border-radius: 4px;
  color: #165c43;
  background: #edf7f1;
  font-size: 9px;
  font-weight: 760;
  text-align: end;
}

.registration-card > p,
.registration-card > small {
  margin-bottom: 0;
  color: var(--muted);
}

.registration-card > p {
  font-size: 12px;
}

.registration-card > small {
  align-self: end;
  font-size: 10px;
}

.referral-code {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.referral-code span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.referral-code strong {
  font-size: 17px;
  letter-spacing: 0;
}

.referral-code button {
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--soft);
  cursor: pointer;
  font-size: 11px;
  font-weight: 740;
}

[dir="rtl"] .referral-code button {
  margin-right: auto;
  margin-left: 0;
}

.referral-code.large {
  min-height: 64px;
  margin-bottom: 16px;
}

.referral-code.large strong {
  font-size: 24px;
}

.registration-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.registration-actions .primary-action {
  width: 100%;
}

.library-band {
  padding-top: 72px;
  padding-bottom: 72px;
  border-top: 1px solid var(--line);
  background: #eef2ed;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.library-grid a {
  position: relative;
  min-height: 190px;
  padding: 22px 20px 44px 0;
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.library-grid a + a {
  padding-left: 20px;
}

.library-grid a:last-child {
  border-right: 0;
}

.library-grid span {
  display: block;
  margin-bottom: 11px;
  font-size: 15px;
  font-weight: 760;
}

.library-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.library-grid strong {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--accent);
  font-size: 20px;
}

.transfer-record {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.transfer-record span {
  min-height: 66px;
  padding: 18px 16px 18px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 720;
}

.transfer-record span:nth-child(3n) {
  border-right: 0;
}

.transfer-record span:nth-child(n + 4) {
  padding-left: 16px;
}

.faq-list {
  max-width: 940px;
  border-top: 2px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 20px 36px 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 760;
}

.faq-list p {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.notice {
  padding: 18px;
  border-left: 3px solid var(--accent-3);
  background: #faf6e6;
}

.verification-matrix {
  display: grid;
  gap: 9px;
}

.related-band {
  border-top: 1px solid var(--line);
}

.related-band h2 {
  margin-bottom: 20px;
  font-size: 19px;
}

.related-band > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.related-band a {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 18px 0;
  border-right: 1px solid var(--line);
  text-decoration: none;
  font-size: 13px;
  font-weight: 740;
}

.related-band a + a {
  padding-left: 20px;
}

.related-band a:last-child {
  border-right: 0;
}

.related-band a span {
  color: var(--accent);
  font-size: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #dce2de;
  background: var(--ink);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span,
.site-footer p {
  color: #aeb9b2;
  font-size: 11px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer nav a {
  font-size: 11px;
}

.site-footer p {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.status-page {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 80px;
}

.status-page p {
  max-width: 720px;
  color: var(--muted);
}

.status-boundaries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
}

.status-boundaries span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}

[dir="rtl"] .cost-grid article,
[dir="rtl"] .app-check-grid article,
[dir="rtl"] .facts-strip > div,
[dir="rtl"] .related-band a {
  padding-right: 20px;
  padding-left: 0;
}

[dir="rtl"] .title-block .site-mission {
  padding-right: 16px;
  padding-left: 0;
  border-right: 3px solid var(--accent-3);
  border-left: 0;
}

[dir="rtl"] .cost-grid article + article,
[dir="rtl"] .app-check-grid article + article,
[dir="rtl"] .facts-strip > div + div,
[dir="rtl"] .related-band a + a {
  padding-right: 20px;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

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

  .tool-result,
  .fee-bars {
    grid-column: 1 / -1;
  }

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

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

  .guide-topic {
    grid-template-columns: 1fr;
  }

  .briefing-grid article:nth-child(2) {
    border-right: 0;
  }

  .briefing-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .library-grid a:nth-child(3) {
    border-right: 0;
  }

  .library-grid a:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .cost-grid article:nth-child(3) {
    border-right: 0;
  }

  .cost-grid article:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .article-band {
    gap: 42px;
  }
}

@media (max-width: 760px) {
  .review-date {
    max-width: 118px;
    text-align: end;
  }

  h1 {
    font-size: 38px;
  }

  .workspace-band {
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .tool-panel,
  .specialty-tool,
  .checklist-tool {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .tool-result,
  .fee-bars,
  .checklist-score {
    grid-column: 1;
  }

  .tool-result {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .section-heading,
  .article-band,
  .risk-band,
  .context-band,
  .article-library-summary,
  .guide-topic {
    grid-template-columns: 1fr;
  }

  .guide-topic > div:last-child {
    grid-template-columns: 1fr;
  }

  .cost-grid,
  .briefing-grid,
  .facts-strip,
  .app-check-grid,
  .library-grid,
  .registration-list,
  .transfer-record,
  .related-band > div {
    grid-template-columns: 1fr;
  }

  .cost-grid article,
  .cost-grid article + article,
  .briefing-grid article,
  .briefing-grid article + article,
  .app-check-grid article,
  .app-check-grid article + article,
  .facts-strip > div,
  .facts-strip > div + div,
  .library-grid a,
  .library-grid a + a,
  .transfer-record span,
  .transfer-record span:nth-child(n + 4),
  .related-band a,
  .related-band a + a {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cost-grid article:nth-child(3) {
    border-right: 0;
  }

  .article-band > .tool-panel,
  .sticky-note,
  .source-panel,
  .verification-matrix {
    position: static;
  }

  .registration-card header {
    align-items: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .independence-strip {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 9px;
  }

  .site-header,
  main > section,
  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand strong {
    max-width: 180px;
  }

  .brand small {
    max-width: 180px;
  }

  .review-date {
    display: none;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 24px;
  }

  .title-block > p:last-child,
  .page-intro > p:last-child {
    font-size: 16px;
  }

  .fee-bar {
    grid-template-columns: 78px 1fr 88px;
    gap: 7px;
  }

  .content-band,
  .comparison-band,
  .article-band,
  .related-band,
  .risk-band {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .page-intro {
    min-height: 330px;
  }

}

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

  .bar-track span,
  .progress span {
    transition: none;
  }
}
