@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Innovai — global styles
   Palette pulled from the logo: ink background, blue → cyan → violet →
   magenta → orange ribbon. Orange is reserved for the primary action.
   ========================================================================== */

:root {
  --ink: #08090d;
  --ink-2: #0e1018;
  --ink-3: #151826;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f5f9;
  --text-2: #b4bccb;
  --text-3: #7f8797;

  --blue: #3b5bff;
  --cyan: #2fd4ff;
  --violet: #8e4cff;
  --magenta: #f04fa6;
  --orange: #ff8c3a;
  --orange-2: #ffa35e;

  --ribbon: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 30%, var(--violet) 58%, var(--magenta) 80%, var(--orange) 100%);

  --font: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 8vw, 108px);
  --radius: 22px;
  --radius-sm: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

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

::selection { background: rgba(47, 212, 255, 0.35); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; background: var(--text); color: var(--ink); border-radius: 8px;
}
.skip:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }

h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; letter-spacing: 0; }

p { margin: 0; }
p + p { margin-top: 1em; }

.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--text-2); line-height: 1.55; max-width: 58ch; }
.muted { color: var(--text-2); }
.small { font-size: 0.9375rem; color: var(--text-3); }

.grad {
  background: var(--ribbon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.num { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin-top: 16px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }

@media (max-width: 880px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary { background: var(--orange); color: #1a0d04; box-shadow: 0 8px 30px -10px rgba(255, 140, 58, 0.7); }
.btn--primary:hover { background: var(--orange-2); transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(255, 140, 58, 0.8); }

.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.28); }

.btn--sm { padding: 10px 18px; font-size: 0.9375rem; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cyan); font-weight: 500;
}
.link svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link:hover svg { transform: translateX(4px); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* --------------------------------------------------------------------------
   Navigation — full bar at top, detaches into a floating pill on scroll
   -------------------------------------------------------------------------- */

.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; pointer-events: none; }

.nav__inner {
  pointer-events: auto;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    width 0.55s var(--ease), height 0.45s var(--ease), transform 0.55s var(--ease),
    background 0.45s, border-color 0.45s, padding 0.45s var(--ease), box-shadow 0.45s;
}

.nav.is-floating .nav__inner {
  width: min(100% - 2 * var(--gutter), 920px);
  height: 62px;
  transform: translateY(14px);
  padding-inline: 8px 8px;
  background: rgba(14, 16, 24, 0.66);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border-color: var(--line);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav__brand { display: inline-flex; align-items: center; padding: 6px 10px 6px 12px; border-radius: 999px; }
.nav__brand img { height: 46px; width: auto; transition: height 0.45s var(--ease); }
.nav.is-floating .nav__brand img { height: 38px; }

.nav__links { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__links a {
  display: inline-block; padding: 10px 14px; border-radius: 999px;
  color: var(--text-2); font-weight: 500; font-size: 0.9875rem;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav__links a[aria-current="page"] { color: var(--text); }

.nav__cta { display: flex; align-items: center; gap: 8px; }

.nav__burger {
  display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04); cursor: pointer; align-items: center; justify-content: center;
}
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform 0.3s, background 0.3s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, top 0.3s; }
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav__sheet {
  position: fixed; inset: 0; z-index: 40; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.nav__sheet.is-open { opacity: 1; visibility: visible; }
.nav__sheet a { font-size: 2rem; font-weight: 600; padding: 12px 0; letter-spacing: -0.02em; }
.nav__sheet a.btn { margin-top: 24px; align-self: flex-start; font-size: 1.1rem; padding: 16px 28px; letter-spacing: 0; }

@media (max-width: 720px) {
  .hero { align-items: flex-start; padding-top: 120px; }
}

@media (max-width: 880px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { height: 68px; }
  .nav.is-floating .nav__inner { width: min(100% - 2 * var(--gutter), 920px); padding-inline: 6px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 110px; padding-bottom: clamp(48px, 8vw, 96px); overflow: hidden;
  isolation: isolate;
}
.hero__wave { position: absolute; inset: 0; z-index: -1; }
.hero__wave canvas { width: 100%; height: 100%; }
.hero__fade {
  position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--ink));
}
.hero__content { max-width: 720px; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 24px; }
.hero__note { margin-top: 40px; display: flex; gap: 10px; align-items: center; color: var(--text-3); font-size: 0.9375rem; }
.hero__note i { width: 22px; height: 1px; background: var(--text-3); display: inline-block; }

/* rotating word */
.rotate { display: inline-grid; vertical-align: baseline; }
.rotate > span { grid-area: 1 / 1; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.rotate > span:not(.is-on) { opacity: 0; transform: translateY(0.35em); pointer-events: none; }
.rotate > span.is-off { opacity: 0; transform: translateY(-0.35em); }

/* sub page hero (shorter, no canvas) */
.hero--page { min-height: 0; padding-top: 150px; padding-bottom: clamp(28px, 5vw, 56px); }
.hero--page::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -20%; width: 900px; height: 600px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(59, 91, 255, 0.28), transparent 70%) 30% 40% / 60% 70% no-repeat,
    radial-gradient(closest-side, rgba(142, 76, 255, 0.22), transparent 70%) 70% 30% / 50% 60% no-repeat,
    radial-gradient(closest-side, rgba(255, 140, 58, 0.14), transparent 70%) 85% 80% / 40% 50% no-repeat;
  filter: blur(30px);
  pointer-events: none;
}
.hero--page .grid-2 { align-items: center; }

/* --------------------------------------------------------------------------
   Ticker — a live-looking stream of things the systems just did
   -------------------------------------------------------------------------- */

.ticker { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; gap: 12px; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-size: 0.9375rem; color: var(--text-2); white-space: nowrap;
}
.ticker__item b { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ticker__item[data-k="call"] b { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.ticker__item[data-k="plan"] b { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.ticker__item[data-k="book"] b { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Service panels
   -------------------------------------------------------------------------- */

.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); align-items: center; }
.svc + .svc { margin-top: clamp(64px, 9vw, 120px); }
.svc--flip .svc__copy { order: 2; }
.svc__copy h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.svc__copy p { margin-top: 16px; color: var(--text-2); max-width: 46ch; }
.svc__copy .link { margin-top: 24px; }
.svc__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--text-3); margin-bottom: 14px; }
.svc__tag b { width: 10px; height: 10px; border-radius: 3px; background: var(--ribbon); }

@media (max-width: 880px) {
  .svc { grid-template-columns: 1fr; }
  .svc--flip .svc__copy { order: 0; }
}

/* shared mockup frame */
.mock {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.mock::before {
  content: ""; position: absolute; inset: -40% -20% auto -20%; height: 80%; z-index: 0;
  background: radial-gradient(closest-side, rgba(59, 91, 255, 0.18), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.mock > * { position: relative; z-index: 1; }

/* call mockup */
.call { padding: 22px; }
.call__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.call__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ribbon); display: grid; place-items: center; color: #fff; }
.call__avatar svg { width: 18px; height: 18px; }
.call__meta { flex: 1; min-width: 0; }
.call__meta b { display: block; font-weight: 600; }
.call__meta span { font-size: 0.875rem; color: var(--text-3); }
.call__live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--text-2); }
.call__live i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.call__timer { font-variant-numeric: tabular-nums; color: var(--text-3); font-size: 0.8125rem; }

.call__lines { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; min-height: 290px; }
.bubble {
  max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 0.9375rem; line-height: 1.45;
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.bubble.is-in { opacity: 1; transform: none; }
.bubble--ai { align-self: flex-start; background: rgba(47, 212, 255, 0.1); border: 1px solid rgba(47, 212, 255, 0.18); border-bottom-left-radius: 4px; }
.bubble--caller { align-self: flex-end; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); border-bottom-right-radius: 4px; }
.bubble--sys {
  align-self: center; max-width: 100%; text-align: center; font-size: 0.8125rem; color: var(--text-2);
  background: rgba(255, 140, 58, 0.1); border: 1px solid rgba(255, 140, 58, 0.25); border-radius: 999px; padding: 6px 12px;
}
.call__summary {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(142, 76, 255, 0.3);
  background: rgba(142, 76, 255, 0.1); font-size: 0.875rem; line-height: 1.5;
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.call__summary.is-in { opacity: 1; transform: none; }
.call__summary b { color: var(--text); }

/* floor plan mockup */
.plan { padding: 18px; }
.plan__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 14px; font-size: 0.875rem; color: var(--text-3); }
.plan__bar b { color: var(--text); font-weight: 500; }
.plan__status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text-2); font-size: 0.8125rem; transition: border-color 0.3s, background 0.3s, color 0.3s; }
.plan__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); transition: background 0.3s, box-shadow 0.3s; }
.plan__status.is-done { border-color: rgba(74, 222, 128, 0.4); background: rgba(74, 222, 128, 0.1); color: #dcfce7; }
.plan__status.is-done i { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.plan__status.is-busy i { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 1s infinite; }

.plan svg { width: 100%; height: auto; border-radius: 12px; background: #0b0d14; }
.plan .wall { stroke: #d5dae6; stroke-width: 3; fill: none; stroke-linecap: square; stroke-linejoin: miter; }
.plan .wall-thin { stroke: #8a92a6; stroke-width: 1.5; fill: none; }
.plan .door { stroke: #8a92a6; stroke-width: 1.2; fill: none; }
.plan .room { fill: transparent; transition: fill 0.5s; }
.plan .room.is-on { fill: var(--room, rgba(47, 212, 255, 0.14)); }
.plan .lbl { font-family: var(--font); font-size: 13px; font-weight: 600; fill: #fff; opacity: 0; transition: opacity 0.4s; }
.plan .lbl small { font-size: 9px; }
.plan .lbl.is-on { opacity: 1; }
.plan .lbl-sub { font-family: var(--font); font-size: 10.5px; fill: rgba(255, 255, 255, 0.7); opacity: 0; transition: opacity 0.4s; }
.plan .lbl-sub.is-on { opacity: 1; }
.plan .dim { stroke: var(--orange); stroke-width: 1; fill: none; opacity: 0; transition: opacity 0.4s; }
.plan .dim-t { font-family: var(--font); font-size: 10.5px; font-weight: 500; fill: var(--orange); opacity: 0; transition: opacity 0.4s; }
.plan .dim.is-on, .plan .dim-t.is-on { opacity: 1; }
.plan .scan { stroke: var(--cyan); stroke-width: 1.5; opacity: 0; filter: drop-shadow(0 0 6px var(--cyan)); }
.plan .scan.is-on { opacity: 1; animation: scan 2.4s var(--ease) forwards; }
@keyframes scan { from { transform: translateX(0); } to { transform: translateX(560px); } }
.plan__foot { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.plan__chip { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-size: 0.8125rem; color: var(--text-3); opacity: 0.35; transition: opacity 0.35s, color 0.35s, border-color 0.35s; }
.plan__chip.is-on { opacity: 1; color: var(--text); border-color: var(--line-strong); }

/* --------------------------------------------------------------------------
   Own it — comparison
   -------------------------------------------------------------------------- */

.own { position: relative; }
.own__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 880px) { .own__wrap { grid-template-columns: 1fr; } }

.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, 0.02); }
.compare__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 12px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 0.9875rem; }
.compare__row:first-child { border-top: 0; background: rgba(255, 255, 255, 0.03); color: var(--text-3); font-size: 0.9rem; }
.compare__row > :first-child { color: var(--text-2); }
.compare__row > :nth-child(2) { color: var(--text-3); }
.compare__row > :nth-child(3) { color: var(--text); font-weight: 500; position: relative; padding-left: 14px; }
.compare__row > :nth-child(3)::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 70%; border-radius: 3px; background: var(--ribbon); }
.compare__row:first-child > :nth-child(3)::before { display: none; }
.compare__row:first-child > :nth-child(3) { color: var(--text); font-weight: 600; }
@media (max-width: 560px) {
  .compare__row { grid-template-columns: 1fr; gap: 4px; }
  .compare__row:first-child { display: none; }
  .compare__row > :first-child { font-size: 0.8125rem; color: var(--text-3); }
  .compare__row > :nth-child(2)::before { content: "Subscription tools: "; color: var(--text-3); }
  .compare__row > :nth-child(3) { padding-left: 0; }
  .compare__row > :nth-child(3)::before { content: "Innovai: "; position: static; width: auto; height: auto; transform: none; background: none; color: var(--text-3); font-weight: 400; }
}

.own__points { display: grid; gap: 22px; margin-top: 32px; }
.own__point { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.own__point i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.own__point i svg { width: 18px; height: 18px; }
.own__point b { display: block; font-weight: 600; }
.own__point span { color: var(--text-2); font-size: 0.9875rem; }

/* --------------------------------------------------------------------------
   How it works — a real sequence, so it earns its numbers
   -------------------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); position: relative; counter-reset: step; }
.step { position: relative; padding-top: 22px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 18px; left: 0; font-size: 4.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  background: var(--ribbon); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.55;
}
.step h3 { position: relative; padding-top: 78px; }
.step p { margin-top: 12px; color: var(--text-2); max-width: 34ch; }
.step::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--line); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; gap: 40px; } }

/* --------------------------------------------------------------------------
   Testimonials — endless row, pauses on hover
   -------------------------------------------------------------------------- */

.quotes { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.quotes__track { display: flex; gap: 18px; width: max-content; animation: ticker 70s linear infinite; padding-block: 4px; }
.quotes:hover .quotes__track, .quotes:focus-within .quotes__track { animation-play-state: paused; }
.quote {
  width: 380px; flex: none; padding: 26px 26px 22px; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025); display: flex; flex-direction: column; gap: 18px;
}
.quote__stars { display: flex; gap: 3px; }
.quote__stars svg { width: 15px; height: 15px; fill: var(--orange); }
.quote blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: var(--text); flex: 1; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__who i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 0.875rem; color: #fff; background: var(--av, var(--blue)); }
.quote__who b { display: block; font-weight: 600; font-size: 0.9875rem; }
.quote__who span { font-size: 0.875rem; color: var(--text-3); }
@media (max-width: 560px) { .quote { width: 300px; } }

.quote--single { width: auto; max-width: 720px; margin-inline: auto; text-align: left; padding: 32px; }
.quote--single blockquote { font-size: clamp(1.15rem, 2vw, 1.4rem); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 880px) { .faq { grid-template-columns: 1fr; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 4px; font-weight: 500; font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform 0.35s var(--ease), background 0.3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; width: 12px; height: 1.5px; background: var(--text); transition: transform 0.35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: rgba(255, 255, 255, 0.08); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq summary i { position: relative; }
.faq__a { padding: 0 4px 22px; color: var(--text-2); max-width: 60ch; }

/* --------------------------------------------------------------------------
   Feature list (sub pages)
   -------------------------------------------------------------------------- */

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px) clamp(28px, 5vw, 64px); }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding-top: 24px; border-top: 1px solid var(--line); }
.feature i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.feature i svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.2rem; }
.feature p { margin-top: 8px; color: var(--text-2); font-size: 0.9875rem; max-width: 40ch; }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }

.changes { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.changes li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 1.0625rem; }
.changes li svg { width: 22px; height: 22px; margin-top: 2px; }
.changes li b { font-weight: 600; }
.changes li span { display: block; color: var(--text-2); font-size: 0.9875rem; }

.uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.use { padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.use b { display: block; font-weight: 600; font-size: 1.1rem; }
.use p { margin-top: 6px; color: var(--text-2); font-size: 0.9875rem; }
@media (max-width: 640px) { .uses { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Estimator
   -------------------------------------------------------------------------- */

.tabs { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); gap: 4px; }
.tab { padding: 10px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); font-weight: 500; cursor: pointer; transition: background 0.25s, color 0.25s; }
.tab[aria-selected="true"] { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.tab:hover:not([aria-selected="true"]) { color: var(--text); }

.panel[hidden] { display: none; }
.est { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); margin-top: 36px; align-items: start; }
@media (max-width: 880px) { .est { grid-template-columns: 1fr; } }

.controls { display: grid; gap: 28px; }
.control label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 500; }
.control label output { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1.125rem; }
.control .small { display: block; margin-top: 6px; }
.control--note .small { color: var(--orange-2); }

input[type="range"] {
  --pct: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; margin: 8px 0 0; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--blue), var(--cyan) var(--pct), rgba(255, 255, 255, 0.1) var(--pct));
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ink); box-shadow: 0 0 0 1px var(--line-strong), 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s;
}
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 0 0 1px var(--line-strong); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--cyan); }

