/* ivoryvale.co, direction D: one stylesheet for the home page (Arabic and English) and the legal pages. Self-hosted font only.
   Motion, by rule: only transform and opacity ever animate; a reveal happens once per element (opacity and 16px, 300ms ease-out);
   the one continuous animation is the sectors' belt on phones (a compositor transform, paused off screen and for reduced motion);
   the light and dark switch moves colours only, over 300ms. Nothing is tied to the scroll position.
   Sections: 1 tokens · 2 base · 3 layout and guides · 4 navigation · 5 buttons · 6 hero · 7 figures · 8 sectors and mock UIs ·
   9 a day at work · 10 smart buildings · 11 business intelligence · 12 privacy, why, questions, close · 13 footer · 14 reveal ·
   15 responsive · 16 reduced motion · 17 legal pages · 18 content pages (sectors, smart-building types, guides) */

/* ---------- 1. tokens ---------- */
/* the font is preloaded and "optional": used when it is there as the page is first drawn (always, once it is cached), and never
   swapped in later, so no line of text reflows under the reader (swap measured 0.057 layout shift on a phone with the font 1.5 s late) */
@font-face{font-family:"Plex Arabic";src:url(fonts/IBMPlexSansArabic-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:optional}
@font-face{font-family:"Plex Arabic";src:url(fonts/IBMPlexSansArabic-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:optional}

/* The company's identity: ivory #FAF7F0 (light), night #050607 (dark), ink #0B0B0C, teal #0EA5A2 / #0B7F7D, the IV mark and the
   IVORY VALE wordmark of the logo. Text teal is D's #0A7472 where the brand teal falls short (contrast ratios beside each token).
   The folded home page (task 53) has its own section, 19, placed before the legal pages. */
:root{
  --teal:#0EA5A2;--teal-2:#0B7F7D;--deep:#062B2A;--gold:#E2A93B;--sky:#5CC2F2;
  --ivory:#FAF7F0;--night:#050607;
  /* light: the company's ivory, the vale's own sky at the top of the page */
  --bg:#FAF7F0;--bg-2:#F3EEE3;--surface:#FFFFFF;--surface-2:#F7F3EA;--bg-0:rgba(250,247,240,0);
  --ink:#0B0B0C;--body:#454D4B;--muted:#5E6563;   /* on ivory: ink 18.4:1, body 8.1:1, muted 5.6:1 (5.2:1 on ivory-2) */
  --line:rgba(11,11,12,.09);--line-2:rgba(11,11,12,.16);--guide:rgba(11,11,12,.07);
  --accent:#0A7472;                      /* teal for text: 5.2:1 on ivory, 4.8:1 on ivory-2 (the brand #0B7F7D: 4.5 and 4.2) */
  --btn:#0B7F7D;--btn-h:#096E6C;--btn-ink:#FFFFFF;   /* the brand teal-2 button: white on it 4.8:1 */
  --nav:rgba(250,247,240,.96);--nav-blur:rgba(250,247,240,.86);
  --sh-1:0 1px 2px rgba(6,43,42,.05),0 4px 14px -6px rgba(6,43,42,.10);
  --sh-2:0 14px 32px -14px rgba(6,43,42,.24);
  --sh-3:0 40px 80px -30px rgba(6,43,42,.34);
  --ok:#0A7472;--ok-bg:rgba(14,165,162,.12);--warn:#8A5A00;--warn-bg:rgba(242,184,75,.22);--na-bg:rgba(20,24,23,.05);
  --band:#050607;                        /* the night band (smart buildings, the close), the same in both looks */
  --alu1:#E4E2DC;--alu2:#BDBBB4;
  --wrap:1180px;--pad:24px;--gap:24px;--sec:clamp(88px,10.5vw,136px);
  --r-sm:10px;--r-md:16px;--r-lg:24px;--pill:999px;
  --ease:cubic-bezier(.22,.61,.36,1);
  --f:"Plex Arabic",system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;
  color-scheme:light;
}
[data-theme=dark]{
  /* dark: the company's night */
  --bg:#050607;--bg-2:#0C0E0F;--surface:#121415;--surface-2:#0A0C0D;--bg-0:rgba(5,6,7,0);
  --ink:#FAF7F0;--body:#B3BAB8;--muted:#8B9290;   /* on night: ivory 19:1, body 10.3:1, muted 6.4:1 (5.8:1 on its cards) */
  --line:rgba(255,255,255,.08);--line-2:rgba(255,255,255,.15);--guide:rgba(255,255,255,.055);
  --accent:#0EA5A2;                      /* the brand teal itself: 6.7:1 on night, 6.1:1 on its cards */
  --btn:#0EA5A2;--btn-h:#2DBDB9;--btn-ink:#050607;   /* night on the brand teal: 6.7:1 */
  --nav:rgba(5,6,7,.96);--nav-blur:rgba(5,6,7,.84);
  --sh-1:inset 0 1px 0 rgba(255,255,255,.035),0 4px 14px -6px rgba(0,0,0,.6);
  --sh-2:0 16px 40px -14px rgba(0,0,0,.75);
  --sh-3:0 50px 100px -34px rgba(0,0,0,.9);
  --ok:#3CCFCB;--ok-bg:rgba(44,196,192,.14);--warn:#F2C46B;--warn-bg:rgba(242,184,75,.16);--na-bg:rgba(255,255,255,.06);
  --band:#050607;
  --alu1:#3A3A3F;--alu2:#202024;
  color-scheme:dark;
}

/* ---------- 2. base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:76px;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--body);font:400 17px/1.7 var(--f);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:clip}
[lang=en] body{letter-spacing:-.003em}
h1,h2,h3,p,ul,ol,figure,dl,dd{margin:0}
ul,ol{padding:0;list-style:none}
h1,h2,h3{color:var(--ink);font-weight:700;text-wrap:balance}
p{text-wrap:pretty}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
img{height:auto}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
a{-webkit-tap-highlight-color:transparent}
table{border-collapse:collapse}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}
.num{font-variant-numeric:tabular-nums}
.center{text-align:center}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:8px}
::selection{background:rgba(14,165,162,.25)}
.skip{position:fixed;inset-inline-start:12px;top:-64px;z-index:100;background:var(--ink);color:var(--bg);padding:10px 16px;border-radius:12px;font-weight:700}
.skip:focus{top:12px}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.ic{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.chev{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
[dir=ltr] .chev{transform:scaleX(-1)}
/* the light and dark switch: colours only, 300ms, and only while switching (hovers stay quick) */
html.theming body,html.theming body *,html.theming body *::before,html.theming body *::after{
  transition:background-color .3s var(--ease),color .3s var(--ease),border-color .3s var(--ease),fill .3s var(--ease),stroke .3s var(--ease)!important}
html.theming .vale i{transition:opacity .3s var(--ease)!important}

/* ---------- 3. layout and the faint guides (C) ---------- */
.wrap{width:min(var(--wrap),100% - 2*var(--pad));margin-inline:auto}
.band{position:relative;padding-block:var(--sec)}
.alt{background:var(--bg-2)}
.head{max-width:800px;margin:0 auto clamp(44px,5vw,64px);text-align:center}
.eyebrow{display:block;color:var(--accent);font-weight:700;font-size:15px;line-height:1.5;margin-bottom:12px}
h2{font-size:clamp(34px,4.6vw,58px);line-height:1.2}
[lang=en] h2{letter-spacing:-.025em;line-height:1.1}
.sub{margin:18px auto 0;max-width:680px;font-size:clamp(17.5px,1.6vw,21px);line-height:1.6;color:var(--body);text-wrap:balance}
.teal{background:linear-gradient(100deg,var(--teal) 0%,var(--teal-2) 55%,var(--deep) 115%);-webkit-background-clip:text;background-clip:text;color:transparent}
[data-theme=dark] .teal{background-image:linear-gradient(100deg,#7FE3DC 0%,var(--teal) 60%,#0B7F7D 115%)}
/* four dashed column guides at the gap centres of the 4-column grid, faded at both ends; drawn once, never moved */
.g{isolation:isolate}
.g::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;margin-inline:auto;width:calc(min(var(--wrap),100% - 2*var(--pad)) + var(--gap));
  --d:linear-gradient(to bottom,var(--guide) 0 4px,transparent 4px 10px);
  background:var(--d) 0 0/1px 10px repeat-y,var(--d) 25% 0/1px 10px repeat-y,var(--d) 50% 0/1px 10px repeat-y,var(--d) 75% 0/1px 10px repeat-y,var(--d) 100% 0/1px 10px repeat-y;
  -webkit-mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent)}

/* ---------- 4. navigation ---------- */
.nav{position:sticky;top:0;z-index:50;background:var(--nav);border-bottom:1px solid var(--line);padding-top:env(safe-area-inset-top,0px)}
@media (hover:hover) and (pointer:fine){.nav{background:var(--nav-blur);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px)}}
.nav-in{position:relative;display:flex;align-items:center;gap:16px;height:60px}
.brand{display:inline-flex;align-items:center;gap:10px;direction:ltr;white-space:nowrap;flex:none;color:var(--ink);min-height:44px}
.brand img{width:26px;height:26px}
/* the wordmark: the logo's own IVORY VALE (iv-wordmark.svg, its outlines and spacing), in the text colour through a mask, so it
   follows light and dark on every page that carries the bar; the words stay in the markup and the link has its own name */
.brand span{display:block;width:112px;height:12.8px;font-size:0;background:currentColor;
  -webkit-mask:url(iv-wordmark.svg) center/contain no-repeat;mask:url(iv-wordmark.svg) center/contain no-repeat}
.mk-d{display:none}[data-theme=dark] .mk-l{display:none}[data-theme=dark] .mk-d{display:block}
.links{display:flex;align-items:center;gap:2px;margin-inline:auto}
.nl{display:inline-flex;align-items:center;gap:6px;height:40px;padding-inline:13px;border-radius:var(--pill);font-size:15px;color:var(--body);white-space:nowrap;transition:color .2s,background-color .2s}
.nl:hover,.nl[aria-expanded=true]{color:var(--ink);background:var(--line)}
.caret{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.6;transition:transform .2s var(--ease)}
.nl[aria-expanded=true] .caret{transform:rotate(180deg)}
.tools{display:flex;align-items:center;gap:4px;flex:none}
.icon-btn{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:var(--ink);transition:background-color .2s}
.icon-btn:hover{background:var(--line)}
.icon-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.i-sun,.i-close{display:none}[data-theme=dark] .i-sun{display:block}[data-theme=dark] .i-moon{display:none}
.nav.open .i-menu{display:none}.nav.open .i-close{display:block}
.lang{display:inline-flex;align-items:center;height:42px;padding-inline:12px;border-radius:var(--pill);font-size:14px;color:var(--ink);transition:background-color .2s}
.lang:hover{background:var(--line)}
.menu-btn{display:none}
.nav-cta{margin-inline-start:6px}
/* the sectors' mega menu (C): eight systems in a 4 x 2 grid, centred */
.mega{position:absolute;left:0;right:0;top:100%;padding:10px var(--pad) 0;visibility:hidden;opacity:0;transform:translate3d(0,-6px,0);
  transition:opacity .18s var(--ease),transform .18s var(--ease),visibility 0s linear .18s}
.mega.open{visibility:visible;opacity:1;transform:none;transition:opacity .18s var(--ease),transform .18s var(--ease)}
.mega-in{max-width:900px;margin-inline:auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-3);padding:16px}
.mega-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.mi{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:16px 10px;border-radius:var(--r-md);transition:background-color .15s}
.mi:hover{background:var(--surface-2)}
.mi .tile{margin-bottom:4px}
.mi b{color:var(--ink);font-size:15px;line-height:1.35}
.mi span:last-child{font-size:13px;color:var(--muted);line-height:1.45}
.mega-foot{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 18px;margin-top:10px;padding:12px 10px 0;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.mega-foot .more{font-size:14.5px;min-height:40px}
.tile{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:13px;color:#fff;background:linear-gradient(145deg,#2AD1CB,#0EA5A2 42%,#0B6F6D 78%,#063A39);box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
.tile .ic{width:23px;height:23px}
.tile.sm{width:36px;height:36px;border-radius:11px}.tile.sm .ic{width:19px;height:19px}
/* the phone menu: a sheet under the bar */
.sheet{display:none}

/* ---------- 5. buttons and links ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding-inline:28px;border-radius:var(--pill);background:var(--btn);color:var(--btn-ink);
  font-weight:700;font-size:17px;line-height:1.2;white-space:nowrap;transition:background-color .2s var(--ease),transform .2s var(--ease)}
.btn:hover{background:var(--btn-h)}
.btn:active{transform:scale(.98)}
.btn .ic{width:20px;height:20px}
.btn-sm{min-height:38px;padding-inline:16px;font-size:14px}
.more{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--accent);font-weight:700;font-size:17px}
.more .chev{transition:transform .2s var(--ease)}
[dir=rtl] .more:hover .chev{transform:translateX(-3px)}
[dir=ltr] .more:hover .chev{transform:scaleX(-1) translateX(-3px)}
.cta{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 30px}

/* ---------- 6. hero ---------- */
.hero{position:relative;isolation:isolate;overflow:hidden;padding-top:clamp(56px,7vw,96px);text-align:center}
/* the vale (B), as a still: two layers so the light and dark pictures cross-fade; the other look's picture is fetched only after load */
.vale{position:absolute;left:0;right:0;bottom:0;height:min(74%,860px);z-index:-1;pointer-events:none}
.vale i{position:absolute;inset:0;background:50% 40%/cover no-repeat;opacity:0;transition:opacity .3s var(--ease);
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 30%,#000 78%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 30%,#000 78%,transparent 100%)}
:root:not([data-theme=dark]) .vl{background-image:url(img/vale-light.webp);opacity:1}
[data-theme=dark] .vd{background-image:url(img/vale-dark.webp);opacity:.8}
html.warm .vl{background-image:url(img/vale-light.webp)}
html.warm .vd{background-image:url(img/vale-dark.webp)}
.hero-copy{position:relative}
.hero h1{display:flex;flex-direction:column;align-items:center}
.kicker{display:block;font-size:clamp(16px,1.45vw,19px);line-height:1.5;color:var(--accent);margin-bottom:clamp(12px,1.4vw,18px)}
.l1,.l2{display:block;font-size:clamp(42px,7.4vw,100px);line-height:1.13;white-space:nowrap}
[lang=en] .l1,[lang=en] .l2{font-size:clamp(35px,7vw,96px);letter-spacing:-.035em;line-height:1.04}
.l2{background:linear-gradient(100deg,var(--teal) 0%,var(--teal-2) 55%,var(--deep) 115%);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:.04em}
[data-theme=dark] .l2{background-image:linear-gradient(100deg,#7FE3DC 0%,var(--teal) 60%,#0B7F7D 115%)}
.lead{max-width:800px;margin:clamp(20px,2vw,26px) auto 0;font-size:clamp(17.5px,1.7vw,21.5px);line-height:1.6;color:var(--body);min-height:3.2em}
.hero .cta{margin-top:clamp(26px,2.8vw,36px)}
.hero-stage{position:relative;width:min(1075px,100% - 2*var(--pad));margin:clamp(48px,5.6vw,76px) auto 0}
/* device frames, drawn here (not any maker's product). The laptop's own box holds all of it: the base is the widest part, so the lid
   sits in side room of 6/112 of the box and the base (112% of the lid) spans the box exactly. Nothing reaches past the frame's
   container, so the page is never wider than the screen (a phone browser that widens its layout to fit wider content would
   otherwise widen the page again on every pass: the iPhone emulation never settled). */
.laptop{position:relative;width:100%;margin-inline:auto;padding-inline:calc(600% / 112)}
.lid{position:relative;background:linear-gradient(180deg,#1c1d1f,#0b0b0c);border-radius:clamp(10px,1.8vw,22px) clamp(10px,1.8vw,22px) 6px 6px;padding:2.2% 2.2% 2.6%;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),var(--sh-3)}
.lid::before{content:"";position:absolute;top:.95%;left:50%;width:.6%;aspect-ratio:1;border-radius:50%;background:#2a2d30;transform:translateX(-50%)}
.screen{position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:4px;background:var(--surface-2)}
.screen picture,.screen img{position:absolute;inset:0;width:100%;height:100%}
.screen img,.phone-in img,.tablet-in img{object-fit:cover;object-position:top center}
.base{position:relative;width:112%;margin-inline:-6%;height:clamp(9px,1.4vw,17px);border-radius:0 0 50% 50%/0 0 100% 100%;background:linear-gradient(180deg,var(--alu1),var(--alu2));box-shadow:0 18px 30px -16px rgba(0,0,0,.45)}
.base::before{content:"";position:absolute;top:0;left:50%;width:15%;height:42%;transform:translateX(-50%);border-radius:0 0 10px 10px;background:rgba(0,0,0,.18)}
.phone{--pw:clamp(92px,19vw,212px);position:absolute;width:var(--pw);inset-inline-end:calc(600% / 112 + max(-14px,-1.5vw));bottom:-7%;background:linear-gradient(160deg,#2a2a2d,#0b0b0c 40%);border-radius:17%/8%;
  padding:calc(var(--pw) * .042); /* the bezel follows the phone's own width (a % here would follow the stage's) */
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),0 30px 60px -20px rgba(0,0,0,.45)}
.phone-in{position:relative;aspect-ratio:720/1558;border-radius:14%/6.6%;overflow:hidden;background:var(--surface-2)}
.phone-in img{width:100%;height:100%}
.phone-in::after{content:"";position:absolute;top:1.6%;left:50%;width:4.2%;aspect-ratio:1;border-radius:50%;background:#000;transform:translateX(-50%)}
.sector-index{display:grid;grid-template-columns:repeat(8,auto);justify-content:center;gap:6px;margin:clamp(44px,4.4vw,60px) auto 0;padding-bottom:clamp(44px,5vw,64px);width:min(var(--wrap),100% - 2*var(--pad))}
.sector-index a{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding-inline:14px;border-radius:var(--pill);color:var(--body);font-size:15px;white-space:nowrap;transition:color .2s,background-color .2s}
.sector-index a:hover{color:var(--ink);background:var(--surface)}
.sector-index .ic{width:20px;height:20px;color:var(--accent)}
/* the sectors' belt (the owner's rule for phones): flows on its own like a conveyor, can be dragged by hand */
.belt{display:none}
.belt-track{display:flex;width:max-content;animation:belt 48s linear infinite;will-change:transform}
[dir=rtl] .belt-track{animation-name:belt-rtl}
@keyframes belt{to{transform:translate3d(-50%,0,0)}}
@keyframes belt-rtl{to{transform:translate3d(50%,0,0)}}
.belt.paused .belt-track{animation-play-state:paused}
.belt-set{display:flex;flex:none}
.belt a{display:flex;align-items:center;gap:9px;height:46px;padding-inline:16px;margin-inline:4px;border-radius:var(--pill);background:var(--surface);border:1px solid var(--line);
  color:var(--ink);font-size:15px;white-space:nowrap;-webkit-user-drag:none}
.belt .ic{width:20px;height:20px;color:var(--accent)}
/* the first view comes in once, as the page opens (never on scroll): 16px and 300ms, a 120ms chain at most */
.js .rise{animation:rise .3s var(--ease) both}
.js .l1.rise{animation-delay:.03s}.js .l2.rise{animation-delay:.06s}.js .lead.rise{animation-delay:.08s}.js .cta.rise{animation-delay:.1s}.js .hero-stage.rise{animation-delay:.12s}
@keyframes rise{from{opacity:0;transform:translate3d(0,16px,0)}to{opacity:1;transform:none}}

/* ---------- 7. figures: plain bold numerals in the site's typeface (the owner, 2026-11-14: no dot-matrix numerals anywhere) ---------- */
.figs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-inline:calc(var(--gap) / -2);text-align:center;border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
/* the numerals at the top of each figure, so they stand level whatever their labels' line count (at 320 px in English one label
   wraps to three lines and its neighbour to two: bottom-aligned, the "8" stood about 50 px above the "444") */
.fig{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:clamp(36px,4vw,52px) 10px clamp(30px,3.4vw,42px)}
.fig+.fig{border-inline-start:1px solid var(--line)}
.fig-n{display:block;max-width:100%;font-weight:700;font-size:clamp(48px,6.4vw,84px);line-height:1;letter-spacing:-.01em;color:var(--ink);
  font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;white-space:nowrap}
.fig.main .fig-n{color:var(--accent)}
.fig p{margin-top:16px;font-size:15px;line-height:1.5;color:var(--muted);max-width:16em}

/* ---------- 8. sectors: the bento of eight systems (C's live mock UIs, A's real figures) ---------- */
.bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}
.s2{grid-column:span 2}.s4{grid-column:1 / -1}
.card{position:relative;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--sh-1);text-align:center}
.viz{position:relative;height:252px;display:grid;place-items:center;padding:22px;background:var(--surface-2);border-bottom:1px solid var(--line);overflow:hidden}
.txt{display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 24px 22px;flex:1}
.txt .eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:14px}
.txt .eyebrow .ic{width:19px;height:19px}
.txt h3{font-size:clamp(19.5px,1.6vw,22px);line-height:1.4}
.txt p{font-size:15.5px;line-height:1.65;color:var(--body);max-width:34em}
.txt .meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:400px;margin:6px 0 2px;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12.5px;line-height:1.4;color:var(--muted)}
.meta span{display:flex;flex-direction:column;align-items:center;padding-inline:4px}
.meta span+span{border-inline-start:1px solid var(--line)}
.meta b{color:var(--ink);font-weight:700;font-size:17px;line-height:1.3;font-variant-numeric:tabular-nums}
.txt .more{margin-top:auto;font-size:15.5px}
.core .txt{padding:34px 28px 32px}
.core h3{font-size:clamp(21px,2vw,26px)}
.chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%;margin-top:14px}
.chips li{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 12px;border-radius:var(--r-md);background:var(--surface-2);border:1px solid var(--line);font-size:14.5px;color:var(--ink);line-height:1.4}
/* the mock UIs: small windows drawn in HTML and CSS, the product's own Latin digits, synthetic data */
.win{width:100%;max-width:440px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:var(--sh-2);padding:15px 17px;font-size:13px;line-height:1.45;text-align:start;color:var(--body)}
.win-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}
.win-head b{color:var(--ink);font-size:14px;font-weight:700}
.win-head>span{font-size:12px;color:var(--muted)}
.tag{display:inline-flex;align-items:center;height:22px;padding-inline:9px;border-radius:var(--pill);font-size:11.5px;font-style:normal;font-weight:700;background:var(--ok-bg);color:var(--ok);white-space:nowrap}
.tag.w{background:var(--warn-bg);color:var(--warn)}
.tag.n{background:var(--na-bg);color:var(--muted)}
.boq li{display:grid;grid-template-columns:7.4em 1fr 3em;align-items:center;gap:12px;padding:5px 0}
[lang=en] .boq li{grid-template-columns:8.2em 1fr 3em}
.boq em{font-style:normal;text-align:end;color:var(--ink);font-weight:700}
.meter{display:block;height:6px;border-radius:6px;background:var(--na-bg);overflow:hidden}
.meter b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--teal-2),var(--teal))}
.p78{width:78%}.p52{width:52%}.p21{width:21%}
.sums{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:11px;padding-top:11px;border-top:1px dashed var(--line-2)}
.sums small{display:block;font-size:11.5px;color:var(--muted)}
.sums strong{display:block;color:var(--ink);font-size:14px;font-weight:700}
.sums .tot strong{color:var(--accent)}
.win.units-win{max-width:430px;display:grid;grid-template-columns:auto auto;justify-content:space-between;gap:12px 26px;align-items:center}
.units-win .win-head{grid-column:1 / -1;margin:0}
.units{display:grid;grid-template-columns:repeat(8,24px);gap:5px}
.u{display:block;aspect-ratio:1.3;border-radius:4px;background:var(--teal)}
.u.r{background:var(--gold)}
.u.a{background:transparent;box-shadow:inset 0 0 0 1px var(--line-2)}
.legend{display:grid;gap:8px;font-size:12px}
.legend span{display:flex;align-items:center;gap:8px;white-space:nowrap}
.legend .u{width:12px}
.legend b{color:var(--ink);font-weight:700;margin-inline-start:auto;padding-inline-start:10px}
.appts li{display:flex;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--line)}
.appts li:last-child{border:0}
.appts .tm{font-weight:700;color:var(--ink);width:3em;flex:none}
.appts .nm{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inv{position:relative;width:100%;max-width:430px}
.inv::before{content:"";position:absolute;inset:10px -8px -8px 8px;border-radius:var(--r-md);background:var(--surface);border:1px solid var(--line);opacity:.7}
.inv .win{position:relative}
.inv-no{font-size:11.5px;font-weight:400;color:var(--muted);margin-inline-start:6px}
.lines{width:100%;font-size:12.5px}
.lines th{font-weight:700;color:var(--muted);font-size:11.5px;text-align:start;padding:0 0 6px;border-bottom:1px solid var(--line)}
.lines td{padding:6px 0;border-bottom:1px solid var(--line)}
.lines .r{text-align:end;color:var(--ink);font-weight:700}
.lines th.r{color:var(--muted)}
.pr td:first-child{color:var(--ink)}
.tots{display:grid;grid-template-columns:1fr auto;gap:4px 16px;margin-top:10px;font-size:12.5px}
.tots dt{color:var(--muted)}
.tots dd{text-align:end;color:var(--ink);font-weight:700}
.tots .vat{color:var(--accent)}
.tots .grand{font-size:15px;font-weight:700;color:var(--ink);padding-top:6px;border-top:1px dashed var(--line-2)}
.tanks{display:flex;gap:18px;align-items:flex-end;justify-content:center}
.tank{display:grid;justify-items:center;gap:8px;font-size:12px}
.tank .vessel{position:relative;width:46px;height:132px;border-radius:12px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-1);overflow:hidden}
.tank .liq{position:absolute;left:0;right:0;bottom:0;height:100%;background:linear-gradient(to top,var(--teal-2),var(--teal));transform-origin:bottom}
.tank.d .liq{background:linear-gradient(to top,#C98A12,var(--gold))}
.lv68{transform:scaleY(.68)}.lv44{transform:scaleY(.44)}.lv81{transform:scaleY(.81)}
.tank .ticks{position:absolute;top:12px;bottom:12px;inset-inline-end:0;width:8px;background:repeating-linear-gradient(to bottom,var(--line-2) 0 1px,transparent 1px 27px)}
.tank b{color:var(--ink);font-weight:700;font-size:14px}
.tank span{color:var(--muted)}
.sla li{padding:8px 0}
.ring-win{max-width:360px}
.ring-row{display:flex;align-items:center;justify-content:center;gap:16px}
.ring{width:96px;height:96px;transform:rotate(-90deg)}
[dir=rtl] .ring{transform:rotate(-90deg) scaleY(-1)}
.ring circle{fill:none;stroke-width:5}
.ring .bgc{stroke:var(--na-bg)}
.ring .k1{stroke:var(--teal-2)}.ring .k2{stroke:var(--teal)}.ring .k3{stroke:var(--gold)}
.ring-c strong{display:block;color:var(--ink);font-size:26px;line-height:1.1}
.ring-c span{font-size:12px;color:var(--muted)}
.rleg{display:grid;grid-template-columns:repeat(3,auto);justify-content:space-between;gap:8px;margin-top:12px;padding-top:10px;border-top:1px dashed var(--line-2);font-size:12px}
.rleg li{display:flex;align-items:center;gap:6px;white-space:nowrap}
.rleg i{width:8px;height:8px;border-radius:50%}
.rleg .k1{background:var(--teal-2)}.rleg .k2{background:var(--teal)}.rleg .k3{background:var(--gold)}
.rleg b{color:var(--ink)}
/* the fills come in once with their card: transform only */
.meter b{transform-origin:left}[dir=rtl] .meter b{transform-origin:right}
.live .card.rv:not(.in) .meter b{transform:scaleX(0)}
.live .card.rv:not(.in) .liq{transform:scaleY(0)}
.meter b,.liq{transition:transform .6s var(--ease) .1s}

/* ---------- 9. a day at work: tabs (C), the real screen (A), the day, the figures ---------- */
.tabs-wrap{display:flex;justify-content:center}
.tabs{display:flex;gap:4px;max-width:100%;padding:5px;background:var(--surface);border:1px solid var(--line);border-radius:var(--pill);box-shadow:var(--sh-1);overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:none;height:42px;padding-inline:17px;border-radius:var(--pill);font-size:15px;color:var(--body);white-space:nowrap;transition:background-color .2s,color .2s}
.tab:hover{color:var(--ink)}
.tab[aria-selected=true]{background:var(--btn);color:var(--btn-ink);font-weight:700}
.ex-stage{width:min(963px,100%);margin:clamp(36px,4vw,52px) auto 0}
#ex-screen picture{opacity:0;transition:opacity .3s var(--ease)}
#ex-screen picture.on{opacity:1}
#ex-screen picture.off{display:none}
.panels{display:grid;grid-template-columns:minmax(0,1fr);margin-top:clamp(40px,4.4vw,56px)} /* one column, never wider than the page */
.panel{grid-area:1 / 1;visibility:hidden;opacity:0;transition:opacity .3s var(--ease),visibility 0s linear .3s;text-align:center}
.panel.on{visibility:visible;opacity:1;transition:opacity .3s var(--ease)}
.panel:focus-visible{outline-offset:8px}
.panel h3{font-size:clamp(23px,2.3vw,30px);line-height:1.3}
.panel .line{margin-top:6px;color:var(--muted);font-size:15.5px}
.steps{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap);margin-top:30px}
.steps::before{content:"";position:absolute;top:18px;left:12.5%;right:12.5%;height:1px;background:linear-gradient(90deg,var(--gold),var(--sky),var(--teal))}
[dir=rtl] .steps::before{background:linear-gradient(270deg,var(--gold),var(--sky),var(--teal))}
.step{position:relative;display:flex;flex-direction:column;align-items:center}
.step time{display:inline-flex;align-items:center;height:36px;padding-inline:14px;border-radius:var(--pill);background:var(--surface);border:1px solid var(--line-2);font-weight:700;color:var(--ink);font-size:14px;box-shadow:var(--sh-1)}
.step p{margin-top:12px;font-size:15.5px;line-height:1.6;max-width:17em}
.pm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:720px;margin:34px auto 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pm div{padding:18px 8px}
.pm div+div{border-inline-start:1px solid var(--line)}
.pm b{display:block;font-size:clamp(26px,2.6vw,34px);line-height:1.2;color:var(--ink);font-variant-numeric:tabular-nums}
.pm span{display:block;margin-top:4px;font-size:13.5px;color:var(--muted)}
.panel .btn{margin-top:28px;max-width:100%;white-space:normal;text-wrap:balance;padding-block:10px} /* the longer English labels wrap on phones */

/* ---------- 10. smart buildings: the night band (the company's night in both looks; text as on the dark look) ---------- */
.dark{background:var(--band);color:#B3BAB8;overflow:hidden;isolation:isolate;
  --ink:#FAF7F0;--body:#B3BAB8;--muted:#8B9290;--line:rgba(255,255,255,.09);--line-2:rgba(255,255,255,.16);--accent:#0EA5A2;
  --surface:rgba(255,255,255,.045);--surface-2:rgba(255,255,255,.03);--btn:#0EA5A2;--btn-h:#2DBDB9;--btn-ink:#050607;--na-bg:rgba(255,255,255,.08)}
[data-theme=dark] .dark{box-shadow:inset 0 1px 0 rgba(255,255,255,.06),inset 0 -1px 0 rgba(255,255,255,.06)}
.dark .glow{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(70% 55% at 50% 0%,rgba(14,165,162,.24),transparent 72%)}
.demo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap);max-width:860px;margin:0 auto}
.dcard{display:flex;flex-direction:column;align-items:center;padding:24px 24px 20px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line)}
.dh{color:var(--ink);font-weight:700;font-size:16px;margin-bottom:16px}
.dnote{margin-top:auto;padding-top:14px;font-size:13px;color:var(--muted)}
.room{position:relative;width:100%;max-width:300px;height:96px;border-radius:12px;background:#0B1A2C;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.room i{position:absolute;top:-34px;width:110px;height:120px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,214,140,.85),rgba(255,214,140,0));opacity:.07;transition:opacity .5s var(--ease)}
.room i:nth-child(1){inset-inline-start:-8px}.room i:nth-child(2){inset-inline-start:calc(50% - 55px)}.room i:nth-child(3){inset-inline-end:-8px}
.room i.on{opacity:1}
.room::after{content:"";position:absolute;left:0;right:0;bottom:0;height:22px;background:linear-gradient(to top,rgba(255,255,255,.05),transparent);border-top:1px solid rgba(255,255,255,.07)}
.scenes{width:100%;max-width:300px;margin-top:14px;display:grid;gap:4px}
.sw{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;font-size:14px;color:var(--ink);font-weight:700;width:100%;text-align:start}
.knob{position:relative;flex:none;width:40px;height:23px;border-radius:23px;background:var(--line-2);transition:background-color .25s var(--ease)}
.knob::after{content:"";position:absolute;top:2px;inset-inline-start:2px;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .25s var(--ease)}
.sw[aria-checked=true] .knob{background:var(--teal)}
[dir=rtl] .sw[aria-checked=true] .knob::after{transform:translateX(-17px)}
[dir=ltr] .sw[aria-checked=true] .knob::after{transform:translateX(17px)}
.gauge{width:200px;height:auto;overflow:visible}
.gauge .trk{fill:none;stroke:var(--line-2);stroke-width:12;stroke-linecap:round}
.gauge .val{fill:none;stroke:url(#gEn);stroke-width:12;stroke-linecap:round;stroke-dasharray:251.3;stroke-dashoffset:72.9}
.gauge .gv{font:700 28px var(--f);fill:var(--ink);text-anchor:middle}
.gauge .gu{font:400 12px var(--f);fill:var(--muted);text-anchor:middle}
.g-meta{display:flex;justify-content:space-between;gap:16px;width:200px;margin-top:6px;font-size:12.5px;color:var(--muted)}
.g-meta b{color:var(--ink)}
.mix{display:flex;gap:3px;width:200px;height:8px;margin-top:16px}
.mix i{display:block;height:100%;border-radius:4px}
.mix .m1{flex:58;background:var(--teal)}.mix .m2{flex:24;background:var(--gold)}.mix .m3{flex:18;background:var(--line-2)}
.mix-l{display:flex;justify-content:space-between;gap:10px;width:220px;margin-top:10px;font-size:12px;color:var(--muted)}
.mix-l li{display:flex;align-items:center;gap:5px;white-space:nowrap}
.mix-l i{width:8px;height:8px;border-radius:50%}
.mix-l .m1{background:var(--teal)}.mix-l .m2{background:var(--gold)}.mix-l .m3{background:var(--line-2)}
.mix-l b{color:var(--ink)}
.systems{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap);margin-top:clamp(48px,5vw,64px);text-align:center}
.sys{display:flex;flex-direction:column;align-items:center}
.sys h3{margin-top:14px;font-size:19px}
.sys p{margin-top:6px;font-size:15px;line-height:1.6}
.btypes{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:clamp(40px,4vw,52px)}
.btypes li{display:inline-flex;align-items:center;gap:9px;height:44px;padding-inline:16px;border-radius:var(--pill);background:var(--surface);border:1px solid var(--line);color:var(--ink);font-size:14.5px;white-space:nowrap}
.btypes .ic{width:20px;height:20px;color:var(--accent)}
.dark .center{margin-top:28px}

/* ---------- 11. business intelligence ---------- */
.bi-stage{position:relative;width:min(840px,100%);margin:0 auto}
.tablet{position:relative;width:100%;background:linear-gradient(160deg,#2a2a2d,#0b0b0c 45%);border-radius:clamp(16px,3vw,34px);padding:2.6%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),var(--sh-3)}
.tablet-in{position:relative;aspect-ratio:1400/973;border-radius:clamp(8px,1.4vw,16px);overflow:hidden;background:var(--surface-2)}
.tablet-in img{width:100%;height:100%}
.chart-card{position:absolute;width:clamp(140px,32%,300px);aspect-ratio:960/701;inset-inline-start:max(-5%,(100% - 100vw) / 2 + 12px);bottom:-9%;border-radius:clamp(10px,1.4vw,16px);overflow:hidden;border:1px solid var(--line-2);box-shadow:var(--sh-3);background:var(--surface)}
.chart-card img{width:100%;height:100%;object-fit:cover}
.q3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap);margin-top:clamp(72px,8vw,104px);text-align:center}
.q3 li{display:flex;flex-direction:column;align-items:center}
.qn{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--line-2);color:var(--accent);font-weight:700;font-size:15px}
.q3 h3{margin-top:14px;font-size:20px}
.q3 p{margin-top:6px;font-size:15.5px;max-width:20em}
.bi .center{margin-top:30px}

/* ---------- 12. privacy, why, questions, close ---------- */
.pillars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}
.pillar{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 20px 26px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh-1)}
.pillar .tile,.pillar .big{height:52px;width:52px;margin-bottom:16px}
.pillar .big{display:grid;place-items:center;width:auto;font-size:44px;font-weight:700;line-height:1;color:var(--accent);font-variant-numeric:tabular-nums}
.pillar h3{font-size:18.5px;line-height:1.4}
.pillar p{margin-top:8px;font-size:15px;line-height:1.6}
#privacy .center{margin-top:28px}
.cmp{max-width:940px;margin:0 auto;text-align:center}
.cmp-row{display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(16px,4vw,56px);padding:20px 0;border-top:1px solid var(--line)}
.cmp-row span{font-size:clamp(16px,1.7vw,19px);line-height:1.5}
.cmp-row span:first-child{color:var(--muted)}
.cmp-row span:last-child{color:var(--ink);font-weight:700}
.cmp-head{border-top:0;padding-bottom:12px}
.cmp-head span{font-size:14.5px!important;font-weight:700!important;color:var(--muted)!important}
.cmp-head span:last-child{color:var(--accent)!important}
.faq{max-width:820px;margin:0 auto;border-bottom:1px solid var(--line)}
.q{border-top:1px solid var(--line)}
.q summary{display:flex;align-items:center;justify-content:center;gap:12px;min-height:64px;padding:16px 8px;cursor:pointer;list-style:none;color:var(--ink);font-weight:700;font-size:clamp(17px,1.6vw,19px);line-height:1.45;text-align:center}
.q summary::-webkit-details-marker{display:none}
.q summary::after{content:"";flex:none;width:9px;height:9px;border:solid var(--accent);border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);transition:transform .2s var(--ease)}
.q[open] summary::after{transform:translateY(2px) rotate(-135deg)}
.q p{max-width:680px;margin:0 auto;padding:0 8px 24px;text-align:center;line-height:1.75}
.close{text-align:center}
.close .glow{background:radial-gradient(60% 70% at 50% 0%,rgba(14,165,162,.28),transparent 72%)}
.close-mark{width:64px;height:64px;margin:0 auto 24px}
.close .cta{margin-top:32px}
.mail{margin-top:20px;color:var(--muted);font-size:16.5px}
.mail .ltr{color:var(--ink);font-weight:700}

