/* ==========================================================================
   Cairn — AI Customer Service for E-commerce
   Design System v1.0
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand (overridable from admin) */
  --brand: #181B21;            /* Ink — the stone. Primary brand colour. */
  --brand-2: #7E8693;          /* slate-400 — gradient mid */
  --brand-3: #C6CBD2;          /* slate-200 — gradient far stop */
  --brand-ink: #ffffff;
  --brand-soft: color-mix(in srgb, var(--brand) 8%, white);
  --accent: #DE5A22;           /* Blaze — the trail waymark. Accent. */
  --accent-soft: color-mix(in srgb, var(--accent) 14%, white);

  /* neutrals */
  --bg: #ffffff;
  --bg-sub: #F2F4F6;           /* slate-50 / Paper */
  --bg-mute: #E3E6EA;          /* slate-100 */
  --surface: #ffffff;
  --surface-2: #F2F4F6;
  --border: #E3E6EA;
  --border-strong: #C6CBD2; /* slate-200 */
  --text: #181B21;
  --text-2: #4E5560;           /* slate-600 */
  --text-3: #626A76;           /* slate-500 */
  --inverse: #ffffff;

  /* semantic */
  --ok: #17805A;
  --warn: #946308;
  --err: #B32B3A;
  --info: #2A6FB8;

  /* shape */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-full: 999px;

  /* elevation — layered, soft, modern */
  --sh-xs: 0 1px 2px rgba(24, 27, 33, .05);
  --sh-sm: 0 1px 2px rgba(24, 27, 33, .04), 0 4px 12px -2px rgba(24, 27, 33, .06);
  --sh-md: 0 2px 4px rgba(24, 27, 33, .03), 0 12px 28px -6px rgba(24, 27, 33, .10);
  --sh-lg: 0 4px 8px rgba(24, 27, 33, .04), 0 32px 64px -12px rgba(24, 27, 33, .18);
  --sh-xl: 0 8px 16px rgba(24, 27, 33, .05), 0 56px 100px -24px rgba(24, 27, 33, .28);
  --sh-brand: 0 8px 26px -6px color-mix(in srgb, var(--brand) 45%, transparent);
  --sh-inner: inset 0 1px 0 rgba(255, 255, 255, .6);

  /* type */
  --font: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Brand poles. The CMS "Theme & colours" group writes over these; `--brand`
     is whichever pole is *inline* at the moment (Ink on light, Paper on dark),
     which is why a CMS brand colour is applied through them rather than
     straight onto --brand. */
  --ink: #181B21;
  --paper: #F2F4F6;

  /* layout */
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --header-h: 68px;

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

[data-theme="dark"] {
  /* inverted token set — the brand book's rule for ink or photographic fields */
  --brand: #F2F4F6;             /* Paper */
  --brand-ink: #181B21;         /* Ink, so a primary action stays legible */
  --brand-2: #626A76;           /* slate-500 */
  --brand-3: #3C424C;           /* slate-700 */
  --brand-soft: color-mix(in srgb, var(--brand) 26%, #181B21);
  --accent-soft: color-mix(in srgb, var(--accent) 22%, #181B21);

  --bg: #181B21;               /* Ink */
  --bg-sub: #22262E;           /* slate-900 */
  --bg-mute: #2C313A;          /* slate-800 */
  --surface: #22262E;
  --surface-2: #2C313A;
  --border: #3C424C;           /* slate-700 */
  --border-strong: #4E5560;  /* slate-600 */
  --text: #F2F4F6;             /* Paper */
  --text-2: #C6CBD2;
  --text-3: #A3AAB5;
  --inverse: #181B21;

  --sh-xs: 0 1px 2px rgba(0, 0, 0, .5);
  --sh-sm: 0 2px 10px rgba(0, 0, 0, .45);
  --sh-md: 0 12px 30px rgba(0, 0, 0, .5);
  --sh-lg: 0 32px 70px rgba(0, 0, 0, .6);
  --sh-xl: 0 56px 110px rgba(0, 0, 0, .7);
  --sh-inner: inset 0 1px 0 rgba(255, 255, 255, .06);
  color-scheme: dark;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.65rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.12rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--brand) 28%, transparent); }

/* scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--sub { background: var(--bg-sub); }
.section--tight { padding: clamp(36px, 5vw, 60px) 0; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.wrapflex { flex-wrap: wrap; }
.gap8 { gap: 8px; } .gap10 { gap: 10px; } .gap12 { gap: 12px; }
.gap16 { gap: 16px; } .gap20 { gap: 20px; } .gap28 { gap: 28px; }
.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt20{margin-top:20px}
.mt28{margin-top:28px}.mt40{margin-top:40px}.mt56{margin-top:56px}
.mb0{margin-bottom:0}.mb16{margin-bottom:16px}.mb24{margin-bottom:24px}.mb40{margin-bottom:40px}
.mx-auto { margin-inline: auto; }
.full { width: 100%; }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow--muted { color: var(--text-3); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--text-2); line-height: 1.65; }
.muted { color: var(--text-2); }
.muted-3 { color: var(--text-3); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.strong { font-weight: 650; }
.center-block { max-width: 680px; margin-inline: auto; }
.grad-text {
  background: linear-gradient(100deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: var(--brand-ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0 20px; height: 44px; border-radius: var(--r-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-size: .94rem; font-weight: 620; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), background .18s, border-color .18s, color .18s, opacity .18s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--sh-brand); }
.btn:active { transform: translateY(0) scale(.985); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 1rem; border-radius: var(--r-md); }
.btn--sm { height: 36px; padding: 0 14px; font-size: .86rem; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--border-strong); }
.btn--ghost:hover { --btn-bg: var(--surface-2); box-shadow: var(--sh-sm); }
.btn--soft { --btn-bg: var(--brand-soft); --btn-fg: var(--brand); --btn-bd: transparent; }
.btn--soft:hover { box-shadow: var(--sh-sm); }
.btn--light { --btn-bg: #fff; --btn-fg: #181B21; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.12); }
.btn--dark { --btn-bg: var(--text); --btn-fg: var(--bg); }
.btn--block { width: 100%; }
.btn--icon { width: 40px; height: 40px; padding: 0; border-radius: var(--r-sm); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 620; font-size: .93rem; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: var(--r-full);
  background: var(--brand-soft); color: var(--brand);
  font-size: .78rem; font-weight: 650; letter-spacing: .01em;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}
.badge--ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 24%, transparent); }
.badge--accent { background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 78%, var(--ink)); border-color: color-mix(in srgb, var(--accent) 26%, transparent); }
.badge--plain { background: var(--bg-mute); color: var(--text-2); border-color: var(--border); }
.badge--glassy { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.24); backdrop-filter: blur(8px); }
.dot { width: 7px; height: 7px; border-radius: 99px; background: currentColor; flex: none; }
.dot--live { background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--surface);
  font-size: .84rem; font-weight: 550; color: var(--text-2);
}
.chip svg { width: 15px; height: 15px; }

/* ---------- 7. Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--border-strong); }
.card--flat { box-shadow: none; }
.card--pad-sm { padding: 18px; }
.card--pad-lg { padding: 34px; }
.card--sub { background: var(--surface-2); }
.card--glass {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(14px); border-color: color-mix(in srgb, var(--border) 70%, transparent);
}
.card-ico {
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: grid; place-items: center; flex: none;
  background: var(--brand-soft); color: var(--brand);
}
.card-ico svg { width: 21px; height: 21px; }
.card-ico--accent { background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 80%, var(--ink)); }
.card-ico--plain { background: var(--bg-mute); color: var(--text-2); }
.ico-lg { width: 54px; height: 54px; border-radius: var(--r-lg); }
.ico-lg svg { width: 25px; height: 25px; }

/* ---------- 8. Sub-headings in cards ---------- */
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: .95rem; }

/* ---------- 9. Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.hdr.is-stuck { border-bottom-color: var(--border); box-shadow: var(--sh-xs); }
.hdr__inner { display: flex; align-items: center; gap: 30px; width: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.12rem; letter-spacing: -.03em; flex: none; }
/* The Cairn mark is a flat three-stone pile — no chip, no gradient, no shadow
   behind it (brand book: "the silhouette has to read with all colour removed").
   Stones inherit the page ink, the capstone keeps Blaze. */
.logo__mark { width: 30px; height: 30px; display: grid; place-items: center; color: var(--text); }
.logo__mark svg { width: 27px; height: 27px; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 13px; border-radius: var(--r-sm);
  font-size: .92rem; font-weight: 550; color: var(--text-2);
  transition: color .18s, background .18s;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); background: var(--surface-2); }
.nav__link svg { width: 13px; height: 13px; opacity: .6; transition: transform .2s; }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }
.nav__panel {
  position: absolute; top: calc(100% + 8px); left: -8px;
  min-width: 300px; padding: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item:hover .nav__panel, .nav__item:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel a { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); transition: background .16s; }
.nav__panel a:hover { background: var(--surface-2); }
.nav__panel .card-ico { width: 34px; height: 34px; border-radius: 9px; }
.nav__panel .card-ico svg { width: 17px; height: 17px; }
.nav__panel strong { display: block; font-size: .9rem; font-weight: 620; }
.nav__panel span { font-size: .79rem; color: var(--text-3); line-height: 1.4; }
.hdr__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr__tools { display: flex; align-items: center; gap: 2px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: grid; place-items: center; color: var(--text-2);
  transition: background .18s, color .18s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }
.burger { display: none; }
.hdr__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .1s linear; }

