:root {
  --gh-navy: #071b39;
  --gh-ink: #102642;
  --gh-blue: #0d6efd;
  --gh-blue-strong: #075fc9;
  --gh-blue-soft: #edf5ff;
  --gh-coral: #ff7e6e;
  --gh-green: #087652;
  --gh-green-soft: #e8f8f0;
  --gh-yellow: #fff5c7;
  --gh-muted: #62748e;
  --gh-line: #dbe5ef;
  --gh-canvas: #f4f6f8;
  --gh-radius-sm: 14px;
  --gh-radius-md: 22px;
  --gh-radius-lg: 32px;
  --gh-shadow: 0 20px 55px rgb(7 27 57 / 8%);
  --gh-content: min(1180px, calc(100vw - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--gh-ink);
  background:
    radial-gradient(circle at 100% 8%, rgb(39 148 255 / 9%), transparent 25%),
    radial-gradient(circle at 0 18%, rgb(255 126 110 / 7%), transparent 24%),
    var(--gh-canvas);
  font-family: Inter, "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
}
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid rgb(13 110 253 / 28%); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 1200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--gh-navy);
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

main {
  width: var(--gh-content);
  min-width: 0;
  margin: 0 auto;
}

.breadcrumbs {
  margin: 8px 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #76849a;
  font-size: 12px;
}
.breadcrumbs a { text-underline-offset: 3px; }
.breadcrumbs a:hover { color: var(--gh-blue-strong); }
.breadcrumbs span[aria-hidden="true"] { color: #aeb9c7; }

.hero {
  min-height: 500px;
  margin: 0 0 30px;
  padding: clamp(36px, 5.5vw, 68px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, .84fr);
  align-items: center;
  gap: clamp(38px, 7vw, 90px);
  overflow: hidden;
  background: linear-gradient(110deg, rgb(255 246 243 / 96%), rgb(241 247 255 / 96%)), #fff;
  border: 1px solid var(--gh-line);
  border-radius: var(--gh-radius-lg);
  box-shadow: var(--gh-shadow);
}
.hero::before {
  content: "";
  position: absolute;
  top: -130px;
  right: -90px;
  width: 420px;
  height: 420px;
  border: 1px solid rgb(13 110 253 / 10%);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  right: 11%;
  bottom: -120px;
  width: 250px;
  height: 250px;
  background: rgb(39 148 255 / 7%);
  border-radius: 50%;
}
.hero-copy, .paint-visual { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 13px;
  color: var(--gh-blue-strong);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--gh-navy);
  font-size: clamp(46px, 5.8vw, 72px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: .99;
}
.lead {
  max-width: 710px;
  margin: 25px 0 0;
  color: #5b6980;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
}
.article-meta {
  margin: 22px 0 0;
  color: var(--gh-blue-strong);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .07em;
}
.hero-link {
  min-height: 50px;
  margin-top: 27px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: linear-gradient(120deg, #0869d8, #2998ff);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgb(13 110 253 / 22%);
  font-weight: 800;
  text-decoration: none;
}
.hero-link:hover { filter: brightness(.97); transform: translateY(-1px); }

.paint-visual {
  min-height: 330px;
  border: 1px solid rgb(13 110 253 / 13%);
  border-radius: 28px;
  background: rgb(255 255 255 / 72%);
  box-shadow: 0 22px 50px rgb(7 27 57 / 10%);
}
.paint-visual::before {
  content: "7 ШАГОВ · ВАШ РАСЧЁТ";
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--gh-blue-strong);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}
.paint-visual > p {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  margin: 0;
  color: var(--gh-muted);
  font-size: 12px;
  text-align: center;
}
.paint-wall {
  position: absolute;
  top: 74px;
  right: 42px;
  width: 246px;
  height: 168px;
  overflow: hidden;
  background: #eaf1f8;
  border: 1px solid #d4e1ee;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgb(7 27 57 / 13%);
  transform: rotate(2deg);
}
.paint-wall::before { content: ""; position: absolute; inset: 0 47% 0 0; background: var(--gh-coral); }
.paint-wall span {
  position: absolute;
  top: 37px;
  left: 97px;
  width: 76px;
  height: 100px;
  background: var(--gh-coral);
  border-radius: 18px 18px 5px 5px;
  transform: rotate(7deg);
}
.roller {
  position: absolute;
  top: 96px;
  left: 44px;
  width: 136px;
  height: 52px;
  background: #ffd890;
  border: 7px solid var(--gh-navy);
  border-radius: 12px;
  transform: rotate(-18deg);
  box-shadow: 0 12px 24px rgb(7 27 57 / 18%);
}
.roller::after {
  content: "";
  position: absolute;
  right: -23px;
  bottom: -67px;
  width: 9px;
  height: 82px;
  background: var(--gh-navy);
  transform: rotate(-12deg);
  transform-origin: top;
}
.roller span {
  position: absolute;
  right: -46px;
  bottom: -112px;
  width: 22px;
  height: 67px;
  background: var(--gh-blue);
  border-radius: 7px;
  transform: rotate(-12deg);
}
.paint-can {
  position: absolute;
  right: 54px;
  bottom: 52px;
  width: 104px;
  height: 94px;
  display: grid;
  place-items: center;
  color: var(--gh-navy);
  background: #fff;
  border: 4px solid var(--gh-navy);
  border-radius: 7px 7px 14px 14px;
  box-shadow: 0 16px 32px rgb(7 27 57 / 18%);
}
.paint-can::before {
  content: "";
  position: absolute;
  top: -12px;
  width: 78px;
  height: 15px;
  border: 4px solid var(--gh-navy);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}
.paint-can span {
  padding: 5px 12px;
  color: #fff;
  background: var(--gh-coral);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.journey-intro {
  margin: 76px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
  gap: 48px;
  align-items: end;
}
.journey-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -30px; }
.journey-intro h2 {
  margin: 0;
  color: var(--gh-navy);
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.journey-intro > p:last-child { margin: 0; color: var(--gh-muted); font-size: 18px; }

.journey-shell {
  margin: 0 0 54px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(34px, 5.5vw, 74px);
  align-items: start;
}
.journey-progress {
  min-width: 0;
  position: sticky;
  top: var(--gh-header-offset, 96px);
  padding: 22px;
  color: var(--gh-muted);
  background: rgb(255 255 255 / 92%);
  border: 1px solid var(--gh-line);
  border-radius: var(--gh-radius-md);
  box-shadow: 0 14px 36px rgb(7 27 57 / 7%);
  backdrop-filter: blur(14px);
}
.journey-progress > p:first-child { margin: 0; color: var(--gh-navy); font-size: 13px; font-weight: 850; }
.progress-track { height: 5px; margin: 12px 0 18px; overflow: hidden; background: #e2e9f0; border-radius: 999px; }
.progress-track span { width: 0; height: 100%; display: block; background: linear-gradient(90deg, var(--gh-blue-strong), #2998ff); border-radius: inherit; transition: width .25s ease; }
.journey-progress ol { margin: 0; padding: 0; display: grid; gap: 5px; list-style: none; }
.journey-progress li { border-radius: 11px; font-size: 13px; }
.journey-progress li > a { position: relative; min-height: 38px; padding: 8px 7px 8px 35px; display: block; color: inherit; border-radius: inherit; text-decoration: none; }
.journey-progress .progress-marker { position: absolute; top: 8px; left: 7px; width: 22px; height: 22px; display: grid; place-items: center; color: #738199; background: #edf1f5; border-radius: 50%; font-size: 10px; font-weight: 850; }
.journey-progress li > a:hover { background: rgb(13 110 253 / 7%); }
.journey-progress li > a:focus-visible { outline: 3px solid rgb(13 110 253 / 30%); outline-offset: 2px; }
.journey-progress li.is-current { color: var(--gh-blue-strong); background: var(--gh-blue-soft); font-weight: 800; }
.journey-progress li.is-current .progress-marker { color: #fff; background: var(--gh-blue); }
.journey-progress li.is-complete { color: var(--gh-green); }
.journey-progress li.is-complete .progress-marker { color: transparent; background: var(--gh-green); }
.journey-progress li.is-complete .progress-marker::after { content: ""; position: absolute; top: 50%; left: 50%; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: translate(-50%, -62%) rotate(45deg); }
.journey-progress .progress-result { --result-progress-hue: 5; margin-top: 9px; color: hsl(var(--result-progress-hue) 63% 31%); background: hsl(var(--result-progress-hue) 84% 96%); border: 1px solid hsl(var(--result-progress-hue) 67% 78%); box-shadow: 0 5px 16px hsl(var(--result-progress-hue) 65% 42% / 10%); font-weight: 850; transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.journey-progress .progress-result > a { min-height: 52px; padding-top: 7px; padding-bottom: 7px; display: flex; align-items: center; }
.journey-progress .progress-result .progress-marker { top: 50%; color: #fff; background: hsl(var(--result-progress-hue) 70% 43%); transform: translateY(-50%); transition: background-color .25s ease; }
.journey-progress .progress-result.is-complete .progress-marker { color: #fff; background: var(--gh-green); }
.journey-progress .progress-result.is-complete .progress-marker::after { content: none; }
.progress-result-copy { display: grid; gap: 1px; line-height: 1.2; }
.progress-result-copy small { color: inherit; font-size: 10px; font-weight: 650; opacity: .76; }
.progress-note { margin: 18px 0 0; font-size: 12px; line-height: 1.5; }
.journey-content { min-width: 0; }

.learning-step {
  position: relative;
  margin: 0 0 22px;
  padding: clamp(26px, 4vw, 40px);
  background: rgb(255 255 255 / 96%);
  border: 1px solid var(--gh-line);
  border-radius: 26px;
  box-shadow: 0 14px 38px rgb(7 27 57 / 6%);
  transition: opacity .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.learning-step::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 4px;
  opacity: 0;
  background: var(--gh-blue);
  border-radius: 0 4px 4px 0;
}
.learning-step.is-current { border-color: #8fc4fb; box-shadow: 0 20px 48px rgb(13 110 253 / 10%); }
.learning-step.is-current::before { opacity: 1; }
.learning-step.is-locked { opacity: .54; }
.learning-step.is-locked .question-card { filter: grayscale(.25); }
.learning-step.is-complete .step-heading > span { color: transparent; background: var(--gh-green); }
.learning-step.is-complete .step-heading > span::after { content: "✓"; color: #fff; position: absolute; }
.step-heading { margin-bottom: 20px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.step-heading > span { position: relative; width: 40px; height: 40px; display: grid; place-items: center; color: var(--gh-blue-strong); background: var(--gh-blue-soft); border-radius: 50%; font-size: 11px; font-weight: 850; letter-spacing: .05em; }
.step-heading p { margin: 1px 0 5px; color: var(--gh-blue-strong); font-size: 11px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.step-heading h2 { margin: 0; color: var(--gh-navy); font-size: clamp(31px, 3.4vw, 44px); font-weight: 850; letter-spacing: -.035em; line-height: 1.07; }
.learning-step > p { max-width: 760px; margin: 0 0 19px; color: #4f5f74; font-size: 17px; }
.lesson-note, .lesson-formula { margin: 22px 0; padding: 16px 18px; color: #345247; background: var(--gh-green-soft); border: 1px solid #b9e6d2; border-radius: var(--gh-radius-sm); font-size: 14px; }
.lesson-formula { color: #244b79; background: var(--gh-blue-soft); border-color: #c9dff8; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.question-card { margin-top: 26px; padding: clamp(21px, 3.3vw, 30px); background: #f7faff; border: 1px solid #d8e6f5; border-radius: 20px; }
.learning-step.is-current .question-card { border-color: #8fc4fb; background: #f5faff; }
.question-label { margin: 0 0 7px; color: var(--gh-blue-strong); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.question-card h3 { margin: 0 0 17px; color: var(--gh-navy); font-size: clamp(24px, 2.9vw, 32px); font-weight: 820; letter-spacing: -.025em; line-height: 1.15; }
.step-help { margin: 0 0 18px; overflow: hidden; background: #fff; border: 1px solid var(--gh-line); border-radius: var(--gh-radius-sm); }
.step-help summary { position: relative; padding: 13px 46px 13px 15px; color: #355b89; font-size: 13px; font-weight: 800; cursor: pointer; list-style: none; }
.step-help summary::-webkit-details-marker { display: none; }
.step-help summary::after { content: "+"; position: absolute; top: 50%; right: 14px; width: 26px; height: 26px; display: grid; place-items: center; color: var(--gh-blue-strong); background: var(--gh-blue-soft); border-radius: 50%; font-size: 18px; font-weight: 600; transform: translateY(-50%); }
.step-help[open] summary::after { content: "−"; }
.step-help-content { padding: 2px 15px 16px; border-top: 1px solid #e5ebf1; }
.step-help-content h4 { margin: 14px 0 4px; color: var(--gh-navy); font-size: 14px; line-height: 1.35; }
.step-help-content p { margin: 0; color: #56657a; font-size: 13px; line-height: 1.56; }
.step-help-content h4 + p + h4 { margin-top: 17px; }

.choice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.choice-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choice-row button { min-height: 50px; padding: 11px 13px; color: #53647a; background: #fff; border: 1px solid #d4dfeb; border-radius: var(--gh-radius-sm); font-size: 14px; font-weight: 750; line-height: 1.25; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.choice-row button:hover { transform: translateY(-1px); border-color: #8fc4fb; }
.choice-row button[aria-pressed="true"] { color: var(--gh-blue-strong); background: #eaf4ff; border-color: var(--gh-blue); box-shadow: inset 0 0 0 1px var(--gh-blue); }
.choice-row button.is-user[aria-pressed="true"]::after { content: " · ваше"; font-size: 10px; text-transform: uppercase; }
.choice-row .choice-recommended { display: grid; place-items: center; gap: 3px; }
.choice-row .choice-recommended small { padding: 2px 6px; color: #725814; background: #fff2b8; border-radius: 999px; font-size: 8px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.choice-row .choice-recommended span { font: inherit; }
.coverage-presets { margin: 0 0 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.coverage-presets button { position: relative; min-height: 104px; padding: 17px 15px 14px; display: grid; align-content: center; gap: 5px; color: #52647b; background: #fff; border: 1px solid #d4dfeb; border-radius: var(--gh-radius-sm); text-align: left; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.coverage-presets button:hover { transform: translateY(-1px); border-color: #8fc4fb; }
.coverage-presets button:focus-visible { outline: 3px solid rgb(13 110 253 / 24%); outline-offset: 2px; }
.coverage-presets button strong { color: var(--gh-navy); font-size: 20px; line-height: 1.1; }
.coverage-presets button span { font-size: 12px; line-height: 1.4; }
.coverage-presets button small { width: max-content; padding: 3px 7px; color: #725814; background: #fff2b8; border-radius: 999px; font-size: 9px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.coverage-presets button[aria-pressed="true"] { color: #176344; background: var(--gh-green-soft); border-color: #78cba7; box-shadow: inset 0 0 0 1px #78cba7; }
.coverage-presets button[aria-pressed="true"] strong { color: #12593d; }
.coverage-source-note { margin: 0 0 14px; padding: 11px 13px; color: #6d571c; background: #fff8d9; border: 1px solid #ecd98a; border-radius: 12px; font-size: 12px; line-height: 1.45; }
.number-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.number-grid.one { grid-template-columns: minmax(0, 240px); }
.number-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.number-grid.product-grid, .number-grid.primer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.number-grid label { min-width: 0; color: #53647a; font-size: 12px; font-weight: 780; }
.input-shell { min-height: 52px; margin-top: 5px; padding: 0 12px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d4dfeb; border-radius: var(--gh-radius-sm); }
.number-grid label.is-user .input-shell { background: #eaf4ff; border-color: #74b4f6; }
.number-grid label.is-estimate .input-shell { background: #fffaf0; border-color: #e2c96e; }
.input-shell:focus-within { outline: 3px solid rgb(13 110 253 / 20%); border-color: var(--gh-blue); }
.input-shell input { min-width: 0; width: 100%; padding: 13px 0; color: var(--gh-navy); background: transparent; border: 0; outline: 0; font-size: 16px; font-weight: 800; }
.input-shell > span { flex: none; color: var(--gh-muted); font-size: 12px; font-weight: 750; }
.primer-options { margin-top: 12px; }
.subchoice-label { margin: 0 0 8px; color: var(--gh-muted); font-size: 13px; font-weight: 780; }
.step-continue { margin-top: 18px; }
.step-feedback { margin: 18px 0 0; padding: 14px 16px; color: #176344; background: var(--gh-green-soft); border: 1px solid #b9e6d2; border-radius: var(--gh-radius-sm); font-size: 14px; }
.step-feedback.rich { display: grid; gap: 3px; }
.step-feedback.rich strong { font-size: 16px; }
.step-error { margin: 16px 0 0; padding: 13px 15px; color: #8a3027; background: #fff0ee; border: 1px solid #f3b4ac; border-radius: var(--gh-radius-sm); font-size: 14px; }
.url-notice { margin-bottom: 16px; padding: 13px 15px; color: #704226; background: #fff0dc; border: 1px solid #f3d0a5; border-radius: var(--gh-radius-sm); font-size: 14px; }

.button { min-height: 48px; padding: 11px 20px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; font-weight: 800; text-decoration: none; cursor: pointer; }
.button-primary { color: #fff; background: linear-gradient(120deg, #0869d8, #2998ff); box-shadow: 0 10px 22px rgb(13 110 253 / 18%); }
.button-dark { color: #fff; background: var(--gh-navy); }

.result-gate { margin: 30px 0 26px; padding: clamp(30px, 5vw, 50px); color: #fff; background: linear-gradient(145deg, #173b68, #214f84); border-radius: 26px; box-shadow: var(--gh-shadow); text-align: center; }
.result-gate .eyebrow { color: #bcd9f7; }
.result-gate h2 { max-width: 680px; margin: 0 auto; font-size: clamp(32px, 4.5vw, 48px); font-weight: 850; letter-spacing: -.035em; line-height: 1.08; }
.result-gate > p:last-child { margin: 18px 0 0; color: #d8e7f6; }
.final-result { margin-top: 30px; }
.result-card { margin-bottom: 54px; padding: clamp(28px, 5vw, 48px); color: #fff; background: linear-gradient(145deg, #143a68, #214f84); border-radius: 26px; box-shadow: var(--gh-shadow); }
.result-card.is-stale { box-shadow: inset 0 0 0 3px var(--gh-coral), var(--gh-shadow); }
.result-card .eyebrow { color: #bcd9f7; }
.result-heading-row { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.result-card h2 { margin: 0; font-size: clamp(40px, 5.4vw, 62px); font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.result-heading-row p { margin: 12px 0 0; color: #dce9f6; }
.result-status { max-width: 170px; padding: 8px 11px; color: #c9eedc; background: rgb(15 135 88 / 24%); border: 1px solid rgb(146 220 184 / 28%); border-radius: 999px; font-size: 11px; line-height: 1.3; text-align: center; }
.result-card.is-stale .result-status { color: #ffe3dd; background: rgb(255 126 110 / 22%); border-color: rgb(255 184 173 / 36%); }
.result-metrics { margin: 30px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: rgb(255 255 255 / 17%); border: 1px solid rgb(255 255 255 / 17%); border-radius: var(--gh-radius-sm); }
.result-metrics div { padding: 15px; background: rgb(7 27 57 / 38%); }
.result-metrics dt { min-height: 34px; color: #bcd2e8; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.result-metrics dd { margin: 5px 0 0; font-weight: 800; white-space: nowrap; }
.formula-box { margin-top: 20px; padding: 17px 19px; background: rgb(255 255 255 / 8%); border-radius: var(--gh-radius-sm); }
.formula-box p:first-child { margin: 0 0 4px; color: #bcd2e8; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.formula-box p:last-child { margin: 0; font-size: 15px; }
.result-limit { margin: 16px 0 0; color: #bcd2e8; font-size: 13px; }

.result-explanation { margin: 64px 0 72px; }
.result-explanation > h2, .article-section h2, .sources h2 { margin: 0 0 25px; color: var(--gh-navy); font-size: clamp(36px, 4.8vw, 52px); font-weight: 850; letter-spacing: -.04em; line-height: 1.04; }
.section-number { margin: 0 0 8px; color: var(--gh-blue-strong); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.adaptive-insight { margin: 26px 0; padding: 24px; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; background: var(--gh-green-soft); border: 1px solid #b9e6d2; border-radius: var(--gh-radius-md); }
.accent-coral { background: #fff0ee; border-color: #ffd1ca; }
.insight-icon { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: var(--gh-green); border-radius: 50%; font-weight: 850; }
.accent-coral .insight-icon { background: var(--gh-coral); }
.adaptive-insight p:first-child { margin: 0 0 4px; color: var(--gh-muted); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.adaptive-insight h3 { margin: 0 0 8px; color: var(--gh-navy); font-size: 27px; font-weight: 820; letter-spacing: -.025em; line-height: 1.18; }
.adaptive-insight p:last-child { margin: 0; }
.coverage-line { margin: 30px 0 0; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; }
.coverage-line div { min-height: 98px; padding: 16px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--gh-line); border-radius: var(--gh-radius-sm); text-align: center; }
.coverage-line span { color: var(--gh-navy); font-size: 24px; font-weight: 850; }
.coverage-line small { color: var(--gh-muted); font-size: 11px; }
.coverage-line b { color: #8a9ab0; }
.article-section { margin: 0 0 72px; }
.purchase-list { display: grid; gap: 10px; }
.purchase-list > div { padding: 18px 20px; display: grid; grid-template-columns: 120px 1fr; gap: 2px 16px; background: #fff; border: 1px solid var(--gh-line); border-radius: var(--gh-radius-sm); }
.purchase-list span { grid-row: 1 / 3; color: var(--gh-muted); font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.purchase-list strong { color: var(--gh-navy); font-size: 18px; }
.purchase-list small { color: var(--gh-muted); }
.purchase-note { margin-top: 16px; color: var(--gh-muted); font-size: 14px; }
.final-note { margin-top: 38px; padding: 30px; background: var(--gh-yellow); border: 1px solid #ead889; border-radius: var(--gh-radius-md); }
.final-note .eyebrow { color: #765e14; }
.final-note > p:nth-child(2) { color: var(--gh-navy); font-size: 24px; font-weight: 780; line-height: 1.35; }

.sources { margin-top: 42px; padding: 28px; background: #fff; border: 1px solid var(--gh-line); border-radius: var(--gh-radius-md); }
.sources h2 { margin-bottom: 14px; font-size: 30px; }
.sources p, .sources li { color: var(--gh-muted); font-size: 14px; }
.sources ul { padding-left: 20px; }
.sources a { color: var(--gh-blue-strong); text-underline-offset: 3px; }
.gh-related-calculators { margin-top: 42px; margin-bottom: 54px; }
.noscript-note { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 1100; padding: 14px; color: #fff; background: #8c3d2b; border-radius: 10px; text-align: center; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .paint-visual { min-height: 310px; }
  .journey-intro { grid-template-columns: 1fr; gap: 18px; }
  .journey-intro .eyebrow { grid-column: auto; margin-bottom: -6px; }
  .journey-shell { grid-template-columns: 1fr; gap: 24px; }
  .journey-progress { position: static; }
  .journey-progress ol { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
  .journey-progress li { font-size: 10px; text-align: center; }
  .journey-progress li > a { min-height: 46px; padding: 29px 2px 2px; }
  .journey-progress .progress-marker { top: 3px; left: 50%; transform: translateX(-50%); }
  .journey-progress .progress-result { margin-top: 0; }
  .journey-progress .progress-result > a { min-height: 46px; padding: 29px 2px 2px; display: block; }
  .journey-progress .progress-result .progress-marker { top: 3px; transform: translateX(-50%); }
  .progress-result-copy { display: block; }
  .progress-result-copy small { display: none; }
  .progress-note { text-align: center; }
  .number-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --gh-content: min(100% - 24px, 1180px); }
  html { scroll-padding-top: 82px; }
  body { font-size: 15px; }
  .breadcrumbs { margin-top: 0; }
  .hero { min-height: 0; padding: 30px 22px 24px; grid-template-columns: 1fr; gap: 28px; border-radius: 24px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); line-height: 1.02; }
  .lead { margin-top: 20px; font-size: 17px; }
  .article-meta { font-size: 10px; line-height: 1.5; }
  .hero-link { width: 100%; justify-content: center; }
  .paint-visual { min-height: 270px; }
  .paint-wall { top: 64px; right: 24px; width: 210px; height: 144px; }
  .roller { top: 86px; left: 25px; transform: rotate(-18deg) scale(.86); transform-origin: left top; }
  .paint-can { right: 34px; bottom: 42px; transform: scale(.86); transform-origin: right bottom; }
  .paint-visual > p { font-size: 11px; }
  .journey-intro { margin: 54px 0 26px; }
  .journey-intro h2 { font-size: 39px; }
  .journey-intro > p:last-child { font-size: 16px; }
  .journey-shell { margin-bottom: 44px; }
  .journey-progress { padding: 16px 14px; border-radius: 18px; }
  .journey-progress ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; overflow: visible; padding-bottom: 0; }
  .journey-progress li { min-width: 0; }
  .journey-progress .progress-result { min-width: 0; margin-top: 6px; grid-column: 1 / -1; text-align: left; }
  .journey-progress .progress-result > a { min-height: 50px; padding: 8px 8px 8px 39px; display: flex; }
  .journey-progress .progress-result .progress-marker { top: 50%; left: 8px; transform: translateY(-50%); }
  .progress-result-copy { display: grid; }
  .progress-result-copy small { display: block; }
  .learning-step { padding: 24px 18px; border-radius: 22px; }
  .learning-step::before { top: 18px; bottom: 18px; }
  .step-heading { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .step-heading > span { width: 32px; height: 32px; }
  .step-heading h2 { font-size: 32px; }
  .learning-step > p { font-size: 16px; }
  .question-card { margin: 22px -4px -5px; padding: 20px 16px; border-radius: 18px; }
  .question-card h3 { font-size: 26px; }
  .choice-row, .choice-row.two, .choice-row.four { grid-template-columns: 1fr; }
  .choice-row.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-row button { text-align: left; }
  .coverage-presets { grid-template-columns: 1fr; }
  .coverage-presets button { min-height: 82px; }
  .number-grid, .number-grid.product-grid, .number-grid.primer-grid, .number-grid.one { grid-template-columns: 1fr; }
  .result-card { margin-bottom: 44px; padding: 27px 20px; border-radius: 22px; }
  .result-heading-row { flex-direction: column; }
  .result-metrics { grid-template-columns: 1fr 1fr; }
  .result-metrics div:last-child { grid-column: 1 / -1; }
  .result-explanation > h2, .article-section h2 { font-size: 38px; }
  .adaptive-insight { padding: 21px 17px; grid-template-columns: 1fr; }
  .coverage-line { grid-template-columns: 1fr 1fr; }
  .coverage-line b { display: none; }
  .purchase-list > div { grid-template-columns: 1fr; }
  .purchase-list span { grid-row: auto; }
  .final-note { padding: 24px 18px; }
  .sources { padding: 22px 18px; }
}

@media (max-width: 359px) {
  .hero { padding-inline: 18px; }
  .hero h1 { font-size: 36px; }
  .paint-wall { right: 16px; }
  .roller { left: 15px; }
  .result-metrics { grid-template-columns: 1fr; }
  .result-metrics div:last-child { grid-column: auto; }
  .choice-row.compact { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media print {
  body { background: #fff; }
  .calculator-global-header, .button, .paint-visual, .journey-progress, .question-card, .result-gate, .gh-related-calculators { display: none !important; }
  main { width: 100%; }
  .hero { min-height: auto; padding: 0; background: none; border: 0; box-shadow: none; }
  .journey-shell { display: block; }
  .learning-step { break-inside: avoid; box-shadow: none; }
  .result-card { color: var(--gh-navy); background: var(--gh-blue-soft); box-shadow: none; }
  .result-card .eyebrow, .result-heading-row p, .result-limit { color: var(--gh-navy); }
  .result-metrics div { background: #fff; }
}