/* ---------- 13. footer ---------- */
.foot{padding:56px 0 calc(36px + env(safe-area-inset-bottom,0px));font-size:14.5px;color:var(--muted);text-align:center}
.foot-top{display:flex;flex-direction:column;align-items:center;gap:10px}
.about{max-width:34em}
.foot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap);margin-top:40px}
.fh{color:var(--ink);font-weight:700;font-size:15px;margin-bottom:8px}
.foot-grid a,.foot-grid li>span,.foot-grid li{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px}
.foot-grid ul{display:flex;flex-direction:column;align-items:center}
.foot-grid a:hover{color:var(--accent)}
.fl2{display:grid!important;grid-template-columns:1fr 1fr;column-gap:12px}
.fine{display:grid;gap:8px;max-width:820px;margin:40px auto 0;padding-top:22px;border-top:1px solid var(--line);font-size:13px;line-height:1.65}

/* ---------- 14. reveal: once per element, IntersectionObserver, opacity and 16px over 300ms; then still ---------- */
.js .rv{opacity:0;transform:translate3d(0,16px,0);transition:opacity .3s var(--ease),transform .3s var(--ease)}
.js .rv.in{opacity:1;transform:none}
.js .rv.d1{transition-delay:.06s}.js .rv.d2{transition-delay:.12s}.js .rv.d3{transition-delay:.18s}
/* the delays follow a place in a row of the wide grids; at 900px and below the rows change (two columns, then one), so each
   element comes in as soon as it enters, with no wait */