/* dropdown menus (lang / currency) */
.menu {
  position: relative;
}
.menu__btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 10px; border-radius: var(--r-sm);
  font-size: .86rem; font-weight: 600; color: var(--text-2);
  transition: background .18s, color .18s;
}
.menu__btn:hover { background: var(--surface-2); color: var(--text); }
.menu__btn svg { width: 14px; height: 14px; }
.menu__pop {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 20;
  min-width: 168px; padding: 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(-5px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.menu.is-open .menu__pop { opacity: 1; visibility: visible; transform: translateY(0); }
.menu__pop button, .menu__pop a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 8px 11px; border-radius: var(--r-xs); font-size: .89rem; text-align: left;
  color: var(--text-2); transition: background .14s, color .14s;
}
.menu__pop button:hover, .menu__pop a:hover { background: var(--surface-2); color: var(--text); }
.menu__pop button.is-active { color: var(--brand); font-weight: 650; background: var(--brand-soft); }
.menu__pop svg { width: 15px; height: 15px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0; z-index: 890;
  background: var(--bg); overflow-y: auto; padding: 20px 22px 60px;
  transform: translateX(100%); transition: transform .3s var(--ease-out);
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__group { border-bottom: 1px solid var(--border); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 0; font-size: 1.05rem; font-weight: 650; text-align: left;
}
.drawer__head svg { width: 18px; height: 18px; color: var(--text-3); transition: transform .22s; }
.drawer__group.is-open .drawer__head svg { transform: rotate(180deg); }
.drawer__body { display: none; padding-bottom: 12px; }
.drawer__group.is-open .drawer__body { display: block; }
.drawer__body a { display: block; padding: 9px 0 9px 12px; border-left: 2px solid var(--border); color: var(--text-2); font-size: .95rem; }
.drawer__body a:hover { color: var(--brand); border-left-color: var(--brand); }

/* ---------- 10. Announcement ---------- */
.announce {
  position: relative; z-index: 1;
  background: linear-gradient(90deg, #181B21, color-mix(in srgb, #181B21 58%, #DE5A22));
  color: #F2F4F6; font-size: .85rem; font-weight: 550;
}
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 44px 9px 16px; text-align: center; }
.announce a { text-decoration: underline; text-underline-offset: 3px; font-weight: 650; }
.announce__x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #F2F4F6; opacity: .8; width: 24px; height: 24px; display: grid; place-items: center; }
.announce__x:hover { opacity: 1; }

/* ---------- 11. Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 76px); overflow: hidden; }
.hero__bg { position: absolute; inset: -20% -10% auto; height: 780px; pointer-events: none; z-index: 0; }
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
}
.hero__glow--1 { width: 620px; height: 620px; left: -140px; top: -160px; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 55%, transparent), transparent 68%); }
.hero__glow--2 { width: 520px; height: 520px; right: -120px; top: -60px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 42%, transparent), transparent 68%); }
[data-theme="dark"] .hero__glow { opacity: .34; }
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(color-mix(in srgb, var(--border) 60%, transparent) 1px, transparent 1px),
                    linear-gradient(90deg, color-mix(in srgb, var(--border) 60%, transparent) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 78%);
  opacity: .65;
}
.hero__inner { position: relative; z-index: 1; }
.hero__copy { max-width: 700px; }
.hero h1 { margin: 18px 0 0; }
.hero__sub { margin-top: 20px; font-size: clamp(1.04rem, 1.8vw, 1.22rem); color: var(--text-2); line-height: 1.65; max-width: 620px; }
.hero__cta { margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: .84rem; color: var(--text-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero__note svg { width: 15px; height: 15px; color: var(--ok); }
.hero__proof { margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 99px; margin-left: -10px;
  display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff;
  border: 2px solid var(--bg);
}
.avatars span:first-child { margin-left: 0; }
.stars { display: flex; gap: 2px; color: var(--warn); }
.stars svg { width: 15px; height: 15px; }

/* hero split layout */
.hero--split .hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

/* product screenshot frame */
.shot {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--sh-lg);
}
.shot__bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.shot__dots { display: flex; gap: 6px; }
.shot__dots i { width: 10px; height: 10px; border-radius: 99px; background: var(--border-strong); }
.shot__url {
  flex: 1; height: 24px; border-radius: var(--r-full); background: var(--bg);
  border: 1px solid var(--border); display: flex; align-items: center; gap: 6px;
  padding: 0 10px; font-size: .72rem; color: var(--text-3); font-family: var(--font-mono);
}
.shot__url svg { width: 11px; height: 11px; }
.shot__body { padding: 16px; background: var(--bg-sub); }

/* floating stat cards around shot */
.float-card {
  position: absolute; z-index: 3;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--sh-lg);
  padding: 12px 14px; display: flex; align-items: center; gap: 11px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; }
.float-card span { font-size: .72rem; color: var(--text-3); }
.float-card--tl { left: -22px; top: 86px; }
.float-card--br { right: -18px; bottom: 74px; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 12. Logo strip ---------- */
.logos { padding: 26px 0; border-block: 1px solid var(--border); }
.logos__title { text-align: center; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); font-weight: 700; margin-bottom: 18px; }
.logos__row { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 5vw, 58px); flex-wrap: wrap; }
.logos__row span {
  font-size: clamp(.95rem, 1.6vw, 1.16rem); font-weight: 750; letter-spacing: -.03em;
  color: var(--text-3); opacity: .75; transition: opacity .2s, color .2s;
}
.logos__row span:hover { opacity: 1; color: var(--text); }

/* ---------- 13. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.stats__item { background: var(--bg); padding: 26px 22px; text-align: center; }
.stats__val { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 780; letter-spacing: -.04em; background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats__lbl { margin-top: 6px; font-size: .84rem; color: var(--text-2); }

/* ---------- 14. Feature list ---------- */
.sec-head { max-width: 700px; margin-bottom: 46px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin: 14px 0 14px; }

/* ---------- 15. Steps ---------- */
.steps { counter-reset: s; display: grid; gap: 26px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start; }
.step__n {
  width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border);
  font-weight: 750; font-size: 1.05rem; color: var(--brand); box-shadow: var(--sh-sm);
}
.step h3 { margin-bottom: 7px; }
.step p { color: var(--text-2); font-size: .95rem; }

/* ---------- 16. Product mock: inbox ---------- */
.mock { border-radius: var(--r-md); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.mock__top { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock__title { font-size: .84rem; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.mock__cols { display: grid; grid-template-columns: 1fr 1.3fr; min-height: 320px; }
.mock__list { border-right: 1px solid var(--border); overflow: hidden; }
.mock__conv { padding: 14px; display: flex; flex-direction: column; gap: 11px; }
.conv-item { padding: 11px 12px; border-radius: var(--r-sm); cursor: pointer; transition: background .16s; border-left: 3px solid transparent; }
.conv-item:hover { background: var(--surface-2); }
.conv-item.is-active { background: var(--brand-soft); border-left-color: var(--brand); }
.conv-item__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.conv-item__name { font-size: .84rem; font-weight: 650; }
.conv-item__msg { font-size: .78rem; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; }
.pill { font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; letter-spacing: .02em; }
.pill--ai { background: var(--brand-soft); color: var(--brand); }
.pill--human { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.pill--done { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }

.bubble { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: .84rem; line-height: 1.5; }
.bubble--in { background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble--out { background: var(--brand); color: var(--brand-ink); border-bottom-right-radius: 5px; align-self: flex-end; }
.bubble__meta { font-size: .68rem; color: var(--text-3); margin-top: 5px; }

/* ---------- 17. Integrations ---------- */
.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.int-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  transition: transform .18s var(--ease), box-shadow .2s, border-color .2s;
}
.int-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--border-strong); }
.int-card__logo {
  width: 36px; height: 36px; border-radius: 9px; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: .9rem; color: #fff; letter-spacing: -.04em;
}
.int-card strong { display: block; font-size: .88rem; font-weight: 640; }
.int-card span { font-size: .74rem; color: var(--text-3); }

/* ---------- 18. Pricing ---------- */
.seg {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px;
  background: var(--bg-mute); border-radius: var(--r-full); border: 1px solid var(--border);
}
.seg button {
  padding: 8px 16px; border-radius: var(--r-full); font-size: .86rem; font-weight: 620;
  color: var(--text-2); transition: background .2s, color .2s, box-shadow .2s;
}
.seg button.is-active { background: var(--surface); color: var(--text); box-shadow: var(--sh-sm); }
.seg__save { font-size: .7rem; font-weight: 700; color: var(--ok); margin-left: 4px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan--pop { border-color: var(--brand); box-shadow: var(--sh-md); }
.plan--pop::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, color-mix(in srgb, var(--brand) 16%, transparent), transparent 55%);
}
.plan__tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.plan__price { display: flex; align-items: baseline; gap: 5px; margin: 18px 0 4px; }
.plan__price b { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 780; letter-spacing: -.045em; }
.plan__price i { font-style: normal; font-size: .88rem; color: var(--text-3); }
.plan__desc { font-size: .89rem; color: var(--text-2); min-height: 42px; }
.plan__feats { margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.plan__feats li { display: flex; gap: 10px; font-size: .89rem; color: var(--text-2); align-items: flex-start; }
.plan__feats svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: 2px; }
.plan__feats li.is-off { color: var(--text-3); }
.plan__feats li.is-off svg { color: var(--text-3); opacity: .55; }
.plan .btn { margin-top: auto; }

.cmp-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); }
.cmp-table { min-width: 760px; font-size: .88rem; }
.cmp-table th, .cmp-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp-table thead th { background: var(--surface-2); font-weight: 650; font-size: .82rem; letter-spacing: .02em; position: sticky; top: 0; }
.cmp-table thead th:not(:first-child) { text-align: center; }
.cmp-table td:not(:first-child) { text-align: center; }
.cmp-table tbody tr:hover { background: var(--surface-2); }
.cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table .yes { color: var(--ok); }
.cmp-table .no { color: var(--text-3); }
.cmp-table td svg { width: 18px; height: 18px; margin-inline: auto; }
.cmp-group td { background: var(--bg-sub); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }

/* ---------- 19. ROI calculator ---------- */
.calc { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); box-shadow: var(--sh-md); }
.calc__form { padding: clamp(24px, 3.4vw, 38px); }
.calc__out { padding: clamp(24px, 3.4vw, 38px); background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 8%, var(--bg-sub)), var(--bg-sub)); border-left: 1px solid var(--border); }
.field { margin-bottom: 20px; }
.field__lbl { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .86rem; font-weight: 620; margin-bottom: 9px; }
.field__val { font-variant-numeric: tabular-nums; color: var(--brand); font-weight: 700; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px;
  background: var(--bg-mute); outline: none; border: 1px solid var(--border);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 99px;
  background: var(--brand); border: 3px solid var(--bg); box-shadow: var(--sh-sm); cursor: grab;
}
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 99px; background: var(--brand); border: 3px solid var(--bg); cursor: grab; }
.calc__kpis { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.calc__kpi { background: var(--bg); padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calc__kpi span { font-size: .84rem; color: var(--text-2); }
.calc__kpi b { font-size: 1.16rem; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc__kpi--hero { background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--accent))); }
.calc__kpi--hero span, .calc__kpi--hero b { color: var(--brand-ink); }
.calc__kpi--hero b { font-size: 1.65rem; }

/* ---------- 20. Testimonials ---------- */
.quote { display: flex; flex-direction: column; gap: 18px; }
.quote__text { font-size: 1rem; line-height: 1.68; color: var(--text); }
.quote__text::before { content: "\201C"; font-size: 2.4rem; line-height: 0; color: var(--brand); vertical-align: -.35em; margin-right: 4px; }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__av { width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; font-weight: 700; font-size: .84rem; color: #fff; flex: none; }
.quote__who strong { display: block; font-size: .89rem; }
.quote__who span { font-size: .78rem; color: var(--text-3); }
.quote__stat { font-size: .8rem; font-weight: 700; color: var(--ok); display: flex; align-items: center; gap: 6px; }
.quote__stat svg { width: 14px; height: 14px; }

/* marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 22px; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 21. Security ---------- */
.sec-card { display: flex; gap: 16px; align-items: flex-start; }
.sec-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.sec-card p { font-size: .89rem; color: var(--text-2); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 22. FAQ ---------- */
.acc { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.acc__item + .acc__item { border-top: 1px solid var(--border); }
.acc__q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%;
  padding: 20px 24px; text-align: left; font-size: 1rem; font-weight: 620;
  transition: background .18s;
}
.acc__q:hover { background: var(--surface-2); }
.acc__q svg { width: 20px; height: 20px; flex: none; color: var(--text-3); transition: transform .25s var(--ease); }
.acc__item.is-open .acc__q svg { transform: rotate(45deg); color: var(--brand); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .32s var(--ease-out); }
.acc__a > div { padding: 0 24px 22px; color: var(--text-2); font-size: .94rem; line-height: 1.7; max-width: 78ch; }
.acc__a a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 23. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(34px, 5.4vw, 62px); color: #fff; background: linear-gradient(125deg, #22262E, #181B21 45%, color-mix(in srgb, #181B21 62%, #DE5A22)); }
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 82% 18%, rgba(255,255,255,.24), transparent 42%),
                    radial-gradient(circle at 8% 92%, rgba(255,255,255,.16), transparent 40%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); }

/* ---------- 24. Footer ---------- */
.ftr { border-top: 1px solid var(--border); background: var(--bg-sub); padding: clamp(46px, 6vw, 74px) 0 30px; margin-top: 0; }
.ftr__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.ftr__desc { font-size: .89rem; color: var(--text-2); max-width: 300px; margin-top: 14px; }
.ftr__col h4 { font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.ftr__col a { display: block; padding: 5px 0; font-size: .89rem; color: var(--text-2); transition: color .16s; }
.ftr__col a:hover { color: var(--brand); }
.ftr__news { margin-top: 20px; max-width: 330px; }
.ftr__news form { display: flex; gap: 8px; margin-top: 10px; }
.ftr__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ftr__legal { display: flex; gap: 18px; flex-wrap: wrap; font-size: .83rem; color: var(--text-3); }
.ftr__legal a:hover { color: var(--brand); }
.ftr__social { display: flex; gap: 8px; }
.ftr__social a { width: 34px; height: 34px; border-radius: var(--r-sm); border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-2); transition: all .18s; }
.ftr__social a:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.ftr__social svg { width: 16px; height: 16px; }
.ftr__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- 25. Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-sm); font-size: .94rem;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 118px; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.lbl { display: block; font-size: .86rem; font-weight: 620; margin-bottom: 7px; }
.hint { font-size: .78rem; color: var(--text-3); margin-top: 6px; }
.err-msg { font-size: .78rem; color: var(--err); margin-top: 6px; display: none; align-items: center; gap: 5px; }
.field.has-err .input, .field.has-err .textarea, .field.has-err .select { border-color: var(--err); }
.field.has-err .err-msg { display: flex; }
.checkbox { display: flex; gap: 11px; align-items: flex-start; font-size: .87rem; color: var(--text-2); cursor: pointer; line-height: 1.55; }
.checkbox input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; cursor: pointer; }
.checkbox a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.inline-form { display: flex; gap: 9px; }
.inline-form .input { height: 42px; }
.success-box {
  display: none; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--r-md);
  background: color-mix(in srgb, var(--ok) 10%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 28%, transparent);
  color: color-mix(in srgb, var(--ok) 82%, var(--text)); font-size: .89rem;
}
.success-box.is-on { display: flex; }
.success-box svg { width: 19px; height: 19px; flex: none; color: var(--ok); }

/* auth pages */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.auth__panel { display: grid; place-items: center; padding: 48px 22px; }
.auth__card { width: 100%; max-width: 420px; }
.auth__aside { position: relative; overflow: hidden; color: #fff; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(150deg, #22262E, #181B21 50%, color-mix(in srgb, #181B21 55%, #DE5A22)); }
.auth__aside::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 78% 14%, rgba(255,255,255,.22), transparent 44%); }
.auth__aside > * { position: relative; z-index: 1; }
.auth__aside h2 { color: #fff; }
.auth__list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.auth__list li { display: flex; gap: 12px; font-size: .93rem; color: rgba(255,255,255,.92); }
.auth__list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--text-3); font-size: .8rem; margin: 22px 0; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--border); flex: 1; }
.oauth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oauth-btn { display: flex; align-items: center; justify-content: center; gap: 9px; height: 44px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); font-size: .88rem; font-weight: 580; transition: background .18s, border-color .18s; }
.oauth-btn:hover { background: var(--surface-2); border-color: var(--text-3); }
.oauth-btn svg { width: 18px; height: 18px; }
.strength { height: 4px; border-radius: 99px; background: var(--bg-mute); overflow: hidden; margin-top: 8px; }
.strength i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .3s var(--ease), background .3s; }

/* ---------- 26. Chat widget ---------- */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 950;
  width: 58px; height: 58px; border-radius: 99px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 45%, var(--accent)));
  color: var(--brand-ink); box-shadow: var(--sh-lg);
  transition: transform .22s var(--ease), box-shadow .22s;
}
.chat-fab:hover { transform: scale(1.07); }
.chat-fab svg { width: 25px; height: 25px; }
.chat-fab__badge {
  position: absolute; top: -3px; right: -3px; width: 20px; height: 20px; border-radius: 99px;
  background: var(--err); color: #fff; font-size: .68rem; font-weight: 750;
  display: grid; place-items: center; border: 2px solid var(--bg);
}
.chat-fab__tip {
  position: absolute; right: 70px; bottom: 12px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-md);
  padding: 9px 14px; border-radius: var(--r-full); font-size: .84rem; font-weight: 600; color: var(--text);
  opacity: 0; transform: translateX(8px); transition: all .25s var(--ease); pointer-events: none;
}
.chat-fab:hover .chat-fab__tip { opacity: 1; transform: translateX(0); }

