/* ---------- Tokens ---------- */
:root {
  /* brand, sampled from the logo + video */
  --navy-950: #06122B;
  --navy-900: #0A1A3A;
  --navy-800: #10264F;
  --navy-700: #1B3463;
  --ink: #0B1F44;
  --green: #1FB25A;          /* fills, with navy text (6.7:1) */
  --green-ink: #087A3B;      /* green text on paper (5.4:1) */
  --green-on-dark: #3DD68A;  /* green text on navy */
  --paper: #F5F0E6;          /* warm cream: green-ink text on it is 4.8:1 */
  --paper-2: #EAE3D4;
  --surface: #FFFFFF;
  --line: #D9D0BF;
  --line-dark: #22365F;
  --muted: #4F607A;
  --muted-dark: #9DB0CC;
  --error: #B42318;
  --error-on-dark: #FF9B8F;

  --font-text: "Manrope", ui-sans-serif, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* type scale (1.25) */
  --t-xs: .75rem; --t-sm: .875rem; --t-md: 1rem; --t-lg: 1.25rem;
  --t-xl: 1.5625rem; --t-2xl: clamp(1.75rem, 1.2rem + 2.4vw, 3.05rem);
  --t-3xl: clamp(2rem, 1.2rem + 3.6vw, 4.2rem);

  /* spacing (4px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 144px;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --hdr-h: 56px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
section { scroll-margin-top: var(--hdr-h); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-text); font-size: var(--t-md); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: var(--s4); top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: var(--s2) var(--s4); border-radius: var(--r-sm); }
.skip:focus { top: var(--s4); }
.wrap { width: min(1200px, 100% - 2 * var(--s5)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.eyebrow { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--green-on-dark); }
.eyebrow--ink { color: var(--green-ink); }
.h2 { font-size: var(--t-3xl); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin-top: var(--s4); }
.h2--on-dark { color: #fff; }
.accent { color: var(--green-ink); }
.accent-dark { color: var(--green-on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  background: var(--green); color: var(--navy-950); border: 0; cursor: pointer;
  font: 700 var(--t-sm)/1 var(--font-text); text-decoration: none; white-space: nowrap;
  padding: 14px 20px; border-radius: var(--r-pill);
  transition: background-color .18s, transform .18s var(--ease-out);
}
.btn:hover { background: #2BC66A; }
.btn:active { transform: scale(.97); }
.btn--sm { padding: 10px 16px; }
.btn--lg { padding: 18px 26px; font-size: var(--t-md); margin-top: var(--s5); }

/* ---------- Header: transparent, sits on the stretched top row of the frame ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h);
  display: flex; align-items: center; gap: var(--s5); padding: 0 var(--s5);
  color: var(--ink); transition: color .25s, background-color .25s;
}
.hdr[data-tone="dark"] { color: #fff; }
.hdr.is-solid { background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom: 1px solid var(--line); }
.hdr.is-solid[data-tone="dark"] { background: color-mix(in srgb, var(--navy-950) 92%, transparent); border-bottom-color: var(--line-dark); }
.hdr__brand { display: flex; align-items: center; gap: var(--s3); color: inherit; text-decoration: none; }
.mark { display: block; height: auto; overflow: visible; }
.mark--hdr { width: 44px; }
.mark--avatar { width: 24px; }
.mark--ftr { width: 64px; --mark-b: #fff; --mark-r: var(--green-on-dark); }
.hdr[data-tone="dark"] { --mark-b: #fff; --mark-r: var(--green-on-dark); }
.hdr__word { font-family: "Montserrat", var(--font-text); font-weight: 700; font-size: var(--t-md); letter-spacing: .02em; }
.hdr__word b { color: var(--green-ink); }
.hdr[data-tone="dark"] .hdr__word b { color: var(--green-on-dark); }
.hdr__nav { display: flex; gap: var(--s1); margin-left: auto; }
.hdr__nav a {
  position: relative; color: inherit; text-decoration: none; font-size: var(--t-sm); font-weight: 600;
  padding: 8px 12px; border-radius: var(--r-pill); opacity: .72; transition: opacity .2s, background-color .2s;
}
.hdr__nav a:hover { opacity: 1; }
.hdr__nav a[aria-current="true"] { opacity: 1; background: rgba(11,31,68,.08); }
.hdr[data-tone="dark"] .hdr__nav a[aria-current="true"] { background: rgba(255,255,255,.1); }
.hdr__nav a[aria-current="true"]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--green); vertical-align: 1px; }
.hdr__now { display: none; margin-left: auto; font: 500 var(--t-xs) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.hdr__progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Page fluid layer (assets/gl/page-fx.js) ---------- */
.page-fx { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; display: block; /* lvh: mobile toolbars never resize it */ z-index: 0; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease-out); }
.fx-on .page-fx { opacity: 1; }
main, .ftr { position: relative; z-index: 1; }

