/* =====================================================================
   APPLIED AUTOMATIONS — Design System & Styles
   Static site. No build step.
   Sections: 1 Tokens · 2 Reset/Base · 3 Typography · 4 Layout
   5 Buttons · 6 Header/Nav · 7 Hero · 8 Trust strip · 9 Section heads
   10 Solutions · 11 Automations · 12 Offer · 13 How it works
   14 Bento use-cases · 15 Demo · 16 Integrations · 17 Trust/Proof
   18 Engagements · 19 FAQ · 20 Final CTA/Form · 21 Footer
   22 Utilities/motion · 23 Responsive
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand — navy from logo */
  --navy: #004E98;
  --navy-600: #0A5AA8;
  --navy-700: #004E98;
  --navy-800: #003F7D;
  --navy-900: #002F5E;

  /* Semantic accents (each also paired with an icon + label — never color alone) */
  --accent: #F5A524;          /* amber — CTA emphasis + human-review */
  --accent-600: #E1900E;
  --accent-100: #FDF1D8;
  --ai: #0E9F90;              /* teal — AI-assisted */
  --ai-100: #DDF3F0;
  --rule: #2C6AB0;           /* blue — rule/system */
  --rule-100: #E4EEF9;

  /* Ink & neutrals */
  --ink: #0C1C2E;
  --ink-2: #24384C;
  --muted: #55697E;
  --muted-2: #7C8EA1;
  --line: #E3EAF2;
  --line-2: #D4DEEA;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-alt: #F4F8FC;
  --bg-3: #ECF2FA;
  --footer: #0A1B2C;
  --footer-2: #0F2740;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --pill: 999px;

  /* Shadows (soft, layered, navy-tinted) */
  --sh-xs: 0 1px 2px rgba(10,27,44,.06);
  --sh-sm: 0 2px 8px rgba(10,27,44,.06), 0 1px 2px rgba(10,27,44,.05);
  --sh: 0 12px 30px -12px rgba(10,27,44,.18), 0 4px 10px -6px rgba(10,27,44,.10);
  --sh-lg: 0 30px 60px -24px rgba(10,27,44,.30), 0 10px 22px -14px rgba(10,27,44,.16);
  --sh-accent: 0 12px 26px -10px rgba(245,165,36,.5);
  --sh-navy: 0 14px 30px -12px rgba(0,63,125,.45);

  /* Type */
  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 6vw, 6rem);
  --header-h: 77px;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .16s;
  --t: .28s;
  --t-slow: .5s;
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
svg { fill: none; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* Anchor offset: small value so a jumped-to section's top padding tucks partly
   behind the sticky header, leaving a tidy gap instead of a large empty band. */
:target { scroll-margin-top: 2.5rem; }
section[id] { scroll-margin-top: 2.5rem; }
span[id]#top { scroll-margin-top: 0; }

::selection { background: var(--navy); color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--r-xs); font-weight: 600; transition: top var(--t);
}
.skip-link:focus { top: 12px; }

.visually-hidden, .sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 700; letter-spacing: -.015em; }
h4 { font-size: 1rem; font-weight: 700; }
p { color: var(--ink-2); }

.eyebrow, .kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: .5rem;
}
.kicker { color: var(--accent-600); margin-bottom: .9rem; }
.kicker--light { color: var(--accent); }
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-100);
}
.grad {
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy-600) 60%, var(--ai) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 4. LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.bg-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

/* ---------- 5. BUTTONS ---------- */
.btn {
  --btn-py: .85rem; --btn-px: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .96rem;
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease),
              background-color var(--t), color var(--t), border-color var(--t);
  white-space: nowrap; line-height: 1;
}
.btn svg { flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { --btn-py: .62rem; --btn-px: 1.05rem; font-size: .88rem; }
.btn-lg { --btn-py: 1.05rem; --btn-px: 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--sh-navy); }
.btn-primary:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(0,63,125,.55); }

