/* Solar Second Look. Built on design/DESIGN_SYSTEM.md, version 1 with Amendments 1.1 to 1.9. */
@font-face {
  font-family: 'Fraunces Fallback';
  src: local('Times New Roman'), local('Liberation Serif');
  size-adjust: 103.5%; ascent-override: 94.5%; descent-override: 24.6%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Figtree Fallback';
  src: local('Arial'), local('Liberation Sans');
  size-adjust: 100.8%; ascent-override: 94.2%; descent-override: 24.8%; line-gap-override: 0%;
}
:root {
  /* surfaces */
  --paper: #faf9f6;
  --paper-deep: #f1eee8;     /* never beside --warm */
  --sheet: #ffffff;
  --warm: #f3e9d8;           /* the one warm section: pricing and guarantee */
  /* ink */
  --ink: #0b1f3a;
  --ink-hover: var(--ink-hover);
  --link: #0b1f3a;
  --slate: #56627a;
  /* lines */
  --line: #dedad0;
  --line-deep: #d6d1c5;
  --line-warm: #d9c9ab;
  --field-line: #8b8677;
  /* dark */
  --navy: #0b1f3a;
  --navy-deep: #071527;
  --scrim-rgb: 7, 21, 39;
  --on-dark: #f6f4ef;
  --on-dark-muted: #b7c0d0;
  --line-on-dark: rgba(246, 244, 239, 0.18);
  /* accent */
  --sun: #f6b40e;
  /* reviewer's markup and report states */
  --pen: #c2362b;
  --pen-wash: #fbefed;
  --marker: #f5d547;
  --amber: #b98e11;
  --amber-text: #7a5c00;
  /* the fake installer quote */
  --doc-ink: #2b2b2b;
  --doc-muted: #555555;
  --doc-line: #e4e4e4;

  --serif: 'Fraunces', 'Fraunces Fallback', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', 'Figtree Fallback', 'Helvetica Neue', Arial, sans-serif;
  --hand: 'Kalam', 'Bradley Hand', 'Segoe Print', cursive;
  --doc: Arial, Helvetica, sans-serif;

  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;

  --r-mark: 2px; --r-field: 8px; --r-panel: 14px; --r-media: 20px; --r-pill: 999px;
  --lift: 0 1px 2px rgba(11, 31, 58, 0.06), 0 14px 36px -14px rgba(11, 31, 58, 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --head-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + var(--s4)); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: var(--r-mark); }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 360; font-synthesis: none; font-variation-settings: 'opsz' 72; text-wrap: balance; }
h1 { font-size: clamp(2.375rem, 1.75rem + 2.778vw, 4.25rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.875rem, 1.454rem + 1.728vw, 2.75rem); line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 600; }
p { max-width: 33rem; }
p + p { margin-top: var(--s4); }
mark { background: none; color: inherit; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--slate); max-width: 34rem; }
h2 + .lede { margin-top: var(--s4); }
.fine { font-size: 0.875rem; line-height: 1.5; color: var(--slate); }
.band { padding-block: var(--s8); }
.band-deep { background: var(--paper-deep); }
.band-warm { background: var(--warm); }
.band-body { margin-top: var(--s7); }
.panel { background: var(--sheet); border-radius: var(--r-panel); box-shadow: var(--lift); padding: var(--s5); }
@media (min-width: 760px) {
  .wrap { width: min(1160px, 100% - 64px); }
  .band { padding-block: var(--s9); }
  .panel { padding: var(--s6); }
}
@media (max-width: 759px) {
  .lede { font-size: 1.125rem; }
}

