/* ---------- Tokens ---------- */
:root {
  --paper: #FFFFFF;
  --paper-2: #F4F4F6;     /* sunken — cool neutral */
  --paper-3: #E8E8EC;     /* deeper sunken */
  --ink: #0B0B0E;         /* near-black, faint cool */
  --ink-2: #2E2E36;       /* charcoal */
  --ink-3: #6B6B76;       /* cool gray */
  --rule: #E2E2E7;
  --rule-strong: #BDBDC6;

  --brand: #3F007F;       /* Ink Violet — primary */
  --brand-2: #2A0058;
  --brand-3: #6B2AB8;     /* lighter violet for dark-bg accents */
  --brand-wash: #EFE6F8;

  --accent: #C4E833;      /* Acid Lime — secondary bright */
  --accent-2: #A8CC1A;    /* deeper lime, for hover/borders */
  --accent-3: #E6F2A0;    /* pale lime, for washes */
  --accent-ink: #1A2200;  /* deep green-black for text on lime backgrounds */

  --amber: #C9851A;
  --bronze: #9C5A2A;
  --signal: #2A4E8C;
  --green: #2E6B3E;

  --night: #0E0B14;       /* near-black with violet undertone */
  --night-2: #18142A;
  --night-3: #261F40;

  /* ── Liquid-glass surfaces ──────────────────────────────── */
  --glass-paper:   rgba(255, 255, 255, 0.55);   /* on light paper */
  --glass-cream:   rgba(248, 248, 251, 0.62);   /* cool frosted */
  --glass-night:   rgba(18, 16, 28, 0.55);      /* dark violet glass */
  --glass-violet:  rgba(63, 0, 127, 0.26);      /* tinted brand glass */
  --glass-lime:    rgba(196, 232, 51, 0.16);    /* tinted lime glass */
  --glass-blur:    blur(24px) saturate(160%);
  --glass-blur-lg: blur(40px) saturate(170%);
  --glass-hilite:  inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --glass-edge:    1px solid rgba(255, 255, 255, 0.55);
  --glass-edge-dk: 1px solid rgba(255, 255, 255, 0.12);
  --shadow-glass:  var(--glass-hilite), 0 1px 2px rgba(11,11,14,0.05), 0 14px 44px -16px rgba(63,0,127,0.22);
  --shadow-glass-lg: var(--glass-hilite), 0 24px 64px -24px rgba(63,0,127,0.30);

  --serif: "Newsreader", Georgia, serif;
  --display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* ── Liquid-glass surface classes ─────────────────────────── */
.glass {
  background: var(--glass-paper);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  border: var(--glass-edge);
  border-radius: 22px;
  box-shadow: var(--shadow-glass);
}
.glass-cream { background: var(--glass-cream); }
.glass-violet {
  background: var(--glass-violet);
  border-color: rgba(255, 255, 255, 0.20);
  color: #fff;
}
.glass-night {
  background: var(--glass-night);
  border: var(--glass-edge-dk);
  color: #E8E8EF;
}

/* ── Crew hero: cursor-trailing orbs (softer, own arrangement) */
.hero-agents { isolation: isolate; }
.orb-ag-1 {
  width: 52vmin; height: 52vmin;
  top: -14%; left: 4%;
  background: radial-gradient(circle at 50% 50%, rgba(63, 0, 127, 0.32) 0%, rgba(63, 0, 127, 0.11) 46%, rgba(63, 0, 127, 0) 72%);
  animation: orb-float-a 34s ease-in-out infinite;
}
.orb-ag-2 {
  width: 46vmin; height: 46vmin;
  bottom: -18%; left: -8%;
  background: radial-gradient(circle at 50% 50%, rgba(63, 0, 127, 0.28) 0%, rgba(63, 0, 127, 0.10) 46%, rgba(63, 0, 127, 0) 72%);
  animation: orb-float-b 40s ease-in-out infinite;
}
.orb-ag-3 {
  width: 40vmin; height: 40vmin;
  top: -8%; right: 2%;
  background: radial-gradient(circle at 50% 50%, rgba(181, 123, 232, 0.24) 0%, rgba(181, 123, 232, 0) 70%);
  animation: orb-float-a 30s ease-in-out infinite reverse;
}
.orb-ag-cursor {
  top: 0; left: 0;
  width: 30vmin; height: 30vmin;
  filter: blur(60px);
  background: radial-gradient(circle at 50% 50%, rgba(196, 232, 51, 0.38) 0%, rgba(196, 232, 51, 0.13) 46%, rgba(196, 232, 51, 0) 72%);
}
@media (prefers-reduced-motion: reduce) {
  .orb-ag-1, .orb-ag-2, .orb-ag-3 { animation: none; }
}

/* ── Case studies slider (home preview) ───────────────────── */
.case-slider { display: flex; align-items: stretch; gap: 14px; }
.case-slider-track {
  flex: 1;
  min-width: 0;
  grid-template-columns: repeat(3, 1fr);
  animation: caseFade 0.35s ease;
}
@keyframes caseFade { from { opacity: 0.3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.case-arrow {
  flex: 0 0 auto;
  align-self: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 24px; line-height: 1;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.case-arrow:hover { border-color: var(--brand); color: var(--brand); transform: scale(1.06); }
.case-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.case-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--rule-strong);
  cursor: pointer;
  transition: background 0.15s ease, width 0.15s ease, border-radius 0.15s ease;
}
.case-dot.active { background: var(--brand); width: 22px; border-radius: 4px; }
@media (max-width: 880px) {
  .case-slider-track.crew-grid { grid-template-columns: 1fr; }
  .case-slider-track .crew-card:nth-child(n+2) { display: none; }
}
@media (max-width: 600px) {
  /* keep the slider control on one side only, give the card more width */
  .case-slider .case-arrow:first-child { display: none; }
}

/* ── Interactive Slack demo (sidebar + main) ──────────────── */
.slack-app {
  display: grid;
  grid-template-columns: 210px 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: var(--glass-edge);
  box-shadow: var(--shadow-glass);
  background: #fff;
  height: 660px;
}
.slack-side {
  background: #2A0A47;
  padding: 16px 10px;
}
.slack-ws {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 4px 8px 14px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 8px;
}
.slack-chan-group {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  padding: 8px 10px 6px;
}
.slack-chan {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  border: none;
  background: none;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  transition: background 0.15s ease, color 0.15s ease;
}
.slack-chan .hash { opacity: 0.6; }
.slack-chan:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.slack-chan.active { background: #4A1A85; color: #fff; font-weight: 600; }
.slack-chan.unread { color: #fff; font-weight: 700; }
.slack-unread {
  margin-left: auto;
  min-width: 19px;
  height: 19px;
  padding: 0 6px;
  border-radius: 10px;
  background: #E01E5A;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.slack-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.slack-main .slack-body { flex: 1; overflow-y: auto; min-height: 0; }
.s-link { color: #1264A3; font-weight: 500; text-decoration: none; }
.s-link:hover { text-decoration: underline; }
.slack-compose { padding: 12px 18px 18px; }
.slack-compose-box {
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.slack-compose-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: 15px;
}
.slack-compose-tools .b { font-weight: 700; }
.slack-compose-tools .i { font-style: italic; }
.slack-compose-tools .u { text-decoration: underline; }
.slack-compose-tools .s { text-decoration: line-through; }
.slack-compose-tools .code { font-size: 13px; }
.slack-compose-tools .tdiv { width: 1px; height: 16px; background: var(--rule); }
.slack-compose-input {
  padding: 13px 14px;
  color: var(--ink-3);
  font-size: 15px;
}
.slack-compose-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
}
.slack-foot-left { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: 15px; }
.slack-foot-left .circle {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--paper-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; line-height: 1; color: var(--ink-2);
}
.slack-foot-left .aa { text-decoration: underline; font-size: 14px; }
.slack-foot-right { color: var(--ink-3); font-size: 16px; }
@media (max-width: 720px) {
  .slack-app { grid-template-columns: 1fr; height: auto; }
  .slack-side {
    display: flex; gap: 6px; overflow-x: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px;
  }
  .slack-ws, .slack-chan-group { display: none; }
  .slack-chan { width: auto; white-space: nowrap; padding: 6px 12px; }
}

/* ── Agent card hover ─────────────────────────────────────── */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .agent-grid { grid-template-columns: 1fr; } }

.agent-card {
  transition: transform 0.2s ease, box-shadow 0.24s ease,
              border-color 0.2s ease, background 0.2s ease;
  will-change: transform;
}
.agent-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(63, 0, 127, 0.38);
  box-shadow: var(--shadow-glass-lg);
}
.agent-card .ac-dot { transition: transform 0.2s ease; }
.agent-card:hover .ac-dot { transform: scale(1.6); }
@media (prefers-reduced-motion: reduce) {
  .agent-card, .agent-card:hover { transform: none; }
}

/* ── Violet / lime aura glows (place behind glass) ────────── */
.aura {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.75;
  z-index: 0;
}
.aura-violet { background: radial-gradient(circle, rgba(63,0,127,0.34), transparent 62%); }
.aura-lime   { background: radial-gradient(circle, rgba(196,232,51,0.30), transparent 62%); }
.aura-soft   { background: radial-gradient(circle, rgba(107,42,184,0.22), transparent 65%); }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.16s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.noscript-fallback {
  padding-top: 80px;
  padding-bottom: 80px;
}

.noscript-fallback h1 {
  max-width: 820px;
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.noscript-fallback p {
  max-width: 720px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.55;
}

a { color: inherit; }

.mono { font-family: var(--mono); font-feature-settings: "zero", "ss01"; }
.uc { text-transform: uppercase; letter-spacing: 0.08em; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 28px;
  height: 31px;
  color: var(--brand);
  display: block;
}
.brand-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  display: inline-flex;
  align-items: baseline;
  color: var(--brand);
  line-height: 1;
}
.brand-name .tld {
  font-family: var(--display);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: -0.03em;
  color: var(--brand);
  text-transform: lowercase;
}
.brand-name span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
  font-weight: 400;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--brand); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
}
.nav-cta:hover { background: var(--brand-2); transform: translateY(-1px); }

/* Language toggle (EN / UA) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  padding: 3px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}
.lang-btn {
  border: none;
  background: none;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-3);
  transition: background 0.15s, color 0.15s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: var(--brand); color: #fff; }
.lang-toggle-mobile {
  margin-top: 14px;
  align-self: flex-start;
}

.nav-burger {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile { display: none; background: #fff; border-top: 1px solid var(--rule); }
.nav-mobile .wrap { display: flex; flex-direction: column; }
.nav-mobile a {
  padding: 15px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:active { color: var(--brand); }
.nav-mobile a.nav-mobile-cta {
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-inner > .lang-toggle { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-mobile.open { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(48px, 9vw, 110px) 0 clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}

/* ---------- Hero floating orbs ---------- */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.orb-violet {
  width: 64vmin;
  height: 64vmin;
  background: radial-gradient(circle at 50% 50%, rgba(63, 0, 127, 0.55) 0%, rgba(63, 0, 127, 0.20) 45%, rgba(63, 0, 127, 0) 72%);
  top: -18%;
  left: -12%;
  animation: orb-float-a 32s ease-in-out infinite;
}
.orb-violet-2 {
  width: 56vmin;
  height: 56vmin;
  background: radial-gradient(circle at 50% 50%, rgba(63, 0, 127, 0.50) 0%, rgba(63, 0, 127, 0.16) 45%, rgba(63, 0, 127, 0) 72%);
  bottom: -22%;
  right: -10%;
  animation: orb-float-b 38s ease-in-out infinite;
}
/* Lime orb that trails the cursor (positioned via JS transform from top-left) */
.orb-lime-cursor {
  top: 0;
  left: 0;
  width: 34vmin;
  height: 34vmin;
  background: radial-gradient(circle at 50% 50%, rgba(196, 232, 51, 0.52) 0%, rgba(196, 232, 51, 0.18) 46%, rgba(196, 232, 51, 0) 72%);
  filter: blur(62px);
}
@keyframes orb-float-a {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(22vw, 8vh) scale(1.12); }
  50%  { transform: translate(46vw, -4vh) scale(0.92); }
  75%  { transform: translate(28vw, 14vh) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes orb-float-b {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-18vw, -10vh) scale(0.95); }
  50%  { transform: translate(-38vw, 6vh) scale(1.18); }
  75%  { transform: translate(-22vw, -14vh) scale(1.02); }
  100% { transform: translate(0, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.35;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.4); opacity: 0; }
}