.btn-accent { background: var(--accent); color: #3a2a05; box-shadow: var(--sh-accent); }
.btn-accent:hover { background: var(--accent-600); color: #2a1e03; transform: translateY(-2px); }

.btn-outline { background: #fff; color: var(--navy); border-color: var(--line-2); box-shadow: var(--sh-xs); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy-800); transform: translateY(-2px); box-shadow: var(--sh-sm); }

.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--navy); background: var(--bg-3); }

/* ---------- 6. HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header[data-elevated="true"] {
  background: rgba(255,255,255,.9);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -14px rgba(10,27,44,.4);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 38px; width: auto; }
.primary-nav { margin-left: .5rem; }
.primary-nav ul { display: flex; gap: .35rem; }
.primary-nav a {
  display: inline-block; padding: .55rem .85rem; border-radius: var(--r-xs);
  font-weight: 600; font-size: .95rem; color: var(--ink-2);
  transition: color var(--t-fast), background var(--t-fast);
}
.primary-nav a:hover { color: var(--navy); background: var(--bg-3); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-xs); margin-left: auto; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  margin: 5px auto; transition: transform var(--t), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 76px; left: 0; right: 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 1rem var(--gutter) 1.5rem; box-shadow: var(--sh);
  transform: translateY(-8px); opacity: 0; transition: opacity var(--t), transform var(--t);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.open { opacity: 1; transform: translateY(0); }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a { padding: .95rem .4rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
.mobile-nav-actions { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.1rem; }
.mobile-nav-scrim { position: fixed; inset: 76px 0 0; background: rgba(10,27,44,.35); z-index: 98; }
.mobile-nav-scrim[hidden] { display: none; }

/* ---------- 7. HERO ---------- */
.hero { position: relative; padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .grid-lines {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(to right, rgba(0,78,152,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,78,152,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(120% 90% at 78% 12%, #000 0%, transparent 65%);
  mask-image: radial-gradient(120% 90% at 78% 12%, #000 0%, transparent 65%);
}
.hero-glow {
  position: absolute; top: -18%; right: -8%; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(14,159,144,.16), transparent 62%),
              radial-gradient(circle at 40% 40%, rgba(0,78,152,.16), transparent 60%);
  filter: blur(6px);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.eyebrow { margin-bottom: 1.4rem; }
.hero h1 { margin-bottom: 1.4rem; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--muted); max-width: 34em; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.6rem; }
.hero-statement { font-size: .98rem; color: var(--ink-2); margin-bottom: 1.6rem; }
.hero-statement strong { font-family: var(--font-display); }
.hero-statement span { color: var(--line-2); margin-inline: .35rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--muted); }
.hero-badges svg { width: 18px; height: 18px; color: var(--ai); background: var(--ai-100); border-radius: 50%; padding: 3px; }

/* Hero visual board */
.hero-visual { position: relative; }
.board {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 1.25rem; position: relative; z-index: 2;
}
.board-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.board-title { display: flex; flex-direction: column; gap: .15rem; }
.board-name { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; }
.board-meta { font-size: .8rem; color: var(--muted-2); font-weight: 500; }
.demo-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  color: var(--accent-600); background: var(--accent-100);
  padding: .3rem .6rem; border-radius: var(--pill); text-transform: uppercase; white-space: nowrap;
}

.flow { display: flex; flex-direction: column; gap: .55rem; }
.flow-step {
  display: flex; align-items: center; gap: .8rem;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: .7rem .8rem; position: relative;
}
.flow-step::after {
  content: ""; position: absolute; left: 27px; bottom: -8px; width: 2px; height: 8px;
  background: var(--line-2);
}
.flow-step:last-child::after { display: none; }
.step-ico {
  flex: none; width: 34px; height: 34px; border-radius: var(--r-xs);
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line);
}
.step-ico svg { width: 19px; height: 19px; color: var(--rule); }
.flow-step[data-kind="ai"] .step-ico svg { color: var(--ai); }
.flow-step[data-kind="trigger"] .step-ico svg { color: var(--navy); }
.step-body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.step-kindtag {
  font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  width: fit-content; padding: .12rem .4rem; border-radius: 4px; margin-bottom: .1rem;
}
.kind-trigger { color: var(--navy); background: var(--rule-100); }
.kind-ai { color: var(--ai); background: var(--ai-100); }
.kind-rule { color: var(--rule); background: var(--rule-100); }
.kind-human { color: var(--accent-600); background: var(--accent-100); }
.step-label { font-weight: 700; font-size: .92rem; font-family: var(--font-display); letter-spacing: -.01em; }
.step-sub { font-size: .78rem; color: var(--muted-2); }
.step-state { margin-left: auto; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 700; }
.step-state.ok { background: var(--ai-100); color: var(--ai); }

.flow-branch { position: relative; margin-left: 2.6rem; }
.flow-branch .branch-line {
  position: absolute; left: -1.4rem; top: -12px; width: 1.4rem; height: calc(50% + 12px);
  border-left: 2px dashed var(--accent); border-bottom: 2px dashed var(--accent);
  border-bottom-left-radius: 10px;
}
.branch-card {
  display: flex; flex-direction: column; gap: .15rem;
  background: var(--accent-100); border: 1px dashed var(--accent);
  border-radius: var(--r-sm); padding: .65rem .8rem;
}

/* Floating cards */
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-lg); padding: .85rem 1rem; z-index: 3;
}
.float-card--status { top: -22px; left: -26px; width: 190px; }
.fc-row { display: flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 600; color: var(--muted); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--ai); box-shadow: 0 0 0 0 rgba(14,159,144,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(14,159,144,.5)} 70%{box-shadow:0 0 0 8px rgba(14,159,144,0)} 100%{box-shadow:0 0 0 0 rgba(14,159,144,0)} }
.fc-metric { display: flex; align-items: baseline; gap: .4rem; margin: .35rem 0 .5rem; }
.fc-metric strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); }
.fc-metric span { font-size: .78rem; color: var(--muted-2); }
.fc-bar { height: 6px; border-radius: var(--pill); background: var(--bg-3); overflow: hidden; }
.fc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--ai)); border-radius: var(--pill); }

