/* ==========================================================================
   Cloudwise — site styles
   Palette: deep navy base, Cloudwise blue for action, cyan used sparingly for light.
   Signature motif: the "inline rail" — a double stroke echoing the CW logo's inline
   letterforms — used for connections in the hero and the engagement model.
   ========================================================================== */
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 200 800; 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; }

:root {
  --navy-900: #061B33;
  --navy-800: #082F52;
  --navy-700: #0D3B66;
  --navy-950: #03111F;
  --blue: #007BFF;
  --blue-600: #0066D6;
  --cyan: #00C2FF;
  --white: #FFFFFF;
  --mist: #EAF1F9;
  --mist-2: #DCE7F3;
  --ink: #0A2340;
  --ink-2: #3B5573;
  --slate: #A9BCD3;
  --slate-2: #7F97B4;
  --line-d: rgba(169, 188, 211, .16);
  --line-l: #C9D7E7;
  --glass: rgba(13, 59, 102, .42);
  --ok: #2ECC8F; --warn: #F5B841; --err: #FF6B6B;
  --font: 'Aptos Display', 'Aptos', 'Manrope', 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r-s: 8px; --r-m: 14px; --r-l: 22px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --hdr: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
html.lock, html.lock body { overflow: hidden; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--slate);
  background: var(--navy-900); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-feature-settings: 'ss01' on;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--white); line-height: 1.12; letter-spacing: -.022em; margin: 0 0 .5em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.8rem); letter-spacing: -.03em; }
h3, .h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
.h4 { font-size: 1.1rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
small { font-size: .82em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-s); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right)); }
.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; margin-inline: auto; }
.center p { margin-inline: auto; }
.fine { font-size: .9rem; color: var(--slate-2); }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--slate); }
.big { font-size: 1.18rem; line-height: 1.6; color: inherit; }
.eyebrow { color: var(--cyan); font-weight: 650; font-size: .98rem; letter-spacing: .01em; margin-bottom: .9rem; }
.minihead { font-weight: 700; color: var(--white); font-size: .95rem; margin: 1.4rem 0 .6rem; }
.with-ic { display: flex; gap: .6rem; align-items: flex-start; }
.with-ic .ic { flex: none; margin-top: .25em; color: var(--cyan); }
code { font-size: .9em; background: rgba(255,255,255,.08); padding: .1em .35em; border-radius: 5px; }

/* ---------- logo (shown exactly as supplied, on its own black ground) ---------- */
.logo-tile { background: #000; border-radius: 10px; height: 48px; width: auto; aspect-ratio: 1036 / 676; object-fit: contain; }
.logo-md { height: 80px; border-radius: 14px; }
.logo-lg { height: 120px; border-radius: 18px; margin-bottom: 1.5rem; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--white); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.25rem;
  border-radius: 999px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .98rem; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn .ic { transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }
.btn-primary { --bg: var(--blue); --bd: var(--blue); box-shadow: 0 6px 22px -10px rgba(0, 123, 255, .8); }
.btn-primary:hover { --bg: #1A8AFF; --bd: #1A8AFF; }
.btn-outline-light { --bd: rgba(255,255,255,.5); }
.btn-outline-light:hover { --bd: var(--white); --bg: rgba(255,255,255,.06); }
.btn-outline { --bd: currentColor; --fg: inherit; }
.btn-outline:hover { --bg: rgba(127,151,180,.12); }
.btn-ghost { --fg: inherit; --bg: rgba(127,151,180,.12); }
.btn-ghost:hover { --bg: rgba(127,151,180,.22); }
.btn-link { --fg: var(--cyan); padding-inline: 0; min-height: 40px; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .92rem; }
.btn-lg { min-height: 52px; padding: .85rem 1.5rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.75rem; }
.btn-stack { display: grid; gap: .6rem; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: calc(var(--hdr) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top);
  background: rgba(6, 27, 51, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-d);
}
.header-inner { height: var(--hdr); display: flex; align-items: center; gap: 1.5rem; }
.brand { flex: none; border-radius: 10px; }
.mainnav { margin-inline: auto; }
.mainnav > ul { display: flex; gap: .15rem; }
.mainnav a, .dd-btn {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .4rem .8rem; border-radius: 999px;
  color: #D6E2F0; text-decoration: none; font-weight: 600; font-size: .95rem; background: none; border: 0; cursor: pointer;
}
.mainnav a:hover, .dd-btn:hover, .dd-btn[aria-expanded="true"] { color: var(--white); background: rgba(255,255,255,.06); }
.mainnav a[aria-current="page"], .dd-btn.is-active { color: var(--white); box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 0; }
.dd-btn svg { transition: transform .2s; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd { position: relative; }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(460px, 90vw);
  background: #0A2948; border: 1px solid var(--line-d); border-radius: var(--r-l); padding: .75rem;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); animation: ddIn .18s var(--ease);
}
.dd-wide { width: min(860px, 92vw); left: 0; transform: translateX(-35%); }
@keyframes ddIn { from { opacity: 0; translate: 0 -6px; } }
.dd-list a { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem .75rem; border-radius: var(--r-m); white-space: normal; min-height: 0; }
.dd-list b { display: block; color: var(--white); font-weight: 700; }
.dd-list small { display: block; color: var(--slate-2); font-weight: 500; font-size: .84rem; line-height: 1.4; margin-top: .15rem; }
.dd-ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(0,123,255,.16); color: var(--cyan); }
.dd-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem 1rem; padding: .5rem; }
.dd-cols a { padding: .3rem .4rem; min-height: 36px; border-radius: 8px; font-size: .92rem; white-space: normal; }
.dd-group { font-size: .8rem; font-weight: 700; color: var(--cyan); margin: 0 0 .3rem .4rem; }
.dd-all { display: flex !important; justify-content: space-between; margin-top: .5rem; padding: .8rem 1rem !important; border-top: 1px solid var(--line-d); border-radius: 0 0 var(--r-m) var(--r-m) !important; color: var(--white) !important; font-weight: 700 !important; }
.header-actions { display: flex; gap: .5rem; flex: none; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-d); background: rgba(255,255,255,.04); color: var(--white); place-items: center; cursor: pointer; }

@media (max-width: 1079px) {
  .mainnav, .header-actions { display: none; }
  .burger { display: grid; }
}

