/* 七大队汽车俱乐部 (jeepclub.com.cn) - Editorial Expedition Stylesheet */
:root {
  --brand-deep: #0c4f8a;
  --brand-primary: #1162a6;
  --brand-sky: #289ad6;
  --brand-tint: #eef6fc;
  --slate-950: #0b1623;
  --slate-900: #0f2238;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --surface-page: #f7f9fb;
  --surface-card: #ffffff;
  --accent-amber: #d97706;
  --accent-amber-bg: #fef3c7;
  --status-open: #15803d;
  --status-open-bg: #dcfce7;
  --status-seasonal: #b45309;
  --status-seasonal-bg: #fef3c7;
  --status-winter: #1d4ed8;
  --status-winter-bg: #dbeafe;
  --status-restricted: #b91c1c;
  --status-restricted-bg: #fee2e2;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-800);
  background: var(--surface-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--brand-sky);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--slate-200);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-700);
  white-space: nowrap;
}

.nav-item:hover {
  background: var(--brand-tint);
  color: var(--brand-deep);
}

.nav-item.is-active {
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-weight: 600;
}

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

.header-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--slate-300);
  border-radius: 999px;
  background: var(--surface-page);
  padding: 2px 4px 2px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search:focus-within {
  border-color: var(--brand-sky);
  box-shadow: 0 0 0 3px rgba(40, 154, 214, 0.14);
  background: #fff;
}

.header-search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 156px;
  font-size: 13.5px;
  color: var(--slate-800);
  font-family: inherit;
}

.header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  cursor: pointer;
}

.header-search button:hover {
  background: var(--brand-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 0 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--slate-800);
  border-radius: 2px;
}

/* Announcement Bar (Homepage top banner under nav) */
.announce-bar {
  background: linear-gradient(90deg, #0b2239 0%, #113a61 55%, #0c4f8a 100%);
  color: #f8fafc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.announce-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 13.5px;
  flex-wrap: wrap;
}

.announce-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--brand-sky);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.announce-text {
  margin: 0;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.announce-meta {
  margin-left: auto;
  color: #bae6fd;
  font-size: 12.5px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--slate-950);
  color: #fff;
  overflow: hidden;
  padding: 64px 0 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 22, 38, 0.92) 0%, rgba(11, 34, 57, 0.78) 56%, rgba(12, 54, 92, 0.45) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #7dd3fc;
  padding: 4px 10px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 999px;
  background: rgba(15, 34, 56, 0.55);
  margin-bottom: 16px;
}

.hero-title {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 1.78;
  color: #dbeafe;
  max-width: 620px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.14s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-sky);
  color: #fff;
}

.btn-primary:hover {
  background: #1b87c0;
  color: #fff;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-ghost-light {
  color: #bae6fd;
  padding-left: 10px;
  padding-right: 10px;
}

.btn-ghost-light:hover {
  color: #fff;
}

.btn-outline-dark {
  border-color: var(--slate-300);
  color: var(--slate-800);
  background: #fff;
}

.btn-outline-dark:hover {
  border-color: var(--brand-primary);
  color: var(--brand-deep);
}

.telemetry-card {
  background: rgba(11, 27, 45, 0.82);
  border: 1px solid rgba(148, 197, 240, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
}

.telemetry-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #e0f2fe;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}

.telemetry-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.22);
}

.telemetry-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.t-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
}

.t-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.t-label {
  font-size: 12.5px;
  color: #93c5fd;
  margin-top: 4px;
}

.telemetry-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.telemetry-foot span {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(40, 154, 214, 0.22);
  color: #e0f2fe;
}

/* Sections */
.section {
  padding: 52px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

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

.section-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-kicker.light {
  color: #7dd3fc;
}

.section-title {
  margin: 0;
  font-size: 25px;
  line-height: 1.3;
  color: var(--slate-900);
  font-weight: 700;
}

.section-sub {
  margin: 0;
  font-size: 14.5px;
  color: var(--slate-600);
  max-width: 460px;
}

.more-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
  white-space: nowrap;
}

/* Route Matrix Table */
.section-matrix {
  background: #fff;
  border-bottom: 1px solid var(--slate-200);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
  font-size: 14px;
}

