/* =========================================================
   Human-Centric AI — site styles
   Calm, editorial layout: warm off-white canvas, large light
   headlines, "dawn sky" gradient stages holding animated
   product mock-ups. Brand navy from the logo.
   ========================================================= */
:root {
  --bg: #f3f1ec;
  --paper: #ffffff;
  --ink: #0b1b36;
  --ink-2: #2a3550;
  --muted: #5f6878;
  --line: #e0ddd5;
  --navy: #0b1b36;
  --navy-2: #16295a;
  --blue: #3e63dd;
  --violet: #7a5af8;
  --sun: #f5a524;
  --peach: #f28c38;
  --radius: 28px;
  --shadow-ui: 0 1px 1px rgba(11, 27, 54, .04), 0 24px 60px -24px rgba(11, 27, 54, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --head: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 400; line-height: 1.1; letter-spacing: -.03em; }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; }
p { margin: 0 0 1em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Coloured phrase in headlines */
.grad {
  background: linear-gradient(90deg, var(--blue), var(--violet) 55%, var(--peach));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font: 500 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  padding: 1em 1.5em; border-radius: 12px; border: 0;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -10px rgba(11, 27, 54, .7); }
.btn--primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn--text { color: var(--ink); padding-inline: .6em; }
.btn--text span { transition: transform .25s var(--ease); }
.btn--text:hover span { transform: translateX(4px); }
.btn--sm { padding: .72em 1.1em; font-size: .92rem; border-radius: 10px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 241, 236, .78);
  backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.02rem var(--head); letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; }
.nav__menu { display: flex; gap: 28px; margin-left: auto; }
.nav__menu a { text-decoration: none; color: var(--ink-2); font-size: .95rem; transition: color .2s; }
.nav__menu a:hover { color: var(--blue); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 88px) 0 40px; }
.hero__copy { max-width: 880px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px;
  font-size: .85rem; font-weight: 500; color: var(--ink-2);
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--peach); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(242, 140, 56, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(242, 140, 56, 0); } }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 640px; margin: 8px auto 32px; }
.hero__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }

/* ---------- Dawn gradient stages ---------- */
.dawn {
  --a: #9db8ff; --b: #c9b6ff; --c: #ffcaa6; --d: #ffe6ad;
  background:
    radial-gradient(60% 80% at 15% 20%, var(--a), transparent 60%),
    radial-gradient(50% 70% at 85% 10%, var(--b), transparent 60%),
    radial-gradient(60% 70% at 80% 95%, var(--c), transparent 60%),
    radial-gradient(50% 60% at 20% 100%, var(--d), transparent 60%),
    linear-gradient(135deg, #8aa7f5, #b9a6f7 50%, #f7b98f);
  background-size: 160% 160%;
  animation: drift 18s ease-in-out infinite alternate;
}
.dawn--b { --a: #ffd2b0; --b: #a9c0ff; --c: #c7b2ff; --d: #fff0c4; }
.dawn--c { --a: #c4b5ff; --b: #9fd0ff; --c: #ffd6b8; --d: #b8c8ff; }
.dawn--d { --a: #ffe2a8; --b: #ffb79a; --c: #a6bcff; --d: #d5c4ff; }
.dawn--e { --a: #a7c4ff; --b: #ffd0b5; --c: #cbb8ff; --d: #ffe9b3; }
@keyframes drift { to { background-position: 100% 100%; } }

.stage { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, .45), transparent 60%);
}

/* Hero stage */
.stage--hero {
  margin-top: clamp(40px, 5vw, 64px); height: clamp(440px, 52vw, 620px);
  transform-origin: 50% 0; transform: scale(var(--hero-scale, .94));
}
.stage__guide { position: absolute; top: 0; bottom: 0; left: 26%; border-left: 1.5px dashed rgba(255, 255, 255, .7); }
.chips { position: absolute; left: 6%; top: 34%; display: grid; gap: 14px; z-index: 2; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  font: 500 clamp(.85rem, 1.3vw, 1.02rem) var(--body);
  padding: 10px 14px; border-radius: 12px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 10px 30px -10px rgba(11, 27, 54, .35);
  opacity: 0; transform: translateX(-12px) scale(.96);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.chip i { font-style: normal; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--blue); color: var(--blue); font-size: .7rem; }
.chip.is-on { opacity: 1; transform: none; }

.app {
  position: absolute; left: 34%; right: -4%; top: 18%; bottom: -6%;
  background: var(--paper); border-radius: 16px 0 0 0; box-shadow: var(--shadow-ui);
  display: flex; flex-direction: column; overflow: hidden;
}
.app__bar { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #eef0f4; }
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3e6ec; }
.app__title { font: 600 1rem var(--head); }
.app__count { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.app__tabs { display: flex; gap: 22px; padding: 10px 20px; font-size: .88rem; color: var(--muted); border-bottom: 1px solid #eef0f4; white-space: nowrap; overflow: hidden; }
.app__tabs span { position: relative; }
.app__tabs b { font-weight: 400; color: #9aa3b2; }
.app__tabs .is-on { color: var(--ink); font-weight: 500; }
.app__tabs .is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 2px; background: var(--blue); border-radius: 2px; }
.app__list { list-style: none; margin: 0; padding: 0; flex: 1; overflow: hidden; }
.row {
  display: grid; grid-template-columns: 140px 84px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 20px; font-size: .9rem; border-bottom: 1px solid #f2f3f6; white-space: nowrap;
}
.row.is-new { animation: row-in .8s var(--ease) both; }
@keyframes row-in { from { opacity: 0; transform: translateY(-14px); background: #eef2ff; } 60% { background: #eef2ff; } }
.row__name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.row__msg { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.tag { justify-self: start; font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.tag--call { background: #e9efff; color: #2f4fbf; }
.tag--chat { background: #f1eaff; color: #6440d8; }
.tag--wa { background: #e5f7ec; color: #1b7a43; }
.tag--form { background: #fff1e3; color: #b35a10; }
.status { font-size: .78rem; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--booked { color: #1b7a43; }
.status--replied { color: var(--blue); }
.status--quote { color: #b35a10; }

.motion-toggle {
  display: grid; place-items: center; width: 34px; height: 34px; margin: 14px 0 0;
  border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; color: var(--ink);
}
.motion-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.motion-toggle .i-play { display: none; fill: currentColor; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }
.motion-toggle[aria-pressed="true"] .i-pause { display: none; }

/* ---------- Tools strip ---------- */
.tools { padding: 56px 0 96px; }
.tools__label { text-align: center; color: var(--muted); margin-bottom: 28px; }
.tools__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); max-width: 880px; margin: 0 auto;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.tools__grid span {
  display: grid; place-items: center; height: 84px; padding: 0 12px; text-align: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font: 500 1.08rem var(--head); color: var(--ink-2); letter-spacing: -.01em;
  transition: background .3s, color .3s;
}
.tools__grid span:hover { background: var(--paper); color: var(--ink); }
.tools__grid b { font-weight: 600; font-size: 1.25rem; color: var(--ink); }

/* ---------- Big dark band ---------- */
.band { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(96px, 13vw, 160px) 0; text-align: center; }
.band h2 { color: #fff; max-width: 900px; margin-inline: auto; }
.band__inner { position: relative; z-index: 1; }
.band__hl { color: #8fb0ff; }
.band__ghost {
  position: absolute; top: 50%; left: 50%; z-index: 0; white-space: nowrap; pointer-events: none;
  font: 600 clamp(10rem, 30vw, 26rem)/1 var(--head); letter-spacing: -.06em;
  color: rgba(255, 255, 255, .05);
  transform: translate(calc(-50% + var(--px, 0px)), -50%);
}
.band--soft { background: linear-gradient(180deg, var(--navy), #13244a); text-align: left; }
.band--soft h2 { margin: 0 0 56px; max-width: none; }
.band--soft .band__hl { color: var(--sun); }
.band--soft .band__ghost { color: rgba(255, 255, 255, .035); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values > div { padding: 28px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.values h3 { color: #fff; font-size: 1.3rem; font-weight: 500; }
.values p { color: #b8c3da; margin: 0; font-size: .98rem; }
.eyebrow--light { color: #8fb0ff !important; }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 12vw, 152px) 0; }
.section__intro { margin-bottom: clamp(48px, 7vw, 80px); }
.section__intro p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.eyebrow { font: 500 .9rem var(--body); color: var(--blue); margin-bottom: 16px; }
.problem .narrow p { color: var(--muted); font-size: 1.12rem; max-width: 680px; margin-inline: auto; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(56px, 8vw, 96px); text-align: center; }
.trio__item p { font-size: 1.22rem; line-height: 1.4; max-width: 240px; margin: 0 auto; color: var(--ink-2); }
.tile {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 16px;
  background: linear-gradient(140deg, #7f9cff, #a58bff 60%, #ffb28a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 24px -12px rgba(62, 99, 221, .6);
  transition: transform .5s var(--ease);
}
.trio__item:hover .tile { transform: translateY(-4px) rotate(-4deg); }
.tile svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Feature rows ---------- */
.services { padding: clamp(96px, 12vw, 152px) 0 40px; background: var(--paper); }
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 112px); align-items: center; margin-bottom: clamp(96px, 12vw, 152px); }
.feature--flip { grid-template-columns: 1.15fr 1fr; }
.feature--flip .feature__copy { order: 2; }
.feature__copy p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.feature__copy h3 { margin-bottom: .6em; }
.more { display: inline-flex; gap: 6px; color: var(--blue); text-decoration: none; font-weight: 500; margin-top: 8px; }
.more span { transition: transform .25s var(--ease); }
.more:hover span { transform: translateX(4px); }
.feature .stage { aspect-ratio: 1.08; display: grid; place-items: center; padding: 8%; }

/* Phone / chat mock */
.phone { width: min(100%, 360px); height: 100%; max-height: 520px; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-ui); display: flex; flex-direction: column; overflow: hidden; }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #eef0f4; line-height: 1.25; }
.phone__bar b { font: 600 .92rem var(--head); }
.phone__bar small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .74rem; }
.phone__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 .72rem var(--head); }
.live { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.phone__body { flex: 1; overflow: hidden; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.msg { max-width: 84%; padding: 9px 12px; border-radius: 16px; font-size: .84rem; line-height: 1.4; animation: pop .45s var(--ease) both; flex: none; }
.msg--bot { align-self: flex-start; background: #f0f2f7; border-bottom-left-radius: 5px; }
.msg--user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 5px; }
.msg--sys { align-self: center; max-width: 100%; background: #eef2ff; color: var(--blue); font-size: .74rem; font-weight: 500; border-radius: 999px; padding: 5px 11px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: #f0f2f7; border-radius: 16px; border-bottom-left-radius: 5px; animation: pop .3s var(--ease) both; flex: none; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #98a2b6; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }

/* Pipeline board mock */
.board { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: rgba(255, 255, 255, .55); padding: 12px; border-radius: 18px; box-shadow: var(--shadow-ui); }
.board__col { background: rgba(255, 255, 255, .88); border-radius: 12px; padding: 10px; min-height: 320px; display: flex; flex-direction: column; gap: 8px; }
.board__col h4 { font: 600 .74rem var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 2px 2px 4px; display: flex; justify-content: space-between; }
.board__col h4 b { font-weight: 500; color: #9aa3b2; }
.card { background: #fff; border: 1px solid #eceef3; border-radius: 10px; padding: 9px 10px; font-size: .76rem; line-height: 1.35; box-shadow: 0 2px 6px -3px rgba(11, 27, 54, .15); }
.card b { display: block; font-weight: 600; font-size: .8rem; }
.card small { color: var(--muted); }
.card.is-moving { animation: card-in .7s var(--ease) both; }
.board__col[data-col="2"] .card { border-left: 3px solid #22c55e; }
@keyframes card-in { from { opacity: 0; transform: translateX(-28px) rotate(-3deg); } }

/* n8n flow mock */
.flow { width: 100%; height: auto; background: rgba(255, 255, 255, .62); border-radius: 18px; box-shadow: var(--shadow-ui); padding: 3%; }
.flow .wire { stroke: url(#wire); stroke-dasharray: 6 8; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.flow .node rect { fill: #fff; stroke: #dfe3ec; stroke-width: 1.5; animation: glow 4s infinite; }
.flow .node text { font: 600 13px var(--body); fill: var(--ink); text-anchor: middle; }
.flow .node text.sub { font-weight: 400; font-size: 11px; fill: var(--muted); }
.flow .n2 rect { animation-delay: .6s; }
.flow .n3 rect { animation-delay: 1.2s; }
.flow .n4 rect { animation-delay: 1.35s; }
.flow .n5 rect { animation-delay: 1.5s; }
@keyframes glow { 0%, 30%, 100% { stroke: #dfe3ec; fill: #fff; } 8% { stroke: var(--blue); fill: #f2f5ff; } }

/* Follow-up timeline mock */
.timeline { list-style: none; margin: 0; padding: 22px 24px; width: min(100%, 400px); background: #fff; border-radius: 18px; box-shadow: var(--shadow-ui); position: relative; }
.timeline::before { content: ""; position: absolute; left: 35px; top: 40px; bottom: 40px; width: 2px; background: #eceef3; }
.timeline li { position: relative; display: flex; gap: 16px; padding: 10px 0; opacity: .35; transition: opacity .5s var(--ease); }
.timeline li.is-done { opacity: 1; }
.timeline__dot { flex: none; position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid #d5dae4; display: grid; place-items: center; transition: all .4s var(--ease); }
.timeline li.is-done .timeline__dot { background: var(--blue); border-color: var(--blue); }
.timeline li.is-done .timeline__dot::after { content: "✓"; color: #fff; font-size: .68rem; font-weight: 700; animation: pop .3s both; }
.timeline b { display: block; font-weight: 600; font-size: .95rem; }
.timeline small { color: var(--muted); font-size: .82rem; }
.stars { color: var(--sun); letter-spacing: 1px; }

/* ---------- How ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps li { position: relative; }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ink); font: 500 1rem var(--head); margin-bottom: 24px; position: relative; z-index: 1; transition: background .4s, color .4s, border-color .4s; }
.steps li.is-lit .steps__n { background: var(--navy); color: #fff; border-color: var(--navy); }
.steps h3 { font-size: 1.3rem; font-weight: 500; }
.steps p { color: var(--muted); font-size: .98rem; }
.steps__track { position: absolute; top: 22px; left: 22px; right: 22px; height: 1.5px; background: var(--line); }
.steps__fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--violet), var(--peach)); }

/* ---------- Who ---------- */
.who { background: var(--paper); }
.who .section__intro p { max-width: 640px; margin-inline: auto; }
.tabs__list { position: relative; display: flex; gap: 4px; margin: 0 auto 32px; padding: 5px; width: fit-content; max-width: 100%; background: var(--bg); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.tabs__list button { position: relative; z-index: 1; font: 500 .95rem var(--body); padding: 10px 18px; border-radius: 10px; border: 0; background: none; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .3s; }
.tabs__list button[aria-selected="true"] { color: var(--ink); }
.tabs__ink { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px -2px rgba(11, 27, 54, .2); transition: transform .45s var(--ease), width .45s var(--ease); }
.tabs__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); background: var(--bg); animation: pop .5s var(--ease) both; }
.tabs__panel[hidden] { display: none; }
.tabs__panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.tabs__panel p { color: var(--muted); margin: 0; }
.usecases { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.usecases li { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 14px 16px; font-weight: 500; font-size: .96rem; }
.usecases li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #eef2ff; color: var(--blue); font-size: .72rem; font-weight: 700; }

/* ---------- Pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { background: var(--paper); border-radius: 24px; padding: 32px; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-ui); }
.price h3 { font-size: 1.5rem; margin-top: 18px; }
.price p { color: var(--muted); margin: 0; }
.price__tag { font-size: .8rem; font-weight: 500; color: var(--blue); background: #eef2ff; padding: 4px 10px; border-radius: 999px; }
.price--feature { background: var(--navy); border-color: var(--navy); }
.price--feature h3 { color: #fff; }
.price--feature p { color: #b8c3da; }
.price--feature .price__tag { background: rgba(245, 165, 36, .18); color: var(--sun); }
.pricing__note { text-align: center; color: var(--muted); margin-top: 40px; }
.pricing__note a, .faq__head a { color: var(--blue); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head p:not(.eyebrow) { color: var(--muted); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font: 500 1.15rem var(--head); letter-spacing: -.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before, .faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0); }
.faq__list details p { color: var(--muted); padding-right: 40px; margin-bottom: 24px; animation: pop .4s var(--ease) both; }

/* ---------- Contact ---------- */
.contact { padding: 0 0 clamp(80px, 10vw, 128px); }
.contact__panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(24px, 6vw, 80px); border-radius: 36px; }
.contact__hl { color: #fff; }
.contact__copy p { color: var(--ink-2); font-size: 1.1rem; }
.contact__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; font-weight: 500; }
.contact__list a { color: var(--ink); }
.form { background: rgba(255, 255, 255, .94); border-radius: 24px; padding: clamp(20px, 3.5vw, 36px); display: grid; gap: 16px; box-shadow: var(--shadow-ui); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .88rem; }
.form label small { font-weight: 400; color: var(--muted); }
.form input:not([type="checkbox"]), .form select, .form textarea {
  font: 400 1rem var(--body); color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(62, 99, 221, .14); }
.form .is-invalid { border-color: #d94141 !important; }
.form textarea { resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 500; font-size: .88rem; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex !important; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 400; font-size: .86rem; transition: all .2s; }
.opt input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent { display: flex !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--muted); }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--navy); flex: none; }
.consent a { color: var(--blue); }
.form__status { margin: 0; text-align: center; font-weight: 500; min-height: 1.4em; font-size: .92rem; }
.form__status.ok { color: #15803d; }
.form__status.err { color: #c62828; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .94rem; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer .brand { color: var(--ink); margin-bottom: 14px; }
.footer h4 { font: 600 .9rem var(--body); margin-bottom: 14px; }
.footer nav, .footer__grid > div:last-child { display: flex; flex-direction: column; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--blue); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; }

/* ---------- Scroll reveal: soft fade + rise + de-blur ---------- */
.fade { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.fade.is-in { opacity: 1; transform: none; filter: none; }
.no-js .fade { opacity: 1; transform: none; filter: none; }
/* the hero stage is scaled by scroll, so only fade it */
.stage--hero.fade { transform: scale(var(--hero-scale, .94)) translateY(28px); filter: none; }
.stage--hero.fade.is-in { transform: scale(var(--hero-scale, .94)); transition: opacity 1s var(--ease), filter 1s var(--ease), transform .15s linear; }

/* Paused state (pause button) */
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .row { grid-template-columns: 120px 76px 1fr; }
  .row .status { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps__track { display: none; }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); padding: 8px 16px 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-110%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s;
  }
  .nav__menu.is-open { transform: none; visibility: visible; }
  .nav__menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__actions { margin-left: auto; }
  .feature, .feature--flip, .tabs__panel, .faq__grid, .contact__panel { grid-template-columns: 1fr; }
  .feature--flip .feature__copy { order: 0; }
  .values, .prices { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav .btn--sm { display: none; }
  .stage--hero { height: 480px; }
  .stage__guide { display: none; }
  .chips { left: 16px; right: 16px; top: auto; bottom: 16px; gap: 8px; display: flex; flex-wrap: wrap; justify-content: center; }
  .chip { font-size: .78rem; padding: 7px 10px; gap: 7px; }
  .app { left: 16px; right: -12px; top: 20px; bottom: 112px; border-radius: 14px 0 0 14px; }
  .app__tabs { gap: 14px; }
  .row { grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 14px; }
  .row__msg { grid-column: 1 / -1; grid-row: 2; font-size: .8rem; }
  .tools__grid { grid-template-columns: repeat(2, 1fr); }
  .tools__grid span { height: 68px; font-size: .95rem; }
  .trio { grid-template-columns: 1fr; gap: 48px; }
  .feature .stage { aspect-ratio: auto; min-height: 460px; padding: 24px 14px; }
  .phone { height: 420px; }
  .board { gap: 6px; padding: 8px; }
  .board__col { min-height: 280px; padding: 6px; }
  .board__col h4 { font-size: .62rem; }
  .card { font-size: .68rem; padding: 7px; }
  .card b { font-size: .72rem; }
  .steps, .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .fade, .stage--hero.fade { opacity: 1; transform: none; filter: none; }
}
