:root {
  --bg: #f7f7f3;
  --bg-soft: #eef3ee;
  --surface: #ffffff;
  --surface-2: #f4f7f4;
  --line: #dde5de;
  --ink: #121714;
  --muted: #5d695f;
  --accent: #10a37f;
  --accent-dark: #0b7a61;
  --accent-soft: #e1f5ee;
  --shadow: 0 24px 60px rgba(18, 23, 20, 0.06);
  --shadow-soft: 0 12px 28px rgba(18, 23, 20, 0.04);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(16, 163, 127, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(16, 163, 127, 0.08), transparent 22%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 243, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18, 23, 20, 0.08);
}
.topbar-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #88e6cb);
  color: #08271f;
  box-shadow: 0 12px 30px rgba(16, 163, 127, 0.22);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
}
.nav-link:hover { background: var(--surface); color: var(--ink); }
.ghost-btn, .solid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.ghost-btn {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.solid-btn {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 14px 30px rgba(16, 163, 127, 0.22);
}
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, rgba(16, 163, 127, 0.04), transparent 100%);
  border-bottom: 1px solid rgba(18, 23, 20, 0.05);
}
.page-hero {
  padding: 60px 0 40px;
  text-align: left;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero-panel {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-panel, .page-hero {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.visual-panel {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}
.hero h1 {
  margin: 24px 0 20px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.page-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(36px, 5.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero-intro {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}
.page-lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
  margin: 0;
  max-width: 800px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  justify-content: center;
}
.page-hero .hero-actions {
  justify-content: flex-start;
}
.hero-metrics, .highlight-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.metric, .highlight {
  background: var(--surface-2);
  border: 1px solid rgba(18, 23, 20, 0.06);
  border-radius: 18px;
  padding: 18px;
}
.metric strong, .highlight strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}
.metric span, .highlight span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.visual-panel {
  padding: 18px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}
.visual-stack, .visual-side { display: grid; gap: 14px; }
.image-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface-2);
  min-height: 220px;
  border: 1px solid rgba(18, 23, 20, 0.06);
}
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.visual-note {
  background: linear-gradient(135deg, #111714, #15342e);
  color: white;
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}
.visual-note h2, .visual-note h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
}
.visual-note p {
  margin: 0;
  color: rgba(255,255,255,0.76);
  line-height: 1.8;
}
.main { padding-bottom: 80px; }
.section { margin-top: 26px; }
.section-shell {
  background: var(--surface);
  border: 1px solid rgba(18, 23, 20, 0.08);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}
.section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.section-head p {
  margin: 12px 0 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.85;
}
.portal-grid, .card-grid, .step-grid, .faq-grid, .pricing-grid, .article-grid, .gallery-grid, .link-grid {
  display: grid;
  gap: 16px;
}
.portal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-grid, .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr; }
.article-grid { grid-template-columns: 1.3fr 0.7fr; }
.link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-card, .card, .step-card, .pricing-card, .faq-card, .article-card, .side-card, .link-card {
  background: var(--surface);
  border: 1px solid rgba(18, 23, 20, 0.08);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.portal-card:hover, .card:hover, .step-card:hover, .link-card:hover, .side-card:hover { transform: translateY(-2px); transition: 0.2s ease; }
.tag {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.portal-card h3, .card h3, .step-card h3, .pricing-card h3, .faq-card h3, .article-card h3, .side-card h3, .link-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.3;
}
.portal-card p, .card p, .step-card p, .pricing-card p, .faq-card p, .article-card p, .side-card p, .link-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}
.step-card strong, .pricing-card strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  margin: 0 0 14px;
}
.pricing-card.featured {
  background: linear-gradient(180deg, #11352d, #0f2520);
  color: white;
  border-color: rgba(16, 163, 127, 0.2);
}
.pricing-card.featured p, .pricing-card.featured li { color: rgba(255,255,255,0.78); }
.pricing-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}
.timeline-list {
  display: grid;
  gap: 14px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.timeline-item:first-child { border-top: 0; padding-top: 0; }
.timeline-date {
  color: var(--accent-dark);
  font-weight: 700;
}
.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.stat-card {
  background: linear-gradient(180deg, #101513, #19211d);
  color: white;
  border-radius: var(--radius-lg);
  padding: 22px;
}
.stat-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-card span {
  display: block;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
}
.gallery-grid .image-card { min-height: 260px; }
.page-hero { padding-bottom: 34px; }
.page-main { margin-top: -8px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.article-stack, .side-stack {
  display: grid;
  gap: 16px;
}
.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}
.cta-box {
  background: linear-gradient(135deg, #111714, #14352e);
  color: white;
}
.cta-box p { color: rgba(255,255,255,0.78); }
.footer { padding: 0 0 36px; }
.footer-shell {
  background: #0f1311;
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}
.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(9, 12, 10, 0.55);
  z-index: 60;
  padding: 18px;
}
.modal.open { display: grid; }
.modal-panel {
  width: min(420px, 100%);
  background: var(--surface);
  border-radius: 28px;
  padding: 28px;
  position: relative;
  box-shadow: 0 30px 80px rgba(18, 23, 20, 0.18);
}
.modal-panel h3 {
  margin: 0 0 10px;
  font-size: 30px;
}
.modal-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}
.modal-panel img {
  width: min(220px, 70vw);
  margin: 22px auto;
  border-radius: 20px;
  border: 1px solid var(--line);
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
}
@media (max-width: 1100px) {
  .hero-grid, .portal-grid, .card-grid, .step-grid, .pricing-grid, .gallery-grid, .article-grid, .stats-bar, .highlight-grid, .hero-metrics { grid-template-columns: 1fr 1fr; }
  .visual-panel { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .topnav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(18, 23, 20, 0.08);
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-soft);
  }
  .topnav.open { display: flex; }
  .topnav a, .topnav button { width: 100%; justify-content: center; }
  .hero-panel, .visual-panel, .page-hero, .section-shell { padding: 24px; }
  .hero-grid, .portal-grid, .card-grid, .step-grid, .pricing-grid, .gallery-grid, .article-grid, .stats-bar, .timeline-item, .highlight-grid, .hero-metrics, .link-grid { grid-template-columns: 1fr; }
  .timeline-item { gap: 8px; }
  .hero { padding-top: 26px; }
  .hero h1, .page-hero h1 { font-size: 36px; }
  .section-head { display: block; }
}


