/* ESL landing. Tokens follow Cascade UI Lab (botanical canvas, ink, one acid-green signal).
   Radius system: interactive controls are full pills, outer bezels 28px, inner cores 22px, inputs 14px. */

@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/assets/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/assets/fonts/manrope-cyrillic-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/assets/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  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;
}
/* Manrope lacks Kazakh letters (ә ғ қ ң ө ұ ү һ і); Onest fills those glyphs only. */
@font-face {
  font-family: 'Onest Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/onest-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0492-0493, U+049A-049B, U+04A2-04A3, U+04AE-04B1, U+04BA-04BB, U+04D8-04D9, U+04E8-04E9;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/fonts/space-mono-latin-400-normal.woff2') format('woff2');
}

:root {
  --canvas: #F7FAF2;
  --canvas-tint: #EEF4E7;
  --surface: #FFFFFF;
  --surface-2: #F2F6EC;
  --ink: #122019;
  --ink-soft: #2A3830;
  --muted: #56655C;
  --line: #DDE8D8;
  --line-strong: #C9D8C2;
  --accent: #7EE238;
  --accent-ink: #102014;
  --accent-text: #2D6A0F;
  --tile-ink-bg: #122019;
  --tile-ink-fg: #F1F4EF;
  --tile-ink-muted: #A9B8AE;
  --danger: #B42318;
  --shadow: 0 1px 2px rgb(18 32 25 / .05), 0 24px 60px -24px rgb(32 64 24 / .22);
  --shadow-soft: 0 18px 50px -28px rgb(32 64 24 / .28);
  --bezel-shell: rgb(18 32 25 / .04);
  --bezel-ring: rgb(18 32 25 / .07);
  --glass: rgb(255 255 255 / .72);

  --font-sans: 'Manrope Variable', 'Onest Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --r-outer: 28px;
  --r-inner: 22px;
  --r-input: 14px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #070909;
    --canvas-tint: #0B0E0D;
    --surface: #0D1010;
    --surface-2: #131817;
    --ink: #F1F4EF;
    --ink-soft: #D6DDD6;
    --muted: #98A69D;
    --line: #1D2622;
    --line-strong: #2A3530;
    --accent-text: #7EE238;
    --tile-ink-bg: #131A15;
    --tile-ink-fg: #F1F4EF;
    --tile-ink-muted: #9CAAA1;
    --danger: #FF8A7A;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 30px 70px -30px rgb(0 0 0 / .7);
    --shadow-soft: 0 18px 50px -28px rgb(0 0 0 / .7);
    --bezel-shell: rgb(255 255 255 / .03);
    --bezel-ring: rgb(255 255 255 / .07);
    --glass: rgb(13 16 16 / .72);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main, .footer { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 8px; }

.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--canvas); padding: .6rem 1rem; border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

/* Type */
.h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
  text-wrap: pretty;
}
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .38rem .85rem .38rem .7rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .8rem; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset;
}
.pill .ico { color: var(--accent-text); width: 1.1rem; height: 1.1rem; }