@media (max-width:900px){.js .rv.d1,.js .rv.d2,.js .rv.d3{transition-delay:0s}}
.js.no-rv .rv{opacity:1;transform:none}
.card{transition:transform .3s var(--ease)}
@media (hover:hover){.card:hover{transform:translate3d(0,-3px,0)}}

/* ---------- 15. responsive ---------- */
@media (max-width:1199px){
  .sector-index{grid-template-columns:repeat(4,auto)}
}
@media (max-width:1060px){
  .links .nl[href="#faq"],.links .nl[href="#bi"]{display:none}
}
@media (max-width:900px){
  .links,.nav-cta{display:none}
  .menu-btn{display:grid}
  .tools{margin-inline-start:auto}
  .sheet{display:block;position:absolute;left:0;right:0;top:100%;max-height:calc(100vh - 60px);max-height:calc(100dvh - 60px - env(safe-area-inset-top,0px));overflow:auto;overscroll-behavior:contain;
    background:var(--bg);border-bottom:1px solid var(--line);box-shadow:var(--sh-3);padding:18px var(--pad) 26px;text-align:center;
    visibility:hidden;opacity:0;transform:translate3d(0,-6px,0);transition:opacity .2s var(--ease),transform .2s var(--ease),visibility 0s linear .2s}
  .nav.open .sheet{visibility:visible;opacity:1;transform:none;transition:opacity .2s var(--ease),transform .2s var(--ease)}
  .sheet-h{font-size:13.5px;color:var(--muted);margin-bottom:10px}
  .sheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .sheet-grid a{display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 10px;border-radius:var(--r-md);background:var(--surface);border:1px solid var(--line);color:var(--ink);font-size:15px;text-align:start}
  .sheet-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:16px 0}
  .sheet-links a{display:flex;align-items:center;justify-content:center;min-height:48px;color:var(--ink);font-size:16px}
  .sheet .btn{width:100%}
  .mega{display:none}
  .bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .s2{grid-column:span 1}
  .chips{grid-template-columns:repeat(2,minmax(0,1fr))}
  .figs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fig:nth-child(odd){border-inline-start:0}.fig:nth-child(n+3){border-top:1px solid var(--line)}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:28px}
  .steps::before{display:none}
  .systems{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:40px}
  .pillars{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px}
  .g::before{background:var(--d) 0 0/1px 10px repeat-y,var(--d) 50% 0/1px 10px repeat-y,var(--d) 100% 0/1px 10px repeat-y}
}
@media (max-width:760px){
  :root{--pad:20px;--gap:16px}
  .vale{height:68%}
  :root:not([data-theme=dark]) .vl,html.warm .vl{background-image:url(img/vale-light-p.webp)}
  [data-theme=dark] .vd,html.warm .vd{background-image:url(img/vale-dark-p.webp)}
  .vale i{background-position:50% 30%}
  .sector-index{display:none}
  .belt{display:block;position:relative;margin-top:30px;overflow:hidden;touch-action:pan-y;-webkit-user-select:none;user-select:none;cursor:grab}
  .belt::before,.belt::after{content:"";position:absolute;top:0;bottom:0;width:36px;z-index:1;pointer-events:none}
  .belt::before{left:0;background:linear-gradient(to right,var(--bg),var(--bg-0))}
  .belt::after{right:0;background:linear-gradient(to left,var(--bg),var(--bg-0))}
  .hero-stage{margin-top:40px;margin-bottom:clamp(48px,14vw,64px)}
  .hero .cta{flex-direction:column;gap:6px}
  .hero .cta .btn{min-width:230px}
  .q3{grid-template-columns:1fr;row-gap:36px}
  .demo{grid-template-columns:1fr}
  .btypes{display:grid;grid-template-columns:1fr;max-width:340px;margin-inline:auto}
  .btypes li{justify-content:center}
  .cmp-row{padding:16px 0}
  .chart-card{bottom:-12%}
}
@media (max-width:600px){
  .bento{grid-template-columns:1fr}
  .viz{height:auto;min-height:232px;padding:20px 14px}
  .txt{padding:22px 20px 20px}
  .pillars{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr;row-gap:22px}
  .pm b{font-size:24px}
  .pm span{font-size:12.5px}
  .tabs{border-radius:var(--pill);justify-content:flex-start}
  .tabs-wrap{margin-inline:calc(-1 * var(--pad));padding-inline:var(--pad)}
  .units{grid-template-columns:repeat(8,20px);gap:4px}
  .win.units-win{grid-template-columns:auto;justify-content:center}
  .legend{grid-template-columns:repeat(3,auto);justify-content:space-between}
  .legend b{margin-inline-start:4px;padding:0}
  .boq li{grid-template-columns:6.6em 1fr 2.6em;gap:8px}
  [lang=en] .boq li{grid-template-columns:7.4em 1fr 2.6em}
  .foot-grid{grid-template-columns:1fr}
  .icon-btn,.lang{min-width:44px;height:44px}
}
/* the wordmark beside the mark down to 360px (iPhone mini and SE: the review of 48b783a, the owner's reference shows it on a
   phone), a little smaller there; measured by fix_t53.py's BAR: 20px or more between the brand and the tools at 360px */
