:root {
  --ink: #17211d;
  --muted: #68736d;
  --paper: #f3f5f1;
  --panel: #edf1ec;
  --line: #d7ddd7;
  --green: #1f6b4c;
  --lime: #d9efbd;
  --red: #b55242;
  --max: 1240px;
  --gutter: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 245, 241, .94);
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: var(--max);
  min-height: 72px;
  margin: auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 42px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 174px;
  font-size: 10px;
  line-height: 1.05;
  letter-spacing: .12em;
  font-weight: 700;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  background: var(--ink);
  color: var(--lime);
  font: 700 9px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0;
}
.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .04em;
}
.content-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.content-nav a {
  display: grid;
  place-items: center;
  height: 100%;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 12px;
}
.content-nav a:hover,
.content-nav a:focus-visible { color: var(--green); border-bottom-color: var(--green); }
.content-nav a.active { color: var(--ink); border-bottom-color: var(--green); }
.header-meta {
  margin-left: auto;
  color: var(--muted);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
}

.hero,
.signal-strip,
.region-entry-grid,
.directory-section,
.submit-grid,
.info-band,
.seo-copy,
footer {
  max-width: var(--max);
  margin: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.hero {
  padding-top: 42px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  margin: 0;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .1em;
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.hero h1 {
  max-width: 980px;
  margin: 13px 0 14px;
  font-size: clamp(38px, 3.45vw, 50px);
  line-height: 1.1;
  letter-spacing: 0;
}
.hero-lede {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: stretch;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-actions a {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  min-width: 178px;
  padding: 13px 18px 13px 0;
  border-right: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}
.hero-actions a + a { padding-left: 18px; }
.hero-actions a:last-child { border-right: 0; }
.hero-actions a:hover { color: var(--green); background: #e9eee8; }
.hero-actions b { color: var(--green); font: 500 12px ui-monospace, SFMono-Regular, Menlo, monospace; }

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.stat {
  min-height: 124px;
  padding: 22px 20px 20px 0;
  margin-right: 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat:last-child { border-right: 0; margin-right: 0; }
.stat strong { font-size: 26px; letter-spacing: 0; }
.stat span { font-size: 12px; font-weight: 700; }
.stat small { color: var(--muted); font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }

.region-entry-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 54px;
  padding-top: 54px;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
}
.section-intro {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}
.section-intro p,
.directory-head p,
.submit-copy p,
.info-band p,
.seo-copy p,
.seo-copy li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.region-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.region-card {
  min-height: 178px;
  padding: 22px 20px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.region-card:hover { background: #e9eee8; }
.region-card h3 { margin: 0 0 12px; font-size: 22px; }
.region-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.region-card strong {
  margin-top: auto;
  color: var(--green);
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.home-entry-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 var(--gutter);
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.home-entry-grid a {
  min-height: 172px;
  padding: 24px 22px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.home-entry-grid a:hover { background: #e9eee8; }
.home-entry-grid h2 {
  margin: 0 0 13px;
  font-size: 24px;
}
.home-entry-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.home-entry-grid strong {
  margin-top: auto;
  color: var(--green);
  font-size: 12px;
}

.page-head {
  max-width: var(--max);
  margin: auto;
  padding: 46px var(--gutter) 34px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  max-width: 900px;
  margin: 13px 0 14px;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}
.page-head p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.page-head.compact { padding-top: 38px; padding-bottom: 30px; }
.page-head.compact h1 { font-size: clamp(38px, 4vw, 56px); }

.region-page-grid {
  max-width: var(--max);
  margin: auto;
  padding: 32px var(--gutter) 68px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.page-region-card {
  min-height: 210px;
}
.page-region-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.page-region-card a {
  align-self: flex-start;
  margin-top: auto;
  border-bottom: 1px solid var(--green);
  padding-bottom: 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.directory-section {
  padding-top: 36px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.compact-directory { padding-top: 42px; }
.standalone-directory {
  padding-top: 32px;
  border-bottom: 0;
}
.directory-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: end;
}
.text-button {
  align-self: end;
  justify-self: end;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 15px;
  font-size: 12px;
  font-weight: 700;
}
.text-button:hover { background: var(--green); border-color: var(--green); }
.ranking-link-list {
  margin-top: 24px;
  border-top: 1px solid var(--ink);
}
.ranking-link-row {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 150px;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.ranking-link-row:hover { background: #e9eee8; color: var(--green); }
.ranking-link-row > span:last-child {
  justify-self: end;
  color: var(--muted);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.directory-head h2 { margin-bottom: 12px; }
.directory-head p { max-width: 620px; margin: 0; }
.search-box,
.filter-rail label,
.submission-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}
input, select, textarea {
  width: 100%;
  border: 1px solid #cbd4cc;
  background: #f8faf7;
  color: var(--ink);
  padding: 11px 12px;
  border-radius: 2px;
  font: 13px ui-sans-serif, system-ui, sans-serif;
}
textarea { min-height: 104px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 107, 76, .14);
}
.filter-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  margin-top: 24px;
}
.filter-rail button,
.submission-form button {
  min-height: 41px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
}
.filter-rail button:hover,
.submission-form button:hover { background: var(--green); border-color: var(--green); }
.table-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 0 0 14px;
  color: var(--muted);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--ink);
}
table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
}
th, td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 12px;
}
th {
  color: var(--muted);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 500;
}
tbody tr { cursor: pointer; }
tbody tr:hover { background: #e9eee8; }
.rank-number { color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.channel-title { display: grid; gap: 4px; }
.channel-title:hover { color: var(--green); }
.channel-title b { font-size: 14px; }
.channel-title small { color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.tag {
  display: inline-block;
  background: var(--lime);
  color: var(--green);
  padding: 5px 7px;
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.mobile-list { display: none; }
.channel-card { color: inherit; text-align: left; border: 0; }
.empty-state {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
}

.submit-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  padding-top: 58px;
  padding-bottom: 68px;
  border-bottom: 1px solid var(--line);
}
.submit-copy {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.submit-copy p { max-width: 390px; }
.submission-form {
  display: grid;
  gap: 15px;
  max-width: 620px;
}
.form-note {
  margin: 0;
  color: var(--muted);
  font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.account-panel {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.account-panel strong {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
}
.account-panel .text-button {
  display: inline-block;
  margin-top: 12px;
}
.mine-grid,
.auth-shell,
.country-index-tools {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.mine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  padding-top: 20px;
  padding-bottom: 74px;
}
.mine-grid article {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.mine-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.mine-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.mine-list small {
  color: var(--muted);
  font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.auth-page {
  max-width: 900px;
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(180px, 1fr);
  gap: 66px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 92px;
  min-height: calc(100vh - 166px);
}
.auth-card {
  min-width: 0;
  background: #f8faf7;
  border: 1px solid #cbd5cc;
  box-shadow: 0 16px 34px rgba(23, 33, 29, .07);
  padding: 36px 38px 32px;
}
.auth-intro {
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
  margin-bottom: 25px;
}
.auth-intro .eyebrow { margin: 0; }
.auth-intro h1 {
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1;
  margin: 14px 0 12px;
}
.auth-intro p:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  max-width: 34ch;
}
.auth-form { display: grid; gap: 16px; }
.auth-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.auth-field input {
  min-height: 46px;
  background: #fff;
}
.auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.auth-consent input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--green);
  flex: 0 0 auto;
}
.auth-error {
  margin: -6px 0 0;
  padding: 10px 12px;
  border: 1px solid #e0b5ad;
  background: #fff5f2;
  color: #8b3c32;
  font-size: 12px;
  line-height: 1.55;
}
.auth-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
}
.auth-submit span { color: var(--lime); }
.auth-submit:hover { background: var(--green); border-color: var(--green); }
.auth-switch {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.auth-context {
  align-self: center;
  padding-left: 25px;
  border-left: 1px solid var(--line);
  max-width: 240px;
}
.auth-context .eyebrow { margin: 0 0 20px; }
.auth-context strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}
.auth-context > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
.auth-rule {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 14px;
}
.auth-rule span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--green);
  margin-top: 4px;
}
.auth-rule small {
  color: var(--muted);
  font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.country-index-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.country-page-grid { padding-top: 0; }
.market-card h3 small {
  color: var(--muted);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.policy-layout {
  max-width: var(--max);
  margin: auto;
  padding: 42px var(--gutter) 76px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}
.policy-layout article {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.policy-layout h2 {
  margin-bottom: 18px;
  font-size: 28px;
}
.info-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.standalone-info {
  margin-top: 0;
  margin-bottom: 72px;
}
.info-band article {
  min-height: 240px;
  background: var(--paper);
  padding: 32px 28px 30px;
  display: flex;
  flex-direction: column;
}
.info-band span {
  color: var(--green);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.info-band h2 { margin: 18px 0 12px; }
.info-band a {
  align-self: flex-start;
  margin-top: auto;
  border-bottom: 1px solid var(--green);
  padding-bottom: 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.seo-copy {
  max-width: 880px;
  padding-top: 50px;
  padding-bottom: 66px;
}
.seo-copy h2 { font-size: 30px; margin-bottom: 16px; }
.seo-copy ul { padding-left: 18px; }

.detail-dialog {
  width: min(760px, calc(100vw - 28px));
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 0;
}
.detail-dialog::backdrop { background: rgba(23, 33, 29, .34); }
.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 22px;
}
.detail-content { padding: 34px 32px 30px; }
.detail-content h2 { max-width: 620px; padding-right: 32px; }
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}
.detail-item {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.detail-item span {
  display: block;
  color: var(--green);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  margin-bottom: 6px;
}
.detail-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.detail-hero,
.detail-metrics,
.channel-layout {
  max-width: var(--max);
  margin: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.detail-hero {
  padding-top: 34px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.back-link:hover { color: var(--green); border-color: var(--green); }
.detail-hero h1 {
  max-width: 920px;
  margin: 13px 0 14px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.detail-metrics .stat {
  margin-right: 0;
  padding-left: 18px;
}
.detail-metrics .stat:first-child { padding-left: 0; }
.channel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 52px;
  padding-top: 46px;
  padding-bottom: 72px;
}
.channel-main h2,
.channel-aside h2 {
  margin: 34px 0 14px;
  font-size: 28px;
}
.channel-main h2:first-child,
.channel-aside h2:first-child { margin-top: 0; }
.channel-main p,
.channel-aside p,
.source-list li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.data-list {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid var(--ink);
}
.data-list dt,
.data-list dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.data-list dt {
  color: var(--green);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.data-list dd {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.data-list a,
.source-list a,
.channel-aside a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.source-list,
.compact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.source-list li,
.compact-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.source-list small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font: 10px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.compact-list li {
  color: var(--muted);
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}
.channel-aside {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.channel-aside section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
code {
  color: var(--green);
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 30px;
  color: var(--muted);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.brand-word { color: var(--ink); font-weight: 700; }

@media (max-width: 900px) {
  :root { --gutter: 18px; }
  .header-inner { flex-wrap: wrap; gap: 12px 20px; padding-top: 12px; padding-bottom: 10px; }
  .content-nav { order: 3; width: 100%; height: auto; overflow-x: auto; gap: 18px; padding-top: 4px; }
  .content-nav a { height: 30px; white-space: nowrap; }
  .header-meta { display: none; }
  .hero { padding-top: 32px; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(36px, 9vw, 48px); }
  .hero-actions { display: block; }
  .hero-actions a,
  .hero-actions a + a { width: 100%; padding: 11px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-actions a:last-child { border-bottom: 0; }
  .signal-strip { grid-template-columns: repeat(2, 1fr); }
  .stat { min-height: 112px; border-bottom: 1px solid var(--line); }
  .region-entry-grid,
  .directory-head,
  .submit-grid,
  .info-band { grid-template-columns: 1fr; }
  .home-entry-grid,
  .region-page-grid { grid-template-columns: 1fr; }
  .home-entry-grid a { min-height: 146px; }
  .page-head { padding-top: 34px; padding-bottom: 28px; }
  .page-head h1 { font-size: clamp(36px, 10vw, 50px); }
  .ranking-link-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
  }
  .ranking-link-row > span:last-child {
    grid-column: 2;
    justify-self: start;
  }
  .text-button { justify-self: start; margin-top: 18px; }
  .region-entry-grid,
  .submit-grid { gap: 28px; }
  .mine-grid { grid-template-columns: 1fr; gap: 28px; }
  .auth-page {
    display: block;
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 68px;
  }
  .auth-card { padding: 28px 22px 25px; }
  .auth-context {
    margin-top: 30px;
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    max-width: none;
  }
  .country-index-tools {
    display: grid;
    justify-content: stretch;
  }
  .policy-layout { grid-template-columns: 1fr; gap: 30px; }
  .region-list { grid-template-columns: 1fr; }
  .filter-rail { grid-template-columns: 1fr 1fr; }
  .filter-rail button { grid-column: 1 / -1; }
  .table-note { display: grid; }
  .table-wrap { display: none; }
  .mobile-list { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--ink); }
  .channel-card {
    background: var(--paper);
    padding: 16px 14px;
    display: grid;
    gap: 10px;
  }
  .channel-card:active { background: #e9eee8; }
  .channel-card h3 { margin: 0; font-size: 18px; }
  .channel-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-metrics { grid-template-columns: repeat(2, 1fr); }
  .channel-layout { grid-template-columns: 1fr; gap: 28px; }
  .channel-aside { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .data-list { grid-template-columns: 1fr; }
  .data-list dt { padding-bottom: 5px; border-bottom: 0; }
  .data-list dd { padding-top: 0; }
  footer { display: block; line-height: 2; }
}

@media (max-width: 520px) {
  :root { --gutter: 14px; }
  .brand { min-width: auto; }
  .signal-strip { grid-template-columns: 1fr; }
  .stat { margin-right: 0; border-right: 0; }
  .filter-rail { grid-template-columns: 1fr; }
  .info-band article { padding: 26px 20px; }
  .detail-content { padding: 30px 22px 24px; }
}