.results { position: sticky; top: 100px; display: grid; gap: 14px; }
.result { padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.result span { display: block; color: var(--text-3); font-size: 0.9rem; }
.result b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-top: 4px; line-height: 1.1; }
.result--hero { border-color: rgba(255, 140, 58, 0.4); background: linear-gradient(180deg, rgba(255, 140, 58, 0.12), rgba(255, 140, 58, 0.04)); }
.result--hero b { font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--orange-2); }
.result__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.result__row .result b { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.result__row .result:nth-child(1) b { color: var(--text-2); }
.result__row .result:nth-child(2) b { color: var(--violet); }
.result__row .result:nth-child(3) b { color: var(--cyan); }
@media (max-width: 480px) { .result__row { grid-template-columns: 1fr; } }

.chart { padding: 18px 8px 8px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.chart svg { width: 100%; height: auto; }
.chart .axis { stroke: var(--line-strong); stroke-width: 1; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .tick { font-family: var(--font); font-size: 11px; fill: var(--text-3); }
.chart .gap { fill: rgba(47, 212, 255, 0.08); }
.chart .l-rent { stroke: var(--violet); stroke-width: 2.5; fill: none; stroke-linejoin: round; }
.chart .l-own { stroke: var(--cyan); stroke-width: 3; fill: none; stroke-linejoin: round; }
.chart .cross { fill: var(--orange); }
.chart .cross-t { font-family: var(--font); font-size: 11px; font-weight: 600; fill: var(--orange-2); }
.chart__legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 10px 12px 6px; font-size: 0.875rem; color: var(--text-2); }
.chart__legend i { display: inline-block; width: 18px; height: 3px; border-radius: 3px; vertical-align: middle; margin-right: 8px; }

.est__bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: 16px; border: 1px solid rgba(255, 140, 58, 0.4);
  background: rgba(20, 16, 14, 0.85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  transform: translateY(120%); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.3s;
}
.est__bar span { font-size: 0.875rem; color: var(--text-2); }
.est__bar b { font-size: 1.35rem; font-weight: 600; color: var(--orange-2); letter-spacing: -0.02em; }
.est__bar.is-on { transform: none; opacity: 1; }
@media (max-width: 880px) { .est__bar { display: flex; } }

.est__note { margin-top: 28px; padding: 18px 20px; border-radius: 14px; border: 1px dashed var(--line-strong); color: var(--text-2); font-size: 0.9375rem; }
.est__note b { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; margin-bottom: 8px; font-size: 0.9875rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(47, 212, 255, 0.18); background: rgba(255, 255, 255, 0.06); }
.field select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23b4bccb' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select option { background: var(--ink-3); }
.field textarea { min-height: 130px; resize: vertical; }
.form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__msg { display: none; padding: 14px 16px; border-radius: 12px; font-size: 0.9875rem; }
.form__msg.is-ok { display: block; background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.35); }
.form__msg.is-err { display: block; background: rgba(240, 79, 166, 0.1); border: 1px solid rgba(240, 79, 166, 0.35); }

.direct { display: grid; gap: 22px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.direct a { color: var(--cyan); font-weight: 500; }
.direct .row { display: grid; gap: 4px; }
.direct .row span { color: var(--text-3); font-size: 0.9rem; }
.direct ol { margin: 0; padding-left: 20px; color: var(--text-2); display: grid; gap: 8px; }
.direct ol b { color: var(--text); font-weight: 500; }

/* --------------------------------------------------------------------------
   CTA band + footer
   -------------------------------------------------------------------------- */

.cta {
  position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line);
  padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: center;
  background: linear-gradient(135deg, rgba(59, 91, 255, 0.14), rgba(142, 76, 255, 0.1) 50%, rgba(255, 140, 58, 0.1));
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 50%, rgba(47, 212, 255, 0.14), transparent 70%); pointer-events: none; }
.cta > * { position: relative; }
.cta p { margin-top: 14px; color: var(--text-2); max-width: 44ch; }
.cta__logo { justify-self: end; width: min(100%, 300px); height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); }
@media (max-width: 720px) { .cta { grid-template-columns: 1fr; } .cta__logo { justify-self: start; width: 200px; order: -1; } }