.h-display {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 5.8vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 24px 0 24px;
  color: var(--ink);
  text-wrap: balance;
}
.h-display .accent { color: var(--brand); }
.h-display em, .h-display .serif-it { font-style: normal; }
.h-display .underline {
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.sub {
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}

.proof-line {
  margin-top: 28px;
  max-width: 56ch;
  padding-top: 18px;
  border-top: 1px solid var(--rule-strong);
}
.proof-line .pquote {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.proof-line .pquote b { font-weight: 600; font-style: italic; color: var(--brand); }

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, transform 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost:hover .arrow-down { transform: translateY(3px); }

/* ---------- Slack mock ---------- */
.slack-wrap {
  position: relative;
}
.slack {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 24px 50px -28px rgba(63, 0, 127, 0.18), 0 2px 0 rgba(0,0,0,0.02);
  overflow: hidden;
}
.slack-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #EEE9DC;
  background: #FBFAF5;
  font-size: 14px;
  color: var(--ink-2);
}
.slack-head .hash {
  font-weight: 600;
  color: var(--ink);
}
.slack-head .dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); opacity: 0.5;
}
.slack-body { padding: 8px 0; }
.s-msg {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 12px 16px;
  transition: background 0.12s;
}
.s-msg:hover { background: #FAF8F1; }
.s-avatar {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}
.s-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.s-meta b {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.s-tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--brand-wash);
  color: var(--brand-2);
}
.s-tag.draft { background: #FFF1D9; color: #8B5A0E; }
.s-tag.rec { background: #E2EAF8; color: #1F3C6F; }
.s-time { font-size: 12px; color: var(--ink-3); }
.s-text { font-size: 15px; color: var(--ink); line-height: 1.55; }
.s-quote {
  margin: 8px 0;
  padding: 8px 10px;
  border-left: 2px solid #E3DCC7;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.s-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.s-btn {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--rule);
  background: #fff;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--ink-2);
  transition: background 0.12s, border-color 0.12s, transform 0.1s;
}
.s-btn:hover { border-color: var(--rule-strong); }
.s-btn.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.s-btn.primary:hover { background: #225A33; }
.s-stamp {
  position: absolute;
  top: 50%;
  right: -32px;
  transform: translateY(-50%) rotate(8deg);
  background: var(--brand);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 8px 24px -8px rgba(63,0,127,0.5);
  pointer-events: none;
}
@media (max-width: 720px) {
  .s-stamp { right: 8px; top: 12px; transform: rotate(4deg); }
}

/* ----- Hero Slack mock · animations ----- */
@media (prefers-reduced-motion: no-preference) {
  /* Messages stagger in on load — feels like agents posting in real time */
  .s-msg {
    opacity: 0;
    transform: translateY(8px);
    animation: s-msg-in 0.7s ease-out forwards;
  }
  .s-msg:nth-of-type(1) { animation-delay: 0.6s; }
  .s-msg:nth-of-type(2) { animation-delay: 1.6s; }
  .s-msg:nth-of-type(3) { animation-delay: 2.6s; }
  @keyframes s-msg-in {
    to { opacity: 1; transform: none; }
  }

  /* Blinking caret at end of the Customer Support draft */
  .s-quote::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1.05em;
    background: var(--brand);
    margin-left: 3px;
    vertical-align: -3px;
    animation: s-cursor 1.1s step-end infinite;
  }
  @keyframes s-cursor {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
  }

  /* Draft / Recommendation tag soft outward ping */
  .s-tag.draft,
  .s-tag.rec {
    position: relative;
  }
  .s-tag.draft::after,
  .s-tag.rec::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 4px;
    border: 1px solid currentColor;
    opacity: 0;
    animation: s-tag-ping 2.4s ease-out infinite;
    pointer-events: none;
  }
  .s-tag.rec::after { animation-delay: 1.2s; }
  @keyframes s-tag-ping {
    0%   { transform: scale(1); opacity: 0.55; }
    80%, 100% { transform: scale(1.6); opacity: 0; }
  }

  /* Primary "✓ Send" button gets a subtle ready-to-click glow */
  .s-btn.primary {
    animation: s-btn-pulse 2.6s ease-out infinite;
    animation-delay: 3.4s;
  }
  @keyframes s-btn-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46, 107, 62, 0.35); }
    50%      { box-shadow: 0 0 0 7px rgba(46, 107, 62, 0); }
  }
}