.float-card--legend { bottom: -26px; right: -20px; display: flex; flex-direction: column; gap: .4rem; padding: .8rem .9rem; }
.float-card--legend .lg { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.sw { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.sw-rule { background: var(--rule); }
.sw-ai { background: var(--ai); }
.sw-human { background: var(--accent); }

/* ---------- 8. TRUST STRIP ---------- */
.trust-strip { background: var(--navy-900); color: #fff; }
.trust-strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.4rem; padding-block: 1.4rem; }
.ts-lead { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.02rem; margin: 0; }
.trust-strip ul { display: flex; flex-wrap: wrap; gap: .7rem 1.8rem; margin-left: auto; }
.trust-strip li { position: relative; padding-left: 1.3rem; font-size: .9rem; color: rgba(255,255,255,.82); font-weight: 500; }
.trust-strip li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- 9. SECTION HEADS ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-lede { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--muted); }
.section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: var(--container); align-items: end; }
.section-head--split .section-lede { margin-bottom: 0; }

/* ---------- 10. SOLUTIONS ---------- */
.solution-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sol-card {
  text-align: left; display: flex; flex-direction: column; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.35rem; transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t), background var(--t);
  position: relative; overflow: hidden;
}
.sol-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--navy); transform: scaleY(0); transform-origin: bottom; transition: transform var(--t) var(--ease);
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--line-2); }
.sol-card:hover::before, .sol-card.is-active::before { transform: scaleY(1); }
.sol-card.is-active { border-color: var(--navy); background: linear-gradient(180deg, #fff, var(--bg-alt)); box-shadow: var(--sh-sm); }
.sol-ico { width: 46px; height: 46px; border-radius: var(--r-xs); display: grid; place-items: center; background: var(--rule-100); color: var(--navy); transition: background var(--t), color var(--t); }
.sol-ico svg { width: 24px; height: 24px; }
.sol-card.is-active .sol-ico { background: var(--navy); color: #fff; }
.sol-name { font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; letter-spacing: -.01em; }
.sol-desc { font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* ---------- 11. AUTOMATIONS ---------- */
.auto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.auto-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.auto-card:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: var(--line-2); }
.auto-top { padding: 1.4rem 1.4rem 0; }
.auto-cat { font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); background: var(--rule-100); padding: .28rem .6rem; border-radius: var(--pill); }
.auto-name { font-family: var(--font-display); font-weight: 800; font-size: 1.24rem; letter-spacing: -.015em; margin: .85rem 0 .5rem; }
.auto-problem { font-size: .92rem; color: var(--muted); margin-bottom: 1rem; }
.auto-meta { padding: 0 1.4rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; margin-top: auto; }
.auto-line { display: flex; gap: .6rem; font-size: .86rem; }
.auto-line .al-k { flex: none; width: 74px; font-weight: 700; color: var(--muted-2); font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; padding-top: .1rem; }
.auto-line .al-v { color: var(--ink-2); }
.auto-foot { border-top: 1px solid var(--line); padding: 1rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--bg-alt); }
.auto-outcome { font-size: .84rem; color: var(--muted); }
.auto-outcome strong { color: var(--ink); font-weight: 700; }
.explore-btn {
  display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display);
  font-weight: 700; font-size: .88rem; color: var(--navy); flex: none;
}
.explore-btn svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.explore-btn:hover svg { transform: translateX(3px); }
.human-flag {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700;
  color: var(--accent-600); background: var(--accent-100); padding: .28rem .55rem; border-radius: var(--pill);
  margin-top: .3rem; width: fit-content;
}
.human-flag svg { width: 14px; height: 14px; }
.auto-empty { text-align: center; color: var(--muted); margin-top: 2rem; }
.auto-empty a { color: var(--navy); font-weight: 600; text-decoration: underline; }