.matrix-table th {
  text-align: left;
  padding: 13px 16px;
  background: var(--slate-900);
  color: #f8fafc;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.matrix-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--slate-200);
  vertical-align: top;
  color: var(--slate-700);
}

.matrix-table tbody tr:hover {
  background: #f8fbfe;
}

.matrix-link {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 15px;
}

.matrix-link:hover {
  color: var(--brand-primary);
}

.matrix-region {
  font-size: 12.5px;
  color: var(--slate-500);
  margin-top: 3px;
}

.mono-cell {
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
}

.cell-sub {
  font-size: 12px;
  color: var(--slate-500);
  margin-top: 2px;
}

.cell-tip {
  font-size: 12.5px;
  color: var(--slate-500);
  margin-top: 4px;
}

.status-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-open {
  background: var(--status-open-bg);
  color: var(--status-open);
}

.badge-seasonal {
  background: var(--status-seasonal-bg);
  color: var(--status-seasonal);
}

.badge-winter {
  background: var(--status-winter-bg);
  color: var(--status-winter);
}

.badge-restricted {
  background: var(--status-restricted-bg);
  color: var(--status-restricted);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.guide-card {
  background: var(--surface-card);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #bfd7ed;
}

.card-cover-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--slate-900);
  overflow: hidden;
}

.card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.guide-card:hover .card-cover {
  transform: scale(1.03);
}

.card-region {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(11, 22, 35, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.card-title {
  margin: 0 0 10px;
  font-size: 17.5px;
  line-height: 1.4;
  font-weight: 700;
}

.card-title a {
  color: var(--slate-900);
}

.card-title a:hover {
  color: var(--brand-primary);
}

.card-summary {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--slate-600);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--slate-100);
  font-size: 13px;
}

.card-spec {
  font-family: var(--font-mono);
  color: var(--slate-500);
  font-size: 12.5px;
}

.card-read {
  font-weight: 600;
  color: var(--brand-primary);
}

/* Tools Promo Banner */
.section-tools-banner {
  padding-top: 16px;
  padding-bottom: 16px;
}

.tools-promo {
  background: linear-gradient(135deg, #0b2239 0%, #114576 60%, #1562a0 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: center;
}

.tools-promo-title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.32;
}

.tools-promo-desc {
  margin: 0;
  font-size: 14.5px;
  color: #dbeafe;
  line-height: 1.7;
}

.tools-promo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-tool-card {
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  color: #fff;
}

.mini-tool-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #7dd3fc;
  color: #fff;
}

.mini-tool-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #7dd3fc;
  margin-bottom: 6px;
}

.mini-tool-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.mini-tool-desc {
  font-size: 12.5px;
  color: #e0f2fe;
  line-height: 1.5;
}

/* Split Section */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
}

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 16px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.h-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--slate-900);
}

.h-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h-tag {
  font-size: 12px;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.h-title {
  margin: 0 0 6px;
  font-size: 16.5px;
  line-height: 1.4;
}

.h-title a {
  color: var(--slate-900);
}

.h-title a:hover {
  color: var(--brand-primary);
}

.h-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.brief-list {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 8px 20px;
  box-shadow: var(--shadow-sm);
}

.brief-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--slate-100);
}

.brief-item:last-child {
  border-bottom: 0;
}

.brief-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 6px;
}

.brief-cat {
  background: var(--brand-tint);
  color: var(--brand-deep);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.brief-region {
  color: var(--slate-600);
  font-weight: 500;
}

.brief-time {
  margin-left: auto;
  color: var(--slate-500);
}

.brief-title {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.42;
}

.brief-title a {
  color: var(--slate-900);
}

.brief-title a:hover {
  color: var(--brand-primary);
}

.brief-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate-600);
}

/* Manifesto */
.section-manifesto {
  background: #fff;
  border-top: 1px solid var(--slate-200);
}

.manifesto-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 36px;
  align-items: start;
}

.manifesto-title {
  margin: 0 0 12px;
  font-size: 24px;
  color: var(--slate-900);
}