/* Buttons: pill with nested orb */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: var(--h);
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650; font-size: .98rem; letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .5s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--sm { --h: 42px; padding: 0 .4rem 0 1.1rem; font-size: .9rem; gap: .6rem; }
.btn--lg { --h: 56px; padding: 0 1.6rem; font-size: 1rem; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -14px rgb(90 170 30 / .7), inset 0 1px 0 rgb(255 255 255 / .45); }
.btn--primary:hover { background: #8DEB4B; box-shadow: 0 16px 36px -14px rgb(90 170 30 / .8), inset 0 1px 0 rgb(255 255 255 / .5); }
.btn--primary.btn--lg, .btn--primary.btn--sm { padding-right: .45rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink-soft); }
.btn__orb {
  display: grid; place-items: center;
  width: calc(var(--h) - 12px); height: calc(var(--h) - 12px);
  border-radius: 999px;
  background: rgb(16 32 20 / .1);
  transition: transform .5s var(--ease), background-color .4s var(--ease);
}
.btn--sm .btn__orb { width: 32px; height: 32px; }
.btn:hover .btn__orb { transform: translate(2px, -1px) scale(1.06); background: rgb(16 32 20 / .16); }
.btn[disabled] { opacity: .7; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 650; color: var(--accent-text);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow .ico { transition: transform .5s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* Nav: floating island */
.nav-sentinel { position: absolute; top: 0; height: 24px; width: 1px; }
.nav {
  position: fixed; inset: 16px 0 auto; z-index: 40;
  display: flex; justify-content: center; padding-inline: var(--gutter);
  pointer-events: none;
}
.nav__island {
  pointer-events: auto;
  width: 100%; max-width: 1080px;
  display: flex; align-items: center; gap: 1.5rem;
  height: 60px; padding: 0 .5rem 0 1.1rem;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--bezel-ring);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35);
  transition: box-shadow .6s var(--ease), background-color .6s var(--ease);
}
.nav.is-scrolled .nav__island { box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), var(--shadow-soft); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; letter-spacing: -0.03em; font-size: 1.15rem; }
.brand__mark {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 1.05rem; line-height: 1;
  box-shadow: inset 0 -2px 0 rgb(16 32 20 / .15);
}
.nav__links { display: flex; gap: .25rem; margin-left: auto; }
.nav__links a {
  padding: .5rem .85rem; border-radius: 999px;
  font-size: .92rem; font-weight: 550; color: var(--ink-soft);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.nav__links a:hover { background: var(--surface-2); color: var(--ink); }
.burger { display: none; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav__island { background: var(--surface); }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__island { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 30;
  display: flex; flex-direction: column; justify-content: center; gap: 2rem;
  padding: 6rem var(--gutter) 3rem;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu__links { display: grid; gap: .25rem; }
.menu__links a, .menu__cta {
  font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.2;
  opacity: 0; transform: translateY(2.5rem);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i) * 55ms + 80ms);
}
.menu__cta { font-size: 1rem; letter-spacing: 0; justify-self: start; width: max-content; }
.menu.is-open .menu__links a, .menu.is-open .menu__cta { opacity: 1; transform: none; }

/* Hero */
.hero { padding: clamp(7rem, 12vh, 8.5rem) 0 clamp(3rem, 6vw, 5rem); min-height: min(100dvh, 920px); display: flex; align-items: center; position: relative; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: -10% -10% auto auto; z-index: -1;
  width: min(70vw, 900px); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(126 226 56 / .22), transparent 70%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero__copy { display: grid; gap: 1.5rem; justify-items: start; }
.hero__title {
  font-size: clamp(2.6rem, 1.5rem + 3.2vw, 4.25rem);
  line-height: 1.04; letter-spacing: -0.045em; font-weight: 750;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(transparent 62%, rgb(126 226 56 / .55) 62%, rgb(126 226 56 / .55) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-inline: .06em;
}
.hero__lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--muted); max-width: 34ch; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; padding-top: .25rem; }
.hero__visual { margin: 0; perspective: 1600px; }
.hero__caption {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 1rem; padding-left: .5rem;
  font-size: .85rem; color: var(--muted);
}
.hero__caption .ico { color: var(--accent-text); }

/* Double bezel */
.bezel {
  padding: 8px; border-radius: var(--r-outer);
  background: var(--bezel-shell);
  border: 1px solid var(--bezel-ring);
  box-shadow: var(--shadow);
}
.bezel__core {
  border-radius: var(--r-inner); overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .15), 0 0 0 1px var(--bezel-ring);
}
.bezel--hero { transform: rotateY(-7deg) rotateX(3deg); transform-origin: left center; transition: transform 1.2s var(--ease); }
.hero__visual:hover .bezel--hero { transform: rotateY(-2deg) rotateX(1deg); }