@media (max-width:380px){
  .brand{gap:8px}
  .brand span{width:100px;height:11.4px}
  .chips{grid-template-columns:1fr}
}
@media (max-width:359px){.brand span{display:none}}
@media (hover:none){.icon-btn,.lang{min-width:44px;height:44px}}

/* ---------- 16. reduced motion: nothing moves on its own ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .rise{animation:none}
  .js .rv{opacity:1;transform:none;transition:none}
  .belt-track{animation:none}
  .belt{overflow-x:auto;scrollbar-width:none;touch-action:auto;cursor:auto}
  .belt::-webkit-scrollbar{display:none}
  .belt-set[aria-hidden]{display:none}
  .card,.mega,.sheet,.panel,#ex-screen picture,.room i,.knob,.knob::after,.vale i{transition:none!important}
}

/* ---------- 19. the folded home page (task 53): C's radial and building scene in D's frame, the sector cards, the strip ---------- */
/* the bar's links on the home page: the business intelligence site goes first when the bar narrows (as the questions do) */
@media (max-width:1060px){.links .nl[href^="https://"]{display:none}}

/* 19a. the radial of checks (C): one ray per sector, one dot per 25 checks, static SVG from gen.py (four paths of round dots);
   the labels are HTML around it, so they keep a readable size on any screen. The figure is a size container: the ray length
   (--rl) is what is left of half its width once the labels' room is kept, and the labels sit just past the rays' ends. */
