/* =========================================================
   Relaybird — design tokens
   ========================================================= */
:root {
  --ink: oklch(0.245 0.042 207.2);
  --ink-2: oklch(0.228 0.032 207.5 / 0.8);
  --ink-muted: oklch(0.52 0.052 206.3);
  --ink-soft: oklch(0.79 0.036 205.6);
  --dark: oklch(0.195 0.033 205.3);
  --dark-2: oklch(0.228 0.036 207.47);
  --dark-line: oklch(0.32 0.035 206);

  --bg: oklch(1 0 0);
  --surface: oklch(0.985 0 0);
  --surface-2: oklch(0.965 0.004 200);
  --line: oklch(0.94 0 0);
  --line-strong: oklch(0.88 0.006 205);

  --accent: oklch(0.875 0.144 145.6);
  --accent-2: oklch(0.926 0.136 145.2);
  --accent-soft: oklch(0.975 0.035 142.8);
  --accent-ink: oklch(0.45 0.12 150);
  --mustard: oklch(0.661 0.135 82.25);
  --mustard-ink: oklch(0.516 0.105 80.95);
  --cream: oklch(0.991 0.01 85.85);
  --peach: oklch(0.963 0.017 50);
  --sky: oklch(0.958 0.025 237.5);
  --rust: oklch(0.451 0.11 43);
  --navy: oklch(0.373 0.138 262);

  --c-violet: oklch(0.55 0.17 290);
  --c-orange: oklch(0.68 0.16 45);
  --c-blue: oklch(0.58 0.18 255);
  --c-rose: oklch(0.55 0.18 0);
  --c-mustard: oklch(0.7 0.14 82);
  --c-green: oklch(0.6 0.14 148);

  --container: 1320px;
  --wide: 1680px;
  --narrow: 820px;
  --gutter: 32px;
  --header-h: 64px;
  --section-y: clamp(72px, 8vw, 128px);

  --font: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 24px 48px -16px oklch(0.25 0.04 207 / .18);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); padding-inline: var(--gutter); margin-inline: auto; }
.container.narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.wide { width: 100%; max-width: var(--wide); padding-inline: var(--gutter); margin-inline: auto; }
.center { text-align: center; justify-content: center; }
.center-block { margin-inline: auto; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.mini { width: 14px; height: 14px; }

/* Typography */
.h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.125; font-weight: 480; letter-spacing: -0.015em; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 480; letter-spacing: -0.01em; }
.lead, .section-text { font-size: 18px; color: var(--ink-2); max-width: 34em; }
.section-text { margin-top: 16px; }
.text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink-soft); text-underline-offset: 3px; }
.text-link:hover { text-decoration-color: var(--ink); }
.text-link.small { font-size: 14px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); margin-bottom: 16px; font-weight: 450; }
.eyebrow::before { content: ""; width: 14px; height: 8px; background: var(--mustard); clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%); }
.eyebrow.on-dark { color: oklch(0.92 0.01 205); }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 550; }
.arrow-link::before { content: "→"; transition: transform .25s var(--ease); }
a:hover > .arrow-link::before, .arrow-link:hover::before { transform: translateX(3px); }

.tag-new { font-style: normal; font-size: 11px; font-weight: 550; padding: 1px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); margin-left: 4px; vertical-align: 1px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 0 0 2px var(--accent), 0 0 18px -4px var(--accent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 3px var(--accent), 0 8px 24px -6px var(--accent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-muted); }
.btn-outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--surface); transform: translateY(-1px); }

/* =========================================================
   Header + mega menus
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.brand-mark { width: 26px; height: 26px; }
.brand-name { font-weight: 650; font-size: 20px; letter-spacing: -0.03em; }

.main-nav ul { display: flex; gap: 4px; }
.main-nav li { position: static; }
.nav-trigger, .nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  height: var(--header-h); padding: 0 12px; font-size: 16px; font-weight: 550;
}
.caret { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .2s; }
.has-menu.open .caret { transform: rotate(180deg); }
.nav-trigger::after, .nav-link.is-current::after, .is-current > .nav-trigger::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--ink);
  transform: scaleX(0); transition: transform .25s var(--ease);
}
.has-menu.open .nav-trigger::after, .nav-link.is-current::after, .is-current > .nav-trigger::after { transform: scaleX(1); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 40px -30px oklch(0.25 0.04 207 / .25);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s, transform .22s var(--ease), visibility .18s;
}
.has-menu.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { max-width: var(--container); margin-inline: auto; padding: 32px var(--gutter) 36px; }
.mega-backdrop { position: fixed; inset: var(--header-h) 0 0; background: oklch(0.2 0.03 206 / .08); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: -1; }
.site-header.menu-open .mega-backdrop { opacity: 1; }

.mega-product { display: grid; grid-template-columns: 1fr 3fr; gap: 8px; }
.mega-primary { display: flex; flex-direction: column; background: var(--dark); color: #fff; }
.mega-primary-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px; font-weight: 550; border-bottom: 1px solid oklch(1 0 0 / .08); transition: background .2s; }
.mega-primary-link:last-child { border-bottom: 0; }
.mega-primary-link:hover { background: oklch(1 0 0 / .06); }
.mega-primary-link.is-featured {
  min-height: 116px; align-items: flex-start;
  background:
    repeating-linear-gradient(135deg, oklch(1 0 0 / .045) 0 14px, transparent 14px 28px) bottom / 100% 48px no-repeat,
    var(--dark-2);
}
.mega-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-card { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.mega-card:hover { border-color: var(--line-strong); background: var(--surface); }
.mega-card-text { display: flex; flex-direction: column; gap: 4px; }
.mega-card-text strong { font-weight: 550; }
.mega-card-text span { font-size: 14px; color: var(--ink-2); }
.mega-card-ico { color: var(--accent-ink); }
.mega-card-ico .ico { width: 22px; height: 22px; }

.mega-columns { display: grid; gap: 8px; }
.mega-columns.cols-4 { grid-template-columns: repeat(4, 1fr); }
.mega-col { border: 1px solid var(--line); display: flex; flex-direction: column; }
.mega-col-title { padding: 12px 16px; font-weight: 600; border-bottom: 1px solid var(--line); background: var(--surface); }
.mega-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 16px; font-size: 15px; font-weight: 500; transition: background .2s; }
.mega-row:hover { background: var(--surface); }
.mega-row .ico.mini { opacity: .45; transition: transform .2s, opacity .2s; }
.mega-row:hover .ico.mini { opacity: 1; transform: translateX(2px); }
.mega-row-label { display: inline-flex; align-items: center; gap: 10px; }
.mega-row-label .ico { width: 18px; height: 18px; color: var(--accent-ink); }
.mega-feature { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--cream); border: 1px solid oklch(0.93 0.03 85); }
.mega-feature .eyebrow { margin: 8px 0 0; font-size: 13px; }
.mega-feature strong { font-weight: 550; font-size: 17px; line-height: 1.3; }
.mega-feature .arrow-link { margin-top: auto; font-size: 14px; }
.mega-feature-art { height: 72px; background: radial-gradient(circle at 30% 40%, var(--accent) 0 18px, transparent 19px), radial-gradient(circle at 60% 60%, var(--mustard) 0 12px, transparent 13px), linear-gradient(135deg, oklch(0.95 0.04 85), oklch(0.93 0.06 145)); }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.nav-signin { height: auto; font-size: 15px; margin-right: 4px; }

.menu-toggle { display: none; width: 40px; height: 40px; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu { display: flex; flex-direction: column; padding: 4px var(--gutter) 24px; border-top: 1px solid var(--line); background: #fff; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.m-group { border-bottom: 1px solid var(--line); }
.m-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 17px; font-weight: 550; cursor: pointer; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group[open] .caret { transform: rotate(180deg); }
.m-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; padding-bottom: 16px; }
.m-links a { padding: 8px 0; color: var(--ink-2); font-size: 15px; }
.m-link { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 550; }
.mobile-menu-ctas { display: grid; gap: 12px; margin-top: 20px; }

/* =========================================================
   Home hero
   ========================================================= */