/* Integrations marquee */
.stack { padding: 1rem 0 clamp(4rem, 8vw, 6rem); }
.stack__label { font-size: .9rem; color: var(--muted); margin-bottom: 1.1rem; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: .75rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .7rem 1.15rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; font-size: .95rem; color: var(--ink-soft); white-space: nowrap;
}
.marquee__track .ico { width: 1.35rem; height: 1.35rem; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section--tint { background: var(--canvas-tint); border-block: 1px solid var(--line); }
.section__head { display: grid; gap: 1.1rem; justify-items: start; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 1rem;
}
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: .9rem;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--r-outer);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.tile::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(126 226 56 / .14), transparent 60%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.tile:hover::after { opacity: 1; }
.tile h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.6rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; max-width: 22ch; }
.tile p { color: var(--muted); max-width: 46ch; }
.tile__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--accent-text);
}
.tile__icon .ico { width: 24px; height: 24px; }
.tile__body { display: grid; gap: .9rem; align-content: start; }
.tile__media {
  margin-top: auto; border-radius: 18px 18px 0 0; overflow: hidden;
  border: 1px solid var(--line); border-bottom: 0;
  margin-bottom: calc(clamp(1.4rem, 2.4vw, 2rem) * -1);
  box-shadow: 0 -10px 40px -24px rgb(32 64 24 / .35);
}
.tile__media img { width: 100%; transition: transform 1.2s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.025); }

.tile--chat { grid-column: span 7; grid-row: span 2; }
.tile--chat .tile__media { margin-top: 1.5rem; }
.tile--accent { grid-column: span 5; background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.tile--accent p { color: rgb(16 32 20 / .78); }
.tile--accent .tile__icon { background: rgb(16 32 20 / .1); border-color: rgb(16 32 20 / .12); color: var(--accent-ink); }
.tile--accent::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgb(255 255 255 / .35), transparent 60%); }
.tile--ink { grid-column: span 5; background: var(--tile-ink-bg); border-color: transparent; color: var(--tile-ink-fg); }
.tile--ink p { color: var(--tile-ink-muted); }
.tile--ink .tile__icon { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .1); color: var(--accent); }
.tile--plain { grid-column: span 5; background: linear-gradient(160deg, var(--surface) 30%, var(--surface-2)); }
.tile--crm { grid-column: span 7; flex-direction: row; gap: 1.5rem; }
.tile--crm .tile__body { flex: 1 1 45%; }
.tile--crm .tile__media { flex: 1 1 55%; align-self: flex-end; margin-right: calc(clamp(1.4rem, 2.4vw, 2rem) * -1); border-radius: 18px 0 0 0; border-right: 0; }
.tile--crm .tile__media img { aspect-ratio: 4 / 3; object-fit: cover; object-position: left top; }
.tile--accent h3, .tile--ink h3, .tile--plain h3 { margin-top: auto; }

/* Services */
.services { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.services__head { display: grid; gap: 1.25rem; justify-items: start; position: sticky; top: 120px; }
.services__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.services__list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.services__list h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: .35rem; }
.services__list p { color: var(--muted); font-size: .95rem; }
.services__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--accent-text);
}
.services__icon .ico { width: 22px; height: 22px; }