/* Workflow detail dialog */
.wf-dialog { border: none; padding: 0; border-radius: var(--r-lg); max-width: 560px; width: calc(100% - 2rem); box-shadow: var(--sh-lg); color: var(--ink); }
.wf-dialog::backdrop { background: rgba(10,27,44,.5); backdrop-filter: blur(3px); }
.wf-dialog[open] { animation: dialogIn var(--t) var(--ease-out); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.wf-dialog-inner { padding: 1.6rem 1.7rem 1.8rem; }
.wf-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .3rem; }
.wf-close { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); color: var(--ink-2); flex: none; transition: background var(--t-fast); }
.wf-close:hover { background: var(--line-2); }
.wf-dialog h3 { font-size: 1.5rem; margin: .5rem 0 1.1rem; }
.wf-steps { display: flex; flex-direction: column; gap: .55rem; margin: 1rem 0 1.2rem; }
.wf-steps li { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.wf-steps .wf-badge { flex: none; margin-top: .05rem; }
.wf-badge { font-size: .64rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .18rem .45rem; border-radius: 5px; }
.wf-systems { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.wf-chip { font-size: .78rem; font-weight: 600; color: var(--ink-2); background: var(--bg-alt); border: 1px solid var(--line); padding: .3rem .6rem; border-radius: var(--pill); }
.wf-outcome { background: var(--ai-100); border-radius: var(--r-sm); padding: .85rem 1rem; font-size: .9rem; color: #0b5c53; }
.wf-outcome strong { color: #084a43; }
.wf-dl dt { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); margin-bottom: .2rem; }
.wf-dl dd { font-size: .95rem; color: var(--ink-2); margin-bottom: .9rem; }

/* ---------- 12. OFFER ---------- */
.offer { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy) 120%); color: #fff; position: relative; overflow: hidden; padding-block: clamp(4rem, 8vw, 7rem); }
.offer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 90% 10%, rgba(14,159,144,.28), transparent 55%),
              radial-gradient(60% 100% at 10% 90%, rgba(245,165,36,.18), transparent 55%);
}
.offer-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.offer h2 { color: #fff; margin-bottom: 1rem; }
.offer-lede { color: rgba(255,255,255,.85); font-size: 1.12rem; margin-bottom: 1.8rem; max-width: 34em; }
.offer-fineprint { color: rgba(255,255,255,.6); font-size: .85rem; margin-top: 1rem; }
.offer-list { display: grid; gap: .7rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 1.5rem; backdrop-filter: blur(6px); }
.offer-list li { display: flex; align-items: center; gap: .9rem; font-size: .98rem; color: rgba(255,255,255,.92); font-weight: 500; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.offer-list li:last-child { border-bottom: none; }
.offer-list .oi { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .82rem; background: rgba(245,165,36,.18); color: var(--accent); border: 1px solid rgba(245,165,36,.4); }

/* ---------- 13. HOW IT WORKS ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; position: relative; }
.step-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem; overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.step-index { position: absolute; top: 1rem; right: 1.2rem; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--bg-3); line-height: 1; letter-spacing: -.02em; }
.step-ic { width: 52px; height: 52px; border-radius: var(--r); display: grid; place-items: center; background: var(--rule-100); color: var(--navy); margin-bottom: 1.1rem; }
.step-ic svg { width: 26px; height: 26px; }
.step-card:nth-child(2) .step-ic { background: var(--ai-100); color: var(--ai); }
.step-card:nth-child(3) .step-ic { background: var(--accent-100); color: var(--accent-600); }
.step-card h3 { margin-bottom: .5rem; }
.step-card p { font-size: .92rem; color: var(--muted); margin-bottom: 1rem; }
.step-deliver { font-size: .78rem; font-weight: 700; color: var(--navy); display: inline-block; padding-top: .8rem; border-top: 1px solid var(--line); width: 100%; }

/* ---------- 14. BENTO USE CASES ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; grid-auto-flow: dense; }
.bento-cell {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem;
  grid-column: span 2; display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.bento-cell:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--line-2); }
.bento-lg { grid-column: span 3; }
.bento-wide { grid-column: span 4; }
.bento-tagrow { margin-bottom: 1rem; }
.fn-tag { font-family: var(--font-display); font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); background: var(--rule-100); padding: .3rem .65rem; border-radius: var(--pill); }
.fn-tag--onaccent { color: #3a2a05; background: rgba(255,255,255,.85); }
.bento-cell h3 { margin-bottom: .6rem; }
.bento-cell p { font-size: .93rem; color: var(--muted); margin: 0; }
.bento-accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-600) 130%); color: #3a2a05; border-color: transparent; }
.bento-accent h3, .bento-accent p { color: #3a2a05; }
.bento-accent p { color: #5a4310; }
.mini-scenario { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.ms-step { font-size: .8rem; font-weight: 600; background: var(--bg-alt); border: 1px solid var(--line); padding: .35rem .6rem; border-radius: var(--pill); color: var(--ink-2); }
.ms-step.ms-ai { background: var(--ai-100); border-color: transparent; color: #0b5c53; }
.ms-arrow { color: var(--muted-2); font-size: .8rem; }
.ba-compare { display: flex; align-items: center; gap: .7rem; margin-top: 1.3rem; }
.ba { background: rgba(255,255,255,.6); border-radius: var(--r-sm); padding: .6rem .8rem; flex: 1; }
.ba span { display: block; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #7a5c14; }
.ba strong { font-family: var(--font-display); font-size: .95rem; color: #3a2a05; }
.ba-after { background: rgba(255,255,255,.92); }
.ba-sep { color: #5a4310; font-weight: 800; }
.uc-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 2rem; max-width: 60ch; margin-inline: auto; }

/* ---------- 15. DEMO ---------- */
.demo-section { background: var(--bg-alt); border-block: 1px solid var(--line); }
.demo-shell { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh); overflow: hidden; }
.demo-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg-alt)); }
.demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.demo-switch { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: var(--ink-2); cursor: pointer; padding-left: .3rem; }
.demo-switch input { width: 18px; height: 18px; accent-color: var(--navy); cursor: pointer; }
.demo-body { display: grid; grid-template-columns: 1.4fr .9fr; gap: 0; }
.demo-flow { padding: 1.4rem; display: flex; flex-direction: column; gap: .55rem; border-right: 1px solid var(--line); }
.dstep {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .5rem .8rem;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .8rem .9rem; position: relative; transition: background var(--t), border-color var(--t), box-shadow var(--t), opacity var(--t), transform var(--t);
}
.dstep[hidden] { display: none; }
.dstep-ico { width: 36px; height: 36px; border-radius: var(--r-xs); display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.dstep-ico svg { width: 20px; height: 20px; color: var(--rule); }
.dstep[data-kind="ai"] .dstep-ico svg { color: var(--ai); }
.dstep[data-kind="trigger"] .dstep-ico svg { color: var(--navy); }
.dstep[data-kind="human"] .dstep-ico svg { color: var(--accent-600); }
.dstep-main { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.dstep-title { font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.dstep-detail { font-size: .8rem; color: var(--muted-2); }
.dstep-badge { font-size: .64rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .2rem .45rem; border-radius: 5px; white-space: nowrap; }
.dstep-status { font-size: .72rem; font-weight: 700; color: var(--muted-2); background: #fff; border: 1px solid var(--line); border-radius: var(--pill); padding: .25rem .55rem; white-space: nowrap; min-width: 68px; text-align: center; }
.dstep-review { border-style: dashed; border-color: var(--accent); background: var(--accent-100); }

/* demo states */
.dstep[data-state="active"] { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,78,152,.12); background: #fff; }
.dstep[data-state="active"] .dstep-status { color: var(--navy); border-color: var(--navy); }
.dstep[data-state="done"] .dstep-status { color: var(--ai); border-color: var(--ai-100); background: var(--ai-100); }
.dstep[data-state="review"] .dstep-status { color: var(--accent-600); border-color: var(--accent); background: #fff; }
.dstep-review[data-state="active"] { box-shadow: 0 0 0 3px rgba(245,165,36,.25); }

.demo-side { padding: 1.4rem; display: flex; flex-direction: column; background: var(--bg-alt); }
.demo-panel { flex: 1; }
.demo-panel-title { font-family: var(--font-display); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); margin-bottom: .9rem; }
.demo-log { display: flex; flex-direction: column; gap: .55rem; }
.demo-log li { font-size: .86rem; color: var(--ink-2); display: flex; gap: .55rem; align-items: flex-start; animation: logIn var(--t) var(--ease-out); }
@keyframes logIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.demo-log li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); margin-top: .45rem; }
.demo-log li.log-ai::before { background: var(--ai); }
.demo-log li.log-human::before { background: var(--accent); }
.demo-log li.log-done::before { background: var(--ai); }
.dlog-empty { color: var(--muted-2) !important; }
.dlog-empty::before { background: var(--line-2) !important; }
.dlog-time { color: var(--muted-2); font-variant-numeric: tabular-nums; font-size: .78rem; }
.demo-progress { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.dp-track { height: 8px; background: var(--bg-3); border-radius: var(--pill); overflow: hidden; }
.dp-track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy), var(--ai)); border-radius: var(--pill); transition: width var(--t-slow) var(--ease); }
.dp-text { display: block; margin-top: .55rem; font-size: .82rem; font-weight: 600; color: var(--muted); }

