:root {
  --ink: #132b35;
  --ink-soft: #476069;
  --teal: #0a6b68;
  --teal-dark: #075653;
  --teal-light: #dff1eb;
  --sun: #f5b94a;
  --sun-soft: #fff0c8;
  --cream: #f7f4ec;
  --white: #ffffff;
  --line: #dbe4e2;
  --danger: #ae3d34;
  --shadow: 0 22px 70px rgba(10, 54, 54, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; line-height: 1.5; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.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; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 50; min-height: 72px; padding: 12px max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; gap: 34px; background: rgba(247, 244, 236, .92); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(19, 43, 53, .08); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.03em; font-size: 18px; white-space: nowrap; }
.brand sup { font-size: 8px; margin-left: 1px; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border: 2px solid var(--teal); border-radius: 50%; position: relative; }
.brand-mark::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 -16px 0 -5px var(--sun), 0 16px 0 -5px var(--sun), 16px 0 0 -5px var(--sun), -16px 0 0 -5px var(--sun); }
.site-header nav { display: flex; gap: 28px; margin-left: auto; }
.site-header nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 14px; }
.site-header nav a:hover { color: var(--teal); }

.button { border: 0; border-radius: 999px; min-height: 48px; padding: 0 22px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--teal); box-shadow: 0 9px 25px rgba(10,107,104,.22); }
.button-primary:hover { background: var(--teal-dark); }
.button-ghost { color: var(--teal); background: transparent; border: 1px solid rgba(10,107,104,.35); }
.button-small { min-height: 40px; padding: 0 17px; font-size: 13px; }
.button-sun { color: #163037; background: var(--sun); }
.button-sun:hover { background: #f8c560; }
.full-width { width: 100%; }
.text-link, .text-button { color: var(--teal); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-button { border: 0; background: transparent; cursor: pointer; padding: 10px 0; }

.hero { min-height: 670px; display: grid; grid-template-columns: 1.03fr .97fr; gap: 72px; align-items: center; padding-top: 70px; padding-bottom: 95px; }
.eyebrow { margin: 0 0 18px; display: flex; gap: 9px; align-items: center; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 800; color: var(--teal); }
.eyebrow > span { display: block; width: 26px; height: 2px; background: var(--sun); }
h1, h2, h3 { font-family: Manrope, sans-serif; margin-top: 0; }
h1 { max-width: 680px; margin-bottom: 24px; font-size: clamp(44px, 5.2vw, 72px); line-height: .99; letter-spacing: -.055em; }
.hero-lede { max-width: 610px; margin: 0; color: var(--ink-soft); font-size: 20px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 35px; color: var(--ink-soft); font-size: 12px; }
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-light); color: var(--teal); font-style: normal; font-size: 10px; font-weight: 800; }

.hero-visual { height: 500px; position: relative; border-radius: 180px 180px 28px 28px; overflow: hidden; background: linear-gradient(180deg, #d9eee8 0%, #afdad0 62%, #83b8aa 100%); box-shadow: var(--shadow); }
.hero-visual::after { content: ""; position: absolute; bottom: -100px; left: -8%; width: 116%; height: 190px; border-radius: 50% 50% 0 0; background: #5e8f7f; transform: rotate(-3deg); }
.sun-orbit { position: absolute; top: 65px; right: 72px; width: 88px; height: 88px; border: 1px solid rgba(245,185,74,.6); border-radius: 50%; display: grid; place-items: center; }
.sun { width: 55px; height: 55px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 12px rgba(245,185,74,.16), 0 0 55px rgba(245,185,74,.46); }
.home-illustration { position: absolute; z-index: 2; bottom: 57px; left: 50%; width: 300px; transform: translateX(-50%); }
.roof { position: relative; height: 120px; background: #1f5053; clip-path: polygon(50% 0, 100% 75%, 90% 75%, 90% 100%, 10% 100%, 10% 75%, 0 75%); }
.panels { position: absolute; display: grid; grid-template-columns: repeat(3, 40px); grid-template-rows: repeat(2, 30px); gap: 5px; top: 42px; left: 78px; transform: skewY(-1deg); }
.panels i { background: #214554; border: 1px solid #83aebb; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.house { height: 140px; margin: -30px 30px 0; position: relative; background: #f4e8cf; border-radius: 2px 2px 8px 8px; }
.window { position: absolute; left: 34px; top: 42px; width: 55px; height: 48px; background: #d5f0f1; border: 6px solid white; box-shadow: inset 0 0 0 1px #85aaa9; }
.door { position: absolute; right: 35px; bottom: 0; width: 52px; height: 84px; background: #926949; border: 6px solid #fefaf0; border-bottom: 0; }
.energy-card { position: absolute; z-index: 3; display: flex; gap: 11px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.65); border-radius: 16px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); box-shadow: 0 15px 30px rgba(19,43,53,.14); }
.energy-card .card-icon { width: 35px; height: 35px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: var(--sun-soft); }
.energy-card div { display: grid; }
.energy-card small { color: var(--ink-soft); font-size: 10px; }
.energy-card strong { font-family: Manrope, sans-serif; font-size: 16px; }
.energy-card div span { color: var(--ink-soft); font-size: 9px; }
.card-solar { top: 95px; left: 24px; }
.card-grid { right: 22px; bottom: 145px; }
.card-grid .card-icon { background: var(--teal-light); color: var(--teal); }
.visual-caption { position: absolute; z-index: 4; bottom: 19px; left: 28px; right: 28px; display: flex; justify-content: space-between; color: white; font-size: 12px; }
.visual-caption span { opacity: .83; }

.model-section { padding: 95px 0 105px; background: var(--ink); color: white; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; margin-bottom: 35px; }
.section-heading h2, .journey h2 { max-width: 700px; margin-bottom: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.04em; }
.section-heading > p { max-width: 500px; margin: 0 0 7px; color: #b8cbcf; font-size: 16px; }
.eyebrow.light { color: #8cd1c2; }
.model-card { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .65fr); overflow: hidden; border-radius: 26px; background: white; color: var(--ink); box-shadow: 0 26px 75px rgba(0,0,0,.22); }
.model-inputs { padding: 34px 40px 28px; }
.step-tabs { margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; list-style: none; border-bottom: 1px solid var(--line); }
.step-tab { width: 100%; padding: 0 8px 17px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #71858b; background: transparent; border: 0; border-bottom: 3px solid transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.step-tab span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #eaf0ee; font-size: 11px; }
.step-tab.active { color: var(--teal); border-bottom-color: var(--teal); }
.step-tab.active span { background: var(--teal); color: white; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset legend { padding: 0; font-family: Manrope, sans-serif; font-size: 25px; font-weight: 800; letter-spacing: -.025em; }
.panel-intro { margin: 6px 0 25px; color: var(--ink-soft); font-size: 14px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.field { display: grid; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 700; }
.field > span { display: flex; align-items: center; gap: 6px; }
.info { width: 17px; height: 17px; padding: 0; border: 1px solid #9cb0b5; border-radius: 50%; background: white; color: #748a90; cursor: help; font-size: 10px; font-weight: 800; }
.input-unit { min-height: 48px; display: flex; align-items: center; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfb; }
.input-unit:focus-within, .field input:focus, .field select:focus { outline: 2px solid rgba(10,107,104,.22); border-color: var(--teal); }
.input-unit input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-weight: 700; }
.input-unit i, .input-unit em { color: #6d8288; font-style: normal; font-weight: 500; white-space: nowrap; }
.inline-note, .plan-preview { margin-top: 22px; padding: 14px 16px; display: flex; align-items: flex-start; gap: 12px; border-radius: 12px; color: var(--ink-soft); background: var(--teal-light); font-size: 12px; }
.inline-note > span, .plan-preview > span { color: var(--teal); font-weight: 800; }
.inline-note p, .plan-preview p { margin: 0; }
.inline-note b { color: var(--ink); }
.window-time-row { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.field.compact { max-width: 170px; }
.field > input, .field > select { width: 100%; min-height: 47px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfb; color: var(--ink); }
.time-arrow { padding-bottom: 13px; color: var(--teal); }
.rate-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rate-row { min-height: 52px; display: grid; grid-template-columns: 1.2fr .8fr 1fr; align-items: center; gap: 8px; padding: 7px 14px; border-top: 1px solid var(--line); font-size: 12px; }
.rate-row:first-child { border-top: 0; }
.rate-head { min-height: 34px; background: #f5f8f6; color: #75898e; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.rate-row > span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.rate-row label { display: flex; align-items: center; gap: 4px; min-height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; }
.rate-row input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); font-weight: 700; }
.rate-row i, .rate-row em { color: #75898e; font-style: normal; white-space: nowrap; }
.rate-row .rate-dot { width: 8px; height: 8px; border-radius: 50%; }
.rate-dot.peak { background: #d55b45; }
.rate-dot.partial { background: var(--sun); }
.rate-dot.offpeak { background: var(--teal); }
.rate-dot.export { background: #7798cc; }
.rate-row .calculated { background: #f5f8f6; }
.rate-row .muted { color: #7d9095; font-size: 10px; }
.field-error { margin: 9px 0 0; color: var(--danger); font-size: 12px; font-weight: 700; }
.preset-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.preset { padding: 11px; display: grid; gap: 1px; text-align: left; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white; cursor: pointer; }
.preset b { font-size: 12px; }
.preset span { color: #71868b; font-size: 9px; }
.preset.active { border-color: var(--teal); background: var(--teal-light); box-shadow: inset 0 0 0 1px var(--teal); }
.slider-stack { display: grid; gap: 15px; }
.slider-field { display: grid; gap: 5px; }
.slider-field > span { display: flex; justify-content: space-between; gap: 14px; font-size: 11px; }
.slider-field output { color: var(--teal); font-weight: 800; }
input[type="range"] { width: 100%; accent-color: var(--teal); }
.form-footer { min-height: 61px; margin-top: 28px; padding-top: 19px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid var(--line); }
.form-footer > div { display: flex; gap: 9px; }

.results-panel { padding: 37px 30px 27px; color: white; background: #0c6461; }
.results-kicker { margin-bottom: 8px; color: #a5dfd2; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 800; }
.results-panel h3 { margin-bottom: 4px; font-size: 22px; letter-spacing: -.02em; }
.results-note { margin: 0 0 26px; color: #b6dad5; font-size: 11px; }
.cost-comparison { display: grid; gap: 17px; }
.cost-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: end; }
.cost-item span { color: #d3e9e5; font-size: 11px; }
.cost-item strong { font-family: Manrope, sans-serif; font-size: 23px; }
.cost-bar { grid-column: 1 / -1; height: 6px; overflow: hidden; border-radius: 6px; background: rgba(255,255,255,.16); }
.cost-bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: #b7d4cf; transition: width .35s ease; }
.cost-item.plan .cost-bar i { background: var(--sun); }
.delta-card { margin: 25px 0 18px; padding: 19px; display: grid; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(3,49,50,.24); }
.delta-card span { color: #cce4df; font-size: 11px; }
.delta-card strong { margin: 2px 0; color: var(--sun); font-family: Manrope, sans-serif; font-size: 35px; letter-spacing: -.03em; }
.delta-card small { color: #a8d0ca; font-size: 10px; }
.result-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.result-metrics div { padding: 12px; display: grid; border-radius: 10px; background: rgba(255,255,255,.08); }
.result-metrics span { color: #c8e2de; font-size: 10px; }
.result-metrics b { margin: 2px 0; font-family: Manrope, sans-serif; font-size: 18px; }
.result-metrics small { color: #9cc9c2; font-size: 9px; }
.results-panel details { margin: 17px 0 13px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.results-panel summary { display: flex; justify-content: space-between; cursor: pointer; color: #d8eae7; font-size: 11px; font-weight: 700; list-style: none; }
.results-panel details[open] summary span { transform: rotate(45deg); }
.detail-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-grid span { display: grid; color: #a8cfca; font-size: 9px; }
.detail-grid b { margin-top: 2px; color: white; font-size: 11px; }
.disclaimer { color: #a4cbc6; font-size: 9px; line-height: 1.5; }

.journey { padding-top: 110px; padding-bottom: 115px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: center; }
.journey-intro > p:not(.eyebrow) { max-width: 470px; margin: 25px 0 28px; color: var(--ink-soft); font-size: 16px; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.journey-grid article { min-height: 190px; padding: 18px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 10px 30px rgba(19,43,53,.05); }
.journey-grid article > span { position: absolute; top: 10px; right: 12px; color: #dbe7e4; font-family: Manrope, sans-serif; font-size: 25px; font-weight: 800; }
.journey-icon { width: 37px; height: 37px; margin-bottom: 25px; display: grid; place-items: center; border-radius: 11px; color: var(--teal); background: var(--teal-light); font-size: 18px; font-weight: 800; }
.journey-grid article:nth-child(3n+1) .journey-icon { background: var(--sun-soft); color: #a36d06; }
.journey-grid h3 { margin-bottom: 6px; font-size: 14px; }
.journey-grid p { margin: 0; color: var(--ink-soft); font-size: 11px; }

footer { min-height: 100px; padding: 25px max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; gap: 28px; color: #bed0d3; background: var(--ink); font-size: 11px; }
.footer-brand { color: white; }
footer p:nth-of-type(1) { margin-right: auto; }

dialog { width: min(580px, calc(100% - 28px)); padding: 32px; color: var(--ink); border: 0; border-radius: 22px; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(7,30,34,.65); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 15px; right: 17px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #eff4f2; color: var(--ink); font-size: 20px; cursor: pointer; }
dialog h2 { margin-bottom: 8px; font-size: 31px; letter-spacing: -.035em; }
dialog > p:not(.eyebrow) { margin: 0 0 22px; color: var(--ink-soft); font-size: 13px; }
.dialog-fields { margin-bottom: 15px; }
.request-preview { min-height: 100px; margin: 19px 0 13px; padding: 14px; white-space: pre-wrap; border: 1px dashed #aac1bd; border-radius: 11px; background: #f6f9f7; color: var(--ink-soft); font-size: 11px; }
.copy-status { min-height: 20px; display: block; padding-top: 8px; text-align: center; color: var(--teal); font-size: 11px; font-weight: 700; }
.tooltip { position: fixed; z-index: 100; max-width: 240px; padding: 9px 11px; color: white; background: var(--ink); border-radius: 8px; box-shadow: 0 9px 30px rgba(0,0,0,.25); font-size: 10px; pointer-events: none; }

@media (max-width: 960px) {
  .site-header nav { display: none; }
  .site-header .button { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 45px; }
  .hero-copy { padding-top: 25px; }
  .hero-visual { width: min(650px, 100%); justify-self: center; }
  .model-card { grid-template-columns: 1fr; }
  .results-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .results-panel > .results-kicker, .results-panel > h3, .results-panel > .results-note, .results-panel > .full-width { grid-column: 1 / -1; }
  .results-panel details, .results-panel .disclaimer { grid-column: 1 / -1; }
  .journey { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 64px; padding: 10px 14px; }
  .site-header > .button { display: none; }
  .hero { min-height: auto; padding-top: 50px; padding-bottom: 65px; }
  h1 { font-size: 43px; }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-visual { height: 415px; border-radius: 130px 130px 24px 24px; }
  .home-illustration { width: 255px; bottom: 50px; }
  .card-solar { top: 75px; left: 12px; }
  .card-grid { right: 10px; bottom: 125px; }
  .visual-caption { align-items: flex-start; flex-direction: column; }
  .model-section { padding: 70px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 17px; }
  .model-inputs { padding: 24px 18px 18px; }
  .step-tab { padding-inline: 2px; font-size: 0; }
  .step-tab span { font-size: 11px; }
  .field-grid { grid-template-columns: 1fr; }
  .rate-row { grid-template-columns: 1.1fr .75fr 1.15fr; padding-inline: 8px; }
  .rate-row em { font-size: 9px; }
  .preset-group { grid-template-columns: 1fr; }
  .preset { grid-template-columns: 1fr 1fr; }
  .form-footer { align-items: flex-start; flex-direction: column-reverse; }
  .form-footer > div { width: 100%; }
  .form-footer .button { flex: 1; padding-inline: 12px; }
  .results-panel { grid-template-columns: 1fr; padding: 28px 20px; }
  .results-panel > * { grid-column: 1 !important; }
  .journey { padding-top: 75px; padding-bottom: 80px; }
  .journey-grid { grid-template-columns: 1fr 1fr; }
  footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  footer p { margin: 0; }
  dialog { padding: 28px 20px 20px; }
}

@media (max-width: 420px) {
  .journey-grid { grid-template-columns: 1fr; }
  .journey-grid article { min-height: 155px; }
  .energy-card { transform: scale(.9); }
}

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

/* Keep the calculator and assessment usable on touch screens. */
#model, #journey { scroll-margin-top: 110px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.hero-copy, .model-inputs, .results-panel, .journey-intro { min-width: 0; }
dialog { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.request-preview { overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .site-header { flex-wrap: wrap; gap: 8px 20px; }
  .site-header nav { display: flex; width: 100%; order: 3; margin-left: 0; gap: 20px; }
  .site-header nav a { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 680px) {
  .site-header { gap: 0; }
  .site-header nav { justify-content: space-between; gap: 12px; }
  .site-header nav a { font-size: 14px; }
  .hero { padding-top: 28px; gap: 28px; }
  .hero-copy { padding-top: 0; }
  h1 { font-size: clamp(32px, 9vw, 43px); line-height: 1.08; }
  .hero-actions .button { width: 100%; }
  .hero-visual { height: 340px; }
  .sun-orbit { top: 32px; right: 30px; }
  .card-solar { top: 55px; }
  .step-tabs { gap: 4px; margin-bottom: 24px; }
  .step-tabs li { min-width: 0; }
  .step-tab { min-height: 76px; padding: 8px 2px 12px; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.25; }
  .step-tab span { flex-shrink: 0; font-size: 13px; }
  .field, .panel-intro, .inline-note, .plan-preview, .slider-field > span { font-size: 14px; }
  input:not([type="range"]), select { font-size: 16px; }
  .info { width: 28px; height: 28px; font-size: 13px; flex-shrink: 0; }
  .field > span { flex-wrap: wrap; }
  .window-time-row .field { flex: 1; min-width: 0; }
  .rate-row { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 6px; font-size: 13px; }
  .rate-row > span:first-child { flex-wrap: wrap; gap: 4px; }
  .rate-row label { padding-inline: 5px; min-width: 0; min-height: 46px; }
  .rate-head { font-size: 10px; letter-spacing: 0; }
  .rate-row em { font-size: 11px; }
  .rate-row .muted { font-size: 12px; }
  .preset { min-height: 48px; gap: 8px; }
  .preset b, .preset span { font-size: 14px; }
  .slider-field > span { flex-wrap: wrap; gap: 4px 10px; }
  .slider-field output { white-space: nowrap; }
  input[type="range"] { min-height: 44px; margin: 0; }
  .text-button, .text-link { min-height: 44px; display: inline-flex; align-items: center; }
  .cost-item { grid-template-columns: minmax(0, 1fr) auto; }
  .cost-item span, .results-note, .delta-card span, .result-metrics span, .results-panel summary { font-size: 14px; }
  .delta-card small, .result-metrics small, .detail-grid span, .disclaimer { font-size: 12px; }
  .detail-grid b { font-size: 14px; }
  .results-panel summary { min-height: 44px; align-items: center; }
  .results-panel .button { padding: 12px 16px; }
  .journey-grid p { font-size: 14px; }
  .journey-grid h3 { font-size: 16px; }
  dialog { padding-top: 48px; }
  .dialog-close { width: 44px; height: 44px; top: 8px; right: 8px; }
  dialog h2 { font-size: 27px; }
  dialog > p:not(.eyebrow), .request-preview, .copy-status { font-size: 14px; }
}

@media (max-width: 360px) {
  .model-inputs { padding-inline: 12px; }
  .rate-row { grid-template-columns: minmax(0, .9fr) minmax(0, .75fr) minmax(0, 1.35fr); padding-inline: 5px; }
  .brand { font-size: 16px; }
  .results-panel { padding-inline: 16px; }
}