/* ---------- Services list ---------- */

.services { padding: var(--s10) 0 var(--s9); }
.svc-list { list-style: none; margin: var(--s8) 0 0; padding: 0; border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: var(--s5); align-items: center;
  padding: var(--s6) var(--s4); border-bottom: 1px solid var(--line); position: relative; isolation: isolate;
  color: inherit; text-decoration: none; cursor: pointer;
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy-900); border-radius: var(--r-md);
  clip-path: inset(50% 0 50% 0 round var(--r-md)); opacity: 0; /* the collapsed clip left a 1px line through the row */
  transition: clip-path .3s var(--ease-out), opacity .2s var(--ease-out);
}
.fx-on .svc::before { display: none; } /* the liquid glass pane is the hover state */
.fx-on .svc-list, .fx-on .svc { border-color: transparent; } /* the panes' gaps separate the rows */
.svc__n { font: 500 var(--t-sm) var(--font-mono); color: var(--green-ink); transition: color .2s; }
.svc__name { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; transition: color .2s, transform .3s var(--ease-out); }
.svc__desc { color: var(--muted); font-size: var(--t-sm); transition: color .2s; }
.svc__tags { display: block; margin-top: var(--s2); font: 500 var(--t-xs) var(--font-mono); letter-spacing: .04em; color: var(--muted); transition: color .2s; }
.svc__go {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink);
  transition: background-color .2s, border-color .2s, transform .3s var(--ease-out), color .2s;
}
@media (hover: hover) {
  .svc:hover::before { clip-path: inset(0 0 0 0 round var(--r-md)); opacity: 1; }
  .svc:hover .svc__name { transform: translateX(6px); }
  html:not(.fx-on) .svc:hover .svc__name { color: #fff; }
  html:not(.fx-on) .svc:hover .svc__n { color: var(--green-on-dark); }
  html:not(.fx-on) .svc:hover .svc__desc, html:not(.fx-on) .svc:hover .svc__tags { color: var(--muted-dark); }
  .svc:hover .svc__go { background: var(--green); border-color: var(--green); color: var(--navy-950); transform: rotate(-45deg); }
}
.svc:focus-visible { outline-offset: -2px; }

/* ---------- Selected work ---------- */
/* Editorial rhythm: wide + narrow cards alternate (7/5, then 5/7) so the grid never reads as a template row. */
.work { padding: 0 0 var(--s9); }
.work__grid { list-style: none; margin: var(--s8) 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s7) var(--s5); }
.work__item { grid-column: span 7; }
.work__item:nth-child(4n + 2), .work__item:nth-child(4n + 3) { grid-column: span 5; }
.work__item:nth-child(4n + 2) { margin-top: var(--s9); } /* stagger the narrow card down */
.work__card { display: grid; gap: var(--s4); color: inherit; text-decoration: none; }
.work__media {
  display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-lg);
  background: var(--navy-950); border: 1px solid var(--line);
}
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.work__n { font: 700 clamp(4rem, 3rem + 6vw, 9rem)/1 "Montserrat", sans-serif; letter-spacing: -.04em; color: var(--green-on-dark); }
.work__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2) var(--s3); }
.work__svc { font: 500 var(--t-xs) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); }
.work__client { font-size: var(--t-sm); color: var(--muted); }
.work__result { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; max-width: 30ch; }
.work__cta { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--t-sm); font-weight: 700; color: var(--ink); }
.work__cta svg { transition: transform .25s var(--ease-out); }
@media (hover: hover) {
  .work__card:hover .work__media img { transform: scale(1.03); }
  .work__card:hover .work__cta svg { transform: translateX(4px); }
}
@media (max-width: 760px) {
  .work__grid { grid-template-columns: 1fr; gap: var(--s7); }
  .work__item, .work__item:nth-child(4n + 2), .work__item:nth-child(4n + 3) { grid-column: auto; margin-top: 0; }
  .work__result { font-size: var(--t-lg); }
}