/* ---------- 16. INTEGRATIONS ---------- */
.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.int-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; transition: transform var(--t) var(--ease), box-shadow var(--t); }
.int-cat:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); }
.int-cat h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); font-weight: 800; margin-bottom: .9rem; }
.int-tools { display: flex; flex-wrap: wrap; gap: .45rem; }
.int-tool { font-size: .84rem; font-weight: 600; color: var(--ink-2); background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-xs); padding: .4rem .65rem; }
.int-note { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.6rem; font-size: .88rem; color: var(--muted); max-width: 68ch; }
.int-note svg { flex: none; color: var(--navy); margin-top: .1rem; }

/* ---------- 17. TRUST / PROOF ---------- */
.trust-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.trust-list { display: grid; gap: .3rem; }
.trust-list li { display: flex; align-items: center; gap: .8rem; padding: .85rem .2rem; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink-2); font-size: .98rem; }
.trust-list li:last-child { border-bottom: none; }
.trust-list svg { flex: none; width: 20px; height: 20px; color: var(--ai); background: var(--ai-100); border-radius: 50%; padding: 3px; }
.proof-story { background: linear-gradient(180deg, #fff, var(--bg-alt)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--sh-sm); }
.example-tag { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-600); background: var(--accent-100); padding: .3rem .6rem; border-radius: var(--pill); }
.proof-story h3 { margin: 1rem 0 1.3rem; }
.proof-dl { display: grid; gap: 0; }
.proof-dl > div { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.proof-dl dt { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--muted-2); }
.proof-dl dd { font-size: .95rem; color: var(--ink-2); }
.proof-disclaimer { margin-top: 1.2rem; font-size: .82rem; color: var(--muted-2); font-style: italic; }

/* ---------- 18. ENGAGEMENTS ---------- */
.eng-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; }
.eng-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem 1.6rem; transition: transform var(--t) var(--ease), box-shadow var(--t); }
.eng-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.eng-card--featured { border: 1.5px solid var(--navy); box-shadow: var(--sh); background: linear-gradient(180deg, #fff, var(--bg-alt)); }
.eng-flag { position: absolute; top: -12px; left: 1.6rem; font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--navy); padding: .32rem .7rem; border-radius: var(--pill); }
.eng-num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--accent-600); }
.eng-card h3 { margin: .5rem 0 .6rem; }
.eng-card > p { font-size: .93rem; color: var(--muted); margin-bottom: 1.2rem; }
.eng-points { display: grid; gap: .55rem; margin-bottom: 1.5rem; flex: 1; }
.eng-points li { position: relative; padding-left: 1.5rem; font-size: .9rem; color: var(--ink-2); }
.eng-points li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--ai); }
.eng-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1.8rem; max-width: 70ch; margin-inline: auto; }