.radial{container-type:inline-size;width:min(640px,100%);margin:0 auto}
.rd{position:relative;--lw:clamp(68px,17.5cqi,112px);--rl:calc(50cqi - var(--lw));height:calc(2 * var(--rl) + 100px)}
@supports not (width:1cqi){.rd{--rl:150px}}
.rd-dots{position:absolute;left:50%;top:50%;width:calc(2 * var(--rl));height:calc(2 * var(--rl));transform:translate(-50%,-50%);overflow:visible}
.rd-dots path{fill:none;stroke-width:5;stroke-linecap:round}
/* the rings, deep teal to teal to sky to gold as in C; on ivory each at 3:1 or more (6.3, 4.5, 3.5, 3.5), on night the brand's
   own brighter set (6.7 and up) */
.rd-dots .b1{stroke:#0A6664}.rd-dots .b2{stroke:var(--teal-2)}.rd-dots .b3{stroke:#2F8BC0}.rd-dots .b4{stroke:#B07A10}
[data-theme=dark] .rd-dots .b1{stroke:#0EA5A2}[data-theme=dark] .rd-dots .b2{stroke:#2DD4CF}[data-theme=dark] .rd-dots .b3{stroke:#5CC2F2}[data-theme=dark] .rd-dots .b4{stroke:#F2B84B}
.rd-dots .grd{fill:none;stroke:var(--line-2);stroke-width:1;stroke-dasharray:2 5;vector-effect:non-scaling-stroke}
.rd-dots .core{fill:var(--surface);stroke:var(--line-2);stroke-width:1;vector-effect:non-scaling-stroke}
@container (max-width:420px){.rd-dots path{stroke-width:6}}
.rd-l li{position:absolute;display:flex;flex-direction:column;font-size:clamp(11.5px,1.4cqi + 5px,14px);line-height:1.3;color:var(--ink);text-wrap:balance}
.rd-l b{font-weight:700}
.rd-l span{color:var(--muted);font-size:.9em;font-variant-numeric:tabular-nums}
.rd-l .rq0,.rd-l .rq4{left:50%;align-items:center;text-align:center;white-space:nowrap}
.rd-l .rq0{top:calc(50% - var(--rl) - 8px);transform:translate(-50%,-100%)}
.rd-l .rq4{top:calc(50% + var(--rl) + 8px);transform:translateX(-50%)}
.rd-l .rq1,.rd-l .rq2,.rd-l .rq3{align-items:flex-start;text-align:left}
.rd-l .rq5,.rd-l .rq6,.rd-l .rq7{align-items:flex-end;text-align:right}
.rd-l .rq2{left:calc(50% + var(--rl) + 8px);top:50%;transform:translateY(-50%);max-width:calc(50% - var(--rl) - 8px)}
.rd-l .rq6{right:calc(50% + var(--rl) + 8px);top:50%;transform:translateY(-50%);max-width:calc(50% - var(--rl) - 8px)}
.rd-l .rq1,.rd-l .rq7{top:calc(50% - (var(--rl) + 12px) * .7071);transform:translateY(-70%)}
.rd-l .rq3,.rd-l .rq5{top:calc(50% + (var(--rl) + 12px) * .7071);transform:translateY(-30%)}
.rd-l .rq1,.rd-l .rq3{left:calc(50% + (var(--rl) + 12px) * .7071);max-width:calc(50% - (var(--rl) + 12px) * .7071)}
.rd-l .rq5,.rd-l .rq7{right:calc(50% + (var(--rl) + 12px) * .7071);max-width:calc(50% - (var(--rl) + 12px) * .7071)}
/* the key's small map of the radial (gen.py radial_dial): shown only on phones, below */
.dial{display:none;fill:none;stroke:var(--line-2);stroke-width:1.6;stroke-linecap:round}
.dial .on{stroke:var(--accent);stroke-width:2.6}
/* phones (the figure under 480px): beside the radial the labels kept about 68px a side and left it some 200px across at 390px.
   Here the radial takes 45.5% of the width a side (its dots about 290px across at 390px, 233 at 320) and its labels go under it, a key in
   two columns, in the sectors' order; each label carries a small map of the eight rays with its own ray marked. The dots keep
   C's proportion (5 units of 400). */
@container (max-width:479px){
  .rd{--rl:min(45.5cqi,180px);height:auto}
  .rd-dots{position:relative;left:auto;top:auto;display:block;margin:0 auto;transform:none}
  .rd-dots path{stroke-width:5}
  .rd .rd-l{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;max-width:420px;margin:28px auto 0}
  .rd .rd-l li{position:static;display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:10px;align-items:center;max-width:none;transform:none;
    text-align:start;white-space:normal;font-size:14px;line-height:1.35}
  .rd .rd-l .dial{display:block;grid-row:span 2;width:24px;height:24px}
  .rd .rd-l b,.rd .rd-l span{grid-column:2}
}
.radial figcaption{margin-top:18px;text-align:center;font-size:15px;color:var(--muted)}
.figs.two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px;margin:clamp(40px,5vw,60px) auto 0}

/* 19b. the eight sectors: one card each, the whole card a link to the sector's own page; four in a row, two on tablets, and on
   phones one per row with the icon at the start and the arrow at the end */
.stiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--gap)}
.stl{grid-column:span 2}
/* the first campaign's two sectors (st-lead; D's .lead is the hero's paragraph): the wide pair of the first row, a teal wash, the product's name under the sector's */
.stl.st-lead{grid-column:span 3}
.stl.st-lead a{background:linear-gradient(135deg,rgba(14,165,162,.11),rgba(14,165,162,0) 62%),var(--surface);border-color:rgba(14,165,162,.28)}
.stl.st-lead h3{font-size:clamp(21px,2vw,26px)}
.st-p{display:block;margin-top:4px;font-size:14.5px;font-weight:500;line-height:1.5;color:var(--accent)}
.stl a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"ic . go" "nm nm nm" "ln ln ln" "ct ct ct";grid-template-rows:auto auto 1fr auto;
  height:100%;padding:24px 22px 20px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-1);color:var(--body);
  transition:transform .3s var(--ease),border-color .2s var(--ease)}
