/* ==========================================================================
   Verful — marketing site
   Structure modelled on the Pivot (pivotapp.ai) homepage, re-skinned with the
   Verful palette: deep navy + amber, warm sable neutrals.
   ========================================================================== */

:root {
  --navy-900: #0A1530;
  --navy-800: #0F1D40;
  --navy-700: #16264F;
  --navy-line: rgba(200, 214, 255, .12);

  --amber: #FFC940;
  --amber-hover: #F5B91C;
  --amber-ring: #E0A400;
  --cream: #FFF8E4;

  --ink: #16161A;
  --ink-2: #2A2A30;
  --muted: #6E6E73;
  --muted-2: #A3A3A8;
  --sable: #F4F3EF;
  --sable-2: #ECEAE3;
  --line: rgba(22, 22, 26, .08);
  --white: #fff;

  --green: #1F9D5B;
  --green-bg: #E5F5EC;
  --orange: #B86A00;
  --orange-bg: #FFF1D6;

  --radius: 12px;
  --radius-lg: 16px;
  --container: 1240px;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic-16 { width: 16px; height: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; position: relative; }

/* ---------- Type ---------- */
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; font-weight: 500; letter-spacing: -.025em; margin: 0; }
.h3 { font-size: 32px; line-height: 1.15; font-weight: 500; letter-spacing: -.02em; margin: 0; }
.h4 { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; margin: 0; display: flex; align-items: center; gap: 8px; }
.sub { font-size: 17px; color: var(--muted); margin: 12px 0 0; max-width: 560px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--muted-2); }
.gradient-cream {
  color: var(--cream);
  background-image: linear-gradient(114deg, #FFFBEF 0%, #FFF4D6 55%, #FFE3A1 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .3s ease, transform .2s, box-shadow .3s ease;
}
.btn-lg { height: 48px; padding: 0 22px; font-size: 16px; }
.btn-primary {
  background: var(--amber); color: var(--navy-900);
  box-shadow: 0 0 0 1px var(--amber-ring), 0 1px 2px rgba(10, 21, 48, .35);
}
.btn-primary:hover { background: var(--amber-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-blur {
  color: #fff; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-blur:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .28); }
.btn-ghost-dark { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .08); }

.arrow {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--white); color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .06);
  transition: background-color .2s, opacity .2s, transform .2s;
}
.arrow:hover { background: var(--sable); }
.arrow:active { transform: scale(.96); }
.arrow:disabled { opacity: .4; cursor: default; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow .ic { transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover .ic { transform: translateX(3px); }
}

/* ---------- Banner ---------- */
.banner {
  position: relative; z-index: 60; overflow: hidden;
  background: var(--amber); color: var(--navy-900);
  font-size: 14px; font-weight: 500;
}
.banner-link { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 56px; text-decoration: none; text-align: center; }
.banner-link:hover span:not(.banner-pill) { text-decoration: underline; text-underline-offset: 3px; }
.banner-pill { background: var(--navy-900); color: var(--amber); font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.banner-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.banner-close:hover { background: rgba(10, 21, 48, .1); }
.banner.is-hidden { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  color: #fff;
  transition: border-color .3s, color .3s ease, transform .3s var(--ease);
}
/* The blur lives on a pseudo-element: backdrop-filter on .nav itself would trap
   the fixed mobile drawer inside the 72px bar. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(15, 29, 64, .72);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  transition: background-color .3s ease;
}
/* Slides away while scrolling down, back on scroll up; never while focused */
.nav.is-hidden:not(:focus-within) { transform: translateY(-100%); }
.nav.is-scrolled { border-bottom-color: var(--navy-line); }
.nav.is-scrolled::before { background: rgba(10, 21, 48, .9); }
/* Past the dark hero the bar turns light, like Pivot's inverted nav */
.nav.is-light:not(.menu-open) { border-bottom-color: var(--line); color: var(--ink); }
.nav.is-light:not(.menu-open)::before { background: rgba(255, 255, 255, .9); }
.nav.is-light:not(.menu-open) .brand { color: var(--ink); }
.nav.is-light:not(.menu-open) .btn-ghost-dark { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(22, 22, 26, .16); }
.nav.is-light:not(.menu-open) .btn-ghost-dark:hover { background: rgba(22, 22, 26, .05); }
@media (min-width: 961px) {
  .nav.is-light .nav-link { color: var(--ink-2); }
  .nav.is-light .nav-link:hover, .nav.is-light .dd.open .dd-toggle { color: var(--ink); background: rgba(22, 22, 26, .05); }
  .nav.is-light .nav-ai, .nav.is-light .nav-ai:hover { color: var(--orange); }
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 24px; letter-spacing: -.04em; color: #fff; transition: color .3s ease; }
.brand img { width: 28px; height: 28px; }
.nav-menu { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 500; text-decoration: none; color: rgba(255, 255, 255, .86);
  transition: color .2s, background-color .2s;
}
.nav-link:hover, .dd.open .dd-toggle { color: #fff; background: rgba(255, 255, 255, .07); }
.dd-toggle .ic { transition: transform .25s var(--ease-in-out); opacity: .7; }
.dd.open .dd-toggle .ic { transform: rotate(180deg); }
.nav-ai { color: var(--amber); }
.nav-ai:hover { color: var(--amber); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 8px; place-items: center; }
/* Three bars that fold into an X */
.burger-lines { position: relative; width: 18px; height: 14px; }
.burger-lines i {
  position: absolute; left: 0; top: 6px; width: 100%; height: 1.75px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease-in-out), opacity .2s var(--ease);
}
.burger-lines i:nth-child(1) { transform: translateY(-6px); }
.burger-lines i:nth-child(3) { transform: translateY(6px); }
.nav.menu-open .burger-lines i:nth-child(1) { transform: rotate(45deg); }
.nav.menu-open .burger-lines i:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.nav.menu-open .burger-lines i:nth-child(3) { transform: rotate(-45deg); }
.nav-cta-mobile { display: none; }

/* Dropdowns */
.dd { position: relative; }
.dd-panel {
  position: absolute; top: calc(100% + 12px); left: -12px;
  display: flex; gap: 8px;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); padding: 12px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -12px rgba(10, 21, 48, .35);
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.97);
  transform-origin: 40px 0; /* grows out of its toggle */
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  min-width: 340px;
}
.dd-panel::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-wide { width: 920px; }
.dd-col { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dd-over { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 6px; }
.dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; text-decoration: none; transition: background-color .15s; }
.dd-item:hover { background: var(--sable); }
.dd-item b { display: block; font-size: 15px; font-weight: 600; }
.dd-item small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.dd-ic { width: 32px; height: 32px; border-radius: 8px; background: var(--sable); display: grid; place-items: center; flex: none; color: var(--navy-800); }
.dd-gold .dd-ic { background: var(--amber); }
.dd-gold b { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--navy-800);
  background-image: url("../img/rings.svg"), radial-gradient(ellipse 80% 60% at 50% 70%, rgba(80, 110, 220, .35), transparent 70%);
  background-size: cover, auto; background-position: 50% 30%, center;
  color: #fff;
  padding: 120px 0 0;
  margin-top: -72px; /* sit behind the transparent sticky nav */
  padding-top: 192px;
}
.hero::after { /* fade into the trusted row */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 280px;
  background: linear-gradient(to bottom, rgba(10, 21, 48, 0), var(--navy-900));
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px; align-items: end; }
.hero-title { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.04; font-weight: 500; letter-spacing: -.035em; margin: 0; max-width: 820px; text-wrap: balance; }
.hero-sub { font-size: 19px; line-height: 1.5; margin: 0 0 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-screen { position: relative; z-index: 2; margin-top: 72px; }

/* Load sequence: copy drops in line by line, then the product rises in */
.hero-title, .hero-sub, .hero-ctas { animation: hero-in .6s var(--ease) backwards; }
.hero-sub { animation-delay: .12s; }
.hero-ctas { animation-delay: .24s; }
.hero-screen { animation: hero-rise .8s var(--ease) .4s backwards; }
@keyframes hero-in { from { opacity: 0; translate: 0 -16px; } }
@keyframes hero-rise { from { opacity: 0; translate: 0 32px; } }

/* Trusted row */
.trusted { padding: 56px 0 72px; position: relative; z-index: 2; background: var(--navy-900); }
.trusted-title { font-size: 20px; font-weight: 500; text-align: center; color: rgba(255, 255, 255, .7); margin-bottom: 28px; }
.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 48s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.seg { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.seg .ic { width: 24px; height: 24px; color: var(--amber); opacity: .85; }

/* ---------- Product mock (hero art) ----------
   All sizes are in em; the root em scales with the container width so the
   mock renders like a single screenshot at any viewport. */
.mock {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 1110 / 640;
}
.mock > * { font-size: 1.2613cqw; } /* 14px at 1110px wide */
.app {
  position: absolute; inset: 0 13.5% 0 0;
  display: flex; overflow: hidden;
  background: var(--sable); color: var(--ink);
  border-radius: .6em .6em 0 0;
  box-shadow: 0 0 0 .6em rgba(255, 255, 255, .06), 0 2em 5em rgba(0, 0, 0, .45);
}
.app .ic { width: 1.15em; height: 1.15em; }
.app-side { width: 17.5em; padding: 1.2em .9em; display: flex; flex-direction: column; gap: 1.6em; }
.ws { display: flex; align-items: center; gap: .7em; padding: .2em .4em; }
.ws-av { width: 2.3em; height: 2.3em; border-radius: .45em; background: var(--navy-800); color: var(--amber); font-weight: 700; font-size: .85em; display: grid; place-items: center; }
.ws-txt { flex: 1; line-height: 1.25; }
.ws-txt b { display: block; font-weight: 600; }
.ws-txt small { color: var(--muted); font-size: .85em; }
.app-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25em; }
.app-nav li { display: flex; align-items: center; gap: .8em; padding: .7em .8em; border-radius: .5em; font-weight: 500; color: var(--ink-2); }
.app-nav li.on { background: var(--sable-2); }
.pill-y { margin-left: auto; background: var(--amber); color: var(--navy-900); font-size: .78em; font-weight: 700; min-width: 1.7em; height: 1.7em; border-radius: .4em; display: grid; place-items: center; }
.app-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 0 .6em; }
.app-logo { display: flex; align-items: center; gap: .4em; font-weight: 700; font-size: 1.15em; letter-spacing: -.04em; }
.app-logo img { width: 1.2em; height: 1.2em; }
.app-foot-ic { display: flex; gap: .9em; color: var(--ink-2); }

.app-main { flex: 1; background: var(--white); border-radius: .6em 0 0 0; margin-top: .9em; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; min-width: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 1em 1.4em; border-bottom: 1px solid var(--line); }
.crumb { color: var(--muted); font-size: 1.07em; }
.crumb i { font-style: normal; margin: 0 .3em; }
.crumb b { color: var(--ink); font-weight: 600; }
.app-top-btns { display: flex; gap: .6em; }
.ubtn { display: inline-flex; align-items: center; gap: .45em; padding: .5em .8em; border-radius: .45em; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .05); font-weight: 500; font-size: .95em; }
.ubtn.sq { padding: .5em; }
.app-head { padding: 1.3em 2.6em 1.1em; border-bottom: 1px solid var(--line); }
.app-h { font-size: 1.45em; font-weight: 600; letter-spacing: -.01em; margin-bottom: .7em; }
.bar { height: .4em; border-radius: 1em; background: var(--sable-2); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.app-meta { margin-top: .6em; color: var(--muted); }
.app-meta b { color: var(--ink); font-weight: 600; }

.canvas {
  flex: 1; position: relative; margin: 1.6em 2.6em 0;
  border-radius: .5em .5em 0 0;
  background-color: #FAFAF8;
  background-image: radial-gradient(rgba(22, 22, 26, .12) 1px, transparent 1px);
  background-size: 1em 1em;
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.wires { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #C9C8C2; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.wires path { vector-effect: non-scaling-stroke; }
.wires .dash { stroke-dasharray: 3 4; }
.node {
  position: absolute; width: 18em; padding: 1em 1.2em 1.1em;
  background: var(--white); border-radius: .5em;
  box-shadow: 0 0 0 1px var(--line), 0 .3em 1em rgba(10, 21, 48, .06);
  line-height: 1.3;
}
.node b { display: block; font-size: 1.2em; font-weight: 600; margin: .55em 0 .7em; }
.node small { display: block; color: var(--muted); font-size: .92em; margin-bottom: .3em; }
.who { display: flex; align-items: center; gap: .5em; font-weight: 500; }
.who .ic { width: 1em; height: 1em; color: var(--muted); }
.tag { display: inline-block; font-size: .82em; font-weight: 600; padding: .2em .55em; border-radius: .4em; }
.t-ok { background: var(--green-bg); color: var(--green); }
.t-run { background: var(--orange-bg); color: var(--orange); }
.t-wait { background: var(--sable-2); color: var(--muted); }
.wa-dot { width: 1.4em; height: 1.4em; border-radius: 50%; background: #25D366; box-shadow: inset 0 0 0 .35em #25D366, inset 0 0 0 .5em #fff; }
.bot-av, .hum-av { width: 1.6em; height: 1.6em; border-radius: 50%; display: grid; place-items: center; font-size: .72em; font-weight: 700; }
.bot-av { background: var(--navy-800); color: var(--amber); }
.hum-av { background: #E8D5C4; color: #6B4A2E; }
/* node positions, % of canvas */
.n1 { left: 4%; top: 41%; }
.n2 { left: 47%; top: 5%; }
.n3 { left: 47%; top: 38%; }
.n4 { left: 47%; top: 72%; }
.n5 { left: 88%; top: 41%; }

.chat-panel {
  position: absolute; right: 0; top: 13.5%; width: 30.5%; bottom: 0;
  background: var(--white); border-radius: .7em .7em 0 0;
  box-shadow: 0 0 0 1px var(--line), -1em 1.5em 4em rgba(10, 21, 48, .28);
  display: flex; flex-direction: column; overflow: hidden; color: var(--ink);
}
.chat-panel .ic { width: 1.15em; height: 1.15em; }
.cp-head { display: flex; align-items: center; gap: .8em; padding: 1.1em 1.1em .9em; background: linear-gradient(180deg, #FFF4D6, #fff); }
.cp-av { width: 2.8em; height: 2.8em; border-radius: .55em; background: #F3C9A8; color: #6B3A16; font-weight: 700; display: grid; place-items: center; flex: none; }
.cp-av.sm { width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--navy-800); color: var(--amber); font-size: .9em; }
.cp-id { flex: 1; line-height: 1.3; min-width: 0; }
.cp-id b { display: block; font-size: 1.12em; font-weight: 600; }
.cp-id small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-act { display: flex; gap: .45em; }
.cbtn { width: 2.6em; height: 2.6em; border-radius: .45em; display: grid; place-items: center; }
.cbtn.x { box-shadow: 0 0 0 1px var(--line); color: #D33; background: #fff; }
.cbtn.ok { background: var(--amber); box-shadow: 0 0 0 1px var(--amber-ring); }
.cp-tabs { display: flex; justify-content: space-around; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.cp-tabs span { padding: .8em .4em; }
.cp-tabs .on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.cp-body { flex: 1; padding: 1em; display: flex; flex-direction: column; gap: .6em; background: #F7F5EF; overflow: hidden; }
.cp-day { align-self: center; font-size: .85em; color: var(--muted); background: #fff; padding: .2em .8em; border-radius: 1em; box-shadow: 0 0 0 1px var(--line); }
.msg { max-width: 86%; padding: .6em .8em .45em; border-radius: .7em; font-size: .97em; line-height: 1.38; position: relative; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); }
.msg i { display: block; text-align: right; font-style: normal; font-size: .72em; color: var(--muted); margin-top: .15em; }
.msg.in { background: #fff; align-self: flex-start; border-top-left-radius: .15em; }
.msg.out { background: #DCF7C5; align-self: flex-end; border-top-right-radius: .15em; }
.msg b { font-weight: 600; }

.toast-card {
  position: absolute; left: -2.5%; bottom: 6%; width: 27%;
  display: flex; gap: .8em; align-items: flex-start;
  padding: 1em 1.1em; border-radius: .7em;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 1em 2.5em rgba(10, 21, 48, .3);
  line-height: 1.4;
  animation: toast-in .5s var(--ease) 1.1s backwards, float 6s ease-in-out 1.6s infinite;
}
@keyframes toast-in { from { opacity: 0; translate: 0 1em; scale: .96; } }
.toast-card small { color: var(--muted); font-size: .85em; margin-left: .3em; }
.toast-ic { width: 2.4em; height: 2.4em; border-radius: .5em; background: var(--navy-800); display: grid; place-items: center; flex: none; }
.toast-ic img { width: 1.5em; height: 1.5em; }
@keyframes float { 50% { transform: translateY(-.5em); } }

/* ---------- Proof band ---------- */
.proof { padding: 96px 0 56px; }
.proof-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.proof-badge { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.proof-badge img { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--navy-800); }
.made-in { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--sable); }
.made-in .ic { width: 16px; height: 16px; color: var(--orange); }
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 24px; border-radius: var(--radius-lg); background: var(--sable); }
.stat b { display: block; font-size: 40px; font-weight: 500; letter-spacing: -.03em; line-height: 1; margin-bottom: 12px; }
.stat span { color: var(--muted); font-size: 15px; line-height: 1.4; display: block; }

/* ---------- Section heads ---------- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-head .sub { margin-left: auto; margin-right: auto; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.arrows-inline { display: flex; gap: 8px; }

.bg-fade { background: linear-gradient(#fff 0%, #F6F5F1 45%, #F6F5F1 70%, #fff 100%); }
.bg-white { background: var(--white); }
.bg-sable { background: var(--sable); }
.bg-dark { background: var(--navy-900); color: #fff; }

/* ---------- Feature slider ---------- */
.fs-tabs { position: relative; display: flex; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.fs-tab { flex: 1; padding: 16px 8px; font-size: 16px; font-weight: 500; color: var(--muted); transition: color .2s; }
.fs-tab:hover { color: var(--ink-2); }
.fs-tab.on { color: var(--ink); }
.fs-ind { position: absolute; bottom: -1px; left: 0; height: 2px; width: 25%; background: var(--ink); transition: transform .45s var(--ease); }
.fs-ind::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(0); }
.fslider.is-playing .fs-ind::after { animation: fsprog 7s linear forwards; }
@keyframes fsprog { to { transform: scaleX(1); } }
.fs-viewport { overflow: hidden; border-radius: 20px; }
.fs-track { display: flex; transition: transform .6s var(--ease); }
.fs-slide {
  flex: 0 0 100%; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center;
  padding: 48px; background: var(--white); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line);
  min-height: 520px;
}
.fs-copy p { color: var(--muted); font-size: 17px; margin: 16px 0 28px; max-width: 440px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px 8px 14px; border-radius: 999px; background: var(--sable); font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .2s; }
.tag-link:hover { background: var(--sable-2); }
.tag-link .ic { color: var(--muted); }
.fs-arrows { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }

/* Feature art panels */
.fs-art {
  container-type: inline-size;
  position: relative; aspect-ratio: 640 / 440; border-radius: 16px; overflow: hidden;
  background: var(--navy-800);
  background-image: url("../img/rings.svg"), radial-gradient(ellipse at 70% 80%, rgba(80, 110, 220, .4), transparent 70%);
  background-size: 160% auto, auto; background-position: 50% 60%, center;
}
.fs-art > * { font-size: 2.1875cqw; } /* 14px at 640px */
.fs-art .ic { width: 1.1em; height: 1.1em; }

.art-a .phone {
  position: absolute; left: 8%; top: 9%; width: 52%; bottom: -4%;
  background: #F7F5EF; border-radius: 1.6em 1.6em 0 0; overflow: hidden;
  box-shadow: 0 0 0 .45em rgba(255, 255, 255, .12), 0 2em 4em rgba(0, 0, 0, .4);
}
.ph-head { display: flex; align-items: center; gap: .7em; padding: 1em; background: #fff; border-bottom: 1px solid var(--line); line-height: 1.25; }
.ph-head b { display: block; font-size: .95em; font-weight: 600; }
.ph-head small { color: var(--green); font-size: .8em; }
.ph-body { padding: .9em; display: flex; flex-direction: column; gap: .55em; }
.ph-body .msg { font-size: .88em; }
.file { align-self: flex-end; display: flex; align-items: center; gap: .6em; background: #DCF7C5; padding: .6em .8em; border-radius: .7em; font-size: .85em; line-height: 1.25; }
.file .ic { color: #D33; width: 1.6em; height: 1.6em; }
.file b { display: block; font-weight: 600; }
.file small { color: var(--muted); }
.side-card {
  position: absolute; right: 6%; top: 22%; width: 34%;
  background: #fff; border-radius: 1em; padding: 1.1em;
  box-shadow: 0 1.5em 3em rgba(0, 0, 0, .35);
}
.sc-row { display: flex; align-items: center; gap: .5em; font-size: .9em; padding: .35em 0; }
.sc-row b { margin-left: auto; font-weight: 600; }
.dot { width: .6em; height: .6em; border-radius: 50%; }
.dot.g { background: var(--green); }
.dot.y { background: var(--amber); }
.mini-bars { display: flex; align-items: flex-end; gap: .35em; height: 5em; margin-top: .9em; padding-top: .6em; border-top: 1px solid var(--line); }
.mini-bars i { flex: 1; background: linear-gradient(var(--navy-700), var(--navy-800)); border-radius: .2em .2em 0 0; }
.mini-bars i:last-child { background: var(--amber); }

.art-b .cal {
  position: absolute; left: 6%; right: 6%; top: 8%; bottom: -4%;
  background: #fff; border-radius: 1em 1em 0 0; padding: 1.1em;
  box-shadow: 0 2em 4em rgba(0, 0, 0, .4);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9em; }
.cal-head b { font-weight: 600; font-size: 1.05em; }
.cal-chip { font-size: .78em; font-weight: 600; color: var(--green); background: var(--green-bg); padding: .25em .6em; border-radius: .5em; }
.cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: auto 1fr; gap: .4em; height: calc(100% - 2.4em); }
.cal-d { font-size: .8em; color: var(--muted); padding: .2em .4em; }
.cal-d b { color: var(--ink); font-weight: 600; margin-left: .2em; }
.cal-d.on b { background: var(--amber); padding: .1em .45em; border-radius: .4em; }
.cal-col { position: relative; border-radius: .5em; background: repeating-linear-gradient(var(--sable) 0 1px, transparent 1px 3.2em); }
.ev {
  position: absolute; left: .25em; right: .25em; top: calc(var(--t) * 3.2em + .2em); height: calc(var(--h) * 3.2em - .4em);
  padding: .35em .45em; border-radius: .4em; font-size: .72em; font-style: normal; font-weight: 600; line-height: 1.25; overflow: hidden;
}
.ev.ok { background: var(--green-bg); color: var(--green); box-shadow: inset .2em 0 0 var(--green); }
.ev.pend { background: var(--sable); color: var(--muted); box-shadow: inset .2em 0 0 var(--muted-2); }
.ev.re { background: var(--orange-bg); color: var(--orange); box-shadow: inset .2em 0 0 var(--orange); }
.ev.new { background: var(--amber); color: var(--navy-900); box-shadow: 0 .4em 1em rgba(224, 164, 0, .45); animation: pop 3.5s var(--ease) infinite; }
@keyframes pop { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.04); } 16% { transform: scale(1); } }
.notif {
  position: absolute; right: 4%; bottom: 7%; width: 52%;
  display: flex; gap: .8em; align-items: flex-start;
  background: rgba(255, 255, 255, .97); border-radius: .9em; padding: .9em 1em;
  font-size: .88em; line-height: 1.4;
  box-shadow: 0 0 0 1px var(--line), 0 1.5em 3em rgba(0, 0, 0, .35);
  animation: float 6s ease-in-out infinite;
}
.wa-badge { width: 2.2em; height: 2.2em; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; flex: none; }

.art-c .kanban { position: absolute; inset: 9% 5% -4%; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; }
.kb-col { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); border-radius: .9em .9em 0 0; padding: .8em; display: flex; flex-direction: column; gap: .6em; }
.kb-h { color: #fff; font-weight: 600; font-size: .92em; display: flex; justify-content: space-between; margin-bottom: .2em; }
.kb-h span { color: rgba(255, 255, 255, .5); }
.kb-card { background: #fff; border-radius: .6em; padding: .8em; line-height: 1.3; box-shadow: 0 .5em 1.2em rgba(0, 0, 0, .2); }
.kb-card b { display: block; font-size: .92em; font-weight: 600; }
.kb-card small { display: block; color: var(--muted); font-size: .8em; margin: .2em 0 .6em; }
.kb-card.hl { box-shadow: 0 0 0 2px var(--amber), 0 .8em 1.6em rgba(0, 0, 0, .3); }
.kb-auto { display: inline-flex; align-items: center; gap: .35em; font-size: .75em; font-weight: 600; color: var(--muted); background: var(--sable); padding: .25em .5em; border-radius: .4em; }
.kb-auto .ic { width: 1.1em; height: 1.1em; }
.kb-auto.y { background: var(--orange-bg); color: var(--orange); }
.kb-auto.g { background: var(--green-bg); color: var(--green); }

.art-d .doc { position: absolute; left: 6%; right: 6%; top: 9%; display: flex; gap: 1em; }
.doc-paper {
  position: relative; width: 44%; aspect-ratio: 3 / 4; background: #fff; border-radius: .5em; padding: 1.2em; overflow: hidden;
  box-shadow: 0 2em 4em rgba(0, 0, 0, .4); transform: rotate(-2.5deg);
  display: flex; flex-direction: column; gap: .6em;
}
.doc-t { font-size: .72em; font-weight: 700; letter-spacing: .08em; color: var(--navy-800); margin-bottom: .4em; }
.ln { display: block; height: .5em; border-radius: .3em; background: var(--sable-2); }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.doc-box { border: 1px dashed var(--muted-2); border-radius: .4em; padding: .7em; display: flex; flex-direction: column; gap: .5em; margin: .3em 0; }
.scanline { position: absolute; left: 0; right: 0; height: 3em; background: linear-gradient(rgba(255, 201, 64, 0), rgba(255, 201, 64, .45)); border-bottom: 2px solid var(--amber); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0% { top: -3em; } 60%, 100% { top: 100%; } }
.doc-data { flex: 1; align-self: flex-start; margin-top: 1.4em; background: #fff; border-radius: .9em; padding: 1.1em; box-shadow: 0 2em 4em rgba(0, 0, 0, .4); }
.dd-h { display: inline-flex; align-items: center; gap: .4em; font-size: .8em; font-weight: 600; color: var(--orange); background: var(--orange-bg); padding: .25em .6em; border-radius: .5em; }
.doc-data dl { margin: .8em 0; display: grid; gap: .1em; }
.doc-data dl div { display: flex; justify-content: space-between; gap: 1em; padding: .45em 0; border-bottom: 1px solid var(--line); font-size: .88em; }
.doc-data dt { color: var(--muted); }
.doc-data dd { margin: 0; font-weight: 600; text-align: right; }
.dd-ok { display: flex; align-items: center; gap: .4em; font-size: .82em; font-weight: 600; color: var(--green); }
.checklist {
  position: absolute; right: 6%; bottom: 7%; width: 46%;
  background: rgba(255, 255, 255, .97); border-radius: .9em; padding: .9em 1em;
  display: flex; flex-direction: column; gap: .45em; font-size: .86em;
  box-shadow: 0 1.5em 3em rgba(0, 0, 0, .35);
}
.checklist b { font-weight: 600; margin-bottom: .1em; }
.ck { display: flex; align-items: center; gap: .5em; color: var(--muted); }
.ck.done { color: var(--ink); }
.ck.done .ic { color: #fff; background: var(--green); border-radius: 50%; padding: .15em; }
.spin { width: 1.1em; height: 1.1em; border-radius: 50%; border: 2px solid var(--sable-2); border-top-color: var(--amber); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Feature art: Lottie-style build. The active slide gets .is-live and each piece
   enters on its own beat. Pieces rest in their final state, so inactive slides
   and reduced motion show the finished scene. Entrances use the individual
   translate/scale properties so they stack with the float/pop loops. */
@keyframes art-in { from { opacity: 0; translate: 0 .8em; scale: .97; } }
@keyframes art-side { from { opacity: 0; translate: 1.6em 0; } }
@keyframes art-pop { from { opacity: 0; scale: .5; } }
@keyframes art-fade { from { opacity: 0; } }
@keyframes art-grow { from { scale: 1 0; } }
@keyframes art-drop { from { opacity: 0; translate: 0 -1.2em; scale: 1.08; } }
@keyframes art-move { from { opacity: 0; translate: -108% 0; } }
.fslider.is-armed .is-live * { animation-play-state: paused !important; }

/* 1 · Chat: the conversation plays out, then the stats fill in */
.is-live .art-a .phone { animation: art-in .6s var(--ease) .1s backwards; }
.is-live .ph-body > * { animation: art-in .45s var(--ease) backwards; }
.ph-body .msg.in { transform-origin: 0 100%; }
.ph-body .msg.out, .ph-body .file { transform-origin: 100% 100%; }
.is-live .ph-body > :nth-child(1) { animation-delay: .6s; }
.is-live .ph-body > :nth-child(2) { animation-delay: 1.5s; }
.is-live .ph-body > :nth-child(3) { animation-delay: 2.1s; }
.is-live .ph-body > :nth-child(4) { animation-delay: 3.1s; }
.is-live .ph-body > :nth-child(5) { animation-delay: 4.1s; }
.is-live .side-card { animation: art-side .6s var(--ease) .9s backwards; }
.is-live .sc-row b { animation: art-fade .4s var(--ease) 1.3s backwards; }
.mini-bars i { transform-origin: 50% 100%; }
.is-live .mini-bars i { animation: art-grow .6s var(--ease) backwards; }
.is-live .mini-bars i:nth-child(1) { animation-delay: 1.2s; }
.is-live .mini-bars i:nth-child(2) { animation-delay: 1.26s; }
.is-live .mini-bars i:nth-child(3) { animation-delay: 1.32s; }
.is-live .mini-bars i:nth-child(4) { animation-delay: 1.38s; }
.is-live .mini-bars i:nth-child(5) { animation-delay: 1.44s; }
.is-live .mini-bars i:nth-child(6) { animation-delay: 1.5s; }
.is-live .mini-bars i:nth-child(7) { animation-delay: 1.56s; }

/* 2 · Calendar: the week fills, the new booking lands, the reminder goes out */
.is-live .art-b .cal { animation: art-in .6s var(--ease) .1s backwards; }
.is-live .ev:not(.new) { animation: art-in .4s var(--ease) backwards; }
.is-live .cal-col:nth-of-type(1) .ev { animation-delay: .5s; }
.is-live .cal-col:nth-of-type(2) .ev { animation-delay: .58s; }
.is-live .cal-col:nth-of-type(3) .ev { animation-delay: .66s; }
.is-live .cal-col:nth-of-type(5) .ev { animation-delay: .74s; }
.is-live .ev.new { animation: art-drop .5s var(--ease) 1.8s backwards, pop 3.5s var(--ease) 2.3s infinite; }
.is-live .notif { animation: art-side .6s var(--ease) 2.8s backwards, float 6s ease-in-out 3.4s infinite; }
.cal-chip { transform-origin: 100% 50%; }
.is-live .cal-chip { animation: art-pop .4s var(--ease) 3.6s backwards; }

/* 3 · Kanban: the board loads, then Camila's card moves over to "Respondeu" */
.is-live .kb-col { animation: art-fade .5s var(--ease) backwards; }
.is-live .kb-col:nth-child(2) { animation-delay: .08s; }
.is-live .kb-col:nth-child(3) { animation-delay: .16s; }
.is-live .kb-card { animation: art-in .45s var(--ease) backwards; }
.is-live .kb-col:nth-child(1) .kb-card:nth-child(2) { animation-delay: .5s; }
.is-live .kb-col:nth-child(1) .kb-card:nth-child(3) { animation-delay: .6s; }
.is-live .kb-col:nth-child(3) .kb-card:nth-child(2) { animation-delay: .7s; }
.is-live .kb-col:nth-child(3) .kb-card:nth-child(3) { animation-delay: .8s; }
.is-live .kb-card.hl { animation: art-move .7s var(--ease) 1.8s backwards; }
.kb-auto { transform-origin: 0 50%; }
.is-live .kb-card.hl .kb-auto { animation: art-pop .4s var(--ease) 2.6s backwards; }

/* 4 · Document: the scan reads each field, then the checklist ticks off */
.is-live .art-d .doc-paper { animation: art-in .6s var(--ease) .1s backwards; }
.is-live .doc-data { animation: art-side .6s var(--ease) .5s backwards; }
.is-live .dd-h { animation: art-fade .4s var(--ease) .9s backwards; }
.is-live .doc-data dl > div { animation: art-in .4s var(--ease) backwards; }
.is-live .doc-data dl > :nth-child(1) { animation-delay: 1.2s; }
.is-live .doc-data dl > :nth-child(2) { animation-delay: 1.5s; }
.is-live .doc-data dl > :nth-child(3) { animation-delay: 1.8s; }
.is-live .doc-data dl > :nth-child(4) { animation-delay: 2.1s; }
.dd-ok { transform-origin: 0 50%; }
.is-live .dd-ok { animation: art-pop .4s var(--ease) 2.6s backwards; }
.is-live .checklist { animation: art-in .6s var(--ease) 3s backwards; }
.is-live .ck.done .ic { animation: art-pop .35s var(--ease) backwards; }
.is-live .ck.done:nth-of-type(1) .ic { animation-delay: 3.4s; }
.is-live .ck.done:nth-of-type(2) .ic { animation-delay: 3.6s; }

/* ---------- Examples (quote slider) ---------- */
.qslider { overflow: hidden; margin-right: calc((100vw - min(100vw, var(--container))) / -2 - 24px); }
.qslider { touch-action: pan-y; }
@media (hover: hover) and (pointer: fine) { .qslider { cursor: grab; } }
.qslider.is-dragging { cursor: grabbing; user-select: none; }
.q-track { display: flex; gap: 20px; transition: transform .6s var(--ease); }
.qslider.is-dragging .q-track { transition: none; }
.q-card {
  flex: 0 0 min(560px, 86vw); margin: 0; padding: 36px;
  border-radius: 20px; background: var(--sable);
  display: flex; flex-direction: column; gap: 24px;
}
.q-seg { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--white); }
.q-seg .ic { width: 18px; height: 18px; color: var(--orange); }
.q-card blockquote { margin: 0; font-size: 24px; line-height: 1.35; letter-spacing: -.015em; flex: 1; }
.q-card figcaption { border-top: 1px solid var(--line); padding-top: 18px; font-size: 14px; }
.q-card figcaption b { display: block; font-weight: 600; font-size: 15px; }
.q-card figcaption span { color: var(--muted); }

/* ---------- Modules ---------- */
.modules { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.modules-title { font-size: clamp(30px, 3.2vw, 40px); position: sticky; top: 120px; }
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mod {
  display: flex; flex-direction: column; gap: 14px; min-height: 128px;
  padding: 18px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--navy-line);
  text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.3; color: rgba(255, 255, 255, .9);
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.mod:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 201, 64, .45); }
@media (hover: hover) and (pointer: fine) { .mod:hover { transform: translateY(-2px); } }
.mod-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 201, 64, .12); color: var(--amber); }
.mod-gold { background: var(--amber); color: var(--navy-900); border-color: var(--amber); }
.mod-gold:hover { background: var(--amber-hover); }
.mod-gold .mod-ic { background: var(--navy-900); }

/* ---------- Integrations ---------- */
.int-rows { display: flex; flex-direction: column; gap: 16px; }
.int-track { gap: 16px; animation-duration: 60s; }
.int {
  display: inline-flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px;
  background: var(--white); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .04);
  font-weight: 600; font-size: 16px; white-space: nowrap;
}
.int i {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--c); color: #fff; font-style: normal; font-weight: 700; font-size: 14px; letter-spacing: -.02em;
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* ---------- Segments ---------- */
.teams { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; align-items: stretch; }
.team-big, .team-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--sable); text-decoration: none; color: var(--ink);
  transition: box-shadow .25s ease;
}
.team-img { overflow: hidden; flex: 1; min-height: 0; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.team-big .team-img { aspect-ratio: auto; min-height: 380px; }
.team-big .team-img img { object-position: 60% center; }
.team-down { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.team-down p { margin: 0; color: var(--muted); font-size: 15px; }
.team-down .h4 .ic { color: var(--muted); transition: transform .25s ease; }
/* Slow in, quick out */
@media (hover: hover) and (pointer: fine) {
  .team-big:hover, .team-card:hover { box-shadow: 0 20px 40px -20px rgba(10, 21, 48, .35); transition-duration: .5s; }
  .team-big:hover img, .team-card:hover img { transform: scale(1.02); transition-duration: .5s; }
  .team-big:hover .h4 .ic, .team-card:hover .h4 .ic { transform: translateX(4px); transition-duration: .5s; }
}
.team-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 10px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.team-scroller::-webkit-scrollbar { display: none; }
.team-card { scroll-snap-align: start; }
.team-card .team-img { flex: 1; min-height: 260px; }
.team-card .team-down { min-height: 150px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; padding: 120px 0 40px; }
.footer-glow { position: absolute; left: -10%; top: -260px; width: 1500px; max-width: none; pointer-events: none; opacity: 1; }
.footer::before { content: ""; position: absolute; inset: 0; background: url("../img/rings.svg") 50% 0 / 1600px auto no-repeat; opacity: .35; -webkit-mask-image: linear-gradient(#000, transparent 70%); mask-image: linear-gradient(#000, transparent 70%); pointer-events: none; }
.footer > .container { position: relative; }
.footer-cta { display: grid; grid-template-columns: 8fr 4fr; gap: 48px; align-items: end; padding-bottom: 96px; border-bottom: 1px solid var(--navy-line); }
.footer-title { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; font-weight: 500; letter-spacing: -.03em; margin: 0; }
.footer-sub { color: rgba(255, 255, 255, .62); font-size: 18px; margin: 20px 0 0; max-width: 520px; }
.footer-cta-btns { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.footer-grid { display: grid; grid-template-columns: 3fr 2fr 2fr 1.4fr; gap: 40px; padding: 64px 0; }
.footer-brand p { color: rgba(255, 255, 255, .55); margin: 16px 0 0; font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.fc-h { color: rgba(255, 255, 255, .5); font-size: 14px; margin-bottom: 6px; }
.footer-col a { text-decoration: none; font-size: 15px; color: rgba(255, 255, 255, .88); transition: color .2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; border-top: 1px solid var(--navy-line); font-size: 14px; color: rgba(255, 255, 255, .5); }
.fb-links { display: flex; gap: 24px; }
.fb-links a { text-decoration: none; }
.fb-links a:hover { color: #fff; }
.fb-lgpd { display: inline-flex; align-items: center; gap: 6px; }

@keyframes dd-reveal { from { opacity: 0; translate: 0 -6px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* Children cascade in instead of the block arriving at once */
.reveal-stagger > * { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.reveal-stagger.in > * { opacity: 1; translate: none; }
.reveal-stagger.in > :nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > :nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > :nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > :nth-child(5) { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 1; translate: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-menu .nav-link:not(.dd-toggle):not(.nav-ai) { display: none; }
  .hide-md { display: none; }
  .dd-wide { width: min(920px, 92vw); }
  .modules { grid-template-columns: 1fr; gap: 40px; }
  .modules-title { position: static; }
}

@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .nav-burger { display: grid; }
  .nav-actions .btn-primary { display: none; }
  .nav-menu {
    position: fixed; inset: var(--menu-top, 72px) 0 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: 16px 24px 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  .nav.menu-open .nav-menu { transform: none; }
  /* Menu rows follow the drawer in, one after another; they leave together */
  .nav-menu > * { opacity: 0; translate: 24px 0; transition: opacity .3s var(--ease), translate .4s var(--ease); }
  .nav.menu-open .nav-menu > * { opacity: 1; translate: none; }
  .nav.menu-open .nav-menu > :nth-child(1) { transition-delay: .08s; }
  .nav.menu-open .nav-menu > :nth-child(2) { transition-delay: .12s; }
  .nav.menu-open .nav-menu > :nth-child(3) { transition-delay: .16s; }
  .nav.menu-open .nav-menu > :nth-child(4) { transition-delay: .2s; }
  .nav.menu-open .nav-menu > :nth-child(5) { transition-delay: .24s; }
  .nav.menu-open .nav-menu > :nth-child(6) { transition-delay: .28s; }
  .nav-menu .dd-toggle { width: 100%; }
  .nav-menu .nav-link, .nav-menu .nav-link:not(.dd-toggle):not(.nav-ai) { display: flex; justify-content: space-between; padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--navy-line); border-radius: 0; }
  .dd-panel { position: static; display: none; opacity: 1; visibility: visible; transform: none; width: auto; min-width: 0; flex-direction: column; box-shadow: none; background: transparent; color: #fff; padding: 4px 0 12px; }
  .dd-panel::before { content: none; }
  .dd.open .dd-panel { display: flex; animation: dd-reveal .25s var(--ease); }
  .dd-item:hover { background: rgba(255, 255, 255, .06); }
  .dd-item small { color: rgba(255, 255, 255, .55); }
  .dd-over { color: rgba(255, 255, 255, .45); }
  .dd-ic { background: rgba(255, 255, 255, .08); color: var(--amber); }
  .nav-cta-mobile { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
  .nav-cta-mobile .btn { height: 48px; }

  .hero { padding-top: 152px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-screen { margin-top: 48px; }
  .proof-inner { grid-template-columns: 1fr; gap: 32px; }
  .fs-slide { grid-template-columns: 1fr; padding: 28px; gap: 28px; min-height: 0; }
  .fs-tab { font-size: 14px; }
  .teams { grid-template-columns: 1fr; }
  .team-big .team-img { min-height: 280px; }
  .footer-cta { grid-template-columns: 1fr; }
  .footer-cta-btns { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .banner-link { padding: 10px 44px 10px 16px; justify-content: flex-start; text-align: left; font-size: 13px; }
  .banner-link > .ic { display: none; }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn { flex: 1; }
  .hero-screen { margin-left: -12px; margin-right: -12px; }
  .chat-panel { display: none; }
  .app { right: 0; }
  .toast-card { width: 52%; left: 2%; font-size: 2.2cqw; }
  .proof-stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: baseline; gap: 16px; padding: 20px; }
  .stat b { font-size: 32px; margin: 0; min-width: 88px; }
  .fs-tabs { overflow-x: auto; scrollbar-width: none; margin-left: -20px; margin-right: -20px; padding: 0 20px; }
  .fs-tab { flex: none; padding: 14px 14px; white-space: nowrap; }
  .fs-ind { display: none; }
  .fs-tab.on { box-shadow: inset 0 -2px 0 var(--ink); }
  .fs-slide { padding: 20px; }
  .h3 { font-size: 26px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .q-card { padding: 28px; }
  .q-card blockquote { font-size: 20px; }
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .team-scroller { grid-auto-columns: 82%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta-btns .btn { flex: 1; }
}