/* ---------- Actions ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--ink); color: var(--on-dark); font: 600 1rem/1.2 var(--sans); text-align: center; text-decoration: none; cursor: pointer; transition: background-color 150ms, border-color 150ms, color 150ms; }
.btn:hover { background: var(--ink-hover); border-color: var(--ink-hover); color: var(--on-dark); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.btn-light { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; white-space: nowrap; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.link-action { display: inline-flex; align-items: center; min-height: 48px; font-weight: 500; font-size: 1rem; color: inherit; text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s6); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); color: var(--ink); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); height: var(--head-h); }
.brand { display: inline-grid; align-items: center; flex: none; min-height: 44px; }
.brand-logo { grid-area: 1 / 1; height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--s6); font-size: 1rem; }
.nav a:not(.btn) { color: inherit; text-decoration: none; padding-block: var(--s3); }
.nav a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 940px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 759px) { :root { --head-h: 64px; } .brand-logo { height: 36px; } .btn-small { padding: 0 16px; } }

/* Home: transparent over the hero photograph, then a paper bar once the hero has scrolled past. */
.home .site-head { position: absolute; inset: 0 0 auto 0; background: transparent; border-color: transparent; color: var(--on-dark); }
.home .site-head .brand-logo-dark { opacity: 0; }
.home .site-head .btn { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.home .site-head .btn:hover { background: var(--sun); border-color: var(--sun); }
.home .site-head :focus-visible { outline-color: var(--sun); }
.home .site-head.is-solid { position: fixed; background: var(--paper); border-color: var(--line); color: var(--ink); animation: head-in 200ms ease-out both; }
.home .site-head.is-solid .brand-logo-dark { opacity: 1; }
.home .site-head.is-solid .brand-logo-light { opacity: 0; }
.home .site-head.is-solid .btn { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.home .site-head.is-solid .btn:hover { background: var(--ink-hover); border-color: var(--ink-hover); color: var(--on-dark); }
.home .site-head.is-solid :focus-visible { outline-color: var(--ink); }
@keyframes head-in { from { background-color: rgba(250, 249, 246, 0); border-color: transparent; opacity: 0; } to { opacity: 1; } }

/* ---------- Photo chapters ---------- */
.chapter { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(380px, 56vh, 560px); background: var(--navy-deep); color: var(--on-dark); view-timeline: --chapter block; }
.chapter-media { position: absolute; inset: 0; z-index: -2; }
.chapter-media img { width: 100%; height: 100%; object-fit: cover; }
.chapter::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(0deg, rgba(var(--scrim-rgb), 0.88) 0%, rgba(var(--scrim-rgb), 0.66) 46%, rgba(var(--scrim-rgb), 0.3) 100%); }
.chapter-copy { position: relative; z-index: 1; padding-block: var(--s8) var(--s7); }
.chapter h1, .chapter h2 { color: var(--on-dark); }
.chapter h2 { max-width: 15em; }
.chapter-support { font-size: 1.125rem; line-height: 1.5; max-width: 32rem; margin-top: var(--s4); color: var(--on-dark); }
.chapter :focus-visible { outline-color: var(--sun); }
.chapter a:not(.btn) { color: var(--on-dark); }
.chapter a:not(.btn):hover { color: var(--on-dark); text-decoration-color: var(--sun); }

.chapter-hero { align-items: center; min-height: clamp(620px, 88vh, 900px); }
.chapter-hero .chapter-media img { object-position: 74% 50%; }
.chapter-hero .chapter-copy { padding-block: calc(var(--head-h) + var(--s8)) var(--s9); }
.chapter-hero h1 { max-width: 11em; }
.chapter-hero .chapter-support { margin-top: var(--s5); }
.chapter-hero .actions { margin-top: var(--s6); }
.chapter-hero::before { background:
  linear-gradient(180deg, rgba(var(--scrim-rgb), 0.6) 0%, rgba(var(--scrim-rgb), 0) 24%),
  linear-gradient(0deg, rgba(var(--scrim-rgb), 0.9) 0%, rgba(var(--scrim-rgb), 0.74) 48%, rgba(var(--scrim-rgb), 0.5) 100%); }

.chapter-heavy { display: block; min-height: 0; }
.chapter-heavy::before { background: linear-gradient(100deg, rgba(var(--scrim-rgb), 0.92) 0%, rgba(var(--scrim-rgb), 0.85) 100%); }
.chapter-heavy .chapter-copy { padding-block: var(--s8); }
.chapter-heavy .chapter-support { color: var(--on-dark-muted); }

.chapter-close { align-items: center; text-align: center; min-height: clamp(480px, 70vh, 760px); }
.chapter-close::before { background: linear-gradient(0deg, rgba(var(--scrim-rgb), 0.4) 0%, rgba(var(--scrim-rgb), 0.12) 60%, rgba(var(--scrim-rgb), 0.2) 100%); }
.chapter-close .chapter-copy { padding-block: var(--s8); }
.close-panel { max-width: 46rem; margin-inline: auto; padding: var(--s7) var(--s5); border-radius: var(--r-panel); background: rgba(var(--scrim-rgb), 0.8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.close-panel h2 { max-width: 14em; margin-inline: auto; }
.close-panel .chapter-support { margin-inline: auto; }
.close-panel .btn { margin-top: var(--s6); }

@media (min-width: 760px) {
  .chapter { min-height: clamp(460px, 70vh, 760px); }
  .chapter-media { inset: -12% 0; }
  .chapter-copy { padding-block: var(--s9) var(--s8); }
  .chapter-support { font-size: 1.25rem; }
  .chapter-hero { min-height: clamp(620px, 88vh, 900px); }
  .chapter-hero .chapter-media img { object-position: 60% 50%; }
  .chapter-hero .chapter-copy { padding-block: calc(var(--head-h) + var(--s9)) var(--s10); }
  .chapter-heavy { min-height: 0; }
  .chapter-heavy .chapter-copy { padding-block: var(--s9); }
  .chapter-close { min-height: clamp(480px, 70vh, 760px); }
  .chapter-close .chapter-copy { padding-block: var(--s9); }
  .close-panel { padding: var(--s8) var(--s7); }
}
@media (min-width: 1200px) {
  .chapter::before { background:
    linear-gradient(90deg, rgba(var(--scrim-rgb), 0.84) 0%, rgba(var(--scrim-rgb), 0.74) 40%, rgba(var(--scrim-rgb), 0.3) 70%, rgba(var(--scrim-rgb), 0) 92%),
    linear-gradient(0deg, rgba(var(--scrim-rgb), 0.4) 0%, rgba(var(--scrim-rgb), 0) 45%); }
  .chapter-hero::before { background:
    linear-gradient(180deg, rgba(var(--scrim-rgb), 0.6) 0%, rgba(var(--scrim-rgb), 0) 22%),
    linear-gradient(90deg, rgba(var(--scrim-rgb), 0.88) 0%, rgba(var(--scrim-rgb), 0.8) 44%, rgba(var(--scrim-rgb), 0.46) 66%, rgba(var(--scrim-rgb), 0) 92%),
    linear-gradient(0deg, rgba(var(--scrim-rgb), 0.3) 0%, rgba(var(--scrim-rgb), 0) 40%); }
  .chapter-heavy::before { background: linear-gradient(100deg, rgba(var(--scrim-rgb), 0.92) 0%, rgba(var(--scrim-rgb), 0.85) 100%); }
  .chapter-close::before { background: linear-gradient(0deg, rgba(var(--scrim-rgb), 0.4) 0%, rgba(var(--scrim-rgb), 0.12) 60%, rgba(var(--scrim-rgb), 0.2) 100%); }
}

/* Parallax: the photograph drifts up to 12% of the chapter height. Off below 760px and with reduced motion. */
@keyframes drift { from { transform: translate3d(0, -9.677%, 0); } to { transform: translate3d(0, 9.677%, 0); } }
@supports (animation-timeline: view()) {
  @media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
    .chapter-media { animation: drift linear both; animation-timeline: --chapter; animation-range: cover 0% cover 100%; }
  }
}

/* The pixel motif: aligned squares eating into a photo edge, in the colour of the next surface. */
.px { position: absolute; z-index: 0; right: 0; bottom: -1px; width: 266px; height: 77px; max-width: none; fill: currentColor; color: var(--paper-deep); pointer-events: none; }
.px-paper { color: var(--paper); }
.px-tr { bottom: auto; top: -1px; transform: scaleY(-1); }
.px-warm { color: var(--warm); }
@media (min-width: 760px) { .px { width: 532px; height: 154px; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--paper-deep); border-bottom: 1px solid var(--line); }
.trust-row { list-style: none; padding: var(--s5) 0; display: grid; gap: var(--s4); font-weight: 500; line-height: 1.35; }
.trust-row li { display: flex; align-items: center; gap: var(--s4); }
.trust-row img { width: 44px; height: 44px; flex: none; }
@media (min-width: 900px) {
  .trust-row { grid-template-columns: auto auto auto; justify-content: space-between; gap: var(--s6); padding-block: var(--s6); }
  .trust-row img { width: 48px; height: 48px; }
}

/* ---------- Pain: the list, the marked-up quote, the payback bars ---------- */
.pain-grid { display: grid; gap: var(--s7); }
.pains { display: grid; gap: 0 var(--s6); border-bottom: 1px solid var(--line); }
.pains > div { position: relative; padding: var(--s4) 0 var(--s4) var(--s5); border-top: 1px solid var(--line); }
.pains > div::before { content: ''; position: absolute; left: 0; top: calc(var(--s4) + 0.5em); width: 8px; height: 8px; background: var(--ink); }
.pains dt { font-weight: 600; }
.pains dd { color: var(--slate); font-size: 1rem; line-height: 1.5; margin-top: var(--s1); }
.quote-caption { font-size: 0.875rem; color: var(--slate); margin-top: var(--s5); }
@media (min-width: 560px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) {
  .pain-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); grid-template-areas: 'head head' 'pains doc' 'bars doc'; gap: var(--s7) var(--s9); align-items: start; }
  .pain-head { grid-area: head; }
  .pains { grid-area: pains; }
  .pain-doc { grid-area: doc; }
  .fig-payback { grid-area: bars; }
}