/* mobile menu */
.mnav { position: fixed; inset: 0; z-index: 100; background: var(--navy-950); display: flex; flex-direction: column; opacity: 0; transition: opacity .2s; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.mnav.show { opacity: 1; }
.mnav-head { display: flex; justify-content: space-between; align-items: center; height: var(--hdr); padding-inline: var(--gut); border-bottom: 1px solid var(--line-d); flex: none; }
.mnav-close { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-d); background: none; color: var(--white); display: grid; place-items: center; cursor: pointer; }
.mnav-body { overflow-y: auto; overscroll-behavior: contain; padding: 1rem var(--gut) 2rem; flex: 1; }
.mnav-list > li { border-bottom: 1px solid var(--line-d); }
.mnav-list > li > a, .macc { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 56px; font-size: 1.2rem; font-weight: 700; color: var(--white); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.macc .ic { transition: transform .2s; }
.macc[aria-expanded="true"] .ic { transform: rotate(180deg); }
.macc-panel { padding: 0 0 1rem .25rem; }
.macc-panel a { display: flex; align-items: center; gap: .4rem; min-height: 44px; color: #D6E2F0; text-decoration: none; }
.macc-panel .dd-group { margin: .9rem 0 .2rem; }
.macc-panel .strong { color: var(--cyan); font-weight: 700; }
.mnav-ctas { display: grid; gap: .7rem; margin-top: 1.5rem; }

/* network banner */
.net { position: sticky; top: 0; z-index: 70; display: flex; gap: .6rem; align-items: center; justify-content: center; padding: .55rem var(--gut); font-size: .9rem; font-weight: 600; text-align: center; }
.net.off { background: #3A2A06; color: #FFE1A3; }
.net.ok { background: #073A2A; color: #B6F5DA; }

/* ---------- sections ---------- */
main { display: block; min-height: 60vh; }
main:focus { outline: none; }
.sec { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); position: relative; }
.sec-tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.sec-dark { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); }
.sec-light { background: var(--mist); color: var(--ink-2); color-scheme: light; }
.sec-light h1, .sec-light h2, .sec-light h3, .sec-light h4, .sec-light .minihead { color: var(--ink); }
.sec-light .fine { color: #546E8C; }
.sec-light .btn-link { --fg: var(--blue-600); }
.sec-light .btn-ghost { --fg: var(--ink); }
.sec-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); max-width: 760px; }
.sec-head p { font-size: 1.12rem; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; }
.split-top { align-items: start; margin-top: 3.5rem; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* consecutive dark bands don't need double spacing */
.sec-dark + .sec:not(.sec-light):not(.sec-dark), .sec:not(.sec-light):not(.sec-dark) + .sec-dark { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.sec-dark:has(+ .sec:not(.sec-light):not(.sec-dark)) { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.pgrid + .sr-only + .fine, .browse > .fine { margin-top: 1.25rem; }

/* reveal — content stays visible without JS */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 clamp(3rem, 2rem + 4vw, 6rem); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.g1 { width: 46vw; height: 46vw; right: -10vw; top: -14vw; background: radial-gradient(circle, rgba(0,123,255,.55), transparent 65%); }
.g2 { width: 32vw; height: 32vw; left: -12vw; bottom: -16vw; background: radial-gradient(circle, rgba(0,194,255,.28), transparent 65%); }
.grid-fade { position: absolute; inset: 0; background-image: linear-gradient(rgba(169,188,211,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(169,188,211,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 3.9vw, 4.35rem); line-height: 1.04; margin-bottom: 1.4rem; }
.hero h1 .hl { display: block; }
.hero .lead { max-width: 34rem; }
.hero-hint { margin-top: 1.25rem; font-size: .9rem; color: var(--slate-2); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-hint { display: none; } }

.hero-stage-wrap { position: relative; }
.hero-stage {
  --rx: 0deg; --ry: 0deg;
  position: relative; width: 100%; max-width: 620px; margin-inline: auto; aspect-ratio: 600 / 520;
  perspective: 1100px; transform-style: preserve-3d;
}
.hero-stage > * { transform-style: preserve-3d; }
.hero-stage.ready { transition: none; }
.hero-links, .core, .node, .hpanel { transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease); }
.hero-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-links path { fill: none; stroke-linecap: round; }
.hero-links .rail { stroke: rgba(0,123,255,.38); stroke-width: 7; }
.hero-links .inl { stroke: var(--navy-900); stroke-width: 2.4; }
.hero-links .flow { stroke: var(--cyan); stroke-width: 2.4; stroke-dasharray: 10 120; animation: flow 4.5s linear infinite; opacity: .9; }
.hero-links .ring { fill: none; stroke: rgba(169,188,211,.13); stroke-width: 1; stroke-dasharray: 2 8; }
.hero-links .ring2 { stroke: rgba(169,188,211,.08); }
@keyframes flow { from { stroke-dashoffset: 130; } to { stroke-dashoffset: 0; } }

.core { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center; text-align: center; }
.core-orb { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4DB7FF 0%, var(--blue) 38%, #003C8F 75%, #022552 100%); box-shadow: 0 0 0 6px rgba(0,123,255,.14), 0 0 0 16px rgba(0,123,255,.06), 0 20px 60px -10px rgba(0,123,255,.7), inset 0 -10px 24px rgba(0,0,0,.35); animation: breathe 6s ease-in-out infinite; }
.core span { position: relative; color: var(--white); font-weight: 750; font-size: clamp(.62rem, .5rem + .4vw, .82rem); line-height: 1.2; }
@keyframes breathe { 50% { box-shadow: 0 0 0 9px rgba(0,123,255,.18), 0 0 0 22px rgba(0,123,255,.05), 0 20px 70px -8px rgba(0,194,255,.6), inset 0 -10px 24px rgba(0,0,0,.35); } }

.node { position: absolute; translate: -50% -50%; display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .7rem .32rem .55rem; border-radius: 999px; background: var(--navy-900); border: 1.5px solid rgba(0,194,255,.45); color: var(--white); font-size: clamp(.66rem, .55rem + .35vw, .82rem); font-weight: 700; white-space: nowrap; }
.node .ic { color: var(--cyan); }
.n1 { left: 31%; top: 37%; } .n2 { left: 69%; top: 37%; } .n3 { left: 31%; top: 63%; } .n4 { left: 69%; top: 63%; }

.hpanel {
  position: absolute; translate: -50% -50%; width: 29%; display: grid; grid-template-columns: auto 1fr; gap: .3rem .5rem; align-items: center;
  padding: .7rem .75rem .6rem; text-align: left; cursor: pointer; color: var(--white);
  background: linear-gradient(160deg, rgba(20,72,122,.72), rgba(8,47,82,.7)); border: 1px solid rgba(169,188,211,.22); border-radius: 14px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.8);
  animation: float 7s ease-in-out infinite; animation-delay: var(--fd, 0s);
}
.hpanel:hover, .hpanel.active { border-color: var(--cyan); background: linear-gradient(160deg, rgba(0,123,255,.55), rgba(8,47,82,.85)); }
.hpanel.active { box-shadow: 0 0 0 3px rgba(0,194,255,.25), 0 22px 44px -16px rgba(0,0,0,.9); }
.hpanel-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(0,194,255,.16); color: var(--cyan); }
.hpanel-name { font-weight: 750; font-size: clamp(.72rem, .6rem + .4vw, .92rem); }
.hpanel-sk { grid-column: 1 / -1; display: grid; gap: 4px; margin-top: .25rem; }
.hpanel-sk i { height: 5px; border-radius: 3px; background: rgba(169,188,211,.22); }
.hpanel-sk i:nth-child(2) { width: 78%; } .hpanel-sk i:nth-child(3) { width: 52%; background: rgba(0,194,255,.35); }
.hpanel-tag { grid-column: 1 / -1; font-size: .62rem; font-weight: 600; color: var(--slate-2); }
.hp1 { left: 16%; top: 21%; --z: 60px; --fd: -1s; } .hp2 { left: 84%; top: 21%; --z: 30px; --fd: -3s; }
.hp3 { left: 16%; top: 79%; --z: 40px; --fd: -5s; } .hp4 { left: 84%; top: 79%; --z: 70px; --fd: -2s; }
.hp5 { left: 50%; top: 7%; --z: 20px; --fd: -4s; } .hp6 { left: 50%; top: 93%; --z: 50px; --fd: -6s; }
.hpanel { transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--z)); }
@keyframes float { 50% { translate: -50% calc(-50% - 7px); } }
.hero-stage.paused *, .hero-stage.paused *::before { animation-play-state: paused !important; }

.hero-detail { min-height: 84px; margin-top: .75rem; display: grid; align-items: center; }
.hd-empty { text-align: center; color: var(--slate-2); font-size: .95rem; margin: 0 auto; }
.hd-card { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: .9rem 1rem; border-radius: var(--r-m); background: var(--glass); border: 1px solid rgba(0,194,255,.35); animation: ddIn .25s var(--ease); }
.hd-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,123,255,.25); color: var(--cyan); }
.hd-name { margin: 0; font-weight: 750; color: var(--white); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.hd-hook { margin: 0; font-size: .95rem; }
@media (max-width: 560px) {
  .hpanel { width: 30%; padding: .45rem .5rem; gap: .2rem .35rem; border-radius: 10px; }
  .hpanel-sk, .hpanel-tag { display: none; }
  .hpanel-ic { width: 22px; height: 22px; border-radius: 6px; }
  .hpanel-ic .ic { width: 14px; height: 14px; }
  .node .ic { display: none; }
  .hd-card { grid-template-columns: auto 1fr; }
  .hd-card .btn { grid-column: 1 / -1; }
  .hero-stage-wrap::after { content: attr(data-hint); display: block; text-align: center; font-size: .8rem; color: var(--slate-2); margin-top: .5rem; }
}
@media (max-width: 720px) { .hero-links .flow { animation-duration: 7s; } .hpanel { backdrop-filter: none; -webkit-backdrop-filter: none; } }
.lite .hpanel { animation: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.lite .core-orb { animation: none; }
.lite .glow { filter: blur(40px); }

/* ---------- section 2: converge ---------- */
.converge { position: relative; aspect-ratio: 5 / 4; max-width: 520px; width: 100%; margin-inline: auto; }
.converge-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 40%; aspect-ratio: 1.3; border-radius: 22px; background: var(--white); border: 1px solid var(--line-l); box-shadow: 0 30px 60px -30px rgba(10,35,64,.35); display: grid; place-items: center; text-align: center; padding: 1rem; }
.converge-core::before { content: ''; position: absolute; inset: 10px; border: 2px solid var(--blue); border-radius: 14px; opacity: .9; }
.converge-core::after { content: ''; position: absolute; inset: 15px; border: 1.5px solid rgba(0,123,255,.25); border-radius: 10px; }
.converge-core span { font-weight: 750; color: var(--ink); font-size: 1.05rem; }
.chip-float { position: absolute; padding: .45rem .85rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line-l); color: var(--ink); font-weight: 650; font-size: .9rem; box-shadow: 0 10px 22px -16px rgba(10,35,64,.5); white-space: nowrap; transition: left 1.1s var(--ease), top 1.1s var(--ease), opacity .8s; translate: -50% -50%; }
.cf1 { left: 14%; top: 10%; } .cf2 { left: 82%; top: 8%; } .cf3 { left: 92%; top: 52%; } .cf4 { left: 78%; top: 92%; } .cf5 { left: 18%; top: 90%; } .cf6 { left: 9%; top: 50%; }
.converge.in .cf1 { left: 24%; top: 17%; } .converge.in .cf2 { left: 76%; top: 17%; } .converge.in .cf3 { left: 84%; top: 50%; }
.converge.in .cf4 { left: 76%; top: 83%; } .converge.in .cf5 { left: 24%; top: 83%; } .converge.in .cf6 { left: 16%; top: 50%; }
.js .converge.reveal { transform: none; }
@media (max-width: 480px) { .chip-float { font-size: .78rem; padding: .35rem .65rem; } }

/* ---------- strengths ---------- */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-d); }
.strength { padding: 2rem 2rem 2rem 0; border-right: 1px solid var(--line-d); }
.strength + .strength { padding-left: 2rem; }
.strength:last-child { border-right: 0; }
.strength-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(0,123,255,.16); color: var(--cyan); margin-bottom: 1.25rem; }
.strengths + .fine { margin-top: 1.5rem; }
@media (max-width: 860px) {
  .strengths { grid-template-columns: 1fr; }
  .strength, .strength + .strength { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line-d); display: grid; grid-template-columns: 52px 1fr; column-gap: 1rem; }
  .strength-ic { grid-row: span 2; margin: 0; }
}

