:root {
  color-scheme: light;
  --ink: #0b1f35;
  --text: #17314a;
  --muted: #5b7184;
  --line: rgba(12, 34, 55, 0.14);
  --paper: #f7fbfc;
  --mist: #e8f2f4;
  --white: #ffffff;
  --blue: #146ea8;
  --teal: #167d83;
  --gold: #b7791f;
  --coral: #b95f4b;
  --shadow: 0 18px 48px rgba(18, 46, 70, 0.14);
}

* {
  box-sizing: border-box;
}

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

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(11, 31, 53, 0.08);
  background: rgba(247, 251, 252, 0.72);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav a,
.header-cta {
  text-decoration: none;
}

.brand {
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: rgba(11, 31, 53, 0.76);
  font-size: 13px;
  font-weight: 760;
}

.header-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(11, 31, 53, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 820;
  backdrop-filter: blur(18px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  place-items: center;
  padding: 118px 24px 96px;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.1) 46%, rgba(247, 251, 252, 0.9) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.48));
}

.hero-content {
  width: min(880px, 100%);
  min-width: 0;
  text-align: center;
}

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

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

h1 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: clamp(52px, 10vw, 126px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1 span {
  display: inline;
}

@media (min-width: 861px) {
  h1 {
    white-space: nowrap;
  }
}

.hero-line {
  max-width: 700px;
  margin: 28px auto 0;
  color: #173b5a;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 780;
  line-height: 1.45;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  border: 1px solid rgba(11, 31, 53, 0.12);
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(11, 31, 53, 0.24);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(11, 31, 53, 0.2);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 26px;
  color: rgba(11, 31, 53, 0.72);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.section {
  padding: 88px clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 800px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.compact {
  margin-bottom: 30px;
}

h2 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 880;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-head p:last-child,
.fit-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 520;
  line-height: 1.8;
}

.word-split {
  background: var(--paper);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.meaning-panel,
.world-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.meaning-panel {
  min-height: 370px;
  padding: clamp(26px, 4vw, 42px);
}

.sky-panel {
  border-top: 5px solid var(--blue);
}

.nomad-panel {
  border-top: 5px solid var(--coral);
}

.panel-index {
  margin: 0 0 28px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 880;
  line-height: 1.1;
  letter-spacing: 0;
}

.meaning-panel p:not(.panel-index),
.world-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 520;
  line-height: 1.75;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tags span,
.fit-list span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(20, 110, 168, 0.18);
  border-radius: 8px;
  background: #eef7f8;
  color: #21485b;
  font-size: 13px;
  font-weight: 780;
}

.tags span {
  padding: 0 12px;
}

.worlds {
  background:
    linear-gradient(180deg, #f7fbfc 0%, #edf6f4 100%);
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
}

.world-grid article {
  min-height: 230px;
  padding: 24px;
}

.world-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 880;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.world-grid h3 {
  font-size: 24px;
}

.brand-fit {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #10263b;
  color: var(--white);
}

.brand-fit .eyebrow {
  color: #8ed0d4;
}

.brand-fit h2 {
  color: var(--white);
}

.fit-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fit-list span {
  min-height: 42px;
  padding: 0 14px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.sales-index {
  padding-top: 75px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.sales-index-inner {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 15px 0;
}

.sales-index-title {
  display: grid;
  gap: 3px;
  text-decoration: none;
}

.sales-index-title span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sales-index-title strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.manufacturer-links {
  display: flex;
  gap: 0;
  min-width: 0;
  overflow-x: auto;
  padding: 7px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 31, 53, 0.22) transparent;
  -webkit-overflow-scrolling: touch;
}

.manufacturer-links a {
  flex: 0 0 auto;
  padding: 0 11px;
  border-left: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.5;
  text-decoration-color: rgba(20, 110, 168, 0.4);
  text-underline-offset: 3px;
}

.manufacturer-links a:first-child {
  padding-left: 0;
  border-left: 0;
}

.closing {
  display: grid;
  min-height: 430px;
  place-items: center;
  padding: 78px 20px;
  background:
    linear-gradient(180deg, rgba(247, 251, 252, 0.9), rgba(247, 251, 252, 0.98)),
    url("./assets/skynomad-space-hero.png") center 70% / cover;
  text-align: center;
}

.closing h2 {
  max-width: 760px;
  margin: 14px auto 28px;
}

.guestbook {
  background: var(--paper);
}

.guestbook-copy {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.guestbook-copy p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 520;
  line-height: 1.8;
}

.guestbook-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.public-guestbook .guestbook-layout {
  grid-template-columns: minmax(280px, 560px);
  justify-content: center;
}

.message-form,
.message-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.message-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.message-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 840;
}

.message-form input,
.message-form textarea {
  width: 100%;
  border: 1px solid rgba(12, 34, 55, 0.18);
  border-radius: 8px;
  background: #fbfdfe;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.message-form input {
  min-height: 44px;
  padding: 0 12px;
}

.message-form textarea {
  min-height: 132px;
  resize: vertical;
  padding: 12px;
  line-height: 1.6;
}

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

.form-notices {
  display: grid;
  gap: 8px;
}

.secure-message-notice {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.secure-message-notice strong {
  color: var(--ink);
  font-size: 19px;
}

.secure-message-notice p {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.notice {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.5;
}

.notice.success {
  background: #e8f7ed;
  color: #17623a;
}

.notice.error {
  background: #fff0ee;
  color: #8c2d22;
}

.message-list {
  display: grid;
  gap: 12px;
}

.message-card {
  padding: 20px;
}

.message-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.message-card h3 {
  font-size: 19px;
}

.message-card time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.message-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 520;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.message-card.empty {
  min-height: 180px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.data-disclaimer {
  flex: 0 0 100%;
  margin: 4px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #718495;
  font-size: 11px;
  font-weight: 520;
  line-height: 1.7;
  text-align: center;
}

/* 2026 China auto market data page */
.market-main {
  padding-top: 75px;
}

.market-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px clamp(20px, 5vw, 72px) 66px;
  text-align: center;
}

.market-hero h1 {
  max-width: 1050px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1;
  white-space: normal;
}

.market-deck {
  max-width: 800px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 620;
  line-height: 1.7;
}

.data-update {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.market-section {
  padding: 76px clamp(20px, 5vw, 72px);
}

.market-section:nth-child(even) {
  background: var(--white);
}

.market-section-head {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.market-section-head p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.kpi-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(18, 46, 70, 0.09);
}

.kpi-card.positive {
  border-top-color: var(--teal);
}

.kpi-card.negative {
  border-top-color: var(--coral);
}

.kpi-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}

.kpi-card strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
}

.kpi-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.market-reading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1050px;
  margin: 34px auto 0;
}

.market-reading p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.85;
}

.chart-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.scroll-hint {
  display: none;
}

.html-month-chart {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}

.html-month-chart article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.html-month-chart h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.html-meter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 12px;
}

.html-meter-row span,
.html-meter-row strong {
  font-size: 12px;
}

.html-meter-row span {
  color: var(--muted);
  font-weight: 750;
}

.html-meter-row strong {
  color: var(--ink);
  font-weight: 850;
}

.html-month-chart article > p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

meter {
  width: 100%;
  height: 14px;
  border: 0;
  background: #dce8eb;
}

meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: #dce8eb;
  box-shadow: none;
}

meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: var(--blue);
}

meter::-moz-meter-bar {
  border-radius: 999px;
  background: var(--blue);
}

.nev-meter::-webkit-meter-optimum-value {
  background: var(--teal);
}

.nev-meter::-moz-meter-bar {
  background: var(--teal);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.chart-legend span::before {
  display: inline-block;
  width: 18px;
  height: 3px;
  margin-right: 7px;
  vertical-align: middle;
  content: "";
}

.retail-key::before {
  background: var(--blue);
}

.nev-key::before {
  background: var(--teal);
}

.sales-chart {
  display: block;
  min-width: 700px;
  width: 100%;
  height: auto;
  margin-top: 12px;
}

.chart-grid-line {
  stroke: rgba(12, 34, 55, 0.12);
  stroke-width: 1;
}

.chart-axis-label,
.chart-month,
.chart-value {
  font-family: inherit;
}

.chart-axis-label {
  fill: var(--muted);
  font-size: 11px;
  text-anchor: end;
}

.chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.retail-line {
  stroke: var(--blue);
}

.nev-line {
  stroke: var(--teal);
}

.chart-point {
  stroke: var(--white);
  stroke-width: 3;
}

.retail-point {
  fill: var(--blue);
}

.nev-point {
  fill: var(--teal);
}

.chart-value {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 850;
  text-anchor: middle;
}

.nev-value {
  fill: var(--teal);
}

.chart-month {
  fill: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-anchor: middle;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 20px auto 0;
}

.insight-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.insight-index {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.insight-grid h3,
.method-grid h3 {
  font-size: 22px;
}

.insight-grid article > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.brand-sales-section {
  background: linear-gradient(180deg, #f7fbfc 0%, #edf6f4 100%) !important;
}

.brand-directory {
  max-width: 1080px;
  margin: 0 auto 24px;
  padding: 20px 24px;
  border-left: 4px solid var(--teal);
  background: rgba(255, 255, 255, 0.72);
}

.brand-directory strong {
  color: var(--ink);
  font-size: 14px;
}

.brand-directory nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
}

.brand-directory a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
  text-underline-offset: 3px;
}

.all-brand-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand-history-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.brand-history-card:target,
.additional-manufacturers li:target {
  outline: 3px solid rgba(20, 110, 168, 0.28);
  outline-offset: 3px;
  box-shadow: 0 12px 34px rgba(20, 110, 168, 0.16);
}

.brand-history-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.brand-history-card h3 {
  font-size: 22px;
}

.brand-history-card header span {
  flex: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.brand-history-card ol {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.brand-history-card li {
  display: grid;
  grid-template-columns: 34px minmax(80px, 1fr) 94px;
  gap: 10px;
  align-items: center;
  min-height: 32px;
}

.brand-history-card li > span:first-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.brand-history-card li strong {
  color: var(--ink);
  font-size: 12px;
  text-align: right;
}

.brand-history-card meter::-webkit-meter-optimum-value {
  background: var(--teal);
}

.brand-history-card meter::-moz-meter-bar {
  background: var(--teal);
}

.brand-no-data {
  grid-column: 2 / 4;
  color: #8797a5;
  font-size: 11px;
}

.brand-chart-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.brand-chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.brand-key::before {
  display: inline-block;
  width: 18px;
  height: 3px;
  margin-right: 7px;
  vertical-align: middle;
  content: "";
}

.brand-key-1::before,
.brand-line-1 {
  background: var(--blue);
  stroke: var(--blue);
}

.brand-key-2::before,
.brand-line-2 {
  background: var(--teal);
  stroke: var(--teal);
}

.brand-key-3::before,
.brand-line-3 {
  background: var(--coral);
  stroke: var(--coral);
}

.brand-key-4::before,
.brand-line-4 {
  background: var(--gold);
  stroke: var(--gold);
}

.brand-point-1 {
  fill: var(--blue);
}

.brand-point-2 {
  fill: var(--teal);
}

.brand-point-3 {
  fill: var(--coral);
}

.brand-point-4 {
  fill: var(--gold);
}

.chart-unit {
  fill: var(--muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 750;
}

.latest-ranking {
  max-width: 1080px;
  margin: 28px auto 0;
}

.latest-ranking h3,
.additional-manufacturers h3 {
  font-size: 25px;
}

.latest-ranking > p,
.additional-manufacturers > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.latest-ranking ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: brand-rank;
  list-style: none;
}

.latest-ranking li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 5px 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  counter-increment: brand-rank;
}

.latest-ranking li::before {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  content: counter(brand-rank, decimal-leading-zero);
}

.latest-ranking li span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.latest-ranking li strong {
  color: var(--muted);
  font-size: 13px;
}

.brand-table-wrap {
  margin-top: 28px !important;
}

.brand-table {
  min-width: 820px;
}

.brand-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--white);
}

