/* Fluia site styles.
   One column, 1240px wide inside 80px sides, sections on a 120px rhythm.
   White pages, warm grey surfaces, ink type in Inter, and oxblood used for the
   moments that matter: the hero, the call to action, active states. */

/* ===== Tokens ===== */
:root {
  /* colours as RGB triplets so they work with an alpha: rgb(var(--clay) / 0.1) */
  --bg: 255 255 255;
  --bg-soft: 245 244 242;
  --bg-sunk: 236 233 230;
  --ink: 17 17 17;
  --ink-soft: 85 82 84;
  --ink-faint: 120 115 118;
  --ink-mute: 161 158 162;
  --line: 232 228 226;
  --clay: 138 47 67;
  --clay-deep: 109 34 51;
  --clay-soft: 240 214 220;
  --glow: 176 74 96;
  --night: 20 16 18;
  --night-soft: 38 32 35;
  --on-night: 236 230 232;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", ui-monospace, "Fira Code", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --side: 80px;
  --wrap: 1640px;
  --section: 112px;
  --r-card: 36px;
  --r-big: 48px;
}
@media (min-width: 1700px) { :root { --side: 96px; } }
@media (max-width: 1180px) { :root { --side: 40px; --section: 96px; } }
@media (max-width: 760px) { :root { --side: 20px; --section: 80px; --r-card: 28px; --r-big: 32px; } }

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  background: rgb(var(--bg));
  color: rgb(var(--ink));
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid rgb(var(--clay)); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ===== Type ===== */
h1, h2, h3, h4 { font-weight: 600; text-wrap: balance; }
.display { font-size: clamp(46px, 5.4vw, 77px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.h2 { font-size: clamp(38px, 3.9vw, 56px); line-height: 1.1; letter-spacing: -0.025em; color: rgb(10 10 10); }
.h3 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -0.025em; }
.lede { font-size: 18px; line-height: 1.6; color: rgb(var(--ink-soft)); max-width: 34em; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 500; color: rgb(var(--clay)); }
.muted { color: rgb(var(--ink-faint)); }

/* ===== Layout ===== */
.container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(var(--side), env(safe-area-inset-left, 0px));
  padding-right: max(var(--side), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section) 0; }
