/* =============================================================================
   mabeyn.com — site styles
   Tokens mirror the Figma file "mabeyn.com — Website 2026" (00 · Foundations v2):
   two brand colours (Midnight, Violet), cool neutrals, one typeface (Inter).
   ========================================================================== */

/* Inter, self-hosted (SIL Open Font License): variable weight and optical size. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); 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: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@view-transition { navigation: auto; }

:root {
  --midnight: #0A1A3A;
  --night: #071229;
  --violet: #5B4BFF;
  --violet-600: #4A3AF0;
  --violet-50: #F0EEFF;
  --body: #4A5878;
  --muted: #66728A;
  --line: #E3E8EF;
  --subtle: #F6F8FB;
  --aqua: #2BD9C8;
  --danger: #D9363E;

  --on-dark: #F4F6FB;
  --on-dark-2: rgba(244, 246, 251, .66);
  --on-dark-3: rgba(244, 246, 251, .52);
  --line-dark: rgba(255, 255, 255, .1);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(96px, 11vw, 160px);
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 68px;
  --shadow-card: 0 1px 2px rgba(10, 26, 58, .04), 0 12px 32px -12px rgba(10, 26, 58, .12);
  --shadow-float: 0 2px 4px rgba(10, 26, 58, .04), 0 30px 60px -20px rgba(10, 26, 58, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0; background: #fff; color: var(--body);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400;
  font-optical-sizing: auto; font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--midnight); font-weight: 550; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.ico { width: 20px; height: 20px; flex: none; }
.ico-sm { width: 16px; height: 16px; }
.ico-xs { width: 14px; height: 14px; }

/* ---------- Type ---------- */
.display { font-size: clamp(44px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -.038em; font-weight: 550; text-wrap: balance; }
.h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.h2 { font-size: clamp(32px, 3.9vw, 52px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.55; color: var(--body); max-width: 560px; letter-spacing: -.005em; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--violet); letter-spacing: -.005em; }
.dark .eyebrow, .band .eyebrow { color: #A79EFF; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px;
  border-radius: 999px; font-size: 15.5px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .25s, color .25s, box-shadow .25s, transform .3s var(--ease);
}
.btn .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 1px 2px rgba(10,26,58,.15), inset 0 1px 0 rgba(255,255,255,.14); }
.btn-violet:hover { background: var(--violet-600); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--midnight); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px #CDD5E0; }
.btn-white { background: #fff; color: var(--midnight); }
.btn-white:hover { background: var(--subtle); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--violet); }
.link .ico { transition: transform .3s var(--ease); }
.link:hover .ico { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h); color: var(--midnight);
  transition: background-color .3s, box-shadow .3s, transform .45s var(--ease);
}
.site-header.is-scrolled { background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 rgba(10,26,58,.06); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-hidden:focus-within { transform: none; }
/* Over dark or coloured areas the header turns light. */
.site-header.on-dark { color: #fff; }
.site-header.on-dark.is-scrolled { background: rgba(7,18,41,.55); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.site-header.on-dark .nav a { color: #fff; }
.site-header.on-dark .nav a:hover { background: rgba(255,255,255,.1); }
.site-header.on-dark .lockup { color: #fff; }
.site-header.on-dark .lockup-mark { background: #fff; color: var(--midnight); }
.site-header .lockup, .site-header .lockup-mark { transition: color .3s, background-color .3s; }
body.menu-open .site-header.on-dark { color: var(--midnight); background: #fff; }
body.menu-open .site-header.on-dark .lockup { color: var(--midnight); }
body.menu-open .site-header.on-dark .lockup-mark { background: var(--midnight); color: #fff; }
.header-row { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { justify-self: start; display: flex; align-items: center; }
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--midnight); }
.lockup-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--midnight); color: #fff; flex: none; transition: transform .4s var(--ease); }
.lockup-mark svg { width: 19px; height: auto; }
.lockup-word { height: 20px; width: auto; margin-top: 3px; }
.brand:hover .lockup-mark { transform: rotate(-4deg) scale(1.04); }
.brand-footer .lockup { color: #fff; gap: 12px; }
.brand-footer .lockup-mark { width: 40px; height: 40px; border-radius: 11px; background: #fff; color: var(--midnight); }
.brand-footer .lockup-mark svg { width: 24px; }
.brand-footer .lockup-word { height: 26px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--midnight); opacity: .78; transition: opacity .2s, background-color .2s; }
.nav a:hover { opacity: 1; background: rgba(10,26,58,.05); }
.nav a[aria-current="page"] { opacity: 1; background: rgba(10,26,58,.06); }
.site-header.on-dark .nav a[aria-current="page"] { background: rgba(255,255,255,.12); }
.header-cta { justify-self: end; }
/* Over the hero's violet gradient a violet button disappears; dark until the header is frosted. */
.site-header:not(.is-scrolled):not(.on-dark) .header-cta { background: var(--midnight); }
.site-header:not(.is-scrolled) .nav a { opacity: 1; }
.menu-toggle { display: none; justify-self: end; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; }
.menu-toggle .bars { position: relative; display: block; width: 20px; height: 8px; }
.menu-toggle i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle i:first-child { top: 0; }
.menu-toggle i:last-child { top: 6.5px; }
.menu-toggle[aria-expanded="true"] i { top: 3.25px; }
.menu-toggle[aria-expanded="true"] i:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; background: #fff; overflow-y: auto; padding: 8px 0 40px; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--midnight); border-bottom: 1px solid var(--line); }
.mobile-menu .ico { color: var(--muted); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: #fff; }
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .header-row { grid-template-columns: 1fr auto; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Moving gradient (Stripe-like) ---------- */
.wave { position: absolute; overflow: hidden; pointer-events: none; }
.wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wave::before { /* static fallback, shown until WebGL paints or when it is unavailable */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 20% 30%, #5B4BFF, transparent 70%),
    radial-gradient(40% 60% at 55% 20%, #B05CFF, transparent 70%),
    radial-gradient(40% 60% at 80% 60%, #FF5E8A, transparent 70%),
    radial-gradient(40% 60% at 95% 10%, #FFB547, transparent 70%), #7A5BFF;
}
.wave.is-live::before { opacity: 0; transition: opacity .8s; }
.wave-hero {
  top: 0; left: 0; right: 0; height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 64%, 0 100%);
  -webkit-mask-image: linear-gradient(100deg, transparent 18%, rgba(0,0,0,.35) 40%, #000 62%);
  mask-image: linear-gradient(100deg, transparent 18%, rgba(0,0,0,.35) 40%, #000 62%);
}
.wave-page {
  top: 0; left: 0; right: 0; height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 58%, 0 100%);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, rgba(0,0,0,.3) 55%, #000 80%);
  mask-image: linear-gradient(100deg, transparent 30%, rgba(0,0,0,.3) 55%, #000 80%);
}
.wave-band { inset: 0; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-head { display: grid; gap: 18px; align-content: start; max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .intro { font-size: 19px; line-height: 1.55; color: var(--body); max-width: 600px; }
.dark { background: var(--night); color: var(--on-dark-2); }
.dark h2, .dark h3 { color: var(--on-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(56px, 9vh, 112px)) 0 clamp(80px, 10vw, 140px); }
.hero .wave { z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero .display { max-width: 11.5em; }

.hero-visual { position: relative; }

/* Orbit: the emblem in glass, the seven teams circling it */
.orbit { position: relative; aspect-ratio: 1 / .92; width: 100%; max-width: 600px; margin-left: auto; }
.orbit-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); transform: translate(-50%, -50%); pointer-events: none; }
.orbit-ring.r1 { width: 88%; height: 80%; }
.orbit-ring.r2 { width: 62%; height: 56%; border-color: rgba(255,255,255,.4); }
.orbit-ring.r3 { width: 36%; height: 33%; border-color: rgba(255,255,255,.3); border-style: dashed; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.core-glass {
  position: relative; display: grid; place-items: center; width: clamp(120px, 15vw, 176px); aspect-ratio: 1; border-radius: 28%;
  background: linear-gradient(145deg, rgba(255,255,255,.42), rgba(255,255,255,.12));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), inset 0 -18px 40px rgba(91,75,255,.25), 0 40px 80px -20px rgba(10,26,58,.45);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  color: #fff; animation: breathe 8s ease-in-out infinite; overflow: hidden;
}
.core-glass::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255,255,255,.55) 80%, transparent 90%); animation: sheen 6s linear infinite; mix-blend-mode: soft-light; }
.core-glass svg { position: relative; width: 58%; height: auto; filter: drop-shadow(0 6px 16px rgba(10,26,58,.35)); }
@keyframes breathe { 50% { transform: translateY(-8px); } }
@keyframes sheen { to { transform: rotate(360deg); } }
.orbit-items li {
  position: absolute; transform: translate(-50%, -50%) scale(var(--sc, 1)); opacity: var(--op, 1); z-index: var(--z, 1);
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border-radius: 999px; white-space: nowrap;
  font-size: 14px; font-weight: 500; color: var(--midnight); background: rgba(255,255,255,.86);
  box-shadow: 0 1px 2px rgba(10,26,58,.06), 0 12px 28px -10px rgba(10,26,58,.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  will-change: transform, left, top;
}
.oi-icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-50); color: var(--violet); }

/* ---------- Statement + model ---------- */
.statement-head { text-align: center; display: grid; gap: 18px; justify-items: center; margin: 0 auto clamp(56px, 7vw, 88px); max-width: 900px; }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.m-card { display: grid; gap: 10px; align-content: start; }
.m-card h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 14px; }
.m-card p { font-size: 16px; }
.m-well { position: relative; height: 260px; border-radius: var(--radius); background: var(--subtle); overflow: hidden; display: grid; place-items: center; transition: transform .6s var(--ease); }
.m-card:hover .m-well { transform: translateY(-4px); }
.mw-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 24px; }
.mw-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-card); font-size: 13px; font-weight: 500; color: var(--midnight); }
.mw-chips .ico { color: var(--violet); }
.js .m-card .mw-chips span { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.1s + var(--k) * 70ms); }
.js .m-card.is-in .mw-chips span { opacity: 1; transform: none; }
.mw-standard { position: relative; width: 240px; display: grid; gap: 4px; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); }
.mw-standard b { color: var(--midnight); font-weight: 550; font-size: 15px; }
.mw-standard small { color: var(--muted); font-size: 12.5px; }
.ms-check { position: absolute; top: -12px; right: -12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua); color: #fff; box-shadow: 0 6px 16px -4px rgba(43,217,200,.7); }
.ms-rows { display: grid; gap: 8px; margin-top: 14px; }
.ms-rows i { height: 8px; border-radius: 4px; background: var(--subtle); position: relative; overflow: hidden; }
.ms-rows i::after { content: ""; position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--violet), #A79EFF); border-radius: 4px; transition: width 1.2s var(--ease); }
.js .m-card.is-in .ms-rows i::after, .no-js .ms-rows i::after { width: 100%; }
.ms-rows i:nth-child(2)::after { transition-delay: .2s; } .ms-rows i:nth-child(3)::after { transition-delay: .4s; }
.mw-nodes { position: relative; width: 200px; height: 140px; }
.mw-nodes > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mw-nodes > svg path { stroke: #C5CCF0; stroke-width: 1.5; stroke-dasharray: 4 5; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.mw-nodes .hub { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 16px; background: var(--midnight); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(10,26,58,.5); z-index: 1; }
.mw-nodes .hub svg { width: 30px; height: auto; }
.mw-nodes .hub path { stroke: none; animation: none; }
.mw-nodes .n { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); z-index: 1; }
.mw-nodes .n { display: grid; place-items: center; color: var(--violet); }
.n1 { left: 17%; top: 20%; } .n2 { left: 83%; top: 20%; } .n3 { left: 17%; top: 80%; } .n4 { left: 83%; top: 80%; }
.mw-bars { display: flex; align-items: flex-end; gap: 12px; height: 150px; }
.mw-bars span { width: 26px; height: var(--h); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--violet), #8C80FF); transform-origin: bottom; }
.js .m-card .mw-bars span { transform: scaleY(0); transition: transform 1s var(--ease); }
.js .m-card.is-in .mw-bars span { transform: none; }
.mw-bars span:nth-child(2) { transition-delay: .06s; } .mw-bars span:nth-child(3) { transition-delay: .12s; } .mw-bars span:nth-child(4) { transition-delay: .18s; } .mw-bars span:nth-child(5) { transition-delay: .24s; } .mw-bars span:nth-child(6) { transition-delay: .3s; }

/* ---------- Areas (dark, Mercury-style list + stage) ---------- */
.areas { overflow: hidden; }
.areas::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50rem 30rem at 85% 30%, rgba(91,75,255,.22), transparent 60%); pointer-events: none; }
.areas-grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.areas-copy .section-head { margin-bottom: 40px; }
.area-list { border-top: 1px solid var(--line-dark); }
.area-item { border-bottom: 1px solid var(--line-dark); position: relative; }
.area-item::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: #A79EFF; transition: width .6s var(--ease); }
.area-item.is-active::before { width: 100%; }
.area-item button { width: 100%; text-align: left; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; }
.ai-title { font-size: 19px; font-weight: 500; letter-spacing: -.015em; color: var(--on-dark-3); transition: color .3s; }
.ai-branch { font-size: 12.5px; font-weight: 500; color: var(--on-dark-3); padding: 3px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-dark); }
.area-item.is-active .ai-branch { color: #C9C3FF; box-shadow: inset 0 0 0 1px rgba(167,158,255,.4); }
.area-item button:hover .ai-title, .area-item.is-active .ai-title { color: var(--on-dark); }
.ai-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.area-item.is-active .ai-body { grid-template-rows: 1fr; }
.ai-body > div { overflow: hidden; }
.ai-body p { font-size: 15.5px; color: var(--on-dark-2); padding-bottom: 12px; max-width: 420px; }
.ai-body .link { color: #A79EFF; padding-bottom: 20px; font-size: 15px; }
.areas-stage { position: sticky; top: calc(var(--header-h) + 40px); height: 580px; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; }
.area-viz { position: absolute; inset: 0; display: grid; place-items: center; padding: 40px; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
.area-viz.is-active { opacity: 1; transform: none; pointer-events: auto; }

/* Illustrations */
.viz { position: relative; width: min(100%, 460px); color: var(--midnight); font-size: 12px; }
.viz small { color: var(--muted); font-size: 11.5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px rgba(43,217,200,.2); }
.viz-phones { display: flex; justify-content: center; align-items: center; height: 400px; }
.phone { position: relative; width: 190px; height: 390px; border-radius: 34px; padding: 40px 14px 14px; background: #fff; box-shadow: 0 0 0 7px #0D1B3D, var(--shadow-float); display: flex; flex-direction: column; gap: 10px; z-index: 1; }
.phone-back { position: absolute; transform: translateX(110px) scale(.86) rotate(6deg); z-index: 0; opacity: .9; }
.phone .notch { position: absolute; top: 12px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 10px; background: #0D1B3D; }
.ph-head { height: 12px; width: 55%; border-radius: 6px; background: var(--midnight); }
.ph-card { height: 118px; border-radius: 16px; background: linear-gradient(135deg, var(--violet), #9C8CFF); }
.ph-card.alt { background: linear-gradient(135deg, #FF5E8A, #FFB547); }
.ph-list { display: grid; gap: 8px; }
.ph-list i { height: 38px; border-radius: 10px; background: var(--subtle); }
.ph-tab { margin-top: auto; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid var(--line); }
.ph-tab b { width: 18px; height: 18px; border-radius: 6px; background: var(--line); }
.ph-tab b:first-child { background: var(--violet); }
.viz-dash { display: grid; grid-template-columns: 48px 1fr; border-radius: 16px; background: #fff; box-shadow: var(--shadow-float); overflow: hidden; }
.viz-dash aside { background: var(--subtle); display: grid; gap: 12px; align-content: start; justify-items: center; padding: 16px 0; }
.viz-dash aside i { width: 20px; height: 20px; border-radius: 6px; background: var(--line); }
.viz-dash aside i.on { background: var(--violet); }
.logo-dot { width: 22px; height: 22px; border-radius: 7px; background: var(--midnight); margin-bottom: 6px; }
.vd-main { padding: 18px; display: grid; gap: 16px; }
.vd-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vd-tiles div { padding: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.vd-tiles b { display: block; margin-top: 4px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.vd-chart { height: 150px; display: flex; align-items: flex-end; gap: 10px; padding: 12px; border-radius: 12px; background: linear-gradient(180deg, transparent, var(--subtle)); }
.vd-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--violet), #A79EFF); }
.viz-pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-float); width: min(100%, 520px); }
.vp-col { display: grid; gap: 8px; align-content: start; padding: 10px; border-radius: 12px; background: var(--subtle); min-height: 230px; }
.vp-col small { font-weight: 500; margin-bottom: 2px; }
.vp-card { display: grid; gap: 6px; padding: 10px; border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(10,26,58,.08); }
.vp-card i { height: 8px; width: 70%; border-radius: 4px; background: var(--midnight); opacity: .8; }
.vp-card s { height: 6px; width: 45%; border-radius: 3px; background: var(--line); }
.vp-card.won { box-shadow: inset 3px 0 0 var(--aqua), 0 1px 2px rgba(10,26,58,.08); }
.viz-brand { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.viz-brand > * { border-radius: 16px; background: #fff; box-shadow: var(--shadow-float); }
.vbr-type { grid-row: span 2; display: grid; place-items: center; font-size: 110px; font-weight: 550; letter-spacing: -.05em; color: var(--midnight); min-height: 260px; }
.vbr-swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.vbr-swatches span { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(10,26,58,.08); }
.vbr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.vbr-grid i { aspect-ratio: 1.4; border-radius: 8px; background: var(--subtle); }
.vbr-grid i:first-child { background: var(--violet-50); }
.viz-growth { padding: 20px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-float); }
.vg-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.vg-head b { font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: var(--midnight); }
.viz-growth svg { width: 100%; height: 170px; }
.vg-line { stroke-dasharray: 420; stroke-dashoffset: 420; }
.area-viz.is-active .vg-line, .row-viz.is-in .vg-line { animation: drawlong 1.8s var(--ease) forwards .2s; }
@keyframes drawlong { to { stroke-dashoffset: 0; } }
.vg-legend { display: flex; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.vg-legend span { display: inline-flex; align-items: center; gap: 6px; }
.vg-legend i { width: 8px; height: 8px; border-radius: 50%; }
.viz-roadmap { padding: 20px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-float); display: grid; gap: 14px; }
.vr-head { display: grid; grid-template-columns: repeat(4, 1fr); margin-left: 84px; color: var(--muted); font-size: 11.5px; font-weight: 500; }
.vr-row { display: grid; grid-template-columns: 84px 1fr; align-items: center; position: relative; }
.vr-row small { font-weight: 500; color: var(--midnight); }
.vr-row b { position: relative; height: 26px; border-radius: 8px; background: var(--subtle); }
.vr-row b::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--s); width: calc(var(--e) - var(--s)); border-radius: 8px; background: var(--midnight); }
.vr-row b.v::after { background: var(--violet); }
.vr-row b.a::after { background: var(--aqua); }

.viz-event { width: min(100%, 400px); }
.ve-card { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-float); overflow: hidden; }
.ve-cover { position: relative; height: 150px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: radial-gradient(80% 120% at 80% 0%, #FF5E8A, transparent 60%), radial-gradient(70% 100% at 10% 100%, #B05CFF, transparent 60%), var(--violet); }
.ve-cover b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.ve-cover small { color: rgba(255,255,255,.8); font-size: 12px; }
.ve-live { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: 11.5px; font-weight: 600; backdrop-filter: blur(6px); }
.ve-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.ve-body { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px; }
.ve-date { display: grid; place-items: center; align-content: center; height: 64px; border-radius: 12px; background: var(--subtle); }
.ve-date b { font-size: 24px; font-weight: 600; line-height: 1; color: var(--midnight); }
.ve-date small { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; color: var(--violet); }
.ve-body ul { display: grid; gap: 8px; font-size: 13px; color: var(--midnight); }
.ve-body li span { display: inline-block; width: 46px; color: var(--muted); }
.ve-rsvp { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }
.ve-bar { height: 8px; border-radius: 4px; background: var(--subtle); overflow: hidden; }
.ve-bar i { display: block; height: 100%; width: 86%; border-radius: 4px; background: linear-gradient(90deg, var(--violet), #FF5E8A); }

.viz-hosting { display: grid; gap: 12px; width: min(100%, 420px); }
.vh-search { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-float); }
.vh-q { font-size: 18px; font-weight: 550; letter-spacing: -.01em; color: var(--midnight); }
.vh-q b { font-weight: 550; color: var(--violet); }
.vh-search em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 12.5px; font-weight: 600; color: #129E91; padding: 5px 10px; border-radius: 999px; background: rgba(43,217,200,.14); }
.vh-servers { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-float); }
.vh-row { display: grid; grid-template-columns: 30px 1fr 90px 10px; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; background: var(--subtle); }
.vh-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--midnight); color: #fff; }
.vh-row b { display: block; font-size: 13px; font-weight: 600; }
.vh-row small { font-size: 11.5px; }
.vh-load { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.vh-load i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--violet), #A79EFF); }
.vh-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.vh-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-card); font-size: 12.5px; font-weight: 500; color: var(--midnight); }
.vh-badges .ico { color: var(--violet); }

/* ---------- Photography (shown only when the files exist) ---------- */
.photo-band { padding: 0 0 var(--section); }
.photo-band-frame { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 7; background: var(--night); }
.photo-band-img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 88%; transform: scale(1.2); transition: transform 2.4s var(--ease); }
.photo-band-frame.is-in .photo-band-img { transform: scale(1.12); }
.photo-band-frame figcaption { position: absolute; left: 0; right: 0; top: 0; padding: clamp(28px, 4vw, 52px) max(clamp(24px, 4vw, 48px), calc(100% - 820px)) 90px clamp(28px, 4vw, 52px); font-size: clamp(18px, 2vw, 26px); line-height: 1.35; letter-spacing: -.015em; color: #fff; text-wrap: balance; background: linear-gradient(180deg, rgba(7,18,41,.45), rgba(7,18,41,.12) 60%, transparent); }
.photo-band-frame figcaption span { font-weight: 600; }
.story-side { display: grid; gap: 24px; align-content: start; }
.story-img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.aud-img { width: calc(100% + var(--pad) * 2); max-width: none; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 8px; aspect-ratio: 15 / 7; height: auto; object-fit: cover; object-position: center 55%; }
.aud-card:has(.aud-img) { overflow: hidden; }
.row-viz.has-photo { position: relative; isolation: isolate; }
.row-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.row-viz.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,18,41,.05), rgba(7,18,41,.35)); }
@media (max-width: 640px) {
  .photo-band-frame { aspect-ratio: auto; }
  .photo-band-img { height: auto; aspect-ratio: 4 / 3; display: block; transform: none !important; }
  .photo-band-frame figcaption { position: static; background: var(--night); }
}

/* ---------- Audiences ---------- */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aud-card { --pad: clamp(28px, 4vw, 48px); display: grid; gap: 16px; align-content: start; justify-items: start; padding: var(--pad); border-radius: var(--radius-lg); background: var(--subtle); }
.aud-card h3 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.03em; }
.aud-card p { font-size: 17px; max-width: 460px; }
.aud-card ul { display: grid; gap: 10px; margin: 8px 0 12px; }
.aud-card li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; color: var(--midnight); }
.aud-card li .ico { color: var(--violet); }
.aud-dark { background: var(--night); color: var(--on-dark-2); position: relative; overflow: hidden; }
.aud-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40rem 20rem at 100% 0%, rgba(91,75,255,.35), transparent 60%); pointer-events: none; }
.aud-dark > * { position: relative; }
.aud-dark h3, .aud-dark li { color: var(--on-dark); }
.aud-dark li .ico { color: #A79EFF; }

/* ---------- Platform grid ---------- */
.platform { background: var(--subtle); }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-item { padding: 32px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; align-content: start; transition: box-shadow .35s, transform .5s var(--ease); }
.p-item:hover { box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); transform: translateY(-3px); }
.p-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--violet-50); color: var(--violet); margin-bottom: 8px; }
.p-item h3 { font-size: 19px; letter-spacing: -.015em; }
.p-item p { font-size: 15.5px; }

