
:root {
  --ink: #0a111c;
  --ink-soft: #172230;
  --paper: #f4f2ed;
  --paper-bright: #fbfaf7;
  --line: #d9d7d1;
  --muted: #68717d;
  --signal: #e1242a;
  --signal-dark: #b90f16;
  --white: #ffffff;
  --lime: #c8ff4a;
  --shadow: 0 24px 70px rgba(6, 14, 25, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(225, 36, 42, 0.32);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 15, 25, 0.93);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.nav-shell,
.hero-shell,
.section-shell,
.footer-shell {
  width: min(1380px, calc(100% - 64px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.wordmark-block {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--signal);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.wordmark-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.98;
}

.wordmark-copy strong {
  font-size: 15px;
  letter-spacing: 0.13em;
}

.wordmark-copy em {
  margin-top: 5px;
  color: #aeb6c0;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.43em;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.main-nav button,
.footer-nav button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.main-nav button {
  padding: 11px 16px;
  border-radius: 999px;
  color: #bec5cf;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.main-nav button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.language-switch {
  display: flex;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.language-switch button {
  min-width: 45px;
  padding: 8px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9ea7b3;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.language-switch button.is-active {
  background: var(--white);
  color: var(--ink);
}

.menu-toggle {
  display: none;
}

.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 760px;
  padding: 84px 0 88px;
  background: var(--ink);
  color: var(--white);
}

.hero-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(225, 36, 42, 0.22), transparent 32%),
    linear-gradient(120deg, transparent 0 48%, rgba(255, 255, 255, 0.035) 48% 49%, transparent 49% 100%);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -280px;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.018),
    0 0 0 180px rgba(255, 255, 255, 0.014);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(560px, 1.15fr);
  align-items: center;
  gap: clamp(44px, 6vw, 96px);
}

.edition-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 28px;
  color: #a9b1bc;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(225, 36, 42, 0.14);
}

.edition-rule {
  width: 26px;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.hero-intro h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(56px, 6.2vw, 94px);
  font-weight: 640;
  letter-spacing: -0.066em;
  line-height: 0.93;
}

.hero-intro > p {
  max-width: 610px;
  margin: 30px 0 0;
  color: #b4bdc8;
  font-size: 17px;
  line-height: 1.7;
}

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

.button-primary,
.button-secondary {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  border: 1px solid var(--signal);
  background: var(--signal);
  color: var(--white);
}

.button-primary:hover {
  background: var(--signal-dark);
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.62);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 560px;
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 21px 18px 0 0;
}

.hero-stats div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-stats strong {
  font-size: 25px;
  line-height: 1;
}

.hero-stats span {
  color: #8e98a5;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-story {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.26);
}

.lead-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #202a37;
}

.lead-visual > img,
.story-image > img,
.modal-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lead-visual::after,
.story-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(5, 11, 19, 0.68));
  pointer-events: none;
}

.lead-label,
.story-tag {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 18px;
  max-width: calc(100% - 90px);
  padding: 7px 9px;
  background: var(--signal);
  color: var(--white);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lead-count,
.story-number {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-geist-mono), monospace;
  font-size: 25px;
  font-weight: 400;
}

.lead-content {
  padding: 29px 30px 30px;
}

.story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  font-weight: 630;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.lead-content .story-meta {
  color: #9ba4b0;
}

.story-meta span {
  color: var(--signal);
}

.lead-content h2 {
  margin: 16px 0 0;
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 620;
  letter-spacing: -0.043em;
  line-height: 1.08;
}