/* --- New Tech Homepage Styles --- */
.tech-hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, rgba(16, 163, 127, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid rgba(18, 23, 20, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tech-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 20px 0 24px;
  color: #0d1210;
}
.tech-hero .hero-intro {
  font-size: 22px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 900px;
  margin: 0 auto 40px;
}
.hero-visual {
  margin-top: 60px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.1);
  border: 1px solid rgba(18, 23, 20, 0.08);
  background: var(--surface);
}
.hero-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid rgba(18, 23, 20, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-card h3 {
  font-size: 26px;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.feature-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 20px;
  font-size: 17px;
  flex-grow: 1;
}
.feature-card ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  font-size: 16px;
}
.feature-card ul li {
  margin-bottom: 10px;
}

.deep-section {
  padding: 120px 0;
  border-bottom: 1px solid rgba(18, 23, 20, 0.05);
}
.deep-section:nth-child(even) {
  background: var(--surface-2);
}
.deep-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 70px;
}
.deep-header h2 {
  font-size: clamp(38px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 20px 0;
  line-height: 1.2;
}
.deep-header p {
  font-size: 20px;
  line-height: 1.8;
  color: var(--muted);
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.content-text h3 {
  font-size: 36px;
  margin: 0 0 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.content-text p {
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 28px;
}
.content-text ul {
  padding-left: 20px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 32px;
}

.brand-logo {
  height: 36px;
  width: auto;
  border-radius: 8px;
  margin-right: 12px;
  object-fit: contain;
}

.tech-hero .eyebrow {
  background: rgba(16, 163, 127, 0.1);
  color: var(--accent-dark);
  font-size: 15px;
  padding: 6px 20px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .content-split { grid-template-columns: 1fr; gap: 50px; }
  .tech-hero { padding: 80px 0 60px; }
}
@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; }
  .deep-section { padding: 80px 0; }
}


/* --- Rich topic pages --- */
.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 10px;
}
.rich-page-main .section-shell {
  padding: 38px;
}
.page-hero.rich-hero {
  padding: 52px 0 44px;
}
.page-hero.rich-hero .page-lead {
  max-width: 920px;
}
.hero-note {
  margin-top: 22px;
  color: var(--muted);
  max-width: 920px;
  line-height: 1.9;
  font-size: 16px;
}
.highlight-grid.quad-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.topic-card {
  background: var(--surface);
  border: 1px solid rgba(18, 23, 20, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.topic-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.25;
}
.topic-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}
.deep-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.deep-copy {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,248,245,0.98));
  border: 1px solid rgba(18, 23, 20, 0.08);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.deep-copy h3,