/* ---------- Stack strip ---------- */
.stack-strip {
  position: relative;
  background:
    radial-gradient(60% 220% at 12% 50%, rgba(63,0,127,0.10), transparent 60%),
    radial-gradient(55% 220% at 88% 50%, rgba(196,232,51,0.13), transparent 60%),
    var(--paper-2);
  color: var(--ink);
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.stack-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stack-label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  flex: 0 0 auto;
}
.stack-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px 8px 10px;
  border: var(--glass-edge);
  border-radius: 999px;
  color: var(--ink);
  background: var(--glass-paper);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-glass);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.chip:hover { background: rgba(255,255,255,0.85); transform: translateY(-1px); }
.chip.last { color: var(--ink-3); border: 1px dashed var(--rule-strong); background: transparent; box-shadow: none; backdrop-filter: none; padding: 8px 14px; }

/* ---------- Section header ---------- */
.section {
  padding: clamp(72px, 10vw, 128px) 0;
  position: relative;
}
.section.dark {
  background: var(--night);
  color: #E2E2E7;
}
.section.sunken {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section.sunken-deep {
  background: var(--paper-3);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
/* Divider between any two adjacent plain (non-tinted) sections */
.section:not(.dark):not(.sunken):not(.sunken-deep)
  + .section:not(.dark):not(.sunken):not(.sunken-deep) {
  border-top: 1px solid var(--rule);
}

.sec-head {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 72px);
}
@media (max-width: 720px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
}
.sec-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 14px;
  border-top: 1px solid var(--rule-strong);
}
.section.dark .sec-num { color: #8E8E9A; border-color: #2A2440; }
.sec-h {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.sec-h em, .sec-h .serif-it { font-style: normal; }
.section.dark .sec-h { color: #F5F5F7; }
.sec-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 64ch;
  margin: 18px 0 0;
  text-wrap: pretty;
}

/* Centered section/block header (headline + lead) */
.block-head {
  max-width: 820px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}
.block-head .sec-lead { margin-left: auto; margin-right: auto; }
.section.dark .sec-lead { color: #A8A8B3; }

/* ---------- §1 reframe anchor ---------- */
.anchor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}
.section.dark .anchor { border-top-color: #2A2440; }
@media (max-width: 880px) {
  .anchor { grid-template-columns: 1fr; }
}
.big-num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(72px, 11vw, 156px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #F5F5F7;
  margin: 0 0 20px;
}
.big-num .unit { font-size: 0.45em; color: #8E8E9A; font-weight: 400; }
.big-cap {
  font-size: 16px;
  line-height: 1.55;
  color: #A8A8B3;
  max-width: 38ch;
}
.reframe-anchor {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid #2A2440;
  max-width: 42ch;
}
.reframe-anchor.first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.reframe-label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.reframe-price {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand);
  margin-bottom: 10px;
}
.reframe-price .unit { font-size: 0.5em; color: var(--ink-3); font-weight: 400; }
.reframe-delta {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
}
.pricing-note {
  margin: 28px auto 0;
  max-width: 760px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-3);
}
.replace-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  color: var(--ink);
}
.replace-table th, .replace-table td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.replace-table th {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom-color: var(--rule-strong);
}
.replace-table td { color: var(--ink); font-weight: 500; }
.replace-table td.cost { color: var(--ink-3); font-family: var(--sans); font-size: 15px; white-space: nowrap; font-weight: 400; }
.replace-table td.rep { color: var(--brand); font-weight: 600; }
@media (max-width: 600px) {
  .replace-table { table-layout: fixed; font-size: 13px; }
  .replace-table th { font-size: 10px; letter-spacing: 0.03em; }
  .replace-table th, .replace-table td { padding: 11px 6px 11px 0; word-break: break-word; }
  .replace-table td.cost { white-space: normal; font-size: 13px; }
}
.replace-table tfoot td {
  padding-top: 18px;
  border-bottom: none;
  border-top: 1px solid var(--rule-strong);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.replace-table tfoot td.total { color: var(--brand); }

/* Dark-section overrides for the leverage / pricing block */
.section.dark .reframe-label { color: #A8A8B3; }
.section.dark .reframe-price { color: #C4E833; }
.section.dark .reframe-price .unit { color: #8E8E9A; }
.section.dark .reframe-delta { color: #A8A8B3; }
.section.dark .replace-table { color: #E2E2E7; }
.section.dark .replace-table th { color: #A8A8B3; border-bottom-color: #2A2440; }
.section.dark .replace-table td { color: #E2E2E7; border-bottom-color: #2A2440; }
.section.dark .replace-table td.cost { color: #A8A8B3; }
.section.dark .replace-table td.rep { color: #C4E833; }
.section.dark .replace-table tfoot td { color: #A8A8B3; border-top-color: #2A2440; }
.section.dark .replace-table tfoot td.total { color: #C4E833; }
.micro-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 14px;
  text-decoration: none;
  color: #F5F5F7;
  border-bottom: 1px solid #5A1FA0;
  padding-bottom: 4px;
  transition: color 0.15s, border-color 0.15s;
}
.micro-cta:hover { color: #C4E833; border-color: #C4E833; }
.section:not(.dark) .micro-cta { color: var(--brand); border-color: var(--brand); }
.section:not(.dark) .micro-cta:hover { color: var(--brand-2); border-color: var(--brand-2); }

/* ---------- §2 promises (bento) ---------- */
.promises {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 880px) { .promises { grid-template-columns: 1fr; } }
.promise {
  position: relative;
  padding: 32px 32px 28px;
  border: var(--glass-edge);
  border-radius: 22px;
  background: var(--glass-paper);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-glass);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  min-height: 380px;
}
.promise-artifact {
  margin-top: auto;
  background: color-mix(in oklab, var(--brand) 6%, var(--paper-2));
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promise-artifact .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  background: var(--paper);
  border-radius: 6px;
  border: 1px solid var(--rule);
}
.promise-artifact .row b { color: var(--ink); font-weight: 600; }
.promise-artifact .row .delta { color: var(--green); }
.promise-artifact .row .delta.down { color: #B0432E; }
.promise-artifact .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-3);
}
.promise-stack {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.promise-stack .tool {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.promise-stack .tool:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}
.promise-stack .tool svg,
.promise-stack .tool img {
  width: 60%;
  height: 60%;
  display: block;
  object-fit: contain;
}
.promise-stack .tool.brand {
  background: var(--brand-wash);
  border-color: var(--brand);
  border-width: 2px;
}
.promise-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 24px;
}
.promise-tag .icon {
  width: 36px; height: 36px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand);
}
.promise h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.promise p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- §3 crew (bento) ---------- */
.crew-switch-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.crew-switch-label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.crew-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  border-radius: 999px;
}
.crew-switch-btn {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  transition: background 0.18s ease, color 0.18s ease;
}
.crew-switch-btn:hover { color: var(--ink); }
.crew-switch-btn.active {
  background: var(--brand);
  color: #fff;
}
.crew-switch-hint {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
@media (max-width: 600px) {
  .crew-switch-hint { display: none; }
}
.crew-group { margin-top: 56px; }
.crew-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-strong);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.crew-group-title {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.crew-group-price {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
}
.crew-group-price b { color: var(--brand); font-weight: 500; }

.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.crew-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .crew-grid, .crew-grid.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .crew-grid, .crew-grid.four { grid-template-columns: 1fr; }
}
.crew-card {
  background: var(--glass-paper);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  border: var(--glass-edge);
  border-radius: 22px;
  box-shadow: var(--shadow-glass);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  position: relative;
  transition: background 0.2s var(--ease-glass, ease), transform 0.2s var(--ease-glass, ease), box-shadow 0.2s;
}
.section.sunken .crew-card { background: var(--glass-paper); }
.crew-card:hover {
  background: rgba(255,255,255,0.72);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glass-lg);
}
.crew-card .role {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 8px;
}
.crew-card .role .price-pill {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 11px;
  padding: 2px 8px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
}
.crew-card h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}
.crew-card .sub {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin: -6px 0 4px;
  max-width: none;
}
.crew-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* Autonomy badge on case-study crew cards */
.cs-auto {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.cs-auto .dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.cs-auto.on { background: rgba(79, 176, 44, 0.14); color: #2F7D1E; }
.cs-auto.on .dot { background: #4FB02C; box-shadow: 0 0 0 3px rgba(79, 176, 44, 0.18); }
.cs-auto.gated { background: var(--paper-3); color: var(--ink-3); }
.cs-auto.gated .dot { background: var(--ink-3); }
.cs-auto-legend {
  margin: 24px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* Artifact tile inside crew card */
.crew-art {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--rule-strong);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
}
.kpi-strip { display: flex; gap: 6px; }
.kpi-strip .kpi {
  flex: 1; padding: 8px 10px; background: var(--paper-2);
  border-radius: 6px; border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 2px;
}
.kpi-strip .kpi .l { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.kpi-strip .kpi .v { font-size: 14px; color: var(--ink); font-weight: 600; }
.kpi-strip .kpi .d { font-size: 11px; }
.kpi-strip .kpi .d.up { color: var(--green); }
.kpi-strip .kpi .d.down { color: #B0432E; }
.mini-msg {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-2);
  position: relative;
}
.mini-msg::before {
  content: "DRAFT";
  position: absolute;
  top: -7px; right: 8px;
  background: var(--brand); color: #fff;
  font-size: 10px; padding: 2px 7px; border-radius: 3px;
  letter-spacing: 0.08em;
}
.stock-bar {
  display: flex; flex-direction: column; gap: 6px;
}
.stock-bar .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.stock-bar .row b { color: var(--ink); }
.stock-bar .bar {
  height: 6px; background: var(--paper-2); border-radius: 3px; overflow: hidden; border: 1px solid var(--rule);
}
.stock-bar .bar .fill { height: 100%; background: var(--brand); }
.stock-bar .bar .fill.low { background: #B0432E; }
.spark {
  height: 36px; width: 100%; display: block;
}
.email-node {
  display: flex; align-items: center; gap: 8px; font-size: 12px;
}
.email-node .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}
.email-node .line { flex: 1; height: 1px; background: var(--rule-strong); }
.thumb-row { display: flex; gap: 6px; }
.thumb-row .th {
  flex: 1; aspect-ratio: 4/3;
  border-radius: 4px;
  border: 1px solid var(--rule);
  background: linear-gradient(135deg, var(--paper-2), var(--paper-3));
}
.thumb-row .th.brand { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.caption-stack {
  display: flex; flex-direction: column; gap: 5px;
  font-size: 12px; line-height: 1.5; color: var(--ink-2);
}
.caption-stack .c {
  padding: 6px 10px; background: var(--paper-2); border-radius: 4px; border: 1px solid var(--rule);
  text-wrap: pretty;
}
.always-on {
  margin-top: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  background: var(--ink);
  color: #E2E2E7;
  border-radius: 8px;
}
@media (max-width: 960px) {
  .always-on { grid-template-columns: 1fr; gap: 12px; }
}
.always-on .role-block { display: flex; flex-direction: column; gap: 6px; }
.always-on .role-block .role { color: #C4E833; }
.always-on h4 { color: #F5F5F7; margin: 0; font-size: 21px; font-weight: 600; }
.always-on p { color: #A8A8B3; font-size: 15px; line-height: 1.55; margin: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--green);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
}
.badge .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #B6E7B8;
  box-shadow: 0 0 0 3px rgba(46, 107, 62, 0.4);
  animation: pulse 2s ease-out infinite;
}

/* ---------- §4 timeline (bento) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .timeline { grid-template-columns: 1fr; }
}
.week {
  padding: 26px 24px 24px;
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 380px;
  background: var(--paper);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.week:hover { background: #fff; transform: translateY(-2px); }
.week .bar {
  height: 4px;
  width: 60px;
  background: var(--amber);
  margin-bottom: 8px;
  border-radius: 2px;
}
.week .week-tag {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.week .week-tag b { color: var(--ink); font-weight: 600; }
.week h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
.week p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.week .micro {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--rule-strong);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-3);
}
.week.w1 { border-color: color-mix(in oklab, var(--amber) 50%, var(--rule-strong)); }
.week.w1 .bar { background: var(--amber); }
.week.w1 .accent-num { color: var(--amber); }
.week.w2 { border-color: color-mix(in oklab, var(--bronze) 50%, var(--rule-strong)); }
.week.w2 .bar { background: var(--bronze); }
.week.w2 .accent-num { color: var(--bronze); }
.week.w3 { border-color: color-mix(in oklab, var(--signal) 45%, var(--rule-strong)); }
.week.w3 .bar { background: var(--signal); }
.week.w3 .accent-num { color: var(--signal); }
.week.w4 { border-color: color-mix(in oklab, var(--green) 50%, var(--rule-strong)); }
.week.w4 .bar { background: var(--green); }
.week.w4 .accent-num { color: var(--green); }
.week .accent-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

/* Contact "Three steps" — centered, on-brand violet palette */
.timeline-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 940px;
  margin: 0 auto;
}
.timeline-3 .week,
.timeline-3 .week.w1,
.timeline-3 .week.w2,
.timeline-3 .week.w3 {
  border-color: color-mix(in oklab, var(--brand) 28%, var(--rule-strong));
}
.timeline-3 .week .bar { background: var(--brand); }
.timeline-3 .week .accent-num { color: var(--brand); }
@media (max-width: 880px) {
  .timeline-3 { grid-template-columns: 1fr; max-width: 460px; }
}

/* Timeline connectors between cards (right arrows on desktop, down on mobile) */
@media (min-width: 961px) {
  .week:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 28px;
    right: -16px;
    width: 14px;
    height: 1px;
    background: var(--rule-strong);
    pointer-events: none;
    z-index: 2;
  }
  .week:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 24px;
    right: -10px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--rule-strong);
    border-bottom: 1.5px solid var(--rule-strong);
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 2;
  }
}
@media (max-width: 600px) {
  .week:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -22px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid var(--rule-strong);
    border-bottom: 1.5px solid var(--rule-strong);
    transform: translateX(-50%) rotate(45deg);
    pointer-events: none;
    z-index: 2;
  }
  .timeline { row-gap: 30px; }
}

/* ---------- pull quote ---------- */
.pullquote {
  text-align: center;
  padding: clamp(64px, 9vw, 112px) 0;
  max-width: 920px;
  margin: 0 auto;
}
.pullquote .quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.pullquote .quote em { font-style: italic; }
.pullquote .attrib {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.pullquote .attrib .placeholder {
  display: inline-block;
  margin-left: 12px;
  padding: 2px 8px;
  border: 1px dashed var(--rule-strong);
  color: var(--ink-3);
  background: rgba(255,255,255,0.4);
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.pq-label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 20px;
}
.pullquote .quote {
  min-height: 4.4em;
  animation: pq-fade 0.32s ease-out;
}
@keyframes pq-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}
.pq-nav {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.pq-arrow {
  appearance: none;
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--ink-2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s;
}
.pq-arrow:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}
.pq-dots {
  display: flex;
  gap: 10px;
  padding: 0 6px;
}
.pq-dot {
  appearance: none;
  background: var(--rule-strong);
  border: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s, transform 0.18s;
}
.pq-dot:hover:not(.active) { background: var(--ink-2); }
.pq-dot.active {
  background: var(--brand);
  transform: scale(1.35);
}

/* ---------- §5 alternatives ---------- */
.alts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule-strong);
}
.alt {
  display: grid;
  grid-template-columns: 48px 1fr 1.4fr;
  gap: clamp(20px, 3vw, 48px);
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
@media (max-width: 720px) {
  .alt { grid-template-columns: 32px 1fr; }
  .alt .alt-but { grid-column: 2; }
}
.alt-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}
.alt-could {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.alt-but {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  position: relative;
  padding-left: 24px;
}
.alt-but::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 600;
}

/* ---------- §6 scope (bento) ---------- */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .scope-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .scope-grid { grid-template-columns: 1fr; } }
.scope-item {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  padding: 24px 22px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: flex-start;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.scope-item:hover { background: #fff; border-color: var(--brand); transform: translateY(-2px); }
.scope-item .x {
  width: 24px; height: 24px;
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  flex: 0 0 auto;
}
.scope-item h5 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.scope-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ---------- §7 verticals ---------- */
.verticals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .verticals { grid-template-columns: 1fr; } }
.vert {
  position: relative;
  padding: 36px 32px 32px;
  border: var(--glass-edge);
  background: var(--glass-paper);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-glass);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.vert::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}
.vert:hover { background: #fff; border-color: var(--brand); transform: translateY(-2px); }
.vert:hover::before { transform: scaleX(1); }
.vert .vtag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.vert h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.vert p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}
.vert .vlink {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
}
.vert:hover .vlink .arrow { transform: translateX(4px); }

/* Full-width case-study cards with key metrics */
.verticals.cases { grid-template-columns: 1fr; gap: 20px; }
.vert-case {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  min-height: 0;
  padding: clamp(30px, 4vw, 50px);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(63, 0, 127, 0.05), rgba(255, 255, 255, 0) 58%),
    #fff;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--brand);
}
.vert-case::before { display: none; }
.vert-case:hover {
  background:
    linear-gradient(120deg, rgba(63, 0, 127, 0.10), rgba(196, 232, 51, 0.08) 70%),
    #fff;
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glass-lg);
}
.vert-case .vc-main { display: flex; flex-direction: column; gap: 14px; }
.vert-case h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.07; }
.vert-case .vc-main p { font-size: 15.5px; max-width: 52ch; }
.vert-case .vstats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 18px;
  border: 1px solid rgba(63, 0, 127, 0.12);
  background: linear-gradient(155deg, rgba(63, 0, 127, 0.08), rgba(196, 232, 51, 0.07));
}
.vert-case .vstat .vn {
  font-family: var(--display);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--brand);
}
.vert-case .vstat .vl {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--ink-2);
}
@media (max-width: 760px) {
  .vert-case { grid-template-columns: 1fr; gap: 24px; }
  .vert-case .vstats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .vert-case .vstat .vn { font-size: 26px; }
}