.footer { padding: 40px 0 36px; border-top: 1px solid var(--line); margin-top: calc(var(--section) * 0.5); }
.footer__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer__brand img { height: 56px; width: auto; }
.footer__brand p { margin-top: 14px; color: var(--text-3); max-width: 34ch; font-size: 0.9375rem; }
.footer__links { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer__links ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; align-content: start; }
.footer__links a { color: var(--text-2); font-size: 0.9875rem; }
.footer__links a:hover { color: var(--text); }
.footer__links b { display: block; margin-bottom: 12px; font-weight: 600; font-size: 0.9375rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.875rem; }

/* --------------------------------------------------------------------------
   Reveal on scroll — one quiet entrance per block, nothing more
   -------------------------------------------------------------------------- */

/* Hidden only when JS is running (html.js), so the page never ends up blank. */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal="scale"] { transform: translateY(16px) scale(0.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

/* Children of [data-stagger] come in one after another (JS sets --i). */
.js [data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; transition: none; }
  .ticker__track, .quotes__track { animation: none; }
  .rotate > span { transition: none; }
  .plan .scan.is-on { animation: none; }
  .nav__inner { transition: none; }
}

/* ==========================================================================
   Innovai — additions for the multi-page site
   Products menu, product pages, company details, legal pages and motion.
   ========================================================================== */

:root {
  --zab-teal: #12afbb;
  --zab-amber: #f5b21b;
  interpolate-size: allow-keywords;
}

/* --------------------------------------------------------------------------
   Page transitions
   Browsers with cross-document View Transitions (Chrome, Edge, Safari 18.2+)
   cross-fade between pages. Everyone else gets a short fade in and out (JS).
   -------------------------------------------------------------------------- */

@view-transition { navigation: auto; }

.nav { view-transition-name: site-nav; }
.progress { view-transition-name: site-progress; }

::view-transition-old(root) { animation: vt-out 0.26s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease) both; }
::view-transition-group(site-nav) { animation-duration: 0.4s; }

