﻿/* CAVE-TEK prototype — Apple-inspired design system */
/* Colour tokens follow the CAVE design system (brochure palette); backgrounds are unchanged on purpose. The product-line colours
   (data-cat, below) stay. This block merges the two :root blocks the file used to have (the later one won; 2026-10-11). */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #000000;
  --bg-dark-alt: #161617;
  --text: #16201C;            /* ink */
  --text-2: #5D6965;          /* muted */
  --text-on-dark: #f5f5f7;
  --text-2-on-dark: #a1a1a6;
  --line: #DCE6E3;            /* hair */
  --accent: #0B7666;          /* CI green for text on white (5.5:1) */
  --accent-bright: #4FD1B8;   /* CI light, for dark backgrounds */
  --link: #0B7666;
  --radius: 28px;
  --radius-sm: 12px;
  --maxw: 1024px;
  --maxw-wide: 1260px;
  --gutter: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 48px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.muted { color: var(--text-2); }
.dark { background: var(--bg-dark); color: var(--text-on-dark); }
.dark .muted { color: var(--text-2-on-dark); }
.alt { background: var(--bg-alt); }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.eyebrow { font-size: 21px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.dark .eyebrow { color: var(--accent-bright); }
.headline { font-size: clamp(40px, 6vw, 64px); color: var(--accent); }   /* page titles in CI green (Pete, 2026-10-11) */
.headline-md { font-size: clamp(32px, 4.6vw, 48px); }
.sub { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; margin-top: 10px; }
.lede { font-size: clamp(19px, 1.9vw, 21px); line-height: 1.5; color: var(--text-2); max-width: 760px; margin: 18px auto 0; }
.dark .lede { color: var(--text-2-on-dark); }

/* buttons & links */
.ctas { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.btn { display: inline-block; background: var(--accent); color: #fff; border-radius: 980px; padding: 11px 22px; font-size: 17px; line-height: 1; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--link); border: 1px solid var(--link); }
.dark .btn-ghost { color: var(--accent-bright); border-color: var(--accent-bright); }
.more { font-size: 19px; color: var(--link); }
.more::after { content: " ›"; }
.dark .more { color: var(--accent-bright); }

/* global nav */
.gnav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(251,251,253,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.gnav .wrap-wide { height: 100%; display: flex; align-items: center; gap: 22px; }
.gnav .logo img { height: 18px; width: auto; }
.gnav ul { list-style: none; display: flex; gap: 22px; white-space: nowrap; margin: 0 0 0 auto; padding: 0; font-size: 13px; }
.gnav ul a { color: var(--text); opacity: .85; }
.gnav ul a:hover { opacity: 1; text-decoration: none; }
.gnav .lang { font-size: 13px; color: var(--text-2); border: 1px solid var(--line); border-radius: 980px; padding: 3px 10px; }
.gnav .menu-btn { display: none; margin-left: auto; background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--text); padding: 6px; }
@media (max-width: 833px) {
  .gnav ul { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(251,251,253,.97); flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .gnav ul.open { display: flex; max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .gnav ul li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
  .gnav .menu-btn { display: block; }
  .gnav .lang { order: 3; }
}

/* home hero */
.hero { text-align: center; padding: 64px 0 0; overflow: hidden; }
.hero h1 { font-size: clamp(48px, 8vw, 80px); }
.hero .sub { font-size: clamp(22px, 3vw, 28px); font-weight: 400; }
.hero .hero-img { margin: 40px auto 0; max-width: min(560px, 86%); width: auto; max-height: min(56vh, 640px); filter: drop-shadow(0 40px 60px rgba(25,195,125,.18)); }
.hero.dark { padding-bottom: 60px; }

/* tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.tile { border-radius: 0; text-align: center; padding: 52px 24px 0; min-height: 580px; display: flex; flex-direction: column; align-items: center; overflow: hidden; background: var(--bg-alt); }
.tile.white { background: #fff; }
.tile.dark { background: var(--bg-dark-alt); }
.tile h2 { font-size: clamp(32px, 3.6vw, 40px); }
.tile .sub { font-size: clamp(17px, 1.8vw, 21px); }
.tile .ctas { margin-top: 14px; }
.tile img { margin-top: auto; max-height: 330px; max-width: 100%; width: auto; object-fit: contain; padding: 24px 0 36px; }
@media (max-width: 833px) { .tiles { grid-template-columns: 1fr; padding: 12px 0; } .tile { min-height: 500px; } }

/* scenarios */
.scen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.scen { background: #fff; border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; }
.scen svg { width: 100%; height: auto; margin-bottom: 20px; color: var(--text); }
.scen h3 { font-size: 21px; }
.scen .size { color: var(--text-2); font-size: 14px; margin-top: 4px; }
.scen p.desc { font-size: 15px; color: var(--text-2); margin-top: 12px; }
.scen .recs { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; font-size: 13px; border: 1px solid var(--line); border-radius: 980px; padding: 4px 11px; color: var(--text); background: #fff; }
a.chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
@media (max-width: 1068px) { .scen-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .scen-grid { grid-template-columns: 1fr; } }

/* lineup rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px; margin-top: 40px; scrollbar-width: thin; }
.card { scroll-snap-align: start; background: #fff; border-radius: var(--radius); padding: 28px 22px 24px; display: flex; flex-direction: column; color: var(--text); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.card .ph { height: 170px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card .ph img { max-height: 170px; width: auto; object-fit: contain; }
.card .cat { font-size: 12px; color: var(--accent); font-weight: 600; }
.card h3 { font-size: 21px; margin-top: 4px; }
.card p { font-size: 14px; color: var(--text-2); margin-top: 6px; }
.alt .card { background: #fff; }
.section:not(.alt) .card { background: var(--bg-alt); }

/* trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.trust div { text-align: center; }
.trust .big { font-size: clamp(40px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; color: var(--accent-bright); }
.trust h3 { font-size: 19px; margin-top: 8px; }
.trust p { font-size: 15px; margin-top: 6px; }
@media (max-width: 833px) { .trust { grid-template-columns: 1fr 1fr; } }

/* guides */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.guide { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; color: var(--text); display: flex; flex-direction: column; min-height: 200px; }
.guide:hover { text-decoration: none; background: #ececef; }
.guide .tag { font-size: 12px; color: var(--accent); font-weight: 600; }
.guide h3 { font-size: 21px; margin-top: 8px; line-height: 1.25; }
.guide .more { margin-top: auto; padding-top: 18px; font-size: 15px; }
@media (max-width: 833px) { .guides { grid-template-columns: 1fr; } }

/* footer */
footer { background: var(--bg-alt); color: var(--text-2); font-size: 12px; padding: 36px 0 28px; }
footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
footer h4, footer .fh { font-size: 12px; font-weight: 600; color: var(--text); margin: 0 0 10px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 6px 0; }
footer a { color: var(--text-2); }
footer li a { display: inline-block; padding: 4px 0; }   /* touch target of at least 24px */
footer .legal { padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 733px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- product page ---------- */
.lnav { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.lnav .wrap-wide { height: 52px; display: flex; align-items: center; gap: 24px; }
.lnav .pname { font-size: 21px; font-weight: 600; margin-right: auto; }
.lnav a.l { font-size: 12px; color: var(--text); opacity: .8; }
.lnav .btn { font-size: 12px; padding: 6px 13px; }
@media (max-width: 600px) { .lnav a.l { display: none; } }
.p-hero { text-align: center; padding: 56px 0 72px; overflow: hidden; }
.p-hero .eyebrow { font-size: 17px; }
.p-hero h1 { font-size: clamp(44px, 7vw, 80px); }
.p-hero .sub { font-size: clamp(22px, 3vw, 32px); }
.p-hero .hero-img { max-width: min(620px, 86%); width: auto; height: auto; max-height: min(58vh, 660px); margin: 44px auto 0; }
.p-hero .hero-img[style*="--ar"] { width: min(86%, 620px, calc(min(58vh, 660px) * var(--ar))); max-width: none; max-height: none; }   /* size fixed by the picture's shape, so it is the same before and after it loads */
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hl { text-align: center; padding: 8px; }
.hl .big { font-size: clamp(36px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.03em; background: linear-gradient(135deg, #14AC94, var(--accent-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl p { font-size: 15px; margin-top: 4px; }
@media (max-width: 733px) { .hl-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
.intro { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.4; font-weight: 600; letter-spacing: -0.015em; max-width: 880px; margin: 0 auto; }
.intro .hi { color: var(--accent); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feat.rev .feat-txt { order: 2; }
.feat .kicker { font-size: 17px; font-weight: 600; color: var(--accent); }
.feat h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 8px; }
.feat p { font-size: 17px; color: var(--text-2); margin-top: 18px; }
.feat-img { background: var(--bg-alt); border-radius: var(--radius); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 36px; }
.feat-img img { max-height: 100%; width: auto; object-fit: contain; }
.feat-img svg { width: 100%; height: auto; }
@media (max-width: 833px) { .feat { grid-template-columns: 1fr; gap: 28px; } .feat.rev .feat-txt { order: 0; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 40px; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 13px; color: var(--text-2); margin-top: 10px; }
.gallery .todo div { background: none; border: 1.5px dashed var(--line); color: var(--text-2); font-size: 14px; }
.gallery div { background: #fff; border-radius: var(--radius); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 26px; }
.gallery img { max-height: 100%; width: auto; object-fit: contain; }

/* specs */
.spec-group { border-top: 1px solid var(--line); padding: 28px 0; display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.spec-group h3 { font-size: 21px; }
.spec-group dl { margin: 0; display: grid; grid-template-columns: 220px 1fr; row-gap: 14px; column-gap: 24px; }
.spec-group dt { color: var(--text-2); font-size: 14px; }
.spec-group dd { margin: 0; font-size: 15px; white-space: pre-line; }
@media (max-width: 833px) { .spec-group { grid-template-columns: 1fr; } .spec-group dl { grid-template-columns: 1fr; row-gap: 4px; } .spec-group dd { margin-bottom: 12px; } }
.note { font-size: 13px; color: var(--text-2); margin-top: 16px; }
.badge { display: inline-block; font-size: 12px; background: #fff4d6; color: #7a5200; border-radius: 6px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }

/* downloads */
.dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 32px; }
.dl a { background: #fff; border-radius: var(--radius-sm); padding: 18px 20px; color: var(--text); display: flex; gap: 14px; align-items: center; }
.dl a:hover { text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.dl .ic { width: 36px; height: 36px; border-radius: 8px; background: #fde8e7; color: #a82820; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.dl .t { font-size: 15px; font-weight: 600; }
.dl .f { font-size: 12px; color: var(--text-2); word-break: break-all; }

/* faq */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 1; color: var(--text-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--text-2); font-size: 17px; }
.faq details { scroll-margin-top: 80px; }
.faq-steps { list-style: none; counter-reset: fs; margin: 18px 0 0; padding: 0; display: grid; gap: 28px; }
.faq-steps li { counter-increment: fs; }
.faq-steps .st { margin: 0 0 10px; color: var(--text); font-size: 18px; font-weight: 600; display: flex; gap: 12px; align-items: baseline; }
.faq-steps .st::before { content: counter(fs); flex: none; width: 28px; height: 28px; border-radius: 50%; background: #0B7666; color: #fff; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.faq-steps img { display: block; width: auto; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.faq .faq-pdf { margin-top: 24px; }
.prod-help { margin: 24px 0 0; text-align: center; font-size: 17px; }

/* catalog */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.filters button { font: inherit; font-size: 14px; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 980px; padding: 8px 16px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--text); color: #fff; border-color: var(--text); }
.filters .filter-link { font-size: 14px; line-height: 1.47; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 980px; padding: 8px 16px; }
.filters .filter-link:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }   /* goes to the bundles page, not a filter */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.cmp-wrap { overflow-x: auto; margin-top: 36px; border-radius: var(--radius); background: #fff; }
table.cmp { border-collapse: collapse; width: max-content; min-width: 100%; font-size: 14px; }
table.cmp thead th:not(:first-child), table.cmp td { min-width: 150px; max-width: 220px; }   /* every model gets a readable column; the table scrolls sideways when they do not all fit */
table.cmp th, table.cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #ececef; vertical-align: top; }
table.cmp thead th { position: sticky; top: 0; background: #fff; font-size: 15px; }
table.cmp thead img { height: 72px; width: 120px; object-fit: contain; object-position: left bottom; margin-bottom: 8px; }   /* fixed box + contain: wide photos (A01, SP-1100) keep their shape in Safari */
table.cmp tbody th { color: var(--text-2); font-weight: 500; white-space: nowrap; background: #fafafa; position: sticky; left: 0; }
table.cmp td { white-space: pre-line; }

/* skip link / a11y */
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* prototype banner */
.proto-bar { background: #1d1d1f; color: #d2d2d7; font-size: 12px; text-align: center; padding: 7px 12px; }
.proto-bar a { color: var(--accent-bright); }

/* ---------- shared additions (v2) ---------- */
.mono { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; letter-spacing: 0; }
.label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin-bottom: 10px; }
.proto-bar a[aria-current] { color: #fff; font-weight: 700; text-decoration: underline; }
.ctas.left { justify-content: flex-start; }
.scen .idx, .feat .fnum { display: none; }
.dl .dl-off { background: #fff; border-radius: var(--radius-sm); padding: 18px 20px; display: flex; gap: 14px; align-items: center; color: #666d6b; }
.dl .dl-off .ic { background: #e8e8ea; color: #5b6260; }
.dl .dl-off .t { color: #666d6b; }
.dl { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 733px) { .dl { grid-template-columns: 1fr; } }

/* article */
.art-head { padding: 56px var(--gutter) 40px; max-width: 880px; }
.crumbs { font-size: 13px; color: var(--text-2); margin-bottom: 20px; }
.crumbs a { color: var(--text-2); }
.art-head .tag { font-size: 14px; font-weight: 600; color: var(--accent); }
.art-head h1 { font-size: clamp(34px, 5vw, 52px); margin-top: 10px; line-height: 1.12; }
.art-head .dek { font-size: clamp(19px, 2vw, 22px); color: var(--text-2); margin-top: 16px; line-height: 1.45; }
.byline { font-size: 14px; color: var(--text-2); margin-top: 20px; }
.art-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; justify-content: center; padding-bottom: 80px; }
.art-toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; font-size: 14px; }
.art-toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.art-toc li a { display: block; padding: 7px 0 7px 14px; color: var(--text-2); }
.art-toc li a:hover { color: var(--text); text-decoration: none; }
.art-body > * + * { margin-top: 40px; }
.art-body h2 { font-size: 28px; margin-bottom: 14px; }
.art-body section p { font-size: 18px; line-height: 1.7; color: #333336; }
.art-body section p + p { margin-top: 14px; }
.answer { background: #eefaf4; border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 22px 26px; }
.answer .label { color: var(--accent); }
.answer p:last-child { font-size: 18px; line-height: 1.65; }
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { font-size: 17px; margin: 8px 0; }
.art-table { overflow-x: auto; }
.art-table table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
.art-table th, .art-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.art-table th { font-size: 13px; color: var(--text-2); font-weight: 600; }
.art-products .grid { margin-top: 12px; grid-template-columns: repeat(3, 1fr); }
.art-products .card { background: var(--bg-alt); }
.art-body .faq { margin-top: 8px; }
@media (max-width: 1000px) { .art-grid { grid-template-columns: 1fr; gap: 24px; } .art-toc { position: static; } .art-products .grid { grid-template-columns: 1fr 1fr; } }

/* FAQ / support */
.faq-hero { padding: 64px 0 24px; }
.search { max-width: 640px; margin: 28px auto 0; }
.search input { width: 100%; font: inherit; font-size: 17px; padding: 15px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-alt); color: var(--text); }
.search input:focus { outline: 2px solid var(--accent); background: #fff; }
.faq-body { max-width: 860px; }
.faq-cat { margin-top: 40px; }
.faq-cat h2 { font-size: 24px; }
.faq-cat .faq { margin-top: 8px; max-width: none; }
.faq .pre { white-space: pre-line; }
.faq .img-only { color: #9a6700; background: #fff8e6; padding: 10px 14px; border-radius: 8px; font-size: 15px; }

/* ---------- color system (v3): one vivid colourway per product line, like iPhone finishes ---------- */
:root { --c1: #14AC94; --c2: #4FD1B8; --tint: #F1FAF7; }   /* default = CI green (pages without a product line) */
[data-cat="ptz"]   { --c1: #ff6a13; --c2: #ffb067; --tint: #fff1e6; }   /* cosmic orange */
[data-cat="conf"]  { --c1: #2d7dff; --c2: #7cc4ff; --tint: #eaf3ff; }   /* sky blue */
[data-cat="ctrl"]  { --c1: #7a5cff; --c2: #b9a8ff; --tint: #f1eeff; }   /* violet */
[data-cat="audio"] { --c1: #ff3d8b; --c2: #ffa0c8; --tint: #ffedf4; }   /* pink */
[data-cat="byom"]  { --c1: #00a99d; --c2: #6fe3d6; --tint: #e6faf7; }   /* teal */
[data-cat="rec"]   { --c1: #ff4b3e; --c2: #ff9c7a; --tint: #fff0ec; }   /* coral red */
.grad { background: linear-gradient(120deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* A: colour accents on top of the Apple-like base */
body[data-variant="a"] .tile[data-cat] { background: linear-gradient(180deg, #fff 35%, var(--tint)); }
body[data-variant="a"] .tile[data-cat] h2 { background: linear-gradient(120deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body[data-variant="a"] .hero.dark h1 { background: linear-gradient(120deg, #fff 20%, #ffb067 60%, #ff6a13); -webkit-background-clip: text; background-clip: text; color: transparent; }
body[data-variant="a"] .hero.dark .hero-img { filter: drop-shadow(0 40px 80px rgba(255,106,19,.35)); }
body[data-variant="a"] .card[data-cat] .cat, body[data-variant="a"] .card[data-cat] h3 { color: var(--c1); }
body[data-variant="a"] .card[data-cat] { box-shadow: inset 0 3px 0 var(--c1); }
body[data-variant="a"][data-cat] .eyebrow, body[data-variant="a"][data-cat] .feat .kicker { color: var(--c1); }
body[data-variant="a"][data-cat] .hl .big { background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body[data-variant="a"][data-cat] .p-hero { background: radial-gradient(55% 45% at 50% 78%, var(--tint), transparent 72%); }
body[data-variant="a"][data-cat] .p-hero h1 { background: linear-gradient(120deg, #16201C 30%, var(--c1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body[data-variant="a"] .trust .big { background: linear-gradient(120deg, #ff6a13, #ff3d8b 50%, #7a5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* review workflow: pending FAQ items (visible only in preview mode) */
.proto-bar a.on { color: #ffd76a; font-weight: 700; }
.faq details.is-pend { background: repeating-linear-gradient(135deg, #fffbea, #fffbea 10px, #fff6d6 10px, #fff6d6 20px); padding-left: 14px; padding-right: 14px; border-radius: 8px; }
.pend { flex: none; align-self: center; font-size: 11px; font-weight: 600; color: #8a5a00; background: #ffe7a3; border-radius: 980px; padding: 2px 9px; margin-left: 10px; }
/* Proposal C — "Bright Colour": same bento structure as B, but on white with soft colour fields per product line.
   Reference mood: iPhone colourway launches, Google Pixel store, Stripe gradients — bright, optimistic, still precise. */
body { background: var(--bg); }
.gnav { background: rgba(255,255,255,.8); }
.btn { background: #111113; color: #fff; }
.btn:hover { filter: none; background: #2a2a2e; }
.btn-ghost { background: transparent; color: #111113; border: 1px solid #d2d2d7; }
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); filter: none; }   /* .btn:hover above would turn it dark with dark text */
.dark .btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--accent-bright); }
.more { color: var(--link); }

/* hero: colourful mesh on white */
.b-hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.b-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 50% at 78% 45%, rgba(255,106,19,.30), transparent 70%),
              radial-gradient(30% 40% at 92% 85%, rgba(255,61,139,.24), transparent 70%),
              radial-gradient(35% 45% at 60% 95%, rgba(122,92,255,.18), transparent 70%),
              radial-gradient(30% 35% at 8% 10%, rgba(45,125,255,.12), transparent 70%); }
.b-hero .wrap-wide { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "eyebrow img" "title img" "sub img" "ctas img" "specs specs"; column-gap: 40px; }
.eyebrow-b { grid-area: eyebrow; color: #ff6a13; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-top: 60px; font-weight: 600; }
.b-title { grid-area: title; font-size: clamp(72px, 13vw, 180px); font-weight: 800; letter-spacing: -0.05em; line-height: .9;
  background: linear-gradient(120deg, #ff6a13 10%, #ff3d8b 55%, #7a5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b-title.sm { font-size: clamp(40px, 6vw, 72px); }
.b-sub { grid-area: sub; font-size: clamp(22px, 2.6vw, 30px); margin-top: 18px; font-weight: 600; }
.b-hero .ctas { grid-area: ctas; margin-top: 28px; }
/* width is fixed from the photo's proportions (--ar = width / height, set on the tag) so the space is reserved before the photo loads */
.b-hero-img { grid-area: img; justify-self: center; width: min(100%, calc(620px * var(--ar, 1))); height: auto; filter: drop-shadow(0 40px 60px rgba(255,106,19,.22)); }
.b-specs { grid-area: specs; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.b-specs div { background: rgba(255,255,255,.7); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.b-specs b { display: block; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.03em; background: linear-gradient(120deg, #ff6a13, #ff3d8b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b-specs span { font-size: 13px; color: var(--text-2); }
@media (max-width: 833px) {
  .b-hero .wrap-wide { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "sub" "ctas" "img" "specs"; }
  .eyebrow-b { margin-top: 0; } .b-hero-img { width: min(100%, calc(380px * var(--ar, 1))); margin-top: 32px; } .b-specs { grid-template-columns: 1fr 1fr; }
}
.b-h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 32px; }
.b-h2 .muted { font-weight: 400; font-size: .6em; }

/* bento — pastel colour field per product line */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 14px; }
.bento-cell { position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px; color: var(--text); display: flex; flex-direction: column; background: var(--bg-alt); transition: transform .3s, box-shadow .3s; }
.bento-cell[data-cat] { background: radial-gradient(90% 90% at 90% 100%, color-mix(in srgb, var(--c2) 55%, transparent), transparent 70%), var(--tint); }
.bento-cell:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 20px 50px color-mix(in srgb, var(--c1) 25%, transparent); }
.bento-cell.span2 { grid-column: span 2; }
.bento-cell.tall { grid-row: span 2; }
.bento-cell .cat { font-size: 12px; font-weight: 700; color: var(--c1); letter-spacing: .04em; }
.bento-cell h3 { font-size: 30px; margin-top: 6px; }
.bento-cell p { font-size: 15px; color: var(--text-2); margin-top: 6px; max-width: 280px; }
.bento-cell img { position: absolute; right: 18px; bottom: 18px; max-height: 58%; max-width: 62%; width: auto; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.15)); transition: transform .5s; }
.bento-cell.tall img { max-height: 70%; max-width: 86%; right: 50%; transform: translateX(50%); }
.bento-cell:hover img { transform: scale(1.04); }
.bento-cell.tall:hover img { transform: translateX(50%) scale(1.04); }
.bc-go { position: absolute; left: 28px; bottom: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--c1); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; } .bento-cell.tall { grid-row: span 1; } .bento-cell.tall img { right: 18px; transform: none; max-width: 62%; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento-cell.span2 { grid-column: span 1; } }

/* shared components in colour */
.scen { background: var(--bg-alt); border-radius: var(--radius); }
.scen:nth-child(1) { background: #eaf3ff; } .scen:nth-child(2) { background: #fff1e6; } .scen:nth-child(3) { background: #ffedf4; } .scen:nth-child(4) { background: #f1eeff; }
.chip { background: rgba(255,255,255,.8); border-color: transparent; }
.b-stats { background: #111113; color: #f5f5f7; }
.b-stats .muted { color: #a1a1a6; }
.trust .big { background: linear-gradient(120deg, #ffb067, #ff3d8b 50%, #b9a8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.guide { background: var(--bg-alt); border-radius: var(--radius); }
.guide:nth-child(1) { background: #eaf3ff; } .guide:nth-child(2) { background: #fff0ec; } .guide:nth-child(3) { background: #e6faf7; }
.b-cta { background: radial-gradient(40% 80% at 30% 100%, rgba(255,106,19,.18), transparent 70%), radial-gradient(40% 80% at 70% 100%, rgba(255,61,139,.16), transparent 70%); }
.card { background: var(--bg-alt); border-radius: var(--radius); }
.card[data-cat] { background: linear-gradient(180deg, var(--bg-alt) 40%, var(--tint)); }
.card[data-cat] .cat { color: var(--c1); }
.card:hover { box-shadow: 0 16px 40px color-mix(in srgb, var(--c1, #000) 22%, transparent); }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
body[data-cat] .p-hero { background: radial-gradient(45% 45% at 50% 75%, color-mix(in srgb, var(--c2) 45%, transparent), transparent 70%); }
body[data-cat] .p-hero h1 { background: linear-gradient(120deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body[data-cat] .eyebrow, body[data-cat] .feat .kicker { color: var(--c1); }
body[data-cat] .hl-sec { background: var(--tint); }
body[data-cat] .hl .big { background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body[data-cat] .feat-img { background: var(--tint); }
body[data-cat] .lnav .btn { background: color-mix(in srgb, var(--c1) 62%, #000); }   /* darkened so the 12px white label reaches 4.5:1 */
.feat-img, .gallery div { border-radius: var(--radius); }
.answer { background: #F1FAF7; border-left-color: #14AC94; }
.answer .label { color: #0B7666; }

/* ---------- bundles (UCB) ---------- */
.ucb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ucb-card { border-radius: var(--radius); padding: 22px 22px 24px; background: linear-gradient(180deg, #f5f5f7 45%, var(--tint)); color: var(--text); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.ucb-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 16px 40px color-mix(in srgb, var(--c1) 22%, transparent); }
.ucb-card img { height: 150px; width: 100%; object-fit: contain; margin-bottom: 14px; }
.ucb-card .cat { font-size: 12px; font-weight: 700; color: var(--c1); }
.ucb-card h3 { font-size: 26px; margin-top: 4px; }
.ucb-card p { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.ucb-card .more { margin-top: auto; padding-top: 12px; font-size: 15px; }
@media (max-width: 1000px) { .ucb-grid { grid-template-columns: 1fr 1fr; } }
.ucb-sec { border-top: 1px solid var(--line); }
.ucb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ucb-row.rev .ucb-photo { order: 2; }
.ucb-photo { border-radius: var(--radius); background: radial-gradient(80% 80% at 70% 90%, color-mix(in srgb, var(--c2) 45%, transparent), transparent 70%), var(--tint); aspect-ratio: 5/4; display: flex; align-items: center; justify-content: center; padding: 40px; }
.ucb-photo img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.14)); }
.ucb-txt .eyebrow { color: color-mix(in srgb, var(--c1) 78%, #000); }
.ucb-txt h2 { font-size: clamp(30px, 3.6vw, 44px); }
.ucb-fit { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; font-size: 14px; color: var(--text-2); }
.ucb-fit b { background: var(--tint); color: var(--text); border-radius: 980px; padding: 4px 12px; font-weight: 600; }
.ucb-line { font-size: 18px; color: var(--text-2); margin-top: 16px; line-height: 1.6; }
.ucb-scene { margin: 22px 0 18px; max-width: 360px; border-radius: 18px; background: #f5f5f7; padding: 10px; }
.ucb-scene svg { width: 100%; height: auto; display: block; }
.ucb-parts { list-style: none; padding: 0; margin: 0 0 22px; }
.ucb-parts li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.ucb-parts .q { font-weight: 700; color: color-mix(in srgb, var(--c1) 78%, #000); min-width: 28px; }
@media (max-width: 833px) { .ucb-row { grid-template-columns: 1fr; gap: 24px; } .ucb-row.rev .ucb-photo { order: 0; } }
.scen svg { border-radius: 14px; }

/* ---------- guides (blog index + cards) ---------- */
.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.gcard { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--text); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.gcard:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 16px 40px color-mix(in srgb, var(--c1) 20%, transparent); }
.gcover { aspect-ratio: 16/9; background: radial-gradient(80% 90% at 80% 100%, color-mix(in srgb, var(--c2) 50%, transparent), transparent 70%), var(--tint); display: flex; align-items: center; justify-content: center; padding: 18px; }
.gcover img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0,0,0,.14)); }
.gcover svg { height: 100%; width: auto; max-width: 100%; }
.gbody { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gbody .tag { font-size: 12px; font-weight: 700; color: var(--c1); display: flex; gap: 8px; align-items: center; }
.gbody .orig { font-style: normal; font-weight: 500; font-size: 11px; color: var(--text-2); border: 1px solid var(--line); border-radius: 980px; padding: 1px 8px; }
.gbody h3 { font-size: 20px; line-height: 1.3; }
.gbody p { font-size: 15px; color: var(--text-2); }
.gmeta { margin-top: auto; font-size: 13px; color: var(--text-2); }
.gfeat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; margin: 40px 0 8px; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--text); }
.gfeat:hover { text-decoration: none; box-shadow: 0 20px 50px color-mix(in srgb, var(--c1) 20%, transparent); }
.gfeat .gcover { aspect-ratio: auto; min-height: 340px; }
.gfeat .gbody { padding: 40px; justify-content: center; }
.gfeat h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
.gfeat p { font-size: 18px; }
.gfeat .more { margin-top: 12px; }
#glist { margin-top: 24px; }
@media (max-width: 1000px) { .ggrid { grid-template-columns: 1fr 1fr; } .gfeat { grid-template-columns: 1fr; } .gfeat .gcover { min-height: 220px; } }
@media (max-width: 600px) { .ggrid { grid-template-columns: 1fr; } .gfeat .gbody { padding: 24px; } }
.ggrid .gcover { aspect-ratio: auto; height: 190px; overflow: hidden; }
.ggrid .gcover img, .ggrid .gcover svg { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.gfeat .gcover { height: 100%; max-height: 400px; overflow: hidden; }
.gfeat .gcover svg, .gfeat .gcover img { height: 100%; max-height: 360px; width: auto; max-width: 100%; }

/* ---------- article v7: figures, sub-questions, links ---------- */
.art-fig { margin: 22px 0; }
.art-fig img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.art-fig figcaption { font-size: 14px; color: var(--text-2); margin-top: 8px; line-height: 1.5; }
.art-hero { margin-top: 28px; }
.art-body section h3 { font-size: 21px; margin: 26px 0 8px; }
.art-body section p + p, .art-body section p + .art-fig, .art-body section .art-fig + p { margin-top: 14px; }
.art-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.art-gallery .art-fig { margin: 0; }
.art-link { margin-top: 16px; }
.art-link a { font-weight: 600; }
/* technical guides: keep RS-232 style names on one line, show commands as code, give tables room before the next block */
.nb { white-space: nowrap; }
.art-body code { font-family: ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace; font-size: .9em; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--text); white-space: nowrap; }
.art-table code { white-space: normal; overflow-wrap: anywhere; }
.art-body .art-table + p, .art-body .art-table + .art-fig, .art-body .art-table + h3 { margin-top: 20px; }
/* links inside running text get an underline: brand green is close to the body ink, so colour alone is not enough (Pete, 2026-10-11).
   Buttons, cards and the standalone "›" links are left clean. */
.art-body section p:not(.art-link) a:not(.btn), .art-body section li a:not(.btn),
.pg > p a:not(.btn), .pg .art-ul a:not(.btn), .pg > ul li a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lead-p { font-size: 19px; line-height: 1.7; color: var(--text); border-left: 3px solid var(--line); padding-left: 16px; }
@media (max-width: 600px) { .art-gallery { grid-template-columns: 1fr; } }
.art-ul { margin: 12px 0; padding-left: 22px; } .art-ul li { font-size: 17px; line-height: 1.7; margin: 6px 0; color: #333336; }

/* feature block without a picture: centred text */
.feat.noimg { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; text-align: center; }

/* installation cases */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.case { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.case img { width: 100%; display: block; }
.case-txt { padding: 22px 26px 26px; }
.case-txt h3 { font-size: 21px; margin: 0 0 8px; }
.case-txt p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.case-prod { margin-top: 14px !important; display: flex; gap: 8px; flex-wrap: wrap; }
.case-prod a { font-size: 13px; border: 1px solid var(--line); border-radius: 980px; padding: 3px 12px; color: var(--text); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 48px; }
.story h3 { font-size: 26px; margin: 0 0 10px; }
.story .lede { font-size: 17px; text-align: left; margin: 0 0 20px; }
.story blockquote { margin: 0 0 16px; padding: 16px 20px; background: #fff; border-radius: 14px; border-left: 4px solid var(--c1, #14ac94); }
.story blockquote p { margin: 0 0 6px; font-size: 15px; line-height: 1.7; }
.story cite { font-style: normal; font-size: 13px; color: var(--text-2); }
.story-dek { font-size: 17px; line-height: 1.7; color: var(--text); max-width: 820px; margin: 0 auto 12px; text-align: center; }
.story2 .case-prod { margin: 0 0 18px; text-align: center; justify-content: center; }
.story-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.story-imgs a:first-child:nth-last-child(odd) { grid-column: 1 / -1; }   /* odd number of photos: the first one runs full width */
.story-imgs img { width: 100%; border-radius: 12px; display: block; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.client-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.client-grid figure { margin: 0; }
.client-grid img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.client-grid figcaption { font-size: 14px; color: var(--text-2); margin-top: 10px; text-align: center; }
@media (max-width: 833px) { .case-grid, .story, .client-grid { grid-template-columns: 1fr; } }

/* static pages */
.pg > p, .pg .art-ul { font-size: 17px; line-height: 1.75; color: var(--text); max-width: 760px; }
.pg > h3 { font-size: 20px; margin: 28px 0 8px; }
.pg .headline-md { margin-bottom: 18px; }
.lede.left { text-align: left; margin-left: 0; }
.pg .qa { font-size: 17px; line-height: 1.7; margin: 0 0 18px; max-width: 760px; }
.pg .qa strong { display: inline-block; margin-bottom: 2px; }
.pg-cards { display: grid; gap: 20px; margin-top: 12px; grid-template-columns: repeat(3, 1fr); }
.pg-cards.c2 { grid-template-columns: repeat(2, 1fr); } .pg-cards.c4 { grid-template-columns: repeat(4, 1fr); }
.pg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); display: flex; flex-direction: column; }
a.pg-card:hover { text-decoration: none; box-shadow: 0 8px 28px rgba(0,0,0,.08); }
.pg-card img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.pg-card > div { padding: 22px 24px 24px; }
.pg-card h3 { font-size: 19px; margin: 0 0 8px; }
.pg-card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.pg-card .more { display: inline-block; margin-top: 12px; font-size: 14px; }
.section-sm.alt .pg-card, .section.alt .pg-card { border-color: transparent; }
.dealers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dealer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.dealer h3 { margin: 0 0 6px; font-size: 22px; } .dealer p { margin: 0 0 14px; font-size: 14px; }
.dealer ul { list-style: none; margin: 0; padding: 0; }
.dealer li { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.hsform { max-width: 720px; margin: 0 auto 8px; }   /* the HubSpot form: compact, not full width */
.hsform iframe { display: block; }
/* contact page: two entrances (resellers / end users) in front of the form */
.entry-chat { max-width: 720px; margin: 0 auto 14px; text-align: right; }
.chat-open { font: inherit; font-size: 15px; font-weight: 600; color: var(--accent); background: none; border: 0; padding: 4px 2px; cursor: pointer; }
.chat-open:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-entry { max-width: 720px; margin: 0 auto; }
.entry-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.entry-tab { font: inherit; text-align: left; cursor: pointer; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; transition: border-color .2s, background .2s; }
.entry-tab b { font-size: 17px; font-weight: 600; }
.entry-tab span { font-size: 13px; color: var(--text-2); }
.entry-tab:hover { border-color: var(--accent); }
.entry-tab[aria-pressed="true"] { border-color: var(--accent); background: #F1FAF7; box-shadow: inset 0 0 0 1px var(--accent); }
.entry-tab[aria-pressed="true"] b { color: var(--accent); }
.entry-note { font-size: 15px; color: var(--text-2); margin: 16px 2px 14px; }
.contact-entry[data-entry="dealer"] .for-user, .contact-entry[data-entry="user"] .for-dealer { display: none; }
@media (max-width: 560px) { .entry-tabs { grid-template-columns: 1fr; } }
.cform { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.cform label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.cform .full { grid-column: 1 / -1; }
.cform input, .cform select, .cform textarea { font: inherit; font-size: 16px; color: var(--text); padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cform.bad input:required:invalid, .cform.bad input[name=name]:placeholder-shown { border-color: #e5484d; }
.cform button { border: 0; cursor: pointer; }
.fov { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.fov-in { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: end; }
.fov-in label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-2); }
.fov-in select { font: inherit; font-size: 17px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.fov-in input[type=range] { width: 100%; accent-color: var(--c1, #14ac94); }
.fov-in b { color: var(--text); font-size: 18px; }
.fov-out { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0 8px; }
.fov-out > div { background: var(--bg-2, #f5f5f7); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.fov-out span { font-size: 13px; color: var(--text-2); } .fov-out b { font-size: 30px; } .fov-out small { font-size: 14px; color: var(--text-2); min-height: 1.2em; }
@media (max-width: 833px) { .pg-cards, .pg-cards.c2, .pg-cards.c4, .dealers, .cform, .fov-in, .fov-out { grid-template-columns: 1fr; } .dealer li { grid-template-columns: 1fr; gap: 2px; } }

.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.photo-grid figure { margin: 0; }
.photo-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.photo-grid img { width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 16px; display: block; }
.photo-grid figure { display: flex; flex-direction: column; }
.photo-grid figcaption { font-size: 13px; color: var(--text-2); margin-top: 8px; }
.hsform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; min-height: 120px; }
.story blockquote { background: var(--bg-2, #f5f5f7); }
@media (max-width: 833px) { .photo-grid { grid-template-columns: 1fr 1fr; } }

/* cases v29: pictures first */
.case-txt { padding: 14px 20px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.case-txt h3 { font-size: 17px; margin: 0; }
.case-prod { margin-top: 0 !important; }
.client-grid { margin-top: 28px; }
.client-grid img { background: #fff; }
.story2 { margin-top: 40px; text-align: center; }
.story2 h3 { font-size: 22px; margin: 0 0 8px; }
.story2 .story-imgs { max-width: 980px; margin: 18px auto 0; }
.gnav ul { gap: 18px; }
.gnav .logo { flex: none; }
@media (max-width: 1180px) and (min-width: 834px) { .gnav ul { gap: 13px; font-size: 12.5px; } .gnav .wrap-wide { gap: 14px; } }

/* YouTube (click to load) */
.yt-grid { display: grid; gap: 20px; margin: 28px auto 0; grid-template-columns: 1fr; max-width: 860px; }
.yt-grid.n2 { grid-template-columns: 1fr 1fr; max-width: none; }
.art-body .yt-grid { margin: 24px 0; }
.ytf { margin: 0; }
.ytf figcaption { font-size: 14px; color: var(--text-2); margin-top: 10px; text-align: center; }
.yt { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt img { opacity: .9; transition: opacity .2s; } .yt:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; background: rgba(20,20,20,.82); border-radius: 14px; }
.yt:hover .yt-play { background: #f00; }
.yt-play::after { content: ""; position: absolute; left: 29px; top: 14px; border: 11px solid transparent; border-left: 18px solid #fff; border-right: 0; }
@media (max-width: 833px) { .yt-grid.n2 { grid-template-columns: 1fr; } }

.ucb-scene { max-width: none; padding: 0; background: none; border: 1px solid var(--line); overflow: hidden; }
.ucb-scene img { width: 100%; display: block; }
@media (max-width: 1000px) { .art-grid { grid-template-columns: minmax(0, 1fr); } .art-toc, .art-body { min-width: 0; } .art-body img, .art-body iframe { max-width: 100%; } .art-toc li a { overflow-wrap: anywhere; } }

/* fov diagram */
.fov-fig { margin: 26px 0 0; position: relative; }
.fov-fig svg { width: 100%; height: auto; display: block; }
.fov-fig .fv-t { font-size: 13px; fill: #4B5752; font-family: var(--font, sans-serif); }
.fov-fig .fv-b { font-size: 16px; font-weight: 700; fill: #16201C; font-family: var(--font, sans-serif); }
.fov-play { position: absolute; right: 14px; top: 34px; font: inherit; font-size: 13px; border: 1px solid var(--line); background: #fff; border-radius: 980px; padding: 6px 14px; cursor: pointer; color: var(--text); }
.fov-play:hover { border-color: #14AC94; color: #0B7666; }

/* a download that is not available: plain grey text, no link */
.art-table .dl-none { color: #b0b0b5; }

/* product page: installation photos that mention this model */
.rel-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; text-align: left; }
.rel-photos.n1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
.rel-photos.n2 { grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: center; }
.rel-photos figure { margin: 0; }
.rel-photos img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 16px; display: block; }
.rel-photos figcaption { font-size: 13px; color: var(--text-2); margin-top: 8px; }
.rel-more { margin-top: 28px; }
@media (max-width: 833px) { .rel-photos, .rel-photos.n2 { grid-template-columns: 1fr; } }

/* site-wide disclaimer under the footer, and the note at the end of a guide */
footer .disclaimer { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: #5b6360; }
.art-note { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.7; color: var(--text-2); }


/* ---- planning wizards block on the homepage ---- */
.wz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 30px 0 0; text-align: left; }
.wz-card { background: #fff; border-radius: 28px; padding: 34px 36px 30px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 40px rgba(20,60,50,.07); display: flex; flex-direction: column; gap: 14px; }
.wz-kick { font: 700 13px/1 ui-monospace, Menlo, monospace; letter-spacing: .12em; color: #0B7666; }
.wz-card h3 { font-size: 30px; line-height: 1.2; margin: 0; color: #16201C; }
.wz-card p { margin: 0; font-size: 17px; color: #4B5752; line-height: 1.55; }
.wz-steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.wz-steps i { font-style: normal; font-size: 14px; background: #E3F5F1; color: #0B5C4F; padding: 6px 12px; border-radius: 999px; }
.wz-card .go { margin-top: auto; align-self: flex-start; background: #0B7666; color: #fff; font-weight: 700; font-size: 17px; padding: 14px 26px; border-radius: 999px; text-decoration: none; }
.wz-note { text-align: center; color: #6B7C76; font-size: 15px; margin: 18px 0 34px; }
@media (max-width: 860px) { .wz-grid { grid-template-columns: 1fr; } .wz-card { padding: 26px 24px; } .wz-card h3 { font-size: 24px; } }
.wz-for { background: #F4F8F7; border-radius: 14px; padding: 10px 14px; font-size: 16px !important; color: #16201C !important; }
.wz-for b { color: #0B7666; }
.wz-card.alt .go { background: #fff; color: #0B7666; box-shadow: inset 0 0 0 2px #0B7666; }
