/* GANBOR — light design system.
   Fonts: Wix Madefor Display (headings) + Wix Madefor Text (text), self-hosted.
   Brand: blue #2563EB, orange #F97316 (from the logo) — used sparingly on a white / black base. */
@font-face { font-family: "Madefor Display"; src: url(/assets/fonts/wix-madefor-display-cyrillic-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Madefor Display"; src: url(/assets/fonts/wix-madefor-display-cyrillic-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Madefor Display"; src: url(/assets/fonts/wix-madefor-display-cyrillic-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Madefor Display"; src: url(/assets/fonts/wix-madefor-display-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Madefor Display"; src: url(/assets/fonts/wix-madefor-display-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Madefor Display"; src: url(/assets/fonts/wix-madefor-display-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Madefor Text"; src: url(/assets/fonts/wix-madefor-text-cyrillic-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Madefor Text"; src: url(/assets/fonts/wix-madefor-text-cyrillic-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Madefor Text"; src: url(/assets/fonts/wix-madefor-text-cyrillic-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Madefor Text"; src: url(/assets/fonts/wix-madefor-text-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Madefor Text"; src: url(/assets/fonts/wix-madefor-text-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Madefor Text"; src: url(/assets/fonts/wix-madefor-text-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* extended Latin (Uzbek, Turkish, Azerbaijani, Wolof…) and extended Cyrillic (Kazakh, Kyrgyz, Tajik) */
@font-face { font-family: "Madefor Display"; src: url(/assets/fonts/wix-madefor-display-latin-ext-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Madefor Display"; src: url(/assets/fonts/wix-madefor-display-latin-ext-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Madefor Display"; src: url(/assets/fonts/wix-madefor-display-latin-ext-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Madefor Display"; src: url(/assets/fonts/wix-madefor-display-cyrillic-ext-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Madefor Display"; src: url(/assets/fonts/wix-madefor-display-cyrillic-ext-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Madefor Display"; src: url(/assets/fonts/wix-madefor-display-cyrillic-ext-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Madefor Text"; src: url(/assets/fonts/wix-madefor-text-latin-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Madefor Text"; src: url(/assets/fonts/wix-madefor-text-latin-ext-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Madefor Text"; src: url(/assets/fonts/wix-madefor-text-latin-ext-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Madefor Text"; src: url(/assets/fonts/wix-madefor-text-cyrillic-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Madefor Text"; src: url(/assets/fonts/wix-madefor-text-cyrillic-ext-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Madefor Text"; src: url(/assets/fonts/wix-madefor-text-cyrillic-ext-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  --bg2: #F5F5F7; --bg3: #E8E8ED;
  --ink: #1D1D1F; --ink2: #424245; --mute: #6E6E73; --mute2: #86868B; --line: #D2D2D7; --line2: #E8E8ED;
  --d1: #000; --d2: #161617; --d3: #1D1D1F; --d4: #2C2C2E;
  --text-d: #F5F5F7; --mute-d: #A1A1A6;
  --blue: #2563EB; --blue-d: #60A5FA; --orange: #F97316; --orange-d: #FB923C; --acc: #F97316;
  --green: #30D158; --red: #FF453A; --amber: #FFB340;
  --r: 28px; --pad: clamp(18px, 3.6vw, 44px); --max: 1180px;
  --fd: "Madefor Display", "Madefor Text", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans Georgian", "Noto Naskh Arabic", "Geeza Pro", Tahoma, sans-serif;
  --f: "Madefor Text", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans Georgian", "Noto Naskh Arabic", "Geeza Pro", Tahoma, sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font-family: var(--f); font-size: 17px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--fd); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.mute { color: var(--mute); }
.eyebrow { display: inline-block; font: 600 14px/1.3 var(--f); color: var(--orange); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { --b: var(--ink); --c: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--b); color: var(--c); font: 500 16px/1 var(--f); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, opacity .2s, box-shadow .2s; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.btn:hover { --b: #000; }
.btn:active { transform: scale(.97); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.blue { --b: var(--blue); } .btn.blue:hover { --b: #1D4ED8; }
.btn.light { --b: #fff; --c: var(--ink); } .btn.light:hover { --b: #E8E8ED; }
.btn.ghost { --b: transparent; --c: var(--ink); box-shadow: inset 0 0 0 1.3px currentColor; }
.btn.ghost:hover { --b: rgba(0, 0, 0, .05); }
.on-dark .btn.ghost, .btn.ghost.on-dark { --c: #fff; } .on-dark .btn.ghost:hover, .btn.ghost.on-dark:hover { --b: rgba(255, 255, 255, .1); }
.btn.sm { min-height: 34px; padding: 0 15px; font-size: 14px; }
.lnk { display: inline-flex; align-items: center; gap: 2px; color: var(--blue); text-decoration: none; font-weight: 500; font-size: 17px; }
.lnk::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); margin-left: 5px; }
.lnk:hover { text-decoration: underline; text-underline-offset: 3px; }
.on-dark .lnk { color: var(--blue-d); }
.acts { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: center; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .8); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .07); }
.hdr .wrap { display: flex; align-items: center; gap: 20px; height: 56px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 24px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink); opacity: .8; text-decoration: none; font-size: 14.5px; padding: 7px 12px; border-radius: 999px; transition: opacity .2s, background-color .2s; }
.nav a:hover, .nav a[aria-current] { opacity: 1; background: rgba(0, 0, 0, .05); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; margin-left: auto; cursor: pointer; padding: 0; }
.burger span { display: block; width: 18px; height: 1.6px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
@media (max-width: 920px) {
  .nav, .hdr .btn { display: none; }
  .burger { display: block; }
  .menu-open .hdr { background: #fff; }
  .menu-open .nav { display: flex; position: fixed; inset: 56px 0 0; flex-direction: column; gap: 0; background: #fff; padding: 8px var(--pad) 40px; overflow: auto; }
  .menu-open .nav a { font: 600 26px/1.2 var(--fd); padding: 16px 0; opacity: 1; border-radius: 0; border-bottom: 1px solid var(--line2); }
  .menu-open .nav .btn { display: inline-flex; margin-top: 24px; font: 500 17px var(--f); border: 0; min-height: 52px; color: #fff; }
  .menu-open, .menu-open body { overflow: hidden; }
}
.nav .btn { display: none; }

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

/* ---------- home hero ---------- */
.hero { text-align: center; padding: clamp(52px, 7vw, 96px) 0 0; overflow: hidden; }
.hero h1 { font-size: clamp(38px, 5.6vw, 76px); letter-spacing: -.034em; line-height: 1.03; max-width: 17ch; margin: 14px auto 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue), #7C5CFF 45%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--mute); max-width: 650px; margin: 0 auto; line-height: 1.45; }
.hero .acts { margin-top: 30px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg2); margin-top: 26px; }
.seg a { text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 9px 16px; border-radius: 999px; color: var(--ink2); transition: background-color .2s, color .2s; }
.seg a:hover { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.hero-devices { position: relative; margin: clamp(44px, 6vw, 76px) auto 0; max-width: 1060px; padding: 0 2% 0; }
.hero-devices .mac { width: 78%; margin: 0 auto; }
.hero-devices .iphone { position: absolute; bottom: 6%; width: 16.5%; z-index: 2; }
.hero-devices .iphone.l { left: 1%; transform: rotate(-5deg); }
.hero-devices .iphone.r { right: 1%; transform: rotate(5deg); }
@media (max-width: 640px) { .hero-devices .mac { width: 92%; } .hero-devices .iphone { width: 25%; bottom: -4%; } .hero-devices .iphone.l { left: -3%; } .hero-devices .iphone.r { right: -3%; } }

/* compact 4-step strip right under the hero */
.how { padding: clamp(40px, 5vw, 64px) 0 0; }
.how-box { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(220px, 250px); align-items: stretch; gap: 0; border-radius: var(--r); background: var(--bg2); padding: 10px; }
.how-box .st { position: relative; padding: 18px 20px 20px; border-radius: 20px; }
.how-box .st + .st::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: var(--line); }
.how-box .st b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 13px var(--f); margin-bottom: 12px; }
.how-box .st:last-of-type b { background: var(--orange); }
.how-box h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 4px; }
.how-box p { font-size: 14.5px; color: var(--mute); line-height: 1.4; }
.how-box .go { display: grid; align-content: center; gap: 12px; padding: 18px 20px; border-radius: 20px; background: #fff; text-align: left; margin-left: 6px; }
.how-box .go small { font-size: 13.5px; color: var(--mute); line-height: 1.35; }
.how-box .go .btn { width: 100%; }
@media (max-width: 1080px) { .how-box { grid-template-columns: repeat(2, minmax(0, 1fr)); } .how-box .st + .st::before { display: none; } .how-box .go { grid-column: span 2; grid-template-columns: 1fr auto; align-items: center; } .how-box .go .btn { width: auto; } }
@media (max-width: 560px) { .how-box { grid-template-columns: 1fr 1fr; padding: 8px; } .how-box .st { padding: 14px 12px 14px; } .how-box .go { grid-template-columns: 1fr; } .how-box .go .btn { width: 100%; } .how-box h3 { font-size: 15.5px; } .how-box p { font-size: 13.5px; } }

/* numbers band */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.nums b { display: block; font: 600 clamp(36px, 4.4vw, 56px)/1 var(--fd); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.nums span { display: block; margin: 10px auto 0; color: var(--mute); font-size: 15px; line-height: 1.4; max-width: 22ch; }
.on-dark .nums span { color: var(--mute-d); }
@media (max-width: 800px) { .nums { grid-template-columns: 1fr 1fr; row-gap: 36px; } }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec.tight { padding-top: clamp(40px, 5vw, 64px); }
.gray { background: var(--bg2); }
.dark { background: #000; color: var(--text-d); }
.shead { text-align: center; max-width: 820px; margin: 0 auto clamp(34px, 4.4vw, 56px); }
.shead h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.032em; margin-top: 10px; }
.shead p { font-size: clamp(17px, 1.5vw, 21px); color: var(--mute); margin: 16px auto 0; line-height: 1.5; max-width: 680px; }
.dark .shead p { color: var(--mute-d); }
.dark .eyebrow { color: var(--orange-d); }

/* ---------- product tiles (Apple-style) ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { position: relative; grid-column: span 2; overflow: hidden; border-radius: var(--r); background: var(--bg2); color: var(--ink); min-height: 660px; display: flex; flex-direction: column; isolation: isolate; }
.tile.half { grid-column: span 1; min-height: 620px; }
.tile .tt { position: relative; z-index: 3; text-align: center; padding: clamp(40px, 5vw, 56px) 24px 0; }
.tile .eyebrow { margin-bottom: 8px; color: inherit; opacity: .7; }
.tile h3 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.034em; }
.tile.half h3 { font-size: clamp(28px, 3vw, 40px); }
.tile .sub { font-size: clamp(17px, 1.55vw, 21px); line-height: 1.4; margin: 10px auto 0; max-width: 34ch; opacity: .82; }
.tile .acts { margin-top: 18px; position: relative; z-index: 4; }
.tile .vis { position: relative; flex: 1; display: flex; align-items: flex-end; justify-content: center; padding: 34px 24px 0; min-height: 300px; z-index: 1; }
.tile .vis.mid { align-items: center; padding-bottom: 34px; }
.tile .vis.bleed { padding: 20px 0 0; }
.tile .stretch { position: absolute; inset: 0; z-index: 2; }
.tile .stretch:focus-visible { outline-offset: -4px; border-radius: var(--r); }
.tile .badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font: 600 12.5px var(--f); background: rgba(48, 209, 88, .16); color: #30D158; margin-bottom: 14px; }
.tile .badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, .55); } 70% { box-shadow: 0 0 0 8px rgba(48, 209, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); } }
.tile .vis > * { transition: transform 1.2s var(--ease); }
@media (hover: hover) { .tile:hover .vis > * { transform: translateY(-6px); } }
@media (max-width: 860px) { .tile, .tile.half { grid-column: span 2; min-height: 600px; } }
@media (max-width: 560px) { .tiles { gap: 10px; } .tile, .tile.half { min-height: 0; border-radius: 22px; } .tile .vis { min-height: 0; padding: 28px 16px 0; } .tile .tt { padding: 38px 18px 0; } }
/* tile themes: government — restrained black and graphite; city and business products — bright */
.t-dark { background: #000; color: var(--text-d); }
.t-graphite { background: #161617; color: var(--text-d); }
.t-muz { background: radial-gradient(120% 70% at 50% 115%, #2F9A65 0%, rgba(47, 154, 101, 0) 60%), linear-gradient(180deg, #0D3826 0%, #0A2B1E 100%); color: #F1F7F2; }
.t-muz .eyebrow { color: #E9C46A; opacity: 1; }
.t-kyiv { background: #FFD43B; color: #141414; }
.t-kyiv .eyebrow { opacity: .62; }
.t-kyiv .btn.ghost { --c: #141414; }
.t-tnz { background: radial-gradient(90% 60% at 50% 110%, rgba(43, 217, 160, .32), transparent 70%), #07130F; color: #EAF6F1; }
.t-tnz .eyebrow { color: #4ADDA8; opacity: 1; }
.t-ast { background: linear-gradient(180deg, #0A2140 0%, #071629 100%); color: #EAF2FF; }
.t-ast .eyebrow { color: #7CC0FF; opacity: 1; }
.t-pump { background: radial-gradient(70% 60% at 50% 58%, #1F3B52 0%, #13283A 60%, #0E1E2C 100%); color: #EAF3FA; }
.t-pump .eyebrow { color: #8FD3FF; opacity: 1; }
.t-solar { color: #FFF6EA; background: #140C05; }
.t-solar .eyebrow { color: #FFC266; opacity: 1; }
.t-white { background: #fff; box-shadow: inset 0 0 0 1px var(--line2); }
.t-photo > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.t-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(14, 9, 4, .9) 0%, rgba(14, 9, 4, .55) 30%, rgba(14, 9, 4, 0) 56%); }
.t-photo .tt { z-index: 3; }
.t-dark .lnk, .t-graphite .lnk, .t-muz .lnk, .t-tnz .lnk, .t-ast .lnk, .t-pump .lnk, .t-solar .lnk { color: var(--blue-d); }
.t-kyiv .lnk { color: #1E3FB8; }
.t-dark .btn.ghost, .t-graphite .btn.ghost, .t-muz .btn.ghost, .t-tnz .btn.ghost, .t-ast .btn.ghost, .t-pump .btn.ghost, .t-solar .btn.ghost { --c: #fff; }
.t-dark .btn.light, .t-graphite .btn.light, .t-muz .btn.light, .t-tnz .btn.light, .t-ast .btn.light, .t-pump .btn.light, .t-solar .btn.light { --b: #fff; --c: #111; }
/* tile visuals */
.vis .gov-img { width: min(560px, 100%); margin: 0 auto -1px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.vis .gov-img.wide { width: min(720px, 112%); max-width: none; }
.vis .shot { width: min(820px, 100%); border-radius: 14px 14px 0 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.vis .pump { width: min(760px, 130%); max-width: none; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }

/* ---------- devices (CSS mockups) ---------- */
.devices { position: relative; width: 100%; max-width: 940px; margin: 0 auto; }
.devices .mac { width: 86%; margin: 0 auto; }
.devices .iphone { position: absolute; width: 19%; right: 1%; bottom: -3%; z-index: 2; }
.devices .iphone.l { right: auto; left: 1%; }
.devices.r2 .iphone.l { left: auto; right: 15%; bottom: -6%; transform: rotate(-4deg); z-index: 1; }
.iphone { position: relative; aspect-ratio: 433 / 882; border-radius: 15.4% / 7.6%; padding: 0; background: linear-gradient(135deg, #5A5A60 0%, #222225 14%, #131315 48%, #26262A 84%, #66666C 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), inset 0 0 0 2.5px #0A0A0B, 0 1px 0 rgba(255, 255, 255, .05), 0 44px 60px -30px rgba(0, 0, 0, .6), 0 16px 26px -16px rgba(0, 0, 0, .45); }
.iphone::before { content: ""; position: absolute; left: -1.3%; top: 20%; width: 1.4%; height: 6%; border-radius: 3px 0 0 3px; background: #29292D; box-shadow: 0 160% 0 #29292D, 0 300% 0 #29292D; }
.iphone::after { content: ""; position: absolute; right: -1.3%; top: 26%; width: 1.4%; height: 11%; border-radius: 0 3px 3px 0; background: #29292D; }
/* screen inset in % of the phone itself (padding in % would follow the parent's width and squeeze the screen) */
.iphone .scr { position: absolute; left: 3.2%; right: 3.2%; top: 1.57%; bottom: 1.57%; border-radius: 13% / 6.3%; overflow: hidden; background: #000; }
.iphone .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.iphone .scr::before { content: ""; position: absolute; z-index: 2; top: 2.1%; left: 50%; width: 30%; height: 3.6%; transform: translateX(-50%); background: #000; border-radius: 99px; }
.iphone .scr::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 34%); }
.iphone.light { background: linear-gradient(135deg, #F2F2F4 0%, #C9C9CE 16%, #DCDCE0 50%, #BDBDC2 84%, #F4F4F6 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), inset 0 0 0 2.5px #9C9CA2, 0 44px 60px -30px rgba(0, 0, 0, .45), 0 16px 26px -16px rgba(0, 0, 0, .3); }
.iphone.light::before, .iphone.light::after { background: #BDBDC2; }
.iphone.light::before { box-shadow: 0 160% 0 #BDBDC2, 0 300% 0 #BDBDC2; }
.mac { position: relative; }
.mac .lid { position: relative; padding: 2.2% 2.2% 3.4%; border-radius: 3.4% 3.4% 0 0 / 5% 5% 0 0; background: #0B0B0C; box-shadow: inset 0 0 0 1.5px #3A3A3F, inset 0 0 0 4px #0B0B0C; }
.mac .lid::before { content: ""; position: absolute; top: .85%; left: 50%; width: .8%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #1C252E; box-shadow: inset 0 0 0 1px #33404C; }
.mac .scr { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #000; }
.mac .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mac .scr iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.mac .base { position: relative; width: 114%; margin-left: -7%; height: 0; padding-bottom: 3.3%; border-radius: 0 0 46% 46% / 0 0 100% 100%; background: linear-gradient(180deg, #E6E7EA 0%, #CFD0D4 35%, #A3A4A9 100%); box-shadow: 0 22px 30px -20px rgba(0, 0, 0, .55); }
.mac .base::before { content: ""; position: absolute; top: 0; left: 50%; width: 14%; height: 40%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #A9AAAF, #CDCED2); }
.mac .base::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 20%; border-radius: 2px; background: linear-gradient(90deg, #8C8D92, #F1F2F4 8%, #F1F2F4 92%, #8C8D92); opacity: .75; }
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; width: 100%; max-width: 900px; margin: 0 auto; }
.phones .iphone { width: 31%; max-width: 300px; flex: none; }
.phones .iphone:nth-child(1) { transform: translate(16%, 7%) rotate(-8deg); z-index: 1; }
.phones .iphone:nth-child(2) { z-index: 2; }
.phones .iphone:nth-child(3) { transform: translate(-16%, 7%) rotate(8deg); z-index: 1; }
.tile .phones { margin-bottom: -12%; }
@media (max-width: 560px) { .phones .iphone { width: 38%; } .devices .iphone { width: 24%; } }

/* ---------- business tiles: picture on a third of the tile ---------- */
.biz { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.bz { --c: #333; --fg: #fff; position: relative; grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--c); color: var(--fg); text-decoration: none; min-height: 540px; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.bz.w3 { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 420px; }
.bz:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px var(--c); }
.bz .pic { position: relative; height: 42%; min-height: 220px; overflow: hidden; flex: none; }
.bz .pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.bz:hover .pic img { transform: scale(1.14); }
.bz.w3 .pic { height: auto; order: 2; }
.bz.w3 .pic img { position: absolute; inset: 0; transform: scale(1.02); -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%); mask-image: linear-gradient(90deg, transparent, #000 18%); }
.bz.w3:hover .pic img { transform: scale(1.07); }
.bz .bz-t { display: flex; flex-direction: column; flex: 1; padding: 6px 30px 30px; }
.bz.w3 .bz-t { padding: 36px 8px 32px 34px; }
.bz small { font: 600 13px var(--f); opacity: .78; }
.bz h3 { font-size: clamp(23px, 2.2vw, 30px); letter-spacing: -.025em; margin-top: 8px; max-width: 17ch; }
.bz p { margin-top: 10px; font-size: 15.5px; line-height: 1.45; opacity: .88; max-width: 36ch; }
.bz .kpi { margin-top: auto; padding-top: 22px; }
.bz .kpi b { display: block; font: 600 clamp(36px, 3.6vw, 50px)/1 var(--fd); letter-spacing: -.04em; }
.bz .kpi span { display: block; margin-top: 6px; font-size: 14px; opacity: .85; }
.bz .arr { position: absolute; top: 18px; right: 18px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .3s, transform .3s var(--ease); }
.bz:hover .arr { background: rgba(255, 255, 255, .38); transform: rotate(-45deg); }
.bz .arr svg { width: 17px; height: 17px; }
.bz.dark-text { --fg: #1a1400; } .bz.dark-text .arr { background: rgba(0, 0, 0, .08); }
@media (max-width: 1000px) { .biz { grid-template-columns: 1fr 1fr; } .bz, .bz.w3 { grid-column: span 1; } .bz.w3 { display: flex; min-height: 540px; } .bz.w3 .pic { order: 0; height: 42%; } .bz.w3 .pic img { position: static; transform: scale(1.08); -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); } .bz.w3 .bz-t { padding: 6px 30px 30px; } }
@media (max-width: 620px) { .biz { grid-template-columns: 1fr; gap: 10px; } .bz, .bz.w3 { min-height: 0; border-radius: 22px; } .bz .pic, .bz.w3 .pic { height: 210px; min-height: 0; } .bz .kpi { padding-top: 18px; } }

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.svc > div { background: #fff; border-radius: 24px; padding: 30px 28px 30px; display: grid; gap: 10px; align-content: start; }
.svc i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--bg2); color: var(--ink); }
.svc i svg { width: 22px; height: 22px; }
.svc h3 { font-size: 21px; margin-top: 8px; letter-spacing: -.015em; }
.svc p { color: var(--mute); font-size: 15.5px; }
.svc ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc li { font-size: 13px; padding: 5px 11px; border-radius: 99px; background: var(--bg2); color: var(--ink2); }
@media (max-width: 1000px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc { grid-template-columns: 1fr; } }

/* ---------- about (dark) ---------- */
.about-big { font: 600 clamp(24px, 3vw, 40px)/1.2 var(--fd); letter-spacing: -.028em; max-width: 34ch; }
.about-big span { color: #6E6E73; }
.geo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 5vw, 60px); }
.geo div { padding: 24px 22px 26px; border-radius: 22px; background: #1C1C1E; }
.geo i { display: block; font: 600 30px/1 var(--fd); font-style: normal; letter-spacing: -.02em; color: #fff; margin-bottom: 26px; }
.geo i small { font-size: 13px; color: var(--orange-d); letter-spacing: .02em; margin-left: 8px; vertical-align: middle; }
.geo b { display: block; font-size: 17px; color: #fff; font-weight: 600; }
.geo span { display: block; color: var(--mute-d); font-size: 14.5px; margin-top: 4px; line-height: 1.45; }
.about-nums { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(36px, 4vw, 52px); border-top: 1px solid #2C2C2E; }
@media (max-width: 900px) { .geo { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .geo { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact h2 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.034em; margin: 10px 0 16px; }
.contact .lead { font-size: 18px; color: var(--mute); max-width: 44ch; }
.clist { display: grid; gap: 8px; margin-top: 28px; }
.clist a, .clist div { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 14px 16px; border-radius: 18px; background: #fff; transition: background-color .2s; }
.clist a:hover { background: #FAFAFC; }
.clist i { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--bg2); color: var(--ink); }
.clist i svg { width: 20px; height: 20px; }
.clist b { display: block; font-weight: 600; font-size: 17px; } .clist em { display: block; font-style: normal; color: var(--mute); font-size: 14px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- form (inline + modal) ---------- */
.form { position: relative; background: #fff; border-radius: 28px; padding: clamp(22px, 3.2vw, 36px); display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 7px; min-width: 0; }
.fld > label, .fld > .lbl { font-size: 13.5px; font-weight: 600; color: var(--ink2); }
.fld input, .fld textarea { width: 100%; font-size: 16px; color: var(--ink); background: var(--bg2); border: 1.5px solid transparent; border-radius: 14px; padding: 13px 15px; transition: border-color .2s, background-color .2s; -webkit-appearance: none; appearance: none; }
.fld textarea { min-height: 116px; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: #A1A1A6; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.fld input[aria-invalid=true] { border-color: #E5484D; background: #FFF5F5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; left: 0; top: 0; width: 1px !important; height: 1px; padding: 0 !important; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 99px; font-size: 14px; background: var(--bg2); transition: background-color .2s, color .2s; user-select: none; }
.chips label:hover span { background: var(--bg3); }
.chips input:checked + span { background: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.drop { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1.5px dashed var(--line); background: #FBFBFD; cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop:hover, .drop.over { border-color: var(--blue); background: #F2F6FF; }
.drop i { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); color: var(--blue); }
.drop i svg { width: 20px; height: 20px; }
.drop b { display: block; font-size: 15px; font-weight: 600; } .drop span { display: block; font-size: 13px; color: var(--mute); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs:empty { display: none; }
.thumbs figure { position: relative; margin: 0; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--bg2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.form .send { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.form .send .btn { min-height: 52px; padding: 0 28px; font-size: 16.5px; }
.form .note { font-size: 12.5px; color: var(--mute2); line-height: 1.4; }
.form .hp { position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form .msg { display: none; padding: 14px 16px; border-radius: 14px; font-size: 15px; }
.form.sent .msg.ok { display: block; background: #E9F9EF; color: #0B7A3B; }
.form.failed .msg.err { display: block; background: #FFEFF0; color: #B3261E; }
.form .fail-line { display: none; font-size: 14px; color: #B3261E; }
.form button[disabled] { opacity: .5; pointer-events: none; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } .form .send .btn { width: 100%; } }

/* modal */
.ldlg { border: 0; padding: 0; margin: auto; width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: 30px; background: #fff; color: var(--ink); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .45); overflow: auto; overscroll-behavior: contain; }
.ldlg::backdrop { background: rgba(0, 0, 0, .42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ldlg[open] { animation: dlgIn .45s var(--ease); }
.ldlg[open]::backdrop { animation: fadeIn .3s ease; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }
.ldlg .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 0; }
.ldlg .top img { height: 22px; width: auto; }
.x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg2); cursor: pointer; display: grid; place-items: center; padding: 0; transition: background-color .2s; }
.x:hover { background: var(--bg3); }
.x svg { width: 16px; height: 16px; }
.ldlg .head { padding: 22px 28px 4px; }
.ldlg h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; }
.ldlg .head p { color: var(--mute); margin-top: 8px; font-size: 16px; }
.ldlg .form { padding: 18px 28px 8px; border-radius: 0; gap: 14px; }
.ldlg .alt { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 28px 26px; margin-top: 6px; border-top: 1px solid var(--line2); }
.ldlg .alt a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--bg2); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: background-color .2s; }
.ldlg .alt a:hover { background: var(--bg3); }
.ldlg .alt a svg { width: 17px; height: 17px; }
.ldlg .alt .tg { background: #E8F3FD; color: #1B78C8; } .ldlg .alt .tg:hover { background: #D8EBFC; }
.ldlg .alt span { font-size: 13.5px; color: var(--mute); align-self: center; margin-right: 4px; }
.ldlg.done .form > :not(.msg.ok), .ldlg.done .alt { display: none; }
@media (max-width: 560px) { .ldlg { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; } .ldlg[open] { animation: sheetIn .45s var(--ease); } .ldlg .head, .ldlg .form, .ldlg .alt { padding-left: 20px; padding-right: 20px; } .ldlg .top { padding: 16px 18px 0; } }
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- AI assistant ---------- */
.ai-fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 70; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 8px; border: 0; border-radius: 999px; background: #111; color: #fff; font: 500 15.5px var(--f); cursor: pointer; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .3s var(--ease), opacity .3s; }
.ai-fab:hover { transform: translateY(-2px); }
.ai-fab .av { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; position: relative; }
.ai-fab .av img { width: 20px; height: 20px; }
.ai-fab .av::after { content: ""; position: absolute; right: -1px; bottom: 1px; width: 10px; height: 10px; border-radius: 50%; background: #30D158; box-shadow: 0 0 0 2px #111; }
.ai-open .ai-fab { opacity: 0; pointer-events: none; transform: translateY(10px); }
.ai-panel { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 71; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100dvh - 36px)); display: flex; flex-direction: column; border-radius: 26px; background: #fff; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .06); overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.ai-open .ai-panel { opacity: 1; transform: none; pointer-events: auto; }
.ai-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line2); }
.ai-head .av { width: 38px; height: 38px; border-radius: 12px; background: var(--bg2); display: grid; place-items: center; flex: none; }
.ai-head .av img { width: 20px; height: 20px; }
.ai-head b { display: block; font: 600 16px var(--fd); } .ai-head span { display: block; font-size: 12.5px; color: var(--mute); }
.ai-head span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #30D158; margin-right: 6px; vertical-align: 1px; }
.ai-head .x { margin-left: auto; }
.ai-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scroll-behavior: smooth; }
.ai-msgs .m { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.ai-msgs .m.bot { background: var(--bg2); border-bottom-left-radius: 6px; align-self: flex-start; }
.ai-msgs .m.me { background: var(--ink); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.ai-msgs .m.bot a { color: var(--blue); }
.ai-msgs .typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.ai-msgs .typing i { width: 7px; height: 7px; border-radius: 50%; background: #A1A1A6; animation: blink 1.2s infinite; }
.ai-msgs .typing i:nth-child(2) { animation-delay: .2s; } .ai-msgs .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-sugg { display: flex; gap: 6px; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; }
.ai-sugg::-webkit-scrollbar { display: none; }
.ai-sugg button { flex: none; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 8px 12px; border-radius: 99px; font-size: 13.5px; cursor: pointer; transition: background-color .2s; }
.ai-sugg button:hover { background: var(--bg2); }
.ai-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line2); }
.ai-form textarea { flex: 1; resize: none; border: 0; background: var(--bg2); border-radius: 18px; padding: 11px 14px; font-size: 15px; line-height: 1.35; max-height: 120px; min-height: 44px; }
.ai-form textarea:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.ai-form button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; align-self: flex-end; }
.ai-form button[disabled] { opacity: .35; }
.ai-form button svg { width: 18px; height: 18px; }
.ai-note { font-size: 11.5px; color: var(--mute2); text-align: center; padding: 0 16px 10px; }
@media (max-width: 560px) { .ai-fab { height: 52px; padding: 0 7px; } .ai-fab .t { display: none; } .ai-panel { right: 0; bottom: 0; width: 100%; height: 88dvh; border-radius: 24px 24px 0 0; } }

/* ---------- footer ---------- */
.ftr { background: var(--bg2); color: var(--mute); padding: 52px 0 30px; font-size: 13.5px; }
.ftr .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.ftr .logo img { height: 22px; }
.ftr h4 { color: var(--ink); font: 600 13.5px var(--f); margin-bottom: 10px; letter-spacing: 0; }
.ftr a { text-decoration: none; color: var(--mute); display: block; padding: 3px 0; }
.ftr a:hover { color: var(--ink); text-decoration: underline; }
.ftr p { max-width: 34ch; margin-top: 14px; line-height: 1.5; }
.ftr .bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 20px; }
.ftr .bottom a { display: inline; }
@media (max-width: 800px) { .ftr .top { grid-template-columns: 1fr 1fr; } .ftr .top > div:first-child { grid-column: span 2; } }

/* ---------- case pages ---------- */
.chero { text-align: center; padding: clamp(40px, 6vw, 76px) 0 0; overflow: hidden; }
.chero.pb { padding-bottom: clamp(48px, 6vw, 80px); }
.crumbs { font-size: 13px; display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; opacity: .6; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.chero .eyebrow { color: inherit; opacity: .7; }
.chero.t-muz .eyebrow, .chero.t-tnz .eyebrow, .chero.t-ast .eyebrow, .chero.t-pump .eyebrow, .chero.t-solar .eyebrow { opacity: 1; }
.chero h1 { font-size: clamp(34px, 4.8vw, 64px); letter-spacing: -.035em; line-height: 1.05; max-width: 21ch; margin: 10px auto 18px; }
.chero .lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; max-width: 740px; margin: 0 auto; opacity: .82; }
.chero .acts { margin-top: 26px; }
.meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.meta div { padding: 10px 16px; border-radius: 14px; background: rgba(127, 127, 127, .12); text-align: left; }
.meta span { display: block; font-size: 12px; opacity: .65; } .meta b { font-weight: 600; font-size: 14.5px; }
.cvis { margin-top: clamp(40px, 5vw, 64px); position: relative; }
.cvis.pb { padding-bottom: clamp(40px, 6vw, 80px); }
.cvis > img.round { width: 100%; border-radius: 24px; }
.cbody { padding: clamp(60px, 7.5vw, 104px) 0; }
.cbody + .cbody:not(.gray):not(.dark) { padding-top: 0; }
.cbody.gray + .cbody.gray, .cbody.dark + .cbody.dark { padding-top: 0; }
.blk { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px 72px; align-items: start; }
.blk h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.03em; margin-top: 8px; }
.txt { font-size: 18px; color: var(--ink2); display: grid; gap: 14px; line-height: 1.55; }
.dark .txt { color: #C7C7CC; }
.txt ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.txt li { position: relative; padding-left: 24px; }
.txt li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 3px; background: var(--acc); }
@media (max-width: 900px) { .blk { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.facts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts div { padding: 28px 24px; border-radius: 24px; background: var(--bg2); }
.gray .facts div { background: #fff; } .dark .facts div { background: #1C1C1E; }
.facts b { display: block; font: 600 clamp(30px, 3.3vw, 46px)/1 var(--fd); letter-spacing: -.04em; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.facts span { color: var(--mute); font-size: 15px; line-height: 1.45; display: block; }
.dark .facts span { color: var(--mute-d); }
@media (max-width: 900px) { .facts, .facts.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .facts, .facts.three { grid-template-columns: 1fr; } }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feats > div { padding: 28px 26px; border-radius: 24px; background: var(--bg2); display: grid; gap: 8px; align-content: start; }
.gray .feats > div { background: #fff; } .dark .feats > div { background: #1C1C1E; }
.feats i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--ink); margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.gray .feats i { background: var(--bg2); box-shadow: none; } .dark .feats i { background: #2C2C2E; color: #fff; box-shadow: none; }
.feats i svg { width: 22px; height: 22px; }
.feats h3 { font-size: 20px; letter-spacing: -.015em; } .feats p { color: var(--mute); font-size: 15.5px; } .dark .feats p { color: var(--mute-d); }
@media (max-width: 960px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feats, .feats.two { grid-template-columns: 1fr; } }
.gal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.gal > * { grid-column: span 6; }
.gal .w12 { grid-column: span 12; } .gal .w8 { grid-column: span 8; } .gal .w4 { grid-column: span 4; }
.gal figure { margin: 0; border-radius: 24px; overflow: hidden; background: var(--bg2); position: relative; }
.gal figure > img { width: 100%; height: 100%; object-fit: cover; }
.gal figure.ph { display: grid; place-items: center; padding: 34px 0 0; overflow: hidden; }
.gal figure.ph .iphone { width: 58%; max-width: 250px; margin-bottom: -18%; }
.gal figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 10px; font-size: 13px; background: rgba(255, 255, 255, .9); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 3; }
@media (max-width: 800px) { .gal > *, .gal .w8, .gal .w4 { grid-column: span 12; } .gal figure.ph .iphone { width: 46%; } }
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.links a, .links .nolink { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 18px; background: var(--bg2); text-decoration: none; transition: background-color .2s; }
.links a:hover { background: var(--bg3); }
.gray .links a, .gray .links .nolink { background: #fff; }
.links .nolink { background: transparent !important; box-shadow: inset 0 0 0 1.3px var(--line); }
.links b { display: block; font-weight: 600; } .links em { display: block; font-style: normal; color: var(--mute); font-size: 14px; }
.links svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
@media (max-width: 700px) { .links { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.steps > div { padding: 26px 22px; border-radius: 22px; background: var(--bg2); }
.gray .steps > div { background: #fff; } .dark .steps > div { background: #1C1C1E; }
.steps b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 13px var(--f); margin-bottom: 18px; }
.dark .steps b { background: #fff; color: #000; }
.steps h3 { font-size: 18px; margin-bottom: 6px; } .steps p { font-size: 15px; color: var(--mute); } .dark .steps p { color: var(--mute-d); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.ai-say { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: #1C1C1E; color: #F5F5F7; font-size: 16.5px; line-height: 1.5; text-align: left; }
.ai-say b { flex: none; font: 600 12px/1 var(--f); padding: 7px 9px; border-radius: 8px; background: #fff; color: #000; letter-spacing: .04em; }
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.next a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border-radius: 24px; background: var(--c, #1D1D1F); color: #fff; text-decoration: none; overflow: hidden; min-height: 230px; isolation: isolate; }
.next a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .55; transition: opacity .4s, transform 1s var(--ease); }
.next a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 70%); }
.next a:hover img { opacity: .7; transform: scale(1.03); }
.next span { font-size: 13px; opacity: .8; }
.next b { font: 600 clamp(22px, 2.2vw, 28px)/1.15 var(--fd); letter-spacing: -.02em; margin-top: 6px; max-width: 22ch; }
@media (max-width: 700px) { .next { grid-template-columns: 1fr; } }
.cta-band { border-radius: var(--r); padding: clamp(32px, 5vw, 56px); background: #000; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 22px 40px; align-items: center; margin-top: 12px; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.03em; }
.cta-band p { color: var(--mute-d); margin-top: 10px; font-size: 17px; }
.cta-band .acts { justify-content: flex-start; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }
.note-s { font-size: 13px; color: var(--mute2); margin-top: 16px; text-align: center; } .dark .note-s { color: #6E6E73; }
.split-img { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px 64px; align-items: center; }
.split-img .shead { text-align: left; margin: 0 0 22px; }
.split-img > img { border-radius: 24px; box-shadow: 0 40px 80px -44px rgba(0, 0, 0, .45); }
@media (max-width: 900px) { .split-img { grid-template-columns: 1fr; } }
.stage { border-radius: var(--r); overflow: hidden; padding: clamp(36px, 5vw, 64px) clamp(16px, 4vw, 48px) 0; }

/* ---------- illustrations (AI assistants, solar, TNZ) ---------- */
.flow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px; border-radius: var(--r); background: #0B0B0C; box-shadow: inset 0 0 0 1px #1F1F21; color: var(--text-d); text-align: left; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.flow-lines path { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 1.1; }
.flow-lines path.live { stroke: url(#fg); stroke-width: 1.5; stroke-dasharray: 3 9; animation: dash 3.5s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -120; } }
.flow-col { position: relative; z-index: 1; display: grid; gap: 10px; }
.flow-h { font: 600 12.5px var(--f); color: var(--mute-d); margin-bottom: 4px; }
.flow ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.flow-src li { padding: 8px 12px; border-radius: 12px; background: #1C1C1E; display: grid; gap: 1px; }
.flow-src li b { font-size: 13.5px; font-weight: 600; color: #fff; } .flow-src li span { font-size: 11.5px; color: var(--mute-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-out li { padding: 14px 16px; border-radius: 14px; background: #1C1C1E; box-shadow: inset 3px 0 0 var(--acc); }
.flow-out li small { font: 600 11.5px var(--f); color: var(--orange-d); } .flow-out li b { display: block; color: #fff; font-size: 15.5px; margin-top: 4px; } .flow-out li span { display: block; font-size: 13px; color: var(--mute-d); }
.flow-quote { margin-top: 10px; font-size: 15px; color: #E5E5EA; padding: 14px 16px; border-radius: 14px; border: 1px dashed rgba(251, 146, 60, .5); }
.flow-core { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 8px; }
.flow-core b { color: #fff; font: 600 20px var(--fd); } .flow-core > span { color: var(--mute-d); font-size: 13.5px; }
.orb { position: relative; width: min(240px, 100%); aspect-ratio: 1; border-radius: 50%; margin-bottom: 10px; }
.orb img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: cover; border-radius: 50%; }
.orb.sm { width: 150px; } .orb.sm img { inset: 30%; width: 40%; height: 40%; object-fit: contain; border-radius: 0; }
.orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); animation: spin 18s linear infinite; }
.orb .ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-d); box-shadow: 0 0 12px var(--orange-d); }
.orb .r2 { inset: -8%; animation-duration: 26s; animation-direction: reverse; border-style: dashed; } .orb .r2::after { background: #fff; box-shadow: 0 0 10px #fff; }
.orb .r3 { inset: 5%; animation-duration: 12s; border-color: rgba(251, 146, 60, .25); } .orb .r3::after { width: 6px; height: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.flow.mini { grid-template-columns: minmax(0, 1fr) minmax(200px, .6fr) minmax(0, 1fr); }
.flow.mini .flow-src li b, .flow.mini .flow-out li b { font-size: 15px; } .flow.mini .flow-src li span { font-size: 12.5px; white-space: normal; }
@media (max-width: 960px) { .flow, .flow.mini { grid-template-columns: 1fr; padding: 20px; gap: 26px; } .flow-lines { display: none; } .flow-src { grid-template-columns: 1fr 1fr; } .orb { width: 200px; } }
@media (max-width: 520px) { .flow-src { grid-template-columns: 1fr; } }
.advice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left; }
.advice article { padding: 26px; border-radius: 24px; background: #1C1C1E; display: grid; gap: 12px; align-content: start; }
.advice article:first-child { grid-column: span 2; background: linear-gradient(160deg, #2C2C2E, #1C1C1E); }
.advice header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.advice header span { font: 600 15px var(--fd); color: var(--orange-d); } .advice header small { font-size: 12px; color: #C7C7CC; padding: 4px 10px; border-radius: 99px; background: #2C2C2E; }
.advice h3 { color: #fff; font-size: 21px; } .advice p { color: #C7C7CC; font-size: 15.5px; line-height: 1.55; }
@media (max-width: 1000px) { .advice { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .advice { grid-template-columns: 1fr; } .advice article:first-child { grid-column: auto; } }
.dirs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; text-align: left; }
.dirs div { grid-column: span 2; padding: 26px; border-radius: 24px; background: #1C1C1E; }
.dirs div:nth-child(4), .dirs div:nth-child(5) { grid-column: span 3; }
.dirs span { font: 600 15px var(--fd); color: var(--orange-d); } .dirs h3 { color: #fff; font-size: 21px; margin: 14px 0 8px; } .dirs p { color: var(--mute-d); font-size: 15px; }
@media (max-width: 900px) { .dirs { grid-template-columns: 1fr 1fr; } .dirs div, .dirs div:nth-child(4) { grid-column: span 1; } .dirs div:nth-child(5) { grid-column: span 2; } }
@media (max-width: 560px) { .dirs { grid-template-columns: 1fr; } .dirs div:nth-child(5) { grid-column: auto; } }
.dash { display: grid; gap: 12px; padding: 16px; border-radius: var(--r); background: #0B0B0C; box-shadow: inset 0 0 0 1px #1F1F21; text-align: left; }
.dk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dk > div { padding: 18px 20px; border-radius: 18px; background: #1C1C1E; }
.dk b { display: block; font: 600 clamp(28px, 3vw, 40px)/1.1 var(--fd); color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dk span { font-size: 13.5px; color: var(--mute-d); }
.dk b.g { color: #30D158; } .dk b.a { color: #FFB340; } .dk b.r { color: #FF6961; }
.dg { display: grid; grid-template-columns: .8fr 1.3fr 1fr; gap: 12px; }
.dp { padding: 20px; border-radius: 18px; background: #1C1C1E; color: var(--text-d); text-align: left; }
.dp h4 { font: 600 15px var(--f); color: #fff; margin: 0 0 12px; letter-spacing: 0; }
.donut { width: 100%; max-width: 200px; margin: 0 auto; } .donut text { fill: var(--mute-d); font-size: 11px; font-family: var(--f); } .donut .big { fill: #fff; font-size: 22px; font-weight: 600; }
.bars-svg { width: 100%; } .bars-svg text, .line-svg text { fill: var(--mute-d); font-size: 11px; font-family: var(--f); } .gr line { stroke: rgba(255, 255, 255, .08); }
.watch { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.watch li { padding: 12px 14px; border-radius: 12px; background: #2C2C2E; box-shadow: inset 3px 0 0 #FFB340; }
.watch li.r { box-shadow: inset 3px 0 0 #FF6961; } .watch b { display: block; color: #fff; font-size: 15px; } .watch span { font-size: 13px; color: var(--mute-d); }
@media (max-width: 960px) { .dk { grid-template-columns: 1fr 1fr; } .dg { grid-template-columns: 1fr; } }
.alert-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; text-align: left; }
.ak { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.ak b { display: block; font: 600 clamp(20px, 2.2vw, 28px) var(--fd); color: #fff; } .ak b.r { color: #FF6961; } .ak span { font-size: 13px; color: var(--mute-d); }
.line-svg { width: 100%; }
.line-svg .ln { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.line-svg .area { fill: rgba(255, 255, 255, .07); }
.line-svg circle { fill: #fff; } .line-svg circle.hot { fill: #FF6961; }
.line-svg .thr { stroke: #FFB340; stroke-dasharray: 6 6; stroke-width: 1.6; } .line-svg .thr-t { fill: #FFB340 !important; }
.concl { display: grid; gap: 8px; align-content: start; background: linear-gradient(160deg, #2C2C2E, #1C1C1E); }
.concl small { font: 600 12px var(--f); color: var(--orange-d); margin-top: 8px; }
.concl h3 { color: #fff; font-size: 24px; } .concl p { color: #D1D1D6; font-size: 16px; } .concl b { color: #fff; }
.flow3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; text-align: left; }
.flow3 div { padding: 18px 20px; border-radius: 16px; background: #1C1C1E; position: relative; }
.flow3 div:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: var(--orange-d); z-index: 1; }
.flow3 span { font: 600 13px var(--fd); color: var(--orange-d); } .flow3 b { display: block; color: #fff; margin: 6px 0 2px; } .flow3 p { font-size: 13.5px; color: var(--mute-d); }
@media (max-width: 860px) { .alert-grid, .flow3 { grid-template-columns: 1fr; } .flow3 div::after { display: none; } }
.twin { display: grid; grid-template-columns: 1.7fr 1fr; gap: 12px; text-align: left; }
.twin-img { position: relative; border-radius: 22px; overflow: hidden; min-height: 280px; }
.twin-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.5); }
.hot { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; background: rgba(0, 0, 0, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; }
.hot i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange-d); box-shadow: 0 0 0 4px rgba(251, 146, 60, .25); }
.tag-l { position: absolute; left: 14px; top: 14px; font: 600 12px var(--f); padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .65); color: #E5E5EA; }
.twin-cards { display: grid; gap: 12px; }
.twin-cards > div, .ev > div { padding: 18px 20px; border-radius: 18px; background: #1C1C1E; color: var(--text-d); }
.twin-cards small, .ev small { font: 600 12px var(--f); color: var(--mute-d); }
.ev small.a { color: #FFB340; } .ev small.r { color: #FF6961; }
.twin-cards b, .ev b { display: block; color: #fff; font-size: 18px; margin: 6px 0 2px; } .twin-cards em { font-style: normal; color: #30D158; font-size: 14px; }
.twin-cards p, .ev p { color: var(--mute-d); font-size: 14px; }
.twin-cards dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 10px 0 0; font-size: 14px; } .twin-cards dt { color: var(--mute-d); } .twin-cards dd { margin: 0; color: #fff; font-weight: 600; }
@media (max-width: 900px) { .twin { grid-template-columns: 1fr; } .hot { font-size: 11px; padding: 4px 9px 4px 6px; } }
.border-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; text-align: left; }
.perim { position: relative; border-radius: 22px; background: #0B0B0C; box-shadow: inset 0 0 0 1px #1F1F21; overflow: hidden; }
.perim svg { width: 100%; }
.perim .zone { fill: rgba(255, 255, 255, .04); } .perim .line { fill: none; stroke: #fff; stroke-opacity: .6; stroke-width: 2; stroke-dasharray: 10 6; animation: dash 6s linear infinite; }
.perim .pin circle { fill: #1C1C1E; stroke: #fff; stroke-width: 2; } .perim .pin text, .perim .kpp text { fill: #fff; font: 600 11px var(--f); text-anchor: middle; }
.perim .pin.a circle { stroke: #FFB340; } .perim .pin.r circle { stroke: #FF6961; }
.perim .kpp rect { fill: rgba(251, 146, 60, .16); stroke: #FB923C; }
.perim .cam circle { fill: #fff; } .perim .cam .pulse { fill: none; stroke: #fff; animation: ping 2.4s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes ping { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.8); } }
.perim .lbl { fill: var(--mute-d); font: 500 11px var(--f); }
.ev { display: grid; gap: 12px; }
.ev .cam-card img { border-radius: 12px; margin: 10px 0 6px; aspect-ratio: 16 / 8; object-fit: cover; width: 100%; filter: saturate(.55); }
@media (max-width: 900px) { .border-grid { grid-template-columns: 1fr; } }
.reg { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; align-items: stretch; text-align: left; }
.reg-map { position: relative; border-radius: 24px; background: linear-gradient(160deg, #241405, #120A03); padding: 22px 22px 40px; }
.reg-map svg { width: 100%; }
.reg-map .land { fill: #FF9F0A; fill-opacity: .16; stroke: #FFB340; stroke-width: 1.5; }
.reg-map .ct circle { fill: #FFD60A; } .reg-map .ct .halo { fill: none; stroke: #FFD60A; stroke-opacity: .5; animation: ping 3s infinite; transform-origin: center; transform-box: fill-box; }
.reg-map .ct:nth-child(3n) .halo { animation-delay: -1s; } .reg-map .ct:nth-child(3n+1) .halo { animation-delay: -2s; }
.reg-map text { fill: #FFF1DC; font: 600 12px var(--f); }
.reg-map .note-s { position: absolute; left: 22px; bottom: 14px; margin: 0; color: #B38A5C; text-align: left; }
.reg-lv { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reg-lv li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; gap: 0 14px; align-items: center; padding: 18px 20px; border-radius: 20px; background: var(--bg2); }
.reg-lv span { grid-row: span 2; font: 600 15px var(--fd); color: #B35C00; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #FFF1DC; }
.reg-lv b { font-size: 18px; } .reg-lv small { color: var(--mute); font-size: 14px; }
@media (max-width: 900px) { .reg { grid-template-columns: 1fr; } }
.sdash { display: grid; gap: 12px; text-align: left; }
.dk.light > div { background: var(--bg2); }
.dk.light span { color: var(--mute); display: block; margin-bottom: 6px; } .dk.light b { color: var(--ink); } .dk.light b small { font-size: 14px; color: var(--mute); font-weight: 500; letter-spacing: 0; }
.dk.light b.bl { color: #0A84FF; } .dk.light b.am { color: #E08A00; } .dk.light b.gr { color: #1DA851; }
.sgrid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 12px; }
.dp.light { background: var(--bg2); color: var(--ink); }
.dp.light h4 { color: var(--ink); } .dp.light p { color: var(--mute); font-size: 15px; } .dp.light hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; } .dp.light small { color: var(--mute); font-size: 13px; }
.dp.light .dev { display: block; font: 600 40px var(--fd); letter-spacing: -.03em; color: #E08A00; margin: 8px 0 4px; } .dp.light p b { color: var(--ink); }
.line-svg.light text { fill: var(--mute); } .line-svg.light .gr line { stroke: #E5E5EA; }
.line-svg .calc { fill: none; stroke: #FF9F0A; stroke-width: 2.6; } .line-svg .fact { fill: none; stroke: #0A84FF; stroke-width: 2.6; stroke-linejoin: round; }
.line-svg .summer { fill: none; stroke: #FF9F0A; stroke-width: 2.6; } .line-svg .winter { fill: none; stroke: #64D2FF; stroke-width: 2.6; }
.line-svg .clean { fill: rgba(48, 209, 88, .12); } .am-t { fill: #E08A00; color: #E08A00; font-weight: 600; }
.lg { display: flex; gap: 18px; font-size: 13.5px; margin-top: 8px; } .lg span::before { content: ""; display: inline-block; width: 14px; height: 3px; border-radius: 2px; background: currentColor; vertical-align: middle; margin-right: 8px; }
.lg .am { color: #E08A00; } .lg .bl { color: #0A84FF; }
@media (max-width: 900px) { .sgrid { grid-template-columns: 1fr; } }
.pass { padding: 24px; border-radius: 22px; background: var(--bg2); display: grid; gap: 14px; text-align: left; }
.pass > small { color: var(--mute); font-size: 14px; }
.pbar { display: grid; grid-template-columns: 70px 1fr 48px; gap: 12px; align-items: center; font-size: 14px; }
.pbar i { height: 22px; border-radius: 6px; background: linear-gradient(90deg, var(--c) var(--w), #E5E5EA var(--w)); }
.pbar b { text-align: right; font-variant-numeric: tabular-nums; }
.pk { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .pk b { display: block; font: 600 30px var(--fd); letter-spacing: -.02em; } .pk span { color: var(--mute); font-size: 13.5px; }
.pk b.gr { color: #1DA851; } .pk b.am { color: #E08A00; }
.sun-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; text-align: left; }
.sun-img { border-radius: 22px; overflow: hidden; } .sun-img img { width: 100%; height: 100%; object-fit: cover; }
.sun-grid .dp p { color: var(--mute-d); font-size: 15px; margin-top: 12px; } .sun-grid .dp .am-t { color: #FFB340; }
.sun-grid .lg .am { color: #FF9F0A; } .sun-grid .lg .bl { color: #64D2FF; }
@media (max-width: 900px) { .sun-grid { grid-template-columns: 1fr; } }
.auto { display: grid; gap: 12px; text-align: left; }
.auto figure { margin: 0; border-radius: 22px; overflow: hidden; background: var(--bg2); }
.auto figure img { width: 100%; } .auto figcaption { padding: 14px 18px; font-size: 14px; color: var(--mute); }
.auto2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auto2 figure img { aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 900px) { .auto2 { grid-template-columns: 1fr; } }
/* TNZ live demo inside the laptop */
.demo-frame { position: relative; max-width: 1080px; margin: 0 auto; }
.demo-fs { position: absolute; z-index: 5; right: 10%; top: 4.5%; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .94); color: #111; font: 600 13px var(--f); cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }
.demo-fs svg { width: 14px; height: 14px; }
.demo-frame:fullscreen { background: #000; padding: 0; max-width: none; }
.demo-frame:fullscreen .mac { height: 100%; } .demo-frame:fullscreen .mac .lid { height: 100%; padding: 0; border-radius: 0; box-shadow: none; } .demo-frame:fullscreen .mac .scr { aspect-ratio: auto; height: 100%; border-radius: 0; } .demo-frame:fullscreen .mac .base, .demo-frame:fullscreen .demo-fs, .demo-frame:fullscreen .mac .lid::before { display: none; }
@media (max-width: 700px) { .demo-fs { right: 6%; top: 6%; height: 28px; font-size: 12px; } }
/* international case hero picture */
.iart { position: relative; border-radius: var(--r); overflow: hidden; background: var(--c); }
.iart img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 700px) { .iart img { aspect-ratio: 4 / 3; } }

/* ---------- case tiles: name on the tile, description under it ---------- */
.case { grid-column: span 2; display: flex; flex-direction: column; min-width: 0; }
.case.half { grid-column: span 1; }
.case .tile { text-decoration: none; flex: none; }
.cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 40px; align-items: start; padding: 20px 8px 34px; }
.cap p { font-size: 17px; line-height: 1.5; color: var(--mute); max-width: 62ch; }
.cap p b { color: var(--ink); font-weight: 600; }
.cap-l { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: flex-end; }
.cap .lnk.ext::after { transform: rotate(-45deg) translate(-1px, 1px); }
.case.half .cap { grid-template-columns: 1fr; }
.case.half .cap-l { justify-content: flex-start; }
@media (max-width: 860px) { .case, .case.half { grid-column: span 2; } .cap { grid-template-columns: 1fr; padding-bottom: 28px; } .cap-l { justify-content: flex-start; } }
.vis .gov-img.soft { -webkit-mask-image: radial-gradient(70% 80% at 50% 45%, #000 50%, transparent 100%); mask-image: radial-gradient(70% 80% at 50% 45%, #000 50%, transparent 100%); }
.tile.half .devices .mac { width: 92%; } .tile.half .devices .iphone { width: 21%; right: -1%; }
.tile.half { height: clamp(560px, 50vw, 640px); min-height: 0; }
.tile.half .vis { overflow: hidden; }
.tile.half .vis .gov-img { width: auto; max-width: 100%; max-height: 100%; }
.tile.half .vis .gov-img.wide { width: 118%; max-width: none; max-height: none; }
@media (max-width: 860px) { .tile.half { height: auto; min-height: 560px; } }
@media (max-width: 560px) { .tile.half { min-height: 480px; } }
.t-photo .vis { min-height: 240px; }
@media (max-width: 560px) { .t-photo { min-height: 460px; } }

/* international case hero */
.t-biz { background: var(--c); color: #fff; }
.t-biz.light { color: #1a1400; }
.t-biz .eyebrow { opacity: .85; }
.chero.t-biz .iart { border-radius: var(--r); background: transparent; }
.chero.t-biz .iart img { -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(70% 80% at 50% 50%, #000 60%, transparent 100%); }

/* officer (defense case hero) */
.officer { position: relative; margin: 0 auto; max-width: 1100px; }
.officer img { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent); }
.officer figcaption { position: absolute; left: 6%; bottom: 16%; max-width: 15ch; text-align: left; font: 600 clamp(18px, 2.4vw, 30px)/1.2 var(--fd); letter-spacing: -.02em; color: #fff; }
.chero.t-graphite { background: #000; }

/* steps strip: running bar and active step */
.how-box { position: relative; }
.how-bar { position: absolute; z-index: 2; left: 26px; right: calc(250px + 32px); bottom: 5px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.how-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width .9s var(--ease); }
.how-box .st { transition: background-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); }
.how-box .st b { transition: background-color .4s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.how-box .st.on { background: #fff; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }
.how-box .st.on b { background: var(--orange); transform: scale(1.12); }
.how-box .st.on + .st::before, .how-box .st.on::before { opacity: 0; }
@media (max-width: 1080px) { .how-bar { right: 30px; } }

/* ---------- motion ---------- */
/* tiles assemble: scale up from a smaller rounded card as they enter the screen */
.js [data-tile] { transform: scale(.92); opacity: .001; border-radius: 48px; transition: transform 1.1s var(--ease), opacity .8s var(--ease), border-radius 1.1s var(--ease); }
.js [data-tile].in { transform: none; opacity: 1; border-radius: var(--r); }
/* devices: the laptop lid opens, the phones slide into place */
.js [data-assemble] .mac .lid { transform-origin: 50% 100%; transform: perspective(1600px) rotateX(-72deg); transition: transform 1.5s cubic-bezier(.2, .8, .2, 1) .15s; }
.js [data-assemble] .mac .scr > * { opacity: 0; transition: opacity .8s ease .9s; }
.js [data-assemble] .iphone { opacity: 0; transition: opacity .9s var(--ease) .55s, translate 1.2s cubic-bezier(.2, .8, .2, 1) .55s; translate: 0 90px; }
.js [data-assemble] .iphone.l { translate: -70px 60px; } .js [data-assemble] .iphone.r { translate: 70px 60px; }
.js .phones[data-assemble] .iphone:nth-child(1) { translate: 60px 80px; transition-delay: .35s; }
.js .phones[data-assemble] .iphone:nth-child(2) { translate: 0 120px; transition-delay: .15s; }
.js .phones[data-assemble] .iphone:nth-child(3) { translate: -60px 80px; transition-delay: .5s; }
.js [data-assemble].in .mac .lid { transform: perspective(1600px) rotateX(0); }
.js [data-assemble].in .mac .scr > * { opacity: 1; }
.js [data-assemble].in .iphone { opacity: 1; translate: 0 0; }
/* staggered groups */
.js [data-stagger] > .rv { transition-delay: calc(var(--i, 0) * 90ms); }
/* business tiles: picture zooms out into place */
.js .bz.rv .pic img { transform: scale(1.35); }
.js .bz.rv.in .pic img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.js .bz.w3.rv.in .pic img { transform: scale(1.02); }
.js .bz.rv.in:hover .pic img { transform: scale(1.14); } .js .bz.w3.rv.in:hover .pic img { transform: scale(1.07); }
/* headline: words rise one after another */
.js [data-words] .w { display: inline-block; opacity: 0; transform: translateY(.4em); filter: blur(6px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js [data-words].in .w { opacity: 1; transform: none; filter: none; }
.js [data-words].rv { opacity: 1; transform: none; }
/* close buttons: swing like a sign on a nail, spin on hover */
.x svg { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.x:hover svg { transform: rotate(90deg); }
[open] .x, .ai-open .ai-head .x { animation: nail 1.1s cubic-bezier(.36, .07, .19, .97) .15s both; transform-origin: 50% 0; }
@keyframes nail { 0% { transform: rotate(0); } 20% { transform: rotate(-26deg); } 40% { transform: rotate(18deg); } 60% { transform: rotate(-10deg); } 80% { transform: rotate(5deg); } 100% { transform: rotate(0); } }
/* buttons: a soft light sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn.light::after, .btn.ghost::after { background: linear-gradient(110deg, transparent 30%, rgba(0, 0, 0, .06) 50%, transparent 70%); }
@media (prefers-reduced-motion: reduce) {
  .js [data-tile], .js [data-assemble] .mac .lid, .js [data-assemble] .iphone, .js [data-assemble] .mac .scr > *, .js [data-words] .w { transform: none !important; translate: none !important; opacity: 1 !important; filter: none !important; transition: none !important; }
  [open] .x, .ai-open .ai-head .x { animation: none; }
}

/* hero laptop: only the GANBOR logo animation */
.reel { position: absolute; inset: 0; background: #09111E; overflow: hidden; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .phones { max-width: 980px; } .tile .phones .iphone { max-width: 330px; }
/* City AI — in colour (the defence case stays black and white) */
.t-city { background: radial-gradient(70% 55% at 50% 78%, rgba(124, 92, 255, .34) 0%, rgba(124, 92, 255, 0) 70%), radial-gradient(50% 40% at 50% 40%, rgba(59, 130, 246, .22) 0%, rgba(59, 130, 246, 0) 70%), #05050C; color: var(--text-d); }
.t-city .eyebrow { background: linear-gradient(90deg, #60A5FA, #A78BFA, #FB923C); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 1; }
.t-city .lnk { color: var(--blue-d); }
.t-city .btn.ghost { --c: #fff; }
.t-city .vis .gov-img { -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.chero.t-city .flow { background: rgba(10, 10, 24, .7); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .2); }
/* hero: sports watch on the right of the laptop */
.hero-devices .watch { position: absolute; right: 2%; bottom: 0; width: 18%; z-index: 3; transform: rotate(8deg); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)) drop-shadow(0 10px 12px rgba(0, 0, 0, .25)); }
.hero-devices .watch svg { width: 100%; height: auto; overflow: visible; }
.js [data-assemble] .watch { opacity: 0; translate: 80px 70px; transition: opacity .9s var(--ease) .75s, translate 1.3s cubic-bezier(.2, .8, .2, 1) .75s; }
.js [data-assemble].in .watch { opacity: 1; translate: 0 0; }
.watch .w-arc { stroke-dashoffset: 338; transition: stroke-dashoffset 2.2s cubic-bezier(.3, .7, .2, 1) 1.6s; }
.js [data-assemble].in .watch .w-arc, html:not(.js) .watch .w-arc { stroke-dashoffset: 0; }
@media (max-width: 640px) { .hero-devices .watch { width: 23%; right: -2%; bottom: -6%; } }
@media (prefers-reduced-motion: reduce) { .js [data-assemble] .watch { opacity: 1; translate: none; transition: none; } .watch .w-arc { stroke-dashoffset: 0; transition: none; } }
/* light gov tile (mayor's dashboard) */
.t-light { background: var(--bg2); color: var(--ink); }
.t-light .eyebrow { color: var(--orange); opacity: 1; }
.chero.t-light { background: var(--bg2); }
/* solar: rooftop panel turning on its pivot + phone with the station's numbers */
.solar-vis { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; max-width: 820px; margin: 0 auto; }
.turn { position: relative; width: min(430px, 56%); aspect-ratio: 550 / 678; border-radius: 26px; overflow: hidden; background: #2A1A0C; margin-bottom: 44px; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8); }
.turn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.turn img.on { opacity: 1; }
.turn .lbl { position: absolute; left: 14px; bottom: 14px; right: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 14px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 13.5px; width: max-content; max-width: calc(100% - 28px); }
.turn .lbl i { width: 8px; height: 8px; border-radius: 50%; background: #FFB547; box-shadow: 0 0 0 4px rgba(255, 181, 71, .25); flex: none; }
.solar-vis .iphone { width: min(250px, 31%); margin-left: -7%; margin-bottom: -9%; z-index: 2; transform: rotate(4deg); }
.chero .solar-vis { margin-bottom: 0; }
.chero .solar-vis .iphone { margin-bottom: -6%; }
@media (max-width: 560px) { .turn { width: 60%; margin-bottom: 30px; } .solar-vis .iphone { width: 38%; } }
/* video poster → YouTube player on click */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; cursor: pointer; max-width: 1060px; margin: 0 auto; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: blur(1px) saturate(.8); transition: opacity .5s, transform 1.2s var(--ease); }
.yt:hover img { opacity: .55; transform: scale(1.02); }
.yt button { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 0; background: #fff; color: #111; display: grid; place-items: center; cursor: pointer; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.yt button svg { width: 34px; height: 34px; margin-left: 5px; }
.yt:hover button { transform: scale(1.08); }
.yt button::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: ping 2.4s infinite; }
.yt .cap { position: absolute; left: 28px; bottom: 24px; right: 28px; color: #fff; font-size: 15px; opacity: .9; }
.yt .cap b { display: block; font: 600 clamp(20px, 2.4vw, 28px) var(--fd); letter-spacing: -.02em; margin-bottom: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) { .yt { aspect-ratio: 4 / 3; } .yt button { width: 72px; height: 72px; margin: -36px 0 0 -36px; } .yt .cap { left: 18px; bottom: 16px; font-size: 13px; } }

/* ---------- language switcher ---------- */
.lsw { position: relative; flex: none; }
.lsw-b { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 11px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 13px var(--f); cursor: pointer; transition: background-color .2s; }
.lsw-b:hover, .lsw.open .lsw-b { background: rgba(0, 0, 0, .06); }
.lsw-b svg { width: 17px; height: 17px; }
.lsw-m { position: absolute; top: calc(100% + 10px); right: 0; z-index: 80; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; width: 460px; max-width: calc(100vw - 24px); padding: 10px; border-radius: 20px; background: #fff; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .06); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .25s var(--ease), transform .3s var(--ease); }
.lsw.open .lsw-m { opacity: 1; transform: none; pointer-events: auto; }
.lsw-m a { display: block; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-size: 14.5px; color: var(--ink); transition: background-color .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsw-m a:hover { background: var(--bg2); }
.lsw-m a[aria-current] { background: var(--ink); color: #fff; }
@media (max-width: 920px) { .lsw { margin-left: auto; } .burger { margin-left: 4px; } .lsw-m { position: fixed; top: 64px; right: 12px; left: 12px; width: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: calc(100dvh - 80px); overflow: auto; } }
[dir=rtl] .lsw-m { right: auto; left: 0; transform-origin: top left; }
@media (max-width: 920px) { [dir=rtl] .lsw { margin-left: 0; margin-right: auto; } [dir=rtl] .lsw-m { left: 12px; right: 12px; } }

/* ---------- right-to-left languages (Arabic, Dari, Pashto) ---------- */
[dir=rtl] .nav { margin-left: 0; margin-right: auto; }
[dir=rtl] .txt li { padding-left: 0; padding-right: 24px; }
[dir=rtl] .txt li::before { left: auto; right: 2px; }
[dir=rtl] .lnk::after { transform: rotate(-135deg); margin-left: 0; margin-right: 5px; }
[dir=rtl] .cap-l { justify-content: flex-start; }
[dir=rtl] .bz .arr { right: auto; left: 18px; }
[dir=rtl] .bz.w3 .bz-t { padding: 36px 34px 32px 8px; }
[dir=rtl] .bz.w3 .pic img { -webkit-mask-image: linear-gradient(270deg, transparent, #000 18%); mask-image: linear-gradient(270deg, transparent, #000 18%); }
[dir=rtl] .btn svg, [dir=rtl] .links svg { transform: scaleX(-1); }
[dir=rtl] .how-box .go { margin-left: 0; margin-right: 6px; }
[dir=rtl] .ai-msgs .m.bot { border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
[dir=rtl] .ai-msgs .m.me { border-bottom-right-radius: 18px; border-bottom-left-radius: 6px; }
[dir=rtl] .meta div, [dir=rtl] .flow, [dir=rtl] .advice, [dir=rtl] .dirs, [dir=rtl] .dash, [dir=rtl] .ai-say { text-align: right; }
[dir=rtl] .phones, [dir=rtl] .devices, [dir=rtl] .hero-devices, [dir=rtl] .solar-vis, [dir=rtl] .mac, [dir=rtl] .iphone, [dir=rtl] .watch, [dir=rtl] .reel { direction: ltr; }
[dir=rtl] .flow-out li { box-shadow: inset -3px 0 0 var(--acc); }
[lang^=zh] h1, [lang^=zh] h2, [lang^=zh] h3, [lang=ka] h1, [lang=ka] h2 { letter-spacing: 0; }
[lang=ka] .hero h1, [lang=ka] .chero h1 { font-size: clamp(30px, 4.4vw, 58px); }
/* scripts that need more vertical room / no negative tracking */
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3, [dir=rtl] h4 { letter-spacing: 0; line-height: 1.32; }
[dir=rtl] .hero h1, [dir=rtl] .chero h1 { letter-spacing: 0; line-height: 1.3; }
:lang(ka) h1, :lang(ka) h2, :lang(ka) h3 { letter-spacing: -.005em; line-height: 1.2; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; line-height: 1.22; }
