/* ==========================================================================
   WorkPilot — marketing website
   Light-first design tokens, layout, components and motion.
   ========================================================================== */

:root {
  /* Calm palette: deep-sea ink, teal primary, aqua highlights, warm sand accent. */
  --ink: #0E2B33;
  --ink-deep: #081D22;
  --teal: #1E8C86;
  --teal-600: #157069;
  --aqua: #8FD3CB;
  --mist: #E4EFEE;
  --sand: #F1C88B;
  --sand-ink: #7A4F12;
  --coral: #E68B6B;
  --bg: #F3F6F6;
  --bg-alt: #EDF2F2;
  --text: #1B3138;
  --muted: #5F7479;
  --border: #DCE6E6;

  /* older names, kept so every component follows the palette */
  --navy: var(--ink);
  --navy-deep: var(--ink-deep);
  --blue: var(--teal);
  --blue-600: var(--teal-600);
  --sky: var(--aqua);
  --soft: var(--mist);
  --lime: var(--sand);
  --lime-ink: var(--sand-ink);

  --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 26px;
  --radius-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(14, 43, 51, .05), 0 4px 12px rgba(14, 43, 51, .04);
  --shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 32px rgba(14, 43, 51, .08);
  --shadow-lg: 0 6px 16px rgba(14, 43, 51, .06), 0 34px 80px rgba(14, 43, 51, .14);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: .98; }