.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 960;
  width: min(392px, calc(100vw - 32px)); height: min(620px, calc(100vh - 44px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--sh-lg);
  transform: translateY(16px) scale(.97); opacity: 0; visibility: hidden;
  transform-origin: bottom right;
  transition: transform .3s var(--ease-out), opacity .25s, visibility .3s;
}
.chat-panel.is-open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.chat-head { position: relative; padding: 17px 18px; color: #fff; background: linear-gradient(135deg, #22262E, #181B21 55%, color-mix(in srgb, #181B21 55%, #DE5A22)); }
.chat-head__row { display: flex; align-items: center; gap: 12px; }
.chat-head__av { width: 40px; height: 40px; border-radius: 99px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-weight: 750; flex: none; backdrop-filter: blur(6px); }
.chat-head__av svg { width: 21px; height: 21px; }
.chat-head strong { display: block; font-size: .96rem; }
.chat-head .status { font-size: .76rem; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 6px; }
.chat-head__x { margin-left: auto; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: #fff; opacity: .85; }
.chat-head__x:hover { background: rgba(255,255,255,.16); opacity: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 11px; background: var(--bg-sub); scroll-behavior: smooth; }
.chat-body .bubble { font-size: .86rem; }
.chat-day { text-align: center; font-size: .7rem; color: var(--text-3); margin: 4px 0; }
.typing { display: flex; gap: 4px; padding: 12px 15px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px 14px 14px 5px; align-self: flex-start; width: fit-content; }
.typing i { width: 7px; height: 7px; border-radius: 99px; background: var(--text-3); animation: bounce 1.3s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 12px; background: var(--bg-sub); }
.chat-quick button {
  padding: 8px 13px; border-radius: var(--r-full); border: 1px solid var(--border-strong);
  background: var(--surface); font-size: .8rem; font-weight: 560; color: var(--text-2);
  transition: all .18s;
}
.chat-quick button:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.chat-foot { padding: 12px 14px 14px; border-top: 1px solid var(--border); background: var(--surface); }
.chat-input-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-input {
  flex: 1; min-height: 42px; max-height: 108px; padding: 11px 14px; resize: none;
  border: 1px solid var(--border-strong); border-radius: var(--r-md); font-size: .89rem; line-height: 1.5;
  background: var(--bg-sub);
}
.chat-input:focus { outline: none; border-color: var(--brand); background: var(--surface); }
.chat-send { width: 42px; height: 42px; border-radius: var(--r-md); background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; flex: none; transition: transform .18s, opacity .18s; }
.chat-send:hover { transform: scale(1.05); }
.chat-send:disabled { opacity: .45; }
.chat-send svg { width: 18px; height: 18px; }
.chat-foot__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; font-size: .7rem; color: var(--text-3); }
.chat-foot__meta a { text-decoration: underline; text-underline-offset: 2px; }
.chat-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat-sources span { font-size: .7rem; padding: 4px 9px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-3); }

/* ---------- 27. Cookie banner ---------- */
.cookie {
  position: fixed; left: 22px; bottom: 22px; z-index: 970;
  width: min(430px, calc(100vw - 44px));
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 20px;
  transform: translateY(140%); transition: transform .45s var(--ease-out);
}
.cookie.is-on { transform: translateY(0); }
.cookie h4 { font-size: .98rem; margin-bottom: 7px; }
.cookie p { font-size: .84rem; color: var(--text-2); line-height: 1.6; }
.cookie__row { display: flex; gap: 9px; margin-top: 16px; flex-wrap: wrap; }
.cookie__prefs { display: none; margin-top: 14px; border-top: 1px solid var(--border); padding-top: 14px; }
.cookie__prefs.is-on { display: block; }
.cookie__pref { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; }
.cookie__pref b { display: block; font-size: .86rem; }
.cookie__pref span { font-size: .76rem; color: var(--text-3); }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--border-strong); transition: background .2s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 99px; background: #fff; top: 3px; left: 3px; transition: transform .22s var(--ease); box-shadow: var(--sh-xs); }
.switch input:checked + i { background: var(--brand); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:disabled + i { opacity: .6; }

/* ---------- 28. Toast / modal / misc ---------- */
.toasts { position: fixed; top: calc(var(--header-h) + 14px); right: 20px; z-index: 990; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  display: flex; align-items: flex-start; gap: 11px; min-width: 268px; max-width: 360px;
  padding: 13px 15px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-lg);
  font-size: .87rem; animation: toastIn .32s var(--ease-out);
  pointer-events: auto;
}
.toast.is-out { animation: toastOut .25s var(--ease) forwards; }
.toast svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.toast--ok svg { color: var(--ok); }
.toast--err svg { color: var(--err); }
.toast--info svg { color: var(--info); }
.toast strong { display: block; font-size: .88rem; margin-bottom: 2px; }
.toast p { color: var(--text-2); font-size: .81rem; }
@keyframes toastIn { from { opacity: 0; transform: translateX(26px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(26px) scale(.96); } }

.modal { position: fixed; inset: 0; z-index: 980; display: grid; place-items: center; padding: 22px; background: color-mix(in srgb, #181B21 66%, transparent); backdrop-filter: blur(5px); opacity: 0; visibility: hidden; transition: opacity .24s, visibility .24s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); padding: 28px; transform: scale(.96) translateY(10px);
  transition: transform .28s var(--ease-out);
}
.modal.is-open .modal__box { transform: scale(1) translateY(0); }
.modal__x { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 99px; display: grid; place-items: center; color: var(--text-3); }
.modal__x:hover { background: var(--surface-2); color: var(--text); }
.modal__box { position: relative; }

.to-top {
  position: fixed; right: 22px; bottom: 92px; z-index: 940;
  width: 42px; height: 42px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-md);
  display: grid; place-items: center; color: var(--text-2);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: var(--brand); border-color: var(--brand); }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track, .float-card { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 29. Breadcrumb / page hero ---------- */
.crumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text-3); margin-bottom: 16px; }
.crumb a:hover { color: var(--brand); }
.crumb svg { width: 13px; height: 13px; opacity: .6; }
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 46px); position: relative; overflow: hidden; }
.page-hero--sub { background: var(--bg-sub); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(1.85rem, 4.4vw, 3rem); margin-bottom: 16px; }
.page-hero .lead { max-width: 640px; }

/* prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 14px; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.prose h3 { margin: 26px 0 10px; font-size: 1.08rem; }
.prose p, .prose li { color: var(--text-2); font-size: .95rem; line-height: 1.75; }
.prose p + p { margin-top: 13px; }
.prose ul { margin: 13px 0; padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 650; }
.prose table { margin: 18px 0; font-size: .87rem; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.prose th { background: var(--surface-2); font-weight: 650; }
.prose tr:last-child td { border-bottom: 0; }

.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--border); font-size: .87rem; color: var(--text-2); }
.toc a:hover, .toc a.is-active { color: var(--brand); border-left-color: var(--brand); }
.two-col-doc { display: grid; grid-template-columns: 1fr 240px; gap: 56px; align-items: start; }

/* blog */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card__cover { height: 168px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 22%, var(--bg-sub)), color-mix(in srgb, var(--accent) 20%, var(--bg-sub))); display: grid; place-items: center; }
.post-card__cover svg { width: 44px; height: 44px; color: var(--brand); opacity: .55; }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 10px; font-size: .76rem; color: var(--text-3); }
.post-card h3 { font-size: 1.06rem; }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { font-size: .88rem; }
.post-card .link-arrow { margin-top: auto; padding-top: 8px; }

/* search */
.search-box { position: relative; }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-3); }
.search-box .input { padding-left: 44px; height: 52px; font-size: 1rem; border-radius: var(--r-md); }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.help-card { display: flex; flex-direction: column; gap: 12px; }
.help-card ul { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.help-card li a { font-size: .88rem; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.help-card li a:hover { color: var(--brand); }
.help-card li a::before { content: ""; width: 5px; height: 5px; border-radius: 99px; background: var(--border-strong); flex: none; }

/* team */
.team-card { text-align: center; }
.team-av { width: 76px; height: 76px; border-radius: 99px; margin: 0 auto 14px; display: grid; place-items: center; font-size: 1.4rem; font-weight: 750; color: #fff; letter-spacing: -.03em; }

/* timeline */
.tl { position: relative; padding-left: 34px; }
.tl::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.tl__item { position: relative; padding-bottom: 32px; }
.tl__item::before { content: ""; position: absolute; left: -30px; top: 5px; width: 12px; height: 12px; border-radius: 99px; background: var(--brand); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--brand); }
.tl__year { font-size: .78rem; font-weight: 750; color: var(--brand); letter-spacing: .06em; }
.tl__item h3 { font-size: 1.05rem; margin: 5px 0 6px; }
.tl__item p { font-size: .9rem; color: var(--text-2); }

/* compare / demo page */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.benefit-list { display: flex; flex-direction: column; gap: 18px; }
.benefit-list li { display: flex; gap: 13px; }
.benefit-list svg { width: 21px; height: 21px; color: var(--brand); flex: none; margin-top: 2px; }
.benefit-list strong { display: block; font-size: .95rem; margin-bottom: 3px; }
.benefit-list p { font-size: .88rem; color: var(--text-2); }

.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slots button { padding: 10px 6px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); font-size: .84rem; font-weight: 600; color: var(--text-2); transition: all .16s; }
.slots button:hover { border-color: var(--brand); color: var(--brand); }
.slots button.is-active { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.slots button[disabled] { opacity: .4; pointer-events: none; text-decoration: line-through; }

/* kpi row used in dashboards/demo */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; }
.kpi span { font-size: .76rem; color: var(--text-3); display: block; }
.kpi b { font-size: 1.35rem; font-weight: 760; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.kpi i { font-style: normal; font-size: .74rem; font-weight: 650; color: var(--ok); }
.kpi i.down { color: var(--err); }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 76px; }
.bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 45%, var(--accent))); opacity: .85; transition: height .5s var(--ease-out); }

/* The studio has no on-page entry point. It is reached at /edit (or
   /admin.html, or ⌘/Ctrl+Shift+E) and is deliberately unlisted — see
   wireStudioEntry() in main.js. */

