:root {
  --paper: #fbfbf7;
  --surface: #fff;
  --surface-2: #eef4f1;
  --ink: #18201f;
  --muted: #60706d;
  --line: #d9dfdc;
  --teal: #1f746c;
  --teal-dark: #16554f;
  --coral: #c85e46;
  --gold: #ad7a1d;
  --blue: #3c6692;
  --radius: 8px;
  --shadow: 0 16px 42px rgba(18, 29, 27, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
p { margin-top: 0; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 247, 0.94);
  backdrop-filter: blur(14px);
}
.topbar-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; }
.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: white;
  font-size: 0.82rem;
}
.topnav { display: flex; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
.topnav a {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}
.topnav a:hover,
.topnav a.is-active { background: var(--surface-2); color: var(--ink); }
.channel-nav { justify-content: flex-start; }
.hero { padding: 42px 0 34px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr); gap: 26px; align-items: start; }
.hero-grid.wide-left { grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr); }
.breadcrumb { margin-bottom: 18px; color: var(--muted); font-size: 0.9rem; }
h1 { max-width: 760px; margin: 0 0 14px; font-size: 4rem; line-height: 1.04; font-weight: 780; }
h2 { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.2; }
h3 { margin: 0 0 8px; font-size: 1.06rem; line-height: 1.25; }
.lead { max-width: 760px; margin-bottom: 22px; color: #465250; font-size: 1.08rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: #40504d;
  font-size: 0.86rem;
}
.section { padding: 38px 0; border-bottom: 1px solid var(--line); }
.muted-band { background: #f2f6f4; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-title p { max-width: 560px; margin-bottom: 0; color: var(--muted); }
.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card,
.hero-note,
.visual-panel,
.result-card,
.decisioner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card { padding: 18px; min-height: 170px; }
.card-kicker { margin-bottom: 8px; color: var(--teal-dark); font-size: 0.78rem; font-weight: 760; text-transform: uppercase; }
.card p { color: var(--muted); }
.category-card h3 a:hover,
.card h3 a:hover { color: var(--teal-dark); }
.metric-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.three-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-row span {
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8faf8;
  font-weight: 720;
}
.metric-row small { display: block; color: var(--muted); font-weight: 520; font-size: 0.76rem; }
.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--teal-dark);
  font-weight: 720;
  background: #fff;
}
.button-link:hover { border-color: var(--teal); background: #e4f1ed; }
.hero-note { padding: 20px; }
.hash-line { overflow-wrap: anywhere; font-size: 0.82rem; }
.visual-panel { min-height: 290px; padding: 22px; background: linear-gradient(135deg, rgba(31,116,108,0.13), transparent 42%), #eef4f1; }
.signal-map { height: 240px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.signal-map span {
  display: grid;
  place-items: center;
  border: 2px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 760;
}
.compact-list { margin: 0; padding-left: 18px; color: var(--muted); }
.compact-list li { margin: 6px 0; }
.result-card { margin-top: 22px; padding: 22px; }
.price-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.price-main { font-size: 2.5rem; line-height: 1; font-weight: 800; }
.price-sub { color: var(--muted); }
.decisioner { padding: 20px; box-shadow: none; }
.question { margin-top: 18px; }
.question-title { display: block; margin-bottom: 9px; font-weight: 720; }
.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.option {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #263230;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.option.is-selected { border-color: var(--teal); background: #e4f1ed; color: var(--teal-dark); font-weight: 720; }
.factor-card { min-height: 150px; }
.stacked-links { display: flex; flex-wrap: wrap; gap: 8px; }
.snapshot-details { display: grid; gap: 10px; margin: 0; }
.snapshot-details div { display: grid; gap: 3px; }
.snapshot-details dt { color: var(--muted); font-size: 0.78rem; font-weight: 720; text-transform: uppercase; }
.snapshot-details dd { margin: 0; overflow-wrap: anywhere; }
.footer { padding: 26px 0 42px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 20px; }
.footer p { margin-bottom: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.footer-links a { color: var(--teal-dark); }
@media (max-width: 960px) {
  .topbar-inner { grid-template-columns: 1fr; padding: 12px 0; }
  .topnav, .channel-nav { justify-content: flex-start; }
  .hero-grid, .hero-grid.wide-left, .grid.four, .grid.three { grid-template-columns: 1fr; }
  h1 { font-size: 3rem; }
}
@media (max-width: 680px) {
  .wrap, .topbar-inner { width: min(100% - 24px, 1180px); }
  h1 { font-size: 2.35rem; }
  .grid.two, .metric-row, .three-metrics, .segmented, .footer-grid { grid-template-columns: 1fr; }
  .section-title { display: block; }
  .section-title p { margin-top: 8px; }
  .price-main { font-size: 2rem; }
}