@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

.no-vt main { animation: page-in 0.6s var(--ease) both; }
.no-vt body.is-leaving main, .no-vt body.is-leaving .footer { opacity: 0; transform: translateY(-8px); transition: opacity 0.22s ease, transform 0.22s ease; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }

/* Scroll progress, in the logo's ribbon */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; pointer-events: none;
  background: var(--ribbon); transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* --------------------------------------------------------------------------
   Hero entrance: words rise in one after another, then the rest follows
   -------------------------------------------------------------------------- */

.js [data-enter] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js.is-ready [data-enter] { opacity: 1; transform: none; }

.js [data-split] .w { display: inline-block; opacity: 0; transform: translateY(0.45em); filter: blur(8px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), filter 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 0.05s); }
.js.is-ready [data-split] .w { opacity: 1; transform: none; filter: none; }

.hero__wave canvas { opacity: 0; transition: opacity 1.4s ease 0.15s; }
.hero__wave.is-ready canvas { opacity: 1; }

/* Sub-page hero glow drifts slowly */
.hero--page::before { animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: translateX(-50%) translateY(0) rotate(0deg); }
  to   { transform: translateX(-46%) translateY(24px) rotate(6deg); }
}

/* Primary button: a light sweep on hover */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.55) 50%, transparent 75%);
  transform: translateX(-130%);
}
.btn--primary:hover::after { transform: translateX(130%); transition: transform 0.8s var(--ease); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg.arrow-out { transform: translate(2px, -2px); }

/* --------------------------------------------------------------------------
   Navigation: Products menu
   -------------------------------------------------------------------------- */

.nav__links > li { position: relative; }
.nav__links a.nav__trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav__trigger svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav__drop:hover .nav__trigger svg, .nav__drop:focus-within .nav__trigger svg { transform: rotate(180deg); }

.menu {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 360px; padding: 8px;
  border-radius: 20px; border: 1px solid var(--line-strong);
  background: rgba(14, 16, 24, 0.94);
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(0.97); transform-origin: 50% 0;
  transition: opacity 0.22s ease, transform 0.35s var(--ease), visibility 0.22s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__drop:hover .menu, .nav__drop:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }

.nav__links .menu a {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  padding: 12px; border-radius: 14px; color: var(--text);
}
.nav__links .menu a:hover { background: rgba(255, 255, 255, 0.06); }
.menu__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); overflow: hidden; }
.menu__icon img { width: 34px; height: 34px; object-fit: contain; }
.menu__icon svg { width: 22px; height: 22px; color: var(--orange-2); }
.menu b { display: block; font-weight: 600; font-size: 0.975rem; line-height: 1.3; }
.menu small { display: block; color: var(--text-3); font-size: 0.85rem; line-height: 1.4; }
.menu__all { display: block; margin-top: 4px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--text-2); }
.nav__links .menu .menu__all { display: block; padding: 12px; border-radius: 0 0 14px 14px; color: var(--cyan); }