/* ---------- 30. Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero--split .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .calc { grid-template-columns: 1fr; }
  .calc__out { border-left: 0; border-top: 1px solid var(--border); }
  .ftr__top { grid-template-columns: 1fr 1fr 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .two-col-doc { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; }
  .demo-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 780px) {
  :root { --header-h: 62px; }
  .hdr__actions .btn--hide-sm { display: none; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ftr__col--wide { grid-column: 1 / -1; }
  .cookie { left: 14px; right: 14px; width: auto; bottom: 14px; }
  .chat-panel { right: 12px; left: 12px; bottom: 12px; width: auto; height: min(600px, calc(100dvh - 24px)); }
  .chat-fab { right: 14px; bottom: 14px; }
  .to-top { right: 14px; bottom: 84px; }
  .float-card--tl { left: 6px; top: 40px; }
  .float-card--br { right: 4px; bottom: 34px; }
  .mock__cols { grid-template-columns: 1fr; }
  .mock__list { display: none; }
  .marquee__track { animation-duration: 30s; }
  .announce__inner { font-size: .78rem; }
}
@media (max-width: 520px) {
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(2, 1fr); }
  .oauth-row { grid-template-columns: 1fr; }
}

/* print */
@media print {
  .hdr, .ftr, .chat-fab, .chat-panel, .cookie, .to-top, .toasts { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- 31. Additions ---------- */
.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: var(--r-sm); border: 1px solid var(--border); }
.skip:focus { left: 12px; top: 12px; }
.nav__caret { width: 13px; height: 13px; opacity: .6; transition: transform .2s var(--ease); display: inline-flex; }
.nav__caret svg { width: 13px; height: 13px; }
.nav__item:hover .nav__caret { transform: rotate(180deg); }
pre.code {
  margin: 0; padding: 20px 22px; overflow-x: auto;
  background: #181B21; color: #C6CBD2; border-radius: var(--r-lg);
  font-family: var(--font-mono); font-size: .84rem; line-height: 1.75;
  border: 1px solid var(--border);
}
pre.code code { white-space: pre; }
[data-theme="dark"] pre.code { background: #181B21; }
.mono { font-family: var(--font-mono); font-size: .85rem; }
.hero__bullet { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.hero__bullet li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--text-2); }
.hero__bullet svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 2px; }
.stat-inline { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 30px; }
.stat-inline > div b { display: block; font-size: 1.5rem; font-weight: 760; letter-spacing: -.035em; }
.stat-inline > div span { font-size: .8rem; color: var(--text-3); }
.quote-card { height: 100%; }
.marquee-row { display: flex; gap: 22px; align-items: stretch; }
.col-span-2 { grid-column: span 2; }
@media (max-width: 780px) { .col-span-2 { grid-column: auto; } }

/* footer column wrapper — lets the rendered columns join the grid directly */
.ftr__cols { display: contents; }

/* hero visual anchor so the floating stat cards sit around the screenshot */
.hero__visual { position: relative; }
.hero__visual .float-card--tl { left: -26px; top: -46px; }
.hero__visual .float-card--br { right: -26px; bottom: -24px; }
@media (max-width: 1240px) {
  .hero__visual .float-card--tl { left: -10px; }
  .hero__visual .float-card--br { right: -8px; }
}

/* ==========================================================================
   v2 — Modern Western SaaS layer
   Type, depth, atmosphere and media components.
   ========================================================================== */

/* ---------- 32. Type refinement ---------- */
body { font-size: 16px; line-height: 1.62; letter-spacing: -.005em; }
h1, h2, h3, h4, h5 { letter-spacing: -.032em; font-weight: 640; }
h1 { font-weight: 660; line-height: 1.04; }
h2 { font-weight: 650; line-height: 1.08; }
h3 { letter-spacing: -.02em; font-weight: 620; }
.lead { letter-spacing: -.008em; }
.eyebrow {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 16px; height: 1px; background: currentColor; opacity: .45;
}
.sec-head--center .eyebrow::before { display: none; }
.sec-head--center .eyebrow { justify-content: center; }
h1 .grad-text, h2 .grad-text {
  background: linear-gradient(96deg, var(--brand) 2%, var(--accent) 82%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 33. Atmosphere ---------- */
.grain {
  position: fixed; inset: 0; z-index: 55; pointer-events: none;
  opacity: .032; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: .05; }

.mesh {
  position: absolute; inset: -30% -20% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(48% 42% at 22% 8%, color-mix(in srgb, var(--brand) 42%, transparent) 0%, transparent 62%),
    radial-gradient(40% 38% at 82% 4%, color-mix(in srgb, var(--brand-3) 34%, transparent) 0%, transparent 60%),
    radial-gradient(46% 40% at 58% 26%, color-mix(in srgb, var(--brand-2) 32%, transparent) 0%, transparent 64%),
    radial-gradient(34% 32% at 6% 34%, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 62%);
  filter: blur(58px); opacity: .5;
}
[data-theme="dark"] .mesh { opacity: .42; }

.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--border) 82%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 82%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  opacity: .55;
}
.hero__glow { filter: blur(90px); opacity: .42; }
[data-theme="dark"] .hero__glow { opacity: .3; }

/* section dividers that fade instead of hard rules */
.hairline {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--border) 22%, var(--border) 78%, transparent);
}

/* ---------- 34. Buttons ---------- */
.btn {
  position: relative; height: 42px; padding: 0 18px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .9rem; font-weight: 580; letter-spacing: -.012em; white-space: nowrap;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 88%, #fff) 0%, var(--brand) 100%);
  color: var(--brand-ink);
  border: 1px solid color-mix(in srgb, var(--brand) 74%, #000 14%);
  box-shadow: var(--sh-brand), inset 0 1px 0 rgba(255, 255, 255, .26);
  transition: transform .18s var(--ease-out), box-shadow .26s var(--ease-out), filter .18s var(--ease);
}
.btn:hover {
  transform: translateY(-1.5px); filter: saturate(1.07);
  box-shadow: 0 16px 38px -10px color-mix(in srgb, var(--brand) 62%, transparent), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn:active { transform: translateY(0) scale(.985); }
.btn svg { width: 16px; height: 16px; }
.btn--lg { height: 50px; padding: 0 24px; border-radius: 14px; font-size: .96rem; }

.btn--ghost {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: var(--sh-xs), var(--sh-inner);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border-strong));
  box-shadow: var(--sh-sm), 0 0 0 3px color-mix(in srgb, var(--brand) 9%, transparent);
  filter: none;
}
.btn--light { background: #fff; color: var(--text); border-color: rgba(255,255,255,.9); box-shadow: 0 10px 30px -8px rgba(0,0,0,.34); }
.btn--light:hover { background: #fff; filter: none; }
.btn--outline-light {
  background: rgba(255,255,255,.07); color: #fff;
  border-color: rgba(255,255,255,.34); box-shadow: none; backdrop-filter: blur(8px);
}
.btn--outline-light:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.55); filter: none; box-shadow: none; }
.btn--sm { height: 36px; padding: 0 14px; font-size: .84rem; border-radius: 10px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 580; color: var(--brand); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .22s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 35. Cards ---------- */
.card {
  border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--sh-xs);
  transition: transform .34s var(--ease-out), box-shadow .34s var(--ease-out), border-color .24s var(--ease);
}
.card--hover:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 26%, var(--border));
  box-shadow: var(--sh-md), 0 0 0 1px color-mix(in srgb, var(--brand) 14%, transparent);
}
.card-ico {
  border-radius: 12px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 14%, var(--surface)), color-mix(in srgb, var(--brand) 6%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent);
  box-shadow: var(--sh-inner);
}
.card-ico--accent {
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 20%, var(--surface)), color-mix(in srgb, var(--accent) 8%, var(--surface)));
  border-color: color-mix(in srgb, var(--accent) 22%, transparent);
  color: color-mix(in srgb, var(--accent) 70%, #181B21);
}

/* feature card with a top hairline that lights up on hover */
.card--hover::after {
  content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 65%, transparent), transparent);
  opacity: 0; transition: opacity .3s var(--ease);
}
.card { position: relative; }
.card--hover:hover::after { opacity: 1; }

/* ---------- 36. Badges / pills ---------- */
.badge {
  border-radius: 9px; padding: 5px 11px;
  background: color-mix(in srgb, var(--brand) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
  box-shadow: var(--sh-inner);
  font-weight: 560;
}
.badge--pill { border-radius: var(--r-full); padding: 6px 13px 6px 9px; font-size: .8rem; }
.badge--glassy {
  background: rgba(255,255,255,.16); color: #fff;
  border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); box-shadow: none;
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 99px; background: var(--ok); flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
}
.badge--glassy .badge__dot { background: color-mix(in srgb, var(--ok) 55%, #F2F4F6); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 26%, transparent); }

/* ---------- 37. Hero (centered stage layout) ---------- */
.hero--center { padding: clamp(52px, 6.6vw, 92px) 0 clamp(44px, 5vw, 68px); }
.hero--center .hero__copy {
  max-width: 860px; margin-inline: auto; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero--center h1 { font-size: clamp(2.3rem, 5.6vw, 4.15rem); margin-top: 20px; }
.hero--center .hero__sub {
  max-width: 620px; margin-top: 20px; font-size: clamp(1.02rem, 1.5vw, 1.19rem);
  color: var(--text-2); line-height: 1.6; letter-spacing: -.01em;
}
.hero--center .hero__cta { margin-top: 30px; justify-content: center; }
.hero--center .hero__note { justify-content: center; margin-top: 14px; }

.hero__points {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px; margin-top: 34px; width: 100%; max-width: 880px; text-align: left;
}
.hero__points li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 15px; border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  border: 1px solid var(--border); box-shadow: var(--sh-xs);
  backdrop-filter: blur(8px);
  font-size: .845rem; line-height: 1.45; color: var(--text-2);
}
.hero__points svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 1px; }
.hero__points strong { color: var(--text); font-weight: 600; }

.hero__stage { position: relative; margin-top: clamp(38px, 4.6vw, 58px); }
.hero__stage::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 6%; bottom: -6%;
  background: radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--brand) 34%, transparent), transparent 70%);
  filter: blur(64px); opacity: .55; pointer-events: none; z-index: 0;
}
.hero__stage > .hero__frame { position: relative; z-index: 1; }

