/* ==========================================================================
   Australian Energy Network — shared design system, three brand themes
   No web fonts, no framework. System faces only.
   ========================================================================== */

:root {
  --shell: 1160px;
  --shell-narrow: 900px;
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;
  --radius-sm: 7px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(13, 23, 38, 0.05);
  --shadow: 0 14px 34px rgba(13, 23, 38, 0.08);
  --shadow-lg: 0 26px 60px rgba(13, 23, 38, 0.14);
  --head-weight: 800;
  --head-spacing: -0.025em;
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head, var(--font-sans));
  font-weight: var(--head-weight);
  letter-spacing: var(--head-spacing);
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

img,
svg {
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus, #ffbf47);
  outline-offset: 2px;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.shell--narrow {
  width: min(var(--shell-narrow), calc(100% - 40px));
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  transform: translateY(-200%);
  background: #fff;
  color: #101828;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  display: inline-block;
  vertical-align: -0.18em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-text, var(--brand));
}

.eyebrow__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.eyebrow--light {
  color: var(--accent);
}

.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--tag-bg);
  color: var(--tag-ink);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ---------- Buttons ---------- */

.button {
  --btn-bg: var(--accent);
  --btn-ink: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--btn-radius, var(--radius-sm));
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 750;
  font-size: 0.94rem;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.button .icon {
  transition: transform var(--transition);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--btn-bg) 30%, transparent);
  text-decoration: none;
}

.button:hover .icon {
  transform: translateX(2px);
}

.button:active {
  transform: translateY(0);
}

.button--small {
  padding: 9px 14px;
  font-size: 0.83rem;
}

.button--large {
  padding: 15px 24px;
  font-size: 1rem;
}

.button--primary,
.button--accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.button--ghost {
  background: transparent;
  color: var(--hero-ink, var(--ink));
  border-color: color-mix(in srgb, currentColor 34%, transparent);
}

.button--ghost:hover {
  border-color: currentColor;
  background: color-mix(in srgb, currentColor 8%, transparent);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand);
  text-decoration: none;
}

.text-link .icon {
  transition: transform var(--transition);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* ---------- Announcement ---------- */

.announcement {
  background: var(--announce-bg, var(--brand));
  color: var(--announce-ink, #fff);
  font-size: 0.8rem;
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 0;
  text-align: center;
}

.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.announcement a:hover {
  text-decoration: underline;
}

.announcement .icon {
  width: 14px;
  height: 14px;
}

.announcement__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.brand__mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: var(--mark-radius, var(--radius-sm));
  background: var(--brand);
  color: var(--brand-ink);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: auto -10% -58% -10%;
  height: 70%;
  background: var(--accent);
  transform: rotate(-8deg);
}

.brand__mark {
  isolation: isolate;
}

.brand__mark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 48%, transparent 86%, color-mix(in srgb, var(--brand) 20%, transparent));
}

.brand__mark {
  z-index: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
}

.brand__text strong {
  font-family: var(--font-head, var(--font-sans));
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__text small {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav > a:not(.button) {
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}

.site-nav > a:not(.button):hover {
  color: var(--ink);
  background: var(--surface-2);
}

.site-nav > a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-toggle__open,
.nav-toggle__close {
  align-items: center;
  gap: 6px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--hero-bg);
  color: var(--hero-ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--hero-overlay, none);
  opacity: var(--hero-overlay-opacity, 1);
}

.hero > .shell {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: clamp(2.2rem, 4.7vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: var(--hero-spacing, -0.035em);
  color: var(--hero-ink);
  max-width: 20ch;
  margin: 0 0 22px;
}

.hero__intro {
  max-width: 58ch;
  margin: 0 0 28px;
  color: var(--hero-muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 26px;
}

.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--hero-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero__chips .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.hero__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 62ch;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--hero-muted) 24%, transparent);
  color: color-mix(in srgb, var(--hero-muted) 88%, transparent);
  font-size: 0.78rem;
  line-height: 1.55;
}

.hero__note .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--accent);
}

.hero-panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-line);
  border-radius: var(--panel-radius, var(--radius-lg));
  padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  color: var(--panel-ink, var(--hero-ink));
}

.hero-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--panel-line);
  color: var(--panel-muted, var(--hero-muted));
}

.hero-panel__head .mono {
  font-size: 0.64rem;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--panel-muted, var(--hero-muted));
}

.live span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.stat-list {
  display: flex;
  flex-direction: column;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--panel-line);
}

.stat:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.stat__value {
  font-family: var(--font-head, var(--font-sans));
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--panel-accent, var(--accent));
}

.stat__label {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--panel-ink, var(--hero-ink));
}

.stat__note {
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.03em;
  color: var(--panel-muted, var(--hero-muted));
}

.hero-panel__foot {
  margin: 12px 0 0;
  color: var(--panel-muted, var(--hero-muted));
  font-size: 0.66rem;
  line-height: 1.5;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 24px 26px;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-item:last-child {
  padding-right: 0;
}

.trust-item__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--tag-bg);
  color: var(--brand);
}

.trust-item__icon .icon {
  width: 19px;
  height: 19px;
}

