/* Readability scale: preserve the visual hierarchy without shrinking supporting text. */
:root {
  --text-body: 16px;
  --text-small: 14px;
  --text-caption: 12px;
}

body { font-size: var(--text-body); }
.button, .text-link { font-size: 15px; }
.button.small { font-size: 14px; }
.eyebrow,
.hero-copy .eyebrow,
.section-heading .eyebrow,
.about-copy .eyebrow,
.contact-copy .eyebrow,
.dialog-header .eyebrow {
  font-size: 12px;
  letter-spacing: 1.5px;
  line-height: 1.8;
}
.brand { width: 210px; }
.brand > span {
  font-size: 11.5px;
  letter-spacing: 1.1px;
  line-height: 1.7;
  color: #b8c3d4;
  margin-top: 7px;
}
.nav-bar { gap: 24px; min-height: 104px; }
nav { gap: 21px; }
nav > a { font-size: 16px; font-weight: 500; color: #b8c3d4; }
.nav-button { font-size: 14px; min-height: 46px; padding: 11px 17px; gap: 12px; }
.hero-grid { grid-template-columns: .9fr 1.1fr; gap: 44px; }
.hero-description { font-size: 17px; color: #abb8cb; }
.hero-actions { flex-wrap: wrap; row-gap: 18px; }
.hero-actions > .button { font-size: 14px; line-height: 1.8; padding: 13px 19px; }
.hero-actions > .text-link { font-size: 14px; }
.hero-footnotes { font-size: 14px; flex-wrap: wrap; gap: 12px 22px; color: #abb8cb; }
.hero-footnotes .check { width: 17px; height: 17px; font-size: 11px; }
.capability-strip { font-size: 12px; letter-spacing: 1px; gap: 24px; line-height: 1.8; }
.capability-strip b { font-size: 12px; }

/* The dashboard is a readable preview, rather than a miniature screenshot. */
.dashboard { padding: 24px; }
.dashboard-topline { font-size: 13px; color: #acbad0; }
.dashboard-brand { font-size: 16px; gap: 9px; }
.dashboard-brand small { font-size: 10px; letter-spacing: 1.1px; color: #a2b2ca; }
.dashboard-brand svg { width: 22px; }
.dashboard-toolbar { gap: 16px; padding-bottom: 20px; }
.segmented button { font-size: 14px; min-height: 39px; padding: 7px 17px; }
.dashboard-heading { margin-block: 22px 19px; gap: 16px; }
.dashboard-heading p { font-size: 14px; color: #aebdd1; margin-bottom: 5px; }
.dashboard-heading h2 { font-size: 20px; line-height: 1.6; }
.metrics { grid-template-columns: 1fr 1fr 1fr; gap: 10px; align-items: stretch; }
.metric { padding: 15px 12px; min-height: 148px; }
.metric-label {
  font-size: 12px;
  line-height: 1.7;
  white-space: normal;
  align-items: flex-start;
  min-height: 3.4em;
  color: #bdc9da;
}
.metric-label svg { width: 12px; height: 17px; flex-shrink: 0; margin-top: 1px; }
.metric > div { flex-wrap: wrap; gap: 2px 6px; white-space: normal; margin-top: 8px; }
.metric strong { font-size: clamp(24px, 2.05vw, 30px); line-height: 1.4; letter-spacing: -.9px; }
.metric .unit { font-size: 12px; color: #b0bfd4; }
.metric-caption { font-size: 12px; line-height: 1.8; margin-top: 8px; color: #9eafc8; }
.primary-metric .metric-label, .primary-metric .unit { color: #594b0a; }
.sparkline { height: 24px; bottom: 8px; }
.chart-panel { padding-top: 25px; }
.chart-heading { align-items: flex-start; flex-wrap: wrap; gap: 5px 16px; }
.chart-heading h3 { font-size: 15px; line-height: 1.7; }
.chart-heading > div > span { font-size: 12px; color: #a6b6ce; }
.chart-legend { font-size: 12px; color: #a6b6ce; margin-top: 4px; }
.chart-legend i { width: 7px; height: 7px; }
.bar-chart { height: 182px; padding-left: 36px; margin-top: 17px; }
.chart-ticks { font-size: 12px; width: 28px; bottom: 35px; color: #9daec7; }
.chart-plot { gap: 12px; background-size: 100% calc(100% - 35px); }
.bar-group { padding-bottom: 35px; }
.bar-day { font-size: 12px; line-height: 1.5; color: #9fafc8; white-space: normal; width: 100%; text-align: center; }
.bar-tooltip { font-size: 12px; padding: 4px 7px; }
.voltage-heading { font-size: 12px; margin-top: 18px; padding-top: 17px; flex-wrap: wrap; gap: 7px 16px; color: #b3c0d4; }
.voltage-heading > span:last-child { font-size: 12px; gap: 7px; }
.status-dot { width: 6px; height: 6px; }
.voltage-grid { gap: 10px; margin-top: 12px; }
.voltage-grid > div { flex-wrap: wrap; padding: 12px; gap: 7px; }
.voltage-grid > div > span { font-size: 13px; line-height: 1.6; }
.voltage-grid > div > span > small { font-size: 12px; color: #a3b4ce; }
.voltage-grid strong { font-size: 18px; line-height: 1.6; }
.voltage-grid small { font-size: 12px; color: #acbdd5; }
.dashboard-disclaimer { font-size: 12px; color: #a0b0c9; line-height: 1.9; margin-top: 17px; }
.dashboard-bottomline { font-size: 11px; letter-spacing: 1px; line-height: 1.8; color: #95a7c2; }

/* Body copy, labels and secondary actions share the same comfortable scale. */
.section-heading p { font-size: 16px; line-height: 1.95; color: #5c697d; }
.split-heading > .text-link { font-size: 14px; }
.outlined-label { font-size: 12px; letter-spacing: 1px; padding: 6px 11px; }
.usecase-card p, .usecase-card li { font-size: 15px; line-height: 1.95; }
.usecase-card p { color: #5c687a; }
.usecase-card li { align-items: flex-start; }
.usecase-card li::before { font-size: 16px; }
.usecase-card .text-link { font-size: 15px; }
.section-note { font-size: 13px; color: #657186; line-height: 1.9; }
.product-tag { font-size: 12px; letter-spacing: 1px; padding: 5px 9px; }
.product-title > span { font-size: 14px; color: #657186; }
.product-body > p { font-size: 15px; line-height: 1.95; color: #5e6d82; }
.product-features { gap: 7px; }
.product-features span { font-size: 12px; letter-spacing: .4px; padding: 5px 8px; color: #5e6d82; }
.product-body .text-link { font-size: 14px; }
.spec-details > summary { font-size: 16px; padding-block: 19px; }
table { font-size: 14px; }
th, td { padding: 15px; }
.collector-grid b { font-size: 14px; }
.collector-grid p { font-size: 14px; line-height: 1.9; }
.dark .section-heading p { color: #a4b3ca; }
.service-steps article > span { font-size: 12px; letter-spacing: 1px; color: #c4b367; }
.service-steps h3 { font-size: 20px; line-height: 1.7; }
.service-steps p { font-size: 15px; line-height: 1.95; color: #acb9ce; }
.package-card { padding: 31px 26px; }
.package-index { font-size: 12px; letter-spacing: .8px; color: #647187; }
.package-card h3 { font-size: 25px; }
.package-description { font-size: 15px; line-height: 1.9; min-height: 57px; color: #647187; }
.package-price { font-size: 22px; }
.package-price span { font-size: 14px; line-height: 1.8; color: #647187; }
.package-card li { font-size: 14px; line-height: 1.9; padding-left: 23px; }
.package-condition { font-size: 13px; line-height: 1.95; color: #637085; }
.package-card .button { font-size: 14px; min-height: 50px; padding-inline: 12px; }
.package-ribbon { font-size: 13px; line-height: 32px; }
.online-note b { font-size: 15px; line-height: 1.9; display: block; }
.online-note p { font-size: 14px; line-height: 1.95; color: #626f82; }
.payment-kicker { font-size: 12px; letter-spacing: 1px; color: #647187; }
.payment-card { gap: 18px; }
.payment-card h3 { font-size: 25px; }
.payment-card p { font-size: 15px; line-height: 1.95; }
.payment-card p br { display: none; }
.payment-status { font-size: 13px; line-height: 1.9; align-items: flex-start; }
.payment-status .check { width: 16px; height: 16px; font-size: 11px; flex-shrink: 0; margin-top: 4px; }
.payment-card .text-link { font-size: 14px; align-items: flex-start; }
.about-visual > .eyebrow { font-size: 11px; letter-spacing: 1px; left: 25px; right: 25px; }
.about-caption { font-size: 12px; letter-spacing: 1px; left: 25px; }
.about-copy p { font-size: 15px; line-height: 2; }
.about-copy .text-link { font-size: 14px; }
.faq-grid .text-link { font-size: 14px; }
.faq-list summary { font-size: 16px; line-height: 1.9; padding-block: 20px; }
.faq-list p { font-size: 15px; line-height: 2; }
.contact-copy > p { font-size: 16px; line-height: 2; color: #acb9ce; }
.contact-promise > span { font-size: 12px; color: #c4b367; }
.contact-promise > p { font-size: 15px; color: #b3c0d5; }
.form-heading h3 { font-size: 23px; }
.form-heading > span { font-size: 14px; color: #647187; }
.audience-field legend, .quote-form label, .payment-form label { font-size: 14px; line-height: 1.8; }
.form-segmented span { font-size: 14px; line-height: 1.8; min-height: 47px; }
input, select, textarea { font-size: 16px; line-height: 1.7; padding: 12px; }
input, select { height: 49px; }
input::placeholder, textarea::placeholder { font-size: 14px; color: #6c7a8e; }
.form-help { font-size: 13px; line-height: 1.9; color: #657186; }
.form-submit { font-size: 15px; min-height: 52px; }
.form-result p { font-size: 14px; }
.footer-top .brand { width: 200px; }
.footer-top > p { font-size: 14px; color: #a2b2ca; }
.footer-top > div > a { font-size: 14px; }
.footer-bottom { font-size: 12px; color: #9aaecb; flex-wrap: wrap; }
.footer-bottom > span { line-height: 1.9; }
.dialog-intro { font-size: 15px; }
.prototype-note { font-size: 13px; line-height: 1.9; }
.prototype-note b { font-size: 14px; }
.upload-box b { font-size: 15px; }
.upload-box > span { font-size: 13px; text-align: center; }
.file-preview-head, .file-preview-head > button, .file-error { font-size: 13px; line-height: 1.9; }
.payment-preview, .payment-preview > span { font-size: 14px; line-height: 1.9; }
.payment-preview > b { font-size: 16px; }
.privacy-dialog > p { font-size: 15px; }
.mobile-bottom a { font-size: 15px; min-height: 46px; }

@media (max-width: 1200px) {
  .nav-bar { gap: 18px; }
  .brand { width: 196px; }
  nav { gap: 16px; }
  .nav-button { padding-inline: 14px; }
  .hero-grid { gap: 30px; }
  .dashboard { padding: 20px; }
  .metrics { gap: 8px; }
  .metric { padding-inline: 10px; }
  .metric strong { font-size: 25px; }
  .voltage-grid > div { padding: 10px; }
  .voltage-grid strong { font-size: 17px; }
  .capability-strip { font-size: 11px; gap: 18px; }
  .package-card { padding-inline: 22px; }
}

/* Change composition before text becomes too small to read. */
@media (max-width: 1100px) {
  html { scroll-padding-top: 106px; }
  .nav-bar { min-height: 94px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; padding: 11px; margin-left: auto; background: none; border: 1px solid #ffffff30; border-radius: 5px; }
  .menu-toggle span { width: 18px; height: 1px; background: #c8d0db; transition: transform .2s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  nav { display: none; position: absolute; top: 94px; left: 0; right: 0; grid-template-columns: 1fr 1fr; background: #0b172b; padding: 17px 28px; gap: 0 20px; border-bottom: 1px solid #ffffff20; box-shadow: 0 15px 30px #0003; }
  nav.open { display: grid; }
  nav > a { font-size: 16px; padding: 13px 16px; }
  nav > a.active::after { left: 1px; bottom: calc(50% - 2px); }
  .hero-grid { grid-template-columns: 1fr; max-width: 760px; gap: 43px; padding-block: 58px 38px; }
  .hero-copy { max-width: 650px; }
  .hero-description { font-size: 17px; }
  .hero-description br { display: none; }
  .dashboard { padding: 25px; }
  .metric { padding: 16px; }
  .metric strong { font-size: 30px; }
  .capability-strip { max-width: 760px; font-size: 11px; letter-spacing: .5px; }
  .capability-strip > span { gap: 10px; }
  .package-grid { grid-template-columns: 1fr; max-width: 650px; margin-inline: auto; gap: 49px; }
  .package-card { padding: 30px; }
  .package-description { min-height: 0; }
  .package-description br { display: none; }
  .service-steps { grid-template-columns: 1fr 1fr; gap: 35px; }
  .contact-grid { grid-template-columns: 1fr; max-width: 760px; gap: 35px; }
  .contact-copy { padding-top: 0; }
  .footer-top { flex-wrap: wrap; }
}

@media (max-width: 800px) {
  .brand { width: 196px; }
  .section-heading p, .hero-description, .contact-copy > p { font-size: 16px; }
  .hero-actions > .button, .hero-actions > .text-link { font-size: 14px; }
  .capability-strip { grid-template-columns: 1fr; gap: 12px; padding-block: 23px; font-size: 12px; }
  .capability-strip > span, .capability-strip > span:nth-child(2), .capability-strip > span:last-child { justify-content: flex-start; }
  .usecase-grid, .product-grid, .payment-grid, .about-grid { grid-template-columns: 1fr; }
  .usecase-card { padding: 30px; }
  .usecase-card h3 { font-size: 30px; }
  .product-image { height: 290px; padding-inline: 40px; }
  .product-body { padding: 27px; }
  .product-title h3 { font-size: 30px; }
  .payment-card { display: flex; padding: 29px; gap: 20px; }
  .payment-icon { margin-bottom: 0; width: 42px; height: 42px; }
  .about-visual { height: 310px; }
  .about-copy h2 { font-size: 30px; }
  .about-visual > .eyebrow { font-size: 11px; }
  .footer-top > div { flex-wrap: wrap; }
  .footer-bottom { gap: 15px 24px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 100px; }
  .nav-bar { min-height: 88px; gap: 14px; }
  .brand, .footer-top .brand { width: 190px; }
  .brand > span { font-size: 11px; letter-spacing: .8px; }
  .nav-button { display: none; }
  nav { top: 88px; padding-inline: 18px; }
  .hero-copy .eyebrow { font-size: 12px; letter-spacing: 1px; }
  .hero-grid { gap: 35px; padding-top: 43px; }
  .hero-footnotes { font-size: 13px; gap: 12px; }
  .hero-actions { gap: 17px 22px; }
  .hero-actions > .button { font-size: 14px; padding: 13px 16px; min-height: 48px; }
  .hero-actions > .text-link { font-size: 14px; }
  .dashboard { padding: 18px; }
  .dashboard-topline { font-size: 12px; flex-wrap: wrap; }
  .dashboard-toolbar { flex-wrap: wrap; gap: 14px; }
  .dashboard-brand { font-size: 16px; }
  .dashboard-brand small { font-size: 10px; }
  .segmented button { font-size: 14px; min-height: 38px; padding-inline: 15px; }
  .dashboard-heading p { font-size: 14px; }
  .dashboard-heading h2 { font-size: 19px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 11px; }
  .metric { min-height: 170px; padding: 15px 12px; }
  .metric-label { font-size: 13px; min-height: 3.4em; }
  .metric > div { gap: 1px 6px; }
  .metric strong { font-size: clamp(23px, 6vw, 28px); }
  .metric .unit, .metric-caption { font-size: 12px; }
  .primary-metric { grid-column: 1 / -1; min-height: 112px; padding: 16px; }
  .primary-metric .metric-label { min-height: 0; }
  .primary-metric > div { max-width: 60%; margin-top: 8px; }
  .primary-metric strong { font-size: 33px; }
  .primary-metric .unit { font-size: 14px; }
  .sparkline { width: 40%; height: 32px; left: auto; right: 11px; bottom: 20px; }
  .chart-heading h3 { font-size: 15px; }
  .chart-heading > div > span, .chart-legend { font-size: 12px; }
  .bar-chart { height: 188px; padding-left: 30px; }
  .chart-ticks { width: 24px; font-size: 12px; bottom: 39px; }
  .chart-plot { gap: 6px; padding-inline: 2px; background-size: 100% calc(100% - 39px); }
  .bar-group { padding-bottom: 39px; }
  .bar-day { font-size: 12px; }
  .voltage-heading, .voltage-heading > span:last-child { font-size: 12px; }
  .voltage-grid { gap: 8px; }
  .voltage-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 11px 9px; }
  .voltage-grid > div > span { font-size: 13px; }
  .voltage-grid > div > span > small, .voltage-grid small { font-size: 12px; }
  .voltage-grid strong { font-size: 17px; letter-spacing: -.5px; white-space: nowrap; }
  .voltage-grid.single-phase > div { flex-direction: row; align-items: center; gap: 12px; }
  .dashboard-disclaimer { font-size: 12px; }
  .dashboard-bottomline { font-size: 11px; letter-spacing: .7px; }
  .section-heading .eyebrow, .contact-copy .eyebrow { font-size: 12px; letter-spacing: 1px; }
  .section-heading h2 { font-size: 30px; }
  .split-heading { display: block; }
  .split-heading > p { margin-top: 16px; }
  .split-heading > .text-link { margin-top: 18px; }
  .usecase-card, .package-card, .payment-card { padding: 26px; }
  .usecase-card p, .usecase-card li { font-size: 15px; }
  .product-image { height: 260px; padding-inline: 25px; }
  .product-body { padding: 25px; }
  .product-title > span { font-size: 14px; }
  .service-steps { grid-template-columns: 1fr; gap: 27px; }
  .service-steps h3 { font-size: 20px; margin-block: 12px 8px; }
  .service-steps article > span { font-size: 12px; }
  .service-steps p { font-size: 15px; }
  .collector-grid { grid-template-columns: 1fr; }
  .package-card h3 { font-size: 25px; }
  .package-card li, .package-price span, .package-card .button { font-size: 14px; }
  .package-description { font-size: 15px; }
  .package-condition { font-size: 13px; }
  .online-note { padding: 20px 18px; gap: 13px; }
  .online-note b { font-size: 15px; }
  .online-note p { font-size: 14px; }
  .payment-card { display: block; }
  .payment-icon { margin-bottom: 17px; }
  .payment-card h3 { font-size: 24px; }
  .payment-card p { font-size: 15px; }
  .payment-status { font-size: 13px; }
  .payment-card .text-link { font-size: 14px; }
  .faq-list summary { font-size: 16px; }
  .faq-list p { font-size: 15px; }
  .quote-form { padding: 25px 22px; }
  .form-heading h3 { font-size: 21px; }
  .form-heading > span { font-size: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-segmented { flex-wrap: wrap; }
  .form-segmented label { flex-basis: 130px; }
  .quote-form label, .audience-field legend, .payment-form label { font-size: 14px; }
  input, select, textarea { font-size: 16px; }
  input::placeholder, textarea::placeholder { font-size: 14px; }
  .form-help { font-size: 13px; }
  .form-submit { font-size: 15px; }
  .footer-top > p, .footer-top > div > a { font-size: 14px; }
  .footer-bottom { font-size: 12px; }
  footer { padding-bottom: 100px; }
  .mobile-bottom { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; gap: 10px; padding: 10px 18px max(10px, env(safe-area-inset-bottom)); background: #061122ed; backdrop-filter: blur(12px); border-top: 1px solid #ffffff20; box-shadow: 0 -5px 25px #0002; }
  .mobile-bottom a { display: grid; place-items: center; font-size: 15px; min-height: 46px; padding: 10px 14px; border: 1px solid #ffffff2a; border-radius: 5px; color: #c5cede; font-weight: 600; }
  .mobile-bottom a:last-child { background: var(--yellow); border-color: var(--yellow); color: var(--navy); flex: 1; }
  .dialog-header h2 { font-size: 23px; }
  .dialog-header .eyebrow { font-size: 12px; letter-spacing: .8px; }
  .dialog-intro, .privacy-dialog > p { font-size: 15px; }
  .prototype-note { font-size: 13px; }
  .prototype-note b { font-size: 14px; }
  .contact-promise > span { font-size: 12px; }
  .contact-promise > p { font-size: 15px; }
}

/* Compact vertical rhythm; retain the readable type scale above. */
html { scroll-padding-top: 150px; }
.nav-bar { min-height: 0; padding-block: 16px; }
.section { padding-block: 48px; }
.faq-section { padding-top: 0; }
.hero-grid { padding-block: 24px; }
.capability-strip { padding-block: 14px; }

.dashboard-topline { margin-bottom: 10px; }
.dashboard { padding: 18px 22px; }
.dashboard-toolbar { padding-bottom: 10px; }
.dashboard-heading { margin-block: 12px; }
.dashboard-heading > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 16px; }
.dashboard-heading h2 { order: 0; line-height: 1.5; }
.dashboard-heading p { order: 1; margin: 0; line-height: 1.6; }
.metric { min-height: 112px; padding-block: 11px; }
.metric-label { min-height: 0; line-height: 1.6; }
.metric > div { margin-top: 5px; }
.metric-caption { margin-top: 4px; line-height: 1.6; }
.sparkline { height: 17px; bottom: 6px; }
.chart-panel { padding-top: 14px; }
.chart-heading > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 12px; }
.chart-legend { margin-top: 0; }
.bar-chart { height: 138px; margin-top: 9px; }
.voltage-heading { margin-top: 10px; padding-top: 9px; }
.voltage-grid { margin-top: 7px; }
.voltage-grid > div { padding-block: 8px; }
.voltage-grid > div > span > small { display: inline; margin-left: 5px; }
.dashboard-disclaimer { margin-top: 9px; line-height: 1.65; }
.dashboard-bottomline { margin-top: 7px; }

@media (max-width: 1200px) {
  .section { padding-block: 40px; }
  .faq-section { padding-top: 0; }
}

@media (min-width: 1101px) and (max-height: 900px) {
  .hero-grid { padding-block: 16px; }
  .dashboard { padding-block: 15px; }
  .dashboard-toolbar { padding-bottom: 7px; }
  .dashboard-heading { margin-block: 9px; }
  .metric { min-height: 102px; padding-block: 9px; }
  .chart-panel { padding-top: 10px; }
  .bar-chart { height: 110px; margin-top: 7px; }
  .voltage-heading { margin-top: 7px; padding-top: 7px; }
  .voltage-grid { margin-top: 6px; }
  .voltage-grid > div { padding-block: 6px; }
  .dashboard-disclaimer { margin-top: 7px; }
  .capability-strip { padding-block: 11px; }
}

@media (max-width: 1100px) {
  .nav-bar { min-height: 0; padding-block: 14px; }
  nav { top: 100%; }
  .hero-grid { padding-block: 25px; gap: 28px; }
  .hero-actions { margin-top: 24px; }
  .hero-footnotes { margin-top: 20px; }
  .capability-strip { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .capability-strip > span:nth-child(2) { justify-content: center; }
  .capability-strip > span:last-child { justify-content: flex-end; }
}

@media (max-width: 800px) {
  .section { padding-block: 32.5px; }
  .faq-section { padding-top: 0; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 136px; }
  .nav-bar { min-height: 0; padding-block: 13px; }
  nav { top: 100%; }
  .hero-grid { padding-block: 22px; gap: 27px; }
  .hero-copy .eyebrow { margin-bottom: 15px; }
  .hero-actions { margin-top: 20px; }
  .hero-footnotes { margin-top: 18px; }
  .dashboard { padding: 16px; }
  .dashboard-heading > div { display: block; }
  .dashboard-heading p { margin-bottom: 3px; }
  .metric { min-height: 142px; padding: 12px; }
  .metric-label { min-height: 3.2em; }
  .primary-metric { min-height: 102px; padding: 13px 15px; }
  .primary-metric .metric-label { min-height: 0; }
  .sparkline { width: 40%; height: 27px; bottom: 18px; }
  .chart-heading > div { display: block; }
  .bar-chart { height: 151px; }
  .voltage-grid > div { padding: 9px 7px; }
  .voltage-grid > div > span > small { display: block; margin-left: 0; }
  .voltage-grid.single-phase > div > span > small { display: inline; margin-left: 5px; }
  .capability-strip { grid-template-columns: 1fr; gap: 6px; padding-block: 12px; }
  .capability-strip > span:nth-child(2), .capability-strip > span:last-child { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .section { padding-block: 26px; }
  .faq-section { padding-top: 0; }
}

/* Keep the English service steps at least as prominent as their Thai titles. */
.service-steps article > span {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .6px;
  color: var(--yellow);
}

/* Only the requested cards are interactive; the specification disclosure is excluded. */
#solutions .usecase-card,
#products .product-card,
#packages .package-card,
#payment .payment-card {
  transition: transform 240ms ease, box-shadow 240ms ease;
}
#products .product-image img { transition: transform 300ms ease; }

@media (hover: hover) and (pointer: fine) {
  #solutions .usecase-card:hover,
  #products .product-card:hover,
  #packages .package-card:hover,
  #payment .payment-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 18px 36px #040c1c1a;
  }
  #products .product-card:hover .product-image img { transform: scale(1.025); }
}
#solutions .usecase-card:focus-within,
#products .product-card:focus-within,
#packages .package-card:focus-within,
#payment .payment-card:focus-within {
  box-shadow: 0 10px 28px #040c1c14;
}

/* One and three phase modes share a row size, including their padding and borders. */
.metric { container-type: inline-size; }
.metric > div { flex-wrap: nowrap; white-space: nowrap; }
.metric:not(.primary-metric) strong { font-size: clamp(22px, 16cqi, 30px); }
.voltage-grid {
  --voltage-row-height: 48px;
  grid-auto-rows: var(--voltage-row-height);
}
.voltage-grid > div,
.voltage-grid.single-phase > div {
  block-size: 100%;
  min-block-size: 0;
  padding-block: 8px;
}
@media (min-width: 1101px) and (max-height: 900px) {
  .voltage-grid { --voltage-row-height: 44px; }
  .voltage-grid > div,
  .voltage-grid.single-phase > div { padding-block: 6px; }
}
@media (max-width: 600px) {
  .metrics .metric:not(.primary-metric) > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .metric:not(.primary-metric) strong { font-size: clamp(23px, 20cqi, 28px); }
  .voltage-heading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .voltage-grid { --voltage-row-height: 96px; }
  .voltage-grid > div,
  .voltage-grid.single-phase > div { padding-block: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  #solutions .usecase-card:hover,
  #products .product-card:hover,
  #packages .package-card:hover,
  #payment .payment-card:hover,
  #products .product-card:hover .product-image img { transform: none; }
}

/* A continuous underline follows the menu text, including in the mobile menu. */
#main-nav > a.active::after { content: none; }
#main-nav > a.active {
  text-decoration-line: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
  text-decoration-skip-ink: none;
}

/* Match both tagline edges to the logo while keeping its supporting type size. */
.brand > .brand-tagline {
  position: relative;
  display: block;
  width: 100%;
  letter-spacing: 0;
  font-weight: 400;
  color: #9eabbf;
}
.brand-tagline-letters {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.brand-tagline-letters > span { flex: 0 0 auto; }
.brand-tagline-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Use the real PowerVision identity in the dashboard, with room for both scene tabs. */
.dashboard-toolbar > .dashboard-logo {
  width: 160px;
  max-width: 100%;
}
.dashboard-logo > .brand-tagline {
  font-size: 10.5px;
  line-height: 1.6;
  margin-top: 4px;
}
@media (max-width: 600px) {
  .dashboard-toolbar > .dashboard-logo { width: clamp(132px, 38vw, 160px); }
}
@media (max-width: 520px) {
  .hero-copy h1 { font-size: clamp(37px, calc((100vw - 40px) / 7.7), 65px); }
}