.shot { border-radius: var(--r-xl); box-shadow: var(--sh-xl), 0 0 0 1px var(--border); }
.shot__bar { padding: 12px 16px; background: color-mix(in srgb, var(--surface-2) 88%, transparent); backdrop-filter: blur(8px); }
.shot__body { padding: 18px; }
.hero__stage .shot { max-width: 1080px; margin-inline: auto; }

.float-card { padding: 13px 16px; border-radius: 15px; box-shadow: var(--sh-lg), 0 0 0 1px color-mix(in srgb, var(--border) 60%, transparent); backdrop-filter: blur(10px); background: color-mix(in srgb, var(--surface) 92%, transparent); }
.float-card strong { font-size: 1.06rem; font-weight: 660; letter-spacing: -.03em; }
.float-card--tl { left: -34px; top: 8%; }
.float-card--br { right: -34px; bottom: 9%; }
.float-card--tr { right: -44px; top: -18px; animation-delay: -1.6s; }
@media (max-width: 1100px) {
  .float-card--tl { left: -6px; } .float-card--br { right: -6px; } .float-card--tr { right: -6px; }
}

.hero__trust {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap; margin-top: 34px;
}

/* real photo avatars */
.avatars { display: flex; align-items: center; }
.avatars img, .avatars span {
  width: 36px; height: 36px; border-radius: 99px; margin-left: -11px; flex: none;
  object-fit: cover; border: 2px solid var(--bg);
  box-shadow: 0 1px 3px rgba(0,0,0,.14);
  display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff;
  background: var(--surface-2);
}
.avatars > :first-child { margin-left: 0; }
.avatars--lg img, .avatars--lg span { width: 44px; height: 44px; }

/* ---------- 38. Logo wall ---------- */
.logos { padding: 30px 0; border-block: 1px solid var(--border); background: color-mix(in srgb, var(--bg-sub) 60%, var(--bg)); }
.logos__row { gap: clamp(26px, 5vw, 64px); }
.logos__row .logo-mark {
  display: inline-flex; align-items: center; height: 30px;
  color: var(--text-3); opacity: .62;
  transition: opacity .24s var(--ease), color .24s var(--ease), transform .24s var(--ease-out);
}
.logos__row .logo-mark:hover { opacity: 1; color: var(--text); transform: translateY(-1px); }
.logos__row .logo-mark svg { height: 100%; width: auto; display: block; }

.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-marquee__track { display: flex; align-items: center; gap: clamp(38px, 5vw, 72px); width: max-content; animation: slide 40s linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee .logo-mark { display: inline-flex; align-items: center; height: 28px; color: var(--text-3); opacity: .6; transition: opacity .2s, color .2s; }
.logo-marquee .logo-mark:hover { opacity: 1; color: var(--text); }

/* ---------- 39. Media components ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--bg-mute); aspect-ratio: 16 / 10;
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease-out); }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--21x9 { aspect-ratio: 21 / 9; }
a:hover > .media img, .card--hover:hover .media img { transform: scale(1.045); }
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 46%, rgba(24, 27, 33, .5) 100%);
  opacity: .9;
}
.media--plain::after { display: none; }
.media__tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--text);
  border-radius: var(--r-full); padding: 4px 11px;
  font-size: .72rem; font-weight: 620; letter-spacing: .01em;
  backdrop-filter: blur(6px); box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.media__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff; }
.media__cap strong { display: block; font-size: 1.02rem; font-weight: 620; letter-spacing: -.02em; }
.media__cap span { font-size: .8rem; opacity: .84; }

/* avatars inside people cards */
.avatar-photo {
  width: 46px; height: 46px; border-radius: 99px; object-fit: cover; flex: none;
  border: 1px solid var(--border); box-shadow: var(--sh-xs);
}
.avatar-photo--lg { width: 60px; height: 60px; }

.person { text-align: center; }
.person .media { border-radius: var(--r-lg); margin-bottom: 14px; }
.person h3 { font-size: 1rem; margin-bottom: 3px; }
.person p { font-size: .82rem; color: var(--text-3); }

/* ---------- 40. Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento__cell {
  grid-column: span 2; position: relative; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface);
  padding: 26px; box-shadow: var(--sh-xs);
  transition: transform .34s var(--ease-out), box-shadow .34s var(--ease-out), border-color .24s;
}
.bento__cell:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: color-mix(in srgb, var(--brand) 22%, var(--border)); }
.bento__cell--wide { grid-column: span 4; }
.bento__cell--half { grid-column: span 3; }
.bento__cell--full { grid-column: span 6; }
.bento__cell--dark { background: linear-gradient(150deg, #22262E, #181B21 62%); border-color: rgba(255,255,255,.09); color: #F2F4F6; }
.bento__cell--dark h3 { color: #fff; }
.bento__cell--dark p { color: rgba(242,244,246,.68); }
.bento__cell--tint { background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 8%, var(--surface)), var(--surface) 70%); }
.bento__cell h3 { font-size: 1.14rem; margin-bottom: 8px; }
.bento__cell p { font-size: .9rem; color: var(--text-2); }
.bento__media { margin: 20px -26px -26px; }
.bento__media img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.bento__metric { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 660; letter-spacing: -.045em; line-height: 1; }

@media (max-width: 1000px) {
  .bento__cell, .bento__cell--wide, .bento__cell--half { grid-column: span 3; }
  .bento__cell--full { grid-column: span 6; }
}
@media (max-width: 660px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell, .bento__cell--wide, .bento__cell--half, .bento__cell--full { grid-column: auto; }
}

/* ---------- 41. Story / case cards with photos ---------- */
.case-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.case-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-card__logo { display: inline-flex; align-items: center; height: 22px; color: var(--text-3); }
.case-card__logo svg { height: 100%; width: auto; }
.case-card h3 { font-size: 1.18rem; letter-spacing: -.028em; }
.case-card p { font-size: .9rem; color: var(--text-2); }
.case-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.case-card__stats b { display: block; font-size: 1.06rem; font-weight: 660; letter-spacing: -.03em; }
.case-card__stats span { font-size: .72rem; color: var(--text-3); }

.post-card { padding: 0; overflow: hidden; }
.post-card .media { border-radius: 0; aspect-ratio: 16 / 9; }
.post-card .post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.post-card .meta { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--text-3); }
.post-card .meta .dot-sep { width: 3px; height: 3px; border-radius: 99px; background: currentColor; opacity: .5; }
.post-card__author { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 12px; }
.post-card__author img { width: 26px; height: 26px; border-radius: 99px; object-fit: cover; }
.post-card__author span { font-size: .78rem; color: var(--text-3); }

/* quote card with photo */
.quote { gap: 16px; }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__who img { width: 42px; height: 42px; border-radius: 99px; object-fit: cover; flex: none; border: 1px solid var(--border); }
.quote__who strong { display: block; font-size: .88rem; font-weight: 620; }
.quote__who span { font-size: .78rem; color: var(--text-3); }
.quote__text { font-size: .96rem; color: var(--text-2); line-height: 1.62; }

/* ---------- 42. Dark band ---------- */
.band-dark {
  position: relative; overflow: hidden; color: #F2F4F6;
  background: #181B21;
  border-radius: var(--r-2xl);
  padding: clamp(38px, 5.4vw, 68px);
}
.band-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 60% at 12% 0%, color-mix(in srgb, var(--brand) 62%, transparent), transparent 66%),
    radial-gradient(40% 52% at 92% 100%, color-mix(in srgb, var(--brand-3) 40%, transparent), transparent 66%);
  opacity: .55; filter: blur(40px);
}
.band-dark > * { position: relative; z-index: 1; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: rgba(242,244,246,.72); }
.band-dark .eyebrow { color: color-mix(in srgb, var(--brand-3) 70%, #fff); }

.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat-strip > div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.14); }
.stat-strip b { display: block; font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 660; letter-spacing: -.045em; line-height: 1.05; color: #fff; }
.stat-strip span { font-size: .82rem; color: rgba(242,244,246,.62); }
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 43. CTA band refresh ---------- */
.cta-band {
  border-radius: var(--r-2xl);
  background: linear-gradient(124deg, #22262E 0%, #181B21 46%, color-mix(in srgb, #181B21 52%, #DE5A22) 100%);
  box-shadow: var(--sh-xl);
}
.cta-band::after {
  background:
    radial-gradient(40% 60% at 88% 12%, color-mix(in srgb, var(--brand-3) 55%, transparent), transparent 68%),
    radial-gradient(36% 56% at 6% 96%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 66%);
  filter: blur(34px); opacity: .7;
}
.cta-band h2 { letter-spacing: -.04em; }

/* ---------- 44. Numbers / stats strip (light) ---------- */
.stats { gap: 0; border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--sh-sm); overflow: hidden; }
.stats__item { padding: 26px 22px; border-right: 1px solid var(--border); }
.stats__item:last-child { border-right: 0; }
.stats__val { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 660; letter-spacing: -.045em; line-height: 1; }
.stats__lbl { font-size: .8rem; color: var(--text-3); margin-top: 8px; }
@media (max-width: 760px) { .stats__item { border-right: 0; border-bottom: 1px solid var(--border); } .stats__item:last-child { border-bottom: 0; } }

/* ---------- 45. Nav polish ---------- */
.hdr__inner, .nav__bar { transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s; }
.nav--scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.6); border-bottom-color: var(--border); }
.nav__panel {
  border-radius: var(--r-lg); border: 1px solid var(--border);
  box-shadow: var(--sh-lg), 0 0 0 1px color-mix(in srgb, var(--border) 50%, transparent);
  background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(16px);
}