.brand-table thead th:first-child {
  background: #eef5f6;
}

.not-disclosed {
  color: #8797a5;
  font-size: 12px;
}

.additional-manufacturers {
  max-width: 1080px;
  margin: 30px auto 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.additional-manufacturers ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.additional-manufacturers li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.additional-manufacturers li strong,
.additional-manufacturers li span {
  display: block;
}

.additional-manufacturers li strong {
  color: var(--ink);
  font-size: 14px;
}

.additional-manufacturers li span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.market-table-wrap {
  max-width: 1180px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.market-table {
  width: 100%;
  min-width: 1030px;
  border-collapse: collapse;
}

.market-table caption {
  padding: 16px 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.market-table th,
.market-table td {
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

.market-table th:first-child,
.market-table td:first-child {
  text-align: left;
}

.market-table thead th,
.market-table tfoot th,
.market-table tfoot td {
  background: #eef5f6;
  color: var(--ink);
  font-weight: 850;
}

.methodology {
  background: #10263b !important;
  color: var(--white);
}

.methodology h2,
.methodology h3 {
  color: var(--white);
}

.methodology .eyebrow {
  color: #8ed0d4;
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 70px);
  max-width: 1120px;
  margin: 0 auto;
}

.method-grid dl {
  margin: 24px 0 0;
}

.method-grid dt {
  margin-top: 20px;
  color: #b9e4e5;
  font-size: 14px;
  font-weight: 850;
}

.method-grid dd {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.source-list ol {
  margin: 22px 0 0;
  padding-left: 22px;
}

.source-list li {
  margin-top: 12px;
  padding-left: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

.source-list a {
  color: var(--white);
  text-underline-offset: 3px;
}

.source-list span {
  display: block;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

@media (max-width: 900px) {
  .kpi-grid,
  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-reading,
  .method-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 560px) {
  .market-main {
    padding-top: 67px;
  }

  .market-hero {
    padding: 64px 18px 48px;
  }

  .market-section {
    padding: 58px 18px;
  }

  .kpi-grid,
  .insight-grid,
  .html-month-chart,
  .all-brand-charts,
  .latest-ranking ol,
  .additional-manufacturers ul {
    grid-template-columns: 1fr;
  }

  .chart-card {
    padding: 14px;
  }

  .brand-chart-card,
  .additional-manufacturers {
    padding: 16px;
  }

  .scroll-hint {
    display: block;
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
  }
}

.admin-page {
  background: #f2f6f7;
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.admin-head {
  margin-bottom: 24px;
}

.admin-head h1 {
  margin: 10px 0 16px;
  font-size: clamp(34px, 6vw, 64px);
}

.admin-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-stats span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-size: 13px;
  font-weight: 820;
}

.admin-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-panel h2 {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
}

.table-wrap {
  overflow-x: auto;
}

.admin-panel table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  table-layout: fixed;
}

.admin-panel .messages-table {
  min-width: 760px;
}

.messages-table th:nth-child(1) {
  width: 150px;
}

.messages-table th:nth-child(2) {
  width: 130px;
}

.messages-table th:nth-child(3) {
  width: 150px;
}

.admin-panel th,
.admin-panel td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(12, 34, 55, 0.1);
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.admin-panel th {
  color: var(--ink);
  font-weight: 880;
}

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

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
  }

  .site-header > .brand {
    grid-row: 1;
    grid-column: 1;
  }

  .site-header > .header-cta {
    grid-row: 1;
    grid-column: 2;
  }

  .site-header nav {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding: 1px 0 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .site-header nav a {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 6px;
  }

  .site-header nav a:first-child {
    border: 1px solid rgba(11, 31, 53, 0.14);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
  }

  .hero {
    min-height: 84svh;
    padding-top: 140px;
  }

  .sales-index {
    padding-top: 126px;
  }

  .sales-index-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
  }

  .market-main {
    padding-top: 112px;
  }

  h1 {
    white-space: normal;
  }

  h1 .domain-tail {
    display: block;
  }

  .split-grid,
  .world-grid,
  .brand-fit,
  .guestbook-layout {
    grid-template-columns: 1fr;
  }

  .meaning-panel {
    min-height: auto;
  }

}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 14px;
    white-space: nowrap;
  }

  .header-cta {
    width: min(150px, 42vw);
    min-width: 0;
    min-height: 34px;
    max-width: 150px;
    padding: 5px 10px;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: 82svh;
    padding: 126px 18px 78px;
  }

  .market-main {
    padding-top: 100px;
  }

  .hero-content {
    width: 100%;
    max-width: 354px;
    margin: 0 auto;
  }

  .eyebrow {
    font-size: 11px;
  }

  .hero-content .eyebrow {
    white-space: normal;
  }

  h1 {
    font-size: clamp(37px, 12vw, 50px);
    line-height: 0.96;
  }

  .hero-line {
    font-size: 18px;
  }

  .button {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
  }

  .hero-actions {
    width: 100%;
    max-width: 318px;
    margin-right: auto;
    margin-left: auto;
  }

  .scroll-cue {
    right: 18px;
    bottom: 18px;
  }

  .section {
    padding: 62px 18px;
  }

  .world-grid article {
    min-height: auto;
  }

  .sales-index-inner {
    width: calc(100% - 36px);
  }
}