/* Mobile sheet: grouped, links slide in one after another */
.nav__sheet { justify-content: flex-start; padding-top: 112px; padding-bottom: 40px; overflow-y: auto; }
.nav__sheet a, .sheet__label {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.5s var(--ease);
}
.nav__sheet.is-open a, .nav__sheet.is-open .sheet__label { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + 60ms); }
.sheet__label { margin-top: 10px; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.nav__sheet a.sheet__sub { font-size: 1.45rem; padding: 8px 0 8px 16px; border-left: 1px solid var(--line-strong); color: var(--text-2); }
.nav__sheet a[aria-current="page"] { color: var(--cyan); }

/* --------------------------------------------------------------------------
   Small shared pieces
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04); color: var(--text-2); font-size: 0.875rem; font-weight: 500;
}
.eyebrow b { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.eyebrow--zab b { background: var(--zab-teal); box-shadow: 0 0 10px var(--zab-teal); }
.eyebrow--plan b { background: var(--orange); box-shadow: 0 0 10px var(--orange); }

.mock__label {
  position: absolute; top: 14px; right: 14px; z-index: 3; padding: 4px 10px; border-radius: 999px;
  font-size: 0.75rem; color: var(--text-3); border: 1px solid var(--line); background: rgba(8, 9, 13, 0.6);
}
.call .call__head { padding-right: 70px; }

/* --------------------------------------------------------------------------
   Automation mockup: a workflow lighting up step by step
   -------------------------------------------------------------------------- */

.flow { padding: 22px; }
.flow__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 0.9rem; color: var(--text-3); padding-right: 70px; }
.flow__head b { color: var(--text); font-weight: 600; }
.flow__state { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text-2); font-size: 0.8125rem; white-space: nowrap; transition: border-color 0.3s, background 0.3s, color 0.3s; }
.flow__state i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 8px var(--violet); animation: pulse 1.2s infinite; }
.flow__state.is-done { border-color: rgba(74, 222, 128, 0.4); background: rgba(74, 222, 128, 0.1); color: #dcfce7; }
.flow__state.is-done i { background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: none; }

.flow__steps { list-style: none; margin: 0; padding: 18px 0 0; display: grid; gap: 4px; }
.flow__step { position: relative; display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: start; padding: 10px 0 14px; }
.flow__step::before {
  content: ""; position: absolute; left: 19.5px; top: 50px; bottom: -6px; width: 1px;
  background: linear-gradient(var(--violet), var(--cyan)); transform-origin: 50% 0; transform: scaleY(0);
  transition: transform 0.6s var(--ease) 0.25s;
}
.flow__step:last-child::before { display: none; }
.flow__step.is-on::before { transform: scaleY(1); }
.flow__step > i {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text-3);
  transition: background 0.4s, border-color 0.4s, color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
}
.flow__step > i svg { width: 18px; height: 18px; }
.flow__step.is-on > i { background: rgba(142, 76, 255, 0.16); border-color: rgba(142, 76, 255, 0.45); color: #fff; box-shadow: 0 0 22px -6px rgba(142, 76, 255, 0.9); transform: scale(1.04); }
.flow__step b { display: block; font-weight: 600; font-size: 0.975rem; color: var(--text-3); transition: color 0.4s; }
.flow__step span { display: block; font-size: 0.875rem; color: var(--text-3); opacity: 0.6; transition: opacity 0.4s; }
.flow__step em { font-style: normal; font-size: 0.8125rem; color: var(--text-3); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity 0.4s; }
.flow__step.is-on b { color: var(--text); }
.flow__step.is-on span, .flow__step.is-on em { opacity: 1; }

/* --------------------------------------------------------------------------
   Product cards (home and /products)
   -------------------------------------------------------------------------- */

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 28px); }
@media (max-width: 880px) { .products { grid-template-columns: 1fr; } }