/* ---------- §4 Use cases ---------- */
.uc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) {
  .uc-grid { grid-template-columns: 1fr; }
}
.uc-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.uc-card:hover {
  background: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -18px rgba(63, 0, 127, 0.25);
}
.uc-tag {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.uc-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.uc-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.uc-artifact {
  margin-top: 8px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 16px;
}
.uc-meta {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.uc-play {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
  padding-left: 2px;
}

/* Slack mini artifact */
.uc-slack { display: flex; flex-direction: column; gap: 10px; }
.uc-slack-head { display: flex; align-items: center; gap: 10px; }
.uc-avatar {
  width: 30px; height: 30px;
  border-radius: 6px;
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.uc-name { font-size: 13px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.uc-pill {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 6px;
  background: #FFF1D9;
  color: #8B5A0E;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.uc-time { font-size: 11px; color: var(--ink-3); font-family: var(--mono); }
.uc-slack-body {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--rule);
}
.uc-slack-actions { display: flex; gap: 6px; }
.uc-btn {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--rule);
  background: #fff;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--ink-2);
}
.uc-btn.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* Alert artifact */
.uc-alert { display: flex; flex-direction: column; gap: 8px; }
.uc-alert-head {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.uc-alert-head .uc-dot { width: 8px; height: 8px; border-radius: 50%; background: #B0432E; }
.uc-alert-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink);
}
.uc-alert-row.dim { background: transparent; border: 0; padding: 6px 12px; color: var(--ink-3); }
.uc-alert-row b { font-weight: 600; }
.uc-metric.down { color: #B0432E; font-family: var(--mono); }
.uc-alert-foot {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  padding-top: 4px;
}

/* Campaign artifact */
.uc-campaign { display: flex; flex-direction: column; gap: 6px; }
.uc-camp-head {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.uc-camp-row {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink);
  align-items: center;
}
.uc-tag-a {
  width: 20px;
  height: 20px;
  background: var(--brand);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-weight: 600;
  flex-shrink: 0;
}

/* Query artifact */
.uc-query {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 12px;
}
.uc-q-prompt {
  color: var(--brand);
  padding: 6px 0 8px;
  border-bottom: 1px dashed var(--rule-strong);
  margin-bottom: 4px;
}
.uc-q-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  color: var(--ink-2);
}
.uc-q-name { color: var(--ink); }
.uc-q-val.down { color: #B0432E; }

/* ----- Use cases · animations ----- */
@media (prefers-reduced-motion: no-preference) {

  /* UCSlack — blinking typing cursor at end of draft + Draft pill pulse */
  .uc-slack-body::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1.05em;
    background: var(--brand);
    margin-left: 3px;
    vertical-align: -3px;
    animation: uc-cursor 1.1s step-end infinite;
  }
  @keyframes uc-cursor {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
  }
  .uc-pill {
    position: relative;
  }
  .uc-pill::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 4px;
    border: 1px solid #8B5A0E;
    opacity: 0;
    animation: uc-pill-ping 2.4s ease-out infinite;
    pointer-events: none;
  }
  @keyframes uc-pill-ping {
    0%   { transform: scale(1);   opacity: 0.5; }
    80%, 100% { transform: scale(1.6); opacity: 0; }
  }

  /* UCAlert — radar ping on the red dot + metric throb */
  .uc-alert-head .uc-dot {
    position: relative;
  }
  .uc-alert-head .uc-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #B0432E;
    animation: uc-alert-ping 1.6s ease-out infinite;
    pointer-events: none;
  }
  @keyframes uc-alert-ping {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(3.2); opacity: 0; }
  }
  .uc-metric.down {
    animation: uc-metric-throb 2.4s ease-in-out infinite;
  }
  @keyframes uc-metric-throb {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
  }

  /* UCCampaign — selected highlight cycles A → B → C every 6s */
  .uc-camp-row {
    transition: border-color 0.4s, background 0.4s, transform 0.4s;
  }
  .uc-campaign .uc-camp-row:nth-of-type(2) { animation: uc-camp-cycle 6s ease-in-out infinite;          }
  .uc-campaign .uc-camp-row:nth-of-type(3) { animation: uc-camp-cycle 6s ease-in-out -4s infinite;       }
  .uc-campaign .uc-camp-row:nth-of-type(4) { animation: uc-camp-cycle 6s ease-in-out -2s infinite;       }
  @keyframes uc-camp-cycle {
    0%, 28% { border-color: var(--rule); background: #fff; transform: translateX(0); }
    33%, 60% { border-color: var(--brand); background: var(--brand-wash); transform: translateX(2px); }
    65%, 100% { border-color: var(--rule); background: #fff; transform: translateX(0); }
  }

  /* UCQuery — typewriter prompt with caret + rows fade in sequentially */
  .uc-q-prompt {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 17ch;
    border-right: 2px solid var(--brand);
    animation: uc-q-type 8s ease-in-out infinite, uc-q-caret 0.9s step-end infinite;
  }
  @keyframes uc-q-type {
    0%   { width: 0; }
    18%  { width: 17ch; }
    78%  { width: 17ch; }
    92%  { width: 0; }
    100% { width: 0; }
  }
  @keyframes uc-q-caret {
    0%, 50% { border-right-color: var(--brand); }
    50.01%, 100% { border-right-color: transparent; }
  }
  .uc-q-row {
    opacity: 0;
    animation: uc-q-row-in 8s ease-out infinite;
  }
  .uc-q-row:nth-of-type(2) { animation-delay: 0s; }
  .uc-q-row:nth-of-type(3) { animation-delay: 0.4s; }
  .uc-q-row:nth-of-type(4) { animation-delay: 0.8s; }
  @keyframes uc-q-row-in {
    0%, 28%  { opacity: 0; transform: translateY(4px); }
    34%, 86% { opacity: 1; transform: none; }
    92%, 100% { opacity: 0; transform: translateY(4px); }
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule-strong);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  outline: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:focus-visible .faq-q { color: var(--brand); }
.faq-q {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 20px);
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
  transition: color 0.15s;
}
.faq-item:hover .faq-q { color: var(--brand); }
.faq-icon {
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1;
  color: var(--brand);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}
.faq-item:hover .faq-icon { border-color: var(--brand); }
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.faq-a {
  padding: 0 64px 28px 0;
  max-width: 78ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}
@media (max-width: 600px) {
  .faq-a { padding-right: 0; }
}

/* ---------- Footer CTA ---------- */
.foot-cta {
  background:
    radial-gradient(50% 80% at 18% 12%, rgba(63,0,127,0.16), transparent 60%),
    radial-gradient(48% 80% at 88% 90%, rgba(196,232,51,0.16), transparent 60%),
    var(--paper-2);
  color: var(--ink-2);
  padding: clamp(72px, 10vw, 128px) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
}
.foot-cta .eyebrow {
  background: var(--glass-paper);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  border: var(--glass-edge);
  color: var(--ink-2);
}
.foot-cta h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 24px 0 24px;
  max-width: 18ch;
  text-wrap: balance;
}
.foot-cta .sub {
  color: var(--ink-2);
  max-width: 60ch;
}
.foot-cta .hero-ctas { margin-top: 36px; }
.foot-cta .btn-ghost { color: var(--ink); border-color: var(--rule-strong); }
.foot-cta .btn-ghost:hover { border-color: var(--ink); }
.receipt {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 13px;
  color: #A8A8B3;
}
.receipt span { display: inline-flex; align-items: center; gap: 8px; }
.receipt .tick { color: #6EBE80; }

.foot-meta {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 40px;
  font-family: var(--sans);
  color: var(--ink-3);
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-logo { color: var(--brand); display: inline-flex; }
.foot-wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.foot-wordmark .tld { color: var(--ink-3); }
.foot-tagline {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.3;
  margin-top: 2px;
}
.foot-email {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s;
}
.foot-email:hover { color: var(--brand); }
.foot-legal { display: flex; gap: 20px; }
.foot-legal a {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.15s;
}
.foot-legal a:hover { color: var(--brand); }

.foot-bg-mark {
  position: absolute;
  right: -160px;
  bottom: -280px;
  width: 1040px;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

/* ---------- Floating mobile CTA ---------- */
.float-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.3);
}
.float-cta .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6EBE80;
  box-shadow: 0 0 0 0 rgba(110, 190, 128, 0.6);
  animation: livepulse 2s ease-out infinite;
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(110, 190, 128, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(110, 190, 128, 0); }
}
@media (max-width: 960px) {
  .float-cta { display: inline-flex; }
}

/* ---------- Misc ---------- */
.crosshair {
  position: absolute;
  width: 12px; height: 12px;
  pointer-events: none;
}
.crosshair::before, .crosshair::after {
  content: "";
  position: absolute;
  background: var(--rule-strong);
}
.crosshair::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.crosshair::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }

.bg-mark {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  color: var(--brand);
}

/* ── All section/card headers use the serif display font ──── */
.promise h3,
.crew-card h4,
.vert h3,
.week h4,
.scope-item h5,
.always-on h4,
.foot-cta h2,
.faq-q {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.promise h3, .crew-card h4, .vert h3, .week h4 { font-size: clamp(21px, 2.3vw, 28px); line-height: 1.12; }

/* ============================================================
   CASE STUDY DETAIL PAGE
   ============================================================ */
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.cs-back:hover { color: var(--brand); }
.cs-back svg { transform: rotate(180deg); }

.cs-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 16px;
}

/* Stat strip */
.cs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .cs-stats { grid-template-columns: 1fr 1fr; } }
.cs-stat {
  background: var(--glass-paper);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  border: var(--glass-edge);
  box-shadow: var(--shadow-glass);
  border-radius: 22px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cs-stat .n {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--brand);
  white-space: nowrap;
}
.cs-stat .l {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}

/* Crew roster on the detail page packs tighter than the home crew grid */
.cs-crew .crew-card { min-height: 0; padding-bottom: 28px; }

/* Narrative blocks */
.cs-narr {
  max-width: 760px;
  margin: 0 auto;
}
.cs-narr h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.025em;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 18px;
}
.cs-narr p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 16px;
}