.trust-item h2 {
  font-size: 0.88rem;
  margin: 1px 0 4px;
  letter-spacing: -0.01em;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ---------- Sections & cards ---------- */

.section {
  padding: clamp(48px, 6.5vw, 78px) 0;
}

.section--tint {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head--wide {
  max-width: 840px;
}

.section-head h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  margin-bottom: 12px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.section-foot {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.section-intro {
  margin-bottom: 8px;
}

.section-intro p {
  max-width: 760px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  display: flex;
}

.card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.card__link::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--card-accent, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card__link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.card__link:hover::before {
  transform: scaleX(1);
}

.card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: var(--tag-bg);
  color: var(--brand);
}

.card__icon .icon {
  width: 21px;
  height: 21px;
}

.card h3 {
  font-size: 1.13rem;
  margin: 14px 0 8px;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
  margin: 0 0 20px;
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
}

.card__more .icon {
  transition: transform var(--transition);
}

.card__link:hover .card__more .icon {
  transform: translateX(3px);
}

/* ---------- Featured ---------- */

.section--featured {
  background: var(--brand);
  color: var(--brand-ink);
}

.featured {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.featured__intro h2 {
  color: var(--brand-ink);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  margin-bottom: 14px;
}

.featured__intro p:not(.eyebrow) {
  color: color-mix(in srgb, var(--brand-ink) 78%, transparent);
  font-size: 0.94rem;
}

.featured__intro .text-link {
  color: var(--accent-on-dark, var(--accent));
  margin-top: 6px;
}

.featured__list {
  display: flex;
  flex-direction: column;
}

.featured__list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 2px;
  border-top: 1px solid color-mix(in srgb, var(--brand-ink) 20%, transparent);
  color: var(--brand-ink);
  text-decoration: none;
  transition: padding var(--transition), background var(--transition);
}

.featured__list li:last-child a {
  border-bottom: 1px solid color-mix(in srgb, var(--brand-ink) 20%, transparent);
}

.featured__list a:hover {
  padding-left: 10px;
  background: color-mix(in srgb, var(--brand-ink) 5%, transparent);
}

.featured__list .rank {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-on-dark, var(--accent));
  flex: none;
}

.featured__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.featured__text strong {
  font-size: 0.95rem;
  line-height: 1.35;
}

.featured__text small {
  font-size: 0.76rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--brand-ink) 78%, transparent);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured__list .icon {
  color: var(--accent-on-dark, var(--accent));
}

/* ---------- Comparison table ---------- */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.table-wrap--comparison {
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}

thead th {
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 0.74rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 0;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:nth-child(even) {
  background: var(--surface-2);
}

tbody th {
  font-weight: 700;
  color: var(--ink);
  width: 22%;
}

td {
  color: var(--muted);
}

.table-wrap--comparison tbody th {
  color: var(--ink);
}

/* ---------- Process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.step {
  padding: 24px 24px 0 0;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step:not(:first-child) {
  padding-left: 24px;
}

.step__number {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Tools ---------- */

.section--tool {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.tool-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.tool-head > div {
  max-width: 700px;
}

.tool-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 10px;
}

.tool-head p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
  font-size: 0.94rem;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.tool-badge .icon {
  width: 15px;
  height: 15px;
  color: var(--brand);
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.calculator__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  padding: 28px;
  align-content: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field small {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.calculator__results {
  background: var(--brand);
  color: var(--brand-ink);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calculator__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brand-ink) 78%, transparent);
}

.calculator__big {
  margin: 6px 0 20px;
  font-family: var(--font-head, var(--font-sans));
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}

.calculator__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px 0;
  border-block: 1px solid color-mix(in srgb, var(--brand-ink) 20%, transparent);
}

.calculator__split span {
  display: block;
  font-size: 0.68rem;
  color: color-mix(in srgb, var(--brand-ink) 78%, transparent);
  margin-bottom: 3px;
}

.calculator__split strong {
  font-size: 1.08rem;
}

.meter {
  height: 5px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--brand-ink) 18%, transparent);
  margin: 18px 0 12px;
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: inherit;
  transition: width 300ms ease;
}

.calculator__note {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--brand-ink) 78%, transparent);
}

/* ---------- Safety checklist ---------- */

.checklist {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

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

.check-item {
  border-top: 1px solid var(--line);
}

.check-item label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 0;
  font-size: 0.86rem;
  line-height: 1.45;
  cursor: pointer;
  position: relative;
}

.check-item input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.check-item__box {
  width: 22px;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  color: transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  margin-top: 0;
}

.check-item__box .icon {
  width: 15px;
  height: 15px;
}

.check-item input:checked + .check-item__box {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
}