.pcard {
  --mx: 50%; --my: 0%;
  position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s var(--ease);
}
.pcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.09), transparent 45%);
}
.pcard:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.pcard:hover::after { opacity: 1; }

.pcard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: #0b0d14; }
.pcard__media > img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transition: transform 0.9s var(--ease); }
.pcard:hover .pcard__media > img { transform: scale(1.045); }
.pcard__media--zab { background: radial-gradient(70% 90% at 80% 40%, rgba(18, 175, 187, 0.35), transparent 70%), radial-gradient(60% 80% at 20% 90%, rgba(245, 178, 27, 0.25), transparent 70%), #0b0d14; padding: 22px 22px 0; }
.pcard__media--zab .browser { height: 100%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; transform: none; }
.pcard__media--zab .browser img { height: calc(100% - 34px); object-fit: cover; object-position: 0 0; transition: transform 0.9s var(--ease); transform-origin: 0 0; }
.pcard:hover .pcard__media--zab .browser img { transform: scale(1.04); }
.pcard__media--plan { display: grid; place-items: center; padding: 16px 24px; background: radial-gradient(70% 80% at 70% 30%, rgba(255, 140, 58, 0.16), transparent 70%), #0b0d14; }
.pcard__media--plan .plan { padding: 0; width: 100%; background: none; border: 0; box-shadow: none; }
.pcard__media--plan .plan svg { background: transparent; }
.pcard:hover .plan .scan { opacity: 1; animation: scan 2.4s var(--ease) forwards; }

.pcard__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 26px 26px; }
.pcard__kicker { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 0.875rem; }
.pcard__kicker img { width: 28px; height: 28px; object-fit: contain; }
.pcard__kicker .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--orange); }
.pcard h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.pcard p { color: var(--text-2); max-width: 48ch; }
.pcard .link { margin-top: auto; padding-top: 8px; }
.pcard__link::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.pcard:hover .link svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Browser frame used to preview a product's own website
   -------------------------------------------------------------------------- */