/* ---------- Principles ---------- */
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pr-card { padding: 36px; border-radius: var(--radius); background: var(--subtle); display: grid; gap: 12px; align-content: start; min-height: 220px; }
.pr-no { font-size: 14px; font-weight: 600; color: var(--violet); }
.pr-card h3 { font-size: 24px; letter-spacing: -.02em; margin-top: 12px; }

/* ---------- Careers band ---------- */
.careers-band { padding-top: 0; }
.band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); min-height: 460px; display: flex; align-items: flex-end; padding: clamp(32px, 5vw, 64px); color: #fff; }
.band .wave { z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,18,41,.88) 0%, rgba(7,18,41,.55) 45%, rgba(7,18,41,0) 75%); }
.band-copy { display: grid; gap: 18px; justify-items: start; max-width: 520px; }
.band-copy .h2 { color: #fff; }
.band-copy p:not(.eyebrow) { color: rgba(255,255,255,.78); font-size: 18px; }
.band-copy .btn { margin-top: 8px; }

/* ---------- Closing ---------- */
.closing { padding: 0 0 var(--section); }
.closing-inner { text-align: center; display: grid; gap: 20px; justify-items: center; max-width: 720px; }
.closing-inner p { font-size: 19px; max-width: 520px; }
.closing-inner .actions { justify-content: center; margin-top: 8px; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(72px, 12vh, 128px)) 0 clamp(80px, 10vw, 128px); }
.page-hero .wave { z-index: -1; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
.page-hero-grid.no-visual { grid-template-columns: minmax(0, 860px); }
.page-hero-copy { display: grid; gap: 22px; justify-items: start; }
.page-hero .lead { max-width: 560px; }
/* On narrower screens the gradient runs behind the hero text: keep it readable. */
@media (max-width: 900px) { .page-hero .eyebrow, .page-hero .lead { color: var(--midnight); } }
.page-hero-visual { position: relative; min-height: 380px; display: grid; place-items: center; }

/* Glass card on inner page heroes: the emblem with a page-specific effect */
.glass { background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.38)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 30px 60px -24px rgba(10,26,58,.32); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
.hx { position: relative; container-type: size; width: min(100%, 460px); aspect-ratio: 5 / 4; border-radius: 28px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hx > * { grid-area: 1 / 1; }
.hx > :not(.hx-caption) { margin-bottom: 10cqh; }
.hx-caption { position: absolute; left: 24px; bottom: 20px; font-size: 13.5px; font-weight: 500; color: var(--midnight); opacity: .72; letter-spacing: -.005em; }
.hx-tile { position: relative; z-index: 2; width: clamp(72px, 28cqh, 104px); height: clamp(72px, 28cqh, 104px); border-radius: 29px; display: grid; place-items: center; background: var(--midnight); color: #fff; box-shadow: 0 20px 40px -12px rgba(10,26,58,.55), 0 0 0 1px rgba(255,255,255,.08) inset; }
.hx-tile svg { width: 58%; height: auto; }

/* About: the emblem draws itself, a light passes over the glass */
.hx-emblem { width: 54%; height: auto; color: var(--midnight); overflow: visible; }
.hx-emblem path { fill: currentColor; fill-opacity: 0; stroke: var(--midnight); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hx-draw 3s var(--ease) .3s forwards, hx-fill 1.4s ease 2.4s forwards; }
@keyframes hx-draw { to { stroke-dashoffset: 0; } }
@keyframes hx-fill { to { fill-opacity: .92; } }
.hx-about::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%); transform: translateX(-70%); animation: hx-sheen 7s ease-in-out 3.6s infinite; pointer-events: none; }
@keyframes hx-sheen { 0% { transform: translateX(-70%); } 35%, 100% { transform: translateX(70%); } }

/* What we do: a segmented ring, one segment per capability, lit in turn */
.hx-ring { width: 66cqh; height: 66cqh; overflow: visible; animation: spin-slow 40s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.hx-ring .hx-orbit { fill: none; stroke: rgba(10,26,58,.08); stroke-width: 1; stroke-dasharray: 2 6; }
.hx-ring path { fill: none; stroke: url(#hxg); stroke-width: 14; stroke-linecap: round; opacity: .22; animation: hx-seg 7s ease-in-out infinite; animation-delay: calc(var(--k) * 1s); }
@keyframes hx-seg { 0%, 12% { opacity: 1; } 26%, 100% { opacity: .22; } }

/* Careers: points of light drift in and join */
.hx-dot { position: relative; z-index: 1; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 2px rgba(91,75,255,.55); opacity: 0; animation: hx-join 6s cubic-bezier(.5, 0, .2, 1) infinite; animation-delay: calc(var(--k) * -.43s); }
@keyframes hx-join { 0% { transform: translate(var(--x), var(--y)) scale(1); opacity: 0; } 15% { opacity: 1; } 80% { opacity: .9; } 100% { transform: translate(0, 0) scale(.3); opacity: 0; } }

/* Contact: signal rings travel outwards */
.hx-ripple { position: relative; z-index: 1; width: 104px; height: 104px; border-radius: 29px; border: 1.5px solid rgba(91,75,255,.55); opacity: 0; animation: hx-ripple 4.5s cubic-bezier(.2, .6, .3, 1) infinite; }
.hx-ripple:nth-child(2) { animation-delay: 1.5s; } .hx-ripple:nth-child(3) { animation-delay: 3s; }
@keyframes hx-ripple { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; border-radius: 50%; } }

/* What we do rows */
.area-rows { display: grid; gap: clamp(72px, 9vw, 128px); }
.area-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; scroll-margin-top: calc(var(--header-h) + 72px); }
.area-row:nth-child(even) .row-copy { order: 2; }
.row-copy { display: grid; gap: 18px; align-content: start; }
.row-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--violet-50); color: var(--violet); }
.row-copy h2 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.03em; line-height: 1.1; }
.row-copy > p { font-size: 18px; }
.covers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 6px; }
.covers li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--midnight); }
.covers .ico { color: var(--violet); margin-top: 3px; }
.row-viz { min-height: 460px; border-radius: var(--radius-lg); background: var(--subtle); display: grid; place-items: center; padding: 40px; overflow: hidden; }
.row-viz .viz-phones { height: 380px; }
.jump { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); transition: top .45s var(--ease); }
body:has(.site-header.is-hidden) .jump { top: 0; }
.jump ul { display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
@media (max-width: 900px) { .jump ul { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: inline-block; white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--body); transition: background-color .2s, color .2s; }
.jump a:hover { background: var(--subtle); color: var(--midnight); }
.jump a.is-active { background: var(--midnight); color: #fff; }

/* About */
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); }
.story-body { display: grid; gap: 22px; align-content: start; font-size: 18px; }
.story-body p:first-child { font-size: clamp(22px, 2vw, 28px); line-height: 1.4; letter-spacing: -.02em; color: var(--midnight); }
.structure { display: grid; gap: 14px; justify-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--subtle); }
.platform .structure { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.st-node { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); font-weight: 550; color: var(--midnight); }
.st-node.top { background: var(--midnight); color: #fff; }
.st-node.top svg { width: 26px; height: auto; color: #fff; }
.st-line { width: 1px; height: 28px; background: #C5CCF0; }
.st-platform { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; padding: 12px 20px; border-radius: 12px; background: var(--violet-50); color: var(--violet); font-weight: 550; font-size: 15px; text-align: center; }
.st-platform b { font-weight: 650; }
.facts { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); }
.facts dl { margin: 0; border-top: 1px solid var(--line); }
.facts dl div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; color: var(--midnight); }
.facts a { color: var(--violet); }

/* Careers */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.expect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.expect li { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line); }
.expect b { color: var(--midnight); font-weight: 550; font-size: 18px; letter-spacing: -.015em; }
.expect p { font-size: 15.5px; }
.apply { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.apply-copy { display: grid; gap: 18px; align-content: start; position: sticky; top: calc(var(--header-h) + 32px); }
.apply-copy .note { padding: 20px; border-radius: var(--radius-sm); background: var(--subtle); font-size: 15.5px; }
.apply-copy .note b { display: block; color: var(--midnight); font-weight: 550; margin-bottom: 4px; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-options { display: grid; gap: 12px; }
.c-option { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--subtle); transition: background-color .25s; }
a.c-option:hover { background: #EEF2F8; }
.c-option .p-icon { margin: 0; }
.c-option b { display: block; color: var(--midnight); font-weight: 550; font-size: 17px; }
.c-option p { font-size: 15px; }
.c-option .addr { color: var(--midnight); }
.form-card { padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 500; color: var(--midnight); }
.opt { font-weight: 400; color: var(--muted); margin-left: 4px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .select select {
  width: 100%; font: inherit; font-size: 16px; color: var(--midnight); background: #fff;
  border: 1px solid #949DB0; border-radius: 10px; padding: 12px 14px; min-height: 48px;
  box-shadow: 0 1px 2px rgba(10,26,58,.04); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #A9B2C3; }
.field input:hover, .field textarea:hover, .select select:hover { border-color: #66728A; }
.field input:focus, .field textarea:focus, .select select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(91,75,255,.14); }
.field [aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(217,54,62,.1) !important; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 40px; cursor: pointer; }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 14.5px !important; color: var(--body) !important; cursor: pointer; line-height: 1.5; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid #949DB0; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.check input::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .2s var(--ease); }
.check input:checked { background: var(--violet); border-color: var(--violet); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.check a { color: var(--violet); }
.field-error { color: var(--danger); font-size: 13.5px; }
.form-alert { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; background: #FDECEE; color: #9E1C24; font-size: 15px; }
.form-actions { margin-top: 4px; }
.btn[data-submit].is-loading { pointer-events: none; opacity: .75; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: grid; gap: 12px; justify-items: start; padding: 16px 0; animation: rise .6s var(--ease); }
.form-success:focus { outline: none; }
.success-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(43,217,200,.14); color: #129E91; }
.form-success h2 { font-size: 24px; letter-spacing: -.02em; }

/* Policy pages */
.doc { padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 var(--section); }
.doc .wrap { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: clamp(32px, 6vw, 96px); }
.doc-aside { grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 10px; }
.doc-aside a { font-size: 15px; color: var(--body); }
.doc-aside a:hover, .doc-aside a[aria-current] { color: var(--midnight); font-weight: 500; }
.doc-head { grid-column: 2; display: grid; gap: 12px; margin-bottom: 16px; }
.doc-head .updated { color: var(--muted); font-size: 15px; }
.doc article { grid-column: 2; }
.doc article h2 { font-size: 24px; letter-spacing: -.02em; margin: 44px 0 12px; }
.doc article p, .doc article li { font-size: 16.5px; }
.doc article p + p { margin-top: 14px; }
.doc article ul { list-style: disc; padding-left: 22px; margin: 14px 0; display: grid; gap: 8px; }
.doc article a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.doc article strong { font-weight: 550; color: var(--midnight); }

/* 404 */
.lost { min-height: 88svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 80px; }
.lost .wave { z-index: -1; }
.lost .wrap { display: grid; gap: 22px; justify-items: center; }
.lost p:not(.eyebrow) { max-width: 440px; font-size: 18px; }
.lost p.lost-links { margin-top: 28px; font-size: 15.5px; color: var(--muted); }
.lost-links a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--night); color: var(--on-dark-2); padding: clamp(80px, 9vw, 120px) 0 0; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #5B4BFF 25%, #B05CFF 50%, #FF5E8A 75%, transparent); opacity: .7; }
.site-footer::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50rem 26rem at 85% 0%, rgba(91,75,255,.22), transparent 60%), radial-gradient(40rem 24rem at 0% 100%, rgba(176,92,255,.14), transparent 60%); }
.footer-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.8fr); gap: clamp(48px, 6vw, 96px); align-items: start; padding-bottom: clamp(56px, 6vw, 80px); }
.footer-brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.footer-slogan { margin-top: 8px; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.03em; font-weight: 550; color: var(--on-dark); max-width: 12em; }
.footer-brand > p:not(.footer-slogan) { max-width: 380px; font-size: 16px; }
.footer-end { display: flex; align-items: center; gap: 20px; }
.social { display: flex; gap: 6px; }
.social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--on-dark-2); box-shadow: inset 0 0 0 1px var(--line-dark); transition: color .2s, background-color .2s; }
.social a:hover { color: #fff; background: rgba(255,255,255,.08); }
.direct { padding: 24px; border-radius: var(--radius); background: var(--night); color: var(--on-dark-2); }
.direct-title { font-size: 17px; font-weight: 600; color: var(--on-dark); margin-bottom: 8px; }
.direct dl { margin: 0; }
.direct dl div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line-dark); }
.direct dl div:first-child { border-top: 0; }
.direct dt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-dark-3); }
.direct dt .ico { color: #B9B2FF; }
.direct dd { margin: 0; padding-left: 24px; font-size: 15.5px; color: var(--on-dark); }
.direct a:hover { color: #B9B2FF; }
.footer-mail { margin-top: 6px; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--on-dark); padding: 9px 16px 9px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-dark); transition: background-color .2s; }
.footer-mail .ico { color: #B9B2FF; }
.footer-mail:hover { background: rgba(255,255,255,.06); }
.btn-ghost-dark { color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.08); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; align-content: start; padding-top: 6px; }
@media (max-width: 1180px) { .footer-top { grid-template-columns: 1fr; } .footer-brand > p:not(.footer-slogan) { max-width: 520px; } }
.footer-cols h2 { font-size: 14px; font-weight: 600; color: var(--on-dark); margin-bottom: 20px; white-space: nowrap; }
.footer-cols ul { display: grid; gap: 14px; }
.footer-cols li { line-height: 1.35; }
.footer-cols a { font-size: 15px; color: var(--on-dark-2); white-space: nowrap; transition: color .2s; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: var(--on-dark-3); }
.to-top { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; color: var(--on-dark-2); box-shadow: inset 0 0 0 1px var(--line-dark); transition: color .2s, background-color .2s; }
.to-top:hover { color: #fff; background: rgba(255,255,255,.06); }
/* The wordmark, set full width with the brand gradient moving through it. */
.footer-word { position: relative; width: 100%; aspect-ratio: 3456 / 943; margin: 8px 0 -2.2%; opacity: .95;
  -webkit-mask: url("/assets/img/mabeyn-logo-siyah.svg") center / contain no-repeat; mask: url("/assets/img/mabeyn-logo-siyah.svg") center / contain no-repeat; }
.js .footer-word { opacity: 0; transform: translateY(40px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.js .site-footer.is-in .footer-word { opacity: .95; transform: none; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Above the fold plays on load. */
.js .hero [data-reveal], .js .page-hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: rise 1s var(--ease) both; }
.js .hero-copy [data-reveal]:nth-child(2), .js .page-hero [data-reveal]:nth-child(2) { animation-delay: .06s; }
.js .hero-copy [data-reveal]:nth-child(3), .js .page-hero [data-reveal]:nth-child(3) { animation-delay: .12s; }
.js .hero-copy [data-reveal]:nth-child(4) { animation-delay: .18s; }
.js .hero-visual[data-reveal] { animation: rise-in 1.4s var(--ease) both .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(40px) scale(.98); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .orbit { margin: 0 auto; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-visual { min-height: 0; padding: 40px 20px; border-radius: 28px; overflow: hidden;
    background: radial-gradient(60% 50% at 25% 20%, #5B4BFF, transparent 70%), radial-gradient(55% 50% at 80% 30%, #B05CFF, transparent 70%), radial-gradient(50% 45% at 70% 85%, #FF5E8A, transparent 70%), radial-gradient(40% 35% at 15% 90%, #FFB547, transparent 70%), #7A5BFF; }
  .hero-visual { border-radius: 28px; overflow: hidden; padding: 12px;
    background: radial-gradient(60% 50% at 25% 20%, #5B4BFF, transparent 70%), radial-gradient(55% 50% at 80% 30%, #B05CFF, transparent 70%), radial-gradient(50% 45% at 70% 85%, #FF5E8A, transparent 70%), radial-gradient(40% 35% at 15% 90%, #FFB547, transparent 70%), #7A5BFF; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  body { font-size: 16px; }
  .wave-hero { height: 420px; clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%); -webkit-mask-image: linear-gradient(180deg, #000 20%, rgba(0,0,0,.25) 70%, transparent); mask-image: linear-gradient(180deg, #000 20%, rgba(0,0,0,.25) 70%, transparent); }
  .wave-page { -webkit-mask-image: linear-gradient(180deg, #000 10%, rgba(0,0,0,.2) 70%, transparent); mask-image: linear-gradient(180deg, #000 10%, rgba(0,0,0,.2) 70%, transparent); }
  .model-grid, .principle-grid, .values-grid, .aud-grid { grid-template-columns: 1fr; }
  .areas-grid, .area-row, .story, .facts, .apply, .contact-wrap, .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .area-row:nth-child(even) .row-copy { order: 0; }
  .areas-stage { position: relative; top: 0; height: 420px; }
  .apply-copy { position: static; }
  .expect { grid-template-columns: 1fr 1fr; }
  .doc .wrap { grid-template-columns: 1fr; }
  .doc-aside { display: none; }
  .doc-head, .doc article { grid-column: 1; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 40px); }
  /* A straight fade on phones: the diagonal edge would cut through the heading. */
  .wave-hero, .wave-page { height: 220px; clip-path: none; }
  .wave-page { -webkit-mask-image: linear-gradient(180deg, #000 32%, rgba(0,0,0,.25) 75%, transparent); mask-image: linear-gradient(180deg, #000 32%, rgba(0,0,0,.25) 75%, transparent); }
  .orbit { aspect-ratio: 1 / 1.05; }

  .actions .btn { flex: 1 1 auto; }
  .platform-grid, .expect, .covers, .form { grid-template-columns: 1fr; }
  .m-well { height: 220px; }
  .areas-stage { height: 380px; }
  .area-viz { padding: 20px; }
  .viz-phones { transform: scale(.82); }
  .vbr-type { font-size: 80px; min-height: 200px; }
  .row-viz { min-height: 360px; padding: 20px; }
  .band { min-height: 420px; }
  .band::after { background: linear-gradient(0deg, rgba(7,18,41,.92) 0%, rgba(7,18,41,.6) 55%, rgba(7,18,41,.1) 100%); }
  .facts dl div { grid-template-columns: 1fr; gap: 4px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Teams (what we do + about) ---------- */
.row-meta { display: flex; align-items: center; gap: 12px; }
.row-branch { font-size: 13.5px; font-weight: 600; color: var(--violet); padding: 5px 12px; border-radius: 999px; background: var(--violet-50); }
.st-branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; }
.st-branch { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.st-branch b { color: var(--midnight); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.st-branch span { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--midnight); }
.st-branch .ico { color: var(--violet); }
@media (max-width: 900px) { .st-branches { grid-template-columns: 1fr; } }

/* ---------- Phones: tighter rhythm, simpler effects ---------- */
@media (max-width: 640px) {
  :root { --section: 72px; }
  .section-head { margin-bottom: 36px; gap: 14px; }
  .section-head .intro { font-size: 17px; }
  .h2 { font-size: 30px; }
  .lead { font-size: 17px; }
  .hero-copy { gap: 22px; }
  .hero { padding-bottom: 8px; }

  /* Orbit: icon-only marks, so nothing overlaps */
  .orbit-items li { padding: 0; gap: 0; border-radius: 50%; }
  .oi-label { display: none; }
  .oi-icon { width: 40px; height: 40px; background: rgba(255,255,255,.92); }
  .oi-icon .ico { width: 18px; height: 18px; }
  .core-glass { width: 112px; }

  .statement-head { margin-bottom: 40px; }
  .model-grid { gap: 40px; }
  .m-well { height: auto; min-height: 180px; padding: 20px 12px; }
  .mw-chips { padding: 0; gap: 6px; }
  .mw-chips span { font-size: 12px; padding: 6px 10px; }

  .areas-copy .section-head { margin-bottom: 24px; }
  .ai-title { font-size: 17px; }
  .areas-stage { height: 340px; margin-top: 8px; }
  .area-viz { padding: 16px; }
  .viz { transform: scale(.86); }
  .viz-phones { height: 300px; }
  .phone { width: 160px; height: 320px; }

  .platform-grid { gap: 10px; }
  .p-item { grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 4px; padding: 18px; }
  .p-icon { grid-row: span 2; width: 40px; height: 40px; margin: 0; }
  .p-item h3 { font-size: 17px; align-self: end; }
  .p-item p { font-size: 15px; }

  .pr-card, .value { min-height: 0; padding: 24px; gap: 8px; }
  .pr-card h3 { margin-top: 10px; font-size: 20px; }

  .aud-card { --pad: 24px; gap: 12px; }
  .aud-card h3 { font-size: 24px; }

  .band { min-height: 0; padding: 32px 24px; border-radius: 24px; }
  .band-copy p:not(.eyebrow) { font-size: 16px; }
  .photo-band-frame { border-radius: 24px; }
  .photo-band-frame figcaption { font-size: 15.5px; padding: 18px 20px 22px; }

  /* Inner pages: copy only above the fold; the glass card is a desktop flourish */
  .page-hero { padding-bottom: 56px; }
  .page-hero-visual { display: none; }

  .area-rows { gap: 56px; }
  .row-copy { gap: 14px; }
  .row-copy h2 { font-size: 28px; }
  .row-copy > p { font-size: 16px; }
  .row-viz { min-height: 280px; padding: 16px; border-radius: 22px; }
  .row-viz .viz { transform: scale(.82); }

  .story-img { aspect-ratio: 4 / 3; }
  .structure { padding: 24px 16px; }

  .contact-wrap { gap: 24px; }
  .contact-wrap .form-card { order: -1; }
  .c-option { padding: 16px; }
  .form-card { padding: 22px 18px; border-radius: 22px; }

  .closing-inner p { font-size: 17px; }
}

/* ---------- Chat: launcher in the corner, a short form in a bubble above it ---------- */
.chat { display: none; position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 45; }
.js .chat { display: grid; justify-items: end; gap: 14px; }
body.menu-open .chat { display: none; }
.chat-launcher {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 15.5px; font-weight: 600; color: #fff; background: var(--midnight);
  box-shadow: 0 1px 2px rgba(10,26,58,.2), 0 16px 36px -12px rgba(10,26,58,.55), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .3s var(--ease), background-color .2s;
}
.chat-launcher:hover { background: #12244C; transform: translateY(-2px); }
.chat-launcher-ico { position: relative; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), #B05CFF); }
.chat-launcher-ico .ico { width: 17px; height: 17px; }
.chat-launcher-ico .ico-chat { fill: #fff; stroke: none; }
.chat-launcher-ico .ico-x { display: none; color: #fff; }
.chat.is-open .ico-chat { display: none; }
.chat.is-open .ico-x { display: block; }
.chat-panel {
  width: min(380px, calc(100vw - 32px)); max-height: calc(100dvh - 120px); overflow: auto; overscroll-behavior: contain;
  border-radius: var(--radius-lg) var(--radius-lg) 8px var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px rgba(10,26,58,.06), var(--shadow-float);
  transform-origin: 100% 100%; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.96);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.chat.is-open .chat-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s; }
.chat-head { position: relative; display: grid; grid-template-columns: 44px 1fr 32px; gap: 14px; align-items: start; padding: 22px 20px 22px 22px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, rgba(91,75,255,.55), transparent 60%), var(--midnight); }
.chat-mark { width: 44px; height: 44px; border-radius: 28%; display: grid; place-items: center; background: #fff; color: var(--midnight); }
.chat-mark svg { width: 60%; height: auto; }
.chat-head h2 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin: 2px 0 4px; color: #fff; }
.chat-head p { font-size: 14px; line-height: 1.45; color: var(--on-dark-2); margin: 0; }
.chat-close { width: 32px; height: 32px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--on-dark-2); background: rgba(255,255,255,.08); transition: background-color .2s, color .2s; }
.chat-close:hover { color: #fff; background: rgba(255,255,255,.16); }
.chat-close .ico { width: 16px; height: 16px; }
.chat-form { display: grid; gap: 14px; padding: 20px 22px 22px; }
.chat-form .field { gap: 6px; }
.chat-form .field label { font-size: 13.5px; }
.chat-form input[type="text"], .chat-form input[type="email"], .chat-form input[type="tel"], .chat-form textarea { min-height: 44px; padding: 10px 12px; font-size: 15px; }
.chat-form textarea { min-height: 92px; }
.chat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chat-start { width: 100%; justify-content: center; margin-top: 2px; }
@media (max-width: 640px) {
  .chat { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .chat-launcher { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .chat-launcher-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chat-launcher-ico { width: 34px; height: 34px; background: none; }
  .chat-launcher-ico .ico { width: 22px; height: 22px; }
  .chat-panel { width: calc(100vw - 32px); max-height: calc(100dvh - 104px); }
  .chat-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .chat-panel, .chat.is-open .chat-panel, .chat-launcher { transition: none; } }