.check-item input:focus-visible + .check-item__box {
  outline: 3px solid var(--focus, #ffbf47);
  outline-offset: 2px;
}

.checklist__result {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.checklist__score {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-head, var(--font-sans));
  color: var(--brand);
}

.checklist__score span {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.checklist__score small {
  font-size: 0.8rem;
  color: var(--muted);
}

.checklist__result > div:nth-child(2) {
  flex: 1;
}

.checklist__verdict {
  margin: 0 0 3px;
  font-weight: 700;
  font-size: 0.92rem;
}

.checklist__advice {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.checklist__result .button {
  flex: none;
}

.checklist__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.checklist__note .icon {
  color: #b23b2e;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

/* ---------- FAQ ---------- */

.section--faq {
  border-top: 1px solid var(--line);
}

.faq-list {
  max-width: 900px;
  border-top: 2px solid var(--ink);
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  cursor: pointer;
  font-family: var(--font-head, var(--font-sans));
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--brand);
}

.faq__icon {
  width: 20px;
  height: 20px;
  flex: none;
  position: relative;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 9px 3px auto;
  height: 1.6px;
  background: currentColor;
  transition: transform var(--transition);
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq[open] .faq__icon::after {
  transform: rotate(0deg);
}

.faq__body {
  padding: 0 44px 20px 0;
}

.faq__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 74ch;
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    var(--cta-pattern, linear-gradient(120deg, transparent, transparent)),
    var(--brand-2, var(--brand));
  color: var(--brand-ink);
  padding: clamp(44px, 6vw, 66px) 0;
  position: relative;
  overflow: hidden;
}

.cta-band--compact {
  padding: clamp(36px, 4.5vw, 52px) 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band__inner > div:first-child {
  max-width: 720px;
}

.cta-band h2 {
  color: var(--brand-ink);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  margin-bottom: 10px;
}

.cta-band p:not(.eyebrow) {
  margin: 0;
  color: color-mix(in srgb, var(--brand-ink) 80%, transparent);
  font-size: 0.94rem;
  max-width: 62ch;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: none;
}

.cta-band__link {
  color: color-mix(in srgb, var(--brand-ink) 84%, transparent);
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer-bg, #0b1220);
  color: var(--footer-ink, #cdd6e4);
  padding-top: 58px;
  font-size: 0.85rem;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 40px;
  padding-bottom: 44px;
}

.brand--footer {
  color: #fff;
  margin-bottom: 16px;
}

.brand--footer .brand__text strong {
  color: #fff;
}

.brand--footer .brand__text small {
  color: var(--footer-muted, #93a1b5);
}

.footer__brand p {
  color: var(--footer-muted, #93a1b5);
  font-size: 0.8rem;
  line-height: 1.62;
  max-width: 46ch;
}

.footer__area {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer__area .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.footer__col h2 {
  color: var(--footer-head, #fff);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__col a {
  color: var(--footer-muted, #93a1b5);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer__col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__disclosure p {
  color: var(--footer-muted, #93a1b5);
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer__disclosure .text-link {
  color: var(--accent);
  font-size: 0.76rem;
}

.footer__bottom {
  border-top: 1px solid color-mix(in srgb, var(--footer-muted) 20%, transparent);
  padding: 20px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer__bottom p {
  margin: 0;
  color: color-mix(in srgb, var(--footer-muted) 82%, transparent);
  font-size: 0.7rem;
  line-height: 1.55;
}

.footer__legal {
  max-width: 100ch;
}

/* ---------- Page heads ---------- */

.page-head {
  background:
    var(--page-pattern, none),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(38px, 5vw, 60px) 0;
}

.page-head__inner {
  max-width: 900px;
}

.page-head h1 {
  font-size: clamp(2rem, 3.8vw, 3.05rem);
  margin-bottom: 14px;
}

.page-head__lede {
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}

.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-head__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-head__meta .icon {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 12px 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--line-strong);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.breadcrumbs [aria-current] {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 52ch;
}

/* ---------- Article ---------- */

.article-shell {
  max-width: 1160px;
}

.article__head {
  max-width: 900px;
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line);
}

.article__head h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.06;
  margin-bottom: 16px;
}

.article__lede {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
  max-width: 72ch;
  margin: 0;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article__meta .icon {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

.article__layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(30px, 4.5vw, 60px);
  padding: 38px 0 64px;
  align-items: start;
}

.article__body {
  max-width: 780px;
  font-size: 1.04rem;
  line-height: 1.72;
  min-width: 0;
}

.article__body > p,
.article__body > ul,
.article__body > ol {
  margin-bottom: 1.05em;
}

.article__body h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  margin: 2.2em 0 0.6em;
  scroll-margin-top: 100px;
}

.article__body h2:first-of-type {
  margin-top: 0.9em;
}

.article__body h3 {
  font-size: 1.16rem;
  margin: 1.8em 0 0.5em;
  scroll-margin-top: 100px;
}

.article__body h4 {
  font-size: 1rem;
  margin: 1.6em 0 0.4em;
}

.article__body ul,
.article__body ol {
  padding-left: 1.25em;
  margin-bottom: 1.25em;
}

.article__body li {
  list-style: disc;
  margin-bottom: 0.45em;
  padding-left: 0.2em;
}

.article__body ol li {
  list-style: decimal;
}

.article__body li::marker {
  color: var(--brand);
}

.article__body strong {
  color: var(--ink);
  font-weight: 700;
}

.article__body a:not(.heading-anchor) {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article__body a:not(.heading-anchor):hover {
  text-decoration-thickness: 2px;
}

.heading-anchor {
  margin-left: 0.35em;
  color: var(--line-strong);
  text-decoration: none;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--transition), color var(--transition);
}

h2:hover .heading-anchor,
h3:hover .heading-anchor,
.heading-anchor:focus {
  opacity: 1;
  color: var(--brand);
}

.article__body .table-wrap {
  margin: 1.6em 0;
}

.article__body table {
  font-size: 0.88rem;
}

.article__body thead th {
  background: var(--brand);
}

.article__body tbody th {
  width: auto;
}

.article__body blockquote {
  margin: 1.6em 0;
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--line-strong);
  color: var(--muted);
}

/* Callouts from render.mjs */
.callout {
  margin: 1.8em 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--callout-color, var(--brand));
  border-radius: var(--radius-sm);
  background: var(--callout-bg, var(--surface-2));
}

.callout p {
  margin: 0 0 0.55em;
  font-size: 0.94rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout__label {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--callout-color, var(--brand));
}

.callout--note {
  --callout-color: #3468a8;
  --callout-bg: #f2f6fc;
}

.callout--tip {
  --callout-color: #1f7351;
  --callout-bg: #f0f8f4;
}

.callout--important {
  --callout-color: #8a5f00;
  --callout-bg: #fdf8ea;
}

.callout--warning,
.callout--caution {
  --callout-color: #b23b2e;
  --callout-bg: #fdf3f1;
}

/* Takeaways */
.takeaways {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 2em;
  box-shadow: var(--shadow-sm);
}

.takeaways__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.takeaways__label .icon {
  width: 15px;
  height: 15px;
  color: var(--accent-text, var(--brand));
}

.takeaways ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.takeaways li {
  position: relative;
  padding-left: 19px;
  margin: 0;
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.55;
}

.takeaways li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

/* TOC */
.toc {
  position: sticky;
  top: 100px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.toc__label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
}

.toc a {
  display: block;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.42;
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -22px;
  padding-left: 20px;
  transition: color var(--transition), border-color var(--transition);
}

.toc a:hover {
  color: var(--brand);
  border-left-color: var(--accent);
}

.toc__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.toc__cta .icon {
  width: 15px;
  height: 15px;
}

/* Sources, related, note */
.sources {
  margin-top: 2.8em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
}

.sources h2,
.related h2 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.sources ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.sources li {
  list-style: none;
  margin: 0;
}

.sources a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.sources a .icon {
  width: 14px;
  height: 14px;
}

.sources p {
  color: var(--muted);
  font-size: 0.74rem;
}

.related {
  margin-top: 2.6em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
}

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

.related__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
}

.related__item:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.related__item strong {
  font-size: 0.84rem;
  line-height: 1.35;
}

.related__item > span:last-child {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editorial-note {
  margin-top: 2.6em;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

.editorial-note p {
  margin: 0 0 0.6em;
}

.editorial-note p:last-child {
  margin: 0;
}

.editorial-note strong {
  color: var(--ink);
}

/* ---------- Trust / prose pages ---------- */

.prose-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(38px, 5vw, 60px) 0 70px;
  align-items: start;
}

.prose {
  max-width: 760px;
}

.prose section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.prose__first {
  border-top: 0 !important;
  padding-top: 0 !important;
}

.prose h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.prose p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.prose__contact {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.prose__contact p {
  margin-bottom: 14px;
}

.prose-aside {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.prose-aside ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 18px;
}

.prose-aside li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.prose-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(36px, 5vw, 56px) 0 76px;
  align-items: start;
}

.lead-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.5vw, 34px);
  box-shadow: var(--shadow-sm);
}

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

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--brand);
  flex: none;
}

.consent a {
  color: var(--brand);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.form-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #a7d7bd;
  border-radius: var(--radius-sm);
  background: #eef9f2;
  color: #145c3b;
  font-size: 0.86rem;
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-color: #e6b6b0;
  background: #fdf2f0;
  color: #8c2f26;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 100px;
}

.aside-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.aside-card ol {
  counter-reset: aside;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.aside-card ol li {
  counter-increment: aside;
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.aside-card ol li::before {
  content: counter(aside, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--brand);
  font-weight: 700;
}

.aside-card--note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: var(--bg-2);
}

.aside-card--note .icon {
  color: #b23b2e;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
}

.aside-card--note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.tick-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}

.tick-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- Simple pages ---------- */

.simple-page {
  padding: clamp(60px, 9vw, 110px) 0;
}

.simple-page__inner {
  max-width: 680px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.simple-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tag-bg);
  color: var(--brand);
  margin-bottom: 20px;
}

.simple-icon .icon {
  width: 28px;
  height: 28px;
}

.simple-page h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 14px;
}

.simple-page p {
  color: var(--muted);
  max-width: 58ch;
}

.error-code {
  font-family: var(--font-mono) !important;
  font-size: clamp(3.4rem, 9vw, 6rem) !important;
  font-weight: 800;
  line-height: 1;
  color: var(--line-strong) !important;
  letter-spacing: -0.08em;
  margin: 0 0 4px !important;
}

.simple-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.simple-page__note {
  margin-top: 26px;
  font-size: 0.72rem !important;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.simple-page .button--ghost {
  color: var(--ink);
  border-color: var(--line-strong);
}

.simple-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 4px;
  text-align: left;
  width: min(100%, 420px);
}

.simple-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.86rem;
  text-decoration: none;
}

.simple-links a:hover {
  border-color: var(--brand);
}

/* ---------- Reading progress ---------- */

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  background: transparent;
  z-index: 100;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}

/* ==========================================================================
   Theme 1 — Electrician Adelaide
   Industrial navy, safety yellow, squared corners, hazard-stripe accents
   ========================================================================== */

.theme-electrician {
  --bg: #f3f4f6;
  --bg-2: #e9ecf1;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --ink: #0c1728;
  --muted: #526176;
  --line: #d8dee8;
  --line-strong: #b7c2d1;
  --brand: #0b1f3a;
  --brand-2: #102a4b;
  --brand-ink: #ffffff;
  --accent: #ffc400;
  --accent-ink: #1c1500;
  --accent-text: #7a5a06;
  --tag-bg: #fff2bf;
  --tag-ink: #6b5200;
  --focus: #ffc400;
  --announce-bg: #0b1f3a;
  --announce-ink: #f4f7fb;
  --hero-bg:
    linear-gradient(118deg, rgba(255, 196, 0, 0.09), transparent 42%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 15px),
    radial-gradient(1100px 420px at 88% -10%, #1a406f 0%, transparent 62%),
    #0b1f3a;
  --hero-ink: #f7f9fc;
  --hero-muted: #bdc9da;
  --panel-bg: #102a4b;
  --panel-line: #294a72;
  --panel-ink: #f4f7fb;
  --panel-muted: #9db0c9;
  --panel-accent: #ffc400;
  --footer-bg: #081729;
  --footer-ink: #cdd8e6;
  --footer-muted: #93a4ba;
  --footer-head: #ffffff;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --mark-radius: 4px;
  --btn-radius: 4px;
  --head-weight: 800;
  --head-spacing: -0.03em;
  --hero-spacing: -0.035em;
  --card-accent: #ffc400;
  --cta-pattern: repeating-linear-gradient(135deg, rgba(255, 196, 0, 0.06) 0 2px, transparent 2px 22px);
}

.theme-electrician .hero {
  border-bottom: 5px solid var(--accent);
}

.theme-electrician .hero h1 {
  text-wrap: balance;
}

.theme-electrician .eyebrow {
  color: var(--accent-text);
}

.theme-electrician .hero .eyebrow,
.theme-electrician .section--featured .eyebrow,
.theme-electrician .cta-band .eyebrow {
  color: var(--accent);
}

.theme-electrician .eyebrow__pulse {
  border-radius: 1px;
  transform: rotate(45deg);
  box-shadow: none;
}

.theme-electrician .section-head h2 {
  text-transform: none;
}

.theme-electrician .card h3 {
  font-weight: 800;
}

.theme-electrician .tag {
  border-radius: 3px;
}

.theme-electrician .brand__mark {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.theme-electrician .brand__mark::after {
  transform: rotate(-14deg);
}

.theme-electrician .page-head {
  background:
    repeating-linear-gradient(135deg, rgba(11, 31, 58, 0.025) 0 1px, transparent 1px 14px),
    var(--bg-2);
}

.theme-electrician .step__number,
.theme-electrician .toc__label {
  letter-spacing: 0.12em;
}

/* ==========================================================================
   Theme 2 — Home Solar
   Warm editorial cream, deep green, amber sun, serif headings, soft cards
   ========================================================================== */

.theme-homesolar {
  --bg: #f8f5ed;
  --bg-2: #f0ebdf;
  --surface: #fffdf8;
  --surface-2: #f8f4ea;
  --ink: #17342b;
  --muted: #596a61;
  --line: #e2dbcb;
  --line-strong: #c9c0ab;
  --brand: #145c46;
  --brand-2: #0e4534;
  --brand-ink: #fffdf8;
  --accent: #f2ab3c;
  --accent-on-dark: #ffd489;
  --accent-ink: #2a1a00;
  --accent-text: #81520d;
  --tag-bg: #fbeccf;
  --tag-ink: #7a4f0e;
  --focus: #d98d1f;
  --font-head: var(--font-serif);
  --head-weight: 600;
  --head-spacing: -0.018em;
  --hero-spacing: -0.022em;
  --radius-sm: 9px;
  --radius: 16px;
  --radius-lg: 22px;
  --mark-radius: 12px;
  --btn-radius: 999px;
  --announce-bg: #0e4534;
  --announce-ink: #fffdf8;
  --hero-bg:
    radial-gradient(900px 460px at 84% 8%, rgba(242, 171, 60, 0.28), transparent 55%),
    radial-gradient(700px 400px at 8% 100%, rgba(58, 131, 104, 0.32), transparent 60%),
    linear-gradient(160deg, #155d47 0%, #0f4837 58%, #0b3a2c 100%);
  --hero-ink: #fffdf8;
  --hero-muted: #c9dcd0;
  --panel-bg: rgba(255, 253, 248, 0.96);
  --panel-line: rgba(20, 92, 70, 0.16);
  --panel-ink: #17342b;
  --panel-muted: #65776d;
  --panel-accent: #145c46;
  --panel-radius: 20px;
  --footer-bg: #0b3025;
  --footer-ink: #e2ece5;
  --footer-muted: #a4b8aa;
  --footer-head: #fffdf8;
  --card-accent: #f2ab3c;
  --shadow-sm: 0 2px 6px rgba(23, 52, 43, 0.04);
  --shadow: 0 18px 40px rgba(23, 52, 43, 0.09);
  --cta-pattern:
    radial-gradient(560px 300px at 88% 0%, rgba(242, 171, 60, 0.22), transparent 60%),
    linear-gradient(120deg, transparent, transparent);
}

.theme-homesolar .hero h1 {
  font-weight: 600;
  max-width: 19ch;
}

.theme-homesolar .hero-panel .stat__value {
  font-family: var(--font-serif);
  font-weight: 700;
}

.theme-homesolar .site-header {
  background: color-mix(in srgb, #f8f5ed 93%, transparent);
}

.theme-homesolar .brand__text strong {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.12rem;
}

.theme-homesolar .brand__mark {
  font-family: var(--font-serif);
}

.theme-homesolar .brand__mark::after {
  background: #f2ab3c;
  transform: rotate(8deg);
  bottom: -64%;
}

.theme-homesolar .page-head {
  background:
    radial-gradient(640px 280px at 90% -30%, rgba(242, 171, 60, 0.18), transparent 65%),
    var(--bg-2);
}

.theme-homesolar .hero__chips .icon {
  color: #f2ab3c;
}

.theme-homesolar .hero .eyebrow,
.theme-homesolar .section--featured .eyebrow,
.theme-homesolar .cta-band .eyebrow {
  color: var(--accent-on-dark);
}

.theme-homesolar .card h3,
.theme-homesolar .step h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.18rem;
}

.theme-homesolar .trust-item__icon {
  border-radius: 50%;
}

.theme-homesolar .eyebrow {
  letter-spacing: 0.11em;
}

.theme-homesolar .button {
  font-weight: 700;
}

.theme-homesolar .faq summary {
  font-family: var(--font-serif);
  font-size: 1.06rem;
}

.theme-homesolar .article__body h2,
.theme-homesolar .article__body h3,
.theme-homesolar .section-head h2,
.theme-homesolar .tool-head h2,
.theme-homesolar .page-head h1 {
  font-family: var(--font-serif);
  font-weight: 600;
}

.theme-homesolar .article__body h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
}

.theme-homesolar .editorial-note,
.theme-homesolar .checklist__result {
  border-radius: var(--radius);
}

/* ==========================================================================
   Theme 3 — Best Solar
   Cool data white, cobalt blue, cyan, mono accents, comparison-led layout
   ========================================================================== */

.theme-bestsolar {
  --bg: #f5f7fb;
  --bg-2: #ecf0f8;
  --surface: #ffffff;
  --surface-2: #f7f9fd;
  --ink: #0f172a;
  --muted: #55627a;
  --line: #dbe2ef;
  --line-strong: #b9c5da;
  --brand: #1a3fd1;
  --brand-2: #102a91;
  --brand-ink: #ffffff;
  --accent: #3bd4ff;
  --accent-ink: #04202b;
  --accent-text: #0d6f95;
  --tag-bg: #e2f7ff;
  --tag-ink: #075a78;
  --focus: #29c2f0;
  --announce-bg: #0f172a;
  --announce-ink: #eef4ff;
  --hero-bg:
    linear-gradient(rgba(59, 212, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 212, 255, 0.055) 1px, transparent 1px),
    radial-gradient(900px 420px at 82% 0%, #1b3f9e 0%, transparent 60%),
    linear-gradient(160deg, #0c1730 0%, #0f1d3d 100%);
  --hero-bg-size: auto, 44px 44px, 44px 44px, auto, auto;
  --hero-ink: #f4f8ff;
  --hero-muted: #b7c5dd;
  --panel-bg: rgba(15, 29, 61, 0.72);
  --panel-line: rgba(59, 212, 255, 0.28);
  --panel-ink: #f4f8ff;
  --panel-muted: #9fb4d3;
  --panel-accent: #3bd4ff;
  --footer-bg: #0b1428;
  --footer-ink: #dbe6f7;
  --footer-muted: #93a5c0;
  --footer-head: #ffffff;
  --radius-sm: 8px;
  --radius: 13px;
  --radius-lg: 18px;
  --mark-radius: 10px;
  --btn-radius: 8px;
  --card-accent: #3bd4ff;
  --cta-pattern:
    linear-gradient(rgba(59, 212, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 212, 255, 0.06) 1px, transparent 1px);
}

.theme-bestsolar .cta-band {
  background-size: 40px 40px, 40px 40px, auto;
}

.theme-bestsolar .hero {
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.theme-bestsolar .hero h1 {
  letter-spacing: -0.04em;
  max-width: 21ch;
}

.theme-bestsolar .brand__text strong {
  letter-spacing: -0.025em;
}

.theme-bestsolar .brand__mark::after {
  background: #3bd4ff;
  transform: rotate(-10deg);
}

.theme-bestsolar .eyebrow,
.theme-bestsolar .tool-badge,
.theme-bestsolar .mono {
  letter-spacing: 0.1em;
}

.theme-bestsolar .page-head {
  background:
    linear-gradient(rgba(26, 63, 209, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 63, 209, 0.035) 1px, transparent 1px),
    var(--bg-2);
  background-size: 40px 40px, 40px 40px, auto;
}

.theme-bestsolar .card__link {
  border-top: 2px solid transparent;
}

.theme-bestsolar .card__link:hover {
  border-top-color: var(--accent-text);
}

.theme-bestsolar .stat__value {
  font-family: var(--font-mono);
  font-size: 1.72rem;
  letter-spacing: -0.04em;
}

.theme-bestsolar .table-wrap--comparison thead th {
  background: #0f172a;
}

.theme-bestsolar .article__body h2 {
  letter-spacing: -0.03em;
}

.theme-bestsolar .featured .eyebrow,
.theme-bestsolar .cta-band .eyebrow,
.theme-bestsolar .hero .eyebrow {
  color: var(--accent);
}

.theme-bestsolar .calculator__big {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.06em;
}

/* ==========================================================================
   Theme 4 — EV Australia
   Near-black, electric lime, grid lines, mono data accents
   ========================================================================== */

.theme-evaustralia {
  --bg: #f3f5f7;
  --bg-2: #e8edf1;
  --surface: #ffffff;
  --surface-2: #f6f8fa;
  --ink: #0d1418;
  --muted: #51616b;
  --line: #d7e0e6;
  --line-strong: #b3c2cc;
  --brand: #101418;
  --brand-2: #1b2228;
  --brand-ink: #ffffff;
  --accent: #c6f24a;
  --accent-on-dark: #d7ff6b;
  --accent-ink: #151d00;
  --accent-text: #4d6600;
  --tag-bg: #e8f7c4;
  --tag-ink: #3f5500;
  --focus: #a8d92e;
  --announce-bg: #101418;
  --announce-ink: #eef3f5;
  --hero-bg:
    linear-gradient(rgba(198, 242, 74, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 242, 74, 0.055) 1px, transparent 1px),
    radial-gradient(900px 440px at 84% 0%, rgba(198, 242, 74, 0.2), transparent 58%),
    linear-gradient(160deg, #0d1216 0%, #121a1f 60%, #0b1013 100%);
  --hero-ink: #f4f7f8;
  --hero-muted: #b7c3c9;
  --panel-bg: rgba(19, 26, 31, 0.8);
  --panel-line: rgba(198, 242, 74, 0.3);
  --panel-ink: #f4f7f8;
  --panel-muted: #a7b6bd;
  --panel-accent: #c6f24a;
  --footer-bg: #0b1013;
  --footer-ink: #dbe4e8;
  --footer-muted: #92a2aa;
  --footer-head: #ffffff;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --mark-radius: 8px;
  --btn-radius: 6px;
  --head-weight: 800;
  --head-spacing: -0.035em;
  --hero-spacing: -0.04em;
  --card-accent: #c6f24a;
  --cta-pattern:
    linear-gradient(rgba(198, 242, 74, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 242, 74, 0.06) 1px, transparent 1px);
}

.theme-evaustralia .hero {
  background-size: 44px 44px, 44px 44px, auto, auto;
  border-bottom: 4px solid var(--accent);
}

.theme-evaustralia .cta-band {
  background-size: 40px 40px, 40px 40px, auto;
}

.theme-evaustralia .hero h1 {
  max-width: 20ch;
}

.theme-evaustralia .brand__text strong {
  letter-spacing: -0.03em;
}

.theme-evaustralia .brand__mark::after {
  background: #c6f24a;
  transform: rotate(-10deg);
}

.theme-evaustralia .eyebrow,
.theme-evaustralia .tool-badge,
.theme-evaustralia .mono {
  letter-spacing: 0.1em;
}

.theme-evaustralia .eyebrow {
  color: var(--accent-text);
}

.theme-evaustralia .hero .eyebrow,
.theme-evaustralia .section--featured .eyebrow,
.theme-evaustralia .cta-band .eyebrow {
  color: var(--accent-on-dark);
}

.theme-evaustralia .stat__value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  letter-spacing: -0.05em;
}

.theme-evaustralia .page-head {
  background:
    linear-gradient(rgba(16, 20, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 24, 0.035) 1px, transparent 1px),
    var(--bg-2);
  background-size: 40px 40px, 40px 40px, auto;
}

.theme-evaustralia .card__link {
  border-top: 2px solid transparent;
}

.theme-evaustralia .card__link:hover {
  border-top-color: var(--accent-text);
}

.theme-evaustralia .featured .eyebrow,
.theme-evaustralia .cta-band .eyebrow {
  color: var(--accent-on-dark);
}

.theme-evaustralia .calculator__big {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.theme-evaustralia .article__body h2 {
  letter-spacing: -0.03em;
}

/* ==========================================================================
   Theme 5 — Heatworks
   Warm cream, deep plum, ember accent, generous rounded cards
   ========================================================================== */

.theme-heatworks {
  --bg: #fbf4ec;
  --bg-2: #f3e7da;
  --surface: #fffdf9;
  --surface-2: #f9f0e6;
  --ink: #2b1a17;
  --muted: #6b5750;
  --line: #e5d4c6;
  --line-strong: #cdb5a4;
  --brand: #3d243b;
  --brand-2: #2c182b;
  --brand-ink: #fffaf5;
  --accent: #f26b3a;
  --accent-on-dark: #ff9a73;
  --accent-ink: #2b0d00;
  --accent-text: #a43a16;
  --tag-bg: #fbe0d2;
  --tag-ink: #7a2f12;
  --focus: #e05a2b;
  --announce-bg: #3d243b;
  --announce-ink: #fffaf5;
  --hero-bg:
    radial-gradient(780px 420px at 86% 4%, rgba(242, 107, 58, 0.34), transparent 58%),
    radial-gradient(680px 380px at 4% 100%, rgba(255, 154, 115, 0.16), transparent 55%),
    linear-gradient(158deg, #452a42 0%, #351e33 56%, #281428 100%);
  --hero-ink: #fff8f3;
  --hero-muted: #e0c9c2;
  --panel-bg: rgba(255, 253, 249, 0.96);
  --panel-line: rgba(61, 36, 59, 0.16);
  --panel-ink: #2b1a17;
  --panel-muted: #6b5750;
  --panel-accent: #a43a16;
  --panel-radius: 22px;
  --footer-bg: #2a1829;
  --footer-ink: #f3e6df;
  --footer-muted: #c5aaa4;
  --footer-head: #ffffff;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --mark-radius: 14px;
  --btn-radius: 999px;
  --head-weight: 750;
  --head-spacing: -0.02em;
  --hero-spacing: -0.025em;
  --card-accent: #f26b3a;
  --shadow-sm: 0 2px 7px rgba(61, 36, 59, 0.05);
  --shadow: 0 18px 42px rgba(61, 36, 59, 0.1);
  --cta-pattern:
    radial-gradient(560px 300px at 88% 0%, rgba(242, 107, 58, 0.24), transparent 60%),
    linear-gradient(120deg, transparent, transparent);
}

.theme-heatworks .hero {
  border-bottom: 5px solid var(--accent);
}

.theme-heatworks .hero h1 {
  max-width: 20ch;
}

.theme-heatworks .brand__text strong {
  letter-spacing: -0.025em;
}

.theme-heatworks .brand__mark::after {
  background: #f26b3a;
  transform: rotate(12deg);
  bottom: -64%;
}

.theme-heatworks .eyebrow {
  color: var(--accent-text);
}

.theme-heatworks .hero .eyebrow,
.theme-heatworks .section--featured .eyebrow,
.theme-heatworks .cta-band .eyebrow {
  color: var(--accent-on-dark);
}

.theme-heatworks .page-head {
  background:
    radial-gradient(640px 280px at 90% -30%, rgba(242, 107, 58, 0.18), transparent 65%),
    var(--bg-2);
}

.theme-heatworks .stat__value {
  font-family: var(--font-head, var(--font-sans));
  font-weight: 750;
}

.theme-heatworks .trust-item__icon {
  border-radius: 50%;
}

.theme-heatworks .card h3,
.theme-heatworks .step h3 {
  letter-spacing: -0.015em;
  font-size: 1.15rem;
}

.theme-heatworks .faq summary {
  font-size: 1.04rem;
}

.theme-heatworks .article__body h2,
.theme-heatworks .article__body h3,
.theme-heatworks .section-head h2,
.theme-heatworks .tool-head h2,
.theme-heatworks .page-head h1 {
  font-weight: 750;
}

.theme-heatworks .editorial-note,
.theme-heatworks .checklist__result {
  border-radius: var(--radius);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 34px;
  }

  .hero-panel {
    padding: 20px;
  }

  .stat__value {
    font-size: 1.65rem;
  }

  .footer__top {
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
  }

  .footer__disclosure {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid color-mix(in srgb, var(--footer-muted) 18%, transparent);
  }

  .article__layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 34px;
  }

  .prose-page,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(13, 23, 38, 0.14);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.button) {
    padding: 13px 10px;
    font-size: 0.96rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    margin: 10px 0 0;
    padding: 13px 16px !important;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero h1 {
    max-width: 24ch;
  }

  .hero-panel {
    max-width: 560px;
  }

  .trust-strip ul {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px 0;
  }

  .trust-item:first-child {
    border-top: 0;
  }

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

  .featured {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .step {
    padding: 22px 22px 24px 0;
    border-bottom: 1px solid var(--line);
  }

  .step:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .step:not(:first-child) {
    padding-left: 22px;
  }

  .step:nth-child(2n + 1) {
    padding-left: 0;
  }

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

  .calculator__results {
    order: -1;
  }

  .article__layout {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 28px;
  }

  .toc {
    position: static;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    background: var(--surface);
    padding: 16px 18px;
  }

  .toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 20px;
    margin-bottom: 12px;
  }

  .toc a {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .toc__cta {
    display: none;
  }

  .prose-page,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .prose-aside,
  .contact-aside {
    position: static;
  }

  .contact-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .contact-aside .aside-card--note {
    grid-column: 1 / -1;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .cta-band__actions {
    align-items: flex-start;
  }

  .checklist__result {
    flex-wrap: wrap;
  }

  .checklist__result .button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(var(--shell), calc(100% - 32px));
  }

  .header__inner {
    min-height: 66px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__text strong {
    font-size: 0.97rem;
  }

  .brand__text small {
    display: none;
  }

  .hero {
    padding: 42px 0 48px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
  }

  .hero__actions .button {
    flex: 1 1 auto;
  }

  .hero__note {
    font-size: 0.74rem;
  }

  .card-grid--three,
  .card-grid--two {
    grid-template-columns: 1fr;
  }

  .section-head {
    margin-bottom: 26px;
  }

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

  .step,
  .step:not(:first-child),
  .step:nth-child(2n + 1) {
    padding: 20px 0 22px;
    border-right: 0;
  }

  .step:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .calculator__form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .calculator__results {
    padding: 24px;
  }

  .tool-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .checklist {
    padding: 20px;
  }

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

  .checklist__result {
    flex-direction: column;
    align-items: flex-start;
  }

  .checklist__score span {
    font-size: 2rem;
  }

  .checklist__result .button {
    width: 100%;
  }

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

  .toc ol {
    grid-template-columns: 1fr;
  }

  .article__head {
    padding: 24px 0 28px;
  }

  .article__body {
    font-size: 1rem;
  }

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

  .contact-aside {
    grid-template-columns: 1fr;
  }

  .contact-aside .aside-card--note {
    grid-column: auto;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 34px;
  }

  .footer__disclosure {
    grid-column: auto;
  }

  .page-head {
    padding: 34px 0;
  }

  .prose-page,
  .contact-layout {
    padding-bottom: 54px;
  }

  .faq__body {
    padding-right: 0;
  }

  .breadcrumbs [aria-current] {
    max-width: 38ch;
  }

  .cta-band__actions,
  .cta-band__actions .button {
    width: 100%;
  }

  .cta-band__actions {
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .announcement__inner {
    font-size: 0.72rem;
    text-align: left;
    justify-content: flex-start;
  }

  .announcement__dot {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__chips {
    gap: 7px 14px;
  }

  .hero-panel {
    padding: 18px;
  }

  .stat__value {
    font-size: 1.6rem;
  }

  .simple-page__actions {
    flex-direction: column;
    width: 100%;
  }

  .simple-page__actions .button {
    width: 100%;
  }

  .form-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .announcement,
  .site-header,
  .site-footer,
  .reading-progress,
  .cta-band,
  .toc,
  .breadcrumbs {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .article__layout {
    display: block;
  }

  .article__body {
    max-width: none;
  }

  a {
    color: #000;
  }
}