.browser {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: block; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--line-strong); background: #0e1018;
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease), box-shadow 0.4s;
}
.browser__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex: none; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__url {
  flex: 1; max-width: 240px; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 3px 10px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); color: var(--text-2); font-size: 0.78rem;
}
.browser__url svg { width: 11px; height: 11px; opacity: 0.7; }
.browser img { width: 100%; height: auto; }
.browser__open {
  position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: rgba(8, 9, 13, 0.82); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--text); font-weight: 600; font-size: 0.9rem;
  opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.4s var(--ease);
}
.browser__open svg { width: 14px; height: 14px; }
a.browser:hover .browser__open, a.browser:focus-visible .browser__open { opacity: 1; transform: none; }
a.browser:hover { box-shadow: 0 70px 130px -50px rgba(0, 0, 0, 1), 0 0 0 1px rgba(18, 175, 187, 0.35); }

.zab-stage { position: relative; }
.zab-stage::before {
  content: ""; position: absolute; inset: -12% -8%; z-index: -1; filter: blur(50px); pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(18, 175, 187, 0.42), transparent 70%) 20% 30% / 60% 70% no-repeat,
    radial-gradient(closest-side, rgba(245, 178, 27, 0.32), transparent 70%) 85% 80% / 55% 60% no-repeat;
  animation: breathe 9s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: 0.7; transform: scale(0.97); } to { opacity: 1; transform: scale(1.03); } }

