:root {
  color-scheme: light;
  --accent: #14b8a6;
  --accent-dark: #0d9488;
  --accent-deeper: #0f766e;
  --accent-soft: #ccfbf1;
  --accent-wash: #f0fdfa;
  --text: #111827;
  --text-soft: #4b5563;
  --text-muted: #6b7280;
  --border: rgba(226, 232, 240, 0.9);
  --card: rgba(255, 255, 255, 0.78);
  --card-solid: #ffffff;
  --bg: #f9fafb;
  --shadow: 0 20px 48px -36px rgba(15, 23, 42, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 88% 4%, rgba(45, 212, 191, 0.28), transparent 28rem),
    linear-gradient(rgba(20, 184, 166, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.055) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 64px 64px, 64px 64px, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  letter-spacing: 0;
}

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

h1,
h2,
h3,
h4,
p,
dl,
dd,
ol,
ul {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(72px, 1fr);
  align-items: center;
  min-height: 68px;
  padding: 0 clamp(20px, 5vw, 84px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.58);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-width: max-content;
  font-size: 16px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px -22px rgba(15, 23, 42, 0.5);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(226, 232, 240, 0.75);
  border-radius: 14px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  border-radius: 10px;
  padding: 8px 12px;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--accent-deeper);
  background: var(--accent-wash);
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  border-radius: 999px;
  padding: 7px 14px;
  color: #fff;
  background: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
}

.header-action:hover {
  background: var(--accent-deeper);
}

.nav-toggle {
  display: none;
}

.section-shell {
  width: min(1152px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 72px 0;
}

.subpage-hero {
  min-height: 560px;
}

.subpage-hero h1 {
  font-size: clamp(42px, 4.4vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 20px;
  border: 1px solid rgba(153, 246, 228, 0.9);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--accent-deeper);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.spark {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.12);
}

h1 {
  max-width: 680px;
  font-size: clamp(44px, 5.2vw, 64px);
  line-height: 1.04;
}

.lead {
  max-width: 650px;
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.78;
}

.notice-line {
  width: fit-content;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  box-shadow: 0 14px 28px -18px rgba(20, 184, 166, 0.8);
}

.btn-secondary {
  border-color: var(--border);
  color: #374151;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.hero-panel,
.surface-panel {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.panel-label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.panel-top h2 {
  font-size: 24px;
  line-height: 1.25;
}

.status-badge {
  height: 32px;
  border-radius: 999px;
  padding: 7px 12px;
  color: #047857;
  background: #d1fae5;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.compare-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 22px;
}

.compare-summary > div {
  min-height: 142px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: rgba(249, 250, 251, 0.78);
}

.compare-summary > div.compare-highlight {
  border-color: rgba(20, 184, 166, 0.38);
  background: var(--accent-wash);
}

.compare-summary span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.compare-summary strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 30px;
}

.compare-highlight strong {
  color: var(--accent-deeper);
}

.compare-summary strong small {
  margin-left: 3px;
  color: var(--text-muted);
  font-size: 12px;
}

.compare-summary p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.5;
}

.compare-arrow {
  color: var(--accent-dark) !important;
  font-size: 18px !important;
}

.equivalent-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text-soft);
  background: var(--accent-soft);
  font-size: 12px;
}

.equivalent-line strong {
  color: var(--accent-deeper);
  font-size: 15px;
}

.panel-footnote {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.6;
}

.panel-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.panel-list article {
  display: flex;
  gap: 12px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 14px;
  padding: 14px;
  background: rgba(249, 250, 251, 0.75);
}

.icon-box,
.card-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(153, 246, 228, 0.85);
  border-radius: 12px;
  color: var(--accent-dark);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.panel-list h3,
.link-card h3,
.timeline h3 {
  margin-bottom: 5px;
  font-size: 16px;
}

.panel-list p,
.link-card p,
.timeline p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.stats,
.radar-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.stats div + div,
.radar-stats div + div {
  border-left: 1px solid var(--border);
  padding-left: 24px;
}

.stats strong,
.radar-stats strong {
  display: block;
  color: var(--accent-dark);
  font-size: 30px;
  line-height: 1;
}

.stats span,
.radar-stats span {
  display: block;
  margin-top: 10px;
  font-weight: 800;
}

.stats p,
.radar-stats p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.content-section,
.split-section,
.cta-section {
  padding: 96px 0 0;
}

.compact-section {
  padding-top: 72px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading .eyebrow,
.cta-section .eyebrow {
  margin-bottom: 14px;
}

.section-heading h2,
.cta-section h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.18;
}