.manifesto-text {
  margin: 0;
  font-size: 14.5px;
  color: var(--slate-600);
  line-height: 1.75;
}

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

.pillar {
  background: var(--surface-page);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-sky);
  margin-bottom: 8px;
}

.pillar h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  color: var(--slate-900);
}

.pillar p {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Page Hero (Subpages) */
.page-hero {
  background: #fff;
  border-bottom: 1px solid var(--slate-200);
  padding: 36px 0 32px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--slate-600);
}

.page-title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.28;
  color: var(--slate-900);
}

.page-lead {
  margin: 0;
  font-size: 15.5px;
  color: var(--slate-600);
  max-width: 760px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.filter-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--slate-300);
  background: #fff;
  color: var(--slate-700);
  font-size: 13.5px;
  font-weight: 500;
}

.filter-pill:hover,
.filter-pill.is-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

/* Article Page */
.article-header {
  background: #fff;
  border-bottom: 1px solid var(--slate-200);
  padding: 34px 0 30px;
}

.article-title {
  margin: 0 0 12px;
  font-size: 31px;
  line-height: 1.3;
  color: var(--slate-900);
}

.article-subtitle {
  margin: 0 0 14px;
  font-size: 16.5px;
  color: var(--slate-600);
  line-height: 1.6;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--slate-500);
  margin-bottom: 22px;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: var(--surface-page);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
}

.spec-k {
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.spec-v {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 56px;
  align-items: start;
}

.article-main {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.article-cover {
  margin: 0 0 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.compliance-callout {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--accent-amber);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 24px;
}

.callout-title {
  font-size: 14px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 4px;
}

.compliance-callout p {
  margin: 0;
  font-size: 14px;
  color: #78350f;
}

.article-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--slate-800);
}

.article-content h2 {
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-tint);
  font-size: 21px;
  color: var(--slate-900);
  scroll-margin-top: 90px;
}

.article-content h3 {
  margin: 22px 0 10px;
  font-size: 17.5px;
  color: var(--brand-deep);
}

.article-content p {
  margin: 0 0 16px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content .tip-box {
  background: var(--brand-tint);
  border-left: 4px solid var(--brand-primary);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  font-size: 14.5px;
  color: var(--slate-800);
}

.article-content .warn-box {
  background: #fef2f2;
  border-left: 4px solid #b91c1c;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  font-size: 14.5px;
  color: #7f1d1d;
}

.article-tool-cta {
  margin-top: 32px;
  padding: 20px 22px;
  background: var(--slate-900);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.article-tool-cta p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: #cbd5e1;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}

.side-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.side-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--slate-100);
}

.toc-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list a {
  color: var(--slate-700);
}

.toc-list a:hover {
  color: var(--brand-primary);
}

.side-tool-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
}

.side-tool-links li {
  margin-bottom: 9px;
}

.side-tool-links li:last-child {
  margin-bottom: 0;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-item {
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-100);
}

.related-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.related-tag {
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 3px;
}

.related-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.45;
}

.related-item:hover .related-title {
  color: var(--brand-primary);
}

/* Tools Page */
.tool-panel {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.tool-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-100);
}

.preset-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-btn,
.btn-sm {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-300);
  background: var(--surface-page);
  color: var(--slate-800);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.preset-btn:hover,
.btn-sm:hover {
  border-color: var(--brand-primary);
  background: var(--brand-tint);
  color: var(--brand-deep);
}

.btn-sm-ghost {
  background: #fff;
  color: var(--slate-600);
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}

.form-row {
  margin-bottom: 15px;
}

.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.checklist-controls select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--slate-900);
  background: #fff;
}

.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--brand-sky);
  box-shadow: 0 0 0 3px rgba(40, 154, 214, 0.14);
}