/* Cases */
.cases { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.cases__tabs { display: grid; gap: .4rem; }
.case-tab {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start;
  width: 100%; text-align: left;
  padding: 1rem 1.1rem; border-radius: 20px;
  background: transparent; border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.case-tab:hover { background: var(--surface-2); }
.case-tab:active { transform: scale(.99); }
.case-tab[aria-selected='true'] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-soft); }
.case-tab__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--muted);
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.case-tab[aria-selected='true'] .case-tab__icon { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.case-tab__text { display: grid; gap: .2rem; }
.case-tab__text strong { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.015em; }
.case-tab__text span { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.cases__stage { position: sticky; top: 110px; }
.cases__frame { position: relative; aspect-ratio: 16 / 10; }
.cases__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top;
  opacity: 0; transform: scale(1.015); filter: blur(6px);
  transition: opacity .6s var(--ease), transform .9s var(--ease), filter .6s var(--ease);
}
.cases__img.is-active { opacity: 1; transform: none; filter: none; }

/* Case study (long form) */
.case-study { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.case-study + .case-study { margin-top: clamp(4rem, 8vw, 7rem); }
.case-study--flip .case-study__copy { order: 2; }
.case-study__copy { display: grid; gap: 1.25rem; align-content: start; }
.case-study__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; margin-top: .5rem; }
.facts li { display: grid; gap: .3rem; padding-top: 1rem; border-top: 1px solid var(--line-strong); }
.facts strong { font-size: .95rem; font-weight: 700; }
.facts span { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* Statement */
.statement { padding: clamp(5rem, 11vw, 10rem) 0; }
.statement__text {
  font-size: clamp(2rem, 1rem + 4vw, 4.6rem);
  line-height: 1.08; letter-spacing: -0.045em; font-weight: 700;
  max-width: 20ch; text-wrap: balance;
}
.statement__text .w { color: var(--ink); transition: color .7s var(--ease-out); }
.statement__text.is-armed .w { color: var(--line-strong); }
.statement__text.is-armed .w.is-lit { color: var(--ink); }

/* Process */
.process { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.process__head { display: grid; gap: 1.25rem; position: sticky; top: 120px; }
.process__steps { position: relative; display: grid; gap: .75rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  padding: 1.6rem; border-radius: var(--r-outer);
  border: 1px solid var(--line); background: var(--surface);
  opacity: .55;
  transition: opacity .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease);
}
.step.is-active { opacity: 1; border-color: var(--line-strong); box-shadow: var(--shadow-soft); transform: translateX(-4px); }
.step h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: .4rem; }
.step p { color: var(--muted); }
.step__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--muted);
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.step.is-active .step__icon { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.step__icon .ico { width: 24px; height: 24px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__list { display: grid; gap: .6rem; }
.qa { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.qa[open] { border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.25rem 1.15rem 1.5rem;
  font-weight: 650; font-size: 1.05rem; letter-spacing: -0.01em;
  cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__plus {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; flex: none;
  background: var(--surface-2); border: 1px solid var(--line);
  transition: transform .5s var(--ease), background-color .4s var(--ease);
}
.qa[open] .qa__plus { transform: rotate(45deg); background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.qa__body { padding: 0 1.5rem 1.35rem; color: var(--muted); max-width: 64ch; }

/* Contact */
.contact { padding-top: clamp(5rem, 9vw, 8rem); }
.bezel--contact { padding: 10px; }
.contact__core {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.75rem, 5vw, 4rem);
  background: var(--tile-ink-bg); color: var(--tile-ink-fg);
  border-radius: calc(var(--r-outer) - 4px);
}
.contact__core::before {
  content: ''; position: absolute; inset: auto auto -30% -10%; width: 60%; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(126 226 56 / .18), transparent 70%);
}
.contact__copy { position: relative; display: grid; gap: 1.25rem; align-content: start; justify-items: start; }
.contact__copy .lead { color: var(--tile-ink-muted); }
.pill--on-ink { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .12); color: var(--tile-ink-fg); box-shadow: none; }
.contact__points { display: grid; gap: .7rem; margin-top: .5rem; }
.contact__points li { display: flex; align-items: center; gap: .65rem; font-weight: 550; }
.contact__points .ico { color: var(--accent); width: 1.35rem; height: 1.35rem; }

.form { position: relative; display: grid; gap: 1.1rem; align-content: start; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--tile-ink-fg); }
.field input, .field textarea {
  width: 100%; min-height: 52px;
  padding: .85rem 1rem;
  border-radius: var(--r-input);
  border: 1px solid rgb(255 255 255 / .16);
  background: rgb(255 255 255 / .05);
  color: var(--tile-ink-fg);
  font: inherit; font-size: 1rem;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: rgb(255 255 255 / .28); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  background: rgb(255 255 255 / .08);
  box-shadow: 0 0 0 4px rgb(126 226 56 / .22);
}
.field [aria-invalid='true'] { border-color: #FF8A7A; }
.field__help { font-size: .82rem; color: var(--tile-ink-muted); }
.field__err { font-size: .85rem; color: #FF9B8C; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { justify-self: start; margin-top: .25rem; }
.form__submit.is-loading .btn__orb { animation: spin 1s linear infinite; }
.form__status { min-height: 1.4em; font-size: .9rem; color: #FF9B8C; font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-done { position: relative; display: grid; gap: .75rem; align-content: center; justify-items: start; outline: none; }
.form-done[hidden] { display: none; }
.form-done__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.form-done__icon .ico { width: 32px; height: 32px; }
.form-done h3 { font-size: 1.8rem; letter-spacing: -0.03em; }
.form-done p { color: var(--tile-ink-muted); }

/* Footer */
.footer { padding: 3rem 0 2.5rem; border-top: 1px solid var(--line); margin-top: clamp(4rem, 8vw, 7rem); }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 2.5rem; align-items: center; }
.footer__text { color: var(--muted); font-size: .92rem; max-width: 42ch; }
.footer__links { display: flex; gap: 1.5rem; font-size: .92rem; font-weight: 550; }
.footer__links a { color: var(--ink-soft); transition: color .3s var(--ease); }
.footer__links a:hover { color: var(--accent-text); }
.footer__copy { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* Motion: entry + reveal (only when JS is on and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-enter] {
    opacity: 0; transform: translateY(28px); filter: blur(8px);
    animation: enter 1s var(--ease-out) forwards;
    animation-delay: calc(var(--d, 0) * 110ms + 80ms);
  }
  .js .hero__visual[data-enter] { transform: translateY(40px) scale(.97); animation-duration: 1.3s; }
  @keyframes enter { to { opacity: 1; transform: none; filter: none; } }

  .js [data-reveal] {
    opacity: 0; transform: translateY(48px); filter: blur(6px);
    transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), filter .9s var(--ease-out);
    transition-delay: calc(var(--stagger, 0) * 70ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; padding-inline: var(--gutter); }
  .marquee__track [aria-hidden='true'] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .bezel--hero { transform: none; }
  .statement__text.is-armed .w { color: var(--ink); }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .burger {
    display: grid; place-items: center; position: relative;
    width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
    cursor: pointer;
  }
  .burger span {
    position: absolute; width: 18px; height: 1.5px; border-radius: 2px; background: var(--ink);
    transition: transform .5s var(--ease);
  }
  .burger span:first-child { transform: translateY(-4px); }
  .burger span:last-child { transform: translateY(4px); }
  .burger[aria-expanded='true'] span:first-child { transform: rotate(45deg); }
  .burger[aria-expanded='true'] span:last-child { transform: rotate(-45deg); }

  .hero__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__lead { max-width: 46ch; }
  .bezel--hero, .hero__visual:hover .bezel--hero { transform: none; }

  .tile--chat { grid-column: span 12; grid-row: auto; }
  .tile--accent, .tile--ink { grid-column: span 6; }
  .tile--plain { grid-column: span 12; }
  .tile--crm { grid-column: span 12; }

  .services, .process, .faq, .case-study { grid-template-columns: 1fr; }
  .case-study--flip .case-study__copy { order: 0; }
  .services__head, .process__head { position: static; }
  .cases { grid-template-columns: 1fr; }
  .cases__stage { position: static; order: -1; }
  .cases__tabs { grid-auto-flow: column; grid-auto-columns: minmax(260px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
  .cases__tabs::-webkit-scrollbar { display: none; }
  .case-tab { scroll-snap-align: start; border-color: var(--line); }
}

@media (max-width: 767px) {
  .nav { inset-block-start: 10px; }
  .nav__island { height: 56px; gap: .75rem; }
  .nav__cta { display: none; }
  .burger { margin-left: auto; }

  .hero { padding-top: 6.5rem; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile--chat, .tile--accent, .tile--ink, .tile--plain, .tile--crm { grid-column: auto; }
  .tile--accent, .tile--ink, .tile--plain { min-height: 230px; }
  .tile--crm { flex-direction: column; }
  .tile--crm .tile__media { margin-right: 0; border-radius: 18px 18px 0 0; border-right: 1px solid var(--line); }

  .services__list, .facts { grid-template-columns: 1fr; gap: 1.75rem; }
  .step { padding: 1.25rem; gap: 1rem; }
  .step.is-active { transform: none; }

  .contact__core { grid-template-columns: 1fr; }
  .form__submit { width: 100%; justify-content: space-between; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__links { flex-wrap: wrap; gap: 1rem 1.5rem; }
}