/* ---------- 19. FAQ ---------- */
.faq-container { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: .7rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; transition: border-color var(--t), box-shadow var(--t); }
.faq-item[data-open="true"] { border-color: var(--line-2); box-shadow: var(--sh-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.15rem 1.3rem; font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; color: var(--ink); }
.faq-q:hover { color: var(--navy); }
.faq-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); color: var(--navy); transition: transform var(--t), background var(--t); }
.faq-icon svg { width: 16px; height: 16px; }
.faq-item[data-open="true"] .faq-icon { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq-a { overflow: hidden; height: 0; transition: height var(--t) var(--ease); }
.faq-a-inner { padding: 0 1.3rem 1.3rem; color: var(--muted); font-size: .96rem; line-height: 1.65; }

/* ---------- 20. FINAL CTA / FORM ---------- */
.final-cta { background: linear-gradient(160deg, var(--navy-900), var(--footer)); color: #fff; padding-block: clamp(4rem, 8vw, 7rem); position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 15% 20%, rgba(0,78,152,.4), transparent 55%), radial-gradient(60% 90% at 95% 90%, rgba(14,159,144,.22), transparent 55%); }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cta-copy h2 { color: #fff; margin-bottom: 1.1rem; }
.cta-lede { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 1.8rem; max-width: 34em; }
.cta-assure { display: grid; gap: .7rem; }
.cta-assure li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; color: rgba(255,255,255,.9); font-weight: 500; }
.cta-assure svg { flex: none; width: 20px; height: 20px; color: var(--ai); background: rgba(14,159,144,.2); border-radius: 50%; padding: 3px; }

.cta-form-wrap { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; }
.preview-banner { display: flex; align-items: center; gap: .6rem; background: var(--accent-100); color: #7a5c14; padding: .85rem 1.4rem; font-size: .84rem; border-bottom: 1px solid rgba(245,165,36,.35); }
.preview-banner svg { flex: none; color: var(--accent-600); }
.preview-banner strong { color: #5a4310; }
.inquiry-form { padding: 1.7rem; color: var(--ink); }
.form-legend { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; margin-bottom: 1.3rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .4rem; color: var(--ink-2); }
.field .req { color: var(--accent-600); }
.field .opt { color: var(--muted-2); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line-2); border-radius: var(--r-xs);
  background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-fast); font-size: .96rem;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,78,152,.14); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; }