/* ---------- solution tabs ---------- */
.soltabs { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; padding: 1.25rem; border-radius: var(--r-l); background: rgba(8,47,82,.55); border: 1px solid var(--line-d); }
.soltabs-list { display: grid; gap: .25rem; align-content: start; }
.soltabs-list button { display: flex; gap: .7rem; align-items: center; text-align: left; min-height: 52px; padding: .6rem .9rem; border-radius: 12px; border: 0; background: none; color: #C9D7E7; font-weight: 650; cursor: pointer; }
.soltabs-list button .ic { color: var(--slate-2); flex: none; }
.soltabs-list button:hover { background: rgba(255,255,255,.05); }
.soltabs-list button[aria-selected="true"] { background: var(--blue); color: var(--white); }
.soltabs-list button[aria-selected="true"] .ic { color: var(--white); }
.soltabs-panel { padding: 1rem 1rem 1rem .5rem; animation: ddIn .25s var(--ease); }
.soltabs-panel:focus-visible { outline-offset: -3px; }
@media (max-width: 860px) {
  .soltabs { grid-template-columns: 1fr; padding: .75rem; gap: 1rem; }
  .soltabs-list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; }
  .soltabs-list::-webkit-scrollbar { display: none; }
  .soltabs-panel { padding: .5rem; }
}
.tagrow { display: flex; flex-wrap: wrap; gap: .5rem; }
.tagrow a { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--line-d); text-decoration: none; color: var(--white); font-weight: 600; font-size: .93rem; background: rgba(255,255,255,.03); transition: border-color .2s, background .2s; }
.tagrow a:hover { border-color: var(--cyan); background: rgba(0,194,255,.08); }
.tagrow a .ic { color: var(--cyan); }
.tagrow small { color: var(--slate-2); font-weight: 600; }
.sec-light .tagrow a { color: var(--ink); border-color: var(--line-l); background: var(--white); }
.sec-light .tagrow a .ic { color: var(--blue); }
.tagrow-lg a { min-height: 46px; padding-inline: 1.1rem; }

/* ---------- product browsing ---------- */
.browse { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.browse-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.browse-head h2, .browse-head h3 { margin: 0; }
.filters { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.fchip { min-height: 42px; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line-d); background: transparent; color: #D6E2F0; font-weight: 650; font-size: .92rem; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.fchip:hover { border-color: var(--slate-2); }
.fchip[aria-pressed="true"] { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.browse-tools { margin-bottom: 1rem; }
.search { display: flex; align-items: center; gap: .6rem; max-width: 480px; min-height: 52px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-d); background: rgba(255,255,255,.04); color: var(--slate-2); }
.search:focus-within { border-color: var(--cyan); }
.search input { flex: 1; background: none; border: 0; outline: none; min-height: 50px; color: var(--white); font-size: 1rem; }
.search input::placeholder { color: var(--slate-2); }
.count { font-size: .92rem; color: var(--slate-2); margin-bottom: 1rem; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.pgrid-2 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem 1.3rem 1.1rem; border-radius: var(--r-m); background: linear-gradient(170deg, rgba(13,59,102,.55), rgba(8,47,82,.35)); border: 1px solid var(--line-d); transition: border-color .2s, transform .25s var(--ease), background .2s; }
.pcard:hover, .pcard:focus-within { border-color: rgba(0,194,255,.6); transform: translateY(-2px); }
.pcard:focus-within { outline: 3px solid var(--cyan); outline-offset: 2px; }
.pcard-top { display: flex; justify-content: space-between; align-items: center; }
.pcard-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,123,255,.18); color: var(--cyan); }
.pcard-name { font-size: 1.2rem; margin: .4rem 0 0; }
.pcard-name a { text-decoration: none; }
.pcard-name a:focus-visible { outline: none; }
.stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.pcard-hook { color: #D6E2F0; margin: 0; font-weight: 550; }
.pcard-aud { font-size: .9rem; color: var(--slate-2); margin: 0; }
.pcard-foot { margin-top: auto; padding-top: .9rem; display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--slate-2); }
.pcard-go { color: var(--cyan); transition: transform .2s var(--ease); }
.pcard:hover .pcard-go { transform: translateX(3px); }
.sec-light .pcard { background: var(--white); border-color: var(--line-l); }
.sec-light .pcard-name, .sec-light .pcard-name a { color: var(--ink); }
.sec-light .pcard-hook { color: var(--ink-2); }
.sec-light .pcard-ic { background: #E1EEFF; color: var(--blue-600); }
.sec-light .pcard-go { color: var(--blue-600); }
.sec-light .pcard:hover { border-color: var(--blue); }

/* status badges */
.badge { display: inline-flex; align-items: center; padding: .2rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 700; line-height: 1.3; border: 1px solid; white-space: nowrap; }
.badge-xs { font-size: .66rem; padding: .05rem .45rem; margin-left: .25rem; }
.badge-proposed { color: #FFD48A; border-color: rgba(255,212,138,.5); background: rgba(255,212,138,.1); }
.badge-developing { color: #9CF0C9; border-color: rgba(156,240,201,.5); background: rgba(156,240,201,.08); }
.badge-direction { color: #9ED9FF; border-color: rgba(158,217,255,.55); background: rgba(158,217,255,.08); }
.badge-internal { color: #D3C4FF; border-color: rgba(211,196,255,.5); background: rgba(211,196,255,.08); }
.badge-concept { color: #FFB8D2; border-color: rgba(255,184,210,.5); background: rgba(255,184,210,.08); }
.sec-light .badge-proposed { color: #7A4B00; background: #FFF1D6; border-color: #F2C879; }
.sec-light .badge-developing { color: #0B5E3B; background: #DDF7EA; border-color: #8BD9B4; }
.sec-light .badge-direction { color: #004E99; background: #DFF0FF; border-color: #8EC6F5; }
.sec-light .badge-internal { color: #4A2E99; background: #EDE6FF; border-color: #BCA8F2; }
.sec-light .badge-concept { color: #8F1F4A; background: #FFE6EF; border-color: #F2A3C0; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 2rem 0 1rem; }
.legend .fine { margin: 0 0 0 .5rem; }

.empty { text-align: center; padding: 3rem 1rem; border: 1.5px dashed var(--line-d); border-radius: var(--r-l); }
.empty .ic { margin: 0 auto .75rem; color: var(--cyan); }
.empty p { margin-inline: auto; }
.empty .btn-row { justify-content: center; }

/* ---------- pricing ---------- */
.price-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--r-l); overflow: hidden; background: var(--white); border: 1px solid var(--line-l); }
.price { padding: 1.75rem 1.75rem 1.6rem; display: grid; gap: .3rem; border-right: 1px solid var(--line-l); }
.price:last-child { border-right: 0; }
.price-k { font-weight: 650; color: var(--ink-2); }
.price-v { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.9rem); font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1.05; }
.price-v small { font-size: .9rem; font-weight: 650; letter-spacing: 0; color: var(--ink-2); vertical-align: .9em; margin-right: .2rem; }
.price-accent { background: var(--blue); }
.price-accent .price-k, .price-accent .price-v { color: var(--white); }
.qual-inline { display: flex; gap: .6rem; align-items: flex-start; margin: 1.1rem 0 0; font-size: .93rem; color: #4B6584; max-width: 90ch; }
.qual-inline .ic { flex: none; margin-top: .2em; color: var(--blue-600); }
@media (max-width: 760px) { .price-row { grid-template-columns: 1fr; } .price { border-right: 0; border-bottom: 1px solid var(--line-l); } }

/* engagement model — the rail */
.model { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3.5rem; counter-reset: m; }
.model::before { content: ''; position: absolute; left: 22px; right: 22px; top: 21px; height: 8px; border-radius: 8px; background: var(--blue); box-shadow: inset 0 0 0 2.5px var(--blue), inset 0 0 0 4px var(--mist); }
.model li { position: relative; }
.model-n { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--mist); border: 2.5px solid var(--blue); color: var(--blue-600); font-weight: 800; margin-bottom: 1rem; box-shadow: inset 0 0 0 4px var(--mist), inset 0 0 0 5.5px rgba(0,123,255,.35); }
.model h3 { margin-bottom: .35rem; }
.model p { font-size: .97rem; margin: 0; }
@media (max-width: 860px) {
  .model { grid-template-columns: 1fr; gap: 1.25rem; }
  .model::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 8px; height: auto; }
  .model li { display: grid; grid-template-columns: 50px 1fr; column-gap: 1rem; }
  .model-n { grid-row: span 2; margin: 0; }
}

/* ---------- TapX ---------- */
.tapx-visual { position: relative; aspect-ratio: 4 / 3; max-width: 520px; width: 100%; margin-inline: auto; perspective: 900px; }
.tcard { position: absolute; width: 72%; aspect-ratio: 1.586; border-radius: 22px; left: 50%; top: 50%; }
.tcard-back { background: linear-gradient(135deg, #0D3B66, #061B33); border: 1px solid var(--line-d); transform: translate(-38%, -62%) rotate(-8deg); }
.tcard-front { background: linear-gradient(135deg, var(--blue) 0%, #0050B8 55%, #062E66 100%); transform: translate(-58%, -40%) rotate(4deg) rotateY(-8deg); box-shadow: 0 40px 70px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.35); padding: 8%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto auto; gap: 6px; }
.tcard-chip { color: var(--white); opacity: .9; }
.tcard-brand { grid-column: 2; grid-row: 1; color: var(--white); font-weight: 800; font-size: clamp(1rem, .8rem + 1vw, 1.5rem); letter-spacing: -.02em; }
.tcard-line { grid-column: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.55); width: 70%; }
.tcard-line.short { width: 45%; background: rgba(255,255,255,.3); }
.tcard-qr { grid-column: 2; grid-row: 3 / 5; width: clamp(38px, 10vw, 58px); aspect-ratio: 1; border-radius: 8px; background: repeating-conic-gradient(var(--white) 0 25%, transparent 0 50%) 0 0 / 25% 25%; opacity: .85; }
.concept-tag { position: absolute; right: 4%; bottom: 2%; font-size: .78rem; color: var(--slate-2); font-weight: 600; }
.iconlist { display: grid; gap: .1rem; margin: 1.5rem 0; }
.iconlist li { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line-d); color: var(--white); font-weight: 600; }
.iconlist .ic { color: var(--cyan); flex: none; }
.sec-light .iconlist li, .sec .about-facts .iconlist li { color: inherit; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1rem; }
.duo p { margin: 0; }
.duo strong { display: block; color: var(--white); margin-bottom: .25rem; }
@media (max-width: 520px) { .duo { grid-template-columns: 1fr; } }

/* ---------- partners ---------- */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.partner { padding: 2rem; border-radius: var(--r-l); border: 1px solid var(--line-d); background: linear-gradient(160deg, rgba(13,59,102,.5), rgba(6,27,51,.2)); }
.partner-top { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.25rem; }
.partner-top h3 { margin: 0 0 .2rem; }
.partner-mono { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--white); color: var(--navy-900); font-weight: 800; font-size: 1.1rem; }
.partner-prod { display: inline-flex; gap: .35rem; align-items: center; color: var(--cyan); font-weight: 650; text-decoration: none; font-size: .95rem; }
.partner-prod:hover { text-decoration: underline; }
.stage { display: inline-flex; align-items: center; gap: .5rem; margin: .5rem 0 0; padding: .35rem .8rem; border-radius: 999px; background: rgba(0,194,255,.1); color: #BDEBFF; font-size: .87rem; font-weight: 650; }
.stage .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.partners + .fine { margin-top: 1.5rem; }
@media (max-width: 820px) { .partners { grid-template-columns: 1fr; } .partner { padding: 1.5rem; } }
.stages { display: flex; flex-wrap: wrap; gap: .5rem; }
.stages li { display: inline-flex; gap: .5rem; align-items: center; padding: .5rem 1rem .5rem .5rem; border-radius: 999px; border: 1px solid var(--line-d); color: var(--white); font-weight: 600; }
.stages li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,123,255,.25); color: var(--cyan); font-size: .85rem; font-weight: 800; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 3rem; border-top: 1px solid var(--line-d); }
.member { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line-d); }
.member strong { display: block; color: var(--white); font-size: 1.1rem; letter-spacing: -.01em; }
.member span span { color: var(--slate); font-size: .95rem; }
.mono { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--white); background: var(--navy-700); box-shadow: inset 0 0 0 2px rgba(0,123,255,.6), inset 0 0 0 4px var(--navy-700), inset 0 0 0 5px rgba(0,194,255,.35); }
.quote { margin: 3.5rem 0 0; padding: 0; max-width: 900px; }
.quote p { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.7rem); line-height: 1.15; font-weight: 750; letter-spacing: -.03em; color: var(--white); max-width: none; margin-bottom: .75rem; }
.quote footer { color: var(--slate-2); font-weight: 600; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }

.reserved { display: flex; gap: .8rem; align-items: center; padding: 1.25rem 1.5rem; border-radius: var(--r-m); border: 1.5px dashed var(--line-l); color: var(--ink-2); max-width: 640px; }
.reserved .ic { flex: none; color: var(--blue-600); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(4rem, 3rem + 4vw, 6.5rem) 2.5rem; background: radial-gradient(ellipse at 85% 0%, rgba(0,123,255,.45), transparent 55%), linear-gradient(180deg, var(--navy-800), var(--navy-950)); }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.cta-inner h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); margin-bottom: .6rem; }
.cta-inner p { font-size: 1.15rem; margin: 0; }
.cta-inner .btn-row { margin: 0; }
.cta-close { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-d); color: var(--slate-2); font-weight: 600; max-width: none; }

/* ---------- page heroes ---------- */
.phero { padding: clamp(2rem, 1.5rem + 2.5vw, 3.75rem) 0 clamp(2.5rem, 2rem + 2.5vw, 4rem); background: radial-gradient(ellipse at 90% -20%, rgba(0,123,255,.32), transparent 55%), var(--navy-900); border-bottom: 1px solid var(--line-d); }
.phero h1 { margin-bottom: .4rem; }
.phero .lead { max-width: 46rem; }
.phero-slim { padding-bottom: 2rem; }
.phero-row { display: flex; gap: 1.1rem; align-items: center; margin-bottom: 1rem; }
.phero-row .eyebrow { margin: 0 0 .2rem; }
.phero-ic { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--blue); color: var(--white); box-shadow: 0 14px 30px -14px rgba(0,123,255,.9); }
.phero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
@media (max-width: 920px) { .phero-split { grid-template-columns: 1fr; } }
.hook { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2rem); font-weight: 750; letter-spacing: -.025em; color: var(--white); line-height: 1.2; margin-bottom: .6rem; }
.status-line { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; font-size: .93rem; color: var(--slate); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .2rem .5rem; font-size: .88rem; margin-bottom: 1.5rem; color: var(--slate-2); }
.crumbs li + li::before { content: '/'; margin-right: .5rem; opacity: .6; }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.back { display: inline-flex; gap: .4rem; align-items: center; margin-top: 2rem; min-height: 44px; font-weight: 650; text-decoration: none; color: var(--blue-600); }
.sec:not(.sec-light) .back { color: var(--cyan); }