/* ---------- 46. Chat widget polish ---------- */
.chat-fab { box-shadow: var(--sh-lg), 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.chat-win { border-radius: var(--r-xl); box-shadow: var(--sh-xl); overflow: hidden; }

/* ---------- 47. Cookie bar polish ---------- */
.cookie { border-radius: var(--r-lg); box-shadow: var(--sh-xl); border: 1px solid var(--border); }

/* ---------- 48. Integration grid polish ---------- */
.int-card { border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--sh-xs); }
.int-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: color-mix(in srgb, var(--brand) 24%, var(--border)); }
.int-card__logo { border-radius: 11px; color: #fff; }

/* ---------- 49. Section rhythm ---------- */
.section--sub { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-sub) 12%, var(--bg-sub) 88%, var(--bg) 100%); }
.sec-head { margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.sec-head h2 { margin-top: 14px; }

/* ---------- 50. Page hero polish ---------- */
.page-hero { padding: clamp(46px, 6vw, 88px) 0 clamp(32px, 4vw, 52px); }
.page-hero--media { position: relative; overflow: hidden; }
.page-hero--media img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .16; filter: saturate(.5);
}
[data-theme="dark"] .page-hero--media img.bg { opacity: .22; }

/* ---------- 51. Team grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { text-align: center; padding: 22px; }
.team-card img { width: 96px; height: 96px; border-radius: 99px; object-fit: cover; margin: 0 auto 14px; border: 1px solid var(--border); box-shadow: var(--sh-sm); }
.team-card h3 { font-size: 1rem; margin-bottom: 3px; }
.team-card p { font-size: .82rem; color: var(--text-3); }

/* ---------- 52. Utilities ---------- */
.rounded-xl { border-radius: var(--r-xl); }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.z1 { position: relative; z-index: 1; }
.mw-720 { max-width: 720px; }
.mw-900 { max-width: 900px; }
.mx-auto { margin-inline: auto; }
.mt24 { margin-top: 24px; } .mt64 { margin-top: 64px; }
.gap24 { gap: 24px; }
@media (max-width: 860px) {
  .hero__points { grid-template-columns: 1fr; }
  .hero--center h1 { font-size: clamp(2rem, 8vw, 2.7rem); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track, .marquee__track, .float-card { animation: none !important; }
}

/* ---------- 53. Brand wordmark typesetting ---------- */
.logo-mark { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.logo-mark .lm__glyph { width: 19px; height: 19px; flex: none; display: block; }
.logo-mark .lm__glyph svg { width: 100%; height: 100%; display: block; }
.logo-mark .lm__word { font-size: 1.02rem; font-weight: 680; letter-spacing: -.01em; line-height: 1; }

.lm--wide .lm__word { letter-spacing: .24em; font-weight: 600; font-size: .94rem; }
.lm--wide .lm__glyph { width: 17px; height: 17px; }
.lm--round .lm__word { letter-spacing: -.015em; font-weight: 680; }
.lm--light .lm__word { font-weight: 300; letter-spacing: .3em; font-size: .95rem; }
.lm--serif .lm__word { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: .015em; font-size: 1.05rem; }
.lm--cond .lm__word { font-weight: 800; letter-spacing: -.03em; font-size: 1.08rem; }
.lm--ital .lm__word { font-style: italic; font-weight: 400; letter-spacing: .05em; font-size: 1.04rem; }
.lm--mono .lm__word { font-family: var(--font-mono); font-weight: 400; letter-spacing: .18em; font-size: .88rem; text-transform: uppercase; }

.case-card__logo { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); }
.case-card__logo .lm__glyph { display: none; }
.case-card__logo svg { width: 20px; height: 20px; flex: none; }
.case-card__logo .lm__word { font-size: .88rem; font-weight: 700; letter-spacing: .04em; }
.case-card__logo.lm--wide .lm__word { letter-spacing: .2em; font-size: .8rem; }
.case-card__logo.lm--mono .lm__word { font-family: var(--font-mono); letter-spacing: .16em; font-size: .78rem; }
.case-card__logo.lm--light .lm__word { font-weight: 400; letter-spacing: .22em; font-size: .8rem; }
.case-card__logo.lm--serif .lm__word { font-family: Georgia, serif; letter-spacing: .02em; }
.case-card__logo.lm--ital .lm__word { font-style: italic; letter-spacing: .04em; }
.case-card__logo.lm--cond .lm__word { font-weight: 800; letter-spacing: -.02em; }

/* ---------- 54. Bento internals + spacing helpers ---------- */
.mt20 { margin-top: 20px; }
.bento__split { display: grid; grid-template-columns: 1fr 1.06fr; gap: 32px; align-items: center; }
.bento__media-inset {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
}
.bento__media-inset img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.bento__cell--dark .badge--glassy { border-radius: var(--r-full); }
@media (max-width: 860px) { .bento__split { grid-template-columns: 1fr; gap: 22px; } }

/* case study split layout (customers page) */
.case-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; }
@media (max-width: 820px) { .case-split { grid-template-columns: 1fr; } }

/* keep long reveal lists from flashing before scroll wiring runs */
[data-reveal] { will-change: opacity, transform; }

/* ---------- 55. Hero frame (positions the floating stat cards) ---------- */
.hero__frame { position: relative; max-width: 1080px; margin-inline: auto; }
.hero__frame .shot { max-width: none; margin: 0; }
.hero__frame .float-card--tl { left: -40px; top: 11%; }
.hero__frame .float-card--tr { right: -32px; top: -22px; }
.hero__frame .float-card--br { right: -40px; bottom: 11%; }
@media (max-width: 1200px) {
  .hero__frame .float-card--tl { left: -12px; }
  .hero__frame .float-card--tr { right: -8px; }
  .hero__frame .float-card--br { right: -12px; }
}
@media (max-width: 780px) {
  .hero__stage .float-card { display: none; }
}

/* ---------- 56. Bento fixes ---------- */
/* presentation attributes (width/height) otherwise pin the height and defeat aspect-ratio */
.bento__media img, .bento__media-inset img { height: auto; }
.bento__cell--tint { display: flex; flex-direction: column; justify-content: center; }
.bento__cell--tint::before {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 190px; height: 190px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 26%, transparent), transparent 68%);
  filter: blur(26px); opacity: .75;
}
.bento__cell--tint > * { position: relative; z-index: 1; }
.hero__stage::before { opacity: .62; }
.mesh { opacity: .58; }

/* ---------- 57. Mobile header fit + drawer tools ---------- */
/* The header action cluster is `flex: none`, so an over-wide group silently
   pushes the document past the viewport. Keep it narrow on small screens. */
.hdr__actions { min-width: 0; }
.hdr__actions .btn { white-space: nowrap; }
.hdr__tools { flex: none; }

/* drawer-side language / currency / theme controls */
.drawer__tools {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--border);
}
.drawer__tools .menu { flex: 1 1 130px; min-width: 0; }
.drawer__tools .menu__btn {
  width: 100%; height: 44px; justify-content: flex-start; gap: 10px;
  padding: 0 14px; border: 1px solid var(--border); background: var(--surface-2);
}
.drawer__tools .menu__btn svg:last-child { margin-left: auto; opacity: .5; }
.drawer__tools .menu__pop { left: 0; right: auto; min-width: 100%; }
.drawer__mode {
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--border); background: var(--surface-2);
}

@media (max-width: 860px) {
  /* tools move into the drawer — they are duplicated there */
  .hdr__tools { display: none; }
  .hdr__inner { gap: 16px; }
}
@media (max-width: 560px) {
  .wrap, .wrap-narrow { padding-inline: 16px; }
  .hdr__inner { gap: 12px; }
  .hdr__actions { gap: 6px; }
  .hdr__actions .btn--sm { padding-inline: 13px; }
}
@media (max-width: 380px) {
  .hdr__actions .btn--sm { display: none; }   /* still reachable in the drawer */
}

/* ---------- 58. Page hero — photo scrim ---------- */
/* Fade the cover photo out behind the copy so the breadcrumb and headline
   always sit on a clean surface, then let it bloom on the right. */
.page-hero--media img.bg {
  opacity: .55;
  filter: saturate(.6) contrast(1.02);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, rgba(0,0,0,.30) 56%, rgba(0,0,0,.85) 82%, #000 96%);
  mask-image: linear-gradient(100deg, transparent 30%, rgba(0,0,0,.30) 56%, rgba(0,0,0,.85) 82%, #000 96%);
}
[data-theme="dark"] .page-hero--media img.bg {
  opacity: .34;
  filter: saturate(.5) brightness(.85);
}
.page-hero--media .crumb { color: var(--text-2); }
.page-hero--media .crumb a:hover { color: var(--brand); }
@media (max-width: 780px) {
  .page-hero--media img.bg {
    opacity: .4;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.85) 60%, #000 100%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.85) 60%, #000 100%);
  }
}

/* ---------- 59. Overflow hardening ---------- */
/* Grid and flex children default to `min-width: auto`, so a single wide child
   (code block, table, long URL, unbroken token) silently stretches the whole
   page past the viewport. Zeroing the floor lets the container win. */
.grid > *, .g2 > *, .g3 > *, .g4 > *,
.two-col-doc > *, .kpi-row > *, .form-row > *,
.bento > *, .bento__cell > *,
[data-render] > *, .wrap > * { min-width: 0; }

