/* HeatVision preview site. Design tokens follow the live www.heatvision.io build. */

@font-face { font-family: "Mona Sans"; src: url("../fonts/Mona-Sans-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("../fonts/Mona-Sans-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --primary: #008cff;
  --primary-dark: #0077d9;
  --on-primary: #fafafa;
  --heading: #111928;
  --text: #070707;
  --muted: #636976;
  --gray-600: #4a5565;
  --gray-50: #f9fafb;
  --line: rgba(0, 140, 255, 0.2);
  --radius: 10px;
  --radius-sm: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  --pad-x: 80px;
  --section-y: 96px;
  --header-h: 97px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Mona Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 24px; color: var(--text); background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, textarea { font: inherit; }

.container { width: 100%; max-width: 96rem; margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--section-y) 0; }
.section--gray { background: var(--gray-50); }

/* Type */
.eyebrow { display: block; font-size: 18px; line-height: 32px; font-weight: 500; color: var(--primary); text-transform: uppercase; }
.h2 { font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: .36px; color: var(--heading); margin-top: 8px; }
.lead { font-size: 18px; line-height: 27px; letter-spacing: .27px; color: var(--muted); margin-top: 16px; }
.section-head { max-width: 624px; margin: 0 auto; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-sm); font-size: 16px; line-height: 24px; font-weight: 500; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: rgba(0, 140, 255, .06); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 500; }
.link-arrow svg { width: 18px; height: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.site-header__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__logo img { width: 207px; height: auto; }
.site-header__logo .logo-icon { display: none; width: 40px; }
.site-header__right { display: flex; align-items: center; gap: 32px; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-weight: 500; white-space: nowrap; }
.site-header__right .btn { white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--primary); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--primary); }
.menu-toggle svg { width: 32px; height: 32px; }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; min-height: 700px; display: flex; align-items: center; color: #fff; background: #1b2330 center / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 16, 28, .55) 0, rgba(10, 16, 28, 0) 180px), linear-gradient(90deg, rgba(10, 16, 28, .62) 0%, rgba(10, 16, 28, .35) 55%, rgba(10, 16, 28, .1) 100%); }
.hero .container { position: relative; z-index: 2; }
/* Banner photo on its own layer: fades in quickly once loaded (site.js adds .is-ready) */
.hero__media { position: absolute; inset: 0; z-index: 0; background: center / cover no-repeat; transition: opacity .45s ease-out; }
.js .hero__media { opacity: 0; }
.js .hero.is-ready .hero__media { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__media { transition: none; } }
.hero__content { max-width: 860px; }
.hero h1 { font-size: 64px; line-height: 72px; font-weight: 600; }
.hero p { font-size: 18px; line-height: 27px; letter-spacing: .27px; margin-top: 16px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
/* Home banner (Maksym, 2026-11-15): dark navy with a soft blue glow behind the alert feed, no photo. */
.hero--home .hero__media { background-color: #0b1424; background-image: radial-gradient(50% 70% at 78% 50%, rgba(0, 140, 255, .3), transparent 70%); }
.hero--home::before { background: linear-gradient(180deg, rgba(10, 16, 28, .45) 0, rgba(10, 16, 28, 0) 160px); }
.hero--home .hero-eyebrow { color: #7cc4ff; background: rgba(0, 140, 255, .16); }
.hero--home .hero-split__text p { color: rgba(255, 255, 255, .78); }
.hero--home .hero-split { padding-top: 48px; padding-bottom: 168px; }
.hero--company .hero__media { background-image: url("../img/hero-company.jpg"); }
.hero--partner .hero__media { background-image: url("../img/hero-partner.jpg"); }
.hero--vendors .hero__media { background-image: url("../img/hero-vendors.jpg"); }
.hero--installers .hero__media { background-image: url("../img/boiler-exercise.jpg"); }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card h3 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--heading); }
.card p { font-size: 18px; line-height: 27px; letter-spacing: .27px; color: var(--muted); }
.icon { width: 48px; height: 48px; color: var(--primary); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.feature { text-align: center; padding: 32px 24px; }
.feature .icon { margin: 0 auto 20px; }
.feature p { margin-top: 12px; }

/* How it works */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.how .h2 { margin-top: 8px; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step__num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 140, 255, .1); color: var(--primary); font-weight: 600; font-size: 18px; display: grid; place-items: center; }
.step h3 { font-size: 20px; line-height: 28px; }
.step p { font-size: 18px; line-height: 27px; color: var(--muted); margin-top: 4px; }
.how__image { display: flex; justify-content: center; }

/* Phone with sliding notification cards (live site pattern) */
.phone { position: relative; height: 630px; aspect-ratio: 900 / 1822; flex: none; }
.phone__img { width: 100%; height: 100%; object-fit: contain; }
.notif { position: absolute; left: 58%; width: 228px; display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .99); backdrop-filter: blur(4px); border-radius: 8px; box-shadow: 0 14px 28px -6px rgba(10, 16, 28, .28), 0 4px 10px -4px rgba(10, 16, 28, .18); padding: 16px; opacity: 0; transform: translateX(-100%) scale(0); transition: transform .5s ease-in-out, opacity .5s ease-in-out; }
.notif--1 { top: 36%; }
.notif--2 { top: 53%; width: 235px; transition-delay: .5s; }
.notif img { flex: none; width: 24px; height: 24px; }
.notif h4 { font-size: 12px; line-height: 24px; font-weight: 600; color: var(--text); }
.notif p { font-size: 10px; line-height: 14px; color: var(--text); margin-top: 2px; }
/* Keyframe animations, not transitions: they always play when the card is switched on, even on a reload
   before the page has been drawn (a transition would be skipped there). */
.is-visible .notif { opacity: 1; transform: none; animation: notif-in .5s ease-in-out both; }
.is-visible .notif--2 { animation-delay: .5s; }
@keyframes notif-in { from { opacity: 0; transform: translateX(-100%) scale(0); } to { opacity: 1; transform: none; } }