.hero { padding-top: clamp(48px, 7vw, 80px); }
.hero-title { font-size: clamp(48px, 7vw, 96px); line-height: 1; font-weight: 480; letter-spacing: -0.035em; }
.rotator { display: inline-block; white-space: nowrap; }
.rotator .ch { display: inline-block; animation: chIn .55s var(--ease) both; }
.rotator .ch.out { animation: chOut .35s var(--ease) both; }
@keyframes chIn { from { opacity: 0; transform: translateY(.35em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes chOut { to { opacity: 0; transform: translateY(-.3em); filter: blur(6px); } }

.hero-sub { margin-top: 24px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.4; color: var(--ink-2); max-width: 30em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: 6px; }
.checks li::before {
  content: ""; width: 13px; height: 13px; border-radius: 50%; border: 1.2px solid var(--accent-ink);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.2 6.2l1.8 1.8 3.8-3.8' fill='none' stroke='%23387d4e' stroke-width='1.4'/%3E%3C/svg%3E") center/100% no-repeat;
}

.hero-media-wrap { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); background: var(--surface); }
.hero-media { position: relative; aspect-ratio: 16 / 8.6; overflow: hidden; }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; }

.app-window {
  position: absolute; left: 7%; right: 7%; bottom: -1px; height: 60%;
  display: grid; grid-template-columns: 180px 1fr 260px;
  background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0;
  box-shadow: 0 -20px 60px -20px oklch(0.25 0.04 207 / .35);
  font-size: 12px; overflow: hidden;
  transform: translateY(24px); opacity: 0; animation: rise 1s .3s var(--ease) forwards;
}
@keyframes rise { to { transform: none; opacity: 1; } }
.app-side { padding: 16px 14px; border-right: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 3px; }
.app-side-logo { display: flex; align-items: center; gap: 6px; font-weight: 650; font-size: 13px; margin-bottom: 8px; }
.app-side-logo .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--ink); box-shadow: inset -3px -3px 0 var(--accent); }
.app-side-label { margin-top: 10px; font-size: 11px; color: var(--ink-muted); }
.app-side-item { padding: 5px 8px; border-radius: 6px; color: var(--ink-2); }
.app-side-item.active { background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 550; color: var(--ink); }
.app-main { padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: flex-end; }
.app-kicker { color: var(--ink-muted); font-size: 11px; }
.app-title { font-weight: 550; font-size: 14px; }
.app-big { font-size: 24px; font-weight: 550; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.pill-up { font-size: 11px; font-style: normal; padding: 2px 7px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 550; }
.app-chart { width: 100%; height: 32%; min-height: 50px; }
.app-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.app-table th { text-align: left; font-weight: 550; color: var(--ink-muted); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.app-table td { padding: 7px 4px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tico { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--line); margin-right: 6px; vertical-align: -2px; }
.status { font-weight: 550; font-size: 10.5px; font-style: normal; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); }
.status.draft { background: var(--line); color: var(--ink-muted); }
.app-chat { border-left: 1px solid var(--line); padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-head { font-weight: 550; font-size: 13px; display: flex; gap: 6px; align-items: center; }
.spark { color: var(--mustard); }
.chat-bubble { padding: 9px 11px; border-radius: 10px; line-height: 1.4; }
.chat-bubble.user { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; max-width: 92%; }
.chat-bubble.bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.chat-input { margin-top: auto; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; color: var(--ink-muted); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.send { width: 18px; height: 18px; border-radius: 4px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; flex: none; }

/* =========================================================
   Logos
   ========================================================= */
.logos { border-block: 1px solid var(--line); }
.logos-frame {
  max-width: calc(var(--container) - var(--gutter) * 2); margin-inline: auto;
  border-inline: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: scroll 60s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.logo-cell { width: 220px; height: 80px; flex: none; display: flex; align-items: center; justify-content: center; gap: 10px; border-right: 1px solid var(--line); font-size: 20px; color: var(--ink); }
.logo-cell svg { width: 20px; height: 20px; }
.logo-chip { font-size: 11px; color: var(--mustard-ink); background: var(--cream); border: 1px solid oklch(0.92 0.04 85); padding: 2px 8px; border-radius: 99px; transition: background .2s; }
.logo-chip:hover { background: oklch(0.96 0.04 85); }
.logos-band { text-align: center; font-size: 14px; padding: 8px 12px; background: var(--surface); border-block: 1px solid var(--line); color: var(--ink-2); }
.logos-band strong { font-weight: 650; color: var(--ink); }

/* =========================================================
   Statement + values
   ========================================================= */
.statement { padding: var(--section-y) 0 clamp(64px, 7vw, 100px); }
.statement.compact { padding: clamp(64px, 7vw, 104px) 0 clamp(40px, 4vw, 56px); }
.statement-text { max-width: 960px; margin: 0 auto; text-align: center; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.28; font-weight: 420; letter-spacing: -0.015em; }
.c-violet { color: var(--c-violet); } .c-orange { color: var(--c-orange); } .c-blue { color: var(--c-blue); }
.c-rose { color: var(--c-rose); } .c-mustard { color: var(--c-mustard); } .c-green { color: var(--c-green); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 88px); border-left: 1px solid var(--line); }
.values li { padding: 20px 28px 36px; border-right: 1px solid var(--line); }
.v-ico { width: 18px; height: 18px; color: var(--mustard-ink); margin-bottom: 18px; }
.values h3 { font-size: 18px; font-weight: 550; margin-bottom: 6px; }
.values p { font-size: 16px; color: var(--ink-2); max-width: 26em; }

/* =========================================================
   Section heads
   ========================================================= */
.section-head { margin-bottom: clamp(40px, 5vw, 56px); }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.center { text-align: center; }
.section-head.center .section-text { margin-inline: auto; }

/* =========================================================
   Capabilities strip
   ========================================================= */
.capabilities { padding: var(--section-y) 0; }
.cap-strip { display: flex; height: clamp(380px, 30vw, 520px); overflow: hidden; }
.cap-card {
  position: relative; flex: 1 1 0; min-width: 0;
  background-color: oklch(0.16 0.04 206);
  background-size: cover; background-position: center;
  border-right: 1px solid oklch(1 0 0 / .08); color: #fff;
  transition: flex-grow .6s var(--ease); isolation: isolate;
}
.cap-card:last-child { border-right: 0; }
.cap-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, oklch(0.14 0.04 206 / .08) 32%, oklch(0.12 0.04 206 / .78) 100%);
  transition: background .5s;
}
.cap-card:hover, .cap-card.open { flex-grow: 2.2; }
.cap-card:hover::before, .cap-card.open::before {
  background: linear-gradient(180deg, oklch(0.14 0.04 206 / 0) 40%, oklch(0.12 0.04 206 / .86) 100%);
}
.cap-plus { position: absolute; top: 16px; left: 16px; width: 30px; height: 30px; border-radius: 50%; background: oklch(1 0 0 / .14); color: #fff; font-size: 18px; line-height: 1; display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.cap-card:hover .cap-plus, .cap-card.open .cap-plus { transform: rotate(45deg); background: var(--accent); color: var(--ink); }
.cap-body { position: absolute; left: 20px; right: 20px; bottom: 20px; }
.cap-body h3 { font-size: 18px; font-weight: 550; }
.cap-body p, .cap-link { display: block; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.cap-body p { font-size: 15px; color: oklch(0.92 0.015 205); max-width: 24em; }
.cap-link { font-size: 14px; font-weight: 600; color: var(--accent-2); }
.cap-card:hover .cap-body p, .cap-card.open .cap-body p { max-height: 120px; opacity: 1; margin-top: 8px; }
.cap-card:hover .cap-link, .cap-card.open .cap-link { max-height: 30px; opacity: 1; margin-top: 12px; }

/* =========================================================
   AI tabs
   ========================================================= */
.ai { padding: clamp(40px, 5vw, 64px) 0 var(--section-y); }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ai-copy .lead { margin-top: 20px; }
.ai-tabs { margin-top: 40px; display: flex; flex-direction: column; }
.ai-tab { position: relative; text-align: left; padding: 20px 0 20px 22px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); }
.ai-tab:last-child { border-bottom: 1px solid var(--line); }
.ai-tab strong { font-size: 18px; font-weight: 550; color: var(--ink-muted); transition: color .3s; }
.ai-tab > span:last-child { font-size: 16px; color: var(--ink-2); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.ai-tab.is-active strong { color: var(--ink); }
.ai-tab.is-active > span:last-child { max-height: 100px; opacity: 1; }
.ai-progress { position: absolute; left: 0; top: 20px; bottom: 20px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.ai-progress i { position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: top; }
.ai-tab.is-active .ai-progress i { animation: fillY var(--dur, 7s) linear forwards; }
@keyframes fillY { to { transform: scaleY(1); } }
.ai-more { margin-top: 28px; }

.ai-visual {
  position: relative; aspect-ratio: 4 / 4.2; overflow: hidden;
  background: radial-gradient(120% 80% at 20% 0%, oklch(0.97 0.03 85), transparent 60%), radial-gradient(90% 70% at 100% 100%, oklch(0.93 0.05 145), transparent 60%), oklch(0.955 0.012 85);
}
.ai-visual::after, .soft-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: radial-gradient(oklch(0.6 0.02 85 / .35) 1px, transparent 1px); background-size: 6px 6px; }
.ai-panel { position: absolute; inset: 0; display: grid; place-items: center; padding: 9%; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .5s, transform .6s var(--ease); z-index: 1; }
.ai-panel.is-active { opacity: 1; transform: none; }
.chat-card { width: 100%; background: #fff; border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; box-shadow: 0 30px 60px -24px oklch(0.25 0.04 207 / .35), 0 0 0 1px oklch(0.25 0.04 207 / .05); }
.flow { display: flex; flex-direction: column; align-items: center; padding: 6px 0; }
.flow-node { width: 82%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13px; }
.flow-node b, .mock-node b { display: block; font-size: 10.5px; font-weight: 500; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; font-family: var(--mono); }
.flow-node.trigger { background: var(--accent-soft); border-color: oklch(0.9 0.08 145); }
.flow-line, .mock-line { width: 1px; height: 16px; background: oklch(0.85 0.01 205); }
.flow-split { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flow-node.small { width: 100%; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat-row > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; }
.stat-row small { color: var(--ink-muted); font-size: 11px; }
.stat-row b { font-size: 20px; font-weight: 550; letter-spacing: -0.02em; }
.stat-row em { font-style: normal; font-size: 11px; }
.up { color: var(--accent-ink); }
.opp { display: flex; flex-direction: column; gap: 8px; }
.opp-item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.opp-item b { font-weight: 550; display: block; }
.opp-item small { color: var(--ink-muted); font-size: 12px; }
.opp-item em { font-style: normal; font-size: 12px; color: var(--accent-ink); font-weight: 550; }
.opp-dot { width: 8px; height: 8px; border-radius: 50%; }
.opp-dot.g { background: var(--accent); } .opp-dot.y { background: var(--mustard); }

/* =========================================================
   Stages
   ========================================================= */
.stages { padding: var(--section-y) 0; }
.stage-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stage { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.stage:hover { background: var(--surface); }
.stage-link { position: relative; min-height: 260px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.stage-ico { position: absolute; top: 28px; right: 28px; width: 52px; height: 52px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; transition: transform .4s var(--ease); }
.stage-ico .fill { fill: var(--accent); stroke: none; }
.stage:hover .stage-ico { transform: translateY(-4px) rotate(-4deg); }
.stage h3 { font-size: 26px; font-weight: 450; margin-bottom: 8px; }
.stage p { font-size: 16px; color: var(--ink-2); max-width: 26em; }
.stage .arrow-link { margin-top: 16px; font-size: 14px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease); }
.stage:hover .arrow-link { opacity: 1; transform: none; }

/* =========================================================
   Enterprise (dark)
   ========================================================= */
.enterprise { background: var(--dark); color: #fff; padding: var(--section-y) 0; }
.ent-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--dark-line); background: var(--dark-2); }
.ent-card { padding: 28px clamp(20px, 2.5vw, 32px) 36px; display: flex; flex-direction: column; min-height: 300px; border-bottom: 1px solid var(--dark-line); transition: background .3s; }
a.ent-card:hover { background: oklch(0.25 0.038 207); }
.ent-card:nth-child(n+3) { border-left: 1px solid var(--dark-line); }
.ent-card:last-child { border-bottom: 0; }
.ent-card h3 { margin-top: auto; font-size: 26px; font-weight: 420; line-height: 1.2; }
.ent-card p:not(.ent-label) { margin-top: 12px; font-size: 16px; color: var(--ink-soft); max-width: 30em; }
.ent-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: oklch(0.9 0.015 205); }
.ent-label::before { content: ""; width: 8px; height: 8px; background: var(--accent); }
.ent-integrations { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; gap: 24px; min-height: 360px; }
.ent-integrations .ent-text { display: flex; flex-direction: column; }
.int-grid { display: grid; grid-template-columns: repeat(4, 60px); gap: 24px 44px; align-content: center; margin-right: 24px; }
.int-grid .int:nth-child(8) { grid-column: 1; }
.int-grid .int:nth-child(n+5):nth-child(-n+7) { transform: translateX(52px); }
.int { width: 60px; height: 60px; border-radius: 8px; display: grid; place-items: center; background: oklch(0.27 0.04 206); border: 1px solid oklch(0.33 0.04 206); animation: float 6s ease-in-out infinite; }
.int:nth-child(2n) { animation-delay: -2s; } .int:nth-child(3n) { animation-delay: -4s; }
@keyframes float { 50% { translate: 0 -4px; } }
.int .ico { width: 24px; height: 24px; color: oklch(0.9 0.1 145); }
.ent-art { grid-row: span 2; align-items: center; justify-content: center; border-bottom: 0; }
.art { width: min(100%, 360px); height: auto; }
.art-orbit { transform-origin: 160px 160px; animation: orbit 24s linear infinite; }
.art-orbit.slow { animation-duration: 40s; animation-direction: reverse; }
@keyframes orbit { to { transform: rotate(360deg); } }

.guard .pillars { border-color: var(--dark-line); }
.guard .pillars li { border-color: var(--dark-line); }
.guard .pillars p { color: var(--ink-soft); }
.guard .pillar-ico { background: oklch(0.27 0.04 206); color: var(--accent-2); border-color: oklch(0.33 0.04 206); }

/* =========================================================
   Cases (home)
   ========================================================= */
.cases { padding: var(--section-y) 0; }
.case-tabs, .chip-row { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.case-tab, .chip { height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 550; color: var(--ink-2); transition: all .25s; }
.case-tab:hover, .chip:hover { border-color: var(--ink-soft); color: var(--ink); }
.case-tab.is-active, .chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.case-stage { position: relative; display: grid; }
.case { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1.6fr; border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .45s, transform .5s var(--ease), visibility .45s; }
.case.is-active { opacity: 1; visibility: visible; transform: none; }
.case-stats { display: grid; border-right: 1px solid var(--line); }
.case-stats > div { padding: 32px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.case-stats > div + div { border-top: 1px solid var(--line); }
.case-stats b, .stats-band b { font-size: clamp(44px, 5vw, 72px); font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.case-stats span { color: var(--ink-2); font-size: 16px; }
.case blockquote { margin: 0; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; background: var(--surface); }
.case blockquote p { font-size: clamp(20px, 2vw, 28px); line-height: 1.35; letter-spacing: -0.01em; }
.case footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.case footer b { display: block; font-weight: 550; }
.case footer small { color: var(--ink-muted); font-size: 14px; }
.case-more { margin-left: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 650; color: var(--ink); flex: none; background: var(--accent); }
.avatar.tone-mustard { background: oklch(0.85 0.1 82); }
.avatar.tone-blue { background: oklch(0.85 0.08 255); }

/* =========================================================
   CTA + badges
   ========================================================= */
.cta { padding-top: var(--section-y); }
.cta-title { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; font-weight: 480; letter-spacing: -0.035em; }
.cta .checks.center { justify-content: center; }
.badges { margin-top: clamp(64px, 8vw, 96px); border-block: 1px solid var(--line); background: var(--surface); }
.badges-inner { max-width: var(--container); margin-inline: auto; padding: 36px var(--gutter); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--ink-2); }
a.badge { text-decoration: none; transition: color .2s; }
a.badge:hover { color: var(--ink); }
.badge::before { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink-soft); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l6 2.5v5c0 4-2.6 7-6 8.5-3.4-1.5-6-4.5-6-8.5v-5z' fill='none' stroke='%23365a62' stroke-width='1.4'/%3E%3C/svg%3E") center/16px no-repeat; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(6, 1fr); gap: 32px; }
.footer-brand > p { margin-top: 14px; font-size: 15px; color: var(--ink-muted); max-width: 18em; }
.newsletter { margin-top: 24px; max-width: 340px; }
.newsletter label { font-size: 13px; font-weight: 550; display: block; margin-bottom: 8px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; background: #fff; }
.site-footer h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-muted); }
.socials { display: flex; gap: 4px; }
.socials a { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-2); transition: background .2s; }
.socials a:hover { background: var(--surface); }
.legal a:hover { color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.7 0.17 148); box-shadow: 0 0 0 0 oklch(0.7 0.17 148 / .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px oklch(0.7 0.17 148 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.7 0.17 148 / 0); } }

/* =========================================================
   Inner page hero
   ========================================================= */
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.page-hero.is-center { text-align: center; }
.page-hero.is-center .hero-sub, .page-hero.is-center .page-hero-copy { margin-inline: auto; }
.page-hero.is-center .checks { justify-content: center; }
.page-hero-copy { max-width: 900px; }
.page-title { font-size: clamp(42px, 5.6vw, 80px); line-height: 1.02; font-weight: 480; letter-spacing: -0.035em; }
.page-hero-visual { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); background: linear-gradient(var(--surface), var(--surface)) top / 100% 70% no-repeat; }
.hero-mock { position: relative; padding: clamp(32px, 5vw, 72px); background: radial-gradient(120% 90% at 0% 0%, oklch(0.97 0.03 85), transparent 60%), radial-gradient(90% 80% at 100% 100%, oklch(0.93 0.05 145), transparent 60%), oklch(0.955 0.012 85); display: grid; place-items: center; }
.hero-mock .mock { width: min(100%, 620px); }
.platform-media { aspect-ratio: 16 / 8; }
.about-photo { aspect-ratio: 16 / 7; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.search-box { margin-top: 32px; display: flex; align-items: center; gap: 10px; height: 52px; max-width: 520px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.search-box input { flex: 1; border: 0; outline: 0; background: none; font-size: 16px; }
.search-box .ico { color: var(--ink-muted); }
.search-box.small { margin-top: 0; height: 40px; padding: 0 14px; }
.search-box.small input { font-size: 14px; }

.crumbs { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; color: var(--ink-muted); }
.crumbs a:hover { color: var(--ink); }

/* =========================================================
   Pillars
   ========================================================= */
.pillars-section { padding-bottom: clamp(24px, 3vw, 40px); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.pillars li { padding: 28px; border-right: 1px solid var(--line); }
.pillars li:last-child { border-right: 0; }
.pillar-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); border: 1px solid oklch(0.92 0.06 145); margin-bottom: 40px; }
.pillars h3 { font-size: 18px; font-weight: 550; margin-bottom: 6px; }
.pillars p { color: var(--ink-2); }

/* =========================================================
   Feature rows
   ========================================================= */
.rows-section { padding: var(--section-y) 0; }
.rows { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 112px); }
.row { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.row.is-flipped .row-copy { order: 2; }
.row-copy p { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 30em; }
.row-copy .arrow-link { margin-top: 24px; }
.row-visual { position: relative; padding: clamp(28px, 4vw, 56px); background: var(--surface-2); display: grid; place-items: center; min-height: 380px; overflow: hidden; }
.row:nth-child(3n+1) .row-visual { background: radial-gradient(90% 80% at 0% 0%, oklch(0.96 0.04 145), transparent 70%), var(--surface-2); }
.row:nth-child(3n+2) .row-visual { background: radial-gradient(90% 80% at 100% 0%, oklch(0.97 0.03 85), transparent 70%), var(--surface-2); }
.row:nth-child(3n) .row-visual { background: radial-gradient(90% 80% at 50% 100%, var(--sky), transparent 70%), var(--surface-2); }
.tick-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.tick-list .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-ink); stroke-width: 2; }
.tick-list.light li { color: #fff; }
.tick-list.light .ico { color: var(--accent); }

/* =========================================================
   Mock UI visuals
   ========================================================= */
.mock { width: 100%; max-width: 520px; background: #fff; border-radius: 14px; padding: 20px; font-size: 13.5px; box-shadow: 0 30px 60px -24px oklch(0.25 0.04 207 / .3), 0 0 0 1px oklch(0.25 0.04 207 / .06); }
.mock-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.mock-head span { color: var(--ink-muted); font-size: 12px; }
.mock-head b { font-weight: 550; font-size: 16px; display: inline-flex; gap: 8px; align-items: center; }
.mock-flow { display: flex; flex-direction: column; align-items: center; }
.mock-node { width: 70%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.mock-node.trigger { background: var(--accent-soft); border-color: oklch(0.9 0.08 145); }
.mock-node.branch { background: var(--cream); border-color: oklch(0.92 0.04 85); }
.mock-node.ok { border-color: oklch(0.9 0.08 145); }
.mock-split { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; position: relative; }
.mock-split::before { content: ""; position: absolute; top: -16px; left: 25%; right: 25%; height: 16px; border: 1px solid oklch(0.85 0.01 205); border-bottom: 0; border-radius: 8px 8px 0 0; }
.mock-node.small { width: 100%; }
.mock-chat { display: flex; flex-direction: column; gap: 12px; }
.mock-mini-stats { display: flex; gap: 8px; }
.mock-mini-stats span { flex: 1; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font-weight: 550; }
.mock-mini-stats span.win { background: var(--accent-soft); border-color: oklch(0.9 0.08 145); }
.mock-mini-stats b { font-family: var(--mono); color: var(--ink-muted); margin-right: 6px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--accent), oklch(0.8 0.13 150)); animation: grow 1.2s var(--ease) both; transform-origin: bottom; }
.bars i:nth-child(3n) { background: linear-gradient(oklch(0.85 0.1 82), var(--mustard)); }
@keyframes grow { from { transform: scaleY(0); } }
.mock-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--ink-muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot.g { background: var(--accent); } .dot.y { background: var(--mustard); }
.rule { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.rule em { font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--mustard-ink); text-transform: uppercase; min-width: 40px; }
.rule b { margin-left: auto; font-weight: 550; }
.seg-size { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; padding: 12px; border-radius: 10px; background: var(--ink); color: #fff; }
.seg-size b { font-size: 20px; font-weight: 550; }
.mock-pipeline { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.pipe-col { display: flex; flex-direction: column; gap: 8px; }
.pipe-src, .pipe-dst { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; position: relative; }
.pipe-src::after, .pipe-dst::before { content: ""; position: absolute; top: 50%; width: 20px; height: 1px; background: repeating-linear-gradient(90deg, var(--ink-soft) 0 3px, transparent 3px 6px); }
.pipe-src::after { right: -21px; } .pipe-dst::before { left: -21px; }
.pipe-hub { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 650; font-size: 13px; box-shadow: 0 0 0 8px var(--accent-soft), 0 0 0 9px oklch(0.9 0.08 145); }
.mock-editor { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px; }
.ed-side { display: flex; flex-direction: column; gap: 6px; }
.ed-side span { padding: 8px 10px; border: 1px dashed var(--line-strong); border-radius: 8px; font-size: 12px; color: var(--ink-2); }
.ed-canvas { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; }
.ed-logo { width: 60px; height: 14px; border-radius: 4px; background: var(--ink); }
.ed-hero { height: 90px; border-radius: 8px; background: linear-gradient(135deg, var(--accent-soft), var(--cream)); }
.sk { display: block; height: 9px; border-radius: 99px; background: var(--line); }
.sk.dark { background: var(--ink-soft); height: 12px; }
.ed-btn { align-self: flex-start; display: inline-block; margin-top: 4px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.mock-email .em-head { display: flex; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.em-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 650; }
.em-head small { display: block; color: var(--ink-muted); }
.em-body { padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.em-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.em-cards span { padding: 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-muted); font-size: 12px; }
.em-cards b { display: block; font-size: 22px; color: var(--ink); font-weight: 550; }
.mock-phone { background: none; box-shadow: none; padding: 0; display: grid; place-items: center; }
.phone { width: 270px; min-height: 380px; padding: 20px 14px; border-radius: 36px; background: linear-gradient(160deg, oklch(0.4 0.06 206), oklch(0.22 0.04 206)); border: 6px solid oklch(0.18 0.02 206); display: flex; flex-direction: column; gap: 10px; box-shadow: 0 30px 60px -24px oklch(0.25 0.04 207 / .5); }
.phone-time { color: #fff; text-align: center; font-size: 40px; font-weight: 300; margin: 16px 0 20px; letter-spacing: -0.02em; }
.notif { display: flex; gap: 10px; padding: 12px; border-radius: 14px; background: oklch(1 0 0 / .85); backdrop-filter: blur(8px); font-size: 12.5px; }
.notif.dim { opacity: .7; }
.notif small { display: block; color: var(--ink-2); }
.notif-ico { width: 28px; height: 28px; border-radius: 7px; flex: none; background: var(--ink); box-shadow: inset -6px -6px 0 var(--accent); }
.phone.chat { background: oklch(0.97 0.005 200); justify-content: flex-end; }
.phone.chat.wa { background: oklch(0.95 0.02 100); }
.sms { max-width: 80%; padding: 10px 12px; border-radius: 16px; font-size: 13px; line-height: 1.35; }
.sms.in { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px oklch(0 0 0 / .06); }
.sms.out { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.wa .sms.out { background: oklch(0.88 0.1 145); color: var(--ink); }
.wa-buttons { display: flex; flex-direction: column; gap: 6px; max-width: 80%; }
.wa-buttons span { padding: 8px; text-align: center; background: #fff; border-radius: 10px; color: var(--c-blue); font-size: 13px; font-weight: 550; }
.mock-inapp { position: relative; min-height: 300px; padding: 0; overflow: hidden; }
.app-bar { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.app-content { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.inapp-modal { position: absolute; left: 50%; top: 52%; translate: -50% -50%; width: 70%; padding: 20px; border-radius: 14px; background: #fff; box-shadow: 0 20px 50px -10px oklch(0.25 0.04 207 / .35), 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 6px; animation: pop .6s .3s var(--ease) both; }
.inapp-modal small { color: var(--ink-2); }
@keyframes pop { from { opacity: 0; scale: .92; } }
.mock-inapp::after { content: ""; position: absolute; inset: 0; background: oklch(0.2 0.03 206 / .12); z-index: 0; }
.mock-inapp .inapp-modal { z-index: 1; }

/* =========================================================
   Extras grid
   ========================================================= */
.extras-section { padding: var(--section-y) 0; background: var(--surface); border-block: 1px solid var(--line); }
.extras { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.extras li { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line-strong); }
.extras li:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid var(--line-strong); }
.extras h3 { font-size: 17px; font-weight: 550; margin-bottom: 6px; }
.extras p { color: var(--ink-2); font-size: 15px; }
.extras.with-icons .ico { color: var(--accent-ink); margin-bottom: 20px; width: 22px; height: 22px; }

/* =========================================================
   Quote card
   ========================================================= */
.quote-section { padding: var(--section-y) 0 0; }
.quote-card { display: grid; grid-template-columns: 320px 1fr; border: 1px solid var(--line); }
.quote-art { position: relative; display: grid; place-items: center; padding: 32px; background: #fff; }
.quote-art::before { content: ""; position: absolute; inset: 18%; background: var(--c-orange); clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%); }
.tone-mustard .quote-art::before { background: var(--mustard); }
.tone-blue .quote-art::before { background: var(--c-blue); }
.tone-green .quote-art::before { background: oklch(0.7 0.15 150); }
.quote-avatar { position: relative; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 34px; font-weight: 600; letter-spacing: -0.02em; box-shadow: 0 10px 30px -10px oklch(0 0 0 / .3); }
.quote-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 28px; }
.tone-green .quote-body { background: var(--accent-soft); color: oklch(0.32 0.08 150); }
.tone-mustard .quote-body { background: var(--peach); color: var(--rust); }
.tone-blue .quote-body { background: var(--sky); color: var(--navy); }
.quote-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.quote-logo { display: inline-flex; align-items: center; padding: 6px 12px; background: currentColor; border-radius: 4px; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; }
.quote-logo { color: inherit; }
.quote-card .quote-logo, .story-card .quote-logo { background: none; border: 1.5px solid currentColor; }
.quote-stats { display: flex; gap: 24px; }
.quote-stats div { padding-left: 14px; border-left: 1px solid currentColor; display: flex; flex-direction: column; max-width: 150px; }
.quote-stats b { font-size: 22px; font-weight: 550; }
.quote-stats span { font-size: 13px; opacity: .85; }
.quote-card blockquote { font-size: clamp(20px, 2vw, 26px); line-height: 1.35; max-width: 36em; }
.quote-card figcaption { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.quote-card figcaption b { display: block; font-weight: 600; }
.quote-card figcaption span { font-size: 14px; opacity: .85; }

/* =========================================================
   Stats band
   ========================================================= */
.stats-section { padding: var(--section-y) 0 0; }
.stats-title { margin-bottom: 48px; }
.stats-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border: 1px solid var(--line); }
.stats-band > div { padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--line); }
.stats-band > div:last-child { border-right: 0; }
.stats-band span { color: var(--ink-2); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-section { padding: var(--section-y) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-size: 18px; font-weight: 550; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .3s; }
.faq-plus .ico { width: 16px; height: 16px; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq-answer { padding: 0 56px 24px 0; color: var(--ink-2); font-size: 16px; animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } }

/* =========================================================
   Link cards, posts
   ========================================================= */
.cards-section { padding: var(--section-y) 0; }
.cards-section + .cards-section { padding-top: 0; }
.link-cards { display: grid; gap: 16px; }
.link-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.link-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.link-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); background: #fff; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
a.link-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.link-card-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 24px; }
.link-card-kicker { font-size: 13px; color: var(--mustard-ink); font-weight: 550; }
.link-card h3 { font-size: 19px; font-weight: 550; }
.link-card p { color: var(--ink-2); font-size: 15px; flex: 1; }
.link-card .arrow-link { margin-top: 12px; font-size: 14px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
.post-card { display: flex; flex-direction: column; gap: 10px; }
.post-card h3 { font-size: 20px; font-weight: 550; line-height: 1.25; transition: color .2s; }
.post-card:hover h3 { color: var(--ink-muted); }
.post-card p { color: var(--ink-2); font-size: 15px; }
.post-meta { font-size: 13px; color: var(--ink-muted); }
.post-meta em { font-style: normal; color: var(--mustard-ink); font-weight: 600; }
.post-art { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 8px; transition: transform .4s var(--ease); }
.post-card:hover .post-art { transform: scale(.985); }
.post-art span { position: absolute; left: 16px; bottom: 14px; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: #fff; }
.art-0 { background: radial-gradient(circle at 70% 35%, var(--accent) 0 18%, transparent 18.5%), radial-gradient(circle at 30% 70%, oklch(0.8 0.1 150) 0 26%, transparent 26.5%), var(--accent-soft); }
.art-1 { background: repeating-linear-gradient(90deg, oklch(0.85 0.1 82) 0 12%, transparent 12% 24%) center / 100% 40% no-repeat, var(--cream); }
.art-2 { background: conic-gradient(from 210deg at 60% 50%, var(--c-blue), oklch(0.8 0.1 255), var(--sky), var(--c-blue)); }
.art-3 { background: radial-gradient(circle at 50% 120%, var(--c-orange) 0 45%, transparent 45.5%), var(--peach); }
.art-4 { background: linear-gradient(135deg, var(--dark) 0 50%, var(--dark-2) 50%), var(--dark); }
.art-4::after { content: ""; position: absolute; inset: 25% 30%; border: 2px solid var(--accent); border-radius: 50%; }
.art-5 { background: radial-gradient(circle at 30% 30%, var(--mustard) 0 14%, transparent 14.5%), radial-gradient(circle at 70% 60%, var(--accent) 0 20%, transparent 20.5%), var(--ink); }
.post-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.post-featured .post-art { aspect-ratio: 16 / 10; margin: 0; }
.post-featured .h2 { margin: 12px 0 0; }
.post-featured .arrow-link { margin-top: 24px; }
.blog-section { padding-bottom: var(--section-y); }

/* Article */
.article-head { padding-top: clamp(32px, 4vw, 56px); }
.article-title { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.06; font-weight: 480; letter-spacing: -0.03em; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.article-meta b { display: block; font-weight: 600; }
.article-meta small { color: var(--ink-muted); }
.article-art { margin: 40px 0 0; aspect-ratio: 16 / 8; }
.article-body { padding-block: clamp(40px, 5vw, 64px) var(--section-y); font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.article-body h2 { font-size: 28px; line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); margin: 48px 0 16px; }
.article-body h3 { font-size: 20px; line-height: 1.3; font-weight: 550; color: var(--ink); margin: 28px 0 10px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p + p { margin-top: 18px; }
.article-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body ul, .article-body ol { margin: 16px 0 8px; padding-left: 1.2em; display: grid; gap: 10px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { padding-left: 4px; }
.article-kisa { margin: 0 0 32px; padding: 20px 22px; background: var(--accent-soft); border-left: 3px solid var(--accent-ink); }
.article-kisa p { color: var(--ink); font-size: 17px; }
.article-figure { margin: 0 0 8px; }
.article-figure img { width: 100%; height: auto; background: var(--surface-2); border: 1px solid var(--line); }
.article-table-wrap { overflow-x: auto; margin: 20px 0 8px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.article-body th, .article-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-strong); vertical-align: top; }
.article-body th { color: var(--ink); font-weight: 550; }
.article-cta { margin-top: 56px; padding: 32px; background: var(--accent-soft); border: 1px solid oklch(0.92 0.06 145); }
.article-cta h3 { color: var(--ink); font-size: 22px; font-weight: 550; }
.article-cta p { margin: 8px 0 20px; font-size: 16px; }
.article-cta .hero-ctas { justify-content: flex-start; }
.post-badge { display: inline-block; font-style: normal; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; color: var(--mustard-ink); }
.post-art { position: relative; overflow: hidden; }
.post-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-art span { position: relative; z-index: 1; }
.pull-quote { margin: 40px 0; padding: 32px; border-left: 3px solid currentColor; }
.pull-quote.tone-green { background: var(--accent-soft); color: oklch(0.32 0.08 150); }
.pull-quote.tone-mustard { background: var(--peach); color: var(--rust); }
.pull-quote.tone-blue { background: var(--sky); color: var(--navy); }
.pull-quote blockquote { font-size: 22px; line-height: 1.4; }
.pull-quote figcaption { margin-top: 16px; font-size: 15px; }
.legal-body { padding-top: 0; }

/* Stories */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story-card { display: flex; flex-direction: column; gap: 20px; padding: 28px; min-height: 380px; transition: transform .25s var(--ease); }
.story-card:hover { transform: translateY(-3px); }
.story-card.tone-green { background: var(--accent-soft); color: oklch(0.32 0.08 150); }
.story-card.tone-mustard { background: var(--peach); color: var(--rust); }
.story-card.tone-blue { background: var(--sky); color: var(--navy); }
.story-card .quote-logo { align-self: flex-start; }
.story-card h3 { font-size: 22px; font-weight: 500; line-height: 1.25; }
.story-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: auto; }
.story-stats div { padding-left: 12px; border-left: 1px solid currentColor; display: flex; flex-direction: column; }
.story-stats b { font-size: 28px; font-weight: 500; }
.story-stats span { font-size: 13px; opacity: .85; }
.story-hero { padding: clamp(32px, 4vw, 56px) 0 0; }
.story-hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.story-facts { border-top: 1px solid var(--line-strong); }
.story-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.story-facts dt { color: var(--ink-muted); }
.story-facts dd { font-weight: 550; text-align: right; }

/* =========================================================
   Platform page
   ========================================================= */
.loop-section { padding: var(--section-y) 0 0; }
.loop { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); counter-reset: loop; }
.loop li { position: relative; padding: 28px; border-right: 1px solid var(--line); }
.loop li:last-child { border-right: 0; }
.loop li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 40px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 12px; z-index: 1; }
.loop-num { position: absolute; top: 28px; right: 28px; font-family: var(--mono); font-size: 13px; color: var(--ink-muted); }
.loop h3 { font-size: 20px; font-weight: 550; margin-bottom: 6px; }
.loop p { color: var(--ink-2); }
.channels-section { padding: 0 0 var(--section-y); }
.channel-strip { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.channel-tile { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border-right: 1px solid var(--line); transition: background .25s; }
.channel-tile:last-child { border-right: 0; }
.channel-tile:hover { background: var(--surface); }
.channel-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--accent); margin-bottom: 28px; transition: transform .3s var(--ease); }
.channel-tile:hover .channel-ico { transform: translateY(-3px) rotate(-4deg); }
.channel-ico .ico { width: 24px; height: 24px; }
.channel-tile strong { font-weight: 550; font-size: 17px; }
.channel-tile span:last-child { color: var(--ink-2); font-size: 14px; }

/* All features */
.all-features { padding-bottom: var(--section-y); }
.af-group { padding: 32px 0; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 1fr 3fr; gap: 32px; }
.af-group[hidden] { display: none; }
.af-head { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.af-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.af-list li { display: flex; gap: 8px; align-items: center; }
.af-list li[hidden] { display: none; }
.af-list .ico { width: 16px; height: 16px; color: var(--accent-ink); stroke-width: 2; }
.af-empty { padding: 48px 0; text-align: center; color: var(--ink-2); }

/* AI page */
.ai-demo { padding: clamp(28px, 5vw, 72px); background: radial-gradient(120% 90% at 0% 0%, oklch(0.97 0.03 85), transparent 60%), radial-gradient(90% 80% at 100% 100%, oklch(0.93 0.05 145), transparent 60%), oklch(0.955 0.012 85); display: grid; place-items: center; }
.ai-demo-window { width: min(100%, 760px); background: #fff; border-radius: 16px; box-shadow: 0 40px 80px -30px oklch(0.25 0.04 207 / .4), 0 0 0 1px oklch(0.25 0.04 207 / .06); overflow: hidden; }
.ai-demo-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 550; }
.ai-demo-head em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--ink-muted); font-weight: 400; }
.ai-demo-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.ai-steps { list-style: decimal; padding-left: 20px; margin: 12px 0; display: flex; flex-direction: column; gap: 6px; }
.ai-steps b { font-family: var(--mono); font-size: 11px; color: var(--mustard-ink); text-transform: uppercase; margin-right: 6px; font-weight: 500; }
.chat-suggest { display: flex; gap: 8px; flex-wrap: wrap; }
.chat-suggest span { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-strong); font-size: 13px; }
.ai-demo-window .chat-input { margin: 0 20px 20px; }
.surfaces-section { padding: var(--section-y) 0; }
.link-card.static { cursor: default; }

/* Integrations */
.integrations-dir { padding-bottom: var(--section-y); }
.int-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.int-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.int-card[hidden] { display: none; }
.int-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.int-card-ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--dark); color: var(--accent); }
.int-card h3 { font-weight: 550; font-size: 17px; }
.int-card p { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.int-card-cat { position: absolute; top: 20px; right: 20px; font-size: 12px; color: var(--ink-muted); }

/* Security */
.compliance { padding-bottom: var(--section-y); }
.compliance-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.compliance-card { padding: 28px 24px; border-right: 1px solid var(--line); }
.compliance-card:last-child { border-right: 0; }
.badge-lg { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--ink-soft); margin-bottom: 28px; }
.compliance-card h3 { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.compliance-card p { color: var(--ink-2); font-size: 14px; margin-top: 6px; }

/* Pricing */
.pricing-hero { padding: clamp(56px, 7vw, 96px) 0 var(--section-y); }
.pricing-hero .page-title { margin-top: 0; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; max-width: 1100px; margin-inline: auto; }
.tier { position: relative; border: 1px solid var(--line); padding: 8px; display: flex; flex-direction: column; background: #fff; }
.tier.is-featured { border-color: oklch(0.85 0.1 145); box-shadow: 0 30px 60px -30px oklch(0.6 0.15 150 / .5); }
.tier-flag { position: absolute; top: -12px; left: 50%; translate: -50% 0; padding: 3px 12px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.tier-top { padding: 24px 24px 28px; text-align: center; background: linear-gradient(180deg, var(--accent-soft), oklch(0.985 0.012 145)); display: flex; flex-direction: column; align-items: center; }
.tier h2 { font-size: 20px; font-weight: 550; }
.tier-kicker { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.tier-price { font-size: 56px; font-weight: 450; letter-spacing: -0.04em; line-height: 1.1; }
.tier-unit { font-size: 14px; color: var(--ink-2); }
.tier-select { margin-top: 14px; }
.tier-select select { height: 36px; padding: 0 32px 0 12px; border: 1px solid var(--ink-soft); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%230b2a30' stroke-width='1.4'/%3E%3C/svg%3E") right 10px center / 12px no-repeat; appearance: none; font-size: 14px; }
.tier-select-space { height: 50px; }
.tier-text { margin: 20px 0 24px; font-size: 15px; color: var(--ink-2); max-width: 22em; min-height: 44px; }
.tier-list { padding: 24px; }
.tier-list > p { font-size: 15px; font-weight: 550; }
.tier-list .tick-list { margin-top: 16px; }
.tier-list .tick-list li { font-size: 15px; }
.pricing-note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--ink-muted); }
.compare-section { padding: var(--section-y) 0 0; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.compare thead th { position: sticky; top: 0; background: #fff; font-size: 17px; font-weight: 600; }
.compare td { text-align: center; color: var(--ink-2); }
.compare thead th:not(:first-child) { text-align: center; }
.compare tbody th { font-weight: 450; }
.compare-group th { background: var(--surface); font-weight: 600 !important; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); }
.compare .yes .ico { width: 18px; height: 18px; color: var(--accent-ink); stroke-width: 2.2; }
.compare .no { color: var(--ink-soft); }

/* Solutions */
.challenges { padding: var(--section-y) 0 0; }
.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.challenge { padding: 28px; border-right: 1px solid var(--line); min-height: 240px; display: flex; flex-direction: column; }
.challenge:last-child { border-right: 0; }
.challenge-num { font-family: var(--mono); font-size: 13px; color: var(--mustard-ink); margin-bottom: auto; padding-bottom: 40px; }
.challenge h3 { font-size: 20px; font-weight: 550; margin-bottom: 8px; }
.challenge p { color: var(--ink-2); }
.sol-example { padding: var(--section-y) 0 0; }
.sol-example-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sol-example-grid .btn { margin-top: 28px; }
.sol-flow { padding: clamp(24px, 4vw, 48px); background: radial-gradient(90% 80% at 0% 0%, oklch(0.96 0.04 145), transparent 70%), var(--surface-2); }
.sol-flow-head { display: flex; align-items: center; gap: 8px; font-weight: 550; margin-bottom: 20px; }
.sol-flow-head .status { margin-left: auto; }
.sol-flow ol { display: flex; flex-direction: column; gap: 0; }
.sol-flow li { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.sol-flow li + li { margin-top: 18px; }
.sol-flow li + li::before { content: ""; position: absolute; left: 30px; top: -19px; height: 18px; width: 1px; background: var(--ink-soft); }
.sol-flow li.is-trigger { background: var(--accent-soft); border-color: oklch(0.9 0.08 145); }
.sol-flow li.is-branch { background: var(--cream); border-color: oklch(0.92 0.04 85); }
.sol-step-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; flex: none; }
.sol-group { padding-bottom: clamp(40px, 5vw, 64px); }
.sol-group-title { margin-bottom: 20px; padding-top: 24px; border-top: 1px solid var(--line-strong); }

/* Webinars, changelog */
.webinars-section { padding-bottom: var(--section-y); }
.webinar-list { display: flex; flex-direction: column; margin-bottom: 48px; border-top: 1px solid var(--line); }
.webinar { display: grid; grid-template-columns: 72px 1fr auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.webinar-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; height: 72px; background: var(--surface); border: 1px solid var(--line); }
.webinar-date b { font-size: 26px; font-weight: 500; line-height: 1; }
.webinar-date span { font-size: 12px; text-transform: uppercase; color: var(--ink-muted); }
.webinar h3 { font-size: 19px; font-weight: 550; margin: 4px 0; }
.webinar p { color: var(--ink-2); font-size: 14px; }
.changelog-section { padding-bottom: var(--section-y); }
.timeline { border-left: 1px solid var(--line-strong); margin-left: 8px; }
.timeline > li { position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 0 0 72px 32px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.timeline time { font-size: 14px; color: var(--ink-muted); padding-top: 2px; }
.timeline h3 { font-size: 22px; font-weight: 500; margin: 8px 0 6px; }
.timeline p { color: var(--ink-2); }
.timeline ul { margin: 12px 0 0; padding-left: 1.15em; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: 15px; list-style: disc; }
.timeline ul li { display: list-item; padding: 0; position: static; }
.cl-tag { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 99px; }
.tag-new { background: var(--accent-soft); color: var(--accent-ink); }
.cl-tag.tag-improved { background: var(--sky); color: var(--navy); }
.cl-tag.tag-fixed { background: var(--peach); color: var(--rust); }

/* Docs */
.docs { padding: 40px 0 var(--section-y); }
.docs-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.docs-nav { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 4px; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; padding-bottom: 24px; }
.docs-nav-bar { display: flex; flex-direction: column; gap: 10px; }
.docs-nav-toggle { display: none; height: 40px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; font-weight: 550; }
.docs-nav-title { margin: 20px 0 6px; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-muted); }
.docs-nav a { display: block; padding: 6px 10px; border-radius: 6px; font-size: 15px; color: var(--ink-2); }
.docs-nav a:hover { background: var(--surface); color: var(--ink); }
.docs-nav a.is-active { background: var(--accent-soft); color: var(--accent-ink); font-weight: 550; }
.docs-search-hits { margin: 8px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.docs-search-hits a { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.docs-search-hits a:last-child { border-bottom: 0; }
.docs-search-hits small { display: block; font-size: 12px; color: var(--ink-muted); }
.docs-content { min-width: 0; max-width: 820px; }
.docs-content h2 { font-size: 26px; font-weight: 500; margin: 48px 0 14px; scroll-margin-top: calc(var(--header-h) + 24px); }
.docs-content h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.docs-content > p, .docs-content .docs-list { color: var(--ink-2); font-size: 17px; margin-top: 12px; }
.docs-content > p code, .docs-list code { font-family: var(--mono); font-size: .9em; background: var(--surface); padding: .1em .35em; border-radius: 4px; }
.docs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.docs-list { padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.docs-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.docs-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; }
.docs-step-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 13px; font-weight: 650; }
.docs-steps h3 { margin: 4px 0 4px; font-size: 17px; }
.docs-steps p { color: var(--ink-2); }
.docs-toc { margin: 28px 0 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.docs-toc p { margin: 0 0 8px; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); }
.docs-toc ol { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.docs-toc a { color: var(--ink-2); font-size: 15px; }
.docs-toc a:hover { color: var(--ink); }
.docs-callout { margin: 20px 0; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); }
.docs-callout strong { display: block; margin-bottom: 4px; }
.docs-callout p { color: var(--ink-2); font-size: 15px; }
.docs-callout.is-note { background: var(--sky); border-color: oklch(0.88 0.04 220); }
.docs-callout.is-tip { background: var(--accent-soft); border-color: oklch(0.9 0.08 145); }
.docs-callout.is-warn { background: var(--peach); border-color: oklch(0.9 0.06 55); }
.docs-table-wrap { margin: 20px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.docs-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.docs-table th, .docs-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.docs-table th { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); background: var(--surface); }
.docs-table tr:last-child td { border-bottom: 0; }
.docs-table td:first-child { font-weight: 550; white-space: nowrap; }
.docs-more { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 28px; }
.docs-more a { font-weight: 550; color: var(--accent-ink); }
.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.docs-pager a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; }
.docs-pager a:hover { border-color: var(--ink); }
.docs-pager .is-next { text-align: right; }
.docs-pager small { font-size: 12px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .05em; }
.docs-pager span { font-weight: 550; }
.code-block { margin: 16px 0 24px; border-radius: 12px; overflow: hidden; background: var(--dark); }
.code-block figcaption { display: flex; align-items: center; gap: 10px; padding: 8px 12px 0 16px; color: oklch(0.78 0.02 205); font-size: 12px; font-family: var(--mono); }
.code-lang { text-transform: uppercase; letter-spacing: .06em; font-weight: 650; }
.code-cap { color: oklch(0.68 0.02 205); }
.code-copy { margin-left: auto; border: 0; background: transparent; color: inherit; font: inherit; padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.code-copy:hover, .code-copy:focus-visible { background: oklch(1 0 0 / .08); color: #fff; }
.code { margin: 0; padding: 14px 20px 18px; background: var(--dark); color: oklch(0.92 0.02 205); border-radius: 10px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.65; }
.code-block .code { border-radius: 0; }

/* Status */
.status-banner { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; margin-bottom: 24px; }
.status-section { padding-bottom: var(--section-y); }
.status-list { border: 1px solid var(--line); }
.status-list li { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.status-list li:last-child { border-bottom: 0; }
.status-row { display: flex; justify-content: space-between; margin-bottom: 12px; }
.status-row b { font-weight: 550; }
.ok { color: var(--accent-ink); font-weight: 550; font-size: 14px; }
.uptime { display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; height: 28px; }
.uptime i { background: oklch(0.78 0.15 148); border-radius: 2px; }
.uptime i.warn { background: var(--mustard); }
.status-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--ink-muted); }

/* =========================================================
   Forms
   ========================================================= */
.form-section { padding: 0 0 var(--section-y); }
.form-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.card-form { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 14px; font-weight: 550; }
.field em { font-style: normal; color: var(--ink-muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%230b2a30' stroke-width='1.4'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-rose); }
.field-error { color: var(--c-rose); font-size: 13px; min-height: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 14px; color: var(--accent-ink); font-weight: 550; min-height: 0; }
.form-note:empty { display: none; }
.fine { font-size: 13px; color: var(--ink-muted); }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-card { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); }
.contact-card > .ico { color: var(--accent-ink); width: 24px; height: 24px; }
.contact-card h3 { font-weight: 550; font-size: 17px; }
.contact-card p { color: var(--ink-2); font-size: 15px; margin: 4px 0 10px; }
.contact-card .arrow-link { font-size: 14px; }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.offices div { padding: 16px; background: var(--surface); display: flex; flex-direction: column; gap: 2px; }
.offices small { font-size: 12px; font-weight: 550; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
.offices b { font-size: 16px; font-weight: 600; }
.offices b em { font-style: normal; font-weight: 550; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); margin-left: 6px; }
.offices span { font-size: 14px; color: var(--ink-muted); }
.offices .is-soon { border: 1px dashed var(--line-strong); background: transparent; }
.studio-section { padding: var(--section-y) 0; }
.studio-lead { max-width: 36em; margin-bottom: 24px; }
.studio-links, .contact-direct, .footer-studio { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 15px; }
.studio-links a, .contact-direct a, .footer-studio a { color: var(--ink); text-underline-offset: 3px; }
.contact-direct { margin: 8px 0; font-weight: 550; }
.footer-studio { margin-top: 10px; font-size: 13px; color: var(--ink-muted); }
.footer-studio a { color: inherit; }
.demo-studio-kicker { margin-top: 40px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.demo-offices { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; max-width: 460px; }
.demo-offices li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-top: 1px solid var(--dark-line); }
.demo-offices small { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.demo-offices b { font-weight: 550; }
.demo-offices span { font-size: 14px; color: var(--ink-soft); }
.demo-offices .is-soon { opacity: .85; }
.demo-studio-links { display: flex; flex-direction: column; gap: 6px; margin-top: 24px; }
.demo-studio-links a { color: #fff; text-underline-offset: 3px; }
/* Book a demo */
.demo { display: grid; grid-template-columns: 1fr 1fr; min-height: 100dvh; }
.demo-side { background: var(--dark); color: #fff; display: flex; justify-content: flex-end; padding: 80px clamp(24px, 5vw, 74px); }
.demo-side-inner { width: 100%; max-width: 572px; display: flex; flex-direction: column; }
.brand.on-dark { color: #fff; }
.demo-title { margin-top: 56px; font-size: clamp(36px, 3.4vw, 48px); line-height: 1.125; font-weight: 475; letter-spacing: -0.025em; max-width: 12em; }
.demo-sub { margin-top: 20px; font-size: 16px; line-height: 1.45; color: var(--ink-soft); max-width: 30em; }

.demo-stories { margin-top: 48px; border: 1px solid var(--dark-line); max-width: 460px; }
.demo-brands { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--dark-line); }
.demo-brand { height: 52px; display: grid; place-items: center; font-size: 17px; color: oklch(1 0 0 / .45); transition: color .2s, background .2s; }
.demo-brand + .demo-brand { border-left: 1px solid var(--dark-line); }
.demo-brand:hover { color: oklch(1 0 0 / .8); }
.demo-brand.is-active { color: #fff; background: oklch(1 0 0 / .04); }
.demo-slides { display: grid; }
.demo-slide { grid-area: 1 / 1; padding: 28px 24px 8px; display: flex; flex-direction: column; }
.demo-slide[hidden] { display: none; }
.demo-slide.is-active { animation: demo-in .45s var(--ease); }
@keyframes demo-in { from { opacity: 0; transform: translateY(6px); } }
.demo-qmark { width: 22px; height: 16px; color: var(--ink-soft); opacity: .7; }
.demo-slide blockquote { margin-top: 18px; font-size: 16px; line-height: 1.55; color: oklch(1 0 0 / .88); }
.demo-slide figcaption { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-soft); }
.demo-slide figcaption b { display: block; color: #fff; font-weight: 600; }
.demo-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; color: var(--ink); background: var(--accent); flex: none; }
.demo-avatar.tone-mustard { background: oklch(0.85 0.11 85); }
.demo-avatar.tone-blue { background: oklch(0.82 0.08 240); }
.demo-arrows { display: flex; justify-content: flex-end; gap: 4px; padding: 0 16px 16px; }
.demo-arrow { width: 32px; height: 32px; display: grid; place-items: center; color: oklch(1 0 0 / .7); border-radius: 50%; transition: background .2s, color .2s; }
.demo-arrow:hover { background: oklch(1 0 0 / .08); color: #fff; }
.demo-arrow .ico { width: 16px; height: 16px; transform: rotate(90deg); }
.demo-arrow[data-slide-next] .ico { transform: rotate(-90deg); }

.demo-main { background: oklch(0.965 0 0); display: flex; align-items: flex-start; padding: 99px clamp(24px, 5vw, 74px) 80px; }
.demo-card { width: 100%; max-width: 572px; background: #fff; }
.demo-card-title { padding: 24px 32px 0; font-size: 20px; font-weight: 475; line-height: 1.4; }
.demo-form { display: flex; flex-direction: column; }
.demo-fields { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 24px; }
.dfield { display: flex; flex-direction: column; gap: 6px; }
.dfield > span:first-child { font-size: 14px; font-weight: 500; }
.dfield i { font-style: normal; }
.dfield input, .dfield select { width: 100%; height: 30px; padding: 0 0 2px; border: 0; border-bottom: 1px solid oklch(0.885 0 0); border-radius: 0; background: transparent; font-size: 18px; color: var(--ink); transition: border-color .2s; }
.dfield input::placeholder { color: oklch(0.65 0.01 210); }
.dfield select { appearance: none; padding-right: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%230b2a30' stroke-width='1.4'/%3E%3C/svg%3E") right 2px center / 12px no-repeat; }
.dfield select:invalid { color: oklch(0.65 0.01 210); }
.dfield input:focus, .dfield select:focus { outline: 0; border-bottom-color: var(--ink); }
.dfield.has-error input, .dfield.has-error select { border-bottom-color: var(--c-rose); }
.dfield .field-error { color: var(--c-rose); font-size: 13px; }
.dfield-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dphone { display: flex; align-items: flex-end; gap: 12px; }
.dphone select { width: auto; flex: none; font-size: 15px; padding-right: 20px; }
.dphone input { flex: 1; }
.demo-submit { padding: 24px 32px 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.demo-btn { height: 56px; width: 100%; background: oklch(0.3068 0.046 206.34); color: #fff; font-size: 16px; font-weight: 600; transition: background .2s; }
.demo-btn:hover { background: var(--ink); }
.demo-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.demo-submit .form-note:empty { display: none; }
.demo-submit .form-note { font-size: 15px; color: var(--accent-ink); font-weight: 550; }
.demo-fine { font-size: 13px; color: var(--ink-muted); line-height: 1.45; }
.demo-fine a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 960px) {
  .demo { grid-template-columns: 1fr; }
  .demo-side { justify-content: flex-start; padding: 40px 20px 48px; }
  .demo-title { margin-top: 36px; }
  .demo-stories { max-width: none; }
  .demo-main { padding: 32px 20px 56px; }
  .demo-card { max-width: none; }
}
@media (max-width: 600px) {
  .demo-card-title { padding: 20px 20px 0; }
  .demo-fields { padding: 24px 20px; }
  .demo-submit { padding: 20px; }
  .dfield-row { grid-template-columns: 1fr; gap: 24px; }
  .demo-brand { font-size: 14px; }
}

/* Auth */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100dvh; }
.auth-form { display: flex; flex-direction: column; padding: 32px clamp(24px, 5vw, 80px); }
.auth-box { width: 100%; max-width: 420px; margin: auto; padding: 48px 0; display: flex; flex-direction: column; gap: 4px; }
.auth-box .section-text { margin: 8px 0 28px; }
.auth-fields { display: flex; flex-direction: column; gap: 16px; }
.sso-btn .ico { width: 18px; height: 18px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--ink-muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.auth-switch { margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.auth-side { position: relative; background: var(--dark); color: #fff; display: grid; place-items: center; padding: 48px; overflow: hidden; }
.auth-side::before { content: ""; position: absolute; width: 560px; height: 560px; right: -160px; bottom: -200px; border-radius: 50%; border: 1px solid var(--dark-line); box-shadow: 0 0 0 80px oklch(1 0 0 / .02), 0 0 0 160px oklch(1 0 0 / .015); }
.auth-side-inner { position: relative; max-width: 440px; }
.auth-side blockquote { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; }
.auth-side p { margin-top: 24px; color: var(--ink-soft); }
.auth-side .h3 { color: #fff; }

/* Jobs */
.jobs-section { padding: var(--section-y) 0; }
.jobs { border-top: 1px solid var(--line-strong); }
.jobs li[hidden] { display: none; }
.job { display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-strong); transition: padding .25s var(--ease); }
.job:hover { padding-inline: 12px; background: var(--surface); }
.job h3 { font-size: 19px; font-weight: 550; }
.job div span { color: var(--ink-muted); font-size: 14px; }
.job-loc { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 15px; }
.job-loc .ico { width: 16px; height: 16px; }

/* About */
.about-story { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.about-story .article-body { padding: 0; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; }
.nf-code { font-size: clamp(96px, 14vw, 200px); font-weight: 300; letter-spacing: -0.06em; line-height: 1; color: var(--accent); -webkit-text-stroke: 2px var(--ink); }

/* =========================================================
   Reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .int-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1120px) {
  .header-actions .btn-outline { display: none; }
  .nav-trigger, .nav-link { padding: 0 9px; font-size: 15px; }
  .mega-columns.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .extras { grid-template-columns: repeat(2, 1fr); }
  .extras li:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .extras li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line-strong); }
  .compliance-grid { grid-template-columns: repeat(3, 1fr); }
  .compliance-card { border-bottom: 1px solid var(--line); }
  .channel-strip { grid-template-columns: repeat(3, 1fr); }
  .channel-tile { border-bottom: 1px solid var(--line); }
}
@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav, .header-actions .nav-link, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }

  .app-window { grid-template-columns: 1fr 220px; left: 4%; right: 4%; height: 66%; }
  .app-side { display: none; }
  .hero-media { aspect-ratio: 4 / 3; }

  .values { grid-template-columns: 1fr; border-left: 0; border-top: 1px solid var(--line); }
  .values li { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0 24px; }

  .cap-strip { flex-direction: column; height: auto; }
  .cap-card { min-height: 120px; background-size: cover; border-right: 0; border-bottom: 1px solid oklch(1 0 0 / .08); }
  .cap-card:hover, .cap-card.open { min-height: 240px; }

  .ai-grid, .row, .faq-grid, .form-split, .sol-example-grid, .about-story, .story-hero-grid, .post-featured, .docs-grid { grid-template-columns: 1fr; }
  .row.is-flipped .row-copy { order: 0; }
  .row-visual { min-height: 300px; }
  .ai-visual { aspect-ratio: 4 / 3.6; }
  .docs-nav { position: static; max-height: none; overflow: visible; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 8px; }
  .docs-nav-toggle { display: block; }
  .docs-nav-groups { display: none; }
  .docs-nav.is-open .docs-nav-groups { display: block; }
  .docs-pager { grid-template-columns: 1fr; }
  .docs-pager .is-next { text-align: left; }
  .docs-table td:first-child { white-space: normal; }

  .ent-grid { grid-template-columns: 1fr; }
  .ent-integrations { flex-direction: column; }
  .ent-art { grid-row: auto; min-height: 300px; border-bottom: 1px solid var(--dark-line); }
  .ent-card:nth-child(n+3) { border-left: 0; }

  .case { grid-template-columns: 1fr; }
  .case-stats { grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .case-stats > div + div { border-top: 0; border-left: 1px solid var(--line); }

  .pillars, .loop { grid-template-columns: 1fr 1fr; }
  .pillars li, .loop li { border-bottom: 1px solid var(--line); }
  .pillars li:nth-child(2n), .loop li:nth-child(2n) { border-right: 0; }
  .loop li::after { display: none; }
  .link-cards.cols-3, .link-cards.cols-4, .post-grid, .story-grid, .challenge-grid, .int-cards { grid-template-columns: 1fr 1fr; }
  .challenge { border-bottom: 1px solid var(--line); }
  .quote-card { grid-template-columns: 1fr; }
  .quote-art { min-height: 220px; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; }
  .af-group { grid-template-columns: 1fr; }
  .af-list { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .hero-media { aspect-ratio: 3 / 3.6; }
  .app-window { grid-template-columns: 1fr; height: 64%; }
  .app-chat { display: none; }
  .stage-grid { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: repeat(4, 48px); gap: 14px 18px; }
  .int { width: 48px; height: 48px; }
  .int-grid .int:nth-child(n+5):nth-child(-n+7) { transform: translateX(32px); }
  .stat-row b { font-size: 16px; }
  .case-stats > div { padding: 20px; }
  .pillars, .loop, .link-cards.cols-3, .link-cards.cols-4, .post-grid, .story-grid, .challenge-grid, .int-cards, .extras, .channel-strip, .compliance-grid, .docs-cards, .field-row, .offices { grid-template-columns: 1fr; }
  .pillars li, .loop li, .channel-tile, .compliance-card { border-right: 0; }
  .extras li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .af-list { grid-template-columns: 1fr; }
  .stats-band > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .webinar { grid-template-columns: 56px 1fr; }
  .webinar .btn { grid-column: 1 / -1; }
  .webinar-date { width: 56px; height: 56px; }
  .timeline > li { grid-template-columns: 1fr; gap: 4px; }
  .job { grid-template-columns: 1fr; gap: 8px; }
  .mock-editor { grid-template-columns: 1fr; }
  .ed-side { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .badges-inner { justify-content: center; }
  .faq-answer { padding-right: 0; }
  .mock-pipeline { grid-template-columns: 1fr; justify-items: center; }
  .pipe-col { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .pipe-src::after, .pipe-dst::before { display: none; }
}

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

/* Executen desk (site chatbot) */
.desk {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: min(360px, calc(100vw - 28px)); height: 56px;
  font-family: var(--font); pointer-events: none; overflow: visible;
}
.desk-launcher {
  position: absolute; right: 0; bottom: 0; pointer-events: auto;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: #fff; padding: 0;
  display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--accent), 0 14px 28px -10px oklch(0.25 0.04 207 / .42);
  transition: transform .25s var(--ease), background .2s, box-shadow .25s;
}
.desk-launcher:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px var(--accent), 0 16px 32px -10px oklch(0.25 0.04 207 / .5); }
.desk-launcher:focus-visible { outline-offset: 4px; }
.desk-launcher::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  animation: desk-ping 2.2s var(--ease) 2;
}
.desk-launcher-photo {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  transition: opacity .28s var(--ease);
}
.desk-launcher-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block;
}
.desk.is-open .desk-launcher-photo { opacity: 0; }
.desk.is-open .desk-launcher { background: var(--ink); }
.desk-launcher-ico {
  display: grid; place-items: center; width: 22px; height: 22px; z-index: 1;
}
.desk-launcher-ico .ico {
  grid-area: 1 / 1; width: 22px; height: 22px; stroke: #fff;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.desk-ico-close { opacity: 0; transform: rotate(-80deg) scale(.55); }
.desk.is-open .desk-ico-close { opacity: 1; transform: none; }
@keyframes desk-ping {
  0% { box-shadow: 0 0 0 0 oklch(0.875 0.144 145.6 / .5); }
  100% { box-shadow: 0 0 0 16px oklch(0.875 0.144 145.6 / 0); }
}
.desk-panel {
  position: absolute; right: 0; bottom: 72px;
  width: min(380px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 120px));
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 60px -24px oklch(0.25 0.04 207 / .32), 0 0 0 1px oklch(0.25 0.04 207 / .05);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(14px) scale(.96); transform-origin: bottom right;
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
}
.desk.is-open .desk-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}
.desk-lead[hidden] { display: none !important; }
.desk-head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 14px 14px 14px 16px; background: #fff; border-bottom: 1px solid var(--line);
}
.desk-avatar {
  width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
.desk-avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block;
}
.desk-head b { display: block; font-weight: 600; letter-spacing: -.02em; }
.desk-head small { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12px; }
.desk-head .status-dot { width: 7px; height: 7px; }
.desk-close { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.desk-close:hover { background: var(--surface); color: var(--ink); }
.desk-log { flex: 1; overflow: auto; padding: 16px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.desk-row { display: flex; animation: desk-bubble .4s var(--ease) both; }
.desk-row.is-user { justify-content: flex-end; }
.desk-bubble {
  max-width: 86%; padding: 10px 12px; font-size: 14px; line-height: 1.45;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; border-bottom-left-radius: 4px;
}
.desk-row.is-user .desk-bubble {
  background: var(--ink); color: #fff; border-color: var(--ink); border-bottom-left-radius: 12px; border-bottom-right-radius: 4px;
}
@keyframes desk-bubble { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.desk-typing { display: flex; gap: 5px; align-items: center; min-height: 18px; }
.desk-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-muted); animation: desk-dot 1s var(--ease) infinite; }
.desk-typing i:nth-child(2) { animation-delay: .15s; }
.desk-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes desk-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.desk-lead { padding: 8px 12px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #fff; }
.desk-lead p { grid-column: 1 / -1; font-size: 12px; color: var(--ink-2); }
.desk-lead input { width: 100%; padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; }
.desk-lead input[name="shop"],
.desk-lead .btn,
.desk-lead-status { grid-column: 1 / -1; }
.desk-lead .btn { width: 100%; }
.desk-lead-status { font-size: 13px; font-weight: 550; color: var(--accent-ink); min-height: 0; }
.desk-compose { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); background: #fff; align-items: flex-end; min-width: 0; }
.desk-compose textarea { flex: 1; min-width: 0; width: 0; resize: none; border: 1px solid var(--line-strong); border-radius: 16px; padding: 10px 14px; max-height: 120px; font-size: 14px; line-height: 1.4; }
.desk-send { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 2px var(--accent); transition: transform .2s var(--ease), background .2s; }
.desk-send:hover { background: var(--dark); transform: translateY(-1px); }
.desk-send:disabled { opacity: .45; transform: none; }
.desk-send .ico { stroke: #fff; }
.desk-teaser {
  position: absolute; right: 68px; bottom: 8px; left: auto; top: auto;
  display: block; box-sizing: border-box;
  width: auto; min-width: 220px; max-width: 280px; height: auto;
  padding: 10px 14px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 28px -14px oklch(0.25 0.04 207 / .28);
  font-size: 13px; line-height: 1.4; font-weight: 450;
  text-align: left; white-space: normal; word-break: normal; overflow-wrap: break-word;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(8px) scale(.98); transform-origin: center right;
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
}
.desk-teaser::after {
  content: ""; position: absolute; right: -5px; top: 50%;
  width: 10px; height: 10px; margin-top: -5px; background: #fff;
  border-right: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.desk-teaser.is-on {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}
.desk.is-open .desk-teaser { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
@media (max-width: 600px) {
  .desk { right: 14px; bottom: 14px; }
  .desk-panel { height: min(70vh, calc(100vh - 100px)); }
}