/* ---------- Process ---------- */
.process { background: var(--navy-950); color: #fff; padding: var(--s10) 0; position: relative; overflow: hidden; }
.process::after { /* faint grid echoing the dark frames of the video */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 96px 96px; mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.process .wrap { position: relative; z-index: 1; }
.steps { margin-top: var(--s8); position: relative; }
.steps__track { position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--line-dark); }
.steps__track span { display: block; height: 100%; background: var(--green-on-dark); transform-origin: left; transform: scaleX(var(--p)); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); }
.step { position: relative; padding-top: var(--s8); opacity: .45; transition: opacity .4s var(--ease-out); }
.step.is-on { opacity: 1; }
.step__n {
  position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-950); border: 2px solid var(--line-dark); font: 500 var(--t-xs) var(--font-mono); color: var(--muted-dark);
  transition: border-color .3s, color .3s, background-color .3s;
}
.step.is-on .step__n { border-color: var(--green-on-dark); color: var(--navy-950); background: var(--green-on-dark); }
.step h3 { font-size: var(--t-lg); font-weight: 800; letter-spacing: -.01em; }
.step p { margin-top: var(--s2); color: var(--muted-dark); font-size: var(--t-sm); max-width: 32ch; }

/* ---------- Enquiry ---------- */
.enquire { padding: var(--s10) 0; }
.enquire__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.form { display: grid; gap: var(--s5); }
.form .h2 { margin-top: var(--s2); margin-bottom: var(--s2); }
.field { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s2); }
.label { font-weight: 700; font-size: var(--t-sm); padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s1); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: block; padding: 10px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface);
  font-size: var(--t-sm); font-weight: 600; transition: background-color .18s, border-color .18s, color .18s;
}
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.input {
  width: 100%; font: 500 var(--t-md) var(--font-text); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; transition: border-color .18s, box-shadow .18s;
}
.input::placeholder { color: var(--muted); }
.input:hover { border-color: #A9B6C6; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31,178,90,.35); }
.input[aria-invalid="true"] { border-color: var(--error); }
.input--area { resize: vertical; min-height: 120px; line-height: 1.5; }
.hint { font-size: var(--t-sm); color: var(--muted); }
.err { font-size: var(--t-sm); color: var(--error); font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.form .btn--lg { justify-self: start; }
.status { font-size: var(--t-sm); color: var(--green-ink); font-weight: 600; }
.status:empty { display: none; }
.status a { color: inherit; }

.chat {
  position: sticky; top: calc(var(--hdr-h) + var(--s5));
  background: var(--navy-950); color: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(6,18,43,.55); border: 1px solid var(--line-dark);
}
.chat__top { display: flex; align-items: center; gap: var(--s3); padding: var(--s4) var(--s5); background: var(--navy-900); border-bottom: 1px solid var(--line-dark); }
.chat__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.chat__name { font-weight: 700; }
.chat__sub { font-size: var(--t-xs); color: var(--muted-dark); }
.chat__body {
  padding: var(--s5); min-height: 320px; display: flex; flex-direction: column; gap: var(--s4);
  background-image: radial-gradient(var(--line-dark) 1px, transparent 1px); background-size: 18px 18px;
}
.chat__day { align-self: center; font: 500 var(--t-xs) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dark); background: var(--navy-900); padding: 4px 10px; border-radius: var(--r-pill); }
.bubble {
  align-self: flex-end; max-width: 92%; background: #0E5A35; color: #EAFBF1; border-radius: var(--r-md) var(--r-md) 4px var(--r-md);
  padding: var(--s3) var(--s4); font-size: var(--t-sm); white-space: pre-wrap; overflow-wrap: anywhere;
  transform-origin: bottom right;
}
.bubble.pop { animation: pop .22s var(--ease-out); }
@keyframes pop { from { transform: scale(.96); opacity: .6; } }
.bubble .ph { color: #9FD9B8; font-style: italic; }
.chat__foot { padding: var(--s4) var(--s5); font-size: var(--t-xs); color: var(--muted-dark); border-top: 1px solid var(--line-dark); }

/* ---------- Footer ---------- */
.ftr { background: var(--navy-950); color: #fff; padding: var(--s7) 0; border-top: 1px solid var(--line-dark); }
.ftr__row { display: flex; justify-content: space-between; align-items: end; gap: var(--s5); flex-wrap: wrap; }
.ftr__lockup { display: flex; align-items: center; gap: var(--s4); }
.ftr__brand { font-family: "Montserrat", var(--font-text); font-weight: 700; font-size: var(--t-xl); letter-spacing: .02em; }
.ftr__brand b { color: var(--green-on-dark); }
.ftr__tag { color: var(--muted-dark); font-size: var(--t-sm); }
.ftr__wa { color: #fff; font-weight: 600; text-underline-offset: 4px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.svc.reveal { transition-delay: calc(var(--i, 0) * 60ms); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hdr__nav { display: none; }
  .hdr__now { display: block; }
}
@media (max-width: 900px) {
  .svc { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .svc__desc { grid-column: 2 / 3; grid-row: 2; }
  .svc__go { grid-row: 1 / 3; grid-column: 3; }
  .steps__track { left: 22px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps__track span { transform-origin: top; transform: scaleY(var(--p)); }
  .steps__list { grid-template-columns: 1fr; gap: var(--s7); }
  .step { padding: 0 0 0 72px; min-height: 46px; }
  .enquire__grid { grid-template-columns: 1fr; gap: var(--s7); }
  .chat { position: static; }
}
@media (max-width: 640px) {
  :root { --hdr-h: 52px; }
  .hdr { padding: 0 var(--s4); gap: var(--s3); }
  .hdr__word { display: none; }
  .wrap { width: calc(100% - 2 * var(--s4)); }
  .services, .process, .enquire { padding: var(--s9) 0; }
  .svc { padding: var(--s5) var(--s1); gap: var(--s3) var(--s4); }
  .svc__name { font-size: var(--t-lg); }
  .svc__go { width: 40px; height: 40px; }
  .form .btn--lg { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= Structure for the open areas ================= */

/* Editorial rails: hairlines on the content edges + the paper grid, so the space reads as margins of a layout */
.railed { position: relative; }
.railed::before {
  --edge: max(calc(50% - 600px), var(--s5));
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(var(--line), var(--line)) left var(--edge) top 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) right var(--edge) top 0 / 1px 100% no-repeat,
    linear-gradient(rgba(11,31,68,.03) 1px, transparent 1px) 0 0 / 97px 97px,
    linear-gradient(90deg, rgba(11,31,68,.018) 1px, transparent 1px) 0 0 / 97px 97px;
}
.railed--dark::before {
  background:
    linear-gradient(var(--line-dark), var(--line-dark)) left var(--edge) top 0 / 1px 100% no-repeat,
    linear-gradient(var(--line-dark), var(--line-dark)) right var(--edge) top 0 / 1px 100% no-repeat;
}
.railed > .wrap { position: relative; z-index: 1; }
.rail-label {
  position: absolute; z-index: 1; top: var(--s6); right: max(calc(50% - 600px), var(--s5)); padding-right: var(--s3);
  display: flex; align-items: center; gap: var(--s2);
  font: 500 var(--t-xs) var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.rail-label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.railed--dark .rail-label { color: var(--muted-dark); }

/* Scroll-linked brand band + the stack we build on */
.band { position: relative; overflow: hidden; padding: var(--s8) 0 var(--s7); }
.band__track {
  display: flex; white-space: nowrap; width: max-content;
  font: 800 clamp(3rem, 1.6rem + 6vw, 8rem)/1.05 "Montserrat", var(--font-text); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(11,31,68,.24);
  transform: translate3d(calc(var(--sx, 0) * -1px), 0, 0); will-change: transform;
}
.band__track span { padding-right: .35em; }
.band__tools { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3) var(--s5); margin-top: var(--s7); }
.band__tools ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.band__tools li {
  font: 500 var(--t-sm) var(--font-mono); color: var(--ink); padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: color-mix(in srgb, var(--paper) 75%, transparent);
}

/* Services: list + live preview */
.services__body { margin-top: var(--s8); }
.services__body .svc-list { margin-top: 0; }
.preview { display: none; }
@media (min-width: 1100px) {
  .services__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s7); align-items: start; }
  .services__body .svc { grid-template-columns: 52px minmax(0, .85fr) minmax(0, 1.15fr) auto; }
  .preview { display: grid; position: sticky; top: calc(var(--hdr-h) + var(--s7)); gap: var(--s3); }
}
.preview__label { display: flex; gap: var(--s2); align-items: baseline; font: 500 var(--t-xs) var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.preview__label b { color: var(--ink); font-weight: 500; }
.pv { grid-row: 2; grid-column: 1; margin: 0; opacity: 0; transform: translateY(8px) scale(.985); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.pv.is-on { opacity: 1; transform: none; }
.pv svg { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 22px 44px -26px rgba(11,31,68,.5); }
.pv:not(.is-on) * { animation-play-state: paused !important; }
.pv .s { fill: var(--surface); stroke: var(--line); }
.pv text { font: 600 9px var(--font-mono); fill: var(--ink); text-anchor: middle; }
.pv .cap { font-size: 8px; fill: var(--muted); }
.pv .node rect { fill: var(--paper); stroke: var(--line); }
@keyframes pv-in { 0% { opacity: 0; transform: translateY(6px); } 10%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pv-grow { 0% { transform: scaleY(.12); } 40%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.12); } }
@keyframes pv-bar { 0% { transform: scaleX(0); } 45%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
/* web */
.pv--web .d { fill: var(--line); }
.pv--web .u, .pv--web .c { fill: var(--paper); }
.pv--web .c { stroke: var(--line); }
.pv--web .hero { fill: var(--navy-900); }
.pv--web .l { fill: #fff; opacity: .9; } .pv--web .l2 { opacity: .45; }
.pv--web .b, .pv--web .a { fill: var(--green); }
.pv--web .a { transform-box: fill-box; transform-origin: left; animation: pv-bar 3s var(--ease-out) infinite; }
.pv--web .a:nth-of-type(2) { animation-delay: .25s; } .pv--web .a:nth-of-type(3) { animation-delay: .5s; }
.pv--web .sweep { fill: #fff; opacity: .07; animation: pv-sweep 3s ease-in-out infinite; }
@keyframes pv-sweep { from { transform: translateX(0); } to { transform: translateX(232px); } }
/* business */
.pv--biz .wire { stroke: var(--line); stroke-width: 2; stroke-dasharray: 4 4; fill: none; }
.pv--biz .pkt { fill: var(--green); animation: pv-pkt 1.6s ease-in-out infinite; }
.pv--biz .p2 { animation-delay: .8s; }
@keyframes pv-pkt { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(46px); opacity: 0; } }
/* n8n */
.pv--n8n .flow { fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 6 6; animation: pv-flow 1s linear infinite; }
@keyframes pv-flow { to { stroke-dashoffset: -24; } }
.pv--n8n .trig { fill: var(--green); }
/* whatsapp + telegram */
.pv .hd { fill: var(--navy-900); }
.pv .hn { fill: #fff; text-anchor: start; }
.pv .av { fill: var(--green); }
.pv--wa .in { fill: var(--paper); stroke: var(--line); }
.pv--wa .out { fill: #D8F2E2; }
.pv--wa .ti, .pv--wa .to { text-anchor: start; font-size: 8.5px; }
.pv--wa .m { animation: pv-in 5s var(--ease-out) infinite both; }
.pv--wa .m2 { animation-delay: .7s; } .pv--wa .m3 { animation-delay: 1.4s; } .pv--wa .m4 { animation-delay: 2.1s; }
.pv--wa .ty { fill: var(--muted); }
.pv--tg .bars rect { fill: color-mix(in srgb, var(--navy-700) 30%, var(--paper)); transform-box: fill-box; transform-origin: bottom; animation: pv-grow 3.4s var(--ease-out) infinite; }
.pv--tg .bars rect:nth-child(2) { animation-delay: .1s; } .pv--tg .bars rect:nth-child(3) { animation-delay: .2s; }
.pv--tg .bars rect:nth-child(4) { animation-delay: .3s; } .pv--tg .bars rect:nth-child(5) { animation-delay: .4s; }
.pv--tg .bars .hi { fill: var(--green); animation-delay: .5s; }
.pv--tg .base { stroke: var(--line); }
/* android */
.pv--app .ph { fill: var(--navy-900); }
.pv--app .sc { fill: var(--paper); }
.pv--app .row { fill: #fff; stroke: var(--line); animation: pv-in 4s var(--ease-out) infinite both; }
.pv--app .r2 { animation-delay: .25s; } .pv--app .r3 { animation-delay: .5s; }
.pv--app .sync { fill: var(--green); animation: pv-pulse 2s ease-in-out infinite; }
.pv--app .cap { fill: #fff; font-size: 9px; }
.pv--app .nav { fill: rgba(255,255,255,.35); }
@keyframes pv-pulse { 50% { opacity: .65; } }

/* Questions */
.faq { padding: var(--s10) 0 var(--s8); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: start; }
.faq__head { position: sticky; top: calc(var(--hdr-h) + var(--s7)); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  padding: var(--s5) 0; font-size: var(--t-lg); font-weight: 700; letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .25s var(--ease-out), background-color .2s, border-color .2s;
}
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--green); border-color: var(--green); color: var(--navy-950); }
.qa p { padding: 0 var(--s8) var(--s5) 0; color: var(--muted); max-width: 62ch; }
@media (hover: hover) { .qa summary:hover { color: var(--green-ink); } }

/* Closing band */
.cta { padding: var(--s9) 0 var(--s10); }
.cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta__title { margin: 0; font-weight: 800; font-size: clamp(2.75rem, 1.4rem + 6vw, 6.5rem); line-height: 1; letter-spacing: -.04em; }
.cta__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--s4) var(--s5); margin-top: var(--s6); }
.cta__actions .btn--lg { margin-top: 0; }
.cta__alt { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }

@media (max-width: 760px) {
  .faq__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .faq__head { position: static; }
  .qa p { padding-right: 0; }
  .rail-label { top: var(--s4); }
  .band { padding: var(--s7) 0 var(--s6); }
}
@media (prefers-reduced-motion: reduce) {
  .pv *, .pv { animation: none !important; transition: none !important; }
  .band__track { transform: none; }
}