/* The marked-up quote: the one signature. Markup and animation are kept as they were. */
.quote-sheet { background: var(--sheet); font-family: var(--doc); font-size: 0.9rem; line-height: 1.55; color: var(--doc-ink); padding: 1.6rem 1.5rem 1.3rem; border: 1px solid var(--line); box-shadow: var(--lift); transform: rotate(-0.9deg); position: relative; }
.quote-head { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--doc-ink); padding-bottom: 0.6rem; margin-bottom: 0.4rem; }
.quote-head strong { font-size: 1.05rem; font-weight: 600; }
.quote-head span { color: var(--doc-muted); font-size: 0.8rem; text-align: right; }
.q-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; padding: 0.62rem 0; border-bottom: 1px solid var(--doc-line); align-items: baseline; }
.q-label { color: var(--doc-muted); }
.q-val { font-weight: 600; position: relative; white-space: nowrap; justify-self: end; }
.q-note { grid-column: 1 / -1; font-family: var(--hand); color: var(--pen); font-size: 1.1875rem; line-height: 1.25; padding: 0.25rem 0 0 0.2rem; transform: rotate(-0.6deg); opacity: 0; animation: note-in 0.5s ease-out forwards; animation-delay: var(--d, 1s); }
.q-note::before { content: ''; display: inline-block; width: 1.1rem; height: 0.7rem; margin-right: 0.3rem; border-left: 2px solid var(--pen); border-bottom: 2px solid var(--pen); border-bottom-left-radius: 8px; vertical-align: 0.25em; }
.circ::after { content: ''; position: absolute; inset: -0.35em -0.7em; border: 2.5px solid var(--pen); border-radius: 50% 46% 52% 48% / 55% 50% 50% 45%; transform: rotate(-3deg); clip-path: inset(0 100% 0 0); animation: draw 0.7s ease-out forwards; animation-delay: var(--d, 0.6s); }
.struck::after { content: ''; position: absolute; left: -0.3em; right: -0.3em; top: 52%; height: 2.5px; background: var(--pen); transform: rotate(-4deg) scaleX(0); transform-origin: left; animation: strike 0.4s ease-out forwards; animation-delay: var(--d, 1.4s); border-radius: 2px; }
.hl { background: linear-gradient(transparent 12%, var(--marker) 12%, var(--marker) 88%, transparent 88%) no-repeat; background-size: 0 100%; animation: hl 0.5s ease-out forwards; animation-delay: var(--d, 2s); padding: 0 0.15em; margin: 0 -0.15em; }
@keyframes draw { to { clip-path: inset(0 0 0 0); } }
@keyframes strike { to { transform: rotate(-4deg) scaleX(1); } }
@keyframes hl { to { background-size: 100% 100%; } }
@keyframes note-in { from { opacity: 0; transform: rotate(-0.6deg) translateY(3px); } to { opacity: 1; transform: rotate(-0.6deg); } }
/* With script, the pen waits until the sheet is in view. */
.js .quote-sheet:not(.is-in) .q-note, .js .quote-sheet:not(.is-in) .circ::after, .js .quote-sheet:not(.is-in) .struck::after, .js .quote-sheet:not(.is-in) .hl { animation-play-state: paused; }

/* ---------- Data graphics ---------- */
.fig-title { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.fig-key { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); font-size: 0.875rem; color: var(--slate); margin-top: var(--s2); }
.sw { display: inline-block; width: 10px; height: 10px; }
.sw-solar { background: var(--sun); outline: 1px solid var(--ink); outline-offset: -1px; }
.sw-use { background: var(--slate); margin-left: var(--s3); }
.fig-plot { margin-top: var(--s4); }
.fig-note { font-size: 0.875rem; line-height: 1.5; color: var(--slate); margin-top: var(--s3); max-width: 34rem; }
.chart { overflow: visible; max-width: none; }
.c-label { font: 500 13px/1 var(--sans); fill: var(--slate); }
.c-tick { font: 400 13px/1 var(--sans); fill: var(--slate); }
.c-hand { font: 600 14px/1 var(--sans); fill: var(--ink); }
.c-base { stroke: var(--ink); stroke-width: 1; }
.c-pen line { stroke: var(--ink); stroke-width: 1.5; }
.c-claim, .c-use { fill: var(--slate); }
.c-ours { fill: var(--ink); }
.c-solar { fill: var(--sun); }
.c-solar rect { stroke: var(--ink); stroke-width: 1; }
.c-bar-h, .c-bar-v { transform-box: fill-box; transition: transform 600ms var(--ease); }
.c-bar-h { transform-origin: 0 50%; }
.c-bar-v { transform-origin: 50% 100%; }
.c-hand { transition: opacity 500ms var(--ease) 450ms; }
.js .fig:not(.is-in) .c-bar-h { transform: scaleX(0); }
.js .fig:not(.is-in) .c-bar-v { transform: scaleY(0); }
.js .fig:not(.is-in) .c-hand, .js .fig:not(.is-in) .c-pen { opacity: 0; }
.c-pen { transition: opacity 500ms var(--ease) 450ms; }
.fig-payback { padding-top: var(--s5); border-top: 1px solid var(--ink); }
.gauge { margin-block: var(--s4) var(--s2); }
.g-track { fill: var(--paper-deep); }
.g-band { fill: var(--field-line); }
.g-marker rect { fill: var(--ink); }

/* ---------- Value: the infographic ---------- */
.infographic { max-width: 1040px; padding: var(--s4); }
.infographic img { width: 100%; height: auto; border-radius: var(--r-field); }
.infographic-note { margin-top: var(--s4); }
.value-close { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); margin-top: var(--s6); }
.value-close p { font-weight: 360; font-synthesis: none; font-variation-settings: 'opsz' 72; font-family: var(--serif); font-size: 1.75rem; line-height: 1.2; }
@media (min-width: 900px) { .infographic { padding: var(--s6); } }