h2 { font-size: clamp(2.1rem, 4.3vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
h1 em, h2 em { font-style: normal; color: var(--teal); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--soft { background: var(--soft); }

.section-head { max-width: 780px; margin-bottom: clamp(30px, 4.5vw, 48px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px 64px; align-items: end; }
.section-head--split p { margin-top: 0; justify-self: end; max-width: 440px; }
@media (max-width: 860px) {
  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split p { justify-self: start; }
}
.section-head p { margin-top: 14px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); }

/* "● – SECTION NAME" label in mono */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-weight: 500; font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 20px; height: 6px; flex: none;
  background: radial-gradient(circle 3px at 3px 3px, currentColor 96%, transparent) no-repeat,
              linear-gradient(currentColor, currentColor) 11px 50% / 9px 1.5px no-repeat;
}
.eyebrow svg { display: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid rgba(30, 140, 134, .45); outline-offset: 2px; border-radius: 6px; }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons: pill with a round icon badge, text rolls on hover ---------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: #fff; --btn-bd: transparent;
  --ico-bg: rgba(255, 255, 255, .18); --ico-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, transform .35s var(--ease);
}
.btn:has(> .ico) { padding-right: 7px; }
.btn > .ico { width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: var(--ico-bg); color: var(--ico-fg); transition: transform .45s var(--ease), background .3s; }
.btn:hover { text-decoration: none; }
.btn:hover > .plane-ico, .btn:focus-visible > .plane-ico { transform: translate(2px, -2px) rotate(-10deg) scale(1.06); }
.btn:hover > .arrow-ico { transform: translateX(3px); }
.btn__t { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3; }
.btn__t > span { display: block; transition: transform .55s var(--ease); }
.btn__t > span::after { content: attr(data-t); display: block; }
.btn:hover .btn__t > span, .btn:focus-visible .btn__t > span { transform: translateY(-50%); }
.btn--primary { box-shadow: 0 10px 26px rgba(30, 140, 134, .28); }
.btn--primary:hover { --btn-bg: var(--teal-600); box-shadow: 0 12px 30px rgba(30, 140, 134, .36); }
.btn--ghost { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--border); --ico-bg: var(--mist); --ico-fg: var(--teal); }
.btn--ghost:hover { --btn-bd: #C6D6D6; box-shadow: var(--shadow-sm); }
.btn--dark { --btn-bg: var(--ink); --ico-bg: var(--teal); }
.btn--dark:hover { --btn-bg: var(--ink-deep); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --ico-bg: var(--mist); --ico-fg: var(--teal); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .3); --ico-bg: rgba(255, 255, 255, .12); }
.btn--outline-light:hover { --btn-bd: rgba(255, 255, 255, .7); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.btn--sm:has(> .ico) { padding-right: 5px; }
.btn--sm > .ico { width: 34px; height: 34px; padding: 9px; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.02rem; }
.btn--lg:has(> .ico) { padding-right: 8px; }
.btn--lg > .ico { width: 42px; height: 42px; padding: 11px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.035em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, var(--teal), #4DB3A9); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(30, 140, 134, .3); }
.brand-mark svg { width: 20px; height: 20px; }
.brand span b { color: var(--blue); font-weight: 800; }

/* ---------- Navigation: floating glass pill, hides on scroll down ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 14px var(--gutter) 0; pointer-events: none; transition: transform .5s var(--ease); }
.site-header.is-hidden { transform: translateY(calc(-100% - 12px)); }
.nav {
  pointer-events: auto; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px 7px 7px 18px; border-radius: 999px;
  background: rgba(243, 246, 246, .78); border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 10px 30px rgba(14, 43, 51, .08);
  transition: box-shadow .4s;
}
.site-header.is-scrolled .nav { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 14px 36px rgba(14, 43, 51, .12); }
.nav__menu { position: relative; }
.nav__links { position: relative; z-index: 1; display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--text); font-weight: 500; font-size: .92rem; transition: color .25s; }
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); text-decoration: none; }
.nav__links a.is-current { font-weight: 600; }
.nav__pill {
  position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: 0; border-radius: 999px;
  background: #fff; box-shadow: 0 2px 10px rgba(14, 43, 51, .08); opacity: 0;
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__login { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.nav__login .ico { width: 17px; height: 17px; color: var(--teal); }
.nav__login:hover { background: rgba(255, 255, 255, .8); text-decoration: none; }
.burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; flex: none; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* full-screen mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 55; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; padding: 104px var(--gutter) 28px;
  background: radial-gradient(70% 50% at 100% 0%, rgba(30, 140, 134, .35), transparent 70%), var(--ink);
  color: #fff; visibility: hidden;
  clip-path: circle(0 at calc(100% - 44px) 44px);
  transition: clip-path .6s var(--ease), visibility 0s .6s;
}
.menu-open .mmenu { visibility: visible; clip-path: circle(150% at calc(100% - 44px) 44px); transition: clip-path .8s var(--ease), visibility 0s; }
.menu-open { overflow: hidden; }
.mmenu ul { list-style: none; margin: 0; padding: 0; }
.mmenu li { border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s var(--ease); }
.menu-open .mmenu li { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * .05s); }
.mmenu li a { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 7vw, 2.3rem); letter-spacing: -.035em; line-height: 1.15; }
.mmenu li a:hover { text-decoration: none; color: var(--aqua); }
.mmenu small { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; color: var(--aqua); letter-spacing: 0; }
.mmenu__ctas { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; }
.mmenu__mail { margin-top: 18px; color: rgba(255, 255, 255, .6); font-size: .9rem; }
.mmenu__mail a { color: var(--aqua); }

@media (max-width: 1120px) {
  .nav__menu, .nav__login { display: none; }
  .burger { display: block; }
}
@media (max-width: 480px) {
  .nav .btn--primary { display: none; }
}
@media (min-width: 1121px) { .mmenu { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; isolation: isolate; padding: calc(96px + clamp(28px, 4vw, 64px)) 0 clamp(96px, 10vw, 140px); overflow: clip; }
.hero::before { /* open sky */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 60% at 80% 10%, rgba(255, 255, 255, .85), transparent 70%),
    radial-gradient(70% 50% at 0% 0%, rgba(143, 211, 203, .4), transparent 70%),
    linear-gradient(180deg, #C9E4E6 0%, #DBECED 45%, #E9F2F2 80%, var(--bg) 100%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero__copy { position: relative; z-index: 3; }
.hero__copy h1 .accent { color: var(--teal); }
.hero__lead { margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__tagline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; color: var(--navy); font-weight: 600; font-size: .93rem; }
.hero__tagline span { display: inline-flex; align-items: center; gap: 8px; }
.hero__tagline span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(241, 200, 139, .35); }

.flight { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.flight .flight-path { fill: none; stroke: rgba(30, 140, 134, .35); stroke-width: 1.6; stroke-dasharray: 2 7; stroke-linecap: round; }
.flight .flight-ink { fill: none; stroke: url(#trailGrad); stroke-width: 2.2; stroke-linecap: round; }
.flight .flight-comet { fill: none; stroke: rgba(30, 140, 134, .55); stroke-width: 3; stroke-linecap: round; }
.flight-plane { transition: opacity .4s; }

/* hero visual */
.hero__visual { position: relative; z-index: 2; min-height: 520px; }
.browser {
  position: relative; z-index: 2;
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D6E2E2; }
.browser__url { margin-left: 12px; flex: 1; max-width: 260px; height: 22px; border-radius: 6px; background: #fff; border: 1px solid var(--border); font-size: .7rem; color: var(--muted); display: flex; align-items: center; padding: 0 10px; overflow: hidden; white-space: nowrap; }

.dash { display: grid; grid-template-columns: 132px 1fr; min-height: 380px; font-size: .74rem; }
.dash__side { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 16px 10px; display: flex; flex-direction: column; gap: 3px; }
.dash__logo { display: flex; align-items: center; gap: 7px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .86rem; padding: 2px 6px 14px; }
.dash__logo svg { width: 16px; height: 16px; }
.dash__nav { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; }
.dash__nav .ico { width: 14px; height: 14px; }
.dash__nav.is-active { background: rgba(255, 255, 255, .1); color: #fff; }
.dash__main { padding: 16px 18px; background: #FAFCFC; min-width: 0; }
.dash__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dash__head strong { font-family: var(--font-display); font-size: .98rem; color: var(--navy); }
.dash__head .pill { background: var(--blue); color: #fff; padding: 5px 10px; border-radius: 999px; font-weight: 600; font-size: .66rem; }
.dash__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; }
.kpi small { display: block; color: var(--muted); font-size: .62rem; }
.kpi b { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); }
.kpi--lime { background: #FBF4E6; border-color: #F1DFBD; }
.dash__table { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.dash__row { display: grid; grid-template-columns: 1.6fr 1fr .9fr; gap: 8px; align-items: center; padding: 8px 10px; border-top: 1px solid var(--border); }
.dash__row:first-child { border-top: 0; color: var(--muted); font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; background: var(--bg-alt); }
.dash__row b { color: var(--navy); font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__row span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-size: .66rem; font-weight: 600; white-space: nowrap; line-height: 1.5; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--new { background: #E2EFF6; color: #2D6A8A; }
.chip--assigned { background: #ECEBF7; color: #5953A6; }
.chip--progress { background: #FBF0DE; color: #996112; }
.chip--done { background: #E1F3EA; color: #1F7A55; }
.chip--invoiced { background: #F7EEDD; color: var(--sand-ink); }

/* phone */
.phone {
  position: relative; width: 236px; aspect-ratio: 9 / 19;
  background: var(--navy-deep); border-radius: 38px; padding: 9px;
  box-shadow: 0 30px 60px rgba(8, 29, 34, .28), inset 0 0 0 1.5px #23414A;
}
.phone__screen { position: relative; height: 100%; border-radius: 30px; background: #F4F7F7; overflow: hidden; display: flex; flex-direction: column; font-size: .72rem; }
.phone__notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 72px; height: 20px; border-radius: 999px; background: var(--navy-deep); z-index: 2; }
.phone__top { background: var(--navy); color: #fff; padding: 38px 16px 16px; }
.phone__top small { opacity: .7; font-size: .64rem; }
.phone__top strong { display: block; font-family: var(--font-display); font-size: .98rem; margin-top: 2px; }
.phone__body { padding: 12px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pcard { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px 11px; }
.pcard__title { font-weight: 700; color: var(--navy); font-size: .76rem; }
.pcard__meta { color: var(--muted); font-size: .64rem; margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.pcard__meta .ico { width: 11px; height: 11px; }
.todo { display: flex; align-items: center; gap: 8px; padding: 5px 0; color: var(--text); font-size: .7rem; }
.todo i { width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid #C4D2D2; flex: none; display: grid; place-items: center; }
.todo.is-done i { background: var(--blue); border-color: var(--blue); }
.todo.is-done i::after { content: ""; width: 7px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.todo.is-done span { color: var(--muted); text-decoration: line-through; }
.phone__cta { margin-top: auto; background: var(--blue); color: #fff; text-align: center; padding: 11px; border-radius: 12px; font-weight: 700; font-size: .76rem; }

.hero__visual .browser { width: 100%; }
.hero__visual .phone { position: absolute; right: -18px; bottom: -64px; z-index: 4; width: 200px; }

/* floating status cards */
.fcard {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 11px;
  background: rgba(255, 255, 255, .96); border: 1px solid var(--border); border-radius: 16px;
  padding: 11px 14px 11px 11px; box-shadow: var(--shadow);
  font-size: .78rem; line-height: 1.35; min-width: 0;
}
.fcard__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.fcard__icon .ico { width: 18px; height: 18px; }
.fcard b { display: block; color: var(--navy); font-family: var(--font-display); font-size: .82rem; }
.fcard span { color: var(--muted); font-size: .7rem; }
.fcard--call { top: -28px; left: -34px; }
.fcard--call .fcard__icon { background: #E1F0EE; color: var(--blue); }
.fcard--assigned { bottom: 40px; left: -46px; }
.fcard--assigned .fcard__icon { background: #ECEBF7; color: #5953A6; }
.fcard--done { top: 92px; right: -40px; }
.fcard--done .fcard__icon { background: #E1F3EA; color: #1F7A55; }
.fcard--invoice { top: -40px; right: 80px; }
.fcard--invoice .fcard__icon { background: #F7EEDD; color: var(--lime-ink); }

.float { animation: float 7s ease-in-out infinite; }
.float--b { animation-duration: 8s; animation-delay: -2s; }
.float--c { animation-duration: 9s; animation-delay: -4s; }
.float--d { animation-duration: 7.5s; animation-delay: -1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.status-cycle .chip { transition: background .3s, color .3s; }

@media (max-width: 1139px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 760px; }
  .hero__visual { min-height: 0; margin: 28px 8px 70px; max-width: 680px; }
  .hero__visual .phone { width: 168px; right: -6px; bottom: -58px; }
  .fcard--assigned { left: -8px; }
  .fcard--call { left: -8px; }
  .fcard--done { right: -8px; }
}
@media (max-width: 640px) {
  .dash { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash__row { grid-template-columns: 1.5fr 1fr; }
  .dash__row > :nth-child(2) { display: none; }
  .fcard--invoice, .fcard--done { display: none; }
  .fcard--call { top: -24px; }
  .fcard--assigned { bottom: 24px; }
  .hero__visual .phone { width: 136px; bottom: -48px; border-radius: 26px; padding: 6px; }
  .hero__visual .phone .phone__screen { border-radius: 21px; font-size: .58rem; }
  .hero__visual .phone .phone__top { padding: 30px 11px 11px; }
  .hero__ctas .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Clouds: soft gradient puffs drifting slowly. Only `transform` animates,
   so each blurred layer is rasterised once and moved on the GPU.
   ========================================================================== */
.has-clouds { overflow: clip; isolation: isolate; }
.has-clouds > .container { position: relative; z-index: 1; }
.clouds { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero .clouds { z-index: -1; }
.cloud {
  --c: 255, 255, 255; --shade: 198, 216, 240;
  position: absolute; left: 0; top: var(--y, 20%);
  width: var(--w, 280px); aspect-ratio: 5 / 2; opacity: var(--o, .9);
  background:
    radial-gradient(ellipse 18% 42% at 30% 58%, rgba(var(--c), 1) 52%, rgba(var(--c), 0) 72%),
    radial-gradient(ellipse 22% 58% at 47% 44%, rgba(var(--c), 1) 52%, rgba(var(--c), 0) 72%),
    radial-gradient(ellipse 17% 44% at 64% 52%, rgba(var(--c), 1) 52%, rgba(var(--c), 0) 72%),
    radial-gradient(ellipse 14% 32% at 78% 64%, rgba(var(--c), .95) 50%, rgba(var(--c), 0) 72%),
    radial-gradient(ellipse 44% 26% at 52% 74%, rgba(var(--c), 1) 58%, rgba(var(--c), 0) 76%),
    radial-gradient(ellipse 46% 22% at 54% 86%, rgba(var(--shade), .55) 45%, rgba(var(--shade), 0) 75%);
  filter: blur(var(--blur, 5px));
  animation: cloudDrift var(--t, 120s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
.clouds[data-tone="night"] .cloud { --c: 175, 222, 216; --shade: 90, 140, 140; }
.clouds[data-tone="mist"] .cloud { --c: 255, 255, 255; --shade: 214, 229, 229; }
.clouds.is-paused .cloud, .cloud-bank.is-paused::before, .cloud-bank.is-paused::after { animation-play-state: paused; }
@keyframes cloudDrift {
  from { transform: translate3d(-110%, 0, 0) scale(var(--s, 1)); }
  to   { transform: translate3d(calc(100vw + 10%), 0, 0) scale(var(--s, 1)); }
}

/* Cloud bank along the bottom of the hero: two repeating layers sliding at different speeds. */
.cloud-bank { position: absolute; left: 0; right: 0; bottom: -2px; height: 240px; z-index: 0; pointer-events: none; overflow: hidden; }
.cloud-bank::before, .cloud-bank::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 200%; height: 100%;
  background-repeat: repeat-x; background-position: 0 100%;
  animation: bankSlide 160s linear infinite; will-change: transform;
}
.cloud-bank::before {
  opacity: .8; height: 90%;
  background-image:
    radial-gradient(ellipse 120px 80px at 120px 100%, #fff 60%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 90px 66px at 270px 100%, #fff 60%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 150px 92px at 430px 100%, #fff 60%, rgba(255,255,255,0) 72%);
  background-size: 560px 100%;
  filter: blur(4px);
  animation-duration: 220s;
}
.cloud-bank::after {
  height: 62%;
  background-image:
    radial-gradient(ellipse 160px 64px at 160px 100%, #fff 62%, rgba(255,255,255,0) 74%),
    radial-gradient(ellipse 110px 56px at 400px 100%, #fff 62%, rgba(255,255,255,0) 74%),
    linear-gradient(to top, var(--bg) 0 22%, rgba(243,246,246,0) 60%);
  background-size: 520px 100%, 520px 100%, 100% 100%;
  filter: blur(2px);
}
@keyframes bankSlide { to { transform: translate3d(-50%, 0, 0); } }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Headings rise word by word (site.js wraps each word). */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.sw > span { display: inline-block; transform: translate3d(0, 108%, 0) rotate(5deg); transform-origin: 0 100%; transition: transform 1.05s var(--ease); transition-delay: calc(var(--w, 0) * 45ms + .05s); }
.is-in .sw > span { transform: none; }

/* Statement text that fills in as it scrolls through the viewport. */
[data-fill] .fw { transition: color .35s ease; color: rgba(14, 43, 51, .14); }
[data-fill] .fw.on { color: var(--ink); }
[data-fill] > span .fw.on { color: var(--teal); }

/* ==========================================================================
   Problem
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CFDCDC; }
.card h3 { margin-top: 18px; }
.card p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.icon-tile { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--soft); color: var(--blue); }
.icon-tile--warn { background: #FFF4EC; color: #D2691E; }

.problem__close { margin-top: clamp(64px, 9vw, 120px); }
.problem__close p { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 5.4vw, 4.6rem); letter-spacing: -.045em; color: var(--ink); line-height: 1.02; max-width: 1080px; }
.problem__close p span { color: var(--teal); }

.serve__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.serve .section-head { margin-bottom: 26px; }
.serve__tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.serve-tab {
  position: relative; width: 100%; overflow: hidden; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 42px minmax(0, 1fr) 32px; column-gap: 14px; align-items: center;
  padding: 13px 14px 15px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: background .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.serve-tab:hover { transform: translateX(4px); }
.serve-tab .ic { grid-row: span 2; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-alt); color: var(--ink); transition: background .4s, color .4s; }
.serve-tab .ic .ico { width: 20px; height: 20px; }
.serve-tab b { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); letter-spacing: -.01em; }
.serve-tab .d { grid-column: 2; font-size: .84rem; color: var(--muted); line-height: 1.4; }
.serve-tab .go { grid-column: 3; grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); color: var(--teal); transition: all .4s var(--ease); }
.serve-tab .go .ico { width: 15px; height: 15px; }
.serve-tab .bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px; background: rgba(30, 140, 134, .14); opacity: 0; transition: opacity .3s; }
.serve-tab .bar i { display: block; height: 100%; border-radius: inherit; background: var(--teal); transform-origin: left; transform: scaleX(0); }
.serve-tab[aria-selected="true"] { background: linear-gradient(180deg, #E5F2F0, #fff); border-color: #BCDDD8; box-shadow: var(--shadow); transform: none; }
.serve-tab[aria-selected="true"] .ic { background: var(--teal); color: #fff; }
.serve-tab[aria-selected="true"] .go { background: var(--teal); border-color: var(--teal); color: #fff; }
.serve.is-auto .serve-tab[aria-selected="true"] .bar { opacity: 1; }
.serve.is-auto .serve-tab[aria-selected="true"] .bar i { animation: serveBar var(--serve-t, 7s) linear forwards; }
.serve.is-held .serve-tab .bar i { animation-play-state: paused !important; }
@keyframes serveBar { to { transform: scaleX(1); } }

.serve__stage {
  position: sticky; top: 104px; display: grid; min-height: 560px; overflow: hidden;
  border-radius: 32px; padding: clamp(18px, 2.6vw, 30px);
  background: linear-gradient(180deg, #fff, #F5F9F9); border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 #fff, 0 30px 60px rgba(14, 43, 51, .10);
}
.scene { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 16px; min-width: 0; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .45s ease, transform .6s var(--ease), visibility 0s .45s; }
.scene.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease .12s, transform .8s var(--ease) .12s, visibility 0s; }
.scene__cap { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.scene__cap h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -.03em; }
.scene__cap p { margin-top: 6px; color: var(--muted); font-size: .93rem; max-width: 440px; }
.tagline { flex: none; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); background: #E1F0EE; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.scene__body { position: relative; flex: 1; min-height: 320px; container-type: inline-size; display: grid; place-items: center; padding: 22px 18px; border-radius: 22px; background: radial-gradient(80% 60% at 50% 0%, #fff, transparent 70%), var(--bg); border: 1px solid var(--border); overflow: hidden; }
.scene__foot { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 16px; background: #E1F0EE; color: var(--ink); font-weight: 600; font-size: .92rem; line-height: 1.4; }
.scene__foot .ico { width: 20px; height: 20px; color: var(--teal); }

/* scene parts */
.mini { min-width: 0; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: 0 10px 24px rgba(14, 43, 51, .07); font-size: .78rem; }
.mini__head { display: flex; align-items: center; gap: 8px; padding: 2px 2px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-weight: 700; font-size: .86rem; color: var(--ink); }
.mini__head > span { flex: 1; min-width: 0; }
.mini__head .ico { width: 16px; height: 16px; color: var(--teal); }
.mini__head b { display: block; }
.mini__head small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .7rem; color: var(--muted); }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 4px; border-top: 1px solid #EEF3F3; }
.mini__head + .mrow { border-top: 0; }
.mrow > span:first-child { min-width: 0; }
.mrow b { display: block; color: var(--ink); font-weight: 600; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow small { color: var(--muted); font-size: .7rem; }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes show { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: scale(.9); } }
@keyframes dim { to { opacity: .45; transform: translateX(6px); } }
@keyframes flowDash { to { stroke-dashoffset: -18; } }

/* 1: requests from everywhere land in one list */
.sc-req { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1.25fr); align-items: center; width: 100%; max-width: 580px; }
.sc-req__src { display: grid; gap: 14px; }
.src { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: .76rem; }
.src b { display: block; color: var(--ink); font-size: .8rem; }
.src small { color: var(--muted); }
.src__ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #FBEAE3; color: #B4573A; }
.src__ic .ico { width: 16px; height: 16px; }
.sc-req__lines { width: 100%; height: 180px; overflow: visible; }
.sc-req__lines path { fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-dasharray: 4 5; opacity: .55; vector-effect: non-scaling-stroke; }
.scene.is-active .sc-req__lines path { animation: flowDash .9s linear infinite; }
.scene.is-active .src { animation: slideIn .6s var(--ease) calc(.15s + var(--k) * .18s) both, dim .6s ease calc(1.2s + var(--k) * .35s) forwards; }
.scene.is-active .sc-req .mrow { animation: popIn .5s var(--ease) calc(.95s + var(--k) * .35s) both; }

/* 2: paper sheet fades, digital job card ticks off */
.sc-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; width: 100%; max-width: 540px; }
.paper { position: relative; aspect-ratio: 3 / 4; padding: 32px 18px 18px; border-radius: 6px; background: #F3EEE3; box-shadow: 0 14px 26px rgba(14, 43, 51, .15); transform: rotate(-6deg); }
.paper i { display: block; height: 6px; margin-bottom: 11px; border-radius: 3px; background: #DDD5C4; }
.paper i:nth-of-type(2n) { width: 78%; }
.paper i:nth-of-type(3n) { width: 58%; }
.paper__tag { position: absolute; top: 11px; left: 12px; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: #9B8B6E; }
.scene.is-active .paper { animation: paperLost 1.8s var(--ease) .3s both; }
@keyframes paperLost {
  0% { transform: rotate(-6deg); }
  30% { transform: rotate(-2deg) translateY(-6px); }
  100% { transform: rotate(-15deg) translate(-12px, 24px) scale(.9); opacity: .35; filter: grayscale(1); }
}
.sc-card .todo { font-size: .76rem; padding: 6px 2px; }
.sc-card .todo span { text-decoration: line-through; text-decoration-color: transparent; }
.sc-card .todo i::after { content: ""; width: 7px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.scene.is-active .sc-card .todo i { animation: tickBox .35s ease calc(1s + var(--k) * .4s) both; }
.scene.is-active .sc-card .todo i::after { animation: show .2s ease calc(1.1s + var(--k) * .4s) both; }
.scene.is-active .sc-card .todo span { animation: strike .3s ease calc(1.1s + var(--k) * .4s) both; }
@keyframes tickBox { to { background: var(--teal); border-color: var(--teal); } }
@keyframes strike { to { color: var(--muted); text-decoration-color: currentColor; } }
.mini__sig { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border); font-size: .7rem; color: var(--muted); }
.mini__sig svg { width: 92px; height: 30px; }
.mini__sig path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; }
.scene.is-active .mini__sig path { animation: sigDraw 1.2s ease 2.7s forwards; }
@keyframes sigDraw { to { stroke-dashoffset: 0; } }
.scene.is-active .sc-card .mini__head .chip { animation: popIn .4s var(--ease) 3.7s both; }

/* 3: clashing booking moves to a free technician */
.sc-cal { width: 100%; max-width: 560px; padding: 14px; }
.sc-cal__times { display: grid; grid-template-columns: 80px repeat(5, 1fr); margin-bottom: 6px; font-family: var(--font-mono); font-size: .62rem; color: var(--muted); }
.sc-cal__rows { display: grid; gap: 10px; }
.sc-cal__row { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; height: 40px; }
.sc-cal .who { font-weight: 600; font-size: .74rem; color: var(--ink); white-space: nowrap; }
.lane { position: relative; height: 100%; border-radius: 10px; background: repeating-linear-gradient(90deg, #E6EEEE 0 1px, transparent 1px 20%), #F7FAFA; }
.blk { position: absolute; top: 5px; bottom: 5px; left: var(--l); width: var(--w); display: flex; align-items: center; padding: 0 8px; overflow: hidden; white-space: nowrap; border-radius: 8px; background: #E1F0EE; border: 1px solid #B6DAD5; color: var(--teal-600); font-style: normal; font-weight: 600; font-size: .66rem; }
.blk--move { z-index: 2; display: grid; background: #FBE3DC; border-color: #EBA58C; color: #A2462A; }
.blk--move span { grid-area: 1 / 1; align-self: center; }
.blk--move .b { opacity: 0; }
.scene.is-active .blk--move { animation: clashMove 2.8s var(--ease) .6s both; }
.scene.is-active .blk--move .a { animation: fadeOut .3s ease 2.1s forwards; }
.scene.is-active .blk--move .b { animation: show .3s ease 2.2s both; }
@keyframes clashMove {
  0% { transform: none; }
  8% { transform: translateX(-4px); }
  16% { transform: translateX(4px); }
  24% { transform: translateX(-3px); }
  32%, 45% { transform: none; background: #FBE3DC; border-color: #EBA58C; color: #A2462A; }
  75%, 100% { transform: translateY(50px); background: #E2F3EC; border-color: #9FD3BC; color: #1F7A55; }
}

/* 4: job details appear on the technician's phone */
.sc-tech { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; }
.sc-tech__phone { width: 168px; flex: none; }
.sc-tech__phone .phone__screen { font-size: .62rem; }
.sc-tech__phone .phone__top { padding: 30px 12px 12px; }
.scene.is-active .sc-tech .ln { animation: popIn .5s var(--ease) calc(.4s + var(--k) * .35s) both; }
.fcard.sc-tech__note { position: relative; }
.sc-tech__note .fcard__icon { background: #E1F0EE; color: var(--teal); }
.scene.is-active .sc-tech__note { animation: popIn .6s var(--ease) 1.9s both; }

/* 5: details typed once, carried to the next documents */
.sc-carry { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr); align-items: center; width: 100%; }
.doc { --base: calc(.4s + var(--k) * 1.3s); --st: .35s; padding: 10px; }
.sc-carry .doc:not(:first-child) { --st: .06s; }
.doc .mini__head { font-size: .76rem; }
.doc dl { margin: 0; }
.doc dt { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc dd { margin: 2px 0 7px; height: 22px; display: flex; align-items: center; padding: 0 7px; overflow: hidden; white-space: nowrap; border-radius: 6px; background: #F4F8F8; border: 1px solid #E3ECEC; font-weight: 600; font-size: .68rem; color: var(--ink); }
.doc dd span { display: block; clip-path: inset(0 100% 0 0); }
.doc dd:nth-of-type(2) { --n: 1; }
.doc dd:nth-of-type(3) { --n: 2; }
.scene.is-active .doc dd span { animation: typeIn .5s steps(12) calc(var(--base) + var(--n, 0) * var(--st)) both; }
.scene.is-active .sc-carry .doc:not(:first-child) { animation: flash 1s ease var(--base) both; }
@keyframes typeIn { to { clip-path: inset(0 0 0 0); } }
@keyframes flash { 30% { box-shadow: 0 0 0 5px rgba(30, 140, 134, .22); } }
.hop { position: relative; height: 28px; }
.hop::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; border-top: 1.5px dashed #B3D4D0; }
.hop svg { position: absolute; left: -4px; top: 2px; width: 24px; height: 24px; opacity: 0; }
.scene.is-active .hop svg { animation: hop .6s var(--ease) calc(1.15s + var(--k) * 1.3s) both; }
@keyframes hop { 0% { opacity: 0; transform: translateX(-6px); } 30% { opacity: 1; } 100% { opacity: 1; transform: translateX(18px); } }

/* 6: completed work moves through to invoiced */
.sc-bill { display: grid; gap: 18px; width: 100%; max-width: 520px; }
.sc-bill__pipe { display: flex; align-items: flex-start; gap: 8px; padding: 0 6px; }
.sc-bill .st { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .7rem; font-weight: 600; color: var(--muted); }
.sc-bill .st i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid #CFDCDC; color: transparent; }
.sc-bill .st .ico { width: 16px; height: 16px; }
.pipe { flex: 1; height: 4px; margin-top: 15px; border-radius: 4px; background: #E1EAEA; overflow: hidden; }
.pipe i { display: block; height: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); }
.scene.is-active .sc-bill .st { animation: stTxt .4s ease calc(.3s + var(--k) * .9s) both; }
.scene.is-active .sc-bill .st i { animation: stOn .4s ease calc(.3s + var(--k) * .9s) both; }
.scene.is-active .pipe i { animation: grow .6s ease calc(.6s + var(--k) * .9s) both; }
@keyframes stTxt { to { color: var(--ink); } }
@keyframes stOn { to { background: var(--teal); border-color: var(--teal); color: #fff; } }
@keyframes grow { to { transform: scaleX(1); } }
.swap { display: grid; justify-items: end; }
.swap .chip { grid-area: 1 / 1; }
.swap .chip--invoiced { opacity: 0; }
.scene.is-active .sc-bill .mrow { animation: popIn .5s var(--ease) calc(.2s + var(--k) * .15s) both; }
.scene.is-active .swap .chip--done { animation: fadeOut .3s ease calc(2.4s + var(--k) * .4s) forwards; }
.scene.is-active .swap .chip--invoiced { animation: show .3s ease calc(2.5s + var(--k) * .4s) both; }

@container (max-width: 480px) {
  .sc-req { grid-template-columns: 1fr; gap: 14px; }
  .sc-req__lines { display: none; }
  .sc-card { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .paper { padding: 26px 10px 10px; }
  .paper__tag { display: none; }
  .sc-carry { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); }
  .sc-carry > :nth-child(n+4) { display: none; }
  .doc dt { display: none; }
  .doc dd { padding: 0 5px; font-size: .62rem; }
  .sc-cal__times, .sc-cal__row { grid-template-columns: 62px repeat(5, 1fr); }
  .sc-cal__row { grid-template-columns: 62px minmax(0, 1fr); }
  .sc-tech__note { display: none; }
}

@media (max-width: 960px) {
  .serve__grid { grid-template-columns: 1fr; }
  .serve__stage { position: relative; top: 0; min-height: 0; }
}
@media (max-width: 560px) {
  .scene__cap { flex-direction: column; gap: 8px; }
  .serve-tab .d { display: none; }
  .serve-tab[aria-selected="true"] .d { display: block; }
}

/* ==========================================================================
   How it works: night-sky flight past numbered stops. On large screens the
   section pins while the plane flies the route as you scroll.
   ========================================================================== */
.why {
  position: relative; color: rgba(255, 255, 255, .72);
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(30, 140, 134, .38), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(143, 211, 203, .12), transparent 60%),
    var(--ink);
}
.why__sticky { position: relative; isolation: isolate; overflow: hidden; padding: var(--section-y) 0; }
.why__sticky::before { /* faint stars */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .14;
  background-image: radial-gradient(rgba(255, 255, 255, .9) 1px, transparent 1.6px);
  background-size: 52px 52px;
}
.why__sticky > .container { position: relative; z-index: 1; }
.why h2 { color: #fff; }
.why h2 em { color: var(--aqua); }
.why .eyebrow { color: var(--aqua); }
.why .section-head p { color: rgba(255, 255, 255, .66); }
.why__head { margin-bottom: 0; }
.why__head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }

.why__track { position: relative; margin-top: clamp(28px, 4.5vh, 52px); }
.why__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.why__svg--under { z-index: 0; }
.why__svg--over { z-index: 2; }
.why__line { fill: none; stroke: rgba(143, 211, 203, .3); stroke-width: 1.6; stroke-dasharray: 2 8; stroke-linecap: round; }
.why__ink { fill: none; stroke: url(#whyInk); stroke-width: 3; stroke-linecap: round; filter: url(#whyGlow); }
.why__plane { filter: url(#whyGlow); }
.why__puffs circle { fill: rgba(225, 245, 242, .9); }

.why__steps { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 14px; }
.why-step { --ny: 34px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.why-step:nth-child(even) { --ny: 100px; }
.why-step__band { position: relative; width: 100%; height: 186px; }
.why-step__node {
  position: absolute; left: 50%; top: var(--ny); width: 60px; height: 60px; margin-left: -30px;
  display: grid; place-items: center; border-radius: 50%;
  font-family: var(--font-mono); font-size: .9rem; color: rgba(255, 255, 255, .72);
  background: #0B2329; border: 1px solid rgba(143, 211, 203, .32); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .03);
  transition: background .5s var(--ease), color .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease);
}
.why-step__node::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--aqua); opacity: 0; pointer-events: none; }
.why-step.is-active .why-step__node { background: var(--aqua); border-color: var(--aqua); color: var(--ink); transform: scale(1.06); box-shadow: 0 0 0 8px rgba(143, 211, 203, .12), 0 0 34px rgba(143, 211, 203, .45); }
.why-step.is-active .why-step__node::after { animation: ring 1.1s var(--ease) both; }
@keyframes ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2); } }
.why-step__txt { padding: 0 2px; opacity: .4; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.why-step.is-active .why-step__txt { opacity: 1; transform: none; }
.why-step h3 { color: #fff; font-size: 1.02rem; }
.why-step p { margin-top: 6px; font-size: .84rem; line-height: 1.45; color: rgba(255, 255, 255, .62); }
.why-step .chip { margin-top: 10px; opacity: 0; transform: translateY(4px); transition: opacity .4s .15s, transform .4s .15s; }
.why-step.is-active .chip { opacity: 1; transform: none; }

.why__extra { margin: clamp(26px, 4vh, 44px) auto 0; max-width: 820px; display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px dashed rgba(143, 211, 203, .3); }
.why__extra .icon-tile { flex: none; background: rgba(241, 200, 139, .16); color: var(--sand); }
.why__extra p { font-size: .93rem; }
.why__extra b { color: #fff; }

@media (min-width: 1000px) and (min-height: 740px) {
  .why { height: 340vh; }
  .why__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 84px 0 28px; }
}
@media (max-width: 999px) {
  .why__steps { grid-template-columns: 1fr; }
  .why-step { flex-direction: row; align-items: flex-start; gap: 18px; text-align: left; padding-bottom: 30px; }
  .why-step__band { flex: none; width: 60px; height: auto; align-self: stretch; }
  .why-step__node { position: relative; left: 0; top: 0; margin: 0; }
  .why-step__txt { padding-top: 4px; }
  .why__extra { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Features: expanding panels. One is open; the others are slim vertical tabs.
   ========================================================================== */
.svc { --svc-closed: 78px; --svc-gap: 14px; display: flex; gap: var(--svc-gap); height: clamp(540px, 44vw, 600px); }
.svc-panel { position: relative; flex: 0 0 var(--svc-closed); min-width: 0; overflow: hidden; border-radius: 30px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); transition: flex .85s var(--ease), background .5s; }
.svc-panel.is-open { flex: 1 1 0; background: linear-gradient(160deg, #fff 45%, #E6F2F0); }
.svc-panel__tab {
  position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; cursor: pointer; background: transparent; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px 0 20px; text-align: left;
  transition: opacity .35s, background .3s, visibility 0s;
}
.svc-panel__tab:hover { background: rgba(30, 140, 134, .05); }
.svc-panel__tab .n { font-family: var(--font-mono); font-size: .72rem; color: var(--teal); }
.svc-panel__tab .t { writing-mode: vertical-rl; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.015em; }
.svc-panel__tab .ic { margin-top: auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--teal); transition: background .3s, color .3s; }
.svc-panel__tab:hover .ic { background: var(--teal); color: #fff; }
.svc-panel__tab .ic .ico { width: 18px; height: 18px; }
.svc-panel.is-open .svc-panel__tab { opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.svc-panel__body { position: absolute; top: 0; left: 0; bottom: 0; width: var(--svc-w, 820px); container-type: inline-size; visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s .3s; }
.svc-panel.is-open .svc-panel__body { visibility: visible; opacity: 1; transition: opacity .6s ease .3s, visibility 0s; }
.svc-panel__inner { height: 100%; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 40px); align-items: center; padding: clamp(26px, 3vw, 44px); }
.svc-panel__count { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--teal); }
.svc-panel__copy h3 { margin-top: 12px; font-size: clamp(1.6rem, 2.5vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.svc-panel__copy > p { margin-top: 12px; color: var(--muted); }
.ticks { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; font-size: .94rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(30, 140, 134, .15); }
.svc-panel.is-open .svc-panel__copy > * { animation: popIn .7s var(--ease) both; }
.svc-panel.is-open .svc-panel__copy > :nth-child(2) { animation-delay: .38s; }
.svc-panel.is-open .svc-panel__copy > :nth-child(3) { animation-delay: .46s; }
.svc-panel.is-open .svc-panel__copy > :nth-child(4) { animation-delay: .54s; }
.svc-panel.is-open .svc-panel__copy > :nth-child(5) { animation-delay: .62s; }
.svc-panel.is-open .svc-panel__copy > :nth-child(1) { animation-delay: .3s; }
.svc-panel__shot .browser { border-radius: 18px; opacity: 0; transform: perspective(1400px) rotateY(-10deg) translateX(40px) scale(.95); transition: transform 1.1s var(--ease) .3s, opacity .8s ease .3s; }
.svc-panel.is-open .svc-panel__shot .browser { opacity: 1; transform: perspective(1400px) rotateY(-4deg); }
.svc-panel__shot img { display: block; width: 100%; height: auto; }

@media (min-width: 1000px) {
  @container (max-width: 700px) {
    .svc-panel__inner { grid-template-columns: 1fr; }
    .svc-panel__shot { display: none; }
  }
}
@media (max-width: 999px) {
  .svc { flex-direction: column; height: auto; gap: 12px; }
  .svc-panel, .svc-panel.is-open { flex: none; }
  .svc-panel__tab, .svc-panel.is-open .svc-panel__tab { position: relative; inset: auto; flex-direction: row; gap: 14px; padding: 18px 20px; opacity: 1; visibility: visible; }
  .svc-panel__tab .t { writing-mode: horizontal-tb; white-space: normal; font-size: 1.1rem; }
  .svc-panel__tab .ic { margin: 0 0 0 auto; }
  .svc-panel.is-open .svc-panel__tab .ic { background: var(--teal); color: #fff; }
  .svc-panel__body { position: static; width: auto; display: none; }
  .svc-panel.is-open .svc-panel__body { display: block; }
  .svc-panel__inner { grid-template-columns: 1fr; padding: 0 20px 24px; }
  .svc-panel__count, .svc-panel__copy h3 { display: none; }
  .svc-panel__copy > p { margin-top: 0; }
  .svc-panel__shot .browser, .svc-panel.is-open .svc-panel__shot .browser { transform: none; }
}

/* ==========================================================================
   Paperless (dark emphasis)
   ========================================================================== */
.paperless { background: radial-gradient(70% 70% at 80% 0%, rgba(30, 140, 134, .28), transparent 60%), var(--navy-deep); color: rgba(255, 255, 255, .78); overflow: clip; }
.paperless h2 { color: #fff; }
.paperless h2 em { color: var(--sky); }
.paperless .eyebrow { color: var(--sky); }
.paperless .section-head p { color: rgba(255, 255, 255, .72); }
.paperless__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F5A07' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.paperless .checklist li { color: rgba(255, 255, 255, .86); }
.paperless__note { margin-top: 26px; font-size: .86rem; color: rgba(255, 255, 255, .55); }

.transform { position: relative; height: 420px; }
.transform__path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.transform__path path { fill: none; stroke: rgba(143, 211, 203, .5); stroke-width: 1.6; stroke-dasharray: 3 7; stroke-linecap: round; }
.sheet {
  position: absolute; left: 2%; top: 90px; width: 168px; height: 216px; border-radius: 6px;
  background: #F3EFE6; box-shadow: 0 16px 30px rgba(0, 0, 0, .3); padding: 20px 16px;
  transition: transform 1.1s var(--ease), opacity 1.1s var(--ease);
}
.sheet::before { content: ""; display: block; height: 10px; width: 60%; background: #D6CFC0; border-radius: 3px; margin-bottom: 14px; }
.sheet i { display: block; height: 6px; border-radius: 3px; background: #DFD8C8; margin-bottom: 10px; }
.sheet i:nth-child(2n) { width: 80%; }
.sheet i:nth-child(3n) { width: 60%; }
.sheet--1 { transform: rotate(-9deg); }
.sheet--2 { transform: rotate(4deg) translate(14px, 6px); }
.sheet--3 { transform: rotate(-2deg) translate(6px, 14px); }
.transform.is-visible .sheet--1 { transform: rotate(-4deg) translate(80px, -10px) scale(.85); opacity: 0; transition-delay: .2s; }
.transform.is-visible .sheet--2 { transform: rotate(2deg) translate(90px, 0) scale(.85); opacity: 0; transition-delay: .5s; }
.transform.is-visible .sheet--3 { transform: rotate(0) translate(100px, 4px) scale(.85); opacity: .0; transition-delay: .8s; }
.digital {
  position: absolute; right: 0; top: 40px; width: min(340px, 62%);
  background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateX(-30px) scale(.94); transition: opacity 1s var(--ease) .9s, transform 1s var(--ease) .9s;
}
.transform.is-visible .digital { opacity: 1; transform: none; }
.digital__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.digital__head b { font-family: var(--font-display); color: var(--navy); font-size: .95rem; }
.digital__head small { display: block; color: var(--muted); font-size: .72rem; }
.digital__rows { display: grid; gap: 8px; padding: 12px 0; font-size: .8rem; }
.digital__rows div { display: flex; justify-content: space-between; gap: 10px; }
.digital__rows span { color: var(--muted); }
.digital__rows b { color: var(--navy); font-weight: 600; text-align: right; }
.digital__sig { margin-top: 4px; border-top: 1px dashed var(--border); padding-top: 10px; display: flex; justify-content: space-between; align-items: end; font-size: .72rem; color: var(--muted); }
.digital__sig svg { width: 92px; height: 30px; }
.digital__sig path { fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.4s ease 1.8s; }
.transform.is-visible .digital__sig path { stroke-dashoffset: 0; }
.transform__plane { position: absolute; left: 30%; top: 46%; width: 40px; height: 40px; color: #fff; opacity: 0; transform: translate(-40px, 20px) rotate(-8deg); transition: opacity .6s .3s, transform 1.6s var(--ease) .3s; }
.transform.is-visible .transform__plane { opacity: 1; transform: translate(40px, -36px) rotate(-14deg); }
@media (max-width: 960px) {
  .paperless__grid { grid-template-columns: 1fr; }
  .transform { height: 360px; max-width: 560px; }
}
@media (max-width: 480px) {
  .sheet { width: 130px; height: 170px; top: 110px; }
  .digital { width: 72%; padding: 16px; }
}

/* ==========================================================================
   Automation
   ========================================================================== */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.flow__line { position: absolute; left: 6%; right: 6%; top: 46px; height: 2px; z-index: 0; background-image: linear-gradient(90deg, #BCD9D6 50%, transparent 50%); background-size: 12px 2px; }
.flow.is-visible .flow__line { animation: dash 1.2s linear infinite; }
@keyframes dash { to { background-position: 12px 0; } }
.flow__step { position: relative; z-index: 1; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-sm); }
.flow__step .icon-tile { margin-bottom: 14px; }
.flow__step h3 { font-size: 1rem; }
.flow__step p { margin-top: 6px; font-size: .88rem; color: var(--muted); }
.flow__step .chip { margin-top: 12px; }
.flow__pulse { position: absolute; top: 40px; left: 6%; width: 14px; height: 14px; color: var(--blue); z-index: 2; opacity: 0; }
.flow.is-visible .flow__pulse { animation: travel 4.5s var(--ease) infinite; }
@keyframes travel { 0% { left: 6%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 92%; opacity: 0; } }

.who-does { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.who-does__col { border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); background: #fff; }
.who-does__col--auto { background: linear-gradient(180deg, #FBF4E6, #fff 70%); border-color: #F1DFBD; }
.who-does__col h3 { display: flex; align-items: center; gap: 10px; }
.who-does__col > p { margin: 8px 0 18px; color: var(--muted); font-size: .93rem; }
.who-does ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.who-does li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.who-does li .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--blue); }
.who-does__col--auto li .ico { color: var(--sand-ink); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; }
.badge--lime { background: var(--lime); color: var(--lime-ink); }
.badge--blue { background: #E1F0EE; color: var(--blue-600); }
@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__line, .flow__pulse { display: none; }
  .who-does { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* ==========================================================================
   Mobile
   ========================================================================== */
.mobile__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.mobile__phone-wrap { position: relative; display: grid; place-items: center; padding: 30px 0; }
.mobile__phone-wrap::before { content: ""; position: absolute; width: 360px; height: 360px; max-width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(143, 211, 203, .45), rgba(143, 211, 203, 0) 70%); }
.mobile__phone-wrap .phone { width: 270px; }
.mobile__phone-wrap .fcard--m1 { top: 70px; left: 0; }
.mobile__phone-wrap .fcard--m2 { bottom: 80px; right: 0; }
.mobile__phone-wrap .fcard--m1 .fcard__icon { background: #E1F3EA; color: #1F7A55; }
.mobile__phone-wrap .fcard--m2 .fcard__icon { background: #E1F0EE; color: var(--blue); }
.mobile__caps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 28px 0 32px; list-style: none; padding: 0; }
.mobile__caps li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--navy); }
.mobile__caps .ico { width: 20px; height: 20px; color: var(--blue); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-row span { padding: 7px 13px; border-radius: 99px; background: #fff; border: 1px solid var(--border); font-size: .85rem; font-weight: 500; color: var(--navy); }
.mobile__note { margin-top: 18px; font-size: .86rem; color: var(--muted); }

.sync { margin-top: clamp(44px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto minmax(0, .6fr); gap: 24px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.sync__role { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.sync__role .ico { width: 16px; height: 16px; }
.sync__link { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--blue); font-size: .78rem; font-weight: 600; text-align: center; }
.sync__link svg.line { width: 120px; height: 40px; }
.sync__link svg.line path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 3 6; }
.sync .phone { width: 170px; margin: 0 auto; }
.sync .phone .phone__screen { font-size: .62rem; }
.sync .phone .phone__top { padding: 30px 12px 12px; }
.sync .dash { min-height: 260px; }
@media (max-width: 960px) {
  .mobile__grid { grid-template-columns: 1fr; }
  .mobile__grid .mobile__phone-wrap { order: 2; }
  .sync { grid-template-columns: 1fr; }
  .sync__link { flex-direction: row; justify-content: center; }
  .sync__link svg.line { transform: rotate(90deg); width: 60px; }
}
@media (max-width: 480px) {
  .mobile__caps { grid-template-columns: 1fr; }
  .mobile__phone-wrap .phone { width: 230px; }
  .mobile__phone-wrap .fcard { display: none; }
}

/* ==========================================================================
   Product screenshots
   ========================================================================== */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; margin: 0 auto 28px; width: max-content; max-width: 100%; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.tab[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.shot-stage { max-width: 1040px; margin: 0 auto; }
.shot { display: none; }
.shot.is-active { display: block; animation: shotIn .5s var(--ease); }
@keyframes shotIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.shot .browser img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.shot .browser:hover img { transform: scale(1.015); }
.shot--mobile .phone { margin: 0 auto; width: 300px; }
.shot--mobile .phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot__caption { text-align: center; margin-top: 18px; color: var(--muted); font-size: .93rem; }
.placeholder {
  aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 24px;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(30, 140, 134, .04) 14px 28px),
    var(--soft);
  color: var(--muted); font-size: .9rem;
}
.shot--mobile .placeholder { aspect-ratio: auto; height: 100%; }
.placeholder b { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.05rem; margin: 10px 0 4px; }
.placeholder code { display: inline-block; margin-top: 8px; font-size: .78rem; background: #fff; border: 1px solid var(--border); padding: 3px 8px; border-radius: 6px; color: var(--navy); }
.placeholder .ico { width: 34px; height: 34px; margin: 0 auto; color: var(--blue); }

/* ==========================================================================
   Industries & benefits
   ========================================================================== */
.industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.industry { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 24px; min-height: 172px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, #fff, var(--soft)); border: 1px solid var(--border); transition: transform .35s var(--ease), box-shadow .35s; }
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.industry .big-ico { width: 56px; height: 56px; color: var(--blue); stroke-width: 1.4; }
.industry h3 { font-size: 1.05rem; }
.industry::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; border: 1px dashed #C9DEDC; }
.industry--wide { background: var(--navy); border-color: var(--navy); }
.industry--wide h3 { color: #fff; }
.industry--wide p { color: rgba(255, 255, 255, .72); font-size: .92rem; }
.industry--wide::after { border-color: rgba(255, 255, 255, .15); }
@media (max-width: 960px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .industries { grid-template-columns: 1fr; } }

.benefits { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.benefits__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; list-style: none; margin: 0; padding: 0; }
.benefits__list li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--border); font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.3; }
.benefits__list li span.n { font-family: var(--font-body); font-weight: 600; }
.benefits__list li span.n { flex: none; font-size: .74rem; color: var(--blue); padding-top: 4px; letter-spacing: .06em; }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .benefits__list { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.pricing__main { padding: clamp(28px, 5vw, 52px); }
.pricing__main h3 { font-size: 1.5rem; }
.pricing__main > p { margin-top: 10px; color: var(--muted); }
.pricing__main .checklist { margin-top: 26px; }
.pricing__side { padding: clamp(28px, 5vw, 52px); background: var(--soft); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.pricing__price { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); letter-spacing: -.03em; line-height: 1.15; }
.pricing__side p { color: var(--muted); font-size: .95rem; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 24px; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan.is-featured { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 140, 134, .12), var(--shadow); }
.plan__price { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--navy); }
.plan__price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .93rem; }
.plan .btn { margin-top: auto; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* ==========================================================================
   Demo form
   ========================================================================== */
.demo { background: linear-gradient(180deg, var(--soft), #fff); }
.demo__wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.demo__info .checklist { margin-top: 28px; }
.demo__contact { margin-top: 32px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); display: flex; gap: 14px; align-items: center; }
.demo__contact .icon-tile { flex: none; }
.demo__contact small { display: block; color: var(--muted); }
.demo__contact a { font-weight: 700; font-size: 1.05rem; word-break: break-all; }
.form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .88rem; color: var(--navy); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px;
  border: 1px solid #D3DFDF; background: #FAFCFC; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(30, 140, 134, .14); }
.field.has-error input, .field.has-error select { border-color: #D93B3B; }
.field__err { color: #C02828; font-size: .8rem; min-height: 0; display: none; }
.field.has-error .field__err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.form__privacy { font-size: .82rem; color: var(--muted); }
.form__status { display: none; padding: 14px 16px; border-radius: 12px; font-size: .92rem; }
.form__status.is-success { display: block; background: #E1F3EA; color: #1A6B4A; border: 1px solid #BFE3D0; }
.form__status.is-error { display: block; background: #FDEDED; color: #A32121; border: 1px solid #F4C7C7; }
.form__status.is-info { display: block; background: #E1F0EE; color: var(--teal-600); border: 1px solid #BCDDD8; }
.form .btn[disabled] { opacity: .65; cursor: progress; }
@media (max-width: 900px) { .demo__wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1.9vw, 1.35rem); color: var(--navy); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 20px; height: 20px; color: var(--blue); transition: transform .3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq__a { padding: 0 4px 22px; color: var(--muted); max-width: 720px; }
.faq details[open] .faq__a { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Final CTA + footer
   ========================================================================== */
.final { padding: 0 0 var(--section-y); }
.final__card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); padding: clamp(44px, 7vw, 84px) clamp(24px, 6vw, 72px); background: radial-gradient(60% 80% at 100% 0%, rgba(143, 211, 203, .35), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: rgba(255, 255, 255, .78); text-align: center; }
.final__card h2 em { color: var(--sky); }
.final__card h2 { color: #fff; max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.final__card p { max-width: 560px; margin: 18px auto 0; position: relative; z-index: 2; font-size: 1.08rem; }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; position: relative; z-index: 2; }
.final .flight .flight-path { stroke: rgba(143, 211, 203, .35); }

.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 0 28px; position: relative; overflow: clip; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__tag { margin-top: 14px; font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.footer__desc { margin-top: 8px; color: var(--muted); font-size: .92rem; max-width: 320px; }
.footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--text); font-size: .93rem; }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .85rem; }
.footer__flight { position: absolute; right: 0; top: 10px; width: 360px; height: 120px; pointer-events: none; opacity: .9; }
.footer__flight path { fill: none; stroke: rgba(30, 140, 134, .3); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .footer__flight { width: 220px; opacity: .6; }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { max-width: 780px; margin: 0 auto; padding: 150px var(--gutter) 100px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin: 40px 0 10px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal .draft { margin: 24px 0 8px; padding: 14px 16px; border-radius: 12px; background: #FFF7E6; border: 1px solid #F5DDA8; color: #7A5200; font-size: .92rem; }

/* ==========================================================================
   Marquee: huge text band; skews with scroll speed and follows scroll direction
   ========================================================================== */
.marquee { position: relative; overflow: hidden; padding: clamp(18px, 3vw, 40px) 0; user-select: none; }
.marquee__track {
  display: flex; align-items: center; gap: clamp(26px, 3.2vw, 54px); width: max-content; will-change: transform;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 10vw, 9rem); letter-spacing: -.05em; line-height: 1.08;
  color: var(--ink); white-space: nowrap;
}
.marquee .dot { flex: none; width: .14em; height: .14em; border-radius: 50%; background: var(--teal); }
.marquee .dot--sand { background: var(--sand); }
.marquee .dot--coral { background: var(--coral); }
.marquee .sep { flex: none; display: block; }
.marquee .sep svg { width: .6em; height: .6em; }
.marquee--outline .marquee__track { color: transparent; -webkit-text-stroke: 1.5px rgba(14, 43, 51, .5); }
.marquee--outline .fill { color: var(--teal); -webkit-text-stroke: 0; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .float { animation: none; }
  .cloud, .cloud-bank::before, .cloud-bank::after { animation: none !important; }
  .cloud { transform: translate3d(var(--x0, 0px), 0, 0) scale(var(--s, 1)); }
  .sw > span { transform: none; }
}
