/* =========================================================
   KD AI LABS — light, modern theme
   ========================================================= */
:root {
  --ink: #0A2540;
  --ink-2: #425466;
  --ink-3: #6B7C93;
  --line: #E3E8EE;
  --line-2: #EEF2F6;
  --soft: #F6F9FC;
  --white: #fff;

  --accent: #635BFF;
  --accent-600: #5148F0;
  --accent-50: #F0EFFF;
  --violet: #7A5CFF;
  --cyan: #00B4FF;
  --pink: #FF5CA8;
  --amber: #FFB547;
  --green: #0E9F55;
  --green-50: #E7F8EF;
  --blue-50: #E8F6FF;
  --pink-50: #FFEEF6;
  --amber-50: #FFF6E6;

  --grad-text: linear-gradient(92deg, #6A4CFF 0%, #B44CF0 38%, #FF5C8A 70%, #FF9F43 100%);
  --grad-line: linear-gradient(90deg, #7A5CFF, #00B4FF);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.06);
  --shadow: 0 2px 5px -1px rgba(50,50,93,.12), 0 1px 3px -1px rgba(0,0,0,.1);
  --shadow-lg: 0 30px 60px -12px rgba(50,50,93,.22), 0 18px 36px -18px rgba(0,0,0,.25);
  --shadow-xl: 0 50px 100px -20px rgba(50,50,93,.25), 0 30px 60px -30px rgba(0,0,0,.3);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.6; color: var(--ink-2); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: #D9D6FF; color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
main [id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.wrap { position: relative; width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 44px; padding: .6rem 1.15rem; border: 0; border-radius: 999px;
  font: 600 15px/1.2 var(--font); letter-spacing: -0.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .25s, transform .25s var(--ease);
}
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(2px); }
.btn--lg { min-height: 52px; padding: .8rem 1.5rem; font-size: 16px; }
.btn--sm { min-height: 38px; padding: .45rem .95rem; font-size: 14px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(99,91,255,.6); }
.btn--primary:hover { background: var(--accent-600); box-shadow: 0 10px 24px -8px rgba(99,91,255,.7); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #12345A; }
.btn--ghost { background: rgba(255,255,255,.7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px #C9D3DF, var(--shadow); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--soft); }
.btn--wa { background: var(--green); color: #fff; }
.btn--wa:hover { background: #0B8547; }
.btn--rieva { background: #6D3BEB; color: #fff; }
.btn--rieva:hover { background: #5A2BD4; }
.btn--exim { background: #12C8E6; color: #062033; }
.btn--exim:hover { background: #5EDCF0; }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.link-arrow .i { transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translate(2px, -1px); }

/* ---------- Icon tiles, chips, tags ---------- */
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.ico .i { width: 22px; height: 22px; }
.ico--sm { width: 36px; height: 36px; border-radius: 10px; }
.ico--sm .i { width: 18px; height: 18px; }
.ico--violet { background: var(--accent-50); color: var(--accent); }
.ico--blue { background: var(--blue-50); color: #0089D6; }
.ico--green { background: var(--green-50); color: var(--green); }
.ico--pink { background: var(--pink-50); color: #E0397F; }
.ico--amber { background: var(--amber-50); color: #C77700; }
.ico--white { background: rgba(255,255,255,.18); color: #fff; }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { padding: .25rem .65rem; border-radius: 999px; background: var(--soft); border: 1px solid var(--line-2); color: var(--ink-2); font-size: 13px; font-weight: 500; }

.eyebrow { display: inline-block; font-size: 15px; font-weight: 600; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow--light { background: linear-gradient(90deg, #A99BFF, #6FD3FF); -webkit-background-clip: text; background-clip: text; }
.eyebrow--green { background: none; color: var(--green); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.checks { display: grid; gap: .65rem; }
.checks li { position: relative; padding-left: 1.75rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23635BFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 68% no-repeat;
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section); }
.section--soft { background: var(--soft); }
.head { max-width: 720px; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.head h2 { margin-top: .75rem; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -0.035em; }
.head > p:not(.eyebrow), .head--split > p { margin-top: 1rem; font-size: 18px; line-height: 1.55; }
.head a { color: var(--accent); font-weight: 600; }
.head--center { margin-inline: auto; text-align: center; }
.head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem 4rem; align-items: end; }
.head--split > p { margin: 0; }
.lede { font-size: 18px; line-height: 1.55; }

/* =========================================================
   Navigation
   ========================================================= */
.nav { position: sticky; top: 0; z-index: 100; transition: background-color .25s, box-shadow .25s, backdrop-filter .25s; }
.nav.is-scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.8) blur(16px); -webkit-backdrop-filter: saturate(1.8) blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; gap: 2.5rem; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }

.menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.menu__list { display: flex; align-items: center; gap: .1rem; }
.menu__item { position: relative; }
.menu__link { display: inline-flex; align-items: center; gap: .25rem; padding: .5rem .8rem; border: 0; background: none; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.menu__link:hover, .menu__item.is-open > .menu__link { background: rgba(10,37,64,.05); }
.menu__link .i { opacity: .6; transition: transform .2s; }
.menu__item.is-open > .menu__link .i { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 12px); left: -1rem; z-index: 10;
  display: grid; grid-template-columns: 1fr 230px; gap: .75rem; width: min(800px, 90vw); padding: .75rem;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-xl), 0 0 0 1px rgba(10,37,64,.06);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top left;
  transition: opacity .18s, transform .25s var(--ease), visibility .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.menu__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1081px) {
  .has-mega:hover > .mega { opacity: 1; visibility: visible; transform: none; }
  .has-mega:hover > .menu__link { background: rgba(10,37,64,.05); }
}
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; }
.mega__link { display: flex; align-items: flex-start; gap: .8rem; padding: .7rem; border-radius: 12px; text-decoration: none; transition: background .15s; }
.mega__link:hover { background: var(--soft); }
.mega__link .ico { width: 38px; height: 38px; border-radius: 10px; }
.mega__link .ico .i { width: 19px; height: 19px; }
.mega__link b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.mega__link small { display: block; color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.mega__aside { position: relative; overflow: hidden; padding: 1.25rem; border-radius: 14px; background: var(--soft); display: flex; flex-direction: column; gap: .6rem; font-size: 14px; }
.mega__aside::before { content: ""; position: absolute; right: -40%; top: -40%; width: 120%; height: 90%; background: radial-gradient(closest-side, rgba(122,92,255,.25), transparent), radial-gradient(closest-side at 70% 60%, rgba(0,180,255,.2), transparent); pointer-events: none; }
.mega__aside > * { position: relative; }
.mega__title { color: var(--ink); font-weight: 600; font-size: 15.5px; }
.mega__aside .btn { margin-top: auto; align-self: flex-start; }
.mega--products { grid-template-columns: 1fr 1fr; width: min(640px, 90vw); }
.soon { display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border-radius: 999px; background: var(--amber-50); color: #A86400; font-size: 11px; font-style: normal; font-weight: 600; vertical-align: 2px; }
.mega__product { display: flex; gap: .9rem; padding: 1rem; border-radius: 14px; text-decoration: none; transition: background .15s; }
.mega__product:hover { background: var(--soft); }
.mega__product img { height: 44px; width: auto; border-radius: 10px; }
.mega__product b { display: block; font-size: 16px; color: var(--ink); }
.mega__product small { display: block; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; margin-top: .15rem; }
.mega__product em { display: block; margin-top: .4rem; font-style: normal; font-size: 13px; font-weight: 600; color: var(--accent); }

.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(10,37,64,.05); cursor: pointer; }
.burger { display: grid; gap: 4px; width: 18px; margin: auto; }
.burger span { height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.nav__toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav:has(.menu.is-open) { background: #fff; box-shadow: 0 1px 0 var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.97); }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99; height: calc(100dvh - var(--nav-h) - var(--nav-top, 0px));
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: .5rem var(--gutter) 2rem; background: #fff; border-top: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; display: none;
  }
  .menu.is-open { display: flex; }
  .menu__list { flex-direction: column; align-items: stretch; gap: 0; }
  .menu__item { border-bottom: 1px solid var(--line-2); }
  .menu__link { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 17px; border-radius: 0; }
  .menu__link:hover, .menu__item.is-open > .menu__link { background: none; }
  .mega, .mega--products { position: static; display: none; width: auto; grid-template-columns: 1fr; padding: 0 0 1rem; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .menu__item.is-open > .mega { display: grid; }
  .mega__grid { grid-template-columns: 1fr; }
  .mega__aside { display: none; }
  .nav__cta { margin-top: 1.5rem; }
  body.menu-open { overflow: hidden; }
}

/* =========================================================
   Gradient mesh (signature)
   ========================================================= */
.mesh { position: absolute; inset: 0 0 auto 0; height: 100%; overflow: hidden; pointer-events: none; }
.mesh i { position: absolute; display: block; width: 52vw; height: 52vw; max-width: 820px; max-height: 820px; border-radius: 50%; filter: blur(70px); opacity: .9; will-change: transform; }
.mesh i:nth-child(1) { background: radial-gradient(circle, #7A5CFF 0%, rgba(122,92,255,0) 65%); top: -22%; right: 6%; }
.mesh i:nth-child(2) { background: radial-gradient(circle, #00B4FF 0%, rgba(0,180,255,0) 65%); top: 8%; right: -14%; }
.mesh i:nth-child(3) { background: radial-gradient(circle, #FF5CA8 0%, rgba(255,92,168,0) 65%); top: 28%; right: 26%; opacity: .7; }
.mesh i:nth-child(4) { background: radial-gradient(circle, #FFB547 0%, rgba(255,181,71,0) 65%); top: -30%; right: 40%; opacity: .6; }
@media (prefers-reduced-motion: no-preference) {
  .mesh i:nth-child(1) { animation: drift1 22s ease-in-out infinite alternate; }
  .mesh i:nth-child(2) { animation: drift2 26s ease-in-out infinite alternate; }
  .mesh i:nth-child(3) { animation: drift3 20s ease-in-out infinite alternate; }
  .mesh i:nth-child(4) { animation: drift4 24s ease-in-out infinite alternate; }
}
@keyframes drift1 { to { transform: translate(-12%, 14%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-18%, -10%) scale(.9); } }
@keyframes drift3 { to { transform: translate(16%, -12%) scale(1.2); } }
@keyframes drift4 { to { transform: translate(10%, 18%) scale(.95); } }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; margin-top: calc(var(--nav-h) * -1); padding-top: calc(var(--nav-h) + clamp(3rem, 2rem + 4vw, 5.5rem)); overflow: hidden; background: #fff; }
.hero > .mesh { height: 78%; opacity: .7; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.65) 45%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.65) 45%, transparent 92%); }
.announce { display: inline-flex; align-items: center; gap: .55rem; padding: .3rem .8rem .3rem .3rem; border-radius: 999px; background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); backdrop-filter: blur(8px); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: box-shadow .2s; }
.announce:hover { box-shadow: inset 0 0 0 1px #C9D3DF, var(--shadow); }
.announce__tag { padding: .15rem .55rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }

/* Hero: centred statement */
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { margin-top: 1.75rem; max-width: 16ch; font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.25rem); font-weight: 650; letter-spacing: -0.05em; line-height: 1; }
.hero h1 .grad-text { display: block; }
.hero__lede { margin-top: 1.75rem; max-width: 40rem; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }
.hero__cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.hero__proof { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.75rem; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero__proof li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__proof .i { width: 17px; height: 17px; color: var(--accent); }

/* Featured rail: products, case studies, POCs and articles */
.featured { position: relative; margin-top: clamp(3.5rem, 6vw, 5rem); }
.featured__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.featured__head h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.featured__head .link-arrow { font-size: 14.5px; }
.featured__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.feat { text-decoration: none; color: inherit; position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(10,37,64,.07), 0 24px 48px -28px rgba(10,37,64,.28); transition: transform .35s var(--ease), box-shadow .35s; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(99,91,255,.35), 0 32px 60px -28px rgba(10,37,64,.35); }
.feat__media { position: relative; display: block; aspect-ratio: 16 / 9.4; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line-2); }
.feat__media--shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.feat:hover .feat__media--shot img { transform: scale(1.03); }
.feat__media--metric { display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; padding: 1.5rem; background: radial-gradient(80% 90% at 100% 0%, rgba(122,92,255,.55), transparent 60%), radial-gradient(70% 80% at 0% 100%, rgba(0,180,255,.35), transparent 60%), #0A2540; border-bottom: 0; }
.feat__big { font-size: clamp(2.75rem, 2rem + 2vw, 3.5rem); font-weight: 650; letter-spacing: -0.045em; line-height: 1; color: #fff; }
.feat__sub { max-width: 18rem; font-size: 14px; line-height: 1.45; color: #C9D6E8; }
.feat__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.25rem 3.25rem 1.4rem 1.4rem; }
.feat__type { align-self: flex-start; padding: .18rem .6rem; border-radius: 999px; font-size: 12px; font-weight: 600; }
.feat__type--product { background: var(--accent-50); color: var(--accent); }
.feat__type--case { background: var(--blue-50); color: #0077BB; }
.feat__type--soon { background: var(--amber-50); color: #A86400; }
.feat__type--poc { background: var(--amber-50); color: #A86400; }
.feat__type--insight { background: var(--pink-50); color: #C42A6B; }
.feat__title { margin-top: .2rem; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.feat__text { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.feat__go { position: absolute; right: 1.2rem; bottom: 1.4rem; width: 20px; height: 20px; color: var(--ink-3); transition: color .2s, transform .3s var(--ease); }
.feat:hover .feat__go { color: var(--accent); transform: translate(2px, -2px); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__inner > * { animation: rise .8s var(--ease) both; }
  .js .hero__inner > :nth-child(2) { animation-delay: .06s; }
  .js .hero__inner > :nth-child(3) { animation-delay: .12s; }
  .js .hero__inner > :nth-child(4) { animation-delay: .18s; }
  .js .hero__inner > :nth-child(5) { animation-delay: .24s; }
  .js .featured { animation: rise .9s var(--ease) .32s both; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .feat, .feat__media--shot img { transition: none; } }

/* Logo row */
.logos { margin-top: clamp(3.5rem, 6vw, 5.5rem); padding-bottom: clamp(2.5rem, 4vw, 3.5rem); text-align: center; }
.logos p { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.logos ul { margin-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; }
.logos li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 16px; color: var(--ink); opacity: .55; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.logos li:hover { opacity: 1; filter: none; }
.logos img { width: 20px; height: 20px; }
.logo-mono { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: var(--ink); color: #fff; font-size: 9px; font-weight: 800; }

@media (max-width: 1100px) { .featured__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .featured__grid { grid-template-columns: 1fr; } .featured__head .link-arrow { display: none; } }

/* Lab: upcoming products with video previews */
.lab { margin-top: clamp(3.5rem, 6vw, 5rem); }
.lab__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.5rem; }
.lab__head h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; }
.lab__head p { max-width: 34rem; color: var(--ink-2); font-size: 16px; }
.lab__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.labcard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 1px rgba(10,37,64,.07), 0 30px 60px -36px rgba(10,37,64,.3); }
.labcard__media { position: relative; display: grid; place-items: center; height: clamp(320px, 30vw, 400px); padding: 2rem; overflow: hidden; }
.labcard--ava .labcard__media { background: radial-gradient(70% 80% at 20% 20%, #EDE6FF, transparent 70%), radial-gradient(60% 70% at 90% 90%, #DCEBFF, transparent 70%), #F6F3FF; }
.labcard--aster .labcard__media { background: radial-gradient(70% 80% at 80% 10%, #FBEFE2, transparent 70%), #F4EFE7; }
.device { position: relative; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -24px rgba(10,37,64,.35), 0 0 0 1px rgba(10,37,64,.08); }
.device video { display: block; width: 100%; height: 100%; object-fit: cover; }
.device--phone { height: 100%; aspect-ratio: 9 / 16; border-radius: 18px; }
.device--browser { width: 100%; aspect-ratio: 16 / 9.6; border-radius: 12px; display: flex; flex-direction: column; }
.device__bar { display: flex; gap: 5px; padding: 8px 10px; background: #F1F1F1; border-bottom: 1px solid #E5E5E5; }
.device__bar i { width: 8px; height: 8px; border-radius: 50%; background: #D5D5D5; }
.device--browser video { flex: 1; min-height: 0; }
.labcard__body { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; padding: 1.6rem 1.75rem 1.75rem; flex: 1; }
.labcard__body h4 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; color: var(--ink); font-size: 26px; font-weight: 650; letter-spacing: -0.03em; }
.labcard__body h4 span { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.labcard__body > p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.labcard__body .btn { margin-top: auto; }
.labcard__body .tags { margin-bottom: .4rem; }
.btn__meta { padding-left: .5rem; margin-left: .15rem; border-left: 1px solid rgba(255,255,255,.25); font-weight: 500; opacity: .75; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .lab__grid { grid-template-columns: 1fr; } }

/* Video dialog */
.vmodal { width: min(1100px, 94vw); max-width: none; max-height: 92vh; padding: 0; border: 0; border-radius: 18px; background: #000; overflow: visible; }
.vmodal.is-portrait { width: fit-content; background: transparent; }
.vmodal::backdrop { background: rgba(6,18,33,.78); backdrop-filter: blur(6px); }
.vmodal__inner { position: relative; }
.vmodal video { display: block; width: 100%; max-height: 92vh; border-radius: 18px; background: #000; }
.vmodal.is-portrait video { width: auto; height: min(88vh, 900px); }
.vmodal__close { position: absolute; top: -14px; right: -14px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); cursor: pointer; }
.vmodal__close:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) { .vmodal__close { top: 8px; right: 8px; } }

/* =========================================================
   Why now: AI shift (cited research)
   ========================================================= */
.shift { background: var(--soft); }
.shift__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.stat { display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem 1.6rem 1.5rem; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px rgba(10,37,64,.06), 0 12px 32px -18px rgba(10,37,64,.18); }
.stat__num { font-size: clamp(2.75rem, 2rem + 2.4vw, 3.75rem); font-weight: 650; letter-spacing: -0.045em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__text { flex: 1; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.stat__src { padding-top: .85rem; border-top: 1px solid var(--line-2); font-size: 13px; }
.stat__src a { color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: color .2s; }
.stat__src a:hover { color: var(--accent); }
.stat--dark { background: linear-gradient(160deg, #1A1F5C 0%, #0A2540 70%); box-shadow: 0 24px 48px -20px rgba(10,37,64,.5); }
.stat--dark .stat__num { background: linear-gradient(90deg, #FF8A65, #FF5CA8 55%, #A99BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat--dark .stat__text { color: #C9D6E8; }
.stat--dark .stat__src { border-color: rgba(255,255,255,.1); }
.stat--dark .stat__src a { color: #8FA3BF; text-decoration-color: rgba(255,255,255,.2); }
.shift__answer { margin-top: 1.25rem; display: flex; align-items: center; gap: 1.5rem 2.5rem; padding: 1.5rem 1.75rem; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px rgba(10,37,64,.06); }
.shift__answer p { flex: 1; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); max-width: 62rem; }
.shift__answer b { color: var(--ink); font-weight: 600; }
.shift__answer .btn { flex: none; }
@media (max-width: 1080px) { .shift__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .shift__grid { grid-template-columns: 1fr; } .shift__answer { flex-direction: column; align-items: flex-start; } }

/* =========================================================
   Impact numbers
   ========================================================= */
.impact { border-block: 1px solid var(--line-2); background: #fff; }
.impact__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.impact__grid > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .35rem; padding: clamp(1.75rem, 3vw, 2.75rem) 1.25rem; }
.impact__grid > div + div { border-left: 1px solid var(--line-2); }
.impact dd { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.impact dt { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); max-width: 15rem; }
@media (max-width: 1000px) {
  .impact__grid { grid-template-columns: repeat(2, 1fr); }
  .impact__grid > div { border-left: 0 !important; border-bottom: 1px solid var(--line-2); }
  .impact__grid > div:nth-child(odd) { border-right: 1px solid var(--line-2); }
  .impact__grid > div:nth-last-child(-n+2) { border-bottom: 0; }
}

/* =========================================================
   Products
   ========================================================= */
.products { display: grid; gap: 1.5rem; }
.product { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 2rem; overflow: hidden; border-radius: var(--r-xl); padding: clamp(1.75rem, 3.5vw, 3rem); padding-right: 0; }
.product--rieva { background: linear-gradient(135deg, #F4F0FF 0%, #FBF6FF 50%, #FFF4EE 100%); }
.product--exim { background: linear-gradient(135deg, #0B1E36 0%, #0F2C4A 60%, #123A55 100%); color: #B8C7DA; }
.product--exim h3, .product--exim .product__stats b { color: #fff; }
.product__body { display: flex; flex-direction: column; gap: 1.4rem; }
.product__brand { display: flex; align-items: center; gap: .9rem; }
.product__brand img { height: 52px; width: auto; border-radius: 12px; }
.product__brand h3 { font-size: 28px; letter-spacing: -0.03em; }
.product__brand p { font-size: 15px; font-weight: 500; color: var(--ink-3); }
.product--exim .product__brand p { color: #8FA6C1; }
.product__desc { font-size: 17px; line-height: 1.55; }
.product__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.product__stats li { display: flex; flex-direction: column; gap: .1rem; padding: .85rem .9rem; border-radius: 12px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(10,37,64,.06); }
.product--exim .product__stats li { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.product__stats b { font-size: 22px; font-weight: 650; letter-spacing: -0.03em; color: var(--ink); line-height: 1.15; }
.product__stats span { font-size: 12.5px; line-height: 1.3; }
.product .btn { align-self: flex-start; }
.product__shot { display: block; transform: translateX(4%); border-radius: 14px 0 0 14px; overflow: hidden; box-shadow: var(--shadow-xl); transition: transform .5s var(--ease); }
.product:hover .product__shot { transform: translateX(2%); }
.product__shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.product--exim .product__shot { box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; padding-right: clamp(1.75rem, 3.5vw, 3rem); padding-bottom: 0; }
  .product__shot { transform: none; border-radius: 14px 14px 0 0; }
  .product:hover .product__shot { transform: none; }
}
@media (max-width: 560px) { .product__stats { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Case studies (ink section)
   ========================================================= */
.section--ink { background: var(--ink); color: #A3B4CC; overflow: hidden; }
.section--ink::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 90% 0%, rgba(122,92,255,.35), transparent 70%), radial-gradient(35% 45% at 0% 100%, rgba(0,180,255,.22), transparent 70%); pointer-events: none; }
.section--ink::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent); pointer-events: none; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .head--split > p { color: #A3B4CC; }
.section--ink :focus-visible { outline-color: #fff; }
.cases { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.cases .case__metrics b { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.35rem); background: linear-gradient(90deg, #A99BFF, #6FD3FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: clamp(1.75rem, 3vw, 2.25rem); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); transition: box-shadow .3s, transform .3s var(--ease), background .3s; }
.case:hover { transform: translateY(-3px); background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); box-shadow: inset 0 0 0 1px rgba(162,145,255,.45); }
.case__tag { display: inline-block; padding: .2rem .65rem; border-radius: 999px; background: rgba(122,92,255,.18); color: #C4B8FF; font-size: 12.5px; font-weight: 600; }
.case h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -0.02em; }
.case p { font-size: 15.5px; }
.case__metrics { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.08); }
.case__metrics li { display: flex; flex-direction: column; }
.case__metrics b { font-size: 26px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; background: linear-gradient(90deg, #fff, #B9C8FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case__metrics span { font-size: 13px; color: #8FA3BF; }
.case .case__stack { font-size: 13px; color: #7F93B0; }
.cases__note { position: relative; z-index: 1; margin-top: 1.75rem; font-size: 13.5px; color: #7F93B0; }
@media (max-width: 1000px) { .head--split { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }

/* =========================================================
   Services
   ========================================================= */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.svc { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: box-shadow .3s, transform .3s var(--ease); }
.svc:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #D5DCE6, var(--shadow-lg); }
.svc h3 { margin-top: .5rem; font-size: 18px; letter-spacing: -0.015em; }
.svc p { font-size: 15px; }
.svc--feature { grid-column: span 2; padding: 2rem; background: linear-gradient(160deg, #fff 40%, #F6F4FF); }
.svc--feature:nth-child(2) { background: linear-gradient(160deg, #fff 40%, #EEFAF3); }
.svc--feature h3 { font-size: 22px; }
.svc--feature p { font-size: 16px; max-width: 30rem; }
.svc--feature .tags { margin-top: auto; padding-top: .75rem; }
.svc--cta { justify-content: center; background: var(--ink); box-shadow: none; overflow: hidden; }
.svc--cta::before { content: ""; position: absolute; right: -40%; top: -50%; width: 120%; height: 120%; background: radial-gradient(closest-side, rgba(122,92,255,.45), transparent); pointer-events: none; }
.svc--cta > * { position: relative; }
.svc--cta h3 { color: #fff; margin-top: 0; }
.svc--cta p { color: #A3B4CC; }
.svc--cta .btn { align-self: flex-start; margin-top: .4rem; }
.svc--cta:hover { box-shadow: var(--shadow-lg); }
@media (max-width: 1080px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } .svc--feature { grid-column: auto; } }

/* =========================================================
   Industries
   ========================================================= */
.ind__tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.75rem; padding: .35rem; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); width: fit-content; max-width: 100%; }
.ind__tabs button { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 500; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.ind__tabs button:hover { color: var(--ink); background: var(--soft); }
.ind__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.ind__tabs .i { width: 17px; height: 17px; }
.ind__panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ind__panel[hidden] { display: none; }
.usecase { padding: 1.6rem; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.usecase h3 { font-size: 18px; }
.usecase p { margin-top: .5rem; font-size: 15px; }
.ind__note { grid-column: 1 / -1; font-size: 15px; }
.ind__note a { color: var(--accent); font-weight: 600; }
@media (max-width: 920px) {
  .ind__panel { grid-template-columns: 1fr; }
  .ind__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 16px; width: auto; }
}

/* =========================================================
   WhatsApp
   ========================================================= */
.wa { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.wa__copy h2 { margin-top: .75rem; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -0.035em; }
.wa__copy .lede { margin-top: 1rem; }
.wa__list { margin-top: 2rem; display: grid; gap: 1.2rem; }
.wa__list li { display: flex; gap: .9rem; }
.wa__list b { color: var(--ink); font-weight: 600; }
.wa__list p { font-size: 15px; }
.wa__policy { margin-top: 2rem; padding: 1.5rem; border-radius: var(--r-lg); background: linear-gradient(160deg, #F1FBF5, #fff); box-shadow: 0 0 0 1px #CFEBDC; }
.wa__policy h3 { display: flex; align-items: center; gap: .5rem; font-size: 17px; margin-bottom: 1rem; color: #0B6B3A; }
.wa__policy .checks { font-size: 15px; }
.wa__policy .checks b { color: var(--ink); font-weight: 600; }
.wa__policy .checks li::before { background-color: var(--green-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E9F55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.wa__policy .link-arrow { margin-top: 1.1rem; color: var(--green); font-size: 15px; }

.phone { position: relative; justify-self: center; width: min(330px, 100%); padding: 11px; border-radius: 46px; background: linear-gradient(160deg, #1B2A44, #0A1426); box-shadow: var(--shadow-xl), inset 0 0 0 1.5px #34445F; }
.phone::before { content: ""; position: absolute; top: 21px; left: 50%; width: 88px; height: 24px; margin-left: -44px; border-radius: 20px; background: #0A1426; z-index: 2; }
main { overflow-x: clip; }
.phone::after { content: ""; position: absolute; inset: -20% -30%; z-index: -1; background: radial-gradient(closest-side, rgba(37,211,102,.22), transparent), radial-gradient(closest-side at 30% 80%, rgba(0,180,255,.18), transparent); filter: blur(20px); }
.phone__screen { border-radius: 36px; overflow: hidden; background: #EFE7DD; display: flex; flex-direction: column; min-height: 590px; }
.phone__head { display: flex; align-items: center; gap: .7rem; padding: 3.1rem 1rem .8rem; background: #075E54; color: #fff; }
.phone__head img { border-radius: 50%; }
.phone__head b { display: block; font-size: 15px; font-weight: 600; }
.phone__head small { display: block; font-size: 12px; color: #C8E6E0; }
.phone__chat { flex: 1; display: flex; flex-direction: column; gap: .55rem; padding: 1rem .8rem; background-image: radial-gradient(rgba(0,0,0,.045) 1px, transparent 1px); background-size: 14px 14px; }
.day { align-self: center; padding: .2rem .7rem; border-radius: 8px; background: #E1F2FB; color: #54656F; font-size: 11.5px; font-weight: 600; }
.msg { max-width: 86%; padding: .55rem .75rem; border-radius: 10px; font-size: 13.5px; line-height: 1.45; color: #111B21; box-shadow: 0 1px .5px rgba(0,0,0,.13); }
.msg--in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.msg--out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 2px; }
.phone__input { display: flex; align-items: center; gap: .5rem; padding: .6rem .7rem 1rem; }
.phone__input span { flex: 1; padding: .6rem 1rem; border-radius: 999px; background: #fff; color: #8696A0; font-size: 14px; }
.phone__input i { width: 40px; height: 40px; border-radius: 50%; background: #00A884; }
@media (prefers-reduced-motion: no-preference) {
  .js .phone .msg { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
  .js .phone.is-visible .msg { opacity: 1; transform: none; }
  .js .phone.is-visible .msg:nth-child(3) { transition-delay: .6s; }
  .js .phone.is-visible .msg:nth-child(4) { transition-delay: 1.4s; }
  .js .phone.is-visible .msg:nth-child(5) { transition-delay: 2.1s; }
}
@media (max-width: 920px) { .wa { grid-template-columns: 1fr; } }

/* =========================================================
   About / founder
   ========================================================= */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about__copy h2 { margin-top: .75rem; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -0.035em; }
.about__copy .lede { margin-top: 1rem; }
.values { margin-top: 2rem; display: grid; gap: 1.25rem; }
.values li { display: flex; gap: .9rem; }
.values b { color: var(--ink); font-weight: 600; }
.values p { font-size: 15px; }
.founder { position: relative; padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-xl), 0 0 0 1px rgba(10,37,64,.05); display: flex; flex-direction: column; gap: 1.25rem; }
.founder::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, rgba(122,92,255,.7), rgba(0,180,255,.4) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.founder__head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.founder__head > div:not(.founder__links) { flex: 1 1 160px; min-width: 0; }
.founder__avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, #7A5CFF, #00B4FF); color: #fff; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; flex: none; }
.founder__head h3 { font-size: 22px; }
.founder__head p { font-size: 15px; color: var(--ink-3); }
.founder__links { margin-left: auto; display: flex; gap: .4rem; }
.founder__links a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--soft); color: var(--ink-2); transition: background .2s, color .2s; }
.founder__links a:hover { background: var(--ink); color: #fff; }
.founder__links .i { width: 17px; height: 17px; }
.founder__bio { font-size: 16px; }
.founder__creds { display: grid; gap: .6rem; padding: 1.1rem 0; border-block: 1px solid var(--line-2); }
.founder__creds li { display: flex; align-items: center; gap: .65rem; color: var(--ink); font-weight: 500; font-size: 15px; }
.founder__creds .i { color: var(--accent); }
.founder__stack p { font-size: 13.5px; font-weight: 600; color: var(--ink-3); margin-bottom: .6rem; }
@media (max-width: 920px) { .about { grid-template-columns: 1fr; } }

/* =========================================================
   Process
   ========================================================= */
.process { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.process::before { content: ""; position: absolute; top: 24px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, rgba(122,92,255,.15), rgba(122,92,255,.6), rgba(0,180,255,.6), rgba(0,180,255,.15)); }
.process li { position: relative; text-align: center; padding: 0 .4rem; }
.process__n { position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 1.1rem; border-radius: 50%; background: #fff; color: var(--accent); font-weight: 700; box-shadow: 0 0 0 1px var(--line), var(--shadow), 0 0 0 8px #fff; }
.process li:last-child .process__n { background: linear-gradient(135deg, #7A5CFF, #00B4FF); color: #fff; box-shadow: 0 8px 20px -6px rgba(122,92,255,.6), 0 0 0 8px #fff; }
.process h3 { font-size: 17.5px; }
.process p { margin-top: .45rem; font-size: 15px; }
@media (max-width: 920px) {
  .process { grid-template-columns: 1fr; gap: 1.5rem; max-width: 560px; margin-inline: auto; }
  .process::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(122,92,255,.6), rgba(0,180,255,.6)); }
  .process li { display: grid; grid-template-columns: 48px 1fr; column-gap: 1.25rem; text-align: left; padding: 0; }
  .process__n { grid-row: span 2; margin: 0; }
  .process p { margin-top: .2rem; }
}

/* =========================================================
   Engagement models
   ========================================================= */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.model { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 2rem; border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.model h3 { font-size: 21px; }
.model .checks { margin-top: .5rem; padding-top: 1.2rem; border-top: 1px solid var(--line-2); font-size: 15px; }
.model--featured { background: linear-gradient(150deg, #6A4CFF 0%, #635BFF 45%, #2F86FF 100%); color: #E3E6FF; box-shadow: var(--shadow-xl); }
.model--featured h3 { color: #fff; }
.model--featured .checks { border-top-color: rgba(255,255,255,.22); }
.model--featured .checks li::before { background-color: rgba(255,255,255,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.model__tag { position: absolute; top: 1.5rem; right: 1.5rem; padding: .2rem .65rem; border-radius: 999px; background: #fff; color: var(--accent); font-size: 12px; font-weight: 600; }
@media (max-width: 920px) { .models { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* =========================================================
   Company
   ========================================================= */
.company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.company__copy h2 { margin-top: .75rem; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -0.035em; }
.company__copy .lede { margin-top: 1rem; }
.trust { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.trust li { display: flex; align-items: center; gap: .8rem; padding: .95rem 1rem; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.trust b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; }
.trust small { display: block; color: var(--ink-3); font-size: 13px; overflow-wrap: anywhere; }
.card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-xl), 0 0 0 1px rgba(10,37,64,.05); }
.company__card { padding: clamp(1.5rem, 3vw, 2.25rem); }
.company__card h3 { font-size: 20px; margin-bottom: .75rem; }
.facts > div { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; padding-block: .85rem; border-top: 1px solid var(--line-2); font-size: 15px; }
.facts dt { color: var(--ink-3); }
.facts dd { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.facts a { color: var(--accent); text-decoration: none; }
.facts a:hover { text-decoration: underline; }
@media (max-width: 920px) { .company { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } .facts > div { grid-template-columns: 1fr; gap: .15rem; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.faq .head { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq__list { display: grid; gap: .65rem; }
.faq__list details { border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: box-shadow .2s; }
.faq__list details[open] { box-shadow: 0 0 0 1px #D5DCE6, var(--shadow-lg); }
.faq__list summary { position: relative; display: block; padding: 1.15rem 3.5rem 1.15rem 1.35rem; color: var(--ink); font-weight: 600; font-size: 16.5px; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .25s var(--ease), margin .25s; }
.faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__list details p { padding: 0 1.35rem 1.25rem; font-size: 15.5px; }
@media (max-width: 920px) { .faq { grid-template-columns: 1fr; gap: 0; } .faq .head { position: static; } }

/* =========================================================
   Contact
   ========================================================= */
.contact-section { overflow: hidden; background: var(--soft); }
.contact-section > .mesh { opacity: .45; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent); }
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__intro h2 { margin-top: .75rem; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -0.035em; }
.contact__intro .lede { margin-top: 1rem; }
.contact__promises { margin-top: 2rem; display: grid; gap: .8rem; }
.contact__promises li { display: flex; align-items: center; gap: .7rem; }
.contact__promises .i { color: var(--accent); }
.contact__promises b { color: var(--ink); font-weight: 500; }
.contact__ways { margin-top: 2rem; display: grid; gap: .7rem; padding: 1.25rem 1.4rem; border-radius: 16px; background: rgba(255,255,255,.8); box-shadow: 0 0 0 1px var(--line); backdrop-filter: blur(10px); font-size: 15px; }
.contact__ways li { display: flex; align-items: flex-start; gap: .7rem; overflow-wrap: anywhere; }
.contact__ways .i { color: var(--ink-3); margin-top: .15rem; }
.contact__ways a { color: var(--ink); font-weight: 500; text-decoration: none; }
.contact__ways a:hover { color: var(--accent); }
.contact__form { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1rem; }
.contact__form h3 { font-size: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; font-size: 14px; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: .78rem .95rem; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10,37,64,.04); font: 400 15px/1.4 var(--font); color: var(--ink); transition: box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: #9AA8B9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(99,91,255,.14); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #E5484D; }
.form-error { color: #C62F34; font-size: 14px; font-weight: 500; }
.contact__submit { display: flex; flex-wrap: wrap; gap: .65rem; }
.contact__legal { color: var(--ink-3); font-size: 13px; }
.contact__legal a { color: var(--accent); }
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .contact__submit .btn { flex: 1; } }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: #fff; border-top: 1px solid var(--line-2); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 2.5rem; padding-block: 4.5rem 3rem; }
.footer__brand > p { margin-top: 1rem; max-width: 22rem; }
.footer__contact { margin-top: 1.4rem; display: grid; gap: .65rem; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; overflow-wrap: anywhere; }
.footer__contact .i { color: var(--ink-3); width: 17px; height: 17px; margin-top: .2rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer nav { display: flex; flex-direction: column; gap: .6rem; }
.footer nav small { color: var(--ink-3); font-size: 12.5px; }
.footer nav h3 { font-size: 15px; font-weight: 600; margin-bottom: .3rem; letter-spacing: 0; }
.footer nav .footer__sub { margin-top: 1rem; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; padding-block: 1.75rem 2.25rem; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--ink-3); }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* =========================================================
   Scroll reveal
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* =========================================================
   Legal pages
   ========================================================= */
.legal-hero { position: relative; overflow: hidden; margin-top: calc(var(--nav-h) * -1); padding: calc(var(--nav-h) + clamp(3rem, 2rem + 4vw, 5rem)) 0 clamp(3rem, 2rem + 3vw, 4.5rem); background: var(--soft); border-bottom: 1px solid var(--line-2); }
.legal-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(35% 70% at 90% 0%, rgba(122,92,255,.22), transparent 70%), radial-gradient(30% 60% at 70% 10%, rgba(0,180,255,.18), transparent 70%), radial-gradient(25% 50% at 100% 60%, rgba(255,92,168,.12), transparent 70%); }
.legal-hero h1 { margin-top: .6rem; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); letter-spacing: -0.04em; }
.legal-hero p:not(.eyebrow) { margin-top: .8rem; }
.legal { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) var(--section); }
.legal__layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 4rem; align-items: start; }
.legal__toc { position: sticky; top: calc(var(--nav-h) + 2rem); display: grid; gap: .15rem; font-size: 14.5px; }
.legal__toc b { margin-bottom: .5rem; font-size: 14px; color: var(--ink); font-weight: 600; }
.legal__toc a { padding: .35rem .75rem; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; }
.legal__toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.legal__body { max-width: 46rem; }
.legal__body h2 { margin-top: 2.75rem; font-size: 24px; letter-spacing: -0.025em; scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.legal__body p, .legal__body ul, .legal__body ol { margin-top: 1rem; }
.legal__body ul { list-style: disc; padding-left: 1.25rem; }
.legal__body ol { list-style: decimal; padding-left: 1.25rem; }
.legal__body li + li { margin-top: .45rem; }
.legal__body a { color: var(--accent); }
.legal__body strong { color: var(--ink); font-weight: 600; }
.legal__box { margin-top: 1.5rem; padding: 1.4rem 1.6rem; background: var(--soft); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line-2); }
.legal__box p:first-child { margin-top: 0; }
@media (max-width: 920px) { .legal__layout { grid-template-columns: 1fr; gap: 2rem; } .legal__toc { position: static; } }

.notfound { padding-bottom: clamp(5rem, 4rem + 6vw, 9rem); }
.notfound p:not(.eyebrow) { max-width: 36rem; }
.notfound__cta { justify-content: flex-start; }