/* ---------- What changed: ruled list beside the make versus use chart ---------- */
.changes-grid { display: grid; gap: var(--s7); }
.changes { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.changes > li { display: grid; gap: var(--s2); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.changes time { font-weight: 360; font-synthesis: none; font-variation-settings: 'opsz' 72; font-family: var(--serif); font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.01em; white-space: nowrap; }
.changes p { color: var(--slate); margin-top: var(--s2); }
.changes .src { font-size: 0.875rem; margin-top: var(--s3); }
@media (min-width: 700px) {
  .changes > li { grid-template-columns: 12rem minmax(0, 1fr); gap: var(--s6); padding: var(--s6) 0; }
}
@media (min-width: 1040px) {
  .changes-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: var(--s9); align-items: start; }
  .fig-makeuse { position: sticky; top: calc(var(--head-h) + var(--s6)); }
}
.fig-makeuse { max-width: 30rem; }

/* ---------- What we check: on the panels photograph ---------- */
.checks { display: grid; gap: 0 var(--s8); margin-top: var(--s7); border-bottom: 1px solid var(--line-on-dark); }
.checks > div { position: relative; padding: var(--s5) 0 var(--s5) calc(64px + var(--s5)); min-height: calc(64px + var(--s7)); border-top: 1px solid var(--line-on-dark); }
.checks dt { font-weight: 500; font-size: 1rem; line-height: 1.3; color: var(--on-dark-muted); }
.checks dt small { font-size: 0.875rem; font-weight: 400; color: var(--on-dark-muted); white-space: nowrap; }
.checks dd { font-family: var(--serif); font-weight: 360; font-variation-settings: 'opsz' 72; font-size: 1.375rem; line-height: 1.3; color: var(--on-dark); margin-top: var(--s2); max-width: 24rem; }
.tile { position: absolute; left: 0; top: var(--s5); width: 64px; height: 64px; display: grid; place-items: center; background: var(--sheet); border-radius: var(--r-panel); }
.tile img { width: 44px; height: 44px; }
@media (min-width: 800px) { .checks { grid-template-columns: 1fr 1fr; } }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); } }
.field { margin-bottom: var(--s5); }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.9375rem; line-height: 1.4; margin-bottom: var(--s2); padding: 0; }
.field .hint { font-weight: 400; font-size: 0.875rem; color: var(--slate); }
input[type=text], input[type=email], input[type=number], select, textarea { width: 100%; min-height: 48px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--sheet); border: 1px solid var(--field-line); border-radius: var(--r-field); padding: var(--s2) var(--s3); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: var(--r-field); }
input[type=file] { font: inherit; font-size: 0.9375rem; width: 100%; min-height: 44px; }
input[type=radio], input[type=checkbox] { accent-color: var(--ink); width: 18px; height: 18px; flex: none; margin: 0; }
textarea { min-height: 6rem; resize: vertical; }
.pair { display: grid; gap: 0 var(--s4); }
@media (min-width: 520px) { .pair { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.radio-row label { font-weight: 400; font-size: 1rem; display: inline-flex; gap: var(--s2); align-items: center; min-height: 44px; margin: 0; }
.result h3 { margin-bottom: var(--s3); }
.r-row { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.r-row dt { color: var(--slate); }
.r-row dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.r-row-lead { border-bottom: 0; padding-bottom: 0; }
.r-row-lead dd { font-size: 1.75rem; line-height: 1.2; }
.verdict { position: relative; font-weight: 600; font-size: 1.125rem; line-height: 1.4; margin-top: var(--s5); padding-left: var(--s5); max-width: none; }
.verdict::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 10px; height: 10px; background: var(--sun); }
.result .fine { margin-top: var(--s4); }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: var(--s5); align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan-quick { box-shadow: none; border: 1px solid var(--line-warm); }
.price { font-weight: 360; font-synthesis: none; font-variation-settings: 'opsz' 72; font-family: var(--serif); font-size: 3.25rem; line-height: 1.05; letter-spacing: 0; margin-top: var(--s3); font-variant-numeric: lining-nums; }
.price small { font-family: var(--sans); font-size: 1rem; line-height: 1.5; letter-spacing: 0; color: var(--slate); white-space: nowrap; }
@media (max-width: 520px) { .price small { display: block; margin-top: var(--s1); } }
.plan ul { list-style: none; padding: 0; margin: var(--s5) 0 var(--s6); border-bottom: 1px solid var(--line); }
.plan li { padding: var(--s3) 0; border-top: 1px solid var(--line); line-height: 1.4; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.guarantee-row { display: grid; gap: var(--s5); align-items: center; margin-top: var(--s7); }
.graphic { width: min(100%, 320px); }
.guarantee { font-size: 1.25rem; line-height: 1.5; max-width: 34rem; }
@media (min-width: 760px) {
  .plans { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s6); }
  .guarantee-row { grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr); gap: var(--s8); margin-top: var(--s8); }
  .graphic { width: min(100%, 360px); justify-self: center; }
  .guarantee { font-size: 1.5rem; line-height: 1.4; }
}

/* ---------- Split sections with a framed photograph ---------- */
.split { display: grid; gap: var(--s7); align-items: center; }
.split img, .intake figure img { border-radius: var(--r-media); width: 100%; }
figcaption { font-size: 0.875rem; line-height: 1.5; color: var(--slate); margin-top: var(--s3); }
.split .lede { color: var(--ink); max-width: 30rem; }
.split .lede + p { margin-top: var(--s4); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s9); } }
.plain { padding-left: var(--s5); max-width: 62ch; }
.plain li { margin-bottom: var(--s2); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--s9); } }
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.band-deep .faq, .band-deep .faq details { border-color: var(--line-deep); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.1875rem; line-height: 1.35; padding: 20px var(--s7) 20px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: var(--s1); top: 50%; transform: translateY(-50%); font-size: 1.75rem; line-height: 1; font-weight: 400; color: var(--ink); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--slate); padding: 0 var(--s7) 20px 0; }

/* ---------- Intake ---------- */
.intake { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 900px) { .intake { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s8); } }
.consent { display: flex; gap: var(--s3); align-items: flex-start; font-size: 0.9375rem; line-height: 1.5; margin: var(--s2) 0 var(--s5); }
.consent input { margin-top: 3px; }
.form-msg { margin-top: var(--s4); padding: var(--s3) var(--s4); border-left: 4px solid var(--pen); background: var(--pen-wash); border-radius: 0 var(--r-field) var(--r-field) 0; font-size: 1rem; max-width: none; }
.form-msg[hidden] { display: none; }
.form-msg.good { border-color: var(--ink); background: var(--paper-deep); }

/* ---------- Footer: navy, on every page ---------- */
.site-foot { background: var(--navy); color: var(--on-dark-muted); padding-block: var(--s8) var(--s7); font-size: 0.9375rem; line-height: 1.55; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 1px; }
.site-foot :focus-visible { outline-color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7) var(--s5); }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { max-width: 22rem; margin-top: var(--s3); }
.foot-brand p + p { margin-top: var(--s2); }
.foot-grid ul { list-style: none; padding: 0; }
.foot-grid li a { display: inline-block; padding-block: var(--s2); }
.foot-label { font-weight: 600; color: var(--on-dark); margin-bottom: var(--s2); }
.foot-squares { fill: var(--sun); margin-top: var(--s8); }
.foot-legal { border-top: 1px solid var(--line-on-dark); margin-top: var(--s5); padding-top: var(--s5); font-size: 0.875rem; }
.foot-legal p { max-width: 80ch; }
.foot-legal p + p { margin-top: var(--s2); }
@media (min-width: 760px) {
  .site-foot { padding-block: var(--s9) var(--s7); }
  .foot-grid { grid-template-columns: 1.7fr 1fr 1.2fr 1fr; gap: var(--s7); }
  .foot-brand { grid-column: auto; }
}

/* ---------- Prose pages: method, terms, privacy, guides ---------- */
.prose { padding-block: var(--s8) var(--s9); max-width: 46rem; }
.prose h1 { font-size: clamp(2.25rem, 1.7rem + 2.3vw, 3.25rem); line-height: 1.08; margin-bottom: var(--s5); }
.prose h2 { font-size: clamp(1.5rem, 1.35rem + 0.6vw, 1.875rem); line-height: 1.2; margin: var(--s7) 0 var(--s4); }
.prose h2 a { color: var(--ink); text-decoration-color: var(--field-line); }
.prose h2 a:hover { text-decoration-color: currentColor; }
.prose h3 { margin: var(--s6) 0 var(--s2); }
.prose .lede { max-width: 40rem; margin-bottom: var(--s5); }
.prose ul, .prose ol { margin: var(--s4) 0; }
.prose .fine { margin-top: var(--s4); }
.prose p > .btn { margin: var(--s2) var(--s2) 0 0; }
.prose .faq { margin-top: var(--s4); }
.prose-graphic { width: min(100%, 420px); margin: var(--s6) 0 var(--s2); }

/* ---------- Tables ---------- */
.tbl { width: 100%; border-collapse: collapse; margin: var(--s5) 0; font-variant-numeric: tabular-nums; font-size: 1rem; }
.tbl th, .tbl td { text-align: left; padding: var(--s3) var(--s4) var(--s3) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 0.875rem; color: var(--slate); font-weight: 600; border-bottom: 2px solid var(--ink); }