.stl .tile{grid-area:ic}
.stl h3{grid-area:nm;margin-top:18px;font-size:clamp(18px,1.5vw,20px);line-height:1.4}
.stl p{grid-area:ln;margin-top:6px;font-size:15px;line-height:1.6}
.stl .st-n{grid-area:ct;margin-top:16px;padding-top:12px;border-top:1px solid var(--line);font-size:13.5px;color:var(--muted)}
.stl .st-n b{color:var(--ink);font-weight:700;font-size:15px;font-variant-numeric:tabular-nums}
.stl .go{grid-area:go;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--surface-2);border:1px solid var(--line);color:var(--accent);
  transition:background-color .2s var(--ease),color .2s var(--ease)}
.stl .go .chev{width:14px;height:14px}
@media (hover:hover){.stl a:hover{transform:translate3d(0,-3px,0);border-color:var(--line-2)}.stl a:hover .go{background:var(--btn);color:var(--btn-ink)}}
.stl a:focus-visible{border-radius:var(--r-lg)}

/* 19c. smart buildings (C): the tower and its four lines, still, in the company's night with a teal glow; the four systems sit
   in four equal columns under the lines' ends (12.5%, 37.5%, 62.5%, 87.5% of the drawing) */
/* one gradient: four over the whole band cost WebKit 3x phones a long raster as the band came in (perf_ab.py, 2026-11-15:
   frame p95 41 ms with four, 28 with this one, D 34, five interleaved runs each) */