.lead-content > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 16px 0 0;
  color: #aeb7c2;
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lead-footer,
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lead-footer {
  margin-top: 22px;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  font-weight: 650;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.news-ticker {
  overflow: hidden;
  background: var(--signal);
  color: var(--white);
}

.news-ticker > div {
  width: max-content;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 28px;
  padding: 14px 28px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.15em;
}

.news-ticker b {
  font-size: 15px;
  opacity: 0.55;
}

.content-section {
  padding: 112px 0;
  scroll-margin-top: 76px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 48px;
}

.section-index {
  display: block;
  margin-bottom: 14px;
  color: var(--signal);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(39px, 4.4vw, 66px);
  font-weight: 620;
  letter-spacing: -0.057em;
  line-height: 0.99;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.filter-deck {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.category-tabs button {
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #5d6672;
  font-size: 11px;
  font-weight: 720;
  cursor: pointer;
}

.category-tabs button:hover {
  border-color: var(--line);
  color: var(--ink);
}

.category-tabs button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.filter-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px 160px auto;
  gap: 9px;
}

.search-field {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.search-field span {
  font-size: 21px;
  line-height: 1;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

.search-field input::placeholder {
  color: #8c949d;
}

.filter-tools select {
  min-height: 46px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper-bright);
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

.shuffle-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--signal);
  background: var(--signal);
  color: var(--white);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.shuffle-button:hover {
  background: var(--signal-dark);
}

.shuffle-button span {
  font-size: 17px;
}

.result-line {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-line span:first-child {
  color: var(--ink);
  font-family: var(--font-geist-mono), monospace;
  font-size: 18px;
}

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

.story-card {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper-bright);
  text-align: left;
  cursor: pointer;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.story-card:hover {
  z-index: 2;
  border-color: #a6a9aa;
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.story-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe3e4;
}

.story-image > img {
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.story-card:hover .story-image > img {
  transform: scale(1.035);
}

.story-tag {
  left: 14px;
  bottom: 13px;
  overflow: hidden;
  max-width: calc(100% - 76px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-number {
  right: 13px;
  bottom: 8px;
  font-size: 19px;
}

.story-card-body {
  padding: 22px 22px 21px;
}

.story-card-body h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 78px;
  margin: 15px 0 0;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.036em;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.story-card-body > p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 66px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-footer {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.story-card .price-pill {
  max-width: calc(100% - 48px);
  overflow: hidden;
  border-color: #d7d4ce;
  background: #f0eee9;
  color: #303844;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.round-arrow {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 14px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.story-card:hover .round-arrow {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--white);
}

.stat-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  background: #1b2b40;
  color: var(--white);
}

.stat-visual::before {
  content: "";
  position: absolute;
  top: -48%;
  right: -24%;
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255, 255, 255, 0.025),
    0 0 0 90px rgba(255, 255, 255, 0.018);
}

.stat-visual.tone-byd {
  background: linear-gradient(135deg, #7e1116, #e32a2f);
}

.stat-visual.tone-wuling {
  background: linear-gradient(135deg, #15384a, #207b88);
}

.stat-visual.tone-geely {
  background: linear-gradient(135deg, #132948, #3265a0);
}

.stat-visual.tone-mg {
  background: linear-gradient(135deg, #36131b, #a81724);
}

.stat-visual.tone-market {
  background: linear-gradient(135deg, #182535, #465a70);
}

.stat-mark {
  position: absolute;
  top: 24px;
  left: 26px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.16em;
  opacity: 0.7;
}

.stat-visual strong {
  position: relative;
  font-size: clamp(42px, 5vw, 76px);
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.stat-visual small {
  position: relative;
  margin-top: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-brand {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 42%;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-align: right;
  text-transform: uppercase;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 90px 24px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
  text-align: center;
}

.empty-state strong {
  font-size: 24px;
}

.empty-state button {
  padding: 11px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.price-watch {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.light-heading > p {
  color: #9ca6b2;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.price-card {
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.price-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e7e7e3;
}

.price-card-image img {
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
  object-position: center;
  transition: transform 350ms ease;
}

.price-card:hover .price-card-image img {
  transform: scale(1.035);
}

.price-card-image > span {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
}

.price-card-body {
  padding: 19px 18px 22px;
}

.price-brand {
  color: var(--signal);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.price-card h3 {
  min-height: 43px;
  margin: 8px 0 15px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.price-card strong {
  display: block;
  color: var(--lime);
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
  line-height: 1.4;
}

.price-card p {
  min-height: 34px;
  margin: 10px 0 0;
  color: #8f99a5;
  font-size: 10px;
  line-height: 1.55;
}

.market-section {
  background: #eceae4;
}

.market-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.market-card {
  padding: 29px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.market-card-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.market-card-title span {
  color: var(--signal);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
}

.market-card-title h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.share-bars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.share-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(100px, 1fr) 52px;
  align-items: center;
  gap: 17px;
}

.share-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.share-copy strong {
  font-size: 12px;
}

.share-copy span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.share-track {
  height: 6px;
  overflow: hidden;
  background: #dedcd7;
}

.share-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--signal), #ff6b58);
}

.share-row > b {
  font-family: var(--font-geist-mono), monospace;
  font-size: 12px;
  text-align: right;
}

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

.movement-card table {
  width: 100%;
  min-width: 610px;
  border-collapse: collapse;
}

.movement-card th,
.movement-card td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  text-align: left;
}

.movement-card th {
  padding-top: 0;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.movement-card td:nth-child(3),
.movement-card td:nth-child(4) {
  font-family: var(--font-geist-mono), monospace;
}

.change-pill {
  display: inline-flex;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(225, 36, 42, 0.1);
  color: var(--signal-dark);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 750;
}

.site-footer {
  padding: 74px 0 28px;
  background: #060b12;
  color: var(--white);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 46px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.footer-brand strong {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.footer-brand p {
  max-width: 520px;
  margin: 10px 0 0;
  color: #89939f;
  font-size: 12px;
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-nav button {
  padding: 10px 12px;
  color: #9ca6b2;
  font-size: 11px;
  cursor: pointer;
}

.footer-nav button:hover {
  color: var(--white);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: #687380;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 28px;
  background: rgba(3, 8, 14, 0.82);
  backdrop-filter: blur(12px);
}

.story-modal-card {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100vh - 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: auto;
  background: var(--paper-bright);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: absolute;
  z-index: 5;
  top: 17px;
  right: 17px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.modal-close span {
  position: absolute;
  top: 20px;
  left: 12px;
  width: 18px;
  height: 1px;
  background: var(--white);
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.modal-visual {
  min-height: 100%;
  overflow: hidden;
  background: #dfe3e4;
}

.modal-visual .stat-visual {
  min-height: 600px;
}

.modal-content {
  padding: 64px 54px 48px;
}

.modal-content h2 {
  margin: 20px 0 0;
  font-size: clamp(34px, 4vw, 57px);
  font-weight: 630;
  letter-spacing: -0.055em;
  line-height: 1;
}

.modal-summary {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.modal-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
  border: 1px solid var(--line);
}

.modal-facts > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px;
  background: var(--paper-bright);
}

.modal-facts span {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.modal-facts strong {
  font-size: 12px;
  line-height: 1.5;
}

.detail-list {
  margin-top: 32px;
}

.detail-list h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-list ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding: 14px 12px 14px 31px;
  border-top: 1px solid var(--line);
  color: #3e4751;
  font-size: 12px;
  line-height: 1.55;
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 8px;
  width: 7px;
  height: 7px;
  background: var(--signal);
}

@media (max-width: 1180px) {
  .hero-shell {
    grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
    gap: 50px;
  }

  .hero-intro h1 {
    font-size: clamp(52px, 6vw, 74px);
  }

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

  .market-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .nav-shell,
  .hero-shell,
  .section-shell,
  .footer-shell {
    width: min(100% - 40px, 820px);
  }

  .hero-section {
    padding-top: 66px;
  }

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

  .hero-intro {
    max-width: 730px;
  }

  .lead-story {
    width: 100%;
  }

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

  .filter-tools {
    grid-template-columns: 1fr 140px 155px;
  }

  .shuffle-button {
    grid-column: 1 / -1;
  }

  .story-modal-card {
    grid-template-columns: 1fr;
  }

  .modal-visual {
    min-height: 380px;
    max-height: 440px;
  }

  .modal-visual .stat-visual {
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    min-height: 70px;
    grid-template-columns: 1fr auto auto;
    gap: 14px;
  }

  .wordmark-copy {
    display: none;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: var(--white);
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px 21px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #080f19;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav button {
    border-radius: 0;
    text-align: left;
  }

  .language-switch button {
    min-width: 39px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .hero-section {
    min-height: auto;
    padding: 52px 0 60px;
  }

  .hero-intro h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .hero-intro > p {
    font-size: 15px;
  }

  .hero-stats {
    margin-top: 42px;
  }

  .hero-stats span {
    font-size: 8px;
  }

  .lead-content {
    padding: 23px 20px 22px;
  }

  .lead-content h2 {
    font-size: 28px;
  }

  .lead-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
    margin-bottom: 35px;
  }

  .content-section {
    padding: 78px 0;
  }

  .filter-deck {
    padding: 13px;
  }

  .category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .category-tabs button {
    flex: 0 0 auto;
  }

  .filter-tools {
    grid-template-columns: 1fr 1fr;
  }

  .search-field {
    grid-column: 1 / -1;
  }

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

  .story-card-body h3 {
    min-height: 0;
    font-size: 24px;
  }

  .story-card-body > p {
    min-height: 0;
  }

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

  .share-row {
    grid-template-columns: 1fr 52px;
  }

  .share-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

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

  .footer-nav {
    flex-wrap: wrap;
  }

  .footer-bottom {
    grid-column: auto;
  }

  .story-modal {
    align-items: start;
    padding: 12px;
  }

  .story-modal-card {
    max-height: calc(100vh - 24px);
  }

  .modal-visual {
    min-height: 280px;
    max-height: 330px;
  }

  .modal-visual .stat-visual {
    min-height: 300px;
  }

  .modal-content {
    padding: 42px 23px 28px;
  }

  .modal-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .hero-shell,
  .section-shell,
  .footer-shell {
    width: calc(100% - 28px);
  }

  .edition-row {
    flex-wrap: wrap;
  }

  .edition-rule {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats strong {
    font-size: 21px;
  }

  .lead-visual {
    aspect-ratio: 4 / 3;
  }

  .section-heading h2 {
    font-size: 39px;
  }

  .filter-tools {
    grid-template-columns: 1fr;
  }

  .search-field,
  .shuffle-button {
    grid-column: auto;
  }

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

  .price-card {
    display: grid;
    grid-template-columns: 44% 56%;
  }

  .price-card-image {
    min-height: 190px;
    aspect-ratio: auto;
  }

  .price-card h3,
  .price-card p {
    min-height: 0;
  }

  .market-card {
    padding: 22px 17px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