.field[data-invalid="true"] input, .field[data-invalid="true"] textarea, .field[data-invalid="true"] select { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214,69,69,.12); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-65%) rotate(45deg); pointer-events: none; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; }
.field-error { display: flex; align-items: center; gap: .35rem; color: #c23838; font-size: .82rem; font-weight: 600; margin-top: .4rem; }
.field-error::before { content: "!"; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #c23838; color: #fff; font-size: .68rem; font-weight: 800; flex: none; }
.form-privacy { font-size: .8rem; color: var(--muted-2); margin: .3rem 0 1.2rem; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--r-xs); font-size: .9rem; font-weight: 600; }
.form-status[data-kind="success"] { background: var(--ai-100); color: #0b5c53; }
.form-status[data-kind="error"] { background: #fdeaea; color: #c23838; }

/* ---------- 21. FOOTER ---------- */
.site-footer { background: var(--footer); color: rgba(255,255,255,.7); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { height: 34px; width: auto; margin-bottom: 1.1rem; }
.footer-tagline { font-size: .92rem; color: rgba(255,255,255,.62); max-width: 40ch; margin-bottom: 1.4rem; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { font-size: .92rem; color: rgba(255,255,255,.66); transition: color var(--t-fast); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.footer-bottom p { font-size: .84rem; color: rgba(255,255,255,.5); margin: 0; }
.footer-legal-note { font-style: italic; }

/* ---------- 22. UTILITIES / MOTION ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }

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

/* ---------- 23. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-copy { max-width: none; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .offer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; gap: 1rem; }
  .trust-layout { grid-template-columns: 1fr; }
  .bento-lg, .bento-wide { grid-column: span 3; }
  .bento-cell { grid-column: span 3; }
}

@media (max-width: 900px) {
  .primary-nav, .header-actions { display: none; }
  .nav-toggle { display: block; }
  .auto-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-rail { grid-template-columns: repeat(2, 1fr); }
  .eng-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-flow { border-right: none; border-bottom: 1px solid var(--line); }
  .trust-strip-inner { flex-direction: column; align-items: flex-start; }
  .trust-strip ul { margin-left: 0; }
}

@media (max-width: 680px) {
  :root { --section-y: 3.6rem; }
  .header-inner { height: 66px; }
  .site-header .brand-logo { height: 32px; }
  .mobile-nav, .mobile-nav-scrim { top: 66px; }
  .mobile-nav-scrim { inset: 66px 0 0; }
  h1 { font-size: clamp(2.1rem, 8vw, 2.7rem); }
  .hero-ctas .btn { flex: 1 1 auto; }
  .auto-grid { grid-template-columns: 1fr; }
  .solution-rail {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scrollbar-width: thin;
  }
  .sol-card { scroll-snap-align: start; }
  .steps { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-cell, .bento-lg, .bento-wide { grid-column: auto; }
  .proof-dl > div { grid-template-columns: 1fr; gap: .2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .dstep { grid-template-columns: auto 1fr; grid-template-areas: "ico main" "badge status"; }
  .dstep-ico { grid-area: ico; }
  .dstep-main { grid-area: main; }
  .dstep-badge { grid-area: badge; justify-self: start; }
  .dstep-status { grid-area: status; justify-self: end; }
  .float-card--status { left: -6px; top: -14px; transform: scale(.85); transform-origin: top left; }
  .float-card--legend { right: -6px; bottom: -16px; transform: scale(.85); transform-origin: bottom right; }
}

@media (max-width: 420px) {
  .footer-inner { grid-template-columns: 1fr; }
  .demo-controls { width: 100%; }
  .demo-controls .btn { flex: 1; }
}

/* =====================================================================
   24. CX UPGRADES (added) — deliverable, benchmarks, fit, scenarios,
   readiness, security, dynamic form/confirmation
   ===================================================================== */

/* ---- 24.1 Offer deliverable preview + lock-in ---- */
.offer-deliverable {
  position: relative; margin-top: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.3rem; align-items: stretch;
}
.deliverable-card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 1.5rem; border: 1px solid rgba(255,255,255,.4);
}
.deliverable-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .3rem; }
.deliverable-tag { font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-600); background: var(--accent-100); padding: .3rem .6rem; border-radius: var(--pill); }
.deliverable-file { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; color: var(--muted-2); font-family: var(--font-display); }
.deliverable-file::before { content: ""; width: 12px; height: 14px; border: 1.5px solid var(--muted-2); border-radius: 2px; }
.deliverable-name { font-size: 1.3rem; margin: .7rem 0 1.1rem; }
.deliverable-list { display: grid; gap: .1rem; }
.deliverable-list li { display: flex; gap: .9rem; align-items: flex-start; padding: .8rem 0; border-top: 1px solid var(--line); }
.deliverable-list li:first-child { border-top: none; }
.dl-num { flex: none; width: 34px; height: 34px; border-radius: var(--r-xs); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .82rem; background: var(--rule-100); color: var(--navy); }
.dl-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: .96rem; color: var(--ink); letter-spacing: -.01em; }
.dl-sub { display: block; font-size: .84rem; color: var(--muted); margin-top: .1rem; }
.lockin-callout {
  display: flex; gap: 1rem; align-items: flex-start; align-self: stretch;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg); padding: 1.4rem; backdrop-filter: blur(6px);
}
.lockin-ico { flex: none; width: 46px; height: 46px; border-radius: var(--r); display: grid; place-items: center; background: rgba(245,165,36,.16); color: var(--accent); border: 1px solid rgba(245,165,36,.35); }
.lockin-ico svg { width: 24px; height: 24px; }
.lockin-title { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #fff; margin-bottom: .4rem; }
.lockin-text { color: rgba(255,255,255,.82); font-size: .92rem; margin: 0; }
.lockin-text strong { color: #fff; }

/* ---- 24.2 Engagement benchmarks + fit grid ---- */
.eng-bench { display: flex; gap: .55rem; align-items: flex-start; margin: 0 0 1.1rem; padding: .7rem .85rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-xs); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.eng-card--featured .eng-bench { background: rgba(0,78,152,.06); border-color: rgba(0,78,152,.18); }
.eng-bench svg { flex: none; width: 17px; height: 17px; color: var(--navy); margin-top: 1px; }
.eng-bench span { line-height: 1.45; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 1.8rem; }
.fit-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.fit-good { border-color: rgba(14,159,144,.35); background: linear-gradient(180deg, var(--ai-100), #fff 60%); }
.fit-bad { border-color: var(--line-2); }
.fit-col h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; margin-bottom: 1rem; }
.fit-ico { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.fit-good .fit-ico { background: var(--ai); color: #fff; }
.fit-bad .fit-ico { background: var(--bg-3); color: var(--muted); }
.fit-col ul { display: grid; gap: .7rem; }
.fit-col li { position: relative; padding-left: 1.4rem; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.fit-col li::before { content: ""; position: absolute; left: 0; top: .5rem; width: 7px; height: 7px; border-radius: 50%; }
.fit-good li::before { background: var(--ai); }
.fit-bad li::before { background: var(--muted-2); }

/* ---- 24.3 Demo scenario tabs ---- */
.demo-scenarios { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.scenario-tab {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .7rem 1.1rem; border-radius: var(--pill);
  background: #fff; border: 1.5px solid var(--line-2); color: var(--ink-2);
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  transition: background var(--t), border-color var(--t), color var(--t), box-shadow var(--t), transform var(--t-fast);
}
.scenario-tab:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }
.scenario-tab .scenario-ico { display: grid; place-items: center; }
.scenario-tab .scenario-ico svg { width: 18px; height: 18px; }
.scenario-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--sh-navy); }

/* ---- 24.4 Security panel ---- */
.security-panel { margin-top: clamp(2rem, 4vw, 3rem); background: linear-gradient(160deg, var(--navy-900), var(--footer)); color: #fff; border-radius: var(--r-xl); padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden; }
.security-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 90% 0%, rgba(14,159,144,.25), transparent 55%); pointer-events: none; }
.security-head { position: relative; display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.security-head h3 { color: #fff; }
.security-head .kicker { color: var(--accent); }
.security-ico { flex: none; width: 52px; height: 52px; border-radius: var(--r); display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--ai); }
.security-ico svg { width: 28px; height: 28px; }
.security-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.security-grid li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 1.3rem; }
.sec-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-xs); background: rgba(14,159,144,.16); color: var(--ai); margin-bottom: .9rem; }
.sec-ico svg { width: 22px; height: 22px; }
.security-grid h4 { color: #fff; font-size: 1.02rem; margin-bottom: .5rem; }
.security-grid p { color: rgba(255,255,255,.75); font-size: .89rem; margin: 0; }

/* ---- 24.5 Readiness self-assessment ---- */
.readiness-container { max-width: 780px; }
.text-center-head { margin-inline: auto; text-align: center; }
.text-center-head .kicker { justify-content: center; }
.readiness-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh); padding: clamp(1.4rem, 3vw, 2rem); }
.readiness-card fieldset { border: none; display: grid; gap: .6rem; }
.check-row { display: flex; align-items: center; gap: .9rem; padding: .95rem 1.05rem; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.check-row:hover { border-color: var(--line-2); background: var(--bg-alt); }
.check-row:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,78,152,.14); }
.check-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line-2); display: grid; place-items: center; transition: background var(--t-fast), border-color var(--t-fast); }
.check-box::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) scale(0); transform-origin: center; transition: transform var(--t-fast) var(--ease-out); margin-top: -2px; }
.check-row input:checked ~ .check-box { background: var(--navy); border-color: var(--navy); }
.check-row input:checked ~ .check-box::after { transform: rotate(-45deg) scale(1); }
.check-row:has(input:checked) { border-color: var(--navy); background: rgba(0,78,152,.04); }
.check-text { font-size: .96rem; font-weight: 500; color: var(--ink-2); }
.readiness-result { margin-top: 1.3rem; }
.readiness-idle { text-align: center; color: var(--muted-2); font-size: .9rem; margin: 0; }
.readiness-badge { display: flex; align-items: flex-start; gap: .8rem; padding: 1.1rem 1.2rem; border-radius: var(--r); font-size: .95rem; animation: logIn var(--t) var(--ease-out); }
.readiness-badge svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.readiness-badge strong { display: block; font-family: var(--font-display); margin-bottom: .15rem; }
.readiness-badge a { font-weight: 700; text-decoration: underline; }
.readiness-badge--ready { background: var(--ai-100); color: #0b5c53; }
.readiness-badge--ready svg { color: var(--ai); }
.readiness-badge--ready a { color: #084a43; }
.readiness-badge--needs { background: var(--accent-100); color: #7a5c14; }
.readiness-badge--needs svg { color: var(--accent-600); }
.readiness-badge--needs a { color: #5a4310; }

/* ---- 24.6 Dynamic form confirmation ---- */
.form-confirm { padding: 2rem 1.7rem 1.8rem; text-align: center; }
.confirm-ico { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ai-100); color: var(--ai); margin-bottom: 1rem; }
.confirm-ico svg { width: 34px; height: 34px; }
.confirm-title { font-size: 1.5rem; margin-bottom: .5rem; }
.confirm-text { color: var(--muted); margin-bottom: 1.5rem; }
.confirm-booking { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; }
.confirm-booking > p { font-size: .92rem; color: var(--ink-2); margin-bottom: 1rem; }
.confirm-note { font-size: .78rem; color: var(--muted-2); margin: .7rem 0 0; }
.confirm-reset { margin-top: 1.2rem; font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--navy); text-decoration: underline; }
.confirm-reset:hover { color: var(--navy-800); }

/* ---- 24.7 Responsive for CX upgrades ---- */
@media (max-width: 1080px) {
  .offer-deliverable { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .fit-grid { grid-template-columns: 1fr; }
  .scenario-tab { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 680px) {
  .scenario-tab { flex: 1 1 100%; }
  .deliverable-list li { padding: .7rem 0; }
}