/* Result points */
.cs-points {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cs-points li {
  position: relative;
  padding-left: 30px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
.cs-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--brand-wash);
}

/* Case quote */
.cs-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.cs-quote .q {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 20px;
}
.cs-quote .who {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

/* ===== Hero V2 — liquid glass + video background (home-v2.html) ===== */
.liquid-glass { background: rgba(255, 255, 255, 0.01); background-blend-mode: luminosity; backdrop-filter: blur(4px); border: none; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.liquid-glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px; background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

.hero2 { position: relative; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper-2); color: var(--ink); overflow: hidden; }
.hero2-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero2-blur { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 984px; height: 527px; max-width: 92vw; background: rgba(255, 255, 255, 0.85); opacity: 0.9; filter: blur(82px); pointer-events: none; z-index: 5; }
.hero2-inner { position: relative; z-index: 10; display: flex; flex-direction: column; flex: 1; min-height: 100vh; }
.hero2-nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 32px; }
.hero2-brandname { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--brand); }
.hero2-links { display: flex; gap: 28px; }
.hero2-links a { color: rgba(63, 0, 127, 0.85); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.hero2-links a:hover { color: var(--brand); }
.hero2-pill { border-radius: 999px; padding: 8px 16px; color: var(--brand); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.hero2-divider { height: 1px; margin-top: 3px; background: linear-gradient(90deg, transparent, rgba(63,0,127,0.25), transparent); }
.hero2-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; max-width: 980px; margin: 0 auto; width: 100%; }
.hero2-h1 { font-family: var(--display); font-weight: 400; font-size: clamp(52px, 8.5vw, 116px); line-height: 1.04; letter-spacing: -0.024em; margin: 0; color: var(--ink); max-width: 12ch; }
.hero2-grad { color: var(--brand); }
.hero2-sub { font-size: 18px; line-height: 1.7; max-width: 40rem; margin: 22px auto 0; color: var(--ink-2); opacity: 0.9; }
.hero2-cta { display: inline-block; margin-top: 32px; padding: 16px 29px; border-radius: 999px; color: var(--brand); text-decoration: none; font-size: 16px; font-weight: 600; }
.hero2-bottom { padding-bottom: 40px; }
.hero2-marquee-wrap { max-width: 64rem; margin: 0 auto; display: flex; align-items: center; gap: 48px; padding: 0 24px; }
.hero2-static { color: rgba(63,0,127,0.55); font-size: 14px; line-height: 1.5; white-space: nowrap; }
.hero2-marquee { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hero2-track { display: flex; gap: 64px; width: max-content; animation: hero2-marquee 20s linear infinite; }
@keyframes hero2-marquee { from { transform: translateX(0%); } to { transform: translateX(-50%); } }
.hero2-logo { display: flex; align-items: center; gap: 10px; }
.hero2-tile { width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--brand); }
.hero2-logoname { font-size: 16px; font-weight: 600; color: var(--brand); white-space: nowrap; }
@media (max-width: 760px) {
  .hero2-links { display: none; }
  .hero2-marquee-wrap { flex-direction: column; gap: 16px; }
  .hero2-static { white-space: normal; text-align: center; }
}

.hero2 .liquid-glass { background: rgba(255, 255, 255, 0.30); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 10px 30px -12px rgba(63, 0, 127, 0.25); }
.hero2-inner { z-index: 10; }

/* ===== Liquid glass adopted site-wide ===== */
.nav-cta, .btn-primary, .btn-ghost, .float-cta {
  background: rgba(63, 0, 127, 0.07);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: none;
  color: var(--brand);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 10px 30px -12px rgba(63, 0, 127, 0.28);
  position: relative;
  overflow: hidden;
}
.nav-cta::before, .btn-primary::before, .btn-ghost::before, .float-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.nav-cta:hover, .btn-primary:hover, .btn-ghost:hover, .float-cta:hover {
  background: rgba(63, 0, 127, 0.13);
  transform: translateY(-1px);
}
.float-cta {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: calc(100vw - 32px);
}
.btn-primary { font-weight: 600; }
.glass {
  border: none;
}
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.glass { position: relative; }

/* ===== Cohesion pass: brand washes under plain sections ===== */
.section:not(.dark):not(.sunken):not(.sunken-deep) {
  background:
    radial-gradient(46% 60% at 6% 0%, rgba(63, 0, 127, 0.05), transparent 65%),
    radial-gradient(42% 56% at 96% 100%, rgba(196, 232, 51, 0.07), transparent 65%),
    var(--paper);
}
.section.sunken {
  background:
    radial-gradient(50% 70% at 90% 0%, rgba(63, 0, 127, 0.045), transparent 65%),
    var(--paper-2);
}

/* ===== Hero V2 mobile nav + lang ===== */
.hero2-burger { display: none; width: 40px; height: 40px; border: none; background: rgba(63, 0, 127, 0.07); border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.hero2-burger span { display: block; width: 16px; height: 1.8px; background: var(--brand); border-radius: 2px; }
.hero2-mobile { display: none; }
.hero2-mobile.open { display: flex; flex-direction: column; gap: 4px; padding: 8px 32px 16px; }
.hero2-mobile a { color: var(--brand); text-decoration: none; font-size: 16px; font-weight: 500; padding: 10px 0; border-bottom: 1px solid rgba(63, 0, 127, 0.12); }
.hero2-mobile .lang-toggle { margin-top: 10px; }
@media (max-width: 760px) {
  .hero2-burger { display: flex; }
  .hero2-lang { display: none; }
  .hero2-nav { padding: 16px 20px; }
}

/* UA headline is longer: scale the hero h1 down for uk */
html[lang="uk"] .hero2-h1 { font-size: clamp(40px, 7vw, 96px); max-width: 16ch; }

/* ===== Uniform inner-page hero: equal height + floating color ===== */
.hero {
  padding: 56px 0;
  min-height: clamp(560px, 62vh, 660px);
  display: flex;
  align-items: center;
}
.hero > .wrap { width: 100%; }
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.8;
  z-index: 0;
}
.hero::before {
  width: 58vmin; height: 58vmin;
  top: -16%; left: -8%;
  background: radial-gradient(circle, rgba(63,0,127,0.30), transparent 62%);
  animation: heroFloatA 16s ease-in-out infinite alternate;
}
.hero::after {
  width: 48vmin; height: 48vmin;
  bottom: -20%; right: -6%;
  background: radial-gradient(circle, rgba(196,232,51,0.30), transparent 62%);
  animation: heroFloatB 19s ease-in-out infinite alternate;
}
@keyframes heroFloatA {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(7vmin, 5vmin) scale(1.12); }
}
@keyframes heroFloatB {
  from { transform: translate(0, 0) scale(1.08); }
  to   { transform: translate(-6vmin, -5vmin) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}

/* ===== Stronger color washes across sections ===== */
.section:not(.dark):not(.sunken):not(.sunken-deep) {
  background:
    radial-gradient(46% 60% at 6% 0%, rgba(63, 0, 127, 0.085), transparent 65%),
    radial-gradient(42% 56% at 96% 100%, rgba(196, 232, 51, 0.12), transparent 65%),
    var(--paper);
}
.section.sunken {
  background:
    radial-gradient(50% 70% at 90% 0%, rgba(63, 0, 127, 0.07), transparent 65%),
    radial-gradient(40% 56% at 6% 100%, rgba(196, 232, 51, 0.09), transparent 65%),
    var(--paper-2);
}
.section.sunken-deep {
  background:
    radial-gradient(46% 64% at 10% 0%, rgba(63, 0, 127, 0.08), transparent 65%),
    radial-gradient(40% 56% at 92% 100%, rgba(196, 232, 51, 0.10), transparent 65%),
    var(--paper-3);
}

@media (max-width: 760px) {
  .hero { min-height: clamp(360px, 48vh, 460px); padding: 40px 0; }
}

/* ===== Case stat typology tags ===== */
.cs-stat .kind, .vstat .kind {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(63, 0, 127, 0.55);
  margin-bottom: 6px;
}

/* ===== Case ledger (volume receipt) ===== */
.cs-ledger { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.cs-ledger-head h3 { font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; margin: 0 0 10px; color: var(--ink); }
.cs-ledger-head p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.cs-ledger ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; }
.cs-ledger li { font-family: var(--mono); font-size: 14px; color: var(--ink-2); padding: 10px 0; border-bottom: 1px solid var(--rule-strong); }
.cs-ledger li::first-letter { color: var(--brand); }
@media (max-width: 760px) { .cs-ledger { grid-template-columns: 1fr; } }

/* ===== Footer: video-still background, muted by white overlay ===== */
.foot-cta {
  background:
    linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)),
    url("footer-bg.png") center / cover no-repeat;
}
.foot-bg-mark { display: none; }