/* concept preview window */
.concept { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #0B2A4A; border: 1px solid rgba(169,188,211,.25); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.concept-float { animation: float2 8s ease-in-out infinite; }
@keyframes float2 { 50% { transform: translateY(-8px); } }
.concept-bar { display: flex; align-items: center; gap: 6px; padding: .6rem .9rem; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--line-d); }
.concept-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(169,188,211,.3); }
.concept-bar b { margin-left: .6rem; color: var(--white); font-size: .85rem; }
.concept-body { display: grid; grid-template-columns: 40% 1fr; min-height: 230px; }
.concept-side { padding: .8rem; border-right: 1px solid var(--line-d); display: grid; gap: .3rem; align-content: start; }
.concept-side li { font-size: .78rem; padding: .4rem .55rem; border-radius: 7px; color: var(--slate); line-height: 1.25; }
.concept-side li.on { background: rgba(0,123,255,.3); color: var(--white); font-weight: 650; }
.concept-main { padding: 1rem; display: grid; gap: .6rem; align-content: start; }
.sk { height: 8px; border-radius: 4px; background: rgba(169,188,211,.18); }
.sk-h { height: 14px; width: 55%; background: rgba(255,255,255,.3); }
.sk-80 { width: 80%; } .sk-60 { width: 60%; }
.concept-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .4rem 0; }
.sk-tile { height: 54px; border-radius: 9px; background: linear-gradient(160deg, rgba(0,123,255,.3), rgba(0,194,255,.08)); border: 1px solid rgba(0,194,255,.2); }
.concept-label { position: absolute; right: .7rem; top: .5rem; font-size: .7rem; font-weight: 700; color: #FFD48A; background: rgba(6,27,51,.85); padding: .15rem .5rem; border-radius: 999px; border: 1px solid rgba(255,212,138,.4); }

/* detail layout */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } }
.detail-side { display: grid; gap: 1rem; position: sticky; top: calc(var(--hdr) + 1.5rem); }
@media (max-width: 960px) { .detail-side { position: static; } }
.block { margin-bottom: 3rem; }
.block h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); }
.capgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem; }
.capgrid-1 { grid-template-columns: 1fr; }
.capgrid li { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 1rem; border-radius: 12px; background: rgba(13,59,102,.45); border: 1px solid var(--line-d); color: var(--white); font-weight: 600; }
.capgrid .ic { flex: none; color: var(--cyan); margin-top: .15em; }
.value { margin: 0 0 3rem; padding: 1.75rem 2rem; border-radius: var(--r-l); background: var(--blue); }
.value .minihead { margin: 0 0 .3rem; color: rgba(255,255,255,.85); }
.value-t { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 750; letter-spacing: -.025em; line-height: 1.2; color: var(--white); margin: 0; }
.sidecard { padding: 1.4rem; border-radius: var(--r-m); background: rgba(13,59,102,.45); border: 1px solid var(--line-d); }
.sidecard .h4 { margin-bottom: .5rem; }
.sidecard p { font-size: .95rem; }
.sidecard p:last-child { margin-bottom: 0; }
.linklist li { padding: .35rem 0; }
.linklist a { color: var(--cyan); font-weight: 600; }
.qual { display: flex; gap: .75rem; padding: 1.2rem 1.25rem; border-radius: var(--r-m); background: rgba(255,212,138,.07); border: 1px solid rgba(255,212,138,.28); }
.qual > .ic { flex: none; color: #FFD48A; margin-top: .15em; }
.qual p { font-size: .9rem; margin: 0 0 .5rem; color: #E6D8BC; }
.qual p:last-child { margin: 0; }
.solgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
.solcard { position: relative; padding: 1.75rem; border-radius: var(--r-l); border: 1px solid var(--line-d); background: linear-gradient(165deg, rgba(13,59,102,.55), rgba(6,27,51,.2)); transition: border-color .2s; }
.solcard:hover, .solcard:focus-within { border-color: var(--cyan); }
.solcard h2 { font-size: 1.4rem; margin-top: 1rem; }
.solcard h2 a { text-decoration: none; }
.solcard-ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: rgba(0,123,255,.2); color: var(--cyan); }
.solcard-prods { font-size: .88rem; color: var(--slate-2); margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line-d); }
.faq-item { border-bottom: 1px solid var(--line-d); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 60px; padding: .8rem 0; cursor: pointer; list-style: none; font-weight: 700; color: var(--white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { flex: none; transition: transform .2s; color: var(--cyan); }
.faq-item[open] summary .ic { transform: rotate(180deg); }
.faq-item p { padding-bottom: 1.2rem; margin: 0; }
.sec-light .faq, .sec-light .faq-item { border-color: var(--line-l); }
.sec-light .faq-item summary { color: var(--ink); }
.sec-light .faq-item summary .ic { color: var(--blue-600); }

/* agent flow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.flow li { display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem; border-radius: var(--r-m); background: rgba(13,59,102,.45); border: 1px solid var(--line-d); color: var(--white); font-weight: 700; position: relative; }
.flow li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); font-size: .9rem; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow li { flex-direction: row; align-items: center; } }
.phero-agent { background: radial-gradient(ellipse at 10% 120%, rgba(0,194,255,.22), transparent 50%), radial-gradient(ellipse at 90% -20%, rgba(0,123,255,.35), transparent 55%), var(--navy-900); }
.about-facts { display: grid; gap: .5rem; }
.about-facts .minihead { margin-top: 0; }

/* ---------- forms ---------- */
.card-form { background: var(--white); color: var(--ink-2); border-radius: var(--r-l); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); color-scheme: light; }
.card-form h2, .card-form h3, .card-form .h3, .card-form .h4, .card-form legend { color: var(--ink); }
.card-form a { color: var(--blue-600); }
.form { display: grid; gap: 1.1rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: end; }
@media (max-width: 640px) { .frow { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { font-weight: 700; padding: 0; margin-bottom: .5rem; }
.field label { font-weight: 650; color: var(--ink); font-size: .95rem; }
.req { color: #C0392B; }
.opt { font-weight: 500; color: #6A829F; font-size: .88em; }
.hint { font-size: .85rem; color: #5D7593; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem; border-radius: 12px; border: 1.5px solid #B9CADD; background: #F8FBFE; color: var(--ink); font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,123,255,.2); background: var(--white); }
.field [aria-invalid="true"] { border-color: #C0392B !important; background: #FFF6F5 !important; }
.err { color: #B42318; font-size: .87rem; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: .7rem; }
.field-check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--blue); }
.field-check label { font-weight: 500; color: var(--ink-2); font-size: .93rem; }
.field-check .err { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }
.form-actions .btn-ghost { --fg: var(--ink); }
.form-status:empty { display: none; }
.form-status { display: flex; gap: .6rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 12px; font-size: .95rem; }
.form-status .ic { flex: none; margin-top: .15em; }
.form-status.loading { background: #EEF4FB; color: var(--ink-2); }
.form-status.ok { background: #E3F8EE; color: #0B5E3B; }
.form-status.error { background: #FDECEA; color: #8A1C12; }
.form-status.preview { background: #FFF4DC; color: #6B4500; }
.mode-banner { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 1rem; border-radius: 12px; font-size: .92rem; }
.mode-banner .ic { flex: none; margin-top: .15em; }
.mode-banner.preview { background: #FFF4DC; color: #6B4500; border: 1px solid #F2D08A; }
.mode-banner.live { background: #E8F3FF; color: #0B3D73; border: 1px solid #B5D6FA; }
.portal .mode-banner.preview { margin-bottom: 1.5rem; }

.checkgrid, .pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .5rem; }
.checkpill { display: flex; align-items: center; gap: .55rem; min-height: 46px; padding: .5rem .8rem; border-radius: 12px; border: 1.5px solid #C9D7E7; cursor: pointer; font-weight: 600; color: var(--ink); font-size: .93rem; }
.checkpill input { width: 18px; height: 18px; accent-color: var(--blue); }
.checkpill:has(input:checked) { border-color: var(--blue); background: #EEF6FF; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; }
.pick > span { display: grid; grid-template-columns: auto 1fr; column-gap: .55rem; align-items: center; min-height: 54px; padding: .6rem .8rem; border-radius: 12px; border: 1.5px solid #C9D7E7; color: var(--ink); font-size: .93rem; transition: border-color .15s, background .15s; }
.pick > span .ic { color: var(--blue-600); grid-row: span 2; }
.pick small { color: #6A829F; font-size: .78rem; }
.pick input:checked + span { border-color: var(--blue); background: #EEF6FF; box-shadow: 0 0 0 3px rgba(0,123,255,.18); }
.pick input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.radios { display: grid; gap: .5rem; }
.radio { display: flex; align-items: center; gap: .6rem; min-height: 46px; padding: .5rem .85rem; border-radius: 12px; border: 1.5px solid #C9D7E7; cursor: pointer; color: var(--ink); font-weight: 600; }
.radio input { width: 18px; height: 18px; accent-color: var(--blue); }
.radio:has(input:checked) { border-color: var(--blue); background: #EEF6FF; }
.tz { display: flex; gap: .6rem; align-items: flex-start; background: #EEF4FB; padding: .8rem 1rem; border-radius: 12px; font-size: .92rem; margin: 0; max-width: none; }
.tz .ic { flex: none; color: var(--blue-600); margin-top: .15em; }
.step-h:focus { outline: none; }

/* stepper */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: .25rem; margin-bottom: 1.25rem; counter-reset: s; }
.steps li { display: grid; justify-items: center; gap: .4rem; text-align: center; font-size: .8rem; font-weight: 650; color: var(--slate-2); position: relative; }
.steps li::before { content: ''; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: rgba(169,188,211,.2); z-index: -1; }
.steps li:first-child::before { display: none; }
.steps li.done::before, .steps li.cur::before { background: var(--blue); }
.steps-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); border: 2px solid rgba(169,188,211,.35); color: var(--white); font-weight: 800; }
.steps li.cur .steps-n { background: var(--blue); border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0,194,255,.2); }
.steps li.done .steps-n { background: var(--blue); border-color: var(--blue); }
.steps li.cur { color: var(--white); }
.steps ol { isolation: isolate; }
@media (max-width: 600px) { .steps-t { display: none; } .steps li.cur .steps-t { display: block; position: absolute; top: 40px; white-space: nowrap; } .steps { margin-bottom: 2.4rem; } }
.review { display: grid; gap: 0; margin: 0; border-top: 1px solid #DCE6F1; }
.review > div { display: grid; grid-template-columns: 200px 1fr auto; gap: .5rem 1rem; padding: .8rem 0; border-bottom: 1px solid #DCE6F1; align-items: start; }
.review dt { font-weight: 650; color: var(--ink); }
.review dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.btn-edit { background: none; border: 0; color: var(--blue-600); font-weight: 700; cursor: pointer; min-height: 32px; padding: 0 .3rem; }
@media (max-width: 600px) { .review > div { grid-template-columns: 1fr auto; } .review dd { grid-column: 1 / -1; grid-row: 2; } }
.success-card { text-align: center; display: grid; justify-items: center; gap: .5rem; }
.success-card:focus { outline: none; }
.success-card .btn-row { justify-content: center; }
.success-card .btn-ghost { --fg: var(--ink); }
.success-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #E3F8EE; color: #0B7A4B; }

/* login */
.auth-sec { padding-block: clamp(3rem, 2rem + 4vw, 6rem); background: radial-gradient(ellipse at 0% 100%, rgba(0,123,255,.25), transparent 50%), var(--navy-900); }
.auth { display: grid; grid-template-columns: 1fr 440px; gap: 4rem; align-items: center; }
.auth h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); }
.recover summary { cursor: pointer; color: var(--blue-600); font-weight: 650; min-height: 44px; display: flex; align-items: center; }
.recover p { font-size: .9rem; margin: .25rem 0 0; }
@media (max-width: 880px) { .auth { grid-template-columns: 1fr; gap: 2rem; } .logo-lg { height: 80px; } }

/* portal */
.portal { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem); }
.portal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.portal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.pmod { padding: 1.25rem; border-radius: var(--r-m); background: rgba(13,59,102,.45); border: 1px solid var(--line-d); }
.pmod-wide { grid-column: 1 / -1; }
.pmod-muted { border-style: dashed; background: transparent; }
.pstatus { font-size: 1.4rem; font-weight: 750; color: var(--white); margin: 0; }
.ptabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ptabs button { min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-d); background: none; color: #D6E2F0; font-weight: 650; cursor: pointer; }
.ptabs button[aria-selected="true"] { background: var(--white); color: var(--navy-900); }
.tablewrap { overflow-x: auto; border: 1px solid var(--line-d); border-radius: var(--r-m); margin-bottom: 1.5rem; }
.tablewrap table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 760px; }
.tablewrap th, .tablewrap td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line-d); vertical-align: top; }
.tablewrap th { color: var(--white); background: rgba(13,59,102,.6); font-weight: 700; }
.tablewrap td small { color: var(--slate-2); }
.tablewrap select { min-height: 40px; border-radius: 8px; padding: .3rem .5rem; background: var(--navy-800); border: 1px solid var(--line-d); color: var(--white); }
.msgcell { max-width: 320px; white-space: pre-wrap; overflow-wrap: anywhere; }
.empty-sm { padding: 2rem; text-align: center; color: var(--slate-2); }

/* legal & 404 */
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.draft-banner { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--r-m); background: rgba(255,212,138,.1); border: 1px solid rgba(255,212,138,.4); color: #F3DFB6; margin-bottom: 1.5rem; }
.draft-banner .ic { flex: none; margin-top: .15em; }
.nf { text-align: center; }
.nf-code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; margin: 0 auto .5rem; color: transparent; -webkit-text-stroke: 2px var(--blue); text-align: center; max-width: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line-d); padding: 4rem 0 calc(1.5rem + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2.5rem; }
.site-footer h2 { font-size: 1rem; color: var(--white); margin-bottom: 1rem; letter-spacing: 0; }
.site-footer ul { display: grid; gap: .1rem; }
.site-footer ul a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; color: var(--slate); }
.site-footer ul a:hover { color: var(--white); text-decoration: underline; }
.f-brand .logo-tile { margin-bottom: 1.25rem; }
.f-brand p { margin-bottom: .5rem; }
.f-loc, .f-site { color: var(--slate-2); }
.f-btns { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.install-btn { margin-bottom: .5rem; }
.f-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-d); color: var(--slate-2); font-size: .88rem; }
.f-bottom { margin-bottom: 0; max-width: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom)); z-index: 120; translate: -50% 20px; opacity: 0; display: flex; gap: .8rem; align-items: center; max-width: min(560px, calc(100vw - 2rem)); padding: .8rem .9rem .8rem 1.1rem; border-radius: 14px; background: var(--white); color: var(--ink); box-shadow: 0 20px 50px -15px rgba(0,0,0,.6); font-weight: 600; font-size: .93rem; transition: opacity .25s, translate .25s var(--ease); }
.toast.show { opacity: 1; translate: -50% 0; }
.toast-x { background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink-2); min-width: 36px; min-height: 36px; }

/* ---------- CloudAI ---------- */
.cai { --kb: 0px; position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: calc(max(1rem, env(safe-area-inset-bottom)) + var(--kb)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; pointer-events: none; }
.cai > * { pointer-events: auto; }
.cai-fab { display: inline-flex; align-items: center; gap: .5rem; height: 56px; padding: 0 1.15rem 0 1rem; border-radius: 999px; border: 0; cursor: pointer; color: var(--white); font-weight: 750; background: linear-gradient(135deg, var(--blue), #0058C2); box-shadow: 0 0 0 4px rgba(0,123,255,.18), 0 16px 34px -10px rgba(0,58,140,.9); transition: transform .2s var(--ease); }
.cai-fab:hover { transform: translateY(-2px); }
.cai.open .cai-fab { display: none; }
.cai-panel { width: min(400px, calc(100vw - 2rem)); height: min(620px, calc(100dvh - 6rem - var(--kb))); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #F5F9FD; color: var(--ink-2); box-shadow: 0 40px 80px -24px rgba(0,0,0,.75); border: 1px solid rgba(255,255,255,.4); animation: caiIn .22s var(--ease); color-scheme: light; }
@keyframes caiIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.cai-head { display: grid; grid-template-columns: auto 1fr auto auto; gap: .6rem; align-items: center; padding: .8rem .8rem .8rem 1rem; background: var(--navy-900); color: var(--white); }
.cai-head h2 { font-size: 1rem; margin: 0; letter-spacing: 0; }
.cai-av { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); }
.cai-state { margin: 0; font-size: .75rem; color: var(--slate); display: flex; align-items: center; gap: .35rem; line-height: 1.3; }
.cai-state .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot.on { background: var(--ok); } .dot.guided { background: var(--warn); } .dot.off { background: var(--err); }
.cai-ic { width: 40px; height: 40px; border-radius: 10px; border: 0; background: rgba(255,255,255,.08); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.cai-ic:hover { background: rgba(255,255,255,.16); }
.cai-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1rem; display: flex; flex-direction: column; gap: .9rem; }
.msg { display: grid; gap: .3rem; max-width: 92%; }
.msg.me { align-self: flex-end; }
.msg-who { font-size: .72rem; font-weight: 700; color: #5D7593; }
.bubble { padding: .7rem .9rem; border-radius: 16px; background: var(--white); border: 1px solid #DCE6F1; font-size: .93rem; line-height: 1.5; }
.bubble p { margin: 0 0 .45rem; } .bubble p:last-child { margin: 0; }
.bubble ul { list-style: disc; padding-left: 1.1rem; margin: 0 0 .45rem; }
.bubble li { margin: .15rem 0; }
.bubble strong { color: var(--ink); }
.msg.me .bubble { background: var(--blue); color: var(--white); border-color: var(--blue); border-bottom-right-radius: 4px; }
.msg.bot .bubble { border-bottom-left-radius: 4px; }
.msg-note { font-size: .8rem; color: #5D7593; margin-top: .4rem !important; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: .35rem .8rem; border-radius: 999px; border: 1.5px solid #B5D6FA; background: var(--white); color: #0B4E99; font-weight: 650; font-size: .85rem; cursor: pointer; text-decoration: none; }
.chip:hover { background: #E8F3FF; border-color: var(--blue); }
.cai-input { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid #DCE6F1; background: var(--white); }
.cai-input input { flex: 1; min-height: 46px; padding: .5rem .9rem; border-radius: 999px; border: 1.5px solid #C9D7E7; background: #F8FBFE; color: var(--ink); font-size: 1rem; }
.cai-input input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,123,255,.18); }
.cai-send { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue); color: var(--white); display: grid; place-items: center; cursor: pointer; flex: none; }
.cai-form { display: grid; gap: .5rem; margin-top: .5rem; }
.cai-form label { display: grid; gap: .2rem; font-size: .82rem; font-weight: 650; color: var(--ink); }
.cai-form input:not([type="checkbox"]), .cai-form textarea { min-height: 42px; padding: .45rem .7rem; border-radius: 10px; border: 1.5px solid #C9D7E7; font-size: 1rem; background: #F8FBFE; color: var(--ink); }
.cai-form .cai-consent { display: flex; gap: .5rem; align-items: flex-start; font-weight: 500; }
.cai-form .cai-consent input { margin-top: .2rem; accent-color: var(--blue); }
.cai-form-status { font-size: .82rem; margin: 0; }
.cai-form-status:empty { display: none; }
.cai-form-status.err { color: #8A1C12; } .cai-form-status.warn { color: #6B4500; background: #FFF4DC; padding: .5rem .6rem; border-radius: 8px; }
.dots { display: inline-flex; gap: 4px; } .dots i { width: 6px; height: 6px; border-radius: 50%; background: #8AA3BF; animation: blink 1.2s infinite; } .dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .3; } }
@media (max-width: 560px) {
  .cai-fab-t { display: none; }
  .cai-fab { width: 56px; padding: 0; justify-content: center; }
  .cai.open { inset: 0; right: 0; bottom: 0; padding: 0; }
  .cai.open .cai-panel { width: 100vw; height: calc(100dvh - var(--kb)); border-radius: 0; border: 0; padding-bottom: env(safe-area-inset-bottom); padding-top: env(safe-area-inset-top); }
}
/* keep the FAB off form submit controls and the mobile menu */
html.lock .cai { display: none; }
body { padding-bottom: 0; }
@media (max-width: 560px) { .form-actions { padding-right: 64px; } .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-links .flow { display: none; }
  .hero-links, .core, .node, .hpanel { transform: none !important; }
}

/* ---------- mobile refinements ---------- */
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); padding-bottom: .25rem; }
  .filters::-webkit-scrollbar { display: none; }
  .fchip { flex: none; }
  .pgrid:has(.pcard-compact) { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .pcard-compact { padding: 1rem .9rem .85rem; }
  .pcard-compact .pcard-ic { width: 36px; height: 36px; border-radius: 10px; }
  .pcard-compact .pcard-name { font-size: 1.02rem; }
  .pcard-compact .pcard-hook { font-size: .86rem; line-height: 1.45; }
  .pcard-compact .pcard-group { display: none; }
  .pcard-compact .badge { font-size: .64rem; padding: .1rem .45rem; }
  .hpanel-name { font-size: .66rem; letter-spacing: -.01em; overflow-wrap: anywhere; line-height: 1.15; }
  .hpanel { grid-template-columns: 1fr; justify-items: center; text-align: center; width: 27%; }
  .hp1, .hp3 { left: 15%; } .hp2, .hp4 { left: 85%; }
}

/* ---------- in-page dialog ---------- */
.dlg-wrap { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1rem; background: rgba(3,17,31,.7); backdrop-filter: blur(3px); }
.dlg { width: min(440px, 100%); background: var(--white); color: var(--ink-2); border-radius: var(--r-l); padding: 1.5rem; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8); animation: caiIn .18s var(--ease); color-scheme: light; }
.dlg h2 { color: var(--ink); }
.dlg-field { display: grid; gap: .35rem; font-weight: 650; color: var(--ink); font-size: .93rem; margin-top: .5rem; }
.dlg-field input { min-height: 48px; padding: .6rem .8rem; border-radius: 12px; border: 1.5px solid #B9CADD; font-size: 1rem; color: var(--ink); background: #F8FBFE; }
.dlg-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.dlg .btn-ghost { --fg: var(--ink); }
.btn-danger { --bg: #C0392B; --bd: #C0392B; --fg: var(--white); }

/* ==========================================================================
   Business Partner Experiences
   ========================================================================== */
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; max-width: none; flex-wrap: wrap; }
.row-head p { margin: 0; }
.row-ctl { display: flex; gap: .5rem; }
.gbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-d); background: rgba(255,255,255,.04); color: var(--white); cursor: pointer; }
.gbtn:disabled { opacity: .35; cursor: default; }
.gbtn-light { border-color: var(--line-l); background: var(--white); color: var(--ink); }
.xrow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 2rem) / 3)); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .25rem; }
.xrow::-webkit-scrollbar { display: none; }
.xrow > * { scroll-snap-align: start; }
@media (max-width: 640px) { .xrow { grid-auto-columns: 86%; } }
.invite-inline { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: 1.75rem; }
.invite-inline p { margin: 0; font-weight: 600; color: var(--ink); }
.invite { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; margin-bottom: 2.5rem; }
.invite-cta { padding: 1.5rem; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line-l); }
.invite-cta p { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .invite { grid-template-columns: 1fr; } }
.xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }

.xcard { display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: var(--white); border: 1px solid var(--line-l); color: var(--ink-2); min-width: 0; }
.xcard-media { aspect-ratio: 16 / 10; background: var(--mist-2); display: grid; place-items: center; overflow: hidden; }
.xcard-media img { width: 100%; height: 100%; object-fit: cover; }
.xcard-noimg { color: #6A829F; }
.xcard-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.xcard-who { display: flex; gap: .7rem; align-items: center; }
.xcard-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: var(--white); border: 1px solid var(--line-l); }
.xcard-biz { margin: 0; font-weight: 750; color: var(--ink); }
.xcard-prod { margin: 0; display: flex; gap: .3rem; align-items: center; font-size: .85rem; color: var(--blue-600); font-weight: 650; }
.xcard-title { font-size: 1.15rem; color: var(--ink); margin: .25rem 0 0; }
.xcard-ex { font-size: .95rem; margin: 0; overflow-wrap: anywhere; }
.xcard-btn { margin-top: auto; align-self: flex-start; --fg: var(--blue-600); }

/* experience page */
.xpage-head { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.5rem; }
.xpage-head .eyebrow { margin-bottom: .4rem; }
.xpage-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin-bottom: .6rem; }
.xpage-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 16px; background: var(--white); flex: none; }
.xpage-meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; color: var(--slate); font-size: .95rem; margin: 0; }
.xpage-meta .ic { color: var(--cyan); }
.xpage-meta a { color: var(--cyan); overflow-wrap: anywhere; }
.xpage-meta .sep { width: 1px; height: 14px; background: var(--line-d); margin-inline: .4rem; }
.xpage-text { font-size: 1.1rem; line-height: 1.75; color: #D6E2F0; margin: 2rem 0; overflow-wrap: anywhere; }
.xpage-text p { max-width: 66ch; }
.xpage-foot { border-top: 1px solid var(--line-d); padding-top: 1.25rem; margin-top: 2rem; }
.xpage-foot a { color: var(--cyan); }
.gallery { position: relative; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-l); scrollbar-width: none; background: #0B2A4A; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-ctl { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: .75rem; }
.gallery-count { font-variant-numeric: tabular-nums; color: var(--slate); font-weight: 650; min-width: 4ch; text-align: center; }
.xvideo { margin: 2rem 0; }
.xvideo video { width: 100%; max-height: 70vh; border-radius: var(--r-l); background: #000; display: block; }
.xvideo figcaption { font-size: .88rem; color: var(--slate-2); margin-top: .5rem; }

/* form */
.xwrap { max-width: 900px; }
.xform-lang { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; color: var(--slate); font-weight: 600; font-size: .92rem; }
.fchip-sm { min-height: 38px; padding: .3rem .85rem; font-size: .88rem; }
.xform { gap: 1.5rem; }
.xsec { border: 0; padding: 0; margin: 0; display: block; min-width: 0; }
.xsec > * + * { margin-top: 1.1rem; }
.xsec > legend + * { clear: both; margin-top: 0; }
.xsec + .xsec { border-top: 1px solid #DCE6F1; padding-top: 1.5rem; }
.xsec legend { float: left; width: 100%; display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; padding: 0; margin-bottom: 1rem; }
.xsec-t { font-size: 1.2rem; font-weight: 750; color: var(--ink); letter-spacing: -.01em; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 650; line-height: 1.35; }
.pill-public { background: #E8F3FF; color: #0B3D73; }
.pill-private { background: #EFE8FF; color: #46278F; }
.xsec-private { background: #F7F4FF; margin-inline: calc(-1 * clamp(1.25rem, 1rem + 2vw, 2.25rem)); padding: 1.5rem clamp(1.25rem, 1rem + 2vw, 2.25rem) !important; border-top: 0 !important; }
.upl { gap: .45rem; }
.upl-label { margin: 0; font-weight: 650; color: var(--ink); font-size: .95rem; }
.upl .hint { margin: 0; }
.upl-drop { position: relative; overflow: hidden; display: flex; align-items: center; gap: .6rem; min-height: 56px; padding: .75rem 1rem; border: 2px dashed #9DB7D3; border-radius: 14px; color: var(--blue-600); font-weight: 700; cursor: pointer; background: #F8FBFE; }
.upl-drop small { margin-left: auto; color: #6A829F; font-weight: 600; font-variant-numeric: tabular-nums; }
.upl-drop:hover { border-color: var(--blue); background: #EEF6FF; }
.upl-drop:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.flist { display: grid; gap: .5rem; }
.fitem { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .55rem; border-radius: 12px; border: 1px solid #DCE6F1; background: var(--white); }
.fitem.error { border-color: #F0B4AD; background: #FFF6F5; }
.fthumb { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--mist-2); }
.fthumb img, .fthumb video { width: 100%; height: 100%; object-fit: cover; }
.fbadge { position: absolute; left: 4px; bottom: 4px; display: inline-flex; gap: 2px; align-items: center; background: rgba(6,27,51,.8); color: var(--white); font-size: .66rem; font-weight: 700; padding: 1px 5px; border-radius: 6px; }
.finfo { min-width: 0; }
.fname { margin: 0; font-weight: 650; color: var(--ink); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fsize, .fstatus { margin: 0; font-size: .8rem; color: #5D7593; }
.fitem.error .fstatus { color: #8A1C12; font-weight: 600; }
.fitem.done .fstatus { color: #0B7A4B; font-weight: 600; }
.fbar { height: 6px; border-radius: 3px; background: #DCE6F1; overflow: hidden; margin: .3rem 0 .15rem; }
.fbar i { display: block; height: 100%; background: var(--blue); transition: width .2s; }
.factions { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; }
.factions .btn-ghost { --fg: var(--ink); min-height: 40px; }
@media (max-width: 520px) { .fitem { grid-template-columns: 56px minmax(0, 1fr); } .fthumb { width: 56px; height: 56px; } .factions { grid-column: 1 / -1; justify-content: flex-start; } }

/* preview */
.xpreview > p { color: var(--slate); }
.xprev-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 1.5rem; align-items: start; margin: 1rem 0 2rem; }
.xprev-grid .minihead { margin-top: 0; }
.xprev-frame { border: 1px dashed var(--line-d); border-radius: var(--r-l); padding: 1.25rem; }
.xprev-frame .xpage-head h3 { color: var(--white); }
@media (max-width: 860px) { .xprev-grid { grid-template-columns: 1fr; } }
.xprev-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 760px) { .xprev-fields { grid-template-columns: 1fr; } }
.xfields { padding: 1.25rem; border-radius: var(--r-m); }
.xfields h3 { display: flex; gap: .5rem; align-items: center; }
.xfields-pub { background: #E8F3FF; color: #0B3D73; }
.xfields-pub h3 { color: #0B3D73; }
.xfields-priv { background: #EFE8FF; color: #46278F; }
.xfields-priv h3, .xfields-priv .fine { color: #46278F; }
.xfields dl { margin: 0; display: grid; gap: .35rem; }
.xfields dl > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: .5rem; font-size: .9rem; }
.xfields dt { font-weight: 650; }
.xfields dd { margin: 0; overflow-wrap: anywhere; }
.xconsent fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .8rem; }
.xconsent legend { margin-bottom: .75rem; color: var(--ink); }

/* admin review */
.xadm-list { display: grid; gap: .4rem; margin: 1rem 0; }
.xadm-row { width: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: .8rem; align-items: center; text-align: left; padding: .6rem; border-radius: 12px; border: 1px solid var(--line-d); background: rgba(13,59,102,.35); color: var(--white); cursor: pointer; }
.xadm-row.on, .xadm-row:hover { border-color: var(--cyan); }
.xadm-thumb { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--slate); }
.xadm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.xadm-main { display: grid; min-width: 0; }
.xadm-main small { color: var(--slate-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xpill { display: inline-flex; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.p-pending { background: rgba(255,212,138,.15); color: #FFD48A; } .p-changes { background: rgba(158,217,255,.14); color: #9ED9FF; }
.p-approved { background: rgba(46,204,143,.15); color: #8DF0C4; } .p-rejected { background: rgba(255,107,107,.15); color: #FFB0B0; }
.p-unpub { background: rgba(169,188,211,.15); color: var(--slate); } .p-feat { background: var(--blue); color: var(--white); }
@media (max-width: 640px) { .xadm-row { grid-template-columns: 44px minmax(0, 1fr); } .xadm-row .xpill { grid-column: 2; justify-self: start; } }
.xadm-hint { padding: 1rem 0; }
.xd { margin-top: 1rem; padding: 1.25rem; border-radius: var(--r-l); border: 1px solid var(--line-d); background: rgba(8,47,82,.6); }
.xd-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.xd-head a { color: var(--cyan); font-size: .9rem; }
.xd-head .btn-ghost { --fg: var(--white); }
.xd-sec { border-top: 1px solid var(--line-d); padding-top: 1rem; margin-top: 1rem; }
.xd-sec h4 { color: var(--white); margin-bottom: .6rem; font-size: 1rem; }
.xd-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .5rem 1rem; margin: 0 0 .5rem; }
.xd-dl dt { font-size: .8rem; color: var(--slate-2); } .xd-dl dd { margin: 0; color: var(--white); overflow-wrap: anywhere; }
.xd-checks, .xd-inline { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.xd-checks label, .xd-inline label { display: inline-flex; gap: .45rem; align-items: center; min-height: 40px; color: var(--white); font-weight: 600; }
.xd-inline input[type="number"] { width: 5rem; min-height: 40px; border-radius: 8px; padding: .3rem .5rem; background: var(--navy-800); border: 1px solid var(--line-d); color: var(--white); }
.xd-form { display: grid; gap: .7rem; }
.xd-form label { display: grid; gap: .3rem; font-size: .88rem; font-weight: 650; color: var(--slate); }
.xd-form input, .xd-form textarea { min-height: 42px; padding: .5rem .7rem; border-radius: 10px; border: 1px solid var(--line-d); background: var(--navy-900); color: var(--white); font-size: .98rem; line-height: 1.5; }
.xd-orig { font-size: .9rem; } .xd-orig summary { cursor: pointer; color: var(--cyan); min-height: 36px; }
.xd-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.xd-m { margin: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: rgba(255,255,255,.04); }
.xd-m.is-cover { border-color: var(--cyan); }
.xd-m img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.xd-m figcaption, .xd-video figcaption, .xd-logo figcaption { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: center; padding: .4rem .5rem; font-size: .82rem; color: var(--white); }
.xd-m label, .xd-video label, .xd-logo label { display: inline-flex; gap: .3rem; align-items: center; min-height: 32px; }
.xd-m small, .xd-video small { color: var(--slate-2); }
.xd-video { margin: .75rem 0 0; } .xd-video video { width: 100%; max-height: 360px; border-radius: 12px; background: #000; }
.xd-logo { margin: .75rem 0 0; } .xd-logo img { height: 72px; width: auto; border-radius: 10px; background: var(--white); padding: 4px; }
.xd-notes { display: grid; gap: .5rem; margin-bottom: .75rem; } .xd-notes li { padding: .6rem .8rem; border-radius: 10px; background: rgba(255,255,255,.04); } .xd-notes p { margin: 0 0 .2rem; color: var(--white); } .xd-notes small { color: var(--slate-2); }
.xd-hist { display: grid; gap: .4rem; font-size: .88rem; } .xd-hist b { color: var(--white); } .xd-hist small { color: var(--slate-2); } .xd-hist p { margin: .15rem 0 0; }




/* ==========================================================================
   Homepage video introduction + popup player
   ========================================================================== */
.vintro { padding-block: clamp(3rem, 2.5rem + 3vw, 5.5rem); background: radial-gradient(ellipse at 15% 0%, rgba(0,123,255,.22), transparent 55%), var(--navy-950); border-top: 1px solid var(--line-d); }
.vintro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.vintro-copy h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); }
.vintro-copy .btn .ic { transform: none; }
@media (max-width: 880px) { .vintro-grid { grid-template-columns: 1fr; } .vintro-copy { order: 2; } }
.vframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid rgba(169,188,211,.25); border-radius: var(--r-l); overflow: hidden; cursor: pointer; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); box-shadow: 0 40px 80px -36px rgba(0,0,0,.85), 0 0 0 1px rgba(0,123,255,.15); isolation: isolate; }
.vthumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vframe-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,27,51,.05) 30%, rgba(6,27,51,.55)); }
.vplay { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: var(--blue); box-shadow: 0 0 0 10px rgba(0,123,255,.22), 0 18px 40px -10px rgba(0,58,140,.9); transition: transform .25s var(--ease), box-shadow .25s; }
.vplay .ic { margin-left: 4px; }
.vframe:hover .vthumb { transform: scale(1.03); }
.vframe:hover .vplay, .vframe:focus-visible .vplay { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(0,194,255,.25), 0 18px 40px -10px rgba(0,58,140,.9); }
.vframe:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
@media (max-width: 560px) { .vplay { width: 68px; height: 68px; } }

.vmodal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom)); background: rgba(3,17,31,.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: ddIn .2s var(--ease); }
.vmodal-box { width: min(1100px, 100%); display: grid; gap: .75rem; }
.vmodal-box.is-short { width: min(420px, 100%); }
.vmodal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.vmodal-head h2 { margin: 0; color: var(--white); font-size: 1.05rem; }
.vmodal-close { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem .9rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); color: var(--white); font-weight: 700; cursor: pointer; flex: none; }
.vmodal-close:hover { background: rgba(255,255,255,.16); border-color: var(--white); }
.vmodal-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100dvh - 9rem); border-radius: 16px; overflow: hidden; background: #000; }
.is-short .vmodal-frame { aspect-ratio: 9 / 16; max-height: calc(100dvh - 9rem); }
.vmodal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmsg { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .75rem; text-align: center; padding: 1.5rem; color: var(--white); background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.vmsg p { margin: 0; max-width: 40ch; }
.vmsg .ic { color: var(--cyan); }
.vmodal-foot { margin: 0; font-size: .9rem; color: var(--slate); text-align: center; max-width: none; }
.vmodal-foot a { color: var(--cyan); font-weight: 650; }

/* ---------- footer: Follow Cloudwise + language ---------- */
.f-social { margin-top: 1.5rem; }
.f-social h2 { margin-bottom: .6rem; }
.site-footer .f-social ul { display: grid; gap: .25rem; }
.site-footer .f-social a { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding-right: .5rem; color: var(--slate); text-decoration: none; border-radius: 10px; }
.f-social a .ic { flex: none; width: 36px; height: 36px; padding: 7px; border-radius: 10px; border: 1px solid var(--line-d); color: var(--white); transition: border-color .2s, background .2s; }
.site-footer .f-social a:hover { color: var(--white); text-decoration: none; }
.f-social a:hover .ic { border-color: var(--cyan); background: rgba(0,194,255,.1); }
.f-langrow { margin-top: 2.5rem; }
.f-langs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; color: var(--slate); font-size: .9rem; font-weight: 600; }
.f-langs [role="group"] { display: flex; gap: .4rem; flex-wrap: wrap; }
.f-langs small { color: var(--slate-2); font-weight: 500; }
.f-langrow + .wrap .f-bottom { margin-top: 1.5rem; }

/* ---------- admin: site settings ---------- */
.sset { display: grid; gap: 1rem; }
.sset .xd { margin-top: 0; }
.sset-switch { display: flex !important; flex-direction: row; gap: .5rem; align-items: center; color: var(--white) !important; min-height: 40px; }
.sset-status { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .6rem .8rem; border-radius: 10px; font-size: .9rem; margin: 0; max-width: none; }
.sset-ok { background: rgba(46,204,143,.12); color: #8DF0C4; } .sset-bad { background: rgba(255,107,107,.12); color: #FFB0B0; } .sset-warn { background: rgba(255,212,138,.1); color: #FFD48A; }
.sset-status .btn-ghost { --fg: var(--white); }
.sset-langs { display: flex; gap: .4rem; margin: 1rem 0 .5rem; flex-wrap: wrap; }
.sset-thumb { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1rem; align-items: center; margin-top: 1rem; }
.sset-prev { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.05); display: grid; place-items: center; }
.sset-prev img { width: 100%; height: 100%; object-fit: cover; }
.sset-file { cursor: pointer; position: relative; overflow: hidden; --fg: var(--white); }
.sset .btn-ghost { --fg: var(--white); }
@media (max-width: 560px) { .sset-thumb { grid-template-columns: 1fr; } }

/* video placeholder (no link configured yet) */
.vframe-soon { cursor: default; display: grid; place-items: center; background: radial-gradient(ellipse at 30% 20%, rgba(0,123,255,.35), transparent 60%), linear-gradient(135deg, var(--navy-700), var(--navy-950)); }
.vsoon-mark { position: absolute; left: 1.25rem; top: 1.25rem; opacity: .9; }
.vsoon-mark img { height: 40px; width: auto; border-radius: 8px; background: #000; }
.vplay-soon { background: rgba(255,255,255,.12); box-shadow: 0 0 0 10px rgba(255,255,255,.05); color: rgba(255,255,255,.75); }
.vsoon-label { position: absolute; left: 0; right: 0; bottom: 1.25rem; text-align: center; color: var(--white); font-weight: 650; font-size: .98rem; padding-inline: 1rem; }
.vintro-copy .btn:disabled { opacity: .55; box-shadow: none; }
.vintro-copy .btn { white-space: normal; text-align: left; max-width: 100%; }

/* ---------- header language menu ---------- */
.langsel { position: relative; flex: none; }
.langsel-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line-d); background: rgba(255,255,255,.04); color: #D6E2F0; font-weight: 650; font-size: .9rem; cursor: pointer; }
.langsel-btn:hover, .langsel-btn[aria-expanded="true"] { color: var(--white); border-color: var(--slate-2); }
.langsel-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; min-width: 170px; padding: .4rem; border-radius: 14px; background: #0A2948; border: 1px solid var(--line-d); box-shadow: 0 24px 50px -18px rgba(0,0,0,.7); animation: ddIn .16s var(--ease); }
.langsel-list button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: .45rem .8rem; border: 0; border-radius: 10px; background: none; color: #D6E2F0; font-weight: 600; text-align: left; cursor: pointer; }
.langsel-list button:hover, .langsel-list button:focus-visible { background: rgba(255,255,255,.07); color: var(--white); }
.langsel-list button[aria-checked="true"] { color: var(--white); }
.langsel-list button[aria-checked="true"]::after { content: '✓'; color: var(--cyan); }
@media (max-width: 1079px) { .langsel { margin-left: auto; } .burger { margin-left: .5rem; } }
@media (max-width: 380px) { #langsel-cur { display: none; } }
.mnav-lang { display: grid; gap: .6rem; margin-top: 1.5rem; color: var(--slate); font-weight: 650; }
.mnav-lang > span { display: inline-flex; gap: .4rem; align-items: center; }
.mnav-lang > div { display: flex; flex-wrap: wrap; gap: .4rem; }
.mainnav a, .dd-btn { white-space: nowrap; }

/* ---- Longer Tagalog / Bisaya labels ---- */
fieldset { min-width: 0; }
h1, h2, h3, h4, p, li, dd, dt, label, legend, .badge, .btn, .chip { overflow-wrap: break-word; }
.grid > *, .detail-main, .detail-side, .pcard, .xsec, .form-actions, .mode-banner, .invite-cta { min-width: 0; }
@media (min-width: 1080px) and (max-width: 1679px) {
  .header-inner { gap: .75rem; }
  .mainnav a, .dd-btn { padding-inline: .55rem; font-size: .9rem; }
  .header-actions .btn { padding-inline: .9rem; }
}
/* Non-English labels are wider: use the menu button until there is room for the full bar. */
@media (min-width: 1080px) and (max-width: 1535px) {
  html:not([lang="en"]) .mainnav, html:not([lang="en"]) .header-actions { display: none; }
  html:not([lang="en"]) .burger { display: grid; }
  html:not([lang="en"]) .langsel { margin-left: auto; }
  html:not([lang="en"]) .burger { margin-left: .5rem; }
}
.solgrid { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.xgrid { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.phero-row > div, .soltabs, .soltabs-panel, .phero-visual, .phero-grid > * { min-width: 0; }
.phero h1 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .phero h1 { font-size: clamp(1.75rem, 1.2rem + 3.6vw, 2.4rem); }
}
@media (max-width: 480px) { .cf3, .converge.in .cf3 { left: 82%; } .cf2 { left: 78%; } }
html:not([lang="en"]) .hero h1 { font-size: clamp(2.1rem, 1.2rem + 3.1vw, 3.6rem); }
