@font-face {
  font-family: Comfortaa;
  src: url('assets/fonts/comfortaa-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Comfortaa;
  src: url('assets/fonts/comfortaa-bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #2d455b;
  --green: #52751f;
  --display-green: #7da536;
  --link: #186986;
  font-family: Comfortaa, sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; background: linear-gradient(115deg, #fff 0%, #ecf0f4 100%); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration: underline; }
button, summary { cursor: pointer; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 5px; }
h1, h2, p, ul, dl, dd { margin: 0; }
h1, h2 { font-weight: 700; }
em { color: var(--green); font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .8rem 1rem; background: white; }
.skip-link:focus { top: .5rem; }

/* Navigation is owned by /css/site-navigation.css. */
.control-page { width: 95%; max-width: 1200px; margin: 20px auto 0; container-type: inline-size; }
.hero { position: relative; overflow: hidden; border-radius: 30px; }
.hero-photo img { width: 100%; }
.hero-heading { position: absolute; left: 7.3%; top: 29%; width: 32.4%; }
.hero-logo { width: 100%; margin-bottom: 1.4cqw; }
.hero h1 { font-size: 7.2cqw; line-height: 1.08; letter-spacing: .075em; }
.overview { padding: 3.5cqw 2.5cqw 5cqw; text-align: center; }
.overview h2, .dashboard > h2 { font-size: clamp(1.5rem, 4.15cqw, 3.1rem); line-height: 1.25; }
.overview h2 em { color: #6b9430; }
.feature-icons { display: flex; justify-content: space-between; gap: 1.3%; list-style: none; padding: 3.4cqw 1.5% 0; }
.feature-icons li { flex: 1; min-width: 0; }
.feature-icons img { width: 75%; max-width: 115px; margin: 0 auto; }
.feature-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: .15em .35em; margin-top: 2.8cqw; padding: 0; list-style: none; font-size: clamp(1rem, 3.05cqw, 2.3rem); line-height: 1.35; }
.feature-summary li + li::before { content: '•'; color: var(--display-green); padding-right: .35em; }

/* Coordinates follow the original 1080 × 2446 artwork. Text stays in the DOM;
   the image contains only the hardware and the connected cables. */
.hardware { position: relative; container-type: inline-size; }
.hardware-art img { width: 100%; }
.hardware-copy { position: absolute; font-size: max(1rem, 1.85cqw); line-height: 1.35; }
.hardware-copy h2 { font-size: 2.75cqw; line-height: 1.2; margin-bottom: 1.2cqw; }
.feature-list { list-style: none; padding: 0; }
.feature-list li { position: relative; padding-left: .75em; margin-bottom: .6em; }
.feature-list li::before { content: '•'; position: absolute; left: 0; color: #939799; }
.modular { left: 52%; top: 7.4cqw; width: 42%; text-align: center; }
.modular h2 { font-size: 5.2cqw; margin-bottom: 1.6cqw; white-space: nowrap; }
.port-specs { display: flex; justify-content: center; width: 82%; margin-left: 13%; }
.port-specs > div { flex: 1; }
.port-specs dt { color: var(--green); font-size: 3.1cqw; line-height: 1.15; }
.port-number { display: block; color: var(--display-green); font-size: 8cqw; font-weight: 700; line-height: 1.05; }
.port-specs dd { font-size: 2.5cqw; color: #5e666a; }
.water-level { top: 21.5cqw; left: 6.7%; width: 24%; }
.monitor-label { top: 45.1cqw; left: 75%; width: 24%; }
.power-label { top: 51.4cqw; left: 75%; width: 24%; }
.intake-label { top: 70.5cqw; left: 61.8%; width: 37%; }
.direct-label { top: 79.9cqw; left: 61.8%; width: 32%; }
.dosing { top: 89.8cqw; left: 66.1%; width: 28%; }
.pump-details { top: 119.7cqw; left: 48.4%; width: 46%; }
.pump-details li { margin-left: 11%; margin-top: 1.8cqw; }
.pump-details li:first-child { text-align: center; }
.pump-details li:nth-child(2) { margin-left: 26%; }
.pump-details li:nth-child(3), .pump-details li:nth-child(4) { margin-left: 29%; }
.relay { top: 188.5cqw; left: 53.1%; width: 42.5%; }
.relay li:nth-child(2) { margin-left: 12%; }
.relay li:nth-child(3) { margin-left: 24%; }

.dashboard { padding-top: 1cqw; background: #fff; }
.dashboard > h2 { text-align: center; padding: 0 3%; }
.laptop { width: 61%; margin: 2.5cqw auto 1cqw; }
.dashboard-details { position: relative; min-height: 51cqw; padding: 1cqw 6.5% 3cqw 16.7%; }
.dashboard-copy { position: relative; z-index: 1; width: 51%; font-size: max(1rem, 1.85cqw); line-height: 1.4; }
.dashboard-copy li:first-child { width: 170%; margin-bottom: .65em; }
.phone { position: absolute; width: 35%; right: 9%; top: 8cqw; }
.more-information { margin-top: 5cqw; font-size: max(1rem, 1.45cqw); line-height: 1.4; }
.more-information a { display: block; width: fit-content; text-decoration: none; }
.more-information a:hover { text-decoration: underline; }
.more-information .shop-link { margin-top: 1rem; font-weight: 700; }
.site-footer { background: #fff; text-align: center; padding: 45px 16px 35px; font: 14px/1.6 Comfortaa, sans-serif; color: #555; }
.site-footer img { width: 176px; margin: 0 auto 18px; }

@media (max-width: 900px) {
  .hardware { max-width: 650px; margin: 0 auto; }
  .hardware-copy { font-size: max(1rem, 4.55cqw); line-height: 1.25; }
  .hardware-copy h2 { font-size: max(1.06rem, 5cqw); line-height: 1.12; margin-bottom: 2.1cqw; }
  .desktop-label { display: none; }
  .water-level { left: 2.5%; top: 9cqw; width: 35%; }
  .water-level li { padding-left: 0; margin-bottom: 2.4cqw; }
  .water-level li::before { display: none; }
  .modular { left: 52%; top: 40cqw; width: 36%; }
  .modular h2 { font-size: max(1.12rem, 5.5cqw); white-space: normal; margin-bottom: 2cqw; }
  .port-specs { width: 100%; margin-left: 0; }
  .port-specs dt { font-size: max(.875rem, 3.5cqw); }
  .port-number { font-size: max(2rem, 10cqw); }
  .port-specs dd { font-size: max(.875rem, 3cqw); }
  .monitor-label, .power-label { font-size: max(.875rem, 3.25cqw); line-height: 1.12; left: 79.2%; width: 20%; }
  .monitor-label { top: 78.1cqw; }
  .power-label { top: 110.4cqw; }
  .intake-label { top: 122.4cqw; left: 72%; width: 27%; font-size: max(.875rem, 3.35cqw); line-height: 1.15; }
  .direct-label { top: 339cqw; left: 80%; width: 15%; text-align: center; font-size: max(.875rem, 3.45cqw); line-height: 1.15; }
  .dosing { top: 195.6cqw; left: 14.8%; width: 80%; }
  .dosing h2 { width: 57%; margin-left: 40%; margin-bottom: 2.8cqw; text-align: right; }
  .dosing li { margin-bottom: .15em; }
  .pump-details { top: 240.5cqw; left: 12.8%; width: 81%; font-size: max(1rem, 4.4cqw); line-height: 1.2; }
  .pump-details h2 { margin-bottom: 1cqw; }
  .pump-details li, .pump-details li:nth-child(n) { margin: 2cqw 0 0; padding-left: .65em; }
  .pump-details li:first-child { text-align: left; }
  .relay { top: 391.5cqw; left: 19%; width: 79%; }
  .relay li { margin-top: 2.5cqw; }
  .relay li:nth-child(1) { margin-left: 6%; }
  .relay li:nth-child(2) { margin-left: 36%; }
  .relay li:nth-child(3) { margin-left: 61%; }
  .dashboard { padding: 5cqw 4% 0; }
  .laptop { width: 94%; max-width: 650px; margin: 4cqw auto 2cqw; }
  .dashboard-details { display: flex; flex-direction: column; padding: 0; }
  .phone { position: static; width: 60%; max-width: 360px; margin: 0 auto 4cqw; }
  .dashboard-copy { width: 100%; max-width: 650px; margin: auto; font-size: clamp(1rem, 3.6cqw, 1.35rem); }
  .dashboard-copy li:first-child { width: auto; }
  .more-information { margin: 7cqw 0 0; font-size: 1rem; }
}

@media (max-width: 767px) {
  .control-page { margin-top: 14px; }
  .hero { border-radius: 20px; }
  .hero-heading { top: 29%; left: 3.3%; width: 43%; }
  .hero-logo { margin-bottom: 1.8cqw; }
  .hero h1 { font-size: 8.7cqw; line-height: 1.12; letter-spacing: .045em; }
  .overview { padding: 6cqw 1% 6cqw; }
  .overview h2 { font-size: max(1.375rem, 5.2cqw); }
  .feature-icons { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3cqw 1.5cqw; width: 86%; margin: auto; padding: 5cqw 0 0; }
  .feature-icons li { grid-column: span 2; }
  .feature-icons li:first-child { grid-column: 2 / span 2; }
  .feature-icons li:nth-child(4) { grid-column: 1 / span 2; }
  .feature-icons img { width: 90%; }
  .feature-summary { font-size: max(1rem, 4.45cqw); margin-top: 4cqw; }
  .dashboard > h2 { font-size: max(1.5rem, 5.5cqw); }
}

@media print {
  .site-header, .skip-link, .site-footer { display: none; }
  .control-page { width: 100%; margin: 0; }
  .hardware { break-inside: avoid; }
}

/* Small phones need more room for 16px copy. This matching art variant adds
   length only to cable runs; the controller, pumps and relay keep their proportions. */
@media (max-width: 374px) {
  .water-level { top: 8.5cqw; line-height: 1.15; }
  .water-level h2 { width: 120%; font-size: 1rem; }
  .modular { top: 38cqw; }
  .modular h2 { font-size: 1rem; margin-bottom: 1cqw; }
  .port-specs dt { font-size: .8rem; }
  .port-specs dd { font-size: .75rem; }
  .port-number { font-size: 1.875rem; }
  .power-label { top: 108.5cqw; }
  .intake-label { top: 119.4cqw; font-size: .8125rem; }
  .pump-details { top: 277.133cqw; }
  .direct-label { top: 415.667cqw; left: 77%; width: 19%; }
  .relay { top: 468.167cqw; }
  .relay li:nth-child(2) { margin-left: 30%; }
  .relay li:nth-child(3) { margin-left: 43%; }
}