/* code blocks scroll instead of pushing the layout */
pre, pre.code, .code { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* wide tables get their own scroll container */
.table-scroll {
  max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.table-scroll > table { min-width: min(520px, 100%); margin: 0; border: 0; border-radius: 0; overflow: visible; }
.prose .table-scroll { margin: 18px 0; }
.prose .table-scroll table { font-size: .87rem; }
.prose > .table-scroll + h2 { margin-top: 40px; }

/* long inline code / URLs must be able to break — but never mid-identifier */
.prose code, .prose a { overflow-wrap: anywhere; }
.table-scroll code { overflow-wrap: normal; word-break: normal; white-space: nowrap; }

@media (max-width: 560px) {
  .table-scroll table { font-size: .78rem; }
  .table-scroll th, .table-scroll td { padding: 9px 10px; }
  .table-scroll code { font-size: .74rem; }
}

/* ---------- 60. Customer brand identities ---------- */
/* Five house brands, each with its own typographic voice. The symbol is
   drawn per category; the wordmark carries the personality through family,
   weight, case and tracking. Every mark inherits `currentColor`, so the
   wall stays monochrome in both light and dark mode. */
:root {
  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-rounded: "Nunito", "Nunito Sans", ui-rounded, "Segoe UI", system-ui, sans-serif;
}

/* 1 · AURELIA — beauty. Editorial Didone-ish serif, wide caps. */
.lm--aurelia .lm__word {
  font-family: var(--font-serif); font-weight: 400; text-transform: uppercase;
  letter-spacing: .185em; font-size: 1.06rem; text-indent: .02em;
}
.lm--aurelia .lm__glyph { width: 18px; height: 18px; }

/* 2 · KITE — outdoor. Heavy grotesque caps, tight. */
.lm--kite .lm__word {
  font-weight: 800; text-transform: uppercase;
  letter-spacing: .035em; font-size: .99rem;
}
.lm--kite .lm__glyph { width: 18px; height: 18px; }

/* 3 · HALDEN — furniture. Light, very wide Scandi caps. */
.lm--halden .lm__word {
  font-weight: 300; text-transform: uppercase;
  letter-spacing: .3em; font-size: .95rem; text-indent: .3em;
}
.lm--halden .lm__glyph { width: 16px; height: 16px; }

/* 4 · EMBER — coffee. Warm rounded bold, lowercase. */
.lm--ember .lm__word {
  font-family: var(--font-rounded); font-weight: 800; text-transform: lowercase;
  letter-spacing: -.005em; font-size: 1.16rem;
}
.lm--ember .lm__glyph { width: 17px; height: 17px; }

/* 5 · PIP — pet supplies. Compact lowercase, tight. */
.lm--pip .lm__word {
  font-weight: 700; text-transform: lowercase;
  letter-spacing: -.025em; font-size: 1.2rem;
}
.lm--pip .lm__glyph { width: 18px; height: 18px; }

/* the wall is a set, so keep the optical sizes aligned */
.logo-marquee .logo-mark, .logos__row .logo-mark { align-items: center; }
.logo-marquee .logo-mark .lm__glyph svg,
.logos__row .logo-mark .lm__glyph svg { width: 100%; height: 100%; }

/* marks also show up next to case-study copy, at eyebrow scale */
.case-card__logo .lm__glyph { display: block; width: 16px; height: 16px; }
.case-card__logo .lm__glyph svg { width: 100%; height: 100%; display: block; }
.case-card__logo.lm--aurelia .lm__word { font-family: var(--font-serif); font-size: .84rem; letter-spacing: .16em; }
.case-card__logo.lm--kite .lm__word { font-weight: 800; font-size: .82rem; letter-spacing: .04em; }
.case-card__logo.lm--halden .lm__word { font-weight: 400; font-size: .8rem; letter-spacing: .24em; }
.case-card__logo.lm--ember .lm__word { font-family: var(--font-rounded); font-size: .96rem; }
.case-card__logo.lm--pip .lm__word { font-size: .98rem; }

/* the symbol should carry a little more weight than the label */
.case-card__logo { color: var(--brand); }
.case-card__logo .lm__glyph { opacity: .92; }

/* the serif mark is optically lighter than the grotesques, so the wall
   sits a touch above its old muted value — still clearly secondary to copy */
.logo-marquee .logo-mark { opacity: .68; }
.logos__row .logo-mark { opacity: .7; }

/* ---------- 61. Photo bands, contact team card, auth photo ---------- */
/* Subpages like /features or /security are mostly UI mock and copy. A single
   full-width photo band gives each of them one moment of real photography,
   placed just before the closing CTA. */

.pband {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.pband--flip .pband__media { order: 2; }

.pband__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-mute);
  aspect-ratio: 950 / 691;
  box-shadow: var(--sh-lg);
}
.pband__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pband__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(24, 27, 33, .07);
}
[data-theme="dark"] .pband__media { box-shadow: none; background: var(--bg-sub); }
[data-theme="dark"] .pband__media::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }

.pband__copy h2 { font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.3rem); letter-spacing: -.022em; }
.pband__list { display: flex; flex-direction: column; gap: 12px; }
.pband__list li {
  position: relative; padding-left: 30px;
  font-size: .95rem; line-height: 1.55; color: var(--text-2);
}
.pband__list li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 11%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 28%, transparent);
}
.pband__list li::after {
  content: ""; position: absolute; left: 6px; top: calc(.28em + 6.4px);
  width: 6px; height: 3.2px;
  border-left: 1.8px solid var(--brand); border-bottom: 1.8px solid var(--brand);
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .pband { grid-template-columns: 1fr; gap: 30px; }
  .pband--flip .pband__media { order: 0; }
}

/* --- contact page: the team photo above the channel list --- */
.contact-team {
  margin: 0 0 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--sh-sm);
}
.contact-team img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 10; object-fit: cover;
}
.contact-team figcaption { padding: 18px 20px 20px; }
.contact-team strong { font-size: .98rem; letter-spacing: -.012em; }

/* --- login / signup: photographic aside under a brand scrim --- */
.auth__aside--photo { background: #181B21; }
.auth__aside--photo > .auth__photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 42%;
  filter: saturate(.72) contrast(1.03);
}
.auth__aside--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(155deg,
      rgba(24, 27, 33, .94) 0%,
      rgba(34, 38, 46, .86) 46%,
      rgba(222, 90, 34, .58) 100%);
}
.auth__aside--photo::after { z-index: 2; }
.auth__aside--photo > :not(.auth__photo) { position: relative; z-index: 3; }

/* ---------- 62. Detail pages: articles, case studies, help guides ---------- */
.art { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 56px; align-items: start; }
.art__main { min-width: 0; max-width: 760px; }
.art__side { min-width: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.art__side .toc { position: static; }
.art__side h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.art__side .facts { margin-bottom: 26px; }

/* hero meta row: date · read time · author */
.art__meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.art__metaitems { display: inline-flex; align-items: center; gap: 8px; font-size: .87rem; color: var(--text-3); }
.art__meta [data-detail-byline] { display: inline-flex; align-items: center; gap: 10px; }
.art__meta img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

.art__figure { margin: 0 0 46px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.art__figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.art__figure[hidden] { display: none; }
.art__side[hidden] { display: none; }

.art__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 640px; }
.art__stats .stat { padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.art__stats .stat b { display: block; font-size: 1.7rem; font-weight: 680; letter-spacing: -.035em; color: var(--brand); }
.art__stats .stat span { font-size: .8rem; color: var(--text-3); }

.takeaway {
  margin-top: 44px; padding: 26px 28px; border: 1px solid var(--border);
  border-left: 3px solid var(--brand); border-radius: var(--r-md); background: var(--surface-2);
}
.takeaway h3 { margin: 0 0 14px; font-size: 1rem; }
.takeaway ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.takeaway li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .92rem; color: var(--text-2); line-height: 1.6; }
.takeaway li svg { width: 16px; height: 16px; color: var(--brand); margin-top: 3px; }

.art__quotewrap { margin-top: 52px; }
.pullquote { margin: 0; padding: 34px 36px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface-2); }
.pullquote p { font-size: clamp(1.08rem, 2.1vw, 1.35rem); line-height: 1.5; letter-spacing: -.02em; color: var(--text); }
.pullquote cite { display: block; margin-top: 18px; font-style: normal; font-size: .85rem; color: var(--text-3); }

.facts__row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .84rem; }
.facts__row:last-child { border-bottom: 0; }
.facts__row span { color: var(--text-3); }
.facts__row strong { color: var(--text); font-weight: 620; text-align: right; }

/* ordered how-to list inside a help guide */
.guidelist { counter-reset: g; list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.guidelist li { position: relative; counter-increment: g; padding-left: 40px; font-size: .93rem; color: var(--text-2); line-height: 1.65; }
.guidelist li::before {
  content: counter(g); position: absolute; left: 0; top: 1px; width: 26px; height: 26px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: .78rem; font-weight: 700;
}

/* each guide inside a category page reads as its own block */
[data-doc] > section + section { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--border); }
[data-doc] > section > h2:first-child { margin-top: 0; }

.help-card h3 a:hover { color: var(--brand); }

@media (max-width: 1024px) {
  .art { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .art__side { position: static; order: -1; }
}
@media (max-width: 640px) {
  .art__stats { grid-template-columns: 1fr; }
  .art__figure { margin-bottom: 32px; }
  .pullquote { padding: 26px 22px; }
  .takeaway { padding: 22px 20px; }
}