.scene .glow{background:radial-gradient(44% 46% at 50% 52%,rgba(14,165,162,.26),transparent 70%)}
.sc{max-width:1080px;margin:0 auto}
.sc-art{display:block;width:100%;height:auto;overflow:visible}
.sc-art.narrow{display:none}
.sc-art .bld{fill:none;stroke:rgba(250,247,240,.34);stroke-width:1.4}
.sc-art .flr{fill:none;stroke:rgba(250,247,240,.12);stroke-width:1}
.sc-art .wd{fill:rgba(250,247,240,.09)}.sc-art .wd.g{fill:#F2B84B;fill-opacity:.85}.sc-art .wd.s{fill:#5CC2F2;fill-opacity:.8}
.sc-art .wire{fill:none;stroke:rgba(250,247,240,.10);stroke-width:1.5}
.sc-art .flow{fill:none;stroke-width:2.2;stroke-linecap:round}
.sc-art .node{fill:var(--night);stroke-width:2}
.s-gold{stop-color:#F2B84B}.s-sky{stop-color:#5CC2F2}.s-teal{stop-color:#2DD4CF}.s-ivory{stop-color:#FAF7F0}
.c-gold{color:#F2B84B;stroke:#F2B84B}.c-sky{color:#5CC2F2;stroke:#5CC2F2}.c-teal{color:#2DD4CF;stroke:#2DD4CF}.c-ivory{color:#FAF7F0;stroke:#FAF7F0}
.sc-sys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:10px;text-align:center}
.sc-sys li{display:flex;flex-direction:column;align-items:center;padding-inline:clamp(4px,1.4vw,16px)}
.sc-ic{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.10)}
.sc-ic .ic{width:24px;height:24px}
.sc-sys h3{margin-top:16px;font-size:clamp(16px,1.8vw,21px);line-height:1.35}
.sc-sys p{margin-top:6px;font-size:clamp(12.5px,1.25vw,15.5px);line-height:1.55;color:var(--body);text-wrap:balance}
.bt-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:clamp(40px,4.4vw,56px)}
.bt-links a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding-inline:16px;border-radius:var(--pill);background:var(--surface);border:1px solid var(--line);
  max-width:100%;color:var(--ink);font-size:14.5px;line-height:1.35;padding-block:8px;text-align:start;transition:background-color .2s var(--ease),border-color .2s var(--ease)}
.bt-links a:hover{background:rgba(255,255,255,.08);border-color:var(--line-2)}
.bt-links .ic{flex:none;width:19px;height:19px;color:var(--accent)}
.scene .center{margin-top:24px}

/* 19d. the why and privacy strip: four short lines in a row; on phones a list, the mark at the start */
.trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap);text-align:center}
.trust li{display:flex;flex-direction:column;align-items:center}
.trust .tile,.trust .big{margin-bottom:14px}
.trust .big{display:grid;place-items:center;height:44px;font-size:38px;font-weight:700;line-height:1;color:var(--accent);font-variant-numeric:tabular-nums}
.trust h3{font-size:18px;line-height:1.4}
.trust p{margin-top:6px;font-size:15px;line-height:1.6;max-width:21em}
#why .center{margin-top:28px}