.form-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calc-result {
  background: linear-gradient(155deg, #0b2239 0%, #113b64 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
}

.res-label {
  font-size: 13px;
  color: #bae6fd;
}

.res-total {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  margin: 6px 0 4px;
  color: #fff;
}

.res-per {
  font-size: 14px;
  color: #e0f2fe;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 16px;
}

.res-breakdown {
  margin: 0 0 16px;
}

.res-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

.res-breakdown dt {
  color: #cbd5e1;
}

.res-breakdown dd {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #fff;
}

.res-note {
  margin: 0;
  font-size: 12.5px;
  color: #bae6fd;
  line-height: 1.6;
}

.checklist-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.checklist-controls select {
  width: auto;
  min-width: 210px;
  padding: 7px 12px;
  font-size: 13.5px;
}

.checklist-progress-bar {
  margin-bottom: 20px;
}

.progress-text {
  font-size: 13.5px;
  color: var(--slate-600);
  margin-bottom: 8px;
}

.progress-track {
  height: 8px;
  background: var(--slate-100);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-sky));
  transition: width 0.25s ease;
}

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

.check-group {
  background: var(--surface-page);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px;
}

.check-group.is-hidden {
  display: none;
}

.check-group h3 {
  margin: 0 0 12px;
  font-size: 15.5px;
  color: var(--slate-900);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--slate-700);
  cursor: pointer;
}

.check-item input[type="checkbox"] {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
}

.check-item.is-checked span {
  text-decoration: line-through;
  color: var(--slate-500);
}

/* About & Search & 404 */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  gap: 32px;
  align-items: start;
}

.about-main {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}

.about-main h2 {
  margin: 0 0 12px;
  font-size: 21px;
  color: var(--slate-900);
}

.about-main h2:not(:first-child) {
  margin-top: 28px;
}

.about-main p {
  margin: 0 0 14px;
  color: var(--slate-700);
  line-height: 1.8;
}

.about-list {
  padding-left: 20px;
  color: var(--slate-700);
}

.about-list li {
  margin-bottom: 10px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  padding: 0 0 14px 16px;
  border-left: 2px solid var(--brand-sky);
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
}

.timeline strong {
  display: block;
  font-size: 14px;
  color: var(--slate-900);
}

.timeline span {
  font-size: 13px;
  color: var(--slate-600);
}

.side-text {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate-600);
  line-height: 1.7;
}

.search-big-form {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  max-width: 680px;
}

.search-big-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
}

.search-count {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--slate-600);
}

.empty-box {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px;
  color: var(--slate-600);
}

.inline-tag {
  display: inline-block;
  margin: 4px 6px 4px 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-size: 13.5px;
  font-weight: 500;
}

.notfound-box {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.notfound-code {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 12px;
}

.notfound-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}

.notfound-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-100);
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: var(--slate-950);
  color: #cbd5e1;
  margin-top: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1fr 1.15fr;
  gap: 32px;
  padding-top: 46px;
  padding-bottom: 40px;
}

.footer-brand-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-coords {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #7dd3fc;
}

.footer-col-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #fff;
}

.footer-notice {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 13px;
  color: #94a3b8;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  text-align: center;
}

.footer-bottom a {
  color: #cbd5e1;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-sep {
  opacity: 0.4;
}

/* Responsive Breakpoints (Tablet & 375px Mobile) */
@media (max-width: 1024px) {
  .hero-grid,
  .tools-promo,
  .split-grid,
  .manifesto-box,
  .article-layout,
  .calc-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spec-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-sidebar {
    position: static;
  }
  .header-search input {
    width: 120px;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--slate-200);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .header-search {
    display: none;
  }
  .announce-meta {
    display: none;
  }
  .tools-promo-cards,
  .manifesto-pillars,
  .checklist-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .brand-logo {
    height: 38px;
  }
  .hero-section {
    padding: 40px 0 44px;
  }
  .hero-title {
    font-size: 27px;
  }
  .section {
    padding: 36px 0;
  }
  .section-title {
    font-size: 21px;
  }
  .card-grid,
  .form-two,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .horizontal-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .tools-promo,
  .tool-panel,
  .article-main,
  .about-main {
    padding: 20px 16px;
  }
  .article-title {
    font-size: 23px;
  }
  .spec-strip {
    grid-template-columns: minmax(0, 1fr);
  }
  .search-big-form {
    flex-direction: column;
  }
  .checklist-controls select {
    width: 100%;
    min-width: 0;
  }
  .res-total {
    font-size: 30px;
  }
}