/* Zabanak product page */
.zab-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 600; font-size: 1.15rem; }
.zab-brand img { width: 44px; height: 44px; object-fit: contain; }
.modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .modes { grid-template-columns: 1fr; } }
.mode {
  position: relative; padding: 24px 22px 24px; border-radius: 18px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025); transition: transform 0.45s var(--ease), border-color 0.3s, background 0.3s;
}
.mode:hover { transform: translateY(-4px); border-color: rgba(18, 175, 187, 0.4); background: rgba(18, 175, 187, 0.06); }
.mode i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(18, 175, 187, 0.12); border: 1px solid rgba(18, 175, 187, 0.3); color: #7fe3ea; }
.mode i svg { width: 20px; height: 20px; }
.mode small { display: block; margin-top: 18px; color: var(--text-3); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.mode h3 { margin-top: 6px; font-size: 1.2rem; }
.mode p { margin-top: 8px; color: var(--text-2); font-size: 0.95rem; }
.changes--zab li svg { color: var(--zab-teal); }

.made-by { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.made-by p { color: var(--text-2); max-width: 62ch; }
.made-by p b { color: var(--text); font-weight: 600; }
.made-by nav { display: flex; flex-wrap: wrap; gap: 8px; }

/* --------------------------------------------------------------------------
   About + company details (what Apple and customers look for)
   -------------------------------------------------------------------------- */

.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }
.about .lead + .lead { margin-top: 16px; }
.company { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); position: relative; overflow: hidden; }
.company::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: var(--ribbon); opacity: 0.8; }
.company h3 { font-size: 1.15rem; letter-spacing: 0; }
.company dl { margin: 18px 0 0; display: grid; gap: 14px; }
.company dt { color: var(--text-3); font-size: 0.875rem; }
.company dd { margin: 2px 0 0; color: var(--text); }
.company dd a { color: var(--cyan); }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal { max-width: 760px; }
.legal h2 { font-size: 1.45rem; margin: 44px 0 12px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0 0; }
.legal a { color: var(--cyan); }
.legal b { color: var(--text); font-weight: 600; }
.legal__meta { color: var(--text-3); font-size: 0.95rem; margin-top: 14px; }

/* Footer company line */
.footer__legal { margin-top: 10px; color: var(--text-3); font-size: 0.85rem; line-height: 1.6; }
.footer__bottom a { color: var(--text-2); }
.footer__bottom a:hover { color: var(--text); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(4rem, 14vw, 9rem); }
.notfound p { margin: 14px auto 0; }
.notfound .actions { justify-content: center; }

/* --------------------------------------------------------------------------
   Smaller motion details
   -------------------------------------------------------------------------- */

/* FAQ answers open smoothly where the browser supports it */
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details[open] .faq__a { animation: fade-up 0.5s var(--ease) both; }
.faq summary { transition: color 0.2s; }
.faq summary:hover { color: var(--cyan); }
.faq summary:hover i { transform: rotate(90deg); }

/* Estimator panels swap with a fade */
.panel:not([hidden]) { animation: fade-up 0.5s var(--ease) both; }

/* Feature tiles and use cards lift a touch */
.feature i, .own__point i { transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s; }
.feature:hover i, .own__point:hover i { transform: translateY(-3px) rotate(-4deg); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.08); }
.use { transition: transform 0.45s var(--ease), border-color 0.3s, background 0.3s; }
.use:hover { transform: translateY(-4px); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.045); }
.js .step::after { transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.1s var(--ease) 0.15s; }
.js .step.is-in::after { transform: none; }
.cta__logo { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }

@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .no-vt main, .panel:not([hidden]), .faq details[open] .faq__a { animation: none; }
  .js [data-enter], .js [data-split] .w { opacity: 1; transform: none; filter: none; transition: none; }
  .hero__wave canvas { opacity: 1; transition: none; }
  .hero--page::before, .zab-stage::before, .cta__logo { animation: none; }
  .menu, .nav__sheet a, .sheet__label, .pcard, .browser, .mode, .use { transition: none; }
  .js .step::after { transform: none; transition: none; }
  .flow__state i { animation: none; }
}

/* Keep hero copy readable where it crosses the ribbon */
.hero .lead { max-width: 52ch; text-shadow: 0 1px 2px rgba(8, 9, 13, 0.9), 0 0 24px rgba(8, 9, 13, 0.85); }
.hero__note { text-shadow: 0 0 16px rgba(8, 9, 13, 0.9); }

.zab-brand { display: flex; width: fit-content; }
.modes > div { display: flex; }
.mode { flex: 1; }
.nav.is-floating .nav__inner { background: rgba(14, 16, 24, 0.84); }