.section-heading p:not(.eyebrow),
.cta-section > p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--text-soft);
  line-height: 1.78;
}

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

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 455px;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(14px);
}

.featured-plan {
  border-color: rgba(20, 184, 166, 0.62);
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.97), rgba(255, 255, 255, 0.84));
  box-shadow: 0 22px 50px -36px rgba(20, 184, 166, 0.72);
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--accent-deeper);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
}

.plan-head {
  padding-right: 52px;
}

.plan-name {
  display: block;
  font-size: 20px;
  font-weight: 900;
}

.plan-head p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
}

.equivalent-badge {
  width: fit-content;
  margin-top: 18px;
  border: 1px solid rgba(153, 246, 228, 0.9);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--accent-deeper);
  background: var(--accent-wash);
  font-size: 11px;
  font-weight: 800;
}

.price {
  margin-top: 24px;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.price span {
  margin-right: 2px;
  font-size: 20px;
}

.price small {
  margin-left: 4px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.plan-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.plan-card .btn {
  width: 100%;
  margin-top: auto;
}

.plan-note {
  max-width: 900px;
  margin: 18px auto 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
}

.comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 14px;
}

.comparison-table thead th {
  color: var(--accent-deeper);
  background: var(--accent-wash);
  font-size: 13px;
}

.comparison-table tbody th {
  width: 25%;
  color: var(--text);
}

.comparison-table td:last-child {
  background: rgba(240, 253, 250, 0.48);
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.source-note {
  display: block;
  width: fit-content;
  margin: 16px auto 0;
  color: var(--accent-deeper);
  font-size: 13px;
  font-weight: 700;
}

.portal-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.link-card {
  min-height: 210px;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(14px);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.42);
  box-shadow: var(--shadow);
}

.link-card h3 {
  margin-top: 24px;
  font-size: 18px;
}

.primary-card {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deeper));
}

.primary-card p {
  color: rgba(255, 255, 255, 0.84);
}

.primary-card .card-icon {
  color: var(--accent-deeper);
  border-color: rgba(255, 255, 255, 0.5);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.align-left {
  margin: 0;
  text-align: left;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.timeline > article > span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: var(--accent-dark);
  background: var(--accent-wash);
  font-weight: 900;
}

.cta-section {
  margin-top: 100px;
  padding: 64px 24px;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.cta-section > p:not(.eyebrow) {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.center-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: min(1152px, calc(100% - 40px));
  margin: 72px auto 0;
  padding: 32px 0 42px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.compact {
  color: var(--text);
}

.site-footer p {
  max-width: 480px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-content: start;
  justify-content: flex-end;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

/* Shared documentation page components */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card,
.method-card,
.resource-card,
.radar-panel,
.news-item,
.faq-item,
.install-shell,
.source-policy {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(14px);
}

.step-card,
.method-card {
  min-height: 240px;
  padding: 24px;
}

.step-number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: var(--accent-deeper);
  background: var(--accent-soft);
  font-weight: 900;
}

.step-card h3,
.method-card h3 {
  margin-top: 28px;
  font-size: 19px;
}

.step-card p,
.method-card p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.step-card a,
.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent-deeper);
  font-size: 13px;
  font-weight: 800;
}

.install-shell {
  overflow: hidden;
}

.install-tabs {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(240, 253, 250, 0.7);
}

.install-tabs button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 8px 14px;
  color: var(--text-soft);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.install-tabs button:hover,
.install-tabs button[aria-selected="true"] {
  border-color: rgba(153, 246, 228, 0.9);
  color: var(--accent-deeper);
  background: #fff;
}

.tab-panel {
  display: none;
  padding: 28px;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel h3 {
  font-size: 24px;
}

.tab-panel > p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.code-block {
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 14px;
  background: #0f172a;
}

.code-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 10px 9px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 11px;
}

.copy-button {
  min-width: 64px;
  min-height: 30px;
  border: 1px solid rgba(153, 246, 228, 0.32);
  border-radius: 8px;
  color: #d1fae5;
  background: rgba(20, 184, 166, 0.14);
  font-size: 11px;
  cursor: pointer;
}

.copy-button:hover,
.copy-button.is-copied {
  color: var(--accent-deeper);
  background: var(--accent-soft);
}

.code-block pre {
  overflow-x: auto;
  margin: 0;
  padding: 20px;
  color: #ccfbf1;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
}

.tip-box {
  margin-top: 16px;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  color: var(--accent-deeper);
  background: var(--accent-wash);
  font-size: 13px;
  line-height: 1.7;
}

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

.faq-item {
  padding: 0 20px;
}

.faq-item button {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-item button span:last-child {
  color: var(--accent-dark);
  font-size: 20px;
  text-align: center;
}

.faq-answer {
  display: none;
  padding: 0 44px 20px 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--text-soft);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: rgba(153, 246, 228, 0.9);
  color: var(--accent-deeper);
  background: var(--accent-soft);
}

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

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 22px;
}