/* ---------- Report ---------- */
.report { padding-block: var(--s6) var(--s9); max-width: 54rem; }
.report section { margin-top: var(--s7); }
.report h2 { font-size: clamp(1.625rem, 1.4rem + 0.9vw, 2.125rem); margin-bottom: var(--s4); }
.sample-flag { background: var(--paper-deep); border-left: 4px solid var(--sun); padding: var(--s3) var(--s4); font-weight: 500; max-width: none; }
.report-kicker { color: var(--slate); margin: var(--s6) 0 var(--s2); }
.report-head h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); line-height: 1.08; }
.report-lede { font-size: 1.25rem; line-height: 1.5; color: var(--slate); margin-top: var(--s4); }
.report-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--sheet); border-radius: var(--r-panel); box-shadow: var(--lift); margin-top: var(--s7); }
.stat { padding: var(--s5); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-label { font-size: 0.875rem; color: var(--slate); }
.stat-num { font-synthesis: none; font-variation-settings: 'opsz' 72; font-family: var(--serif); font-size: 2rem; font-weight: 360; line-height: 1.1; margin-top: var(--s1); }
.stat p + p { margin-top: var(--s1); }
.stat-note { color: var(--slate); font-size: 0.875rem; line-height: 1.4; }
@media (max-width: 760px) { .report-grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
.findings { list-style: none; margin: var(--s5) 0 0; padding: 0; }
.finding { background: var(--sheet); border: 1px solid var(--line); border-left: 5px solid var(--line); padding: var(--s5); margin-bottom: var(--s4); border-radius: 0 10px 10px 0; }
.finding h3 { margin-bottom: var(--s2); }
.finding p { max-width: 70ch; }
.finding-tag { font-size: 0.875rem; font-weight: 600; margin-bottom: var(--s2); }
.finding-tag span { font-weight: 400; color: var(--slate); margin-left: var(--s3); }
.finding-red { border-left-color: var(--pen); } .finding-red .finding-tag { color: var(--pen); }
.finding-amber { border-left-color: var(--amber); } .finding-amber .finding-tag { color: var(--amber-text); }
.finding-ok { border-left-color: var(--ink); } .finding-ok .finding-tag { color: var(--ink); }
.asks { padding-left: var(--s5); max-width: 70ch; }
.asks li { margin-bottom: var(--s3); }
.report-cta { margin-top: var(--s7); }

/* ---------- Motion: restrained, once each, only after the script marks the root ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.js .chapter-hero .chapter-media img { animation: settle 1.6s var(--ease) both; }
.js .chapter-hero h1, .js .chapter-hero .chapter-support, .js .chapter-hero .actions { animation: rise 700ms var(--ease) both; }
.js .chapter-hero h1 { animation-delay: 150ms; }
.js .chapter-hero .chapter-support { animation-delay: 240ms; }
.js .chapter-hero .actions { animation-delay: 330ms; }
.js [data-reveal], .js [data-reveal-group] > * { opacity: 0; transform: translateY(16px); }
.js [data-reveal].is-in, .js [data-reveal-group] > .is-in { opacity: 1; transform: none; transition: opacity 600ms var(--ease) var(--rd, 0ms), transform 600ms var(--ease) var(--rd, 0ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .q-note, .circ::after, .struck::after, .hl { animation: none !important; }
  .q-note { opacity: 1; } .circ::after { clip-path: none; } .struck::after { transform: rotate(-4deg) scaleX(1); } .hl { background-size: 100% 100%; }
  .js .chapter-hero .chapter-media img, .js .chapter-hero h1, .js .chapter-hero .chapter-support, .js .chapter-hero .actions, .home .site-head.is-solid { animation: none; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; }
  .js .fig:not(.is-in) .c-bar-h, .js .fig:not(.is-in) .c-bar-v { transform: none; }
  .js .fig:not(.is-in) .c-hand, .js .fig:not(.is-in) .c-pen { opacity: 1; }
}

@media print {
  .site-head, .site-foot, .report-cta { display: none; }
  body { background: #fff; font-size: 10.5pt; }
  .finding { break-inside: avoid; }
  .report section { margin-top: var(--s5); }
  .report-grid { box-shadow: none; border: 1px solid var(--line); }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.infographic.panel { max-width: 1040px; }

/* Pain section refinement (owner comment, 2026-11-12): tiles with icons, framed chart, larger document */
#pain { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%); }
.pain-head h2 { max-width: 16em; }
.pains { gap: var(--s4); border-bottom: 0; }
.pains > div { background: var(--sheet); border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 14px; padding: var(--s5); display: grid; grid-template-columns: 44px 1fr; column-gap: var(--s4); row-gap: 2px; align-items: start; box-shadow: 0 1px 2px rgba(11, 31, 58, 0.04); }
.pains > div::before { display: none; }
.pain-ic { grid-row: 1 / span 2; width: 44px; height: 44px; }
.pains dt { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.pains dd { grid-column: 2; font-size: 1.0625rem; margin-top: 2px; }
.fig-payback { background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; padding: var(--s5); margin: 0; }
.pain-doc .quote-sheet { font-size: 1rem; padding: 2rem 1.9rem 1.6rem; }
@media (min-width: 960px) { .pain-doc { position: sticky; top: calc(var(--head-h, 72px) + 24px); } }

/* Quote sheet refinement (owner comment, 2026-11-12): reads as a real proposal on a desk */
.pain-doc { position: relative; }
.pain-doc .quote-sheet { border-radius: 3px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 22px 48px -18px rgba(11, 31, 58, 0.30); background: linear-gradient(180deg, #ffffff 0%, #fdfcf9 100%); }
.pain-doc .quote-sheet::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #fff; border: 1px solid var(--line); border-radius: 3px; transform: rotate(2.4deg) translate(10px, 6px); box-shadow: 0 10px 24px -14px rgba(11, 31, 58, 0.25); }
.quote-head strong { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.15rem; }
.quote-logo { width: 22px; height: 22px; border-radius: 4px; background: #9aa3b2; box-shadow: 8px 8px 0 -3px #c9ced8; flex: none; margin-right: 6px; }
.quote-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.82rem; color: #6b6b6b; padding: 0.55rem 0 0.35rem; }
.quote-sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding-top: 1.5rem; }
.sign-line { flex: 1; border-top: 1px solid #2b2b2b; padding-top: 0.3rem; font-size: 0.8rem; color: #6b6b6b; max-width: 12rem; }
.sign-note { font-family: var(--hand, 'Kalam', cursive); color: var(--pen); font-size: 1.3rem; line-height: 1.1; transform: rotate(-4deg); white-space: nowrap; }
@media (max-width: 520px) { .sign-note { font-size: 1.1rem; white-space: normal; text-align: right; } }
#pain { overflow-x: clip; }
@media (max-width: 760px) { .pain-doc .quote-sheet::before { transform: rotate(1.6deg) translate(2px, 5px); } }

/* Payback figure (owner comment, 2026-11-12): larger, navy, animated */
.payback-fig { margin: 0; background: var(--navy, #0b1f3a); color: var(--on-dark, #f6f4ef); border-radius: 16px; padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 22px 48px -22px rgba(11, 31, 58, 0.55); }
.pf-title { font-family: var(--serif, 'Fraunces', Georgia, serif); font-weight: 360; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; margin-bottom: 1.4rem; color: #fff; }
.pf-row { margin-bottom: 1.25rem; }
.pf-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.5rem; }
.pf-label span { font-size: 1.0625rem; color: var(--on-dark-muted, #b7c0d0); }
.pf-label strong { font-family: var(--serif, 'Fraunces', Georgia, serif); font-weight: 360; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; color: #fff; white-space: nowrap; }
.pf-track { height: 22px; background: rgba(246, 244, 239, 0.12); border-radius: 4px; overflow: hidden; }
.pf-bar { height: 100%; width: var(--w); border-radius: 4px; transform-origin: left center; }
.pf-claim { background: var(--on-dark-muted, #b7c0d0); }
.pf-real { background: var(--sun, #f6b40e); }
.pf-axis { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--on-dark-muted, #b7c0d0); border-top: 1px solid rgba(246, 244, 239, 0.18); padding-top: 0.5rem; }
.pf-note { margin: 1.1rem 0 0; font-size: 1.0625rem; color: var(--on-dark, #f6f4ef); max-width: none; }
.js .payback-fig:not(.is-in) .pf-bar { transform: scaleX(0); }
.js .payback-fig:not(.is-in) .pf-label strong, .js .payback-fig:not(.is-in) .pf-note { opacity: 0; transform: translateY(8px); }
.payback-fig .pf-bar { transition: transform 1100ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.payback-fig .pf-real { transition-delay: 450ms; transition-duration: 1500ms; }
.payback-fig .pf-label strong, .payback-fig .pf-note { transition: opacity 500ms ease, transform 500ms ease; }
.payback-fig .pf-row:nth-of-type(1) .pf-label strong { transition-delay: 700ms; }
.payback-fig .pf-row:nth-of-type(2) .pf-label strong { transition-delay: 1500ms; }
.payback-fig .pf-note { transition-delay: 2000ms; }
@media (prefers-reduced-motion: reduce) { .payback-fig .pf-bar, .payback-fig .pf-label strong, .payback-fig .pf-note { transition: none; transform: none !important; opacity: 1 !important; } }
@media (min-width: 980px) { .payback-fig { grid-area: bars; } }

/* Rule changes as a timeline (owner comment, 2026-11-12) */
.changes { border-top: 0; position: relative; padding-left: 2rem; }
.changes::before { content: ''; position: absolute; left: 6px; top: 1.9rem; bottom: 2.2rem; width: 2px; background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 72%, transparent 72%), repeating-linear-gradient(180deg, var(--slate) 0 6px, transparent 6px 12px); }
.changes > li { position: relative; }
.changes > li::before { content: ''; position: absolute; left: calc(-2rem + 0px); top: calc(var(--s5) + 0.55rem); width: 14px; height: 14px; background: var(--sun, #f6b40e); border: 2px solid var(--ink); border-radius: 3px; }
.changes > li.is-next::before { background: var(--paper, #faf9f6); border-style: dashed; }
.changes > li.is-next time, .changes > li.is-next h3 { color: var(--slate); }
.changes > li:last-child { border-bottom: 0; }

/* Make-versus-use chart (owner comment, 2026-11-12): thick clean bars on navy, no pixel motif */
.makeuse-fig { margin: 0; background: var(--navy, #0b1f3a); color: var(--on-dark, #f6f4ef); border-radius: 16px; padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 22px 48px -22px rgba(11, 31, 58, 0.55); }
.makeuse-fig .pf-title { margin-bottom: 0.9rem; }
.mu-key { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: 0.9375rem; color: var(--on-dark-muted, #b7c0d0); margin-bottom: 1.2rem; }
.mu-key span { display: inline-flex; align-items: center; gap: 0.5rem; }
.mu-sw { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.mu-sw-solar { background: var(--sun, #f6b40e); } .mu-sw-use { background: #6f7f9c; }
.mu-plot { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(0.5rem, 1.6vw, 1.1rem); align-items: end; border-bottom: 1px solid rgba(246, 244, 239, 0.28); padding-top: 1.8rem; }
.mu-col { display: flex; flex-direction: column; align-items: center; }
.mu-bars { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: clamp(170px, 22vw, 230px); width: 100%; }
.mu-bar { flex: 1; max-width: 26px; height: var(--h); border-radius: 5px 5px 0 0; transform-origin: bottom center; position: relative; transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i) * 90ms); }
.mu-use { background: #6f7f9c; }
.mu-solar { background: var(--sun, #f6b40e); transition-delay: calc(var(--i) * 90ms + 250ms); }
.mu-tag { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: 0.875rem; font-weight: 600; color: var(--sun, #f6b40e); white-space: nowrap; transition: opacity 500ms ease 1400ms; }
.mu-x { font-size: 0.875rem; color: var(--on-dark-muted, #b7c0d0); padding: 0.5rem 0 0.6rem; white-space: nowrap; }
.mu-src { font-size: 0.875rem; color: var(--on-dark-muted, #b7c0d0); margin: 0.4rem 0 0; max-width: none; }
.js .makeuse-fig:not(.is-in) .mu-bar { transform: scaleY(0); }
.js .makeuse-fig:not(.is-in) .mu-tag, .js .makeuse-fig:not(.is-in) .pf-note { opacity: 0; }
.makeuse-fig .pf-note { transition: opacity 500ms ease 1700ms; }
@media (max-width: 480px) { .mu-x { font-size: 0.75rem; } .mu-tag { font-size: 0.75rem; } .mu-bars { gap: 3px; } }
@media (prefers-reduced-motion: reduce) { .makeuse-fig .mu-bar, .makeuse-fig .mu-tag, .makeuse-fig .pf-note { transition: none; transform-origin: bottom; opacity: 1 !important; } .js .makeuse-fig:not(.is-in) .mu-bar { transform: none; } }
.makeuse-fig { min-width: 0; } .mu-plot, .mu-col { min-width: 0; } .mu-x { font-size: 0.8125rem; } .mu-bars { gap: 3px; }
@media (min-width: 980px) { .mu-plot { gap: 0.5rem; } .mu-tag { font-size: 0.8125rem; } }
@media (min-width: 980px) { .mu-x { font-size: 0.75rem; letter-spacing: -0.01em; } }

/* Calculator refinement (owner comment, 2026-11-12): sliders and a navy result panel */
input.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 6px 0 0; padding: 0; border: 0; cursor: pointer; }
input.slider::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) 0 var(--fill, 50%), var(--line-deep, #d6d1c5) var(--fill, 50%) 100%); }
input.slider::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) 0 var(--fill, 50%), var(--line-deep, #d6d1c5) var(--fill, 50%) 100%); }
input.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--sun, #f6b40e); border: 3px solid var(--ink); box-shadow: 0 2px 6px rgba(11, 31, 58, 0.25); }
input.slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--sun, #f6b40e); border: 3px solid var(--ink); box-shadow: 0 2px 6px rgba(11, 31, 58, 0.25); }
input.slider:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
#calculator .result.panel { background: var(--navy, #0b1f3a); color: var(--on-dark, #f6f4ef); border: 0; border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 26px 56px -24px rgba(11, 31, 58, 0.6); }
#calculator .result h3 { font-family: var(--serif); font-weight: 360; font-size: 1.6rem; color: #fff; }
#calculator .r-row { border-bottom-color: rgba(246, 244, 239, 0.16); padding: 0.85rem 0; }
#calculator .r-row dt { color: var(--on-dark-muted, #b7c0d0); }
#calculator .r-row dd { color: #fff; font-size: 1.125rem; }
#calculator .r-row-lead dd { font-family: var(--serif); font-weight: 360; font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; font-variant-numeric: normal; }
#calculator .r-row-lead dt { align-self: center; font-size: 1.0625rem; }
#calculator .r-row-big dd { font-family: var(--serif); font-weight: 360; font-size: 1.9rem; line-height: 1.1; font-variant-numeric: normal; color: var(--sun, #f6b40e); }
#calculator .r-row-big { border-bottom: 0; align-items: center; }
#calculator .g-track { fill: rgba(246, 244, 239, 0.14); }
#calculator .g-band { fill: #6f7f9c; }
#calculator .g-marker rect { fill: var(--sun, #f6b40e); }
#calculator .gauge text { fill: var(--on-dark-muted, #b7c0d0); }
#calculator .verdict { background: rgba(246, 244, 239, 0.08); border-radius: 12px; padding: 1rem 1.1rem 1rem 2.4rem; color: #fff; margin-top: 1rem; }
#calculator .verdict::before { left: 1.1rem; top: 1.5em; }
#calculator .result .fine, #calculator .result .fine a { color: var(--on-dark-muted, #b7c0d0); }
#calculator .result :focus-visible { outline-color: var(--sun, #f6b40e); }
#calculator .r-row-lead dd { color: var(--sun, #f6b40e); }
#calculator .result.panel { background: linear-gradient(160deg, #10294b 0%, var(--navy, #0b1f3a) 55%, #071527 100%); }

/* Who pays us as a photo chapter with the words over the image (owner comment, 2026-11-12) */
.chapter-indep { min-height: clamp(460px, 70vh, 760px); display: flex; align-items: center; position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark, #f6f4ef); }
.chapter-indep .chapter-media { position: absolute; inset: 0; z-index: -2; }
.chapter-indep .chapter-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.chapter-indep::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 21, 39, 0.82) 0%, rgba(7, 21, 39, 0.66) 34%, rgba(7, 21, 39, 0.22) 58%, rgba(7, 21, 39, 0) 76%); }
.indep-copy { padding-block: clamp(3rem, 8vh, 6rem); }
.indep-copy > * { max-width: 31rem; }
.indep-copy h2 { color: #fff; text-shadow: 0 2px 18px rgba(7, 21, 39, 0.55), 0 1px 2px rgba(7, 21, 39, 0.5); }
.indep-copy .chapter-support { color: #f6f4ef; font-size: 1.2rem; line-height: 1.5; text-shadow: 0 1px 12px rgba(7, 21, 39, 0.6), 0 1px 2px rgba(7, 21, 39, 0.55); margin-top: 1rem; }
.indep-copy .link-action { color: #fff; text-decoration-color: var(--sun, #f6b40e); text-shadow: 0 1px 10px rgba(7, 21, 39, 0.6); }
.indep-copy p + p { margin-top: 1.25rem; }
@media (max-width: 1199px) { .chapter-indep::before { background: linear-gradient(0deg, rgba(7, 21, 39, 0.9) 0%, rgba(7, 21, 39, 0.72) 55%, rgba(7, 21, 39, 0.3) 100%); } .chapter-indep { align-items: flex-end; } }

/* Intake form refinement (owner comment, 2026-11-12) */
#intake-form.panel { border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 1px 2px rgba(11, 31, 58, 0.05), 0 26px 56px -26px rgba(11, 31, 58, 0.35); border: 1px solid var(--line); }
.plan-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.plan-card { position: relative; display: block; cursor: pointer; margin: 0; }
.plan-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.plan-card-body { display: grid; grid-template-columns: 1fr auto; row-gap: 2px; align-items: baseline; padding: 1rem 1.1rem; border: 1.5px solid var(--field-line, #8b8677); border-radius: 12px; background: #fff; transition: border-color 150ms, box-shadow 150ms, background 150ms; }
.plan-card-name { font-weight: 600; font-size: 1.0625rem; }
.plan-card-price { font-family: var(--serif); font-weight: 360; font-size: 1.6rem; line-height: 1; }
.plan-card-note { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--slate); font-weight: 400; }
.plan-card input:checked + .plan-card-body { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), 0 8px 20px -12px rgba(11, 31, 58, 0.4); background: linear-gradient(180deg, #fff 0%, #fbf7ec 100%); }
.plan-card input:checked + .plan-card-body .plan-card-name::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 0.5rem; background: var(--sun, #f6b40e); border: 1.5px solid var(--ink); border-radius: 2px; }
.plan-card input:focus-visible + .plan-card-body { outline: 3px solid var(--ink); outline-offset: 3px; }
.drop { position: relative; display: grid; justify-items: center; gap: 0.35rem; text-align: center; padding: 1.6rem 1rem; border: 1.5px dashed var(--field-line, #8b8677); border-radius: 14px; background: #fcfbf8; transition: border-color 150ms, background 150ms; }
.drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop img { width: 48px; height: 48px; }
.drop-main { font-weight: 600; font-size: 1.0625rem; }
.drop-main u { text-decoration-color: var(--sun, #f6b40e); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.drop-sub { font-size: 0.9375rem; color: var(--slate); }
.drop-files { font-size: 0.9375rem; color: var(--ink); font-weight: 500; word-break: break-word; }
.drop-small { padding: 1rem; }
.drop:hover, .drop.is-over { border-color: var(--ink); background: #fbf7ec; }
.drop.has-files { border-style: solid; border-color: var(--ink); background: #fff; }
.drop:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-wide { width: 100%; height: 56px; font-size: 1.0625rem; }
.form-safe { font-size: 0.9375rem; color: var(--slate); text-align: center; margin: 0.9rem auto 0; max-width: none; }
@media (max-width: 420px) { .plan-pick { grid-template-columns: 1fr; } }

/* Units inside calculator fields (owner request, 2026-11-12) */
.affix { position: relative; display: block; }
.affix-mark { position: absolute; top: 50%; transform: translateY(-50%); color: var(--slate); font-weight: 600; pointer-events: none; }
.affix-pre .affix-mark { left: 14px; } .affix-pre input { padding-left: 30px; }
.affix-suf .affix-mark { right: 14px; } .affix-suf input { padding-right: 56px; }
.affix input[type=number] { -moz-appearance: textfield; font-weight: 600; font-variant-numeric: tabular-nums; }
.affix input[type=number]::-webkit-outer-spin-button, .affix input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Three options and the comparison table (2026-11-12) */
.plan-free { box-shadow: none; border: 1px dashed var(--line-warm); background: transparent; }
@media (min-width: 980px) { .plans.plans-3 { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.94fr) minmax(0, 0.94fr); gap: var(--s5); } }
.compare-wrap { margin-top: var(--s7, 3rem); overflow-x: auto; background: #fff; border-radius: 16px; border: 1px solid var(--line-warm); box-shadow: 0 18px 40px -28px rgba(11, 31, 58, 0.35); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { padding: 0.85rem 1.1rem; text-align: center; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-weight: 600; background: var(--ink); color: #fff; vertical-align: bottom; }
.compare thead th small { display: block; font-family: var(--serif); font-weight: 360; font-size: 1.35rem; line-height: 1.15; color: var(--sun, #f6b40e); }
.compare th[scope=row], .compare thead th:first-child { text-align: left; font-weight: 500; }
.compare tbody td:last-child, .compare thead th:last-child { background-color: rgba(246, 180, 14, 0.09); }
.compare thead th:last-child { background: #12305a; }
.compare .tick { display: inline-block; width: 0.5rem; height: 0.95rem; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-2px, -2px); }
.plan-pick.plan-pick-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 620px) { .plan-pick.plan-pick-3 { grid-template-columns: 1fr; } }
.compare-wrap { min-width: 0; max-width: 100%; contain: inline-size; }
@media (max-width: 620px) { .compare { min-width: 500px; font-size: 0.9375rem; } .compare th, .compare td { padding: 0.7rem 0.7rem; } }
.compare-wrap { position: relative; }


/* ==========================================================================
   Learning section (2026-11-12): learn.html, rebates-and-incentives.html,
   how-solar-works.html, and the dated list on guides.html.
   Built by engine/build_learn.py. Uses existing tokens only. No new fonts.
   ========================================================================== */
/* A wider main column so figures and wide tables get room. Text keeps its reading measure. */
.prose.learn { max-width: 60rem; }
.prose.learn > p, .prose.learn > h1, .prose.learn > h2, .prose.learn > h3,
.prose.learn > ul.plain, .prose.learn > .faq, .prose.learn > table.tbl { max-width: 44rem; }
.prose.learn > .lede { max-width: 40rem; }

/* Figures: full width of the column, rounded, with a caption. */
.learn-figure { margin: var(--s6) 0 var(--s5); }
.learn-figure img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--r-media); background: var(--paper-deep); }
.learn-figure figcaption { max-width: 44rem; }
@media (max-width: 620px) { .learn-figure img { aspect-ratio: 3 / 2; border-radius: var(--r-panel); } }

/* Tables that may need to scroll sideways on a narrow screen. */
.learn-scroll { overflow-x: auto; max-width: 100%; }
.learn-min { min-width: 34rem; }
.learn-table { font-size: 0.9375rem; }
.learn-table th[scope=row] { font-size: 0.9375rem; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); min-width: 9rem; }
.learn-table td:last-child { white-space: nowrap; }
/* Under 860px each program becomes a card and each cell carries its column name. */
@media (max-width: 859px) {
  .learn-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .learn-table, .learn-table tbody, .learn-table tr, .learn-table th, .learn-table td { display: block; }
  .learn-table tr { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-panel); padding: var(--s4) var(--s4) var(--s2); margin-bottom: var(--s4); }
  .learn-table th[scope=row] { font-size: 1.125rem; border-bottom: 0; padding: 0 0 var(--s2); min-width: 0; }
  .learn-table td { border-bottom: 0; padding: var(--s2) 0; white-space: normal; }
  .learn-table td:last-child { white-space: normal; }
  .learn-table td::before { content: attr(data-label); display: block; font-size: 0.8125rem; font-weight: 600; color: var(--slate); }
}

/* Hub cards. */
.learn-grid { display: grid; gap: var(--s5); margin: var(--s5) 0 var(--s4); }
.learn-card { display: grid; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow 200ms var(--ease), border-color 200ms var(--ease); }
.learn-card:hover, .learn-card:focus-visible { box-shadow: var(--lift); border-color: var(--line-deep); }
.learn-card img { display: block; width: 100%; height: 100%; min-height: 180px; object-fit: cover; aspect-ratio: 3 / 2; background: var(--paper-deep); }
.learn-card-body { display: grid; gap: var(--s2); align-content: center; padding: var(--s5); }
.learn-card-title { font-family: var(--serif); font-weight: 360; font-size: 1.5rem; line-height: 1.2; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.learn-card-text { color: var(--slate); }
@media (min-width: 700px) { .learn-card { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } .learn-card img { aspect-ratio: auto; max-height: 240px; } }
.prose .learn-links { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: var(--s2); }
.learn-links a::before { content: 'Guide: '; color: var(--slate); }

/* Dated guide list on the hub, and the date under each title on guides.html. */
.prose .learn-guides { list-style: none; padding: 0; margin: var(--s4) 0 var(--s5); border-top: 1px solid var(--line); max-width: 52rem; }
.learn-guides li { display: grid; gap: var(--s1); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.learn-guides a { font-weight: 600; font-size: 1.125rem; }
.learn-guides time, .prose .guide-date { font-size: 0.875rem; color: var(--slate); font-variant-numeric: tabular-nums; }
.learn-guides span { color: var(--slate); }
.prose h2 + .guide-date { margin: calc(-1 * var(--s3)) 0 var(--s2); }

/* The main nav now has six links. Hide them a little earlier so the row never wraps. */
@media (max-width: 1080px) { .nav a:not(.btn) { display: none; } }
@media (min-width: 1081px) and (max-width: 1220px) { .nav { gap: var(--s5); } }

.plan-proof { margin: 0 0 var(--s5); padding: 0.8rem 1rem; background: rgba(246, 180, 14, 0.14); border-left: 3px solid var(--sun, #f6b40e); border-radius: 0 8px 8px 0; font-size: 0.9375rem; line-height: 1.45; }

/* Header menus: "Guides and info" dropdown on desktop, full menu on small screens (2026-11-12) */
.nav details { position: relative; }
.nav summary { list-style: none; cursor: pointer; padding-block: var(--s3); display: inline-flex; align-items: center; gap: 0.45rem; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ''; width: 0.45rem; height: 0.45rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform 150ms; }
.nav details[open] > summary::after { transform: rotate(-135deg) translate(-2px, -1px); }
.nav summary:hover { text-decoration: underline; }
.nav .nav-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; display: grid; grid-template-columns: repeat(2, minmax(13rem, 1fr)); gap: 0.25rem 2rem; padding: 1.25rem 1.5rem 1.4rem; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 48px -24px rgba(11, 31, 58, 0.45); text-align: left; }
.nav .nav-panel a:not(.btn) { display: block; padding: 0.5rem 0; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); line-height: 1.3; }
.nav .nav-panel a:not(.btn):hover { text-decoration: underline; }
.nav .nav-h { margin: 0 0 0.4rem; font-weight: 600; font-size: 0.9375rem; color: var(--slate); }
.nav .nav-menu { display: none; }
.nav .nav-menu > summary { border: 1.5px solid currentColor; border-radius: 999px; padding: 0.45rem 0.9rem; font-weight: 600; }
@media (max-width: 1080px) {
  .nav { gap: var(--s4); }
  .nav .nav-link, .nav .nav-drop { display: none; }
  .nav .nav-menu { display: block; }
  .nav .nav-menu .nav-panel { grid-template-columns: 1fr; width: min(20rem, calc(100vw - 2rem)); max-height: calc(100vh - 6rem); overflow-y: auto; gap: 1rem; }
}
@media (max-width: 420px) { .nav .btn-small { padding-inline: 0.8rem; font-size: 0.9375rem; } .nav .nav-menu > summary { padding: 0.4rem 0.7rem; } }
@media (max-width: 480px) {
  .head-row { gap: 0.5rem; }
  .nav { gap: 0.4rem; }
  .nav .btn-small { padding: 0.5rem 0.75rem; font-size: 0.875rem; white-space: nowrap; }
  .nav .nav-menu > summary { padding: 0.42rem 0.7rem; font-size: 0.875rem; }
  .nav .nav-menu > summary::after { display: none; }
  .site-head .brand-logo { height: 30px; width: auto; }
}