/* Hero options (review pages under /options/) */
.hero-eyebrow { display: inline-block; font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero-split__text h1 { font-size: 60px; line-height: 68px; font-weight: 600; margin-top: 20px; }
.hero-split__text p { font-size: 18px; line-height: 27px; letter-spacing: .27px; margin-top: 16px; max-width: 600px; }
.hero-split__text .hero__actions { margin-top: 32px; }
.hero-split__visual { display: flex; justify-content: center; }

.hero-a { padding: 64px 0; background: radial-gradient(55% 75% at 80% 45%, rgba(0, 140, 255, .14), transparent 70%), linear-gradient(180deg, #f3f9ff 0%, #fff 100%); }
.hero-a .hero-eyebrow { color: var(--primary); background: rgba(0, 140, 255, .08); }
.hero-a h1 { color: var(--heading); }
.hero-a .hero-split__text p { color: var(--muted); }
.hero-a .phone { height: 600px; }

.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: #eaf4ff; }
.hero-b { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 112px 0 96px; background: radial-gradient(45% 70% at 12% 15%, rgba(255, 255, 255, .18), transparent 70%), radial-gradient(40% 60% at 92% 95%, rgba(255, 255, 255, .12), transparent 70%), linear-gradient(135deg, #0a9bff 0%, #0072ea 55%, #0057c2 100%); }
.hero-b__inner { position: relative; max-width: 1120px; }
.hero-b .hero-eyebrow { color: #fff; background: rgba(255, 255, 255, .16); }
.hero-b h1 { font-size: 64px; line-height: 72px; font-weight: 600; margin: 20px auto 0; max-width: 900px; }
.hero-b p { font-size: 18px; line-height: 27px; letter-spacing: .27px; margin: 16px auto 0; max-width: 720px; color: rgba(255, 255, 255, .92); }
.hero-b .hero__actions { justify-content: center; }
.hero-b__chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 48px 0 0; padding: 0; }
.hero-b__chips li { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); font-weight: 500; }
.hero-b__chips svg { width: 20px; height: 20px; }
.hero-b h2 { font-size: 48px; line-height: 56px; font-weight: 600; margin: 0 auto; max-width: 900px; }
.blue-band { padding: 72px 0; }
.blue-band__lead { font-size: 18px; line-height: 27px; margin-top: 12px; color: rgba(255, 255, 255, .9); }
.test-email { display: flex; gap: 12px; max-width: 560px; margin: 32px auto 0; }
.test-email__input { flex: 1; min-width: 0; padding: 12px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .6); background: #fff; font-size: 16px; line-height: 24px; color: var(--text); }
.test-email__input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.test-email__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.test-email__btn { flex: none; }
.test-email__btn:disabled { opacity: .75; cursor: progress; }
.alert-chips li { padding: 0; background: none; border: 0; }
.alert-chip { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s, border-color .2s; }
.alert-chip:hover { background: rgba(255, 255, 255, .22); }
.alert-chip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.alert-chip svg { width: 20px; height: 20px; }
.alert-chip[aria-pressed="true"] { background: #fff; color: var(--primary); border-color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.alert-chip.is-popping { animation: chip-pop .4s ease; }
.test-email__status { min-height: 24px; margin-top: 20px; font-weight: 400; color: #fff; opacity: 1; transition: opacity .9s ease; }
.test-email__status.is-fading { opacity: 0; }
.test-email__status.is-error { color: #ffe3e3; }
.is-shaking { animation: shake .4s ease; }
@keyframes chip-pop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 70% { transform: scale(.96); } 100% { transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .alert-chip.is-popping, .is-shaking { animation: none; } }
.feature .step__num { margin: 0 auto 20px; width: 48px; height: 48px; font-size: 20px; }
.link-inline { color: var(--primary); font-weight: 500; }
.footnote { margin-top: 24px; text-align: center; font-size: 14px; line-height: 20px; color: var(--muted); }
.link-inline:hover { text-decoration: underline; }

.hero-c { padding: 96px 0; color: #fff; background: radial-gradient(50% 70% at 78% 50%, rgba(0, 140, 255, .3), transparent 70%), #0b1424; }
.hero-c .hero-eyebrow { color: #7cc4ff; background: rgba(0, 140, 255, .16); }
.hero-c .hero-split__text p { color: rgba(255, 255, 255, .78); }
.hero-c__feed { display: grid; gap: 16px; width: 100%; max-width: 460px; }
.feed-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; color: var(--heading); border-radius: 14px; padding: 16px 18px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .6s ease, transform .6s ease; }
.feed-card:nth-child(2) { margin-left: 28px; transition-delay: .7s; }
.feed-card:nth-child(3) { margin-left: 56px; transition-delay: 1.4s; }
.is-visible .feed-card { opacity: 1; transform: none; animation: feed-in .6s ease both; }
.is-visible .feed-card:nth-child(2) { animation-delay: .7s; }
.is-visible .feed-card:nth-child(3) { animation-delay: 1.4s; }
@keyframes feed-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.feed-card__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.feed-card__icon--heat { background: rgba(244, 67, 54, .1); }
.feed-card__icon--water { background: rgba(0, 140, 255, .1); color: var(--primary); }
.feed-card__icon--offline { background: #f1f2f4; color: var(--gray-600); }
.feed-card__icon svg, .feed-card__icon img { width: 22px; height: 22px; }
.feed-card__body { flex: 1; min-width: 0; }
.feed-card h4 { font-size: 15px; line-height: 22px; font-weight: 600; }
.feed-card p { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 2px; }
.feed-card time { flex: none; font-size: 12px; line-height: 22px; color: var(--gray-600); }

.options-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.option-card { display: flex; flex-direction: column; gap: 12px; transition: border-color .15s; }
.option-card:hover { border-color: var(--primary); }
.option-card .link-arrow { margin-top: auto; padding-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  .notif, .feed-card, .is-visible .notif, .is-visible .feed-card { transition: none; animation: none; opacity: 1; transform: none; }
}

/* Story / two-column text */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.prose p { font-size: 18px; line-height: 30px; letter-spacing: .27px; color: var(--muted); }
.prose p + p { margin-top: 16px; }
.split .link-arrow { margin-top: 24px; }

/* Image + text row (Boiler health, as on the live site) */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 64px; }
.media-row__text h3 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--heading); }
.media-row__text p { margin-top: 16px; font-size: 18px; line-height: 27px; letter-spacing: .27px; color: var(--muted); }
.media-row__img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); }

/* Partner page */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 64px; }
.offer-card { padding: 32px; }
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; line-height: 27px; color: var(--muted); }
.checks .check { flex: none; width: 24px; height: 24px; margin-top: 2px; padding: 3px; border-radius: 50%; background: rgba(0, 140, 255, .1); color: var(--primary); }
@media (min-width: 861px) { .media-row--reverse .media-row__img { order: -1; } }

/* Installer list */
.installer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.installer-card h3 { font-size: 20px; line-height: 28px; }
.installer-meta { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.installer-meta li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 24px; color: var(--muted); }
.installer-meta svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--primary); }
.installer-meta a { color: var(--heading); word-break: break-word; }
.installer-meta a:hover { color: var(--primary); }
.installer-tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.installer-tags li { font-size: 13px; line-height: 18px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 140, 255, .08); color: var(--primary); }
@media (max-width: 860px) { .installer-grid { grid-template-columns: 1fr; margin-top: 32px; } }

/* Goals */
.goals-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 64px; }
.goal { display: flex; gap: 20px; align-items: flex-start; }
.goal .icon { flex: none; width: 40px; height: 40px; }
.goal p { color: var(--muted); }
.goal p strong { display: block; font-weight: 600; color: var(--heading); font-size: 20px; line-height: 28px; margin-bottom: 4px; }

/* Testimonials carousel */
.carousel { position: relative; margin-top: 64px; }
.carousel__track { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: 0 0 calc((100% - 64px) / 3); scroll-snap-align: start; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--primary); background: #fff; color: var(--primary); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn--prev { left: -24px; }
.carousel__btn--next { right: -24px; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: #d1d5dc; cursor: pointer; }
.carousel__dots button[aria-current="true"] { background: var(--primary); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--primary); }

