@font-face {
  font-family: Manrope;
  src: url('manrope-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20BA;
}

@font-face {
  font-family: Manrope;
  src: url('manrope-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-024F;
}

:root {
  color-scheme: light;
  --paper: #f8f7ee;
  --white: #fff;
  --ink: #172d2a;
  --muted: #4d625d;
  --teal: #075b50;
  --deep: #133d36;
  --leaf: #e5f1e9;
  --line: #dbe3da;
  --gold: #f3cd72;
  font-family: Manrope, 'Segoe UI', sans-serif;
  font-size: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, summary, select { cursor: pointer; }
:focus-visible { outline: 3px solid #ae7005; outline-offset: 4px; }
section[id] { scroll-margin-top: 1rem; }

.container { width: min(100% - 3rem, 77rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: 1rem; left: 1rem; transform: translateY(-200%); padding: .6rem 1rem; background: var(--white); }
.skip-link:focus { transform: none; }
.site-header { background: var(--paper); border-bottom: 1px solid #e9e9de; }
.service-strip { background: var(--deep); color: var(--white); font-size: .87rem; font-weight: 800; }
.service-strip-inner { display: flex; flex-wrap: wrap; gap: .18rem 1rem; align-items: center; justify-content: space-between; padding-block: .43rem; }
.service-strip a, .footer-contact a { text-underline-offset: .22em; white-space: nowrap; }
.service-strip a:hover { color: var(--gold); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 4.85rem; }
.brand { text-decoration: none; display: inline-flex; flex: none; align-items: center; gap: .6rem; font-size: 1.28rem; font-weight: 800; letter-spacing: -.06em; }
.brand b { color: var(--teal); }
.main-nav, .footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 2.6vw, 2.15rem); }
.main-nav a, .footer-inner nav a, .footer-inner > a:not(.brand) { font-size: .92rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .footer-inner a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: .25em; }

.button { display: inline-flex; min-height: 3.15rem; align-items: center; justify-content: center; gap: .35rem; border: 1px solid transparent; border-radius: .58rem; padding: .7rem 1.14rem; font-size: .92rem; font-weight: 800; line-height: 1.35; text-decoration: none; text-align: center; transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.button-primary { background: var(--teal); color: var(--white); }
.button-primary:hover { background: #004138; }
.button-outline { border-color: #a1b3a8; background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--leaf); border-color: var(--teal); }
.header-inner .button { min-height: 2.72rem; }

.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 4vw, 4.1rem); min-height: 31rem; padding-block: 2.9rem 3.45rem; }
.hero-copy { position: relative; z-index: 1; padding-block: 1rem; }
.eyebrow { margin: 0 0 .82rem; color: var(--teal); font-size: .875rem; font-weight: 800; letter-spacing: .105em; }
h1, h2, h3 { line-height: 1.14; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.34rem, 4.32vw, 4.42rem); font-weight: 800; letter-spacing: -.079em; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-description { max-width: 32rem; margin: 1.27rem 0 1.65rem; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.hero-actions, .result-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-image { position: relative; min-width: 0; isolation: isolate; }
.hero-image::after { content: ''; position: absolute; z-index: -1; inset: 1rem -.88rem -.85rem 1rem; border-radius: 1rem 3.5rem 1rem 1rem; background: var(--gold); }
.hero-image img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: 51% 51%; background: #37524b; border-radius: 1rem 3.5rem 1rem 1rem; }

.section { padding-block: clamp(3.1rem, 6vw, 5.75rem); }
.section h2 { font-size: clamp(1.8rem, 3.25vw, 3.05rem); letter-spacing: -.065em; font-weight: 800; }
.section-heading { margin-bottom: 1.65rem; }
.section-heading > p:not(.eyebrow), .section-heading-action > div > p:not(.eyebrow) { margin: .48rem 0 0; color: var(--muted); }
.section-heading-action { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: .85rem 1.5rem; }
.services { padding-block: 3.25rem 3.7rem; }
.services h2 { font-size: clamp(1.65rem, 2.7vw, 2.45rem); }
.device-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .72rem; }
.device-card { text-decoration: none; font-size: .92rem; font-weight: 800; padding: 1.13rem .82rem .95rem; display: flex; min-height: 6.75rem; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: .8rem; border: 1px solid var(--line); border-radius: .85rem; }
.device-card:hover { background: #f5faf6; border-color: #599081; color: var(--teal); }
.device-icon { position: relative; display: grid; place-items: center; background: var(--leaf); color: var(--teal); width: 2.65rem; aspect-ratio: 1; border-radius: .6rem; }
.device-icon::before, .device-icon::after { content: ''; position: absolute; }
.device-icon::before { width: 1.05rem; height: 1.25rem; border: 2px solid currentColor; border-radius: .24rem; }
.device-icon::after { width: .55rem; height: .43rem; }
.washer::after { height: .55rem; border: 1.5px solid currentColor; border-radius: 50%; transform: translateY(.12rem); }
.fridge::after { width: 1rem; border-top: 2px solid currentColor; transform: translateY(.03rem); }
.dishwasher::after { width: .72rem; height: .44rem; border: 1.5px solid currentColor; border-radius: .07rem; transform: translateY(.1rem); }
.dryer::after { content: '≈'; font-size: .88rem; font-weight: 800; transform: translateY(-.5rem); }
.oven::after { width: .72rem; height: .51rem; border: 1.5px solid currentColor; border-radius: .10rem; transform: translateY(.18rem); }
.cooktop::before { width: 1.35rem; height: 1rem; }
.cooktop::after { width: .34rem; height: .34rem; border: 1px solid currentColor; border-radius: 50%; box-shadow: .43rem 0 0 -.045rem var(--leaf), .43rem 0 0 .02rem currentColor; transform: translateX(-.22rem); }
.aircon::before { width: 1.38rem; height: .61rem; border-radius: .2rem; transform: translateY(-.12rem); }
.aircon::after { width: 1rem; height: .42rem; border-bottom: 2px solid currentColor; border-radius: 45%; transform: translateY(.29rem); }
.other::before { width: 1.12rem; height: 1.12rem; transform: rotate(45deg); }
.other::after { width: .45rem; height: .45rem; border: 1.5px solid currentColor; border-radius: 50%; }

.boiler-section { padding-block: 2.65rem 3.3rem; background: var(--paper); }
.boiler-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }

.process { background: #eef4ec; }
.process-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(1.65rem, 6vw, 7rem); }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 2.5rem 1fr; align-items: start; gap: 1rem; padding-block: 1rem; border-top: 1px solid #cedbd1; }
.steps li:last-child { border-bottom: 1px solid #cedbd1; }
.steps li > span { display: grid; place-items: center; background: var(--white); color: var(--teal); font-weight: 800; aspect-ratio: 1; border-radius: 50%; }
.steps h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.03em; }
.steps p { margin: .2rem 0 0; color: var(--muted); }

.report { background: var(--deep); color: var(--white); }
.report-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.report-intro { max-width: 30rem; }
.report-intro .eyebrow { color: #f5d98c; }
.report-intro > p:not(.eyebrow) { margin: .75rem 0 0; color: #e3ede5; font-size: 1.05rem; }
.report-tip { margin-top: 1.5rem; padding: .85rem 1rem; border-left: 3px solid var(--gold); background: #214b44; border-radius: 0 .45rem .45rem 0; }
.report-tip p { margin: .2rem 0 0; color: #e0ebe2; }
.report-card { padding: clamp(1.05rem, 3vw, 2rem); background: var(--white); color: var(--ink); border-radius: .85rem; min-width: 0; }
.report-card form { display: grid; gap: 1rem; }
.report-card form .button { justify-self: start; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.field { display: flex; flex-direction: column; gap: .34rem; min-width: 0; }
.field label { font-size: .91rem; font-weight: 800; }
.field label span { color: var(--muted); font-weight: 600; }
.field :is(input, select, textarea) { width: 100%; min-height: 2.9rem; border: 1px solid #a9b9ad; border-radius: .45rem; background: #fcfefa; padding: .56rem .68rem; color: var(--ink); }
.field :is(input,textarea)::placeholder { color: #586b65; opacity: 1; }
.field select { appearance: none; padding-inline-end: 2rem; background-image: linear-gradient(45deg, transparent 50%, #3c5650 50%), linear-gradient(135deg, #3c5650 50%, transparent 50%); background-position: calc(100% - 16px) 51%, calc(100% - 11px) 51%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 6.2rem; }
.field-note { margin: 0; color: var(--muted); font-size: .89rem; }
.report-result h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.045em; }
.report-result pre { margin: 1rem 0; padding: 1rem; min-height: 7rem; background: #edf4ee; border-radius: .45rem; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.report-result .result-actions { margin-top: 1rem; }

.guide { background: var(--paper); }
.article-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.article-card { background: var(--white); border: 1px solid var(--line); border-top: .28rem solid #7cac98; border-radius: .7rem; padding: 1.15rem; display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.topic { color: var(--teal); font-size: .875rem; font-weight: 800; }
.article-card h3 { font-size: clamp(1.13rem, 1.65vw, 1.45rem); letter-spacing: -.035em; }
.article-card h3 a { text-decoration: none; }
.article-card h3 a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .22em; }
.article-card p { margin: 0 0 .25rem; color: var(--muted); }
.text-link { margin-top: auto; color: var(--teal); font-weight: 800; font-size: .9rem; text-underline-offset: .22em; }
.directory-all { display: inline-flex; margin-top: 1.25rem; }

.faq-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 1rem 2rem 1rem 0; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--teal); position: absolute; right: .2rem; top: .75rem; font-size: 1.35rem; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); margin: 0 1.2rem 1rem 0; }
.site-footer { background: #eef4ec; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.4rem; }
.footer-contact { display: grid; gap: .12rem; color: var(--teal); font-size: .87rem; font-weight: 800; }
.contact-card { max-width: 42rem; border: 1px solid var(--line); border-radius: .85rem; padding: clamp(1.2rem, 4vw, 2.15rem); background: var(--leaf); }
.contact-card h2 { font-size: clamp(1.38rem, 3.2vw, 2rem); letter-spacing: -.04em; }
.contact-card .text-link { display: inline-block; margin: .55rem .75rem; }
.contact-disclosure { margin: 1.2rem 0 0; padding-block-start: 1rem; border-block-start: 1px solid var(--line); color: var(--muted); }

.article-page { background: var(--paper); }
.article-layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(13rem, .88fr); align-items: start; gap: clamp(1.5rem, 6vw, 5.5rem); padding-block: clamp(2.5rem, 7vw, 5.75rem); }
.article-body { max-width: 48rem; }
.article-body h1 { font-size: clamp(2.45rem, 5vw, 4.35rem); }
.article-category { color: var(--teal); font-weight: 800; margin: 0 0 .65rem; }
.article-lead { color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.3rem); padding-bottom: 1.45rem; border-bottom: 1px solid var(--line); }
.article-body section { margin-top: 2rem; }
.article-body h2 { font-size: clamp(1.28rem, 2.25vw, 1.85rem); letter-spacing: -.045em; }
.article-body section p { margin: .55rem 0 0; }
.article-body section a, .article-side li a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.article-side { margin-top: 2.1rem; padding: 1.45rem; background: var(--leaf); border: 1px solid #d3e3d7; border-radius: .7rem; }
.article-side h2 { font-size: 1.24rem; letter-spacing: -.045em; }
.article-side ul { list-style: none; padding: 0; margin: .6rem 0 1.1rem; }
.article-side li { padding-block: .45rem; border-bottom: 1px solid #d3e3d7; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: .3rem .6rem; color: var(--muted); margin-bottom: clamp(1.1rem, 2.6vw, 1.8rem); font-size: .9rem; }
.breadcrumbs a { text-underline-offset: .2em; }
.breadcrumbs a:hover, .detail-copy a:hover, .detail-side a:not(.button):hover { color: var(--teal); }
.detail-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(1.6rem, 4.1vw, 3.55rem); }
.guide-detail .detail-hero { background: #edf4ed; }
.detail-hero h1 { max-width: 53rem; font-size: clamp(2.25rem, 4.6vw, 4rem); letter-spacing: -.06em; text-wrap: pretty; }
.detail-lead { max-width: 48rem; margin: .75rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.22rem); }
.detail-hero .button { margin-top: 1.2rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(13rem, .92fr); align-items: start; gap: clamp(1.45rem, 5.6vw, 5.4rem); padding-block: clamp(2rem, 5vw, 4.4rem); }
.detail-copy { min-width: 0; max-width: 48rem; }
.detail-copy section + section { margin-top: 2.1rem; }
.detail-copy h2, .directory-section h2 { font-size: clamp(1.35rem, 2.6vw, 1.92rem); letter-spacing: -.04em; }
.detail-copy p { margin: .65rem 0 0; }
.detail-copy ul { padding-inline-start: 1.3rem; }
.detail-copy li + li { margin-top: .34rem; }
.detail-copy a, .detail-side a:not(.button) { color: var(--teal); text-underline-offset: .19em; overflow-wrap: anywhere; }
.detail-faq h2 { margin-bottom: .8rem; }
.detail-faq details p { margin: 0 1.2rem 1rem 0; }
.detail-aside-card { padding: 1.15rem; background: var(--leaf); border: 1px solid #d3e3d7; border-radius: .75rem; }
.detail-aside-card + .detail-aside-card { margin-top: .9rem; }
.detail-aside-card h2 { font-size: 1.15rem; letter-spacing: -.025em; }
.detail-aside-card ul { list-style: none; margin: .5rem 0 0; padding: 0; }
.detail-aside-card li { padding-block: .6rem; }
.detail-aside-card li + li { border-top: 1px solid #cbded0; }
.detail-aside-card p { margin: .5rem 0 .85rem; }
.detail-aside-report { background: var(--paper); }
.code-tables { display: grid; gap: 1.2rem; margin-block: 1rem; }
.code-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.code-table caption { text-align: left; font-weight: 800; background: var(--leaf); color: var(--deep); border-radius: .55rem .55rem 0 0; padding: .7rem .85rem; }
.code-table thead { background: #f3f5f0; }
.code-table th, .code-table td { text-align: left; vertical-align: top; padding: .6rem .85rem; border-bottom: 1px solid var(--line); }
.code-table th[scope="row"] { color: var(--teal); min-width: 5rem; }
.directory-content { padding-block: clamp(2rem, 5vw, 4rem); }
.directory-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.directory-nav a { background: var(--leaf); color: var(--teal); border: 1px solid #ceded1; border-radius: .45rem; padding: .42rem .75rem; font-size: .9rem; font-weight: 800; text-decoration: none; }
.directory-nav a:hover { border-color: var(--teal); }
.directory-section + .directory-section { margin-top: 2.7rem; }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .82rem; margin-top: 1rem; }
.directory-card { display: flex; flex-direction: column; gap: .35rem; background: var(--white); color: inherit; border: 1px solid var(--line); border-radius: .75rem; padding: 1rem; text-decoration: none; }
.directory-card h3 { font-size: clamp(1.1rem, 1.65vw, 1.38rem); text-wrap: pretty; }
.directory-card p { margin: 0; color: var(--muted); }
.directory-card:hover { background: #f7fbf7; border-color: #639584; }
.directory-card:hover h3 { color: var(--teal); text-decoration: underline; text-underline-offset: .16em; }
.faq-page { max-width: 50rem; }

@media (max-width: 66rem) {
  .device-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { min-height: auto; }
}

@media (max-width: 50rem) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boiler-grid, .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { gap: 1.5rem; }
  .hero-copy { padding-block: 0; }
  .report-layout { grid-template-columns: 1fr; }
  .report-intro { max-width: 42rem; }
}

@media (max-width: 42rem) {
  .container { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; gap: .5rem .75rem; padding-block: .55rem; }
  .header-inner .brand img { width: 2.3rem; height: 2.3rem; }
  .main-nav { order: 3; width: 100%; padding-block: .2rem; gap: .6rem 1rem; }
  .main-nav a { font-size: .87rem; }
  .hero-grid, .process-layout, .faq-layout, .article-layout, .detail-layout { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 2.15rem 2.55rem; gap: 1.65rem; }
  .hero h1 { font-size: clamp(2.25rem, 8.7vw, 3.15rem); }
  .hero-image { margin-inline-end: .55rem; }
  .hero-image::after { inset: .6rem -.55rem -.55rem .6rem; }
  .hero-image img { aspect-ratio: 7 / 5; }
  .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-side { margin-top: 0; }
}

@media (max-width: 29rem) {
  .article-grid, .field-grid, .boiler-grid, .directory-grid { grid-template-columns: 1fr; }
  .hero-actions .button { min-height: 2.85rem; padding-inline: .7rem; }
  .code-table th, .code-table td { padding-inline: .53rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