/* ===================================================================
   Lead form (contact page) — matches the site design system
   =================================================================== */
.lead-form { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.lead-form .lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .lead-form .lf-row { grid-template-columns: 1fr; } }
.lf-field { display: flex; flex-direction: column; gap: 7px; }
.lf-field > span {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.lf-field input,
.lf-field select,
.lf-field textarea {
  width: 100%; box-sizing: border-box;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 10px;
  padding: 13px 14px; transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none; appearance: none;
}
.lf-field input::placeholder, .lf-field textarea::placeholder { color: var(--ink-3); opacity: 0.7; }
.lf-field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.lf-field input:focus,
.lf-field select:focus,
.lf-field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-wash);
}
.lead-form .btn { align-self: flex-start; margin-top: 6px; }
.lf-error { font-family: var(--mono); font-size: 13px; color: #B0123A; margin: 0; }
.lf-fallback {
  font-family: var(--mono); font-size: 13px; color: var(--ink-3); padding-top: 16px;
}
.lf-fallback a { color: var(--brand); text-decoration: none; }
.lf-fallback a:hover { text-decoration: underline; }

/* Success — lime "done" accent (the brand's approval-lime) */
.lead-form-done { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.lead-form-done .tick {
  display: inline-flex; width: 40px; height: 40px; align-items: center;
  justify-content: center; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-size: 19px; font-weight: 700; margin-bottom: 6px;
}
.lead-form-done h3 {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; margin: 0;
}
.lead-form-done p { margin: 0; color: var(--ink-2); }
.lead-form-done .btn { align-self: flex-start; margin-top: 8px; }