.reading-cluster h3 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.2;
}
.deep-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.95;
  font-size: 16px;
}
.reading-cluster {
  background: #0f1311;
  color: white;
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 18px 42px rgba(18, 23, 20, 0.16);
}
.reading-cluster p,
.reading-cluster li {
  color: rgba(255,255,255,0.76);
  line-height: 1.9;
}
.reading-cluster ul {
  margin: 0;
  padding-left: 18px;
}
.smart-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.smart-link {
  display: block;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(18, 23, 20, 0.08);
  box-shadow: var(--shadow-soft);
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.toc-link {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(18, 23, 20, 0.08);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--text);
}

.toc-link span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 900;
  letter-spacing: 0.2px;
}

.toc-link strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
  margin-top: 2px;
}

.toc-link em {
  display: block;
  font-style: normal;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.toc-link:hover {
  transform: translateY(-1px);
  transition: 0.18s ease;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(18, 23, 20, 0.08);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(18, 23, 20, 0.08);
  text-align: left;
  vertical-align: top;
  line-height: 1.75;
}

.compare-table thead th {
  background: #f4f7f4;
  color: var(--accent-dark);
  font-size: 13px;
  letter-spacing: 0.3px;
  font-weight: 900;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table td:first-child {
  font-weight: 900;
  color: var(--accent-dark);
  width: 180px;
}

@media (max-width: 1024px) {
  .long-article .article-grid { grid-template-columns: 1fr; }
  .long-article .toc-grid { grid-template-columns: 1fr; }
  .long-article .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .long-article .card-grid,
  .long-article .step-grid,
  .long-article .pricing-grid {
    grid-template-columns: 1fr;
  }
  .compare-table { min-width: 720px; }
}
.smart-link h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.3;
}
.smart-link p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}
.smart-link span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.mini-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.mini-map .highlight {
  min-height: 100%;
}
.footer-mega {
  padding-top: 50px;
}
.mega-footer-shell {
  padding: 42px;
  align-items: flex-start;
  background: #0c110e;
  gap: 34px;
}
.footer-brand-block {
  max-width: 440px;
}
.footer-brand {
  color: white;
  margin-bottom: 18px;
}
.footer-brand-logo {
  filter: brightness(0) invert(1);
}
.footer-brand-block p {
  margin: 0;
  color: rgba(255,255,255,0.68);
  line-height: 1.95;
}
.footer-cta-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-columns {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.footer-column {
  display: grid;
  gap: 12px;
  align-content: start;
}
.footer-column strong {
  color: white;
  font-size: 16px;
}
.footer-column a {
  color: rgba(255,255,255,0.72);
}
.footer-bottom-note {
  text-align: center;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 1100px) {
  .highlight-grid.quad-grid,
  .topic-grid,
  .smart-links,
  .mini-map,
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .deep-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .page-hero.rich-hero {
    padding: 36px 0 24px;
  }
  .highlight-grid.quad-grid,
  .topic-grid,
  .smart-links,
  .mini-map,
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .rich-page-main .section-shell,
  .deep-copy,
  .reading-cluster,
  .mega-footer-shell {
    padding: 24px;
  }
}


/* --- Footer and nav refresh --- */
.topnav {
  gap: 10px;
}
.topnav .solid-btn {
  min-height: 42px;
  padding: 0 18px;
}
.footer {
  padding: 56px 0 0;
}
.footer-mega {
  width: 100%;
  max-width: none;
  margin: 56px 0 0;
  padding: 0;
  background: linear-gradient(180deg, #f6faf7 0%, #edf5ef 100%);
  border-top: 1px solid rgba(16, 163, 127, 0.08);
}
.mega-footer-shell {
  padding: 42px 0;
  align-items: flex-start;
  gap: 34px;
  background: transparent;
}
.footer-brand {
  color: var(--ink);
}
.footer-brand-logo {
  filter: none;
}
.footer-brand-block p {
  color: var(--muted);
}
.footer-column strong {
  color: var(--ink);
}
.footer-column a {
  color: var(--muted);
}
.footer-column a:hover {
  color: var(--ink);
}
.footer-bottom-note {
  padding: 18px 16px 28px;
  margin-top: 0;
  border-top: 1px solid rgba(18, 23, 20, 0.06);
}