.section:last-of-type { padding-bottom: var(--section); }
.section-head { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.section-head.is-center { align-items: center; text-align: center; margin: 0 auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 13px; }
.btn-md { height: 48px; padding: 0 24px; font-size: 15px; }
.btn-black { background: #000; color: #fff; }
.btn-black:hover { background: rgb(38 32 35); }
.btn-white { background: #fff; color: rgb(var(--ink)); }
.btn-clay { background: rgb(var(--clay)); color: #fff; }
.btn-clay:hover { background: rgb(var(--clay-deep)); }
.btn-soft { background: rgba(0, 0, 0, 0.05); color: rgb(9 9 11); }
.btn-soft:hover { background: rgba(0, 0, 0, 0.08); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.22); }
.btn svg { width: 10px; height: 10px; flex: none; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; height: 44px; font-weight: 600; }
.arrow-link .arrow { display: inline-block; transition: transform .2s var(--ease); }
.arrow-link:hover .arrow { transform: translateX(3px); }

/* ===== Navigation ===== */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: #fff; }
.site-nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  height: 76px; padding: 5px 20px 0;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.nav-island {
  position: relative; width: 100%; height: 66px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 12px 0 24px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-nav.is-scrolled .nav-island {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 8px 30px -10px rgba(40, 12, 22, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.site-nav.is-open .nav-island { border-radius: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 500; letter-spacing: -0.045em; color: #000; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; }
.nav-links > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: 999px;
  font-size: 16px; color: rgb(var(--ink-mute)); transition: color .2s ease, background-color .2s ease;
}
.nav-links > a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: rgb(var(--ink)); }
.nav-trigger[aria-expanded="true"] { background: rgba(0, 0, 0, 0.05); }
.nav-links > a[aria-current="page"] { background: #000; color: #fff; }
.nav-trigger svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.navbar-lang { display: inline-flex; align-items: center; gap: 2px; padding: 0 8px; font-size: 13px; font-weight: 500; color: rgb(var(--ink-mute)); }
.navbar-lang a { padding: 6px 6px; border-radius: 8px; transition: color .2s ease; }
.navbar-lang a:hover { color: rgb(var(--ink)); }
.navbar-lang a.is-active { color: rgb(var(--ink)); }

/* Solutions dropdown */
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(880px, calc(100vw - 40px));
  transform: translate(-50%, -6px); opacity: 0; visibility: hidden; pointer-events: none;
  background: #fff; border-radius: 28px; padding: 12px;
  box-shadow: 0 30px 70px -20px rgba(40, 12, 22, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: opacity .2s ease, transform .3s var(--ease), visibility 0s linear .3s;
}
.nav-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity .2s ease, transform .3s var(--ease), visibility 0s; }
.nav-menu-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; }
.nav-menu-list { display: grid; gap: 4px; padding: 4px; }
.nav-menu-item { display: block; padding: 14px 14px; border-radius: 16px; transition: background-color .2s ease; }
.nav-menu-item:hover, .nav-menu-item:focus-visible { background: rgb(var(--bg-soft)); }
.nav-menu-item b { display: block; font-size: 15px; font-weight: 600; color: rgb(var(--ink)); }
.nav-menu-item span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: rgb(var(--ink-faint)); }
.nav-menu-feature {
  border-radius: 20px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  background: linear-gradient(160deg, rgb(110 37 54) 0%, rgb(138 47 67) 45%, rgb(176 96 116) 100%); color: #fff;
}
.nav-menu-feature .label { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.75); }
.nav-menu-feature ul { display: grid; gap: 10px; }
.nav-menu-feature li a { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 500; }
.nav-menu-feature li a span { color: rgba(255, 255, 255, 0.6); transition: transform .2s var(--ease); }
.nav-menu-feature li a:hover span { transform: translateX(3px); color: #fff; }
.nav-menu-foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px 6px; margin-top: 8px; border-top: 1px solid rgb(var(--line)); font-size: 13px; color: rgb(var(--ink-faint)); }
.nav-menu-foot a { color: rgb(var(--ink)); font-weight: 500; }

/* Narrow screens: a menu button and a sheet */
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 999px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; border-radius: 1px; background: rgb(var(--ink)); transition: transform .3s var(--ease); }
.site-nav.is-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.site-nav.is-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.nav-sheet {
  display: none; margin: 8px auto 0; padding: 10px 20px 18px; border-radius: 28px; background: #fff;
  box-shadow: 0 30px 60px -24px rgba(40, 12, 22, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.05);
  opacity: 0; transform: translateY(-8px); visibility: hidden;
  transition: opacity .2s ease, transform .3s var(--ease), visibility 0s linear .3s;
}
.site-nav.is-open .nav-sheet { opacity: 1; transform: none; visibility: visible; transition: opacity .2s ease, transform .3s var(--ease), visibility 0s; }
.nav-sheet a { display: block; padding: 13px 4px; border-bottom: 1px solid rgb(var(--line)); font-size: 18px; font-weight: 500; }
.nav-sheet .nav-sheet-sub { padding-left: 16px; font-size: 16px; color: rgb(var(--ink-soft)); }
.nav-sheet .navbar-lang { margin-top: 12px; padding: 0; }
.nav-sheet .btn { margin-top: 14px; width: 100%; border: 0; color: #fff; }
@media (max-width: 1080px) {
  /* the Solutions trigger is hidden here, so its dropdown never opens */
  .nav-links, .nav-actions .btn-soft, .nav-menu { display: none; }
}
@media (max-width: 760px) {
  .site-nav { height: 68px; padding-top: 6px; }
  .nav-island { height: 56px; padding: 0 6px 0 16px; }
  .brand { font-size: 22px; }
  .brand img { width: 26px; height: 26px; }
  .nav-actions .navbar-lang, .nav-actions .btn-black { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-sheet { display: block; position: absolute; left: 12px; right: 12px; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav-sheet { display: block; position: absolute; left: 20px; right: 20px; }
}

/* ===== Hero (home): the statement card ===== */
.hero-shell {
  padding: 0 21px;
  padding-left: max(21px, env(safe-area-inset-left, 0px));
  padding-right: max(21px, env(safe-area-inset-right, 0px));
}
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0 auto; min-height: max(620px, calc(100svh - 97px));
  border-radius: var(--r-big);
  /* text lines up with the content column below, at any width */
  --inset: calc(max(var(--side), (100vw - var(--wrap)) / 2 + var(--side)) - 21px);
  padding: 117px var(--inset) 45px;
  display: flex; flex-direction: column; color: #fff;
  background:
    radial-gradient(70% 60% at 22% 18%, rgba(255, 255, 255, 0.10), transparent 70%),
    linear-gradient(162deg, rgb(104 33 50) 0%, rgb(132 44 64) 34%, rgb(160 80 100) 72%, rgb(196 140 155) 100%);
}
.hero-dither { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-text { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: 36px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, 0.82); margin-bottom: 22px; }
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffd9c2; box-shadow: 0 0 0 4px rgba(255, 217, 194, 0.18); }
.hero-line { display: block; }
.hero-type { display: block; min-height: 1.1em; white-space: nowrap; }
.hero-type::after { content: ""; display: inline-block; width: 0.055em; height: 0.82em; margin-left: 0.05em; vertical-align: -0.06em; background: rgba(255, 255, 255, 0.9); animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero .lede { margin-top: 26px; color: rgba(255, 255, 255, 0.86); max-width: 33em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 15px; line-height: 21px; font-weight: 500; color: rgba(255, 255, 255, 0.92);
}
.hero-facts li { display: flex; align-items: center; gap: 12px; }
.hero-facts svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 1180px) { .hero { padding: 96px 48px 40px; } }
@media (min-width: 1181px) and (max-height: 760px) { .hero { padding-top: 96px; } }
@media (max-width: 760px) {
  .hero-shell { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
  .hero { min-height: 0; padding: 64px 24px 28px; }
  .hero-text { padding-bottom: 44px; }
  .hero-type { white-space: normal; min-height: 2.2em; }
  .hero-btns .btn { height: 50px; padding: 0 22px; font-size: 15px; }
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
}

/* ===== Built with ===== */
.built-with { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 44px; padding-top: 44px; }
.built-with .label { font-size: 14px; color: rgb(var(--ink-faint)); }
.built-with ul { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 18px 40px; }
.built-with img { height: 26px; width: auto; filter: grayscale(1); opacity: 0.55; transition: opacity .2s ease, filter .2s ease; }
.built-with img:hover { opacity: 0.95; filter: none; }

/* ===== Solutions switcher: big words on the left, a stage on the right ===== */
.switcher { display: grid; grid-template-columns: minmax(0, 551fr) minmax(0, 633fr); column-gap: 56px; align-items: center; }
.words { display: flex; flex-direction: column; align-items: flex-start; }
.words [role="tab"] { font-size: clamp(54px, 6.3vw, 91px); line-height: 1.12; font-weight: 600; letter-spacing: -0.035em; color: rgb(199 197 201); text-align: left; transition: color .3s ease; }
.words [role="tab"]:hover { color: rgb(165 162 166); }
.words [role="tab"][aria-selected="true"] { color: rgb(var(--ink)); }
.stage { position: relative; border-radius: var(--r-card); overflow: hidden; display: grid; }
.stage-panel {
  grid-area: 1 / 1; display: grid; grid-template-rows: auto auto auto; align-content: center; gap: 28px;
  padding: 32px; border-radius: var(--r-card);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .35s ease, transform .5s var(--ease), visibility 0s linear .35s;
}
.stage-panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .5s var(--ease), visibility 0s; }
.stage-panel h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; }
/* without scripting the tabs can't switch, so the three panels stack instead */
html:not(.js) .stage { gap: 12px; }
html:not(.js) .stage-panel { grid-area: auto; opacity: 1; visibility: visible; transform: none; }
/* Agents: the deep oxblood stage with a live run */
.stage-agents { background: linear-gradient(160deg, rgb(92 28 43) 0%, rgb(118 38 57) 60%, rgb(140 56 76) 100%); color: #fff; }
.run {
  width: 100%; border-radius: 22px; overflow: hidden; background: rgba(15, 8, 11, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); font: 13px/2 var(--mono); color: rgba(255, 255, 255, 0.86);
}
.run-head { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font: 500 12px var(--font); color: rgba(255, 255, 255, 0.6); }
.run-head b { color: #fff; font-weight: 600; }
@keyframes pulse { 50% { opacity: 0.35; } }
.run-lines { padding: 14px 18px 16px; }
.run-lines div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .35s var(--ease); }
.run-lines div.in { opacity: 1; transform: none; }
.run-lines .t { color: rgba(255, 255, 255, 0.38); margin-right: 10px; }
.run-lines .ok { color: #ffc6d3; }
.run-lines .you { background: rgba(255, 207, 176, 0.16); color: #ffe6d6; border-radius: 6px; padding: 0 7px; margin-left: -7px; }
/* Platforms: a light stage holding a small dashboard */
.stage-platforms { background: rgb(var(--bg-soft)); color: rgb(var(--ink)); }
/* The UniAssoc CRM we built, as a live window: the members chart grows in and
   the recruiting list fills, each time the panel comes forward */
.crm { width: 100%; background: #fff; border-radius: 20px; box-shadow: 0 24px 60px -30px rgba(40, 12, 22, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.04); overflow: hidden; font-size: 12.5px; }
.crm-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid rgb(var(--line)); color: rgb(var(--ink-faint)); font-weight: 500; }
.crm-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--bg-sunk)); }
.crm-bar span { margin-left: 8px; }
.crm-bar b { font-weight: 600; color: rgb(var(--ink)); }
.crm-bar em { margin-left: auto; font-style: normal; }
.crm-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; padding: 14px; }
.crm-card { background: rgb(var(--bg-soft)); border-radius: 14px; padding: 12px 14px; }
.crm-card small { display: block; font-size: 11px; color: rgb(var(--ink-faint)); }
.crm-card b { display: block; margin-top: 2px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.crm-card b em { font-style: normal; font-size: 11px; color: rgb(var(--clay)); margin-left: 6px; letter-spacing: 0; }
.crm-bars { margin-top: 12px; height: 92px; display: flex; align-items: flex-end; gap: 7px; }
.crm-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: rgb(var(--clay) / 0.22); transform: scaleY(0); transform-origin: bottom; }
.crm-bars i:last-child { background: rgb(var(--clay)); }
.crm-pipe { display: grid; align-content: start; gap: 6px; }
.crm-pipe p { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: rgb(var(--ink-faint)); }
.crm-tile { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgb(var(--line)); font-size: 12px; white-space: nowrap; opacity: 0; transform: translateX(-8px); }
.crm-tile span { font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgb(var(--bg-soft)); color: rgb(var(--ink-soft)); }
.crm-tile span.is-clay { background: rgb(var(--clay) / 0.1); color: rgb(var(--clay-deep)); }
.crm-tile span.is-ok { background: rgb(var(--clay)); color: #fff; }
.pv.is-on .crm-bars i { animation: crm-grow .7s var(--ease) forwards; animation-delay: calc(.2s + var(--i) * .07s); }
.pv.is-on .crm-tile { animation: crm-in .5s var(--ease) forwards; animation-delay: calc(.5s + var(--i) * .12s); }
@keyframes crm-grow { to { transform: none; } }
@keyframes crm-in { to { opacity: 1; transform: none; } }
html:not(.js) .crm-bars i, html:not(.js) .crm-tile { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .crm-bars i, .crm-tile { animation: none !important; transform: none; opacity: 1; } }
.stage-workflows { background: rgb(var(--bg-soft)); color: rgb(var(--ink)); }
/* Workflows: the same light stage */
.stage-workflows { background: rgb(var(--bg-soft)); color: rgb(var(--ink)); }

/* Each panel: the category in a sentence, a demo of one real build, then the
   builds themselves. Hovering a build brings its demo forward; the demo area is
   sized (in site.js) to the panel's tallest demo so the list never moves. */
.pp-copy p { margin-top: 2px; font-size: 18px; line-height: 1.55; max-width: 30em; }
.stage-agents .pp-copy p { color: rgba(255, 255, 255, 0.9); }
.stage-platforms .pp-copy p, .stage-workflows .pp-copy p { color: rgb(var(--ink-soft)); }
.pp-vis { display: grid; }
.pv { grid-area: 1 / 1; display: grid; place-items: center; opacity: 0; transform: scale(.98); transition: opacity .3s ease, transform .5s var(--ease); pointer-events: none; }
.pv.is-on { opacity: 1; transform: none; }
.pv > * { width: 100%; }
html:not(.js) .pv:first-child { opacity: 1; transform: none; }
.bl { display: grid; gap: 6px; }
.bl a { display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; gap: 14px; padding: 13px 14px 13px 18px; border-radius: 18px; transition: background-color .25s ease, box-shadow .25s ease; }
.bl b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.bl small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl .go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; transition: transform .4s var(--ease), background-color .25s ease; }
.bl .go svg { width: 12px; height: 12px; }
.bl a.is-on .go, .bl a:hover .go { transform: rotate(45deg); }
.stage-agents .bl small { color: rgba(255, 255, 255, 0.62); }
.stage-agents .bl .go { background: rgba(255, 255, 255, 0.1); color: #fff; }
.stage-agents .bl a.is-on { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.stage-agents .bl a.is-on .go { background: #fff; color: rgb(var(--clay-deep)); }
.stage-platforms .bl small, .stage-workflows .bl small { color: rgb(var(--ink-faint)); }
.stage-platforms .bl .go, .stage-workflows .bl .go { background: #fff; color: rgb(var(--ink)); }
.stage-platforms .bl a.is-on, .stage-workflows .bl a.is-on { background: #fff; box-shadow: 0 10px 30px -18px rgba(40, 12, 22, 0.35); }
.stage-platforms .bl a.is-on .go, .stage-workflows .bl a.is-on .go { background: rgb(var(--ink)); color: #fff; }

/* wholesale order: the email in, the checked order out */
.oa { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 8px; }
.oa-card { border-radius: 18px; padding: 14px 16px; font-size: 12.5px; background: rgba(15, 8, 11, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.oa-card p { font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.55); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.oa-card .mail { font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); }
.oa-line { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, 0.07); opacity: 0; }
.oa-line:first-of-type { border-top: 0; }
.oa-line span { color: #ffc6d3; font-weight: 600; }
.oa-ready { margin-top: 10px; display: inline-flex; padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: 11.5px; background: rgba(255, 207, 176, 0.18); color: #ffe6d6; opacity: 0; }
.oa-arrow { justify-self: center; color: rgba(255, 255, 255, 0.5); }
.pv.is-on .oa-line { animation: crm-in .4s ease forwards; animation-delay: calc(.5s + var(--i) * .35s); }
.pv.is-on .oa-ready { animation: crm-in .4s ease forwards; animation-delay: 1.7s; }

/* lead enrichment: a scored shortlist */
.sl { background: #fff; border-radius: 20px; box-shadow: 0 24px 60px -30px rgba(40, 12, 22, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.04); overflow: hidden; font-size: 12.5px; }
.sl-row { display: grid; grid-template-columns: 1.1fr 46px 1.6fr; gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid rgb(var(--line)); opacity: 0; transform: translateY(6px); }
.sl-row b { font-weight: 600; }
.sl-row small { color: rgb(var(--ink-faint)); font-size: 11.5px; line-height: 1.35; }
.sl-score { justify-self: center; width: 38px; height: 24px; border-radius: 999px; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; background: rgb(var(--clay) / 0.1); color: rgb(var(--clay-deep)); }
.sl-row.hi .sl-score { background: rgb(var(--clay)); color: #fff; }
.sl-hd { opacity: 1; transform: none; font-size: 11px; font-weight: 600; color: rgb(var(--ink-faint)); border-top: 0; }
.sl-hd span:nth-child(2) { justify-self: center; }
.pv.is-on .sl-row:not(.sl-hd) { animation: crm-in .45s var(--ease) forwards; animation-delay: calc(.2s + var(--i) * .16s); }

/* lead reactivation: this week's run as a funnel, the last six Mondays, the next run */
.rx { background: #fff; border-radius: 20px; box-shadow: 0 24px 60px -30px rgba(40, 12, 22, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.04); overflow: hidden; font-size: 12.5px; }
.rx-funnel { display: grid; gap: 9px; padding: 16px 16px 14px; }
.rx-step { display: grid; grid-template-columns: 230px minmax(0, 1fr) 34px; align-items: center; gap: 12px; }
.rx-step span { font-weight: 600; color: rgb(var(--ink)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-step small { font-size: 12px; font-weight: 400; color: rgb(var(--ink-faint)); }
.rx-step i { display: block; height: 10px; border-radius: 6px; background: rgb(var(--bg-soft)); overflow: hidden; }
.rx-step u { display: block; height: 100%; width: var(--w); border-radius: 6px; background: rgb(var(--clay) / 0.28); transform: scaleX(0); transform-origin: left; }
.rx-step.is-sent u { background: rgb(var(--clay)); }
.rx-step b { justify-self: end; font-weight: 600; font-variant-numeric: tabular-nums; }
.rx-step.is-sent b { color: rgb(var(--clay)); }
.pv.is-on .rx-step u { animation: crm-grow .8s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .25s); }
.rx-foot { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; padding: 0 16px 16px; }
.rx-hist, .rx-next { background: rgb(var(--bg-soft)); border-radius: 14px; padding: 12px 14px; }
.rx-foot small { display: block; font-size: 11px; color: rgb(var(--ink-faint)); }
.rx-bars { margin-top: 10px; height: 44px; display: flex; align-items: flex-end; gap: 6px; }
.rx-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: rgb(var(--clay) / 0.22); transform: scaleY(0); transform-origin: bottom; }
.rx-bars i:last-child { background: rgb(var(--clay)); }
.pv.is-on .rx-bars i { animation: crm-grow .6s var(--ease) forwards; animation-delay: calc(1.1s + var(--j) * .06s); }
.rx-next b { display: block; margin-top: 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.rx-next span { display: block; margin-top: 2px; font-size: 12px; color: rgb(var(--clay)); font-weight: 600; min-height: 1.4em; }

html:not(.js) .oa-line, html:not(.js) .oa-ready, html:not(.js) .sl-row, html:not(.js) .rx-step u, html:not(.js) .rx-bars i, html:not(.js) .run-lines div { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .pv *, .pv u { animation: none !important; transition: none !important; }
  .oa-line, .oa-ready, .sl-row, .rx-step u, .rx-bars i, .run-lines div { opacity: 1; transform: none; }
}
@media (max-width: 1080px) {
  .switcher { grid-template-columns: 1fr; row-gap: 36px; }
  .words { flex-direction: row; flex-wrap: wrap; gap: 0 28px; align-items: baseline; }
  .words [role="tab"] { font-size: clamp(40px, 7vw, 64px); }
}
@media (max-width: 760px) {
  .stage-panel { padding: 20px; gap: 22px; }
  .run { font-size: 11.5px; }
  .crm-body { grid-template-columns: 1fr; }
  .crm-bars { height: 64px; }
  .pp-copy p { font-size: 16px; }
  /* phones: only the visible panel and demo take up room */
  .stage-panel:not(.is-active), .pv:not(.is-on) { display: none; }
  html:not(.js) .stage-panel, html:not(.js) .pv:first-child { display: grid; }
  .oa { grid-template-columns: 1fr; }
  .oa-arrow { transform: rotate(90deg); }
  .sl-row { grid-template-columns: 1fr 40px; }
  .sl-row small, .sl-hd span:last-child { display: none; }
  .rx-step { grid-template-columns: 70px minmax(0, 1fr) 30px; }
  .rx-step small { display: none; }
  .rx-foot { grid-template-columns: 1fr; }
  .rx .crm-bar span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ===== Two ways in: the problem/answer pair ===== */
.pair { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair-card { min-width: 0; min-height: 424px; border-radius: var(--r-card); padding: 56px; display: flex; flex-direction: column; }
.pair-card .tag { font-size: 14px; line-height: 21px; font-weight: 500; color: rgb(var(--ink-faint)); }
.pair-card h3 { margin-top: 24px; max-width: 14em; }
.pair-card p { margin-top: 20px; font-size: 18px; line-height: 1.7; color: rgb(var(--ink-soft)); max-width: 30em; }
.ticks { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; background: rgb(var(--clay) / 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11.5l2.6 2.6L15 8.6' fill='none' stroke='%238A2F43' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.pair-light { background: #fff; box-shadow: inset 0 0 0 1px rgb(var(--line)); }
.pair-dark { background: rgb(var(--ink)); color: #fff; }
.pair-dark .tag { color: rgb(161 161 170); }
.pair-dark p { color: rgba(255, 255, 255, 0.72); }
.pair-dark .ticks li::before { background-color: rgba(255, 255, 255, 0.1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11.5l2.6 2.6L15 8.6' fill='none' stroke='%23F4C9D3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 1080px) { .pair { grid-template-columns: 1fr; } .pair-card { min-height: 0; } }
@media (max-width: 760px) { .pair-card { padding: 36px 26px; } .pair-card p { font-size: 17px; } }

/* ===== Focus areas ===== */
.focus { margin-top: 48px; display: grid; gap: 12px; }
.focus-band { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 56px; align-items: center; border-radius: 40px; background: rgb(var(--bg-soft)); padding: 56px; }
.focus-band h3 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.05; letter-spacing: -0.03em; }
.focus-band .band-note { margin-top: 14px; font-size: 15px; color: rgb(var(--ink-faint)); max-width: 18em; line-height: 1.5; }
.focus-items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.focus-item { background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03); }
.focus-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgb(var(--clay) / 0.08); color: rgb(var(--clay)); }
.focus-icon svg { width: 22px; height: 22px; }
.focus-item h4 { font-size: 19px; letter-spacing: -0.01em; margin-top: 6px; }
.focus-item p { font-size: 15px; line-height: 1.6; color: rgb(var(--ink-soft)); }
@media (max-width: 1080px) { .focus-band { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 760px) { .focus-band { padding: 32px 22px; border-radius: 28px; } .focus-items { grid-template-columns: 1fr; } }

/* ===== About ===== */
.about-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }

/* ===== Process: three steps, no line ===== */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { border-radius: var(--r-card); padding: 40px; background: rgb(var(--bg-soft)); display: flex; flex-direction: column; min-height: 380px; }
.step-num { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: rgb(var(--clay)); }
.step h3 { margin-top: 64px; font-size: 30px; line-height: 1.1; letter-spacing: -0.025em; }
.step p { margin-top: 14px; font-size: 16px; line-height: 1.6; color: rgb(var(--ink-soft)); }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.meta li { height: 28px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: rgb(var(--ink-soft)); }
.meta li.is-free { background: rgb(var(--clay)); color: #fff; }
.step:first-child { background: rgb(var(--ink)); color: #fff; }
.step:first-child p { color: rgba(255, 255, 255, 0.7); }
.step:first-child .step-num { color: rgb(244 201 211); }
.step:first-child .meta li { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.86); }
.step:first-child .meta li.is-free { background: #fff; color: rgb(var(--clay-deep)); }
@media (max-width: 1080px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } .step h3 { margin-top: 40px; } }
@media (max-width: 760px) { .step { padding: 30px 26px; } }

/* Your decision */
.decision { margin-top: 12px; border-radius: var(--r-card); padding: 56px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 56px; align-items: center; background: #fff; box-shadow: inset 0 0 0 1px rgb(var(--line)); }
.decision h2 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.05; letter-spacing: -0.03em; }
.decision > div > p { margin-top: 18px; font-size: 17px; line-height: 1.6; color: rgb(var(--ink-soft)); }
.choices-label { font-size: 14px; font-weight: 500; color: rgb(var(--ink-faint)); margin-bottom: 14px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices li { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 20px; border-radius: 20px; background: rgb(var(--bg-soft)); font-size: 16px; font-weight: 500; line-height: 1.35; }
.choices li span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: #fff; color: rgb(var(--clay)); font-variant-numeric: tabular-nums; }
@media (max-width: 1080px) { .decision { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 760px) { .decision { padding: 32px 22px; } .choices { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-inner { max-width: 768px; margin: 0 auto; }
.faq-inner .section-head { margin: 0 auto; align-items: center; text-align: center; }
.faq-list { margin-top: 56px; display: grid; gap: 10px; }
.faq-list details { border-radius: 30px; background: rgb(245 245 245 / 0.9); transition: background-color .2s ease; }
.faq-list details:hover { background: rgb(240 239 239); }
.faq-list summary { list-style: none; cursor: pointer; min-height: 69px; padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 18px; line-height: 1.45; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 18px; height: 18px; flex: none; color: rgb(var(--ink-faint)); transition: transform .25s var(--ease); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { padding: 0 28px 24px; max-width: 42em; font-size: 16px; line-height: 1.7; color: rgb(var(--ink-soft)); }
@media (max-width: 760px) { .faq-list summary { padding: 18px 22px; font-size: 17px; } .faq-list details p { padding: 0 22px 20px; } }

/* ===== Call to action ===== */
.cta {
  position: relative; isolation: isolate; overflow: hidden; min-height: 377px; border-radius: var(--r-big);
  padding: 96px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff;
  background: linear-gradient(118deg, rgb(138 52 72) 0%, rgb(176 102 122) 42%, rgb(150 66 86) 74%, rgb(128 44 64) 100%);
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(42% 70% at 40% 28%, rgba(255, 255, 255, 0.22), transparent 70%); }
.cta .h2 { color: #fff; }
.cta p { margin-top: 14px; font-size: 17px; font-weight: 500; color: rgba(255, 255, 255, 0.78); max-width: 32em; line-height: 1.5; }
.cta-btns { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-btns .btn { height: 44px; padding: 0 22px; font-size: 14px; }
@media (max-width: 760px) { .cta { padding: 72px 20px; min-height: 0; } }

/* ===== Footer ===== */
.site-footer { position: relative; overflow: hidden; padding-block: 64px; background: linear-gradient(180deg, rgb(138 52 72) 0%, rgb(170 98 118) 55%, rgb(196 140 155) 100%); }
.foot-wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: max(20px, calc(var(--side) - 28px)); position: relative; z-index: 1; }
.foot-card { border-radius: 28px; background: #fff; padding: 48px; }
.foot-top { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.foot-brand p { max-width: 260px; font-size: 14px; line-height: 1.6; color: rgb(var(--ink-faint)); }
.foot-title { font-size: 15px; font-weight: 600; }
.foot-col ul { margin-top: 16px; display: grid; }
.foot-col a { display: inline-block; padding: 5px 0; font-size: 15px; color: rgba(0, 0, 0, 0.45); transition: color .2s ease; }
.foot-col a:hover { color: rgb(var(--ink)); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgb(var(--line)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: rgb(var(--ink-mute)); }
.foot-bottom .navbar-lang { padding: 0; font-size: 14px; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .site-footer { padding-block: 24px; } .foot-wrap { padding-inline: 12px; } .foot-card { padding: 32px 24px 24px; border-radius: 24px; } }

/* ===== Page header (Work, Contact, Terms, 404) ===== */
.page-head { padding-top: 64px; }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 { font-size: clamp(44px, 5.4vw, 77px); line-height: 1.06; letter-spacing: -0.03em; max-width: 14em; }
.page-head .lede { margin-top: 24px; }

/* ===== Reveal (main.js adds .is-visible); only hidden once scripting is known ===== */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
html.js [data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js [data-stagger].is-visible > * { opacity: 1; transform: none; }
html.js [data-stagger].is-visible > *:nth-child(2) { transition-delay: .07s; }
html.js [data-stagger].is-visible > *:nth-child(3) { transition-delay: .14s; }
html.js [data-stagger].is-visible > *:nth-child(4) { transition-delay: .21s; }
html.js [data-stagger].is-visible > *:nth-child(5) { transition-delay: .28s; }
html.js [data-stagger].is-visible > *:nth-child(6) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js [data-stagger] > * { opacity: 1; transform: none; }
}

/* =====================================================================
   Components carried over from the previous site. They read the same
   tokens, so they take on the new palette; overrides follow below.
   ===================================================================== */

/* ----- Ported from style.css: tag pill, Work examples, live embed, video ----- */
/* ===== Tag pill ===== */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgb(var(--clay) / 0.3);
  background: rgb(var(--clay) / 0.1);
  color: rgb(var(--clay-deep));
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Example blocks (Work page) ===== */
.example-block { margin-top: 64px; scroll-margin-top: 90px; }
.example-block:first-child { margin-top: 0; }
.example-card {
  background: #fff;
  border: 1px solid rgb(var(--line));
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 1px 2px rgba(43, 38, 34, 0.04);
  scroll-margin-top: 90px;
}
@media (max-width: 768px) { .example-card { padding: 24px; } }
.example-card h2 { margin-top: 14px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); max-width: 580px; }
.example-card-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 14px; }
.example-card-heading-row h2 { margin-top: 0; }
@media (max-width: 640px) { .example-card-heading-row { flex-direction: column; align-items: flex-start; } }
.example-intro { margin-top: 10px; max-width: 600px; color: rgb(var(--ink-soft)); line-height: 1.6; }
.example-pair { display: flex; flex-direction: column; gap: 32px; margin-top: 32px; }

/* ===== Live product embed (cropped iframe of uniassoc.fluia.co's own interactive demo) ===== */
.ua-live-label { text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgb(var(--ink-faint)); margin-top: 28px; margin-bottom: 12px; }
.ua-live-embed { position: relative; overflow: hidden; width: calc(100% + 72px); margin-left: -36px; height: 550px; }
.ua-live-scale { position: absolute; top: 0; left: 0; width: 1200px; transform-origin: top left; transform: scale(0.833); }
.ua-live-scale iframe { position: absolute; top: -659.5px; left: 0; width: 1200px; height: 1500px; border: 0; display: block; overflow: hidden; }
@media (max-width: 768px) {
  .ua-live-embed { width: calc(100% + 48px); margin-left: -24px; }
}

/* ===== Video demo embed (Work page) ===== */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgb(var(--line));
  box-shadow: 0 14px 40px -18px rgba(43, 38, 34, 0.18);
  background: rgb(var(--night));
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ----- Ported from style.css: workflow demos, contact form, booking ----- */
/* ===== AR agent timeline (Accounts Receivable example, Work page) ===== */
.arw-track { position: relative; display: flex; justify-content: space-between; margin: 28px 8px 0; }
.arw-rail { position: absolute; top: 20px; left: 21px; right: 21px; height: 3px; border-radius: 3px; background: rgb(var(--line)); }
.arw-rail-fill { position: absolute; top: 20px; left: 21px; height: 3px; border-radius: 3px; background: rgb(var(--clay)); width: 0; transition: width 0.5s var(--ease); }
.arw-node { position: relative; z-index: 1; background: none; border: none; cursor: pointer; text-align: center; width: 100px; padding: 0; }
.arw-ball {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgb(var(--line)); background: #fff; color: rgb(var(--ink-faint));
  font-family: var(--font); font-size: 16px; line-height: 40px; margin: 0 auto 12px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.arw-node:hover .arw-ball { border-color: rgb(var(--clay)); color: rgb(var(--clay)); transform: translateY(-2px); }
.arw-node.is-active .arw-ball { transform: scale(1.08); box-shadow: 0 6px 16px rgba(138, 47, 67, 0.22); background: rgb(var(--clay)); border-color: rgb(var(--clay)); color: #fff; }
.arw-node.is-past .arw-ball { border-color: rgb(var(--clay)); color: rgb(var(--clay)); }
.arw-node:focus-visible { outline: none; }
.arw-node:focus-visible .arw-ball { outline: 2px solid rgb(var(--clay)); outline-offset: 3px; }
.arw-node-label { font-size: 0.8rem; color: rgb(var(--ink-faint)); transition: color 0.25s ease; }
.arw-node.is-active .arw-node-label { color: rgb(var(--clay)); font-weight: 600; }

.arw-panel {
  background: rgb(var(--bg-soft)); border: 1px solid rgb(var(--line)); border-radius: 14px;
  padding: 32px; margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; min-height: 220px;
}
.arw-panel.is-swapping .arw-fade { opacity: 0; transform: translateY(6px); }
.arw-fade { transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.arw-step-kicker { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(var(--ink-faint)); font-weight: 600; margin-bottom: 10px; }
/* h3s now, but set as the h4s they were: no heading letter-spacing or line-height */
.arw-step-title, .lgw-step-title, .lrw-step-title { letter-spacing: normal; line-height: 1.6; }
.arw-step-title { font-family: var(--font); font-weight: 500; color: rgb(var(--clay-deep)); font-size: 1.2rem; margin-bottom: 10px; }
.arw-step-text { font-size: 0.92rem; line-height: 1.6; color: rgb(var(--ink-soft)); }
.arw-visual { min-height: 140px; display: flex; align-items: center; justify-content: center; }

.arw-table-wrap { width: 100%; border: 1px solid rgb(var(--line)); border-radius: 10px; overflow: hidden; background: #fff; }
.arw-mini-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.arw-mini-table th { background: rgb(var(--clay)); color: #fff; font-weight: 600; text-align: left; padding: 8px 12px; }
.arw-mini-table td { background: #fff; border-bottom: 1px solid rgb(var(--line)); padding: 8px 12px; color: rgb(var(--ink)); }
.arw-mini-table tr:last-child td { border-bottom: none; }
.arw-badge { display: inline-block; font-size: 0.68rem; font-weight: 600; color: #fff; background: rgb(var(--clay)); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.arw-chip { display: inline-block; font-size: 0.68rem; font-weight: 600; padding: 3px 11px; border-radius: 999px; border: 1px solid rgb(var(--line)); white-space: nowrap; }
.arw-chip.t1 { background: rgb(var(--bg-sunk)); color: rgb(var(--ink-soft)); }
.arw-chip.t2 { background: rgb(var(--ink-faint)); color: #fff; border-color: rgb(var(--ink-faint)); }
.arw-chip.t3 { background: rgb(var(--glow)); color: #fff; border-color: rgb(var(--glow)); }
.arw-chip.t4 { background: rgb(var(--clay)); color: #fff; border-color: rgb(var(--clay)); }

.arw-thumbs { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.arw-thumb { border: 1px solid rgb(var(--line)); background: #fff; font-size: 0.78rem; border-radius: 10px; overflow: hidden; }
.arw-thumb-bar { background: rgb(var(--bg-soft)); border-bottom: 1px solid rgb(var(--line)); padding: 6px 12px; color: rgb(var(--ink-faint)); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
.arw-thumb-body { padding: 10px 12px; line-height: 1.5; color: rgb(var(--ink)); }
.arw-thumb-body .muted { color: rgb(var(--ink-faint)); }

@media (max-width: 680px) {
  .arw-panel { grid-template-columns: 1fr; padding: 22px; gap: 20px; }
  .arw-node { width: auto; }
  .arw-node-label { font-size: 0.7rem; }
  .arw-ball { width: 36px; height: 36px; line-height: 34px; font-size: 14px; }
  .arw-rail, .arw-rail-fill { top: 17px; left: 18px; }
  .arw-rail { right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .arw-rail-fill, .arw-ball, .arw-fade, .arw-node-label { transition: none; }
}

/* ===== Lead Finder agent timeline (Lead Generation example, Work page) ===== */
.lgw-track { position: relative; display: flex; justify-content: space-between; margin: 28px 8px 0; }
.lgw-rail { position: absolute; top: 20px; left: 21px; right: 21px; height: 3px; border-radius: 3px; background: rgb(var(--line)); }
.lgw-rail-fill { position: absolute; top: 20px; left: 21px; height: 3px; border-radius: 3px; background: rgb(var(--clay)); width: 0; transition: width 0.5s var(--ease); }
.lgw-node { position: relative; z-index: 1; background: none; border: none; cursor: pointer; text-align: center; width: 100px; padding: 0; }
.lgw-ball {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgb(var(--line)); background: #fff; color: rgb(var(--ink-faint));
  font-family: var(--font); font-size: 16px; line-height: 40px; margin: 0 auto 12px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.lgw-node:hover .lgw-ball { border-color: rgb(var(--clay)); color: rgb(var(--clay)); transform: translateY(-2px); }
.lgw-node.is-active .lgw-ball { transform: scale(1.08); box-shadow: 0 6px 16px rgba(138, 47, 67, 0.22); background: rgb(var(--clay)); border-color: rgb(var(--clay)); color: #fff; }
.lgw-node.is-past .lgw-ball { border-color: rgb(var(--clay)); color: rgb(var(--clay)); }
.lgw-node:focus-visible { outline: none; }
.lgw-node:focus-visible .lgw-ball { outline: 2px solid rgb(var(--clay)); outline-offset: 3px; }
.lgw-node-label { font-size: 0.8rem; color: rgb(var(--ink-faint)); transition: color 0.25s var(--ease); }
.lgw-node.is-active .lgw-node-label { color: rgb(var(--clay)); font-weight: 600; }

.lgw-panel {
  background: rgb(var(--bg-soft)); border: 1px solid rgb(var(--line)); border-radius: 14px;
  padding: 32px; margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; min-height: 220px;
}
.lgw-panel.is-swapping .lgw-fade { opacity: 0; transform: translateY(6px); }
.lgw-fade { transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.lgw-step-kicker { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(var(--ink-faint)); font-weight: 600; margin-bottom: 10px; }
.lgw-step-title { font-family: var(--font); font-weight: 500; color: rgb(var(--clay-deep)); font-size: 1.2rem; margin-bottom: 10px; }
.lgw-step-text { font-size: 0.92rem; line-height: 1.6; color: rgb(var(--ink-soft)); }
.lgw-visual { min-height: 140px; display: flex; align-items: center; justify-content: center; }

.lgw-doc { width: 100%; border: 1px solid rgb(var(--line)); border-radius: 10px; overflow: hidden; background: #fff; font-size: 0.78rem; }
.lgw-doc-bar { background: rgb(var(--bg-soft)); border-bottom: 1px solid rgb(var(--line)); padding: 6px 12px; color: rgb(var(--ink-faint)); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
.lgw-doc-body { padding: 12px 14px; line-height: 1.7; color: rgb(var(--ink)); }
.lgw-doc-body .k { color: rgb(var(--ink-faint)); }

.lgw-funnel { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.lgw-funnel-row { display: flex; align-items: center; gap: 12px; }
.lgw-funnel-bar { height: 26px; border-radius: 999px; background: rgb(var(--bg-sunk)); display: flex; align-items: center; padding: 0 12px; font-size: 0.78rem; color: rgb(var(--ink)); white-space: nowrap; }
.lgw-funnel-row:nth-child(2) .lgw-funnel-bar { background: rgb(var(--glow)); color: #fff; }
.lgw-funnel-row:nth-child(3) .lgw-funnel-bar { background: rgb(var(--clay)); color: #fff; }

.lgw-leads { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.lgw-lead { display: flex; gap: 12px; align-items: flex-start; border: 1px solid rgb(var(--line)); border-radius: 10px; background: #fff; padding: 10px 12px; font-size: 0.78rem; }
.lgw-fit { font-family: var(--font); font-weight: 600; font-size: 1.25rem; color: rgb(var(--clay)); line-height: 1; padding-top: 2px; min-width: 22px; text-align: center; }
.lgw-fit small { display: block; font-family: var(--font); font-weight: 600; font-size: 0.56rem; letter-spacing: 0.08em; color: rgb(var(--ink-faint)); margin-top: 2px; }
.lgw-lead-name { font-weight: 600; color: rgb(var(--ink)); margin-bottom: 2px; }
.lgw-lead-why { color: rgb(var(--ink-faint)); line-height: 1.45; }
.lgw-pill { margin-left: auto; flex-shrink: 0; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; background: rgb(var(--bg-soft)); color: rgb(var(--clay)); border: 1px solid rgb(var(--line)); }

.lgw-thumbs { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.lgw-thumb { border: 1px solid rgb(var(--line)); background: #fff; font-size: 0.78rem; border-radius: 10px; overflow: hidden; }
.lgw-thumb-bar { background: rgb(var(--bg-soft)); border-bottom: 1px solid rgb(var(--line)); padding: 6px 12px; color: rgb(var(--ink-faint)); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
.lgw-thumb-body { padding: 10px 12px; line-height: 1.5; color: rgb(var(--ink)); }
.lgw-thumb-body .muted { color: rgb(var(--ink-faint)); }

@media (max-width: 680px) {
  .lgw-panel { grid-template-columns: 1fr; padding: 22px; gap: 20px; }
  .lgw-node { width: auto; }
  .lgw-node-label { font-size: 0.7rem; }
  .lgw-ball { width: 36px; height: 36px; line-height: 34px; font-size: 14px; }
  .lgw-rail, .lgw-rail-fill { top: 17px; left: 18px; }
  .lgw-rail { right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .lgw-rail-fill, .lgw-ball, .lgw-fade, .lgw-node-label { transition: none; }
}

/* ===== Lead Reactivation agent timeline (Lead Reactivation example, Work page) ===== */
.lrw-track { position: relative; display: flex; justify-content: space-between; margin: 28px 8px 0; }
.lrw-rail { position: absolute; top: 20px; left: 21px; right: 21px; height: 3px; border-radius: 3px; background: rgb(var(--line)); }
.lrw-rail-fill { position: absolute; top: 20px; left: 21px; height: 3px; border-radius: 3px; background: rgb(var(--clay)); width: 0; transition: width 0.5s var(--ease); }
.lrw-node { position: relative; z-index: 1; background: none; border: none; cursor: pointer; text-align: center; width: 100px; padding: 0; }
.lrw-ball {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgb(var(--line)); background: #fff; color: rgb(var(--ink-faint));
  font-family: var(--font); font-size: 16px; line-height: 40px; margin: 0 auto 12px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.lrw-node:hover .lrw-ball { border-color: rgb(var(--clay)); color: rgb(var(--clay)); transform: translateY(-2px); }
.lrw-node.is-active .lrw-ball { transform: scale(1.08); box-shadow: 0 6px 16px rgba(138, 47, 67, 0.22); background: rgb(var(--clay)); border-color: rgb(var(--clay)); color: #fff; }
.lrw-node.is-past .lrw-ball { border-color: rgb(var(--clay)); color: rgb(var(--clay)); }
.lrw-node:focus-visible { outline: none; }
.lrw-node:focus-visible .lrw-ball { outline: 2px solid rgb(var(--clay)); outline-offset: 3px; }
.lrw-node-label { font-size: 0.8rem; color: rgb(var(--ink-faint)); transition: color 0.25s ease; }
.lrw-node.is-active .lrw-node-label { color: rgb(var(--clay)); font-weight: 600; }

.lrw-panel {
  background: rgb(var(--bg-soft)); border: 1px solid rgb(var(--line)); border-radius: 14px;
  padding: 32px; margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; min-height: 248px;
}
.lrw-panel.is-swapping .lrw-fade { opacity: 0; transform: translateY(6px); }
.lrw-fade { transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.lrw-step-kicker { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(var(--ink-faint)); font-weight: 600; margin-bottom: 10px; }
.lrw-step-title { font-family: var(--font); font-weight: 500; color: rgb(var(--clay-deep)); font-size: 1.2rem; margin-bottom: 10px; }
.lrw-step-text { font-size: 0.92rem; line-height: 1.6; color: rgb(var(--ink-soft)); }
.lrw-visual { min-height: 140px; display: flex; align-items: center; justify-content: center; }

.lrw-table-wrap { width: 100%; border: 1px solid rgb(var(--line)); border-radius: 10px; overflow: hidden; background: #fff; }
.lrw-mini-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.lrw-mini-table th { background: rgb(var(--clay)); color: #fff; font-weight: 600; text-align: left; padding: 8px 12px; }
.lrw-mini-table td { background: #fff; border-bottom: 1px solid rgb(var(--line)); padding: 8px 12px; color: rgb(var(--ink)); }
.lrw-mini-table tr:last-child td { border-bottom: none; }
.lrw-mini-table .muted { color: rgb(var(--ink-faint)); }
.lrw-chip { display: inline-block; font-size: 0.68rem; font-weight: 600; padding: 3px 11px; border-radius: 999px; border: 1px solid rgb(var(--line)); white-space: nowrap; }
.lrw-chip.keep { background: rgb(var(--clay)); color: #fff; border-color: rgb(var(--clay)); }
.lrw-chip.skip { background: rgb(var(--bg-sunk)); color: rgb(var(--ink-faint)); }

.lrw-thumbs { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.lrw-thumb { border: 1px solid rgb(var(--line)); background: #fff; font-size: 0.78rem; border-radius: 10px; overflow: hidden; }
.lrw-thumb-bar { background: rgb(var(--bg-soft)); border-bottom: 1px solid rgb(var(--line)); padding: 6px 12px; color: rgb(var(--ink-faint)); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
.lrw-thumb-body { padding: 10px 12px; line-height: 1.5; color: rgb(var(--ink)); }
.lrw-thumb-body .muted { color: rgb(var(--ink-faint)); }

@media (max-width: 680px) {
  .lrw-panel { grid-template-columns: 1fr; padding: 22px; gap: 20px; }
  .lrw-node { width: auto; }
  .lrw-node-label { font-size: 0.7rem; }
  .lrw-ball { width: 36px; height: 36px; line-height: 34px; font-size: 14px; }
  .lrw-rail, .lrw-rail-fill { top: 17px; left: 18px; }
  .lrw-rail { right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .lrw-rail-fill, .lrw-ball, .lrw-fade, .lrw-node-label { transition: none; }
}

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) { .contact-channels { flex-direction: row; } }
@media (min-width: 900px) { .contact-channels { flex-direction: column; } }
.contact-trust {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgb(var(--line));
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-trust-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-trust-item .card-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-trust-item h3 { font-size: 1rem; font-weight: 600; font-family: var(--font); letter-spacing: 0; }
.contact-trust-item p { margin-top: 4px; font-size: 0.92rem; color: rgb(var(--ink-soft)); line-height: 1.5; }
.form-card { background: #fff; border: 1px solid rgb(var(--line)); border-radius: 14px; padding: 32px; box-shadow: 0 1px 2px rgba(43,38,34,0.04); }
@media (max-width: 768px) { .form-card { padding: 24px; } }
.form-field { margin-top: 18px; }
.form-field:first-of-type { margin-top: 24px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; color: rgb(var(--ink)); margin-bottom: 6px; }
.form-input, .form-textarea {
  width: 100%;
  border: 1px solid rgb(var(--line));
  border-radius: 8px;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: rgb(var(--ink));
  background: rgb(var(--bg));
  transition: border-color 0.2s var(--ease);
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: rgb(var(--clay)); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit { margin-top: 24px; width: 100%; }
.form-card [hidden] { display: none; }
/* Spam trap: named in netlify-honeypot, kept off-screen rather than display:none so
   bots that skip hidden inputs still fill it in. */
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Router: the first ask is a tap, not a keystroke */
.form-router { display: grid; gap: 10px; margin-top: 22px; }
.form-route {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; text-align: left; font: inherit; cursor: pointer;
  padding: 16px 18px; border-radius: 12px;
  border: 1px solid rgb(var(--line));
  background: rgb(var(--bg));
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.form-route:hover { border-color: rgb(var(--clay)); background: #fff; transform: translateY(-2px); }
.form-route:focus-visible { outline: 2px solid rgb(var(--clay)); outline-offset: 2px; }
.form-route-text strong { display: block; font-size: 0.98rem; font-weight: 600; color: rgb(var(--ink)); }
.form-route-text > span { display: block; margin-top: 3px; font-size: 0.85rem; line-height: 1.45; color: rgb(var(--ink-soft)); }
.form-route svg { flex-shrink: 0; color: rgb(var(--clay)); }
/* Escape hatch: plainly available, visibly subordinate to the three named routes */
.form-route-plain { border-style: dashed; background: transparent; padding: 13px 18px; }
.form-route-plain .form-route-text strong { font-weight: 500; color: rgb(var(--ink-soft)); }
.form-route-plain:hover .form-route-text strong { color: rgb(var(--ink)); }
/* The chosen route, echoed above the box with a way back */
.form-context {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 24px; padding: 12px 16px; border-radius: 10px;
  background: rgb(var(--clay-soft) / 0.4);
  font-size: 0.88rem; color: rgb(var(--clay-deep));
}
.form-context button {
  font: inherit; font-size: 0.82rem; background: none; border: 0; cursor: pointer;
  color: rgb(var(--clay-deep)); text-decoration: underline; padding: 0;
}
.form-context[hidden] + .form-field { margin-top: 24px; }
.form-optional { font-weight: 400; font-size: 0.78rem; color: rgb(var(--ink-soft)); }
.form-row { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row .form-field { margin-top: 0; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-error { margin-top: 14px; font-size: 0.88rem; line-height: 1.5; color: rgb(var(--clay-deep)); }
.form-error a { color: inherit; text-decoration: underline; }
/* Sent state, swapped in place of the form inside the same card */
.form-done { text-align: center; padding: 10px 0 4px; animation: timelineFadeUp 0.5s var(--ease) both; }
.form-done-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgb(var(--clay-soft) / 0.5);
  color: rgb(var(--clay-deep));
  margin-bottom: 16px;
}
.form-done h2 { margin-bottom: 8px; }
.form-done p { font-size: 0.95rem; line-height: 1.6; }
.form-done [data-form-done-email] { color: rgb(var(--ink)); font-weight: 500; }
.form-done-alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgb(var(--line)); font-size: 0.9rem; color: rgb(var(--ink-soft)); }
.form-done-alt a { color: rgb(var(--clay-deep)); font-weight: 500; }

/* ===== Booking (Contact page): Cal.com inline embed ===== */
/* Cal.com draws its own bordered card, so the wrapper adds no frame of its own. */
.booker-section { border-top: none; padding-top: 8px; scroll-margin-top: 96px; }
/* Cal.com sizes its iframe to the content once loaded; the min-height only holds
   the space so the page does not jump while it does. */
.booker-embed { width: 100%; min-height: 560px; }
.booker-fallback { margin-top: 12px; text-align: center; font-size: 0.88rem; color: rgb(var(--ink-soft)); }
.booker-fallback a { color: rgb(var(--clay-deep)); font-weight: 500; text-decoration: underline; }

/* Loading state: a calendar-shaped stand-in sits over the embed until Cal.com
   reports the booker is ready, then the two crossfade. main.js builds it, so
   without scripting none of this shows and the fallback link carries the card. */
.booker { position: relative; }
.booker-embed { transition: opacity 0.5s var(--ease); }
.booker.is-loading .booker-embed { opacity: 0; }
.booker-skeleton {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  display: grid;
  grid-template-columns: 27% 1fr 27%;
  width: min(100%, 1040px);
  height: 490px;
  transform: translateX(-50%);
  border: 1px solid rgb(var(--line));
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.booker.is-ready .booker-skeleton { opacity: 0; }
.bsk-col { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; }
.bsk-col + .bsk-col { border-left: 1px solid rgb(var(--line)); }

/* every bone shares one sweep, so the sheen reads as a single light passing */
.bsk-bone {
  display: block;
  height: 10px;
  border-radius: 999px;
  background:
    linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.85) 50%, transparent 70%) 0 0 / 300% 100%,
    rgb(var(--bg-soft));
  animation: bskSheen 1.8s ease-in-out infinite;
}
@keyframes bskSheen {
  from { background-position: 150% 0, 0 0; }
  to { background-position: -150% 0, 0 0; }
}
.bsk-avatar { width: 26px; height: 26px; border-radius: 50%; }
.bsk-title { height: 16px; }
.bsk-chip { width: 64%; height: 28px; border-radius: 8px; margin-top: 8px; }

.bsk-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.bsk-status { font-size: 0.85rem; font-weight: 500; color: rgb(var(--ink-soft)); }
.bsk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.bsk-dow { height: 8px; margin: 0 22%; }
.bsk-day {
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgb(var(--bg-soft));
  animation: bskWave 2.4s var(--ease) infinite;
  animation-delay: calc(var(--d) * 70ms);
}
.bsk-day.is-off { background: transparent; animation: none; }
/* a wash of clay runs diagonally across the month, like days being checked */
@keyframes bskWave {
  0%, 55%, 100% { background: rgb(var(--bg-soft)); transform: scale(1); }
  20% { background: rgb(var(--clay-soft)); transform: scale(0.94); }
}
.bsk-slot { height: 34px; border-radius: 8px; }

@media (max-width: 768px) {
  .booker-skeleton { grid-template-columns: 1fr; height: auto; }
  .bsk-col + .bsk-col { border-left: none; border-top: 1px solid rgb(var(--line)); }
  .bsk-col.is-slots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bsk-bone, .bsk-day { animation: none; }
  .booker-embed, .booker-skeleton { transition: none; }
}

/* ----- Ported from work.html: build tiles and their drawn vignettes ----- */
/* ── Shared bits ─────────────────────────────────────────────────── */
    .link-arrow { display: inline-block; transition: transform .3s var(--ease); }
    .play {
      position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px;
      border-radius: 50%; background: rgba(255, 255, 255, 0.92);
      box-shadow: 0 8px 24px -8px rgba(43, 38, 34, 0.5);
      display: grid; place-items: center; transition: transform .35s var(--ease);
    }
    .play::before { content: ""; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent rgb(var(--clay)); }

    /* Vignettes: small drawn previews of each build, sized in em so one
       font-size scales a whole vignette to the tile or pane it sits in. */
    .vg { position: absolute; inset: 0; overflow: hidden; background: rgb(var(--bg-sunk)); font-size: 10px; }
    .vg-win {
      position: absolute; left: 8%; right: 8%; top: 14%; bottom: -6%;
      background: #fff; border-radius: 1em; border: 1px solid rgb(var(--line));
      box-shadow: 0 1.4em 4em -1.8em rgba(43, 38, 34, 0.25); overflow: hidden;
      transition: transform .6s var(--ease);
    }
    .vg-bar { display: flex; gap: 0.5em; padding: 0.9em 1.1em; border-bottom: 1px solid rgb(var(--line)); }
    .vg-bar i { width: 0.7em; height: 0.7em; border-radius: 50%; background: rgb(var(--line)); }
    .vg-body { padding: 1.2em 1.4em; display: grid; gap: 0.8em; }
    .vg-row { display: flex; align-items: center; gap: 0.9em; font-size: 1.15em; color: rgb(var(--ink-soft)); white-space: nowrap; }
    .vg-row > span:first-of-type { flex: 1; overflow: hidden; text-overflow: ellipsis; }
    .vg-av { flex: none; width: 2em; height: 2em; border-radius: 50%; background: rgb(var(--clay-soft)); }
    .vg-chip { flex: none; padding: 0.25em 0.8em; border-radius: 999px; font-size: 0.85em; font-weight: 600; background: rgb(var(--bg-sunk)); color: rgb(var(--ink-soft)); }
    .vg-chip.is-clay { background: rgb(var(--clay) / 0.1); color: rgb(var(--clay-deep)); }
    .vg-chip.is-ok { background: rgba(95, 227, 161, 0.18); color: #23774c; }
    .vg-score { flex: none; width: 2.6em; text-align: right; font-weight: 700; color: rgb(var(--clay-deep)); }
    .vg-meter { flex: none; width: 6em; height: 0.5em; border-radius: 999px; background: rgb(var(--bg-sunk)); overflow: hidden; }
    .vg-meter i { display: block; height: 100%; background: rgb(var(--clay)); border-radius: inherit; }
    /* the two video builds are drawn as their own log, dark like the agent log */
    .vg-night { background: rgb(var(--night)); }
    .vg-log { position: absolute; inset: 0; padding: 2em 2.4em; display: grid; align-content: center; gap: 0.7em; font-family: var(--mono); font-size: 1.2em; color: rgba(236, 228, 214, 0.85); }
    .vg-log span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .vg-log b { font-weight: 400; color: rgba(236, 228, 214, 0.4); margin-right: 0.4em; }
    .vg-log i { font-style: normal; }
    .vg-log .ok { color: #5fe3a1; }
    .vg-log .hu { color: #ecb866; }
    /* on a drawn log the play button moves to the corner, off the text */
    .vg-night ~ .play { left: 12px; top: auto; bottom: 10px; width: 34px; height: 34px; margin: 0; }
    .vg-night ~ .play::before { border-width: 6px 0 6px 10px; margin-left: 3px; }
    /* the CRM gets a sidebar */
    .vg-crm { display: grid; grid-template-columns: 9em 1fr; height: 100%; }
    .vg-side { background: rgb(var(--bg)); border-right: 1px solid rgb(var(--line)); padding: 1.4em 1.1em; display: grid; align-content: start; gap: 0.9em; }
    .vg-side i { display: block; height: 0.7em; border-radius: 999px; background: rgb(var(--line)); }
    .vg-side i.is-on { background: rgb(var(--clay) / 0.5); width: 80%; }
    .vg-h { font-size: 1.5em; font-weight: 600; color: rgb(var(--ink)); }
    /* the reactivation draft is a letter, not a table */
    .vg-mail { padding: 1.6em 1.8em; display: grid; gap: 0.7em; }
    .vg-mail .vg-to { font-size: 1.1em; color: rgb(var(--ink-faint)); }
    .vg-mail .vg-subj { font-size: 1.4em; font-weight: 600; color: rgb(var(--ink)); }
    .vg-mail .vg-line { height: 0.65em; border-radius: 999px; background: rgb(var(--bg-sunk)); }
    .vg-mail .vg-line.is-hi { background: rgb(var(--clay-soft)); width: 70%; }

    /* ── Hero: tile gallery ────────────────────────────────────────────── */
    .tiles-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
    .tiles-head .hero-content { margin: 0; text-align: left; max-width: 620px; }
    .tiles-head .hero-content .lead { margin-left: 0; }
    .tiles-key { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 0.86rem; color: rgb(var(--ink-faint)); padding-bottom: 6px; }
    .tiles-key span { display: inline-flex; align-items: center; gap: 7px; }
    .tiles-key i { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--clay)); }
    .tiles-key span + span i { background: transparent; border: 1.5px solid rgb(var(--clay)); }

    .tiles {
      margin-top: 44px;
      display: grid; gap: 16px;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      grid-auto-rows: 236px;
    }
    .tile {
      position: relative; display: flex; flex-direction: column; justify-content: flex-end;
      border-radius: 16px; overflow: hidden; background: #fff;
      border: 1px solid rgb(var(--line));
      box-shadow: 0 1px 2px rgba(43, 38, 34, 0.04);
      transition: box-shadow .35s ease, border-color .35s ease, transform .45s var(--ease);
      isolation: isolate;
    }
    .tile:hover, .tile:focus-visible { box-shadow: 0 16px 36px -18px rgba(43, 38, 34, 0.22); border-color: rgb(var(--clay) / 0.35); transform: translateY(-3px); }
    .tile:focus-visible { outline: 2px solid rgb(var(--clay)); outline-offset: 3px; }
    .tile:hover .vg-win, .tile:focus-visible .vg-win { transform: translateY(-4%); }
    .tile:hover .play, .tile:focus-visible .play { transform: scale(1.08); }
    .tile:hover .link-arrow, .tile:focus-visible .link-arrow { transform: translateX(4px); }
    .tile-big { grid-column: span 2; grid-row: span 2; }
    .tile-wide { grid-column: span 2; }

    .tile-media { position: absolute; inset: 0 0 auto 0; bottom: 92px; z-index: -1; overflow: hidden; }
    .tile-big .tile-media { bottom: 118px; }
    .tile-media .vg { font-size: 7.5px; }
    .tile-big .tile-media .vg { font-size: 10px; }
    .tile-dur { position: absolute; right: 12px; bottom: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(34, 29, 24, 0.75); color: #fff; font-size: 0.72rem; font-weight: 600; }

    .tile-text { padding: 16px 18px 18px; background: #fff; border-top: 1px solid rgb(var(--line)); min-height: 92px; }
    .tile-big .tile-text { padding: 20px 24px 22px; min-height: 118px; }
    .tile-name { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: rgb(var(--ink)); }
    .tile-big .tile-name { font-size: 1.3rem; }
    .tile-name .link-arrow { color: rgb(var(--clay)); }
    .tile-sub { display: block; margin-top: 3px; font-size: 0.84rem; line-height: 1.45; color: rgb(var(--ink-soft)); }

    @media (max-width: 960px) {
      .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .tile-big { grid-column: span 2; grid-row: span 2; }
    }
    @media (max-width: 600px) {
      .tiles { grid-template-columns: 1fr; grid-auto-rows: 250px; }
      .tile-big, .tile-wide { grid-column: auto; grid-row: auto; }
      .tile-big { grid-row: span 1; }
      .tile-big .tile-media .vg { font-size: 7.5px; }
    }
    /* the numbers that stand in for the lead */
    .tiles-stats { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 20px 44px; }
    .tiles-stat b { display: block; font-variant-numeric: tabular-nums; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1; color: rgb(var(--ink)); }
    .tiles-stat span { display: block; margin-top: 8px; max-width: 16ch; font-size: 0.88rem; line-height: 1.45; color: rgb(var(--ink-soft)); }

    

@keyframes timelineFadeUp { from { opacity: 0; transform: translateY(10px); } }

/* =====================================================================
   Overrides: the carried-over components in the new language
   ===================================================================== */
.tag-pill { border: 0; background: rgb(var(--clay) / 0.08); color: rgb(var(--clay-deep)); padding: 0 12px; height: 30px; font-size: 12px; letter-spacing: 0.02em; text-transform: none; font-weight: 600; }

/* Work: header and tile gallery */
.work-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 56px; }
.tiles-stats { margin-top: 0; gap: 20px 56px; }
.tiles-stat b { font-size: clamp(36px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.035em; }
.tiles-stat span { font-size: 14px; color: rgb(var(--ink-faint)); }
.tiles { margin-top: 48px; gap: 12px; grid-auto-rows: 250px; }
.tile { border-radius: 28px; border: 0; box-shadow: 0 0 0 1px rgb(var(--line)); background: #fff; }
.tile:hover, .tile:focus-visible { border-color: transparent; box-shadow: 0 24px 50px -24px rgba(40, 12, 22, 0.28), 0 0 0 1px rgb(var(--line)); transform: translateY(-3px); }
.tile-text { border-top: 1px solid rgb(var(--line)); padding: 18px 22px 20px; }
.tile-big .tile-text { padding: 22px 26px 24px; }
.tile-name { font-size: 17px; font-weight: 600; }
.tile-big .tile-name { font-size: 22px; letter-spacing: -0.02em; }
.tile-sub { font-size: 14px; color: rgb(var(--ink-faint)); }
.vg { background: rgb(var(--bg-soft)); }
.vg-win { border: 0; box-shadow: 0 1.4em 4em -1.8em rgba(40, 12, 22, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.04); border-radius: 1.2em; }
.vg-night { background: rgb(var(--night)); }
.vg-log { color: rgba(236, 230, 232, 0.85); }
.vg-log .ok { color: #f2b8c6; }
.vg-log .hu { color: #ffcfb0; }
.tile-dur { background: rgba(20, 16, 18, 0.72); }
@media (max-width: 600px) { .tiles { grid-auto-rows: 260px; } }

/* Work: each build as a large card */
.builds { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.example-block { margin-top: 0; scroll-margin-top: 96px; }
.example-card { border: 0; border-radius: 40px; padding: 56px; background: rgb(var(--bg-soft)); box-shadow: none; }
.example-card-heading-row { margin-top: 18px; align-items: flex-end; }
.example-card h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.08; letter-spacing: -0.03em; max-width: 16em; }
.example-intro { margin-top: 16px; max-width: 44em; font-size: 17px; line-height: 1.65; color: rgb(var(--ink-soft)); }
.example-card .btn { flex: none; }
.ua-live-label { margin-top: 36px; font-size: 12px; letter-spacing: 0.02em; text-transform: none; font-weight: 500; }
.ua-live-embed { width: 100%; margin-left: 0; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgb(var(--line)); }
.video-embed { margin-top: 32px; border: 0; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(40, 12, 22, 0.35); }
@media (max-width: 760px) {
  .example-card { padding: 30px 20px; border-radius: 28px; }
  .ua-live-embed { border-radius: 16px; }
}

/* Workflow demos (receivables, lead finder, reactivation) */
.arw-panel, .lgw-panel, .lrw-panel { background: #fff; border: 0; border-radius: 24px; box-shadow: 0 0 0 1px rgb(var(--line)); padding: 36px; }
.arw-ball, .lgw-ball, .lrw-ball { border-color: rgb(var(--line)); font-weight: 600; font-size: 15px; }
.arw-rail, .lgw-rail, .lrw-rail { background: rgb(var(--bg-sunk)); }
.arw-step-kicker, .lgw-step-kicker, .lrw-step-kicker { font-size: 12px; letter-spacing: 0.02em; text-transform: none; font-weight: 500; }
.arw-step-title, .lgw-step-title, .lrw-step-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: rgb(var(--ink)); }
.arw-step-text, .lgw-step-text, .lrw-step-text { font-size: 15px; }
.arw-table-wrap, .lrw-table-wrap, .lgw-doc, .arw-thumb, .lgw-thumb, .lrw-thumb, .lgw-lead { border-radius: 14px; }
.arw-thumb-bar, .lgw-thumb-bar, .lrw-thumb-bar, .lgw-doc-bar { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 500; }
@media (max-width: 680px) { .arw-panel, .lgw-panel, .lrw-panel { padding: 22px; } }

/* Contact */
.contact-grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px; align-items: start; }
.contact-direct { border-radius: var(--r-card); background: rgb(var(--ink)); color: #fff; padding: 48px; }
.contact-direct h2, .form-card h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.025em; }
.contact-direct > p { margin-top: 14px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.contact-channels { margin-top: 28px; display: grid; gap: 10px; }
.contact-channels .btn { width: 100%; justify-content: space-between; height: 56px; padding: 0 22px; }
.contact-trust { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: grid; gap: 20px; }
.contact-trust-item h3 { font-size: 16px; font-weight: 600; }
.contact-trust-item p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.66); }
.form-card { border: 0; border-radius: var(--r-card); padding: 48px; background: rgb(var(--bg-soft)); box-shadow: none; }
.form-card > p, .form-card [data-form-head] > p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: rgb(var(--ink-soft)); }
.form-route { border: 0; background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04); }
.form-route:hover { background: #fff; box-shadow: 0 0 0 1.5px rgb(var(--clay) / 0.5); }
.form-route-plain { background: transparent; box-shadow: inset 0 0 0 1px rgb(var(--line)); border-style: solid; }
.form-input, .form-textarea { border: 0; border-radius: 14px; background: #fff; padding: 14px 16px; font-size: 16px; box-shadow: inset 0 0 0 1px rgb(var(--line)); transition: box-shadow .2s ease; }
.form-input:focus, .form-textarea:focus { box-shadow: inset 0 0 0 1.5px rgb(var(--clay)); }
.form-label { font-size: 14px; }
.form-submit { height: 54px; border-radius: 999px; background: #000; color: #fff; font-size: 16px; font-weight: 600; }
.form-submit:hover { background: rgb(var(--clay)); }
.form-context { border-radius: 14px; background: rgb(var(--clay) / 0.08); }
@media (max-width: 1080px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .contact-direct, .form-card { padding: 30px 22px; } }
.booker-wrap { border-radius: var(--r-card); background: rgb(var(--bg-soft)); padding: 40px; }
.booker-wrap .section-head { margin-bottom: 28px; }
.booker-skeleton { border: 0; border-radius: 20px; box-shadow: 0 0 0 1px rgb(var(--line)); }
@media (max-width: 760px) { .booker-wrap { padding: 20px 12px; } }

/* Terms */
.doc { max-width: 760px; margin: 56px auto 0; }
.doc h2 { margin-top: 48px; font-size: 24px; letter-spacing: -0.02em; }
.doc h3 { margin-top: 28px; font-size: 18px; }
.doc p, .doc li { margin-top: 12px; font-size: 16px; line-height: 1.75; color: rgb(var(--ink-soft)); }
.doc ul { list-style: disc; padding-left: 1.2em; }
.doc ol { list-style: decimal; padding-left: 1.3em; }
.doc a { color: rgb(var(--clay)); text-decoration: underline; text-underline-offset: 3px; }
.doc strong { color: rgb(var(--ink)); font-weight: 600; }

/* 404 */
.lost { min-height: 560px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.lost .hero-btns { margin-top: 36px; }

/* Legal page details */
.text-soft { color: rgb(var(--ink-soft)); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-meta span { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: rgb(var(--bg-soft)); font-size: 13px; font-weight: 500; color: rgb(var(--ink-soft)); }
.legal-toc { margin-top: 32px; padding: 28px 32px; border-radius: 28px; background: rgb(var(--bg-soft)); }
.legal-toc ol { list-style: none; padding: 0; counter-reset: toc; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.legal-toc li { counter-increment: toc; margin: 0; font-size: 15px; line-height: 1.5; }
.legal-toc a { display: block; padding: 6px 0; color: rgb(var(--ink)); text-decoration: none; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero) "  "; color: rgb(var(--clay)); font-weight: 600; font-variant-numeric: tabular-nums; margin-right: 8px; }
.legal-toc a:hover { color: rgb(var(--clay)); }
.doc .clause { scroll-margin-top: 96px; }
.doc .clause h2 { margin-top: 56px; }
.doc .todo { padding: 1px 7px; border-radius: 6px; background: rgb(var(--clay) / 0.08); color: rgb(var(--clay-deep)); font-size: 0.9em; font-weight: 500; }
@media (max-width: 640px) { .legal-toc { padding: 22px; } .legal-toc ol { grid-template-columns: 1fr; } }

/* Contact buttons carry full-size icons */
.contact-channels .btn svg { width: 18px; height: 18px; }

/* 404 */
.hero.lost { min-height: 560px; }
.hero.lost .display { margin-bottom: 0; }
.next-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.next-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 36px; border-radius: var(--r-card); background: rgb(var(--bg-soft)); transition: transform .3s var(--ease), box-shadow .3s ease; }
.next-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(40, 12, 22, 0.3); }
.next-card h3 { font-size: 26px; letter-spacing: -0.02em; }
.next-card p { font-size: 15px; line-height: 1.6; color: rgb(var(--ink-soft)); }
.next-card span { margin-top: auto; color: rgb(var(--clay)); font-weight: 600; }
@media (max-width: 900px) { .next-grid { grid-template-columns: 1fr; } .next-card { min-height: 0; } }
.contact-trust-item { display: block; }
.contact-channels .btn { white-space: normal; height: auto; min-height: 56px; padding-block: 12px; text-align: left; line-height: 1.3; }
@media (max-width: 1080px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.nav-sheet .navbar-lang a { display: inline-block; padding: 6px 8px; border: 0; font-size: 15px; }
.nav-sheet a.btn { display: flex; justify-content: center; padding: 0 24px; border: 0; font-size: 15px; color: #fff; }

/* ===== Living surfaces: the CTA and footer band get the hero's dot field ===== */
.cta { --mx: 50%; --my: 40%; }
.cta-dither, .foot-dither { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-dither { z-index: -1; }
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 228, 214, 0.28), transparent 60%);
  opacity: 0; transition: opacity .5s ease;
}
.cta.is-lit::after { opacity: 1; }
.cta .h2 { font-size: clamp(42px, 4.6vw, 64px); }
.cta-btns .btn { height: 48px; padding: 0 24px; font-size: 15px; }
.foot-dither { z-index: 0; opacity: .7; }

/* ===== Why Fluia ===== */
.why .pair { margin-top: 40px; }
.why .pair-card { min-height: 520px; }
.why .pair-card .why-text { max-width: 26em; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: rgb(var(--ink)); letter-spacing: -0.01em; }
.why .pair-card .why-text + .why-text { margin-top: 20px; color: rgb(var(--ink-soft)); }
.why-quote { margin: 0; }
.why-quote blockquote { margin-top: 28px; }
.why-quote blockquote p { margin-top: 0; max-width: 24em; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.45; font-weight: 500; letter-spacing: -0.015em; color: #fff; }
.why-quote figcaption { margin-top: auto; padding-top: 36px; display: flex; align-items: center; gap: 14px; }
.why-quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.why-quote figcaption b { display: block; font-size: 15px; font-weight: 600; color: #fff; }
.why-quote figcaption span { font-size: 14px; color: rgb(161 161 170); }
/* a quiet lift on hover (Why Fluia exists, Where to begin); uses translate so it never fights the scroll-in transform */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .why .pair .pair-card, #begin .pair .pair-card { transition: opacity .7s var(--ease), transform .7s var(--ease), translate .6s var(--ease), box-shadow .6s var(--ease); }
  .why .pair .pair-card:hover, #begin .pair .pair-card:hover { translate: 0 -4px; }
  .why .pair .pair-light:hover, #begin .pair .pair-light:hover { box-shadow: inset 0 0 0 1px transparent, 0 24px 50px -30px rgba(40, 12, 22, 0.28); }
  .why .pair .pair-dark:hover, #begin .pair .pair-dark:hover { box-shadow: 0 24px 50px -28px rgba(20, 8, 12, 0.55); }
  .why-quote figcaption img { transition: scale .6s var(--ease); }
  .why-quote:hover figcaption img { scale: 1.06; }
}
@media (max-width: 1080px) { .why .pair-card { min-height: 0; } }

/* ===== About: the team card ===== */
.about-head .eyebrow { display: block; margin-bottom: 18px; }
.about-head .h2 { max-width: 12em; }
.team {
  position: relative; isolation: isolate; overflow: hidden; margin-top: 48px;
  display: grid; grid-template-columns: 1fr 1fr; border-radius: 40px; color: #fff;
  background:
    radial-gradient(55% 75% at 0% 0%, rgba(138, 47, 67, 0.42), transparent 62%),
    radial-gradient(50% 70% at 100% 100%, rgba(176, 74, 96, 0.30), transparent 60%),
    rgb(var(--ink));
}
.team-dither { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.55; }
.member { display: flex; flex-direction: column; gap: 28px; padding: 56px; transition: opacity .45s ease; }
.member + .member { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.team:has(.member:hover) .member:not(:hover) { opacity: 0.45; }
.member-top { display: grid; grid-template-columns: 168px 1fr; gap: 28px; align-items: center; }
.member-photo {
  width: 168px; height: 168px; border-radius: 50%; padding: 4px;
  background: conic-gradient(from 210deg, rgb(138 47 67), rgb(244 201 211), rgb(176 74 96), rgb(138 47 67));
  box-shadow: 0 24px 60px -18px rgba(176, 74, 96, 0.7);
  transition: transform .6s var(--ease), box-shadow .6s ease;
}
.member-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid rgb(var(--ink)); }
.member:hover .member-photo { transform: scale(1.05) rotate(-2deg); box-shadow: 0 30px 80px -16px rgba(176, 74, 96, 0.9); }
.member-role { font-size: 14px; font-weight: 500; color: rgb(244 201 211); }
.member h3 { margin-top: 8px; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -0.03em; }
.member-links { display: flex; gap: 8px; margin-top: 18px; }
.member-links a {
  height: 36px; min-width: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  font-size: 13px; font-weight: 600; transition: background-color .2s ease, color .2s ease;
}
.member-links a:last-child { padding: 0; }
.member-links a:hover { background: #fff; color: rgb(var(--ink)); }
.member-links svg { width: 14px; height: 14px; }
.member-bio { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.72); max-width: 36em; }
.member-bg { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.member-bg > span { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.member-bg ul { display: flex; flex-wrap: wrap; gap: 6px; }
.member-bg li { height: 28px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.86); }
@media (max-width: 1080px) {
  .team { grid-template-columns: 1fr; }
  .member + .member { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .team:has(.member:hover) .member:not(:hover) { opacity: 1; }
}
@media (max-width: 640px) {
  .team { border-radius: 28px; }
  .member { padding: 32px 24px; gap: 22px; }
  .member-top { grid-template-columns: 104px 1fr; gap: 18px; }
  .member-photo { width: 104px; height: 104px; padding: 3px; }
}

/* Where to begin has no visible heading, so its cards start where a heading would */
#begin .pair { margin-top: 0; }
/* each way in ends on its own next step; the ticks follow the text */
#begin .pair-card { min-height: 0; padding: 48px; }
#begin .pair-card h3 { margin-top: 18px; }
#begin .pair-card p { margin-top: 14px; }
#begin .ticks { margin-top: 0; padding-top: 28px; }
.begin-go { margin-top: auto; padding-top: 36px; }
.begin-go .btn { gap: 10px; }
.begin-go .btn svg { width: 11px; height: 11px; transition: transform .3s var(--ease); }
.begin-go .btn:hover svg { transform: translate(2px, -2px); }
@media (max-width: 760px) { #begin .pair-card { padding: 32px 26px; } .begin-go .btn { width: 100%; justify-content: center; } }

/* ===== About: founder cards (live version) ===== */
.founders { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.founder { border-radius: var(--r-card); background: rgb(var(--bg-soft)); padding: 16px; display: grid; grid-template-columns: 220px 1fr; gap: 28px; }
.founder-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: rgb(var(--bg-sunk)); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-body { padding: 18px 16px 14px 0; display: flex; flex-direction: column; }
.founder-role { font-size: 14px; font-weight: 500; color: rgb(var(--clay)); }
.founder h3 { margin-top: 8px; font-size: 28px; letter-spacing: -0.025em; }
.founder p { margin-top: 14px; font-size: 15px; line-height: 1.65; color: rgb(var(--ink-soft)); }
.socials { display: flex; gap: 8px; margin-top: auto; padding-top: 20px; }
.socials a { height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; border-radius: 999px; background: #000; color: #fff; font-size: 13px; font-weight: 600; transition: background-color .2s ease; }
.socials a:hover { background: rgb(var(--clay)); }
.socials svg { width: 14px; height: 14px; }
/* certifications as small round badges after the social links, each linking
   to that founder's certifications on LinkedIn */
.socials { align-items: center; }
.cf-sep { width: 1px; height: 22px; background: rgb(var(--line)); margin: 0 4px; }
.socials a.cf-badge { position: relative; width: 36px; height: 36px; padding: 0; gap: 0; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgb(var(--line)); transition: box-shadow .25s ease; }
.socials a.cf-badge:hover, .socials a.cf-badge:focus-visible { background: #fff; box-shadow: 0 0 0 1px rgb(var(--ink) / .25), 0 8px 20px -10px rgba(40, 12, 22, .4); }
.cf-badge img { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; }
.cf-badge em { position: absolute; bottom: calc(100% + 8px); left: 50%; white-space: nowrap; font-style: normal; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 10px; background: rgb(var(--ink)); color: #fff; opacity: 0; transform: translate(-50%, 4px); pointer-events: none; transition: opacity .2s ease, transform .3s var(--ease); }
.cf-badge:hover em, .cf-badge:focus-visible em { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1180px) { .founders { grid-template-columns: 1fr; } }
@media (max-width: 1080px) { .about-head { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; } .founder-photo { aspect-ratio: 1; } .founder-body { padding: 6px 10px 12px; } }

/* ===== Nav: home sections on the left of a divider, separate pages on the right ===== */
.nav-divider { width: 1px; height: 20px; margin: 0 8px; background: rgb(var(--line)); }
.nav-links > a.nav-page { gap: 6px; color: rgb(var(--ink-soft)); }
.nav-links > a.nav-page svg { width: 11px; height: 11px; opacity: .7; transition: transform .2s var(--ease); }
.nav-links > a.nav-page:hover svg { transform: translate(2px, -2px); }
.nav-links > a.nav-page[aria-current="page"] svg { opacity: 1; }
.nav-sheet .nav-sheet-label { display: block; margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: rgb(var(--ink-mute)); }
.nav-sheet a.nav-page { display: flex; justify-content: space-between; align-items: center; }
.nav-sheet a.nav-page svg { width: 12px; height: 12px; opacity: .6; }
.nav-links > a.nav-page[aria-current="page"] { color: #fff; }

/* ===== Focus: editorial bands (outcome on the left, areas on the right) ===== */
.fx { margin-top: 36px; border-top: 1px solid rgb(var(--line)); }
.fx-band { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr); gap: 48px; align-items: center; padding: 32px 0; border-bottom: 1px solid rgb(var(--line)); }
.fx-label { text-align: center; font-size: clamp(38px, 3.8vw, 54px); line-height: 1.06; font-weight: 500; letter-spacing: -0.03em; color: rgb(var(--clay-deep)); text-wrap: balance; }
.fx-items { display: grid; }
.fx-item {
  position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 20px; padding: 24px 28px; border-radius: 20px;
  transition: background-color .35s ease, box-shadow .35s ease, transform .35s var(--ease);
}
.fx-item + .fx-item::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 1px; background: rgb(var(--line)); transition: opacity .25s ease; }
.fx-item:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 22px 44px -24px rgba(40, 12, 22, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.04); }
.fx-item:hover::before, .fx-item:hover + .fx-item::before { opacity: 0; }
.fx-icon { color: rgb(var(--clay)); padding-top: 2px; }
.fx-icon svg { width: 22px; height: 22px; display: block; }
.fx-item h4 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.fx-item p { margin-top: 6px; font-size: 15.5px; line-height: 1.6; color: rgb(var(--ink-soft)); max-width: 46em; }
#focus { --hover-bg: rgb(var(--bg-soft)); }
#focus .fx-item:hover { background: rgb(var(--bg-soft)); }
@media (max-width: 900px) {
  .fx-band { grid-template-columns: 1fr; gap: 12px; padding: 28px 0 16px; }
  .fx-label { text-align: left; }
  .fx-item { padding: 20px 14px; }
  .fx-item + .fx-item::before { left: 14px; right: 14px; }
}

/* ===== Process: the timeline bar ===== */
.pc { margin-top: 48px; border-radius: 40px; background: rgb(var(--bg-soft)); padding: 48px; }
.pc-track { display: grid; grid-template-columns: 0.55fr 1.3fr 2.4fr 1fr; gap: 6px; }
.pc-seg { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pc-seg small { font-size: 13px; font-weight: 600; color: rgb(var(--ink-faint)); white-space: nowrap; }
.pc-seg i { display: block; height: 14px; border-radius: 999px; background: linear-gradient(90deg, rgb(var(--clay)), rgb(var(--glow))); transform-origin: left center; }
.pc-seg:nth-child(2) i { background: linear-gradient(90deg, rgb(var(--glow)), rgb(198 120 140)); }
.pc-seg:nth-child(3) i { background: linear-gradient(90deg, rgb(198 120 140), rgb(226 170 184)); }
.pc-seg:nth-child(4) i { background: rgb(var(--ink)); }
/* the bar fills in, stage by stage, as the card comes into view */
html.js .pc .pc-seg i { transform: scaleX(0); transition: transform .9s var(--ease); }
html.js .pc.is-visible .pc-seg i { transform: scaleX(1); }
html.js .pc.is-visible .pc-seg:nth-child(2) i { transition-delay: .25s; }
html.js .pc.is-visible .pc-seg:nth-child(3) i { transition-delay: .5s; }
html.js .pc.is-visible .pc-seg:nth-child(4) i { transition-delay: .85s; }
.pc-cards { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pc-card { background: #fff; border-radius: 26px; padding: 28px; }
.pc-card .step-num { font-size: 13px; }
.pc-card h3 { margin-top: 18px; font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.pc-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: rgb(var(--ink-soft)); }
.pc-card.dark { background: rgb(var(--ink)); color: #fff; }
.pc-card.dark p { color: rgba(255, 255, 255, 0.7); }
.pc-card.dark .step-num { color: rgb(244 201 211); }
@media (max-width: 1080px) { .pc-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .pc { padding: 28px 18px; border-radius: 28px; }
  .pc-track { grid-template-columns: 0.8fr 1.3fr 2fr 1.1fr; }
  .pc-seg small { font-size: 11px; white-space: normal; }
  .pc-cards { grid-template-columns: 1fr; }
}
/* Focus: same sleek ink type as the rest of the site, not the old oxblood labels */
.fx-label { color: rgb(var(--ink)); font-weight: 600; font-size: clamp(32px, 3.3vw, 48px); letter-spacing: -0.035em; line-height: 1.05; }
.fx-item h4 { font-weight: 600; letter-spacing: -0.015em; color: rgb(var(--ink)); }

/* ===== Plus Jakarta Sans: tracking retuned (Inter's tight values crowd it) ===== */
body { letter-spacing: 0.002em; }
.nav-links > a, .nav-trigger, .navbar-lang, .btn, .foot-col a, .meta li { letter-spacing: 0.005em; }
.display { letter-spacing: -0.025em; }
.h2 { letter-spacing: -0.028em; }
.brand { letter-spacing: -0.03em; }
.lede, .pair-card p, .member-bio, .fx-item p, .faq-list details p { letter-spacing: 0; }

/* ===== Focus: a single line, between the two outcomes ===== */
.fx { border-top: 0; margin-top: 24px; }
.fx-band { border-bottom: 0; padding: 48px 0; }
.fx-band + .fx-band { border-top: 1px solid rgb(var(--line)); }

/* ===== Phone polish ===== */
@media (max-width: 640px) {
  .example-card-heading-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .booker-wrap { padding: 26px 12px 14px; }
  .booker-wrap .section-head { padding-inline: 10px; margin-bottom: 18px; }
  .foot-col a { padding: 8px 0; }
  .pc-seg small { font-size: 11.5px; }
  .tiles-stats { gap: 16px 32px; }
}
@media (max-width: 900px) { .hero-facts { grid-template-columns: 1fr; gap: 12px; } }
.hero-kicker::before { content: none; }

/* Contact: the dark card mirrors the writing card row for row, so both stay
   the same height and every row lines up straight across */
.contact-grid { align-items: stretch; }
.contact-grid > div:last-child { display: flex; flex-direction: column; }
.contact-grid > div:last-child .form-card { flex: 1; }
.form-card.contact-direct { background: rgb(var(--ink)); color: #fff; }
.form-card.contact-direct h2 { color: #fff; }
.contact-direct [data-form-head] > p { color: rgba(255, 255, 255, 0.72); }
.contact-row { text-decoration: none; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.contact-row .form-route-text strong { color: #fff; }
.contact-row .form-route-text > span { color: rgba(255, 255, 255, 0.6); }
.contact-row svg { color: rgba(255, 255, 255, 0.8); }
.contact-row:hover { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.contact-row-main { background: #fff; box-shadow: none; }
.contact-row-main .form-route-text strong { color: rgb(var(--ink)); }
.contact-row-main .form-route-text > span { color: rgb(var(--ink-faint)); }
.contact-row-main svg { color: rgb(var(--clay)); }
.contact-row-main:hover { background: #fff; box-shadow: 0 0 0 1.5px rgba(255, 207, 176, 0.6); }
.contact-row-note { margin: 0; cursor: default; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.contact-row-note .form-route-text strong { color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.contact-row-note:hover { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); transform: none; }
@media (max-width: 1080px) { .contact-grid { align-items: start; } }