@media (max-width:900px){
  .stiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stl,.stl.st-lead{grid-column:auto}
  .trust{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:36px}
}
@media (max-width:600px){
  .stiles{grid-template-columns:1fr;gap:12px}
  .stl a{grid-template-columns:44px minmax(0,1fr) 34px;grid-template-areas:"ic nm go" "ic ln go" "ic ct go";grid-template-rows:auto auto auto;column-gap:14px;align-items:center;padding:16px 16px 15px}
  .stl .tile{align-self:start}
  .stl h3,.stl.st-lead h3{margin-top:0;font-size:17px}
  .st-p{margin-top:1px;font-size:13.5px}
  .stl p{margin-top:2px;font-size:14.5px;line-height:1.5}
  .stl .st-n{margin-top:6px;padding-top:0;border-top:0;font-size:13px}
  .stl .st-n b{font-size:14px}
  /* the scene on phones: the four systems 2 x 2, as in C's phone view (owner-refs/02-buildings-scene.png), and every line meets its
     tile. The narrow drawing (gen.py scene_svg) ends at its foot, where the tiles begin (no gap): the first row's lines on its
     tiles' top edges at 25% and 75%; the second row's lines at 50% -/+ 1.5%, carried on here by the trunk (.sc-sys::before, the
     first row's height, the gap and half a tile) and turned to each tile at its middle (li::before), with a node at the tile. */
  .sc-art.wide{display:none}.sc-art.narrow{display:block;position:relative;z-index:1}
  .sc-sys{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:34px;margin-top:0}
  .sc-sys li{position:relative;padding-inline:14px}
  .sc-sys li:nth-child(1){grid-area:1 / 1}.sc-sys li:nth-child(2){grid-area:1 / 2}
  .sc-sys li:nth-child(3){grid-area:2 / 1}.sc-sys li:nth-child(4){grid-area:2 / 2}
  .sc-sys::before{content:"";grid-area:1 / 1 / 2 / 3;justify-self:center;width:calc(3% + 1px);margin-bottom:calc(-34px - 22px);pointer-events:none;
    background:linear-gradient(rgba(45,212,207,.45),rgba(45,212,207,.9)) 0 0/1px 100% no-repeat,linear-gradient(rgba(250,247,240,.45),rgba(250,247,240,.9)) 100% 0/1px 100% no-repeat}
  [dir=rtl] .sc-sys::before{background-position:100% 0,0 0}
  .sc-sys li:nth-child(n+3)::before{content:"";position:absolute;top:21.5px;width:calc(47% - 22px);height:1px;pointer-events:none}
  .sc-sys li:nth-child(3)::before{inset-inline-end:3%;background:rgba(45,212,207,.9)}
  .sc-sys li:nth-child(4)::before{inset-inline-start:3%;background:rgba(250,247,240,.9)}
  .sc-sys li:nth-child(n+3)::after{content:"";position:absolute;top:19px;width:6px;height:6px;border-radius:50%;background:var(--night);border:1px solid;pointer-events:none}
  .sc-sys li:nth-child(3)::after{inset-inline-end:calc(50% - 25px);border-color:#2DD4CF}
  .sc-sys li:nth-child(4)::after{inset-inline-start:calc(50% - 25px);border-color:#FAF7F0}
  .sc-ic{width:44px;height:44px;border-radius:13px}
  .sc-ic .ic{width:21px;height:21px}
  .sc-sys h3{margin-top:12px}
  .bt-links a{min-height:42px;padding-inline:14px;font-size:14px}
  .trust{grid-template-columns:1fr;row-gap:22px;max-width:480px;margin-inline:auto;text-align:start}
  .trust li{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:16px;align-items:start}
  .trust .tile,.trust .big{grid-row:span 2;margin:0}
  .trust .big{width:44px;font-size:28px}
  .trust h3{font-size:17px}
  .trust p{margin-top:2px;font-size:14.5px;max-width:none}
  /* the footer in two columns (one in D): the sectors and the contact across, the solutions and the company side by side */
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
  .foot-grid>:first-child,.foot-grid>:last-child{grid-column:1 / -1}
}
@media (prefers-reduced-motion:reduce){.stl a,.stl .go{transition:none!important}}

/* ---------- 17. legal pages (privacy, terms) ---------- */
.legal{max-width:760px;margin:0 auto;padding:clamp(56px,8vw,96px) var(--pad) clamp(48px,6vw,72px)}
.legal h1{font-size:clamp(36px,5.6vw,56px);line-height:1.15;margin-bottom:8px;text-align:center}
.legal h2{font-size:clamp(21px,2.4vw,26px);line-height:1.35;margin:38px 0 10px}
.legal p,.legal li{font-size:17px;line-height:1.8;color:var(--body)}
.legal p+p{margin-top:12px}
.legal ul{padding-inline-start:1.2em;list-style:disc}
.legal li+li{margin-top:8px}
.legal b{color:var(--ink)}
.legal a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.legal-date{color:var(--muted)!important;font-size:15px!important;margin-bottom:34px;text-align:center}
.legal-back{margin-top:44px;text-align:center}
.legal-back a{text-decoration:none}
.legal-page .tools{margin-inline-start:auto}
.legal-page .foot{padding-top:28px;border-top:1px solid var(--line)}
.legal-page .fine{margin-top:0;border-top:0;padding-top:0}

/* ---------- 18. content pages (sectors, smart-building types, guides): the same frame and parts, read top to bottom ----------
   The answer comes first (what it is, in two or three sentences), then the sections, the questions, related pages and the close.
   Nothing here moves: no reveal, no animation; each picture keeps its box (aspect ratio), so nothing shifts as it loads. */
.doc .band{padding-block:clamp(64px,7.5vw,104px)}
.doc-hero{position:relative;padding:clamp(28px,4vw,48px) 0 clamp(56px,7vw,96px);text-align:center}
.crumbs ol{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 10px;font-size:14px;line-height:1.5;color:var(--muted);margin-bottom:clamp(22px,3vw,36px)}
.crumbs li{display:inline-flex;align-items:center;gap:10px;min-height:32px}
.crumbs li+li::before{content:"";flex:none;width:6px;height:6px;border:solid var(--line-2);border-width:0 0 1.5px 1.5px;transform:rotate(45deg)}
[dir=ltr] .crumbs li+li::before{transform:rotate(-135deg)}
.crumbs a{display:inline-flex;align-items:center;min-height:32px;color:var(--accent);font-weight:700}
.crumbs a:hover{text-decoration:underline;text-underline-offset:3px}
.doc-hero .eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:14px}
.doc-hero .eyebrow .ic{width:20px;height:20px}
.doc-hero h1{max-width:20em;margin-inline:auto;font-size:clamp(32px,5vw,60px);line-height:1.2}
[lang=en] .doc-hero h1{letter-spacing:-.025em;line-height:1.1}
.doc-date{margin-top:12px;font-size:14px;color:var(--muted)}
.answer{max-width:780px;margin:clamp(18px,2vw,26px) auto 0;font-size:clamp(17.5px,1.7vw,20.5px);line-height:1.75;color:var(--body)}
.points{display:grid;gap:10px;max-width:700px;margin:24px auto 0;text-align:start}
.points li{position:relative;padding-inline-start:24px;font-size:16.5px;line-height:1.65;color:var(--body)}
.points li::before{content:"";position:absolute;inset-inline-start:3px;top:.7em;width:8px;height:8px;border-radius:50%;background:var(--teal)}
.points.wide{max-width:780px;margin-top:0}
.points.wide li{font-size:17px}
.doc-hero .cta{margin-top:clamp(26px,2.8vw,34px)}
.doc-hero .btn{max-width:100%;white-space:normal;text-wrap:balance;padding-block:10px} /* the longer English labels wrap on phones */
.doc-pm{margin-top:clamp(36px,4vw,48px)}
.pm-note{margin-top:10px;font-size:13px;line-height:1.5;color:var(--muted)}
.doc-shot{width:min(963px,100%);margin:clamp(40px,4.6vw,60px) auto 0}
/* three a row, and a short last row centred (eight or ten modules) */
.mods{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--gap)}
.mod{flex:0 1 calc((100% - 2 * var(--gap)) / 3);min-width:0;padding:24px 22px 22px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh-1);text-align:start}
.mod h3{font-size:clamp(18px,1.6vw,20px);line-height:1.4}
.mod p{margin-top:8px;font-size:15.5px;line-height:1.7}
.stages .stn{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--surface);border:1px solid var(--line-2);font-weight:700;color:var(--accent);font-size:15px;box-shadow:var(--sh-1)}
.stages .step h3{margin-top:12px;font-size:18px;line-height:1.4}
.stages .step p{margin-top:6px}
.choose{width:100%;max-width:940px;margin:0 auto;table-layout:fixed;text-align:start;border-bottom:1px solid var(--line)}
.choose th,.choose td{text-align:start;padding:16px 10px;border-top:1px solid var(--line);vertical-align:top;font-size:clamp(15.5px,1.5vw,17px);line-height:1.65;overflow-wrap:break-word}
.choose thead th{border-top:0;padding-block:0 12px;font-size:14.5px;line-height:1.4;font-weight:700;color:var(--muted)}
.choose thead th:last-child{color:var(--accent)}
.choose tbody th{width:42%;color:var(--ink);font-weight:700}
.choose td{color:var(--body)}
.prose{max-width:780px;margin:0 auto}
.prose p{font-size:clamp(17px,1.6vw,18.5px);line-height:1.85}
.prose p+p{margin-top:16px}
.doc-more{margin-top:24px}
.doc-sys{margin-top:0}
.rel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rel a{display:flex;align-items:center;gap:14px;min-height:72px;height:100%;padding:12px 16px;border-radius:var(--r-md);background:var(--surface);border:1px solid var(--line);text-align:start;transition:border-color .2s}
.rel a:hover{border-color:var(--accent)}
.rel b{display:block;color:var(--ink);font-size:16px;line-height:1.4}
.rel small{display:block;margin-top:2px;font-size:13.5px;line-height:1.45;color:var(--muted)}
.doc .close .cta{margin-top:28px}
.mi[aria-current=page]{background:var(--surface-2)}
.sheet-grid a[aria-current=page]{border-color:var(--accent)}
/* the home page's links into these pages: a sector card's title, a kind of building */
.card h3 a:hover{color:var(--accent)}
.btypes li{padding-inline:0}
.btypes a{display:inline-flex;align-items:center;gap:9px;height:100%;padding-inline:16px;border-radius:inherit;color:inherit}
.btypes a:hover{color:var(--accent)}
@media (max-width:1060px){.links .nl.opt{display:none}}
@media (max-width:900px){
  .mod{flex-basis:calc((100% - var(--gap)) / 2)}
  .rel{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){.btypes a{width:100%;justify-content:center}}
@media (max-width:600px){
  .mod{flex-basis:100%}
  .rel{grid-template-columns:1fr}
  .choose th,.choose td{padding-inline:6px}
  .choose tbody th{width:44%}
}
/* the consent bar for Google Analytics (consent.js): fixed, so it never moves the page; under the skip link, over the bar */
.consent{position:fixed;inset-inline:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:60;max-width:600px;margin-inline:auto;background:var(--surface);color:var(--ink);border:1px solid var(--line-2);border-radius:16px;box-shadow:var(--sh-2);padding:14px 16px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;font-size:15px;line-height:1.55}
.consent p{margin:0;flex:1 1 240px;min-width:0}
.consent a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.consent-b{display:flex;gap:8px;flex-wrap:wrap}
.consent .btn{min-height:44px;padding-inline:20px;font-size:15px}
.consent-no{min-height:44px;padding-inline:16px;border-radius:var(--pill);border:1px solid var(--line-2);background:transparent;color:var(--ink);font:inherit;cursor:pointer}
.consent-no:hover{border-color:var(--accent);color:var(--accent)}
.consent-reset{background:none;border:0;padding:0;color:var(--accent);text-decoration:underline;text-underline-offset:3px;font:inherit;cursor:pointer}