.testimonial { display: flex; flex-direction: column; min-height: 350px; margin: 0; }
.testimonial .quote-mark { width: 40px; height: 40px; color: var(--primary); }
.testimonial blockquote { margin: 24px 0 0; color: var(--heading); font-size: 16px; line-height: 24px; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.testimonial figcaption { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 12px; }
.testimonial figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial .name { font-size: 18px; line-height: 27px; font-weight: 500; color: var(--heading); }
.testimonial .role { font-size: 12px; line-height: 18px; color: var(--gray-600); }

/* Testimonials on the web app background (white and light gray lines) */
#testimonials { background: #f4f4f8 url("../img/section-lines.jpg") center / cover no-repeat; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 64px; align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font-size: 24px; line-height: 32px; font-weight: 600; color: var(--heading); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary svg { flex: none; width: 24px; height: 24px; color: var(--primary); transition: transform .2s; }
.faq__list details[open] summary svg { transform: rotate(180deg); }
.faq__list details p { padding: 0 40px 20px 0; font-size: 18px; line-height: 27px; color: var(--muted); }

/* Contact */
.contact { position: relative; background: var(--gray-50); padding: var(--section-y) 0 64px; overflow: hidden; }
.contact__band { position: absolute; left: 0; right: 0; bottom: 0; height: 135px; background: #0a6fe0 url("../img/contact-band.jpg") center / cover no-repeat; }
.contact .container { position: relative; z-index: 1; }
.contact-lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 32px auto 0; padding: 0; list-style: none; }
.contact-lines li { display: flex; align-items: center; gap: 8px; color: var(--heading); font-weight: 500; }
.contact-lines a:hover { color: var(--primary); }
.contact-lines svg { width: 20px; height: 20px; color: var(--primary); }
.form-card { max-width: 514px; margin: 40px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.form-card form { display: grid; gap: 16px; }
.field input, .field textarea { width: 100%; background: var(--gray-50); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 20px; font-size: 18px; color: var(--text); outline: none; }
.field textarea { min-height: 144px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 140, 255, .15); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-card .btn { width: 100%; }
.form-note { font-size: 14px; line-height: 20px; color: var(--muted); text-align: center; }
.form-status { display: none; font-size: 15px; line-height: 22px; color: var(--heading); background: rgba(0, 140, 255, .08); border-radius: var(--radius-sm); padding: 12px 16px; }
.form-status.is-visible { display: block; }

/* Quote form */
/* Homepage closing block: Get a quote on the blue band */
.quote-cta__card { display: grid; gap: 20px; justify-items: center; text-align: center; }
.quote-cta__card .btn { width: 100%; }
.quote-cta__card .contact-lines { margin: 0; }

/* Quote pop-up (opened by "Get a quote") */
.quote-modal { border: 0; padding: 0; border-radius: 16px; width: min(860px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 48px); overflow: auto; color: var(--text); background: #fff; box-shadow: 0 30px 60px -12px rgba(10, 16, 28, .35); }
.quote-modal[open] { animation: modal-in .25s ease; }
.quote-modal::backdrop { background: rgba(10, 16, 28, .55); }
.quote-modal__inner { position: relative; padding: 32px; }
.quote-modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gray-50); color: var(--heading); display: grid; place-items: center; cursor: pointer; }
.quote-modal__close:hover { background: #eef2f7; }
.quote-modal__close svg { width: 20px; height: 20px; }
.quote-modal__head { padding-right: 48px; margin-bottom: 24px; }
.quote-modal__head .lead { margin-top: 8px; }
.quote-form { display: grid; gap: 16px; }
.quote-form .btn { width: 100%; }
body.modal-open { overflow: hidden; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quote-modal[open] { animation: none; } }
.quote-form fieldset { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.quote-form legend { font-size: 18px; line-height: 27px; font-weight: 600; color: var(--heading); margin-bottom: 12px; padding: 0; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.quote-wide { grid-column: 1 / -1; }
.field-label { display: block; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--heading); margin-bottom: 6px; }
.field select { width: 100%; background: var(--gray-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 40px 12px 20px; color: var(--text); -webkit-appearance: none; appearance: none; outline: none; }
.form-card .field select { font-size: 18px; line-height: 25px; }
.field select:invalid { color: #8a919c; }
.field select option { color: var(--text); }
.field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 140, 255, .15); }
.quote-form .field input, .quote-form .field select, .quote-form .field textarea { font-size: 16px; line-height: 24px; }
.quote-form .field textarea { min-height: 110px; }
.form-status.is-error { color: #b42318; background: rgba(244, 67, 54, .08); }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Company contacts */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card .icon { width: 32px; height: 32px; flex: none; }
.contact-card h3 { font-size: 18px; line-height: 27px; font-weight: 500; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 18px; line-height: 27px; }
.contact-card a:hover { color: var(--primary); }

/* Footer: same structure and spacing as the live site */
.site-footer { background: #fff; text-align: center; }
.site-footer__top { border-bottom: 1px solid var(--line); padding: 48px 0; }
.site-footer__bottom { padding: 36px 0; }
.site-footer__stack { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.site-footer__top img { height: 38px; width: auto; }
.site-footer__copy { font-size: 18px; line-height: 27px; letter-spacing: .27px; color: var(--muted); }
.site-footer__copy--bottom { display: none; }
.site-footer__links { display: flex; align-items: center; gap: 16px; }
.site-footer__links a { font-weight: 500; }
.site-footer__links a:hover { color: var(--primary); }
.site-footer__sep { width: 2px; height: 18px; background: var(--line); }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal__inner { max-width: 880px; margin: 0 auto; }
.legal h1 { text-align: center; font-size: 36px; line-height: 44px; font-weight: 600; color: var(--heading); }
.legal .updated { text-align: center; color: var(--gray-600); margin-top: 8px; font-size: 14px; }
.legal .body { margin-top: 40px; color: var(--muted); font-size: 16px; line-height: 26px; }
.legal .body h2 { color: var(--heading); font-size: 22px; line-height: 30px; font-weight: 600; margin: 32px 0 12px; }
.legal .body h3, .legal .body h4 { color: var(--gray-600); font-size: 16px; line-height: 24px; font-weight: 600; margin: 20px 0 8px; }
.legal .body p { margin: 0 0 12px; }
.legal .body ul, .legal .body ol { padding-left: 22px; margin: 0 0 12px; }
.legal .body li { margin-bottom: 8px; }
.legal .body li::marker { color: var(--primary); }
.legal .body li p { margin: 0; }
.legal .body a { color: var(--primary); }
.legal .body table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.legal .body th, .legal .body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }

/* 404 / maintenance */
.status-page { background: var(--gray-50); padding: 96px 0; text-align: center; }
.status-page .code { font-size: 128px; line-height: 1; font-weight: 600; color: var(--primary); }
.status-page h1 { font-size: 36px; line-height: 44px; font-weight: 600; color: var(--heading); margin-top: 32px; }
.status-page p { max-width: 600px; margin: 16px auto 0; font-size: 18px; line-height: 27px; color: var(--muted); }
.status-page .btn { margin-top: 32px; }
.maintenance { padding: 64px 0; text-align: center; }
.maintenance img { width: 340px; margin: 0 auto; }

/* Tablet */
@media (max-width: 1100px) {
  :root { --pad-x: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel__track > * { flex-basis: calc((100% - 32px) / 2); }
  .faq, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-split { grid-template-columns: 1fr; gap: 48px; }
  .hero-split__text { max-width: 720px; }
  .options-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; gap: 48px; }
  .contact-cards, .goals-grid { grid-template-columns: 1fr; gap: 24px; }
  .media-row { grid-template-columns: 1fr; gap: 32px; }
  .offer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Header: menu button below 1200 px so the five links and the cart never crowd the logo or wrap */
@media (max-width: 1199px) {
  .site-header__right { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-menu { display: none; border-top: 1px solid var(--line); padding: 16px var(--pad-x) 24px; background: #fff; }
  .mobile-menu.is-open { display: grid; gap: 16px; }
  .mobile-menu a:not(.btn) { font-weight: 500; font-size: 18px; padding: 8px 0; }
}

/* Phone */
@media (max-width: 767px) {
  :root { --pad-x: 16px; --section-y: 32px; --header-h: 81px; }
  .site-header { border-bottom: 1px solid var(--line); }
  .site-header__logo .logo-full { display: none; }
  .site-header__logo .logo-icon { display: block; }
  .site-header__right { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-menu { display: none; border-top: 1px solid var(--line); padding: 16px var(--pad-x) 24px; background: #fff; }
  .mobile-menu.is-open { display: grid; gap: 16px; }
  .mobile-menu a:not(.btn) { font-weight: 500; font-size: 18px; padding: 8px 0; }
  .btn { padding: 8px 16px; }
  .hero { min-height: 500px; }
  .hero h1 { font-size: 30px; line-height: 38px; }
  .hero p { font-size: 16px; line-height: 24px; }
  .hero__actions { margin-top: 24px; }
  .eyebrow { line-height: 28px; }
  .section-head { text-align: left; }
  .h2 { font-size: 30px; line-height: 38px; }
  .lead { font-size: 16px; line-height: 24px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .card { padding: 16px; }
  .card h3 { font-size: 20px; line-height: 28px; }
  .card p, .prose p, .step p { font-size: 16px; line-height: 24px; }
  .feature { padding: 24px 16px; }
  .carousel { margin-top: 32px; }
  .carousel__track { gap: 16px; }
  .carousel__track > * { flex-basis: 100%; }
  .carousel__btn { display: none; }
  .testimonial { min-height: 300px; }
  .faq__list summary { font-size: 20px; line-height: 28px; }
  .faq__list details p { font-size: 16px; line-height: 24px; padding-right: 0; }
  .goals-grid, .contact-cards { margin-top: 32px; }
  .media-row { margin-top: 32px; }
  .offer-grid { margin-top: 32px; gap: 16px; }
  .offer-card { padding: 20px 16px; }
  .checks li { font-size: 16px; line-height: 24px; }
  .media-row__text h3 { font-size: 20px; line-height: 28px; }
  .media-row__text p { font-size: 16px; line-height: 24px; }
  .media-row__img { height: 240px; }
  .contact-lines { flex-direction: column; align-items: flex-start; }
  .quote-cta__card .contact-lines { align-items: center; }
  .form-card { padding: 24px 16px; margin-top: 32px; }
  .site-footer__top, .site-footer__bottom { padding: 32px 0; }
  .site-footer__top img { height: 28px; }
  .site-footer__copy { font-size: 16px; line-height: 24px; }
  .site-footer__copy--top { display: none; }
  .site-footer__copy--bottom { display: block; }
  .how__image { justify-content: flex-start; }
  .phone, .hero-a .phone { height: 400px; }
  .notif { left: 52%; width: 172px; padding: 9px 10px; gap: 8px; border-radius: 7px; }
  .notif--2 { width: 172px; }
  .notif--1 { top: 27%; }
  .notif--2 { top: 52%; }
  .notif img { width: 18px; height: 18px; }
  .notif h4 { font-size: 11px; line-height: 16px; }
  .notif p { font-size: 9.5px; line-height: 13px; margin-top: 1px; }
  .hero-a, .hero-c { padding: 40px 0 48px; }
  .hero-b { padding: 56px 0 48px; }
  .blue-band { padding: 40px 0; }
  .hero-b h2 { font-size: 30px; line-height: 38px; }
  .blue-band__lead { font-size: 16px; line-height: 24px; }
  .test-email { flex-direction: column; margin-top: 24px; }
  .test-email__btn { width: 100%; }
  .alert-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .alert-chips li { display: flex; align-items: stretch; }
  .alert-chip { width: 100%; justify-content: center; text-align: left; font-size: 13px; line-height: 17px; padding: 10px 10px; border-radius: 14px; }
  .alert-chip svg { width: 18px; height: 18px; flex: none; }
  .hero-split__text h1, .hero-b h1 { font-size: 34px; line-height: 42px; }
  .hero-split__text p, .hero-b p { font-size: 16px; line-height: 24px; }
  .hero-eyebrow { font-size: 12px; line-height: 18px; padding: 5px 12px; }
  .hero-split__visual { justify-content: flex-start; }
  .hero-b__chips { margin-top: 32px; gap: 8px; }
  .hero-b__chips li { font-size: 14px; padding: 8px 12px; }
  .feed-card:nth-child(2), .feed-card:nth-child(3) { margin-left: 0; }
  .options-grid { margin-top: 32px; gap: 16px; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-modal { width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0; }
  .quote-modal__inner { padding: 24px 16px 32px; }
  .legal { padding: 32px 0 64px; }
  .legal h1 { font-size: 30px; line-height: 38px; }
  .status-page .code { font-size: 96px; }
  .status-page h1 { font-size: 30px; line-height: 38px; }
}

/* Footer links stack under 462px, as on the live site */
@media (max-width: 461px) {
  .site-footer__links { flex-direction: column; gap: 12px; }
  .site-footer__sep { display: none; }
}

/* Header: transparent over banner photos, dark frosted glass after scrolling, solid navy on pages
   without a banner (Maksym, 2026-11-15). Kept last so it overrides the earlier header rules. */
.site-header { background: #0b1424; border-bottom: 0; transition: background-color .3s ease, box-shadow .3s ease; }
.site-header--overlay { position: fixed; top: 0; left: 0; right: 0; background: transparent; }
.site-header--overlay.is-scrolled, .site-header--overlay.menu-open { background: rgba(11, 20, 36, .82); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.site-header--solid { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5); }
.site-nav a { color: rgba(255, 255, 255, .92); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #7cc4ff; }
.site-header .btn--outline { border-color: rgba(255, 255, 255, .75); color: #fff; }
.site-header .btn--outline:hover { background: rgba(255, 255, 255, .12); }
.menu-toggle { color: #fff; }
.mobile-menu { background: #0b1424; border-top: 1px solid rgba(255, 255, 255, .1); }
.mobile-menu a:not(.btn) { color: rgba(255, 255, 255, .92); }
.mobile-menu a[aria-current="page"] { color: #7cc4ff; }
.site-header--overlay ~ main > .hero:first-child { padding-top: var(--header-h); min-height: calc(700px + var(--header-h)); }
@media (max-width: 767px) {
  .site-header--overlay ~ main > .hero:first-child { min-height: calc(500px + var(--header-h)); }
}

/* Products page (2026-11-15): one card per item, image on the same grey as the renders (#ececec). */
.products { padding-top: 64px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-card__img { position: relative; background: #ececec; aspect-ratio: 2 / 1; }
.product-card__img img { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); display: block; width: auto; height: 100%; aspect-ratio: 1 / 1; }
.product-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 22px; line-height: 30px; }
.product-card p { font-size: 16px; line-height: 24px; letter-spacing: 0; margin-top: 8px; }
.product-options { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.product-options li { font-size: 13px; line-height: 18px; padding: 5px 12px; border-radius: 999px; background: rgba(0, 140, 255, .08); color: var(--primary); }
.product-card__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.product-card .product-card__price { margin: 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.product-card__more { font-size: 15px; line-height: 20px; font-weight: 500; color: var(--primary); white-space: nowrap; }
.product-card__price span { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--heading); margin-right: 4px; }
.product-card .product-card__price--ask { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--primary); }
@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .products { padding-top: 32px; } .product-grid { grid-template-columns: 1fr; margin-top: 32px; } }

/* Product cards are links to the product pages. */
a.product-card { color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.product-card:hover { transform: translateY(-3px); border-color: rgba(0, 140, 255, .55); box-shadow: 0 14px 28px -12px rgba(17, 25, 40, .25); }
a.product-card:hover h3 { color: var(--primary); }
a.product-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

/* Product page */
.product-page { padding-top: 40px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.product-detail { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 24px; }
.product-detail__img { background: #ececec; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; }
.product-detail__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-detail__info .h2 { margin-top: 0; }
.product-detail__price { margin-top: 12px; font-size: 16px; line-height: 24px; color: var(--muted); }
.product-detail__price span { font-size: 32px; line-height: 40px; font-weight: 600; color: var(--heading); margin-right: 6px; }
.product-detail__price--ask { font-size: 18px; font-weight: 500; color: var(--primary); }
.product-detail__label { margin-top: 24px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--heading); }
.product-detail__label + .product-options { margin-top: 8px; }
.product-detail__buy { margin-top: 32px; }
.product-detail__buy .btn { min-width: 240px; }
.product-detail__contact { justify-content: flex-start; margin: 20px 0 0; }
.product-detail__note { margin-top: 24px; font-size: 14px; line-height: 20px; color: var(--muted); }
.more-products { background: var(--gray-50); }
.more-products .h2 { text-align: center; margin-top: 0; }
.more-products .product-grid { margin-top: 40px; }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; gap: 28px; } .product-detail__img { position: relative; aspect-ratio: 2 / 1; } .product-detail__img img { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: auto; height: 100%; aspect-ratio: 1 / 1; } }
@media (max-width: 640px) { .product-page { padding-top: 24px; } .product-detail__buy .btn { width: 100%; } }
/* Fade the render's edges into the grey box so no square seam shows around the smaller image. */
.product-card__img img { -webkit-mask-image: radial-gradient(ellipse at center, #000 62%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 62%, transparent 72%); }
@media (max-width: 860px) { .product-detail__img img { -webkit-mask-image: radial-gradient(ellipse at center, #000 62%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 62%, transparent 72%); } }
/* Product option choice (pipe sensor cable length): pills that set the price. */
.product-choice { border: 0; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.product-choice legend { margin: 0 0 10px; padding: 0; }
.product-choice__opt { position: relative; cursor: pointer; }
.product-choice__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.product-choice__opt span { display: inline-block; padding: 9px 16px; border: 1px solid rgba(0, 140, 255, .35); border-radius: 999px; font-size: 15px; line-height: 20px; color: var(--heading); background: #fff; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.product-choice__opt b { font-weight: 600; margin-left: 4px; }
.product-choice__opt:hover span { border-color: var(--primary); }
.product-choice__opt input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.product-choice__opt input:focus-visible + span { outline: 3px solid rgba(0, 140, 255, .45); outline-offset: 2px; }

/* Cart (2026-11-15): header icon with count, Add to cart on product pages, /cart page. */
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #fff; border-radius: 8px; }
.cart-link svg { width: 26px; height: 26px; }
.cart-link:hover, .cart-link[aria-current="page"] { color: #7cc4ff; }
.cart-link:focus-visible { outline: 2px solid #7cc4ff; outline-offset: 2px; }
.cart-count { position: absolute; top: 1px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--primary); color: #fff; font-size: 11px; line-height: 18px; font-weight: 600; text-align: center; }
.cart-count[hidden] { display: none; }
.cart-link--bar { display: none; margin-left: auto; margin-right: -8px; }
/* The cart drawing hangs low (wheels); lift it 1 px so its middle lines up with the menu lines. */
.cart-link--bar svg { transform: translateY(-1px); }
@media (max-width: 1199px) { .cart-link--bar { display: inline-flex; } }

.product-detail__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.product-detail__buy .btn--outline { min-width: 0; }
.cart-added { flex-basis: 100%; margin: 4px 0 0; font-size: 15px; line-height: 22px; color: #0a7a3b; opacity: 0; transition: opacity .3s ease; }
.cart-added.is-visible { opacity: 1; }
.cart-added a { color: var(--primary); font-weight: 500; }

.cart-page { padding-top: 40px; min-height: 60vh; }
.cart-page .h2 { margin-top: 16px; }
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; margin-top: 32px; }
.cart[hidden], .cart-empty[hidden] { display: none; }
.cart__items { display: grid; gap: 12px; }
.cart-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto 100px auto; gap: 20px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cart-row__img { display: block; width: 80px; height: 80px; border-radius: 8px; overflow: hidden; background: #ececec; }
.cart-row__img img { display: block; width: 100%; height: 100%; }
.cart-row__info { display: grid; gap: 2px; }
.cart-row__name { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--heading); }
.cart-row__name:hover { color: var(--primary); }
.cart-row__opt, .cart-row__unit { font-size: 14px; line-height: 20px; color: var(--muted); }
.cart-row__total { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--heading); text-align: right; }
.cart-row__remove { background: none; border: 0; padding: 6px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; text-decoration: underline; }
.cart-row__remove:hover { color: #c0262d; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(0, 140, 255, .35); border-radius: 8px; overflow: hidden; }
.qty__btn { width: 36px; height: 38px; border: 0; background: #fff; color: var(--heading); font-size: 18px; cursor: pointer; }
.qty__btn:hover { background: rgba(0, 140, 255, .08); }
.qty__input { width: 44px; height: 38px; border: 0; border-left: 1px solid rgba(0, 140, 255, .2); border-right: 1px solid rgba(0, 140, 255, .2); text-align: center; font: inherit; font-size: 16px; color: var(--heading); -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart__summary { position: sticky; top: calc(var(--header-h) + 24px); }
.cart__summary h2 { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--heading); }
.cart__totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 0; margin: 16px 0 0; }
.cart__totals dt { color: var(--muted); }
.cart__totals dd { margin: 0; padding-left: 16px; text-align: right; font-weight: 600; color: var(--heading); }
.cart__totals dt:last-of-type, .cart__totals dd:last-of-type { padding-top: 8px; border-top: 1px solid var(--line); font-size: 18px; }
.cart__summary .cart__note { margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--muted); letter-spacing: 0; }
.cart__note a { color: var(--primary); }
.cart__checkout { width: 100%; margin-top: 18px; }
.cart__continue { display: inline-block; margin-top: 14px; font-size: 15px; color: var(--primary); }
.cart-empty { margin: 24px auto 0; max-width: 560px; display: grid; justify-items: center; text-align: center; }
.cart-empty__art { display: block; width: min(460px, 100%); height: auto; }
.cart-empty__title { margin-top: 28px; font-size: 32px; line-height: 40px; font-weight: 600; color: var(--heading); }
.cart-empty__text { margin-top: 10px; font-size: 18px; line-height: 28px; color: var(--muted); }
.cart-empty .btn { margin-top: 28px; }
/* Empty cart: the picture and its own title lead; "Your cart" stays only for screen readers. */
.cart-page:has(.cart-empty:not([hidden])) #cart-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .cart-empty { margin-top: 16px; }
  .cart-empty__art { width: min(320px, 100%); }
  .cart-empty__title { margin-top: 20px; font-size: 24px; line-height: 32px; }
  .cart-empty__text { font-size: 16px; line-height: 24px; }
  .cart-empty .btn { margin-top: 22px; }
}
@media (max-width: 960px) { .cart { grid-template-columns: 1fr; } .cart__summary { position: static; } }
@media (max-width: 640px) {
  .cart-page { padding-top: 24px; }
  .cart-row { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img info info" "qty total remove"; gap: 12px; padding: 12px; }
  .cart-row__img { grid-area: img; width: 64px; height: 64px; }
  .cart-row__info { grid-area: info; }
  .qty { grid-area: qty; justify-self: start; }
  .cart-row__total { grid-area: total; }
  .cart-row__remove { grid-area: remove; }
}

/* Home banner: the HeatVision flame squirrel (the web app's UI kit drawing, neon lines in the color line's colors) peeks up from a thin multicolor line along the banner's bottom
   edge (Maksym, 2026-11-15). Blues are the brand; the orange is the squirrel's. */
.hero-line { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 4px;
  background: linear-gradient(90deg, #008cff 0 18%, #7cc4ff 18% 34%, #0058c9 34% 50%, #ff9248 50% 66%, #fcaa72 66% 82%, #008cff 82% 100%); }
.hero-mascot { position: absolute; left: 50%; bottom: 4px; z-index: 3; width: 160px; height: 156px; margin-left: -80px; pointer-events: none; }
@media (max-width: 767px) { .hero-mascot { width: 124px; height: 120px; margin-left: -62px; } .hero-mascot .mascot { height: 106px; margin-top: 14px; } }

/* Header over banners (Maksym, 2026-11-15): at the top of the page the bar floats as a rounded glass
   panel inset from the edges; once the page scrolls (or the menu opens) it spreads into the full-width
   frosted navy header. The panel is a layer behind the bar (the bar is also the page container), so the
   logo and links never move; only the panel's shape and glass change. */
.site-header--overlay .site-header__bar { position: relative; z-index: 0; }
.site-header--overlay .site-header__bar::before {
  content: ""; position: absolute; z-index: -1; top: 14px; bottom: 14px;
  left: calc(var(--pad-x) - 24px); right: calc(var(--pad-x) - 24px);
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px;
  background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 32px -18px rgba(0, 0, 0, .55);
  transition: top .35s ease, bottom .35s ease, left .35s ease, right .35s ease, border-radius .35s ease, background-color .35s ease, border-color .35s ease, box-shadow .35s ease, opacity .35s ease;
}
.site-header--overlay.is-scrolled .site-header__bar::before, .site-header--overlay.menu-open .site-header__bar::before {
  top: 0; bottom: 0; left: 0; right: 0; border-radius: 0; border-color: transparent; background-color: transparent; box-shadow: none; opacity: 0;
}
@media (max-width: 767px) {
  .site-header--overlay .site-header__bar::before { top: 10px; bottom: 10px; left: calc(var(--pad-x) - 8px); right: calc(var(--pad-x) - 8px); border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { .site-header--overlay .site-header__bar::before { transition: none; } }
@media (max-width: 767px) { .hero--home .hero-split { padding-top: 24px; padding-bottom: 140px; } .hero--home .hero__media { background-image: radial-gradient(90% 45% at 70% 72%, rgba(0, 140, 255, .32), transparent 70%); } }

/* Home banner on phones (Maksym, 2026-11-15): the alert cards take less room and are slightly see-through
   (frosted white over the banner), stepped a little to the right like a stack. */
@media (max-width: 767px) {
  .hero--home .hero-split { gap: 28px; }
  .hero--home .hero-c__feed { gap: 8px; max-width: none; }
  .hero--home .feed-card { width: 92%; gap: 10px; padding: 10px 12px; border-radius: 12px;
    background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
    box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .6); }
  .hero--home .feed-card:nth-child(2) { margin-left: 4%; }
  .hero--home .feed-card:nth-child(3) { margin-left: 8%; }
  .hero--home .feed-card__icon { width: 30px; height: 30px; }
  .hero--home .feed-card__icon svg, .hero--home .feed-card__icon img { width: 17px; height: 17px; }
  .hero--home .feed-card h4 { font-size: 13px; line-height: 18px; }
  .hero--home .feed-card p { font-size: 12px; line-height: 16px; margin-top: 1px; }
  .hero--home .feed-card time { font-size: 11px; line-height: 18px; }
}

/* Flame squirrel (Maksym, 2026-11-15): once on screen, its outline draws itself with a sparkling star, then the
   neon line and the flame light up; after that the flame flickers very slightly. Without scripts, or with
   reduced motion, it simply shows. */
.hero-mascot .mascot { display: block; width: auto; height: 140px; margin: 16px auto 0; overflow: visible; }
.mascot .m-draw { opacity: 0; }
.js .hero-mascot .m-line, .js .hero-mascot .m-flame { opacity: 0; }
.mascot .m-flame, .mascot .m-flame-shapes, .mascot .m-spark-inner { transform-box: fill-box; transform-origin: 50% 100%; }
.mascot .m-spark-inner { transform-origin: 50% 50%; }
.mascot.is-drawing .m-draw, .mascot.is-drawing .m-spark { opacity: 1; }
.mascot.is-drawn .m-line { animation: m-in .5s ease forwards; }
.mascot.is-drawn .m-draw { opacity: 1; animation: m-out .5s ease .15s forwards; }
.mascot.is-drawn .m-flame { animation: m-ignite .8s cubic-bezier(.2, .8, .2, 1) .1s forwards; }
.mascot.is-drawn .m-spark { opacity: 1; }
.mascot.is-drawn .m-spark-inner { animation: m-burst .6s ease-out forwards; }
.mascot.is-lit .m-flame-shapes { animation: m-flicker 3.4s ease-in-out infinite; }
.mascot.is-lit .m-flame-glow { animation: m-glow 3.4s ease-in-out infinite; }
@keyframes m-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes m-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes m-ignite { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
@keyframes m-burst { 0% { opacity: 1; transform: scale(1); } 40% { opacity: 1; transform: scale(1.9); } 100% { opacity: 0; transform: scale(.4); } }
@keyframes m-flicker { 0%, 100% { transform: none; } 30% { transform: scale(1.012, 1.03) skewX(-.6deg); } 62% { transform: scale(.996, .988) skewX(.4deg); } }
@keyframes m-glow { 0%, 100% { opacity: .4; } 35% { opacity: .58; } 65% { opacity: .34; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-mascot .m-line, .js .hero-mascot .m-flame { opacity: 1; }
  .mascot .m-draw, .mascot .m-spark { display: none; }
  .mascot.is-drawn .m-line, .mascot.is-drawn .m-flame, .mascot.is-lit .m-flame-shapes, .mascot.is-lit .m-flame-glow { animation: none; opacity: 1; }
}

/* "Problems we are solving" icons (task L-05, Maksym 2026-11-15): each icon moves for about 0.75 s, rests about
   1 s, and repeats (cycle 1.75 s; motion in the first 43 percent). The six start a little apart, like a wave. */
.icon--anim { --d: 0s; overflow: visible; }
.features-grid > .feature:nth-child(2) .icon--anim { --d: .15s; }
.features-grid > .feature:nth-child(3) .icon--anim { --d: .3s; }
.features-grid > .feature:nth-child(4) .icon--anim { --d: .45s; }
.features-grid > .feature:nth-child(5) .icon--anim { --d: .6s; }
.features-grid > .feature:nth-child(6) .icon--anim { --d: .75s; }
.icon--anim g, .icon--anim circle, .icon--anim path { transform-box: fill-box; transform-origin: 50% 50%; }
.icon--anim .ia-ring { animation: ia-ring 1.75s ease-out var(--d) infinite; }
.icon--anim .ia-shake { animation: ia-shake 1.75s ease-in-out var(--d) infinite; }
.icon--anim .ia-drop { transform-origin: 50% 100%; animation: ia-drop 1.75s ease-in-out var(--d) infinite; }
.icon--anim .ia-mercury { stroke-dasharray: 14; animation: ia-mercury 1.75s ease-in-out var(--d) infinite; }
.icon--anim .ia-bulb { animation: ia-bulb 1.75s ease-in-out var(--d) infinite; }
.icon--anim .ia-rays { animation: ia-rays 1.75s ease-in-out var(--d) infinite; }
.icon--anim .ia-core { animation: ia-core 1.75s ease-in-out var(--d) infinite; }
.icon--anim .ia-cal { animation: ia-hop 1.75s ease-in-out var(--d) infinite; }
.icon--anim .ia-check { stroke-dasharray: 17; animation: ia-check 1.75s ease-out var(--d) infinite; }
.icon--anim .ia-user-a { transform-origin: 50% 100%; animation: ia-hop-a 1.75s ease-in-out var(--d) infinite; }
.icon--anim .ia-user-b { transform-origin: 50% 100%; animation: ia-hop-b 1.75s ease-in-out var(--d) infinite; }
/* Heat failure: the alarm ring pulses twice while the icon shakes. */
@keyframes ia-ring { 0% { transform: scale(1); opacity: 1; } 20% { transform: scale(1.22); opacity: 0; } 21% { transform: scale(1); opacity: 0; } 23% { opacity: 1; } 42% { transform: scale(1.22); opacity: 0; } 43% { transform: scale(1); opacity: 0; } 50%, 100% { transform: scale(1); opacity: 1; } }
@keyframes ia-shake { 0% { transform: none; } 6% { transform: rotate(-10deg); } 12% { transform: rotate(9deg); } 18% { transform: rotate(-8deg); } 24% { transform: rotate(6deg); } 30% { transform: rotate(-4deg); } 36% { transform: rotate(2deg); } 43%, 100% { transform: none; } }
/* Hot water: the drop bounces twice. */
@keyframes ia-drop { 0% { transform: none; } 10% { transform: translateY(-4px) scale(.95, 1.05); } 20% { transform: translateY(0) scale(1.08, .92); } 28% { transform: translateY(-2px) scale(.98, 1.02); } 36% { transform: scale(1.03, .97); } 43%, 100% { transform: none; } }
/* Steam control: the mercury drops and rises again, the bulb pulses. */
@keyframes ia-mercury { 0% { stroke-dashoffset: 0; } 12% { stroke-dashoffset: 9; } 43%, 100% { stroke-dashoffset: 0; } }
@keyframes ia-bulb { 0% { transform: none; } 12% { transform: scale(1.3); } 43%, 100% { transform: none; } }
/* Warm weather shutdown: the rays turn one step and pulse (one step looks the same, so the loop is seamless). */
@keyframes ia-rays { 0% { transform: rotate(0) scale(1); } 22% { transform: rotate(22deg) scale(1.1); } 43%, 100% { transform: rotate(45deg) scale(1); } }
@keyframes ia-core { 0% { transform: none; } 22% { transform: scale(1.14); } 43%, 100% { transform: none; } }
/* Summer exercise: the calendar hops and the check mark draws itself. */
@keyframes ia-hop { 0% { transform: none; } 10% { transform: translateY(-3px); } 20%, 100% { transform: none; } }
@keyframes ia-check { 0%, 8% { stroke-dashoffset: 17; } 38%, 100% { stroke-dashoffset: 0; } }
/* Sharing: a relay hop, the owner hops and then the second person, like access being passed along (Maksym asked
   to redo the earlier swap, 2026-11-15). */
@keyframes ia-hop-a { 0% { transform: none; } 8% { transform: translateY(-5px) scale(1.04); } 16% { transform: none; } 24% { transform: translateY(-3px); } 30%, 100% { transform: none; } }
@keyframes ia-hop-b { 0%, 9% { transform: none; } 17% { transform: translateY(-5px) scale(1.06); } 25% { transform: none; } 33% { transform: translateY(-3px); } 40%, 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .icon--anim * { animation: none !important; } }
/* Squirrel CRT digital glitch (Maksym, 2026-11-15), driven by site.js: random, uneven bursts of horizontal tears,
   a red and cyan split, scanlines, small jumps and blinks; first 2 to 3 s after the drawing, then every 4 to 5.5 s. */
@media (prefers-reduced-motion: reduce) { .mascot .m-scan { display: none; } }
.mascot .m-body { transform-box: fill-box; transform-origin: 50% 50%; }

/* Example-alert pop-up (Maksym, 2026-11-15): every "Problems we are solving" card opens it. It is a small version of
   the blue section: same chips, email field, button and messages. */
a.feature--try { display: block; color: inherit; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.feature--try:hover { transform: translateY(-3px); border-color: rgba(0, 140, 255, .55); box-shadow: 0 14px 28px -12px rgba(17, 25, 40, .22); }
a.feature--try:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.feature__try { display: inline-block; margin-top: 16px; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--primary); }
a.feature--try:hover .feature__try { text-decoration: underline; }
.alert-modal { width: min(500px, calc(100% - 32px)); background: transparent; }
.alert-modal__inner { position: relative; padding: 36px 32px 22px; color: #fff; text-align: center; border-radius: 16px;
  background: radial-gradient(45% 70% at 12% 15%, rgba(255, 255, 255, .18), transparent 70%), radial-gradient(40% 60% at 92% 95%, rgba(255, 255, 255, .12), transparent 70%), linear-gradient(135deg, #0a9bff 0%, #0072ea 55%, #0057c2 100%); }
.alert-modal__close { background: rgba(255, 255, 255, .16); color: #fff; }
.alert-modal__close:hover { background: rgba(255, 255, 255, .28); }
.alert-modal__eyebrow { display: inline-block; font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.alert-modal h2 { font-size: 26px; line-height: 34px; font-weight: 600; margin-top: 12px; }
.alert-modal .blue-band__lead { font-size: 16px; line-height: 24px; }
.alert-modal .blue-band__lead { margin: 10px auto 0; max-width: 460px; }
.alert-modal .test-email { margin-top: 20px; }
.alert-modal .test-email__status { margin-top: 12px; font-size: 15px; line-height: 22px; }
@media (max-width: 767px) {
  .alert-modal { width: calc(100% - 24px); height: fit-content; max-height: calc(100% - 24px); margin: auto; border-radius: 16px; }
  .alert-modal__inner { padding: 40px 16px 18px; }
  .alert-modal h2 { font-size: 22px; line-height: 30px; }
}

/* Customer reviews (2026-11-15): optional title, a letter badge instead of a photo, and "Read more" for long ones. */
.testimonial__title { margin-top: 18px; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--heading); }
.testimonial__title + blockquote { margin-top: 8px; }
.avatar-initials { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 140, 255, .12); color: var(--primary); font-size: 18px; font-weight: 600; }
.testimonial__more { align-self: flex-start; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--primary); font: inherit; font-size: 15px; line-height: 22px; font-weight: 500; cursor: pointer; }
.testimonial__more:hover { text-decoration: underline; }
.testimonial.is-open blockquote { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* Plans page (Maksym, 2026-11-15): two yearly plans, controller included, first month free. */
.plans { padding-top: 56px; }
.plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1000px; margin: 48px auto 0; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 28px 32px; }
.plan--featured { border: 2px solid var(--primary); box-shadow: 0 24px 48px -24px rgba(0, 140, 255, .45); }
.plan__badge { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .02em; }
.plan__img { position: relative; height: 170px; border-radius: 12px; background: #ececec; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.plan__img img { height: 100%; width: auto; aspect-ratio: 1 / 1; -webkit-mask-image: radial-gradient(ellipse at center, #000 62%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 62%, transparent 72%); }
.plan__img--2 img + img { margin-left: -40px; height: 78%; }
.plan__name { margin-top: 22px; font-size: 26px; line-height: 34px; font-weight: 600; color: var(--heading); }
.plan__tag { margin-top: 4px; font-size: 16px; line-height: 24px; color: var(--muted); }
.plan__price { margin-top: 18px; font-size: 16px; line-height: 24px; color: var(--muted); }
.plan__price span { font-size: 40px; line-height: 48px; font-weight: 600; color: var(--heading); margin-right: 6px; }
.plan__month { font-size: 14px; line-height: 20px; color: var(--muted); }
.plan__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.plan__chips li { font-size: 13px; line-height: 18px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: rgba(0, 140, 255, .1); color: var(--primary); }
.plan__features { list-style: none; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 24px; color: var(--heading); }
.plan__features .check { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--primary); }
.plan__cta { margin-top: auto; }
.plan__features { margin-bottom: 28px; }
.plans-how { background: var(--gray-50); }
.plans-how .h2 { text-align: center; margin-top: 0; }
.plans-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 36px auto 0; padding: 0; }
.plans-steps li { display: flex; gap: 14px; align-items: flex-start; }
.plans-steps .step__num { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 600; }
.plans-steps p { font-size: 16px; line-height: 24px; color: var(--heading); margin-top: 6px; }
.plans-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 48px auto 0; }
.plans-more__card { display: flex; flex-direction: column; align-items: flex-start; }
.plans-more__card .btn { margin-top: auto; }
.plans-more__card h3 { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--heading); }
.plans-more__card p { margin: 6px 0 18px; font-size: 16px; line-height: 24px; }
@media (max-width: 860px) {
  .plans-grid, .plans-more { grid-template-columns: 1fr; }
  .plans-steps { grid-template-columns: 1fr; }
  .plan__badge { left: 20px; }
  .plan { padding: 24px 20px 26px; }
}

/* Cookie banner (Maksym, 2026-11-15): "Cookie anyone?" Shown until the visitor chooses; the footer link reopens it. */
.cookie-banner { position: fixed; left: 24px; bottom: 24px; z-index: 60; display: flex; gap: 16px; align-items: flex-start; max-width: 440px; padding: 20px 22px 20px 18px; background: #fff; color: var(--heading); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(10, 16, 28, .45); opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease; }
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner__icon { flex: none; width: 48px; height: 48px; }
.cookie-banner.is-visible .cookie-banner__icon { animation: cookie-wobble 1.2s ease .4s 1; }
@keyframes cookie-wobble { 0%, 100% { transform: none; } 20% { transform: rotate(-12deg); } 40% { transform: rotate(9deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(2deg); } }
.cookie-banner__title { font-size: 20px; line-height: 28px; font-weight: 600; }
.cookie-banner__text { margin-top: 4px; font-size: 14px; line-height: 21px; color: var(--muted); }
.cookie-banner__text a { color: var(--primary); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; margin-top: 14px; }
.cookie-banner__actions .btn { padding: 9px 18px; font-size: 15px; line-height: 22px; }
.site-footer__cookie { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.site-footer__cookie:hover { color: var(--primary); }
@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 16px 16px 16px 14px; gap: 12px; }
  .cookie-banner__icon { width: 40px; height: 40px; }
  .cookie-banner__actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: none; } .cookie-banner.is-visible .cookie-banner__icon { animation: none; } }

/* Plans on phones (Maksym, 2026-11-15): the two plans sit side by side and swipe, like Whoop's membership cards. */
.plans-swipe, .plans-dots { display: none; }
.plans-tech-link { display: flex; justify-content: center; align-items: center; gap: 6px; width: max-content; margin: 28px auto 0; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--primary); }
.plans-tech-link .chev { width: 20px; height: 20px; animation: tech-nudge 1.8s ease-in-out infinite; }
@keyframes tech-nudge { 0%, 100% { transform: none; } 50% { transform: translateY(3px); } }
.plans-tech { padding-top: 64px; }
.tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 40px auto 0; align-items: start; }
.tech-card { padding: 24px; }
.tech-card__head { display: flex; align-items: center; gap: 14px; }
.tech-card__head img { width: 64px; height: 64px; border-radius: 12px; background: #ececec; }
.tech-card__head h3 { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--heading); }
.tech-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.tech-table th, .tech-table td { padding: 9px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.tech-table th { width: 42%; padding-right: 16px; font-weight: 500; color: var(--muted); }
.tech-table td { color: var(--heading); }
.tbc { color: #b8741a; font-style: italic; }
.tech-subtitle { max-width: 1000px; margin: 48px auto 0; font-size: 22px; line-height: 30px; font-weight: 600; color: var(--heading); }
.tech-steps { grid-template-columns: repeat(3, 1fr); margin-top: 20px; row-gap: 20px; }
@media (max-width: 860px) {
  .plans-swipe { display: block; margin-top: 18px; text-align: center; font-size: 14px; line-height: 20px; color: var(--muted); }
  .plans-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 8px calc(-1 * var(--pad-x)) 0; padding: 18px var(--pad-x) 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .plans-grid::-webkit-scrollbar { display: none; }
  .plans-grid > .plan { flex: 0 0 86%; scroll-snap-align: center; }
  .plans-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .plans-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c9cfd8; cursor: pointer; transition: width .2s ease, background-color .2s ease; }
  .plans-dots button[aria-current="true"] { width: 22px; border-radius: 4px; background: var(--primary); }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .plans-tech-link .chev { animation: none; } }
/* Cookie banner in the home banner's style (Maksym, 2026-11-15): dark navy with a soft blue glow, white text. */
.cookie-banner { color: #fff; border-color: rgba(255, 255, 255, .14);
  background: radial-gradient(70% 90% at 85% 15%, rgba(0, 140, 255, .28), transparent 70%), rgba(11, 20, 36, .96);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6), 0 0 0 1px rgba(124, 196, 255, .08) inset; }
.cookie-banner__title { color: #fff; }
.cookie-banner__text { color: rgba(255, 255, 255, .78); }
.cookie-banner__text a { color: #7cc4ff; }
.cookie-banner .btn--outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.cookie-banner .btn--outline:hover { background: rgba(255, 255, 255, .12); }
.cookie-banner__icon { filter: drop-shadow(0 4px 10px rgba(255, 146, 72, .35)); }

/* "Join now" at the end of Protected by HeatVision (Maksym, 2026-11-15); leads to /plans, shown only where Plans exists. */
.how__actions { margin-top: 32px; }
.how__actions .btn { min-width: 180px; }
@media (max-width: 640px) { .how__actions .btn { width: 100%; } }

/* Technical information shows the controller only (Maksym, 2026-11-15: the attachment is not described there). */
.tech-grid { grid-template-columns: minmax(0, 640px); justify-content: center; }

/* Compact plan cards (Maksym, 2026-11-15): each fits in about 75 to 80 percent of the screen. */
.plan { padding: 22px 24px 24px; }
.plan__img { height: 112px; }
.plan__name { margin-top: 16px; font-size: 24px; line-height: 30px; }
.plan__tag { margin-top: 2px; font-size: 15px; line-height: 22px; }
.plan__price { margin-top: 12px; }
.plan__price span { font-size: 34px; line-height: 40px; }
.plan__month { font-size: 13px; line-height: 18px; }
.plan__chips { margin-top: 10px; }
.plan__features { margin: 16px 0 20px; padding-top: 16px; gap: 8px; }
.plan__features li { font-size: 15px; line-height: 22px; }
.plans-grid { margin-top: 36px; }
@media (max-width: 860px) {
  .plan { padding: 20px 18px 20px; }
  .plan__img { height: 96px; }
  .plan__name { margin-top: 14px; font-size: 22px; line-height: 28px; }
  .plan__price span { font-size: 30px; line-height: 36px; }
  .plans-grid { margin-top: 4px; }
}
@media (max-width: 860px) {
  .plan { padding: 18px 16px 18px; }
  .plan__img { height: 78px; border-radius: 10px; }
  .plan__name { margin-top: 12px; font-size: 21px; line-height: 27px; }
  .plan__tag { font-size: 14px; line-height: 20px; }
  .plan__price { margin-top: 8px; }
  .plan__price span { font-size: 28px; line-height: 34px; }
  .plan__chips { margin-top: 8px; }
  .plan__features { margin: 12px 0 16px; padding-top: 12px; gap: 6px; }
  .plan__features li { font-size: 15px; line-height: 21px; }
  .plan__cta { padding-top: 10px; padding-bottom: 10px; }
  .plans-swipe { margin-top: 10px; }
}
@media (max-width: 360px) {
  .plans-grid > .plan { flex-basis: 90%; }
  .plan { padding: 16px 14px 16px; }
  .plan__img { height: 64px; }
  .plan__features li { font-size: 14px; line-height: 20px; gap: 8px; }
  .plan__features .check { width: 18px; height: 18px; }
  .plan__name { font-size: 19px; line-height: 25px; }
}

/* Join now: under the steps on desktop, after the app picture on phones (Maksym, 2026-11-15). */
.how:has(.how__actions) { grid-template-areas: ". image" "text image" "cta image" ". image"; grid-template-rows: 1fr auto auto 1fr; row-gap: 0; }
.how:has(.how__actions) > div:first-child { grid-area: text; }
.how:has(.how__actions) > .how__image { grid-area: image; }
.how:has(.how__actions) > .how__actions { grid-area: cta; align-self: start; }
@media (max-width: 860px) {
  .how:has(.how__actions) { grid-template-areas: "text" "image" "cta"; grid-template-rows: auto; row-gap: 48px; }
  .how:has(.how__actions) > .how__actions { margin-top: 0; }
}

/* Narrower plan cards, product pictures on white with no grey box (Maksym, 2026-11-15). */
.plans-grid { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; max-width: none; }
.plan__img { background: none; height: 120px; }
.plan__img img { -webkit-mask-image: none; mask-image: none; }
.plan__img--2 img + img { margin-left: -26px; }
@media (max-width: 860px) {
  .plans-grid { display: flex; }
  .plans-grid > .plan { flex: 0 0 78%; max-width: 320px; }
  .plans-grid { justify-content: flex-start; }
  .plan__img { height: 88px; }
}
@media (max-width: 360px) { .plans-grid > .plan { flex-basis: 84%; } }
@media (max-width: 860px) {
  .plan__features li { font-size: 14px; line-height: 20px; gap: 8px; }
  .plan__features .check { width: 18px; height: 18px; }
  .plan__img { height: 80px; }
}
.plan__img img { mix-blend-mode: multiply; }  /* white picture backgrounds melt into the white card */
/* Phones: every plan card stops centered, the first and the last too (Maksym, 2026-11-15). The row spans the screen
   and has equal side padding of half the leftover width. */
@media (max-width: 860px) {
  .plans-grid { --plan-w: min(78vw, 320px); margin-left: calc(-1 * var(--pad-x)); margin-right: calc(-1 * var(--pad-x));
    padding-left: calc((100vw - var(--plan-w)) / 2); padding-right: calc((100vw - var(--plan-w)) / 2); scroll-padding: 0; }
  .plans-grid > .plan { flex: 0 0 var(--plan-w); max-width: none; scroll-snap-align: center; scroll-snap-stop: always; }
}
@media (max-width: 360px) { .plans-grid { --plan-w: 84vw; } }

/* Plan kit pictures (controller, two sensors, two straps; Advanced adds the attachment), one wide image. */
.plan__img--kit img { height: 100%; width: auto; max-width: 100%; aspect-ratio: auto; object-fit: contain; margin: 0; }

/* Designed for: the equipment the controller works with, above the controller's table (Maksym, 2026-11-15). */
.tech-for { max-width: 640px; margin: 40px auto 0; padding: 22px 24px; }
.tech-for h3 { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--heading); }
.tech-for .tech-for__list { margin: 12px 0 0; padding-top: 0; border-top: 0; }
.tech-for .tech-for__list li { font-size: 16px; line-height: 24px; }
.tech-for__note { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
.tech-for + .tech-grid { margin-top: 24px; }
@media (max-width: 860px) { .tech-for .tech-for__list li { font-size: 15px; line-height: 22px; } }
/* Close (X) buttons: no browser padding, and the X pinned to the exact centre, so it is centred in Safari too
   (Maksym, 2026-11-15). */
.quote-modal__close { padding: 0; -webkit-appearance: none; appearance: none; line-height: 0; }
.quote-modal__close svg { position: absolute; inset: 0; margin: auto; display: block; }