.resource-card[hidden] {
  display: none;
}

.resource-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-size: 11px;
}

.resource-type {
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--accent-deeper);
  background: var(--accent-soft);
  font-weight: 800;
}

.resource-card h3 {
  margin-top: 28px;
  font-size: 19px;
  overflow-wrap: anywhere;
}

.resource-card > p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.resource-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.resource-tags span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--text-soft);
  background: #fff;
  font-size: 10px;
}

.resource-card .text-link {
  margin-top: auto;
  padding-top: 20px;
}

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

.method-card code {
  display: block;
  margin-top: 18px;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--accent-deeper);
  background: var(--accent-wash);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 1.65;
  white-space: normal;
}

.radar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
}

.radar-panel {
  padding: 24px;
}

.radar-panel h3 {
  font-size: 21px;
}

.radar-panel > p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.radar-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
}

.radar-table th,
.radar-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 13px;
}

.radar-table th {
  color: var(--text-muted);
  font-size: 11px;
}

.radar-table td:nth-child(2) {
  color: var(--accent-dark);
  font-weight: 800;
}

.trend-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.trend-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: rgba(249, 250, 251, 0.72);
}

.trend-item span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
}

.trend-item h4 {
  margin-top: 6px;
  font-size: 17px;
}

.trend-item p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

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

.news-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 20px;
}

.news-date {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.6;
}

.news-item h3 {
  font-size: 17px;
}

.news-item p {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
}

.news-source {
  border: 1px solid rgba(153, 246, 228, 0.9);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--accent-deeper);
  background: var(--accent-wash);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.source-policy {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 24px;
}

.source-policy strong {
  color: var(--accent-deeper);
}

.source-policy p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 460ms ease, transform 460ms ease;
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .js .delay-1 { transition-delay: 70ms; }
  .js .delay-2 { transition-delay: 140ms; }
  .js .delay-3 { transition-delay: 210ms; }
}

@media (max-width: 1000px) {
  .nav {
    font-size: 13px;
  }

  .nav a {
    padding-inline: 9px;
  }

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

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

@media (max-width: 850px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    padding: 0 20px;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: none;
    gap: 4px;
    padding: 10px;
    border-color: rgba(153, 246, 228, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 48px -26px rgba(15, 23, 42, 0.42);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    min-height: 42px;
    padding: 11px 12px;
  }

  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    background: #fff;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .subpage-hero {
    min-height: auto;
  }

  .stats,
  .radar-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stats div + div,
  .radar-stats div + div {
    border-left: 0;
    padding-left: 0;
  }

  .stats div,
  .radar-stats div {
    border-top: 1px solid var(--border);
    padding-top: 20px;
  }

  .stats div:first-child,
  .stats div:nth-child(2),
  .radar-stats div:first-child,
  .radar-stats div:nth-child(2) {
    border-top: 0;
    padding-top: 0;
  }

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

@media (max-width: 620px) {
  .section-shell,
  .site-footer {
    width: min(100% - 28px, 1152px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand {
    font-size: 15px;
  }

  .header-action {
    min-width: 44px;
    padding: 7px 12px;
  }

  .nav {
    right: 14px;
    left: 14px;
  }

  .hero {
    padding: 52px 0 46px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions,
  .center-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-panel,
  .surface-panel {
    padding: 22px;
  }

  .compare-summary {
    grid-template-columns: 1fr;
  }

  .compare-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .equivalent-line {
    display: grid;
  }

  .stats,
  .radar-stats,
  .pricing-grid,
  .portal-grid,
  .link-grid,
  .steps-grid,
  .resource-grid,
  .method-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .stats div:nth-child(2),
  .radar-stats div:nth-child(2) {
    border-top: 1px solid var(--border);
    padding-top: 20px;
  }

  .content-section,
  .split-section,
  .cta-section {
    padding-top: 72px;
  }

  .install-tabs {
    overflow-x: auto;
  }

  .install-tabs button {
    min-width: max-content;
  }

  .tab-panel {
    padding: 22px;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .news-item,
  .source-policy {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .news-source {
    width: fit-content;
  }

  .site-footer {
    display: block;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 24px;
  }
}

@media (max-width: 400px) {
  .header-action {
    display: none;
  }

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

  .panel-top {
    display: grid;
  }

  .status-badge {
    width: fit-content;
  }

  h1 {
    font-size: 38px;
  }
}
