/* ==========================================================================
   AlteGraph — website styles
   One file, no build step. Every colour comes from a token in section 1, so
   retuning the whole site means editing that block and nothing else.

   1  Tokens                     11  Cards
   2  Reset & base               12  Inline SVG art (.art)
   3  Layout                     13  Marquee, stats, steps
   4  Atmosphere                 14  Phone mock & scroll-scrub
   5  Buttons & pills            15  Bands, compare, pricing
   6  Header & nav               16  Accordion, filters, work
   7  Hero                       17  Article, forms, footer
   8  Section heads              18  Hero console
   9  Preloader & chrome         19  Spacing utilities
  10  Reveal & motion utilities  20  Reduced motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens

   Three blocks: values that never change with theme, then the dark set, then
   the light overrides. Dark is the default — a visitor with no stored choice
   gets it regardless of their OS setting. To follow the OS instead, see the
   note above the theme script in each page's <head>.

   Every colour a component uses comes from here. If you find yourself typing a
   hex value into a rule below section 1, add a token instead — otherwise that
   rule will be wrong in one of the two themes.
   -------------------------------------------------------------------------- */
:root {
  /* ---- theme-independent -------------------------------------------------- */

  /* Brand fills. --brand always sits behind white text (5.9:1 in both themes),
     which is why it does not change. The blue used AS text is --brand-lite,
     and that one does flip. */
  --brand:      #1b4dff;
  --wa:         #0f7a3d;   /* darkened from brand #25d366 so white text clears 4.5:1 */

  /* Shape */
  --r-sm:   10px;
  --r:      16px;
  --r-lg:   24px;
  --r-xl:   34px;
  --r-pill: 999px;

  /* Layout */
  --maxw:      1200px;
  --maxw-text: 720px;
  --gutter:    22px;
  --section-y: clamp(64px, 8vw, 132px);
  --header-h:  76px;

  /* Type */
  --font-head: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --fs-display: clamp(2.4rem, 5.2vw, 4.4rem);
  --fs-h1:      clamp(2.15rem, 5vw, 3.75rem);
  --fs-h2:      clamp(1.75rem, 3.5vw, 2.7rem);
  --fs-h3:      clamp(1.12rem, 1.6vw, 1.38rem);
  --fs-lead:    clamp(1.03rem, 1.35vw, 1.19rem);

  /* Motion */
  --e-out:   cubic-bezier(.22, 1, .36, 1);
  --e-soft:  cubic-bezier(.4, 0, .2, 1);
  --e-back:  cubic-bezier(.34, 1.46, .64, 1);
  --t-fast:  .18s;
  --t-base:  .3s;
  --t-slow:  .7s;
}

/* ---- dark (default) ------------------------------------------------------ */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;

  /* Canvas — near-black navy, so the electric brand blue can actually glow */
  --bg:        #05070f;
  --bg-2:      #080d1a;
  --panel:     #0b1222;
  --panel-2:   #101a30;

  /* Glass surfaces and hairlines */
  --glass:     rgba(255, 255, 255, .045);
  --glass-2:   rgba(255, 255, 255, .075);
  --glass-3:   rgba(255, 255, 255, .12);
  --line:      rgba(255, 255, 255, .085);
  --line-2:    rgba(255, 255, 255, .15);

  /* Text. Worst case is a patch lit by the aurora behind it, not the flat
     canvas — measured there: ink 15:1, body 9:1, muted 5.3:1, dim 4.9:1. */
  --ink:       #f3f6fd;
  --body:      #b8c2d6;
  --muted:     #8494b3;
  --dim:       #808dac;

  /* Accents. Each is safe as text on this theme's surfaces. */
  --brand-2:    #2f6bff;
  --brand-lite: #7fa4ff;
  --brand-deep: #143bc7;
  --mint:       #00e6b0;
  --violet:     #9d6bff;
  --amber:      #ffb545;
  --danger:     #ff8a8a;
  --link-hover: #a6c1ff;

  /* Opaque / translucent surfaces that cannot be expressed with --glass */
  --surface-bar:    rgba(5, 7, 15, .72);      /* condensed header */
  --surface-nav:    rgba(6, 9, 18, .96);      /* mobile nav panel */
  --surface-float:  rgba(11, 18, 34, .88);    /* to-top, floating badges */
  --surface-sunken: rgba(5, 7, 15, .4);       /* console modules */
  --surface-bar-2:  rgba(5, 7, 15, .35);      /* console title bar */
  --field-bg:       rgba(5, 7, 15, .55);
  --field-bg-focus: rgba(5, 7, 15, .8);

  /* Composite backgrounds */
  --band-bg:
    radial-gradient(90% 120% at 12% 0%, rgba(47, 107, 255, .3), transparent 62%),
    linear-gradient(150deg, var(--panel-2), var(--panel) 62%);
  --cta-bg:
    radial-gradient(70% 140% at 8% 50%, rgba(27, 77, 255, .5), transparent 60%),
    radial-gradient(60% 120% at 95% 20%, rgba(0, 230, 176, .22), transparent 62%),
    linear-gradient(140deg, #10204f, #070c19 70%);
  --footer-bg: linear-gradient(180deg, rgba(11, 18, 34, .5), rgba(5, 7, 15, .9));
  --grad-text: linear-gradient(100deg, var(--brand-lite) 0%, #b9caff 30%, var(--mint) 78%);

  /* Inverted button — light chip on a dark page */
  --btn-invert-bg: #f3f6fd;
  --btn-invert-fg: #0a1020;
  --btn-invert-bg-hover: #fff;

  /* Atmosphere */
  --aurora-1:  radial-gradient(circle, rgba(27, 77, 255, .55), transparent 68%);
  --aurora-2:  radial-gradient(circle, rgba(0, 230, 176, .3), transparent 68%);
  --aurora-3:  radial-gradient(circle, rgba(157, 107, 255, .3), transparent 70%);
  --aurora-op: .5;
  --mesh-line: rgba(255, 255, 255, .045);
  --grain-op:  .16;
  --mock-glow:     rgba(47, 107, 255, .3);
  --section-glow:  rgba(27, 77, 255, .16);
  --spotlight:     rgba(127, 164, 255, .1);
  --tint-brand:    rgba(127, 164, 255, .12);
  --outline-border: rgba(127, 164, 255, .45);
  --cursor-ring:   rgba(127, 164, 255, .55);
  --cursor-fill:   rgba(127, 164, 255, .22);
  --tint-danger:      rgba(220, 60, 60, .06);
  --tint-danger-line: rgba(220, 90, 90, .22);

  /* Hero canvas. Space-separated RGB triplets so the script can vary alpha. */
  --canvas-line-rgb: 127 164 255;
  --canvas-dot-rgb:  160 190 255;
  --canvas-alt-rgb:  0 230 176;
  --canvas-op:       1;

  /* Elevation — on a dark canvas depth comes from glow plus a deep shadow */
  --sh-1: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 12px 34px rgba(0, 0, 0, .45);
  --sh-2: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 26px 60px rgba(0, 0, 0, .55);
  --sh-brand: 0 10px 34px rgba(27, 77, 255, .38);

  /* Inline data-URI icons. Stroke colour has to be baked in, so each theme
     carries its own copy rather than trying to var() inside a url(). */
  --ico-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fa4ff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l6 6L20 6'/%3E%3C/svg%3E");
  --ico-tick-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e6b0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l6 6L20 6'/%3E%3C/svg%3E");
  --ico-select: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238494b3' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");

  /* Illustration palette. The inline SVG art reads these, so re-theming the
     site re-themes the artwork. Mirrors the P dict in tools/generate-art.py. */
  --art-panel: #0b1222;  --art-panel2: #101a30;
  --art-line:  #1f2c48;  --art-line2:  #2b3a5c;
  --art-blue:  #2f6bff;  --art-blue-lite: #7fa4ff;  --art-blue-deep: #1b4dff;
  --art-mint:  #00e6b0;  --art-violet: #9d6bff;     --art-amber: #ffb545;
  --art-white: #eef3ff;  --art-muted:  #8494b3;
  --art-glow-op: .55;
}

/* ---- light --------------------------------------------------------------- */
:root[data-theme="light"] {
  color-scheme: light;

  /* Not pure white: the aurora needs somewhere to register, and a hair of blue
     keeps the page from glaring. --panel is the brightest surface, so it is
     what every text colour below was measured against. */
  --bg:        #f7f9fd;
  --bg-2:      #eef2fa;
  --panel:     #ffffff;
  --panel-2:   #f2f5fc;

  --glass:     rgba(255, 255, 255, .66);
  --glass-2:   rgba(255, 255, 255, .86);
  --glass-3:   rgba(255, 255, 255, .96);
  --line:      rgba(16, 26, 48, .13);
  --line-2:    rgba(16, 26, 48, .24);

  /* Measured against #ffffff: ink 18.7:1, body 9.9:1, muted 6.2:1, dim 5.1:1 */
  --ink:       #0b1220;
  --body:      #39435a;
  --muted:     #55617a;
  --dim:       #626e88;

  /* Accents, darkened until each clears 4.5:1 on white:
     brand-lite 7.7, mint 5.3, violet 6.4, amber 5.9, danger 6.5 */
  --brand-2:    #143bc7;
  --brand-lite: #1740d6;
  --brand-deep: #102da0;
  --mint:       #0a7a5b;
  --violet:     #6b3fd4;
  --amber:      #8a5a00;
  --danger:     #b3261e;
  --link-hover: #102da0;

  --surface-bar:    rgba(247, 249, 253, .82);
  --surface-nav:    rgba(255, 255, 255, .97);
  --surface-float:  rgba(255, 255, 255, .92);
  --surface-sunken: rgba(240, 244, 252, .8);
  --surface-bar-2:  rgba(240, 244, 252, .9);
  --field-bg:       #ffffff;
  --field-bg-focus: #ffffff;

  --band-bg:
    radial-gradient(90% 120% at 12% 0%, rgba(47, 107, 255, .14), transparent 62%),
    linear-gradient(150deg, #ffffff, #eff3fc 70%);
  --cta-bg:
    radial-gradient(70% 140% at 8% 50%, rgba(27, 77, 255, .18), transparent 60%),
    radial-gradient(60% 120% at 95% 20%, rgba(0, 230, 176, .14), transparent 62%),
    linear-gradient(140deg, #eaf0ff, #f8fafe 72%);
  --footer-bg: linear-gradient(180deg, #eef2fa, #f7f9fd);
  --grad-text: linear-gradient(100deg, var(--brand-lite) 0%, #3f5fe0 34%, var(--mint) 82%);

  /* Inverted button — dark chip on a light page */
  --btn-invert-bg: #0b1220;
  --btn-invert-fg: #ffffff;
  --btn-invert-bg-hover: #17203a;
  --btn-glass-border: rgba(16, 26, 48, .32);

  /* Much gentler: on a light canvas the same alphas would read as stains */
  --aurora-1:  radial-gradient(circle, rgba(27, 77, 255, .17), transparent 68%);
  --aurora-2:  radial-gradient(circle, rgba(0, 190, 145, .13), transparent 68%);
  --aurora-3:  radial-gradient(circle, rgba(157, 107, 255, .13), transparent 70%);
  --aurora-op: .75;
  --mesh-line: rgba(16, 26, 48, .05);
  --grain-op:  .05;
  --mock-glow:     rgba(47, 107, 255, .16);
  --section-glow:  rgba(27, 77, 255, .09);
  --spotlight:     rgba(27, 77, 255, .07);
  --tint-brand:    rgba(27, 77, 255, .08);
  --outline-border: rgba(23, 64, 214, .4);
  --cursor-ring:   rgba(23, 64, 214, .5);
  --cursor-fill:   rgba(23, 64, 214, .14);
  --tint-danger:      rgba(179, 38, 30, .06);
  --tint-danger-line: rgba(179, 38, 30, .22);

  --canvas-line-rgb: 60 100 210;
  --canvas-dot-rgb:  40 80 190;
  --canvas-alt-rgb:  10 122 91;
  --canvas-op:       1.7;

  --sh-1: 0 1px 2px rgba(16, 26, 48, .06), 0 8px 24px rgba(16, 26, 48, .07);
  --sh-2: 0 2px 6px rgba(16, 26, 48, .07), 0 22px 50px rgba(16, 26, 48, .12);
  --sh-brand: 0 10px 30px rgba(27, 77, 255, .26);

  --ico-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231740d6' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l6 6L20 6'/%3E%3C/svg%3E");
  --ico-tick-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7a5b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l6 6L20 6'/%3E%3C/svg%3E");
  --ico-select: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355617a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");

  /* Illustrations on light: the panel becomes white, the strokes darken, and
     --art-white flips to ink because it plays the "text bar" role. */
  --art-panel: #ffffff;  --art-panel2: #f3f6fd;
  --art-line:  #dde4f2;  --art-line2:  #c2cde4;
  --art-blue:  #2f6bff;  --art-blue-lite: #3f6ad8;  --art-blue-deep: #1b4dff;
  --art-mint:  #0d9b74;  --art-violet: #7b4fd8;     --art-amber: #c07d0a;
  --art-white: #16203a;  --art-muted:  #7c88a0;
  --art-glow-op: .18;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  transition: background-color var(--t-base) var(--e-soft), color var(--t-base) var(--e-soft);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Stops the aurora layers repainting the whole page on every scroll tick */
  position: relative;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 .55em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.015em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-lite); text-decoration: none; transition: color var(--t-fast) var(--e-soft); }
a:hover { color: var(--link-hover); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

strong, b { color: var(--ink); font-weight: 650; }
small { font-size: .86rem; }

hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-lite);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--brand); color: #fff; padding: 12px 20px;
  border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }

.section { padding: var(--section-y) 0; position: relative; }
.section--tight { padding: clamp(44px, 5vw, 76px) 0; }
.section--flush-top { padding-top: 0; }

/* A hairline that fades out at both ends — reads as a seam, not a border */
.section--seam { border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, var(--line) 22%, var(--line) 78%, transparent) 1; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
.split--wide-first { grid-template-columns: 1.12fr .88fr; }
.split--wide-last  { grid-template-columns: .9fr 1.1fr; }
.split--reverse .split__media { order: -1; }

@media (max-width: 920px) {
  .split, .split--wide-first, .split--wide-last { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
}

.stack     { display: flex; flex-direction: column; gap: 18px; }
.center    { text-align: center; }
.lead  { font-size: var(--fs-lead); color: var(--body); }
.small-note { font-size: .88rem; color: var(--muted); }
/* Spacing utilities live at the end of this file — components like .tick-list
   and .chip-row reset their own margin, and a utility has to win over that. */

/* --------------------------------------------------------------------------
   4. Atmosphere — aurora light, grid mesh, film grain
   These sit behind everything and never take pointer events.
   -------------------------------------------------------------------------- */
.atmos { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

.atmos__aurora {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  opacity: var(--aurora-op);
  will-change: transform;
}
.atmos__aurora--1 { top: -18vh;  left: -10vw;  width: 62vw; height: 62vw; background: var(--aurora-1); animation: drift1 26s var(--e-soft) infinite alternate; }
.atmos__aurora--2 { top: 22vh;   right: -16vw; width: 54vw; height: 54vw; background: var(--aurora-2); animation: drift2 32s var(--e-soft) infinite alternate; }
.atmos__aurora--3 { bottom: -22vh; left: 26vw; width: 58vw; height: 58vw; background: var(--aurora-3); animation: drift3 38s var(--e-soft) infinite alternate; }

@keyframes drift1 { to { transform: translate3d(9vw, 7vh, 0) scale(1.14); } }
@keyframes drift2 { to { transform: translate3d(-8vw, 10vh, 0) scale(1.2); } }
@keyframes drift3 { to { transform: translate3d(6vw, -8vh, 0) scale(1.1); } }

/* Mesh grid, masked so it only reads near the top of the viewport */
.atmos__mesh {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--mesh-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--mesh-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 72%);
}

/* Film grain — kills the flatness of large gradient fields */
.atmos__grain {
  position: absolute; inset: -50%;
  opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-6%, 4%); }
  40%  { transform: translate(4%, -6%); }
  60%  { transform: translate(-4%, -4%); }
  80%  { transform: translate(6%, 6%); }
  100% { transform: translate(0, 0); }
}

/* Per-section glow, opted into with data-glow */
.section[data-glow]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 60% at var(--gx, 50%) var(--gy, 0%), var(--section-glow), transparent 70%);
}

/* --------------------------------------------------------------------------
   5. Buttons & pills
   -------------------------------------------------------------------------- */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  font-family: var(--font-head); font-size: .95rem; font-weight: 700;
  letter-spacing: -.01em;
  border: 1px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; text-align: center; white-space: nowrap;
  transform: translate3d(var(--tx), var(--ty), 0);
  transition: background var(--t-base) var(--e-soft), color var(--t-base) var(--e-soft),
              border-color var(--t-base) var(--e-soft), box-shadow var(--t-base) var(--e-soft),
              transform .45s var(--e-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 17px; height: 17px; flex: none; transition: transform var(--t-base) var(--e-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { padding: 16px 30px; font-size: 1.01rem; }
.btn--sm { padding: 9px 17px; font-size: .86rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-2); color: #fff; box-shadow: 0 14px 44px rgba(27, 77, 255, .5); }

/* Light-on-dark glass secondary */
.btn--glass {
  background: var(--glass-2); color: var(--ink);
  border-color: var(--btn-glass-border, var(--line-2));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn--glass:hover { background: var(--glass-3); border-color: var(--brand-lite); color: var(--ink); }

.btn--outline { background: transparent; color: var(--brand-lite); border-color: var(--outline-border); }
.btn--outline:hover { background: var(--tint-brand); color: var(--brand-lite); border-color: var(--brand-lite); }

.btn--white { background: var(--btn-invert-bg); color: var(--btn-invert-fg); }
.btn--white:hover { background: var(--btn-invert-bg-hover); color: var(--btn-invert-fg); }

.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #0f8140; color: #fff; }   /* 4.96:1 with white */

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand-lite); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.btn-row--center { justify-content: center; }

/* Text link with a sliding arrow */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .93rem;
  color: var(--brand-lite);
}
.arrow-link svg { width: 15px; height: 15px; transition: transform var(--t-base) var(--e-out); }
.arrow-link:hover svg { transform: translateX(4px); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--glass-2); border: 1px solid var(--line);
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.badge--live { background: rgba(0, 230, 176, .13); border-color: rgba(0, 230, 176, .32); color: var(--mint); }
.badge--brand { background: rgba(47, 107, 255, .16); border-color: rgba(47, 107, 255, .38); color: var(--brand-lite); }
.badge--todo { background: rgba(255, 181, 69, .12); border-color: rgba(255, 181, 69, .3); color: var(--amber); text-transform: none; letter-spacing: 0; }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--live .badge__dot { animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 230, 176, .5); } 50% { opacity: .6; box-shadow: 0 0 0 5px rgba(0, 230, 176, 0); } }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--line);
  font-size: .89rem; color: var(--body);
  transition: border-color var(--t-fast) var(--e-soft), color var(--t-fast) var(--e-soft), background var(--t-fast) var(--e-soft);
}
.chip:hover { border-color: var(--line-2); color: var(--ink); background: var(--glass-2); }
.chip svg { width: 15px; height: 15px; color: var(--brand-lite); flex: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip-row li { margin: 0; }

/* Small uppercase mono label used above headings */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-lite);
  margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--center { justify-content: center; }
.eyebrow--mint { color: var(--mint); }

/* --------------------------------------------------------------------------
   6. Header & nav
   The bar is glass over the page. It condenses once scrolled, and hides on
   the way down / returns on the way up (JS toggles .is-up), which gives long
   pages back their vertical space without costing a click.
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: transform .45s var(--e-out), background var(--t-base) var(--e-soft),
              border-color var(--t-base) var(--e-soft), backdrop-filter var(--t-base);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--surface-bar);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line);
}
.site-header.is-up { transform: translateY(-100%); }

.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h);
  transition: min-height var(--t-base) var(--e-soft);
}
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* Theme switch. Shows the icon of the theme you would move TO. */
.theme-toggle {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line); background: var(--glass);
  color: var(--body); cursor: pointer;
  transition: color var(--t-fast) var(--e-soft), border-color var(--t-fast) var(--e-soft),
              background var(--t-fast) var(--e-soft);
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--line-2); background: var(--glass-2); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle__moon { display: none; }
:root[data-theme="light"] .theme-toggle__sun { display: none; }
:root[data-theme="light"] .theme-toggle__moon { display: block; }
.site-header.is-scrolled .header-inner { min-height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 4px 0; }
.brand:hover { text-decoration: none; }
/* Two files, one per theme: the wordmark's "Graph" is near-white for the dark
   canvas and navy for the light one, so it cannot be a single recoloured image.
   Both are ~20KB and cached across pages. */
.brand__logo { height: 36px; width: auto; transition: height var(--t-base) var(--e-soft); }
.brand__logo--on-light { display: none; }
:root[data-theme="light"] .brand__logo--on-dark { display: none; }
:root[data-theme="light"] .brand__logo--on-light { display: block; }
.site-header.is-scrolled .brand__logo { height: 31px; }
@media (max-width: 480px) { .brand__logo, .site-header.is-scrolled .brand__logo { height: 29px; } }

.primary-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav li { margin: 0; }
.primary-nav ul a {
  position: relative;
  display: block; padding: 8px 12px; border-radius: var(--r-sm);
  font-family: var(--font-head); font-size: .92rem; font-weight: 600;
  color: var(--body);
  transition: color var(--t-fast) var(--e-soft), background var(--t-fast) var(--e-soft);
}
.primary-nav ul a:hover { color: var(--ink); background: var(--glass); }
.primary-nav ul a[aria-current="page"] { color: var(--ink); }
.primary-nav ul a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--brand-lite);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px; flex: none;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform var(--t-base) var(--e-out), opacity var(--t-fast) var(--e-soft);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; }
  .primary-nav {
    margin-left: 0;
    position: fixed; inset: var(--header-h) 0 auto;
    display: block; padding: 20px var(--gutter) 30px;
    background: var(--surface-nav);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity var(--t-base) var(--e-soft), transform var(--t-base) var(--e-out), visibility var(--t-base);
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav ul a { padding: 13px 14px; font-size: 1.02rem; }
  .primary-nav ul a[aria-current="page"]::after { display: none; }
  .primary-nav ul a[aria-current="page"] { background: var(--glass-2); color: var(--brand-lite); }
  .nav-cta { margin-top: 18px; width: 100%; }
  /* Dropdown inline on mobile */
  .nav-has-dropdown > button { display: flex; width: 100%; padding: 13px 14px; font-family: var(--font-head); font-size: 1.02rem; font-weight: 600; color: var(--body); background: none; border: none; border-radius: var(--r-sm); cursor: pointer; gap: 6px; align-items: center; }
  .nav-has-dropdown > button:hover { color: var(--ink); background: var(--glass); }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; border: none; padding: 0 0 0 16px; pointer-events: auto; display: none; }
  .nav-has-dropdown.is-open .nav-dropdown { display: block; }
  .nav-dropdown li a { padding: 10px 14px; font-size: .98rem; }
  .nav-has-dropdown > button .chev { transition: transform var(--t-base) var(--e-out); }
  .nav-has-dropdown.is-open > button .chev { transform: rotate(180deg); }
}

/* Dropdown — desktop */
.nav-has-dropdown { position: relative; }
.nav-has-dropdown > button {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 12px; border-radius: var(--r-sm);
  font-family: var(--font-head); font-size: .92rem; font-weight: 600;
  color: var(--body); background: none; border: none; cursor: pointer;
  transition: color var(--t-fast) var(--e-soft), background var(--t-fast) var(--e-soft);
  -webkit-tap-highlight-color: transparent;
}
.nav-has-dropdown > button:hover,
.nav-has-dropdown.is-open > button { color: var(--ink); background: var(--glass); }
.nav-has-dropdown > button .chev { width: 14px; height: 14px; flex: none; transition: transform var(--t-base) var(--e-out); }
.nav-has-dropdown.is-open > button .chev { transform: rotate(180deg); }
.nav-has-dropdown.is-active > button { color: var(--ink); }
.nav-has-dropdown.is-active > button::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--brand-lite);
}

.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 200px; width: max-content; max-width: 280px; padding: 6px;
  background: var(--surface-nav); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: 0 16px 48px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-base) var(--e-soft), transform var(--t-base) var(--e-out), visibility var(--t-base);
  z-index: 200;
}
.nav-has-dropdown.is-open .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Reset flex inherited from .primary-nav ul (specificity 0,1,1 → need 0,2,0) */
.primary-nav .nav-dropdown {
  display: block; flex-direction: column; align-items: stretch; gap: 0;
}
.nav-dropdown li { list-style: none; margin: 0; }
.nav-dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  font-family: var(--font-head); font-size: .9rem; font-weight: 600; color: var(--body);
  white-space: nowrap;
  transition: color var(--t-fast) var(--e-soft), background var(--t-fast) var(--e-soft);
}
.nav-dropdown li a:hover { color: var(--ink); background: var(--glass); text-decoration: none; }
.nav-dropdown li a svg { width: 16px; height: 16px; flex: none; opacity: .65; }
.nav-dropdown li a:hover svg { opacity: 1; }
.nav-dropdown__badge {
  margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 7px; border-radius: var(--r-pill);
  background: rgba(0,230,176,.16); color: var(--mint);
}

/* --------------------------------------------------------------------------
   6b. Two-Path Callout (homepage)
   -------------------------------------------------------------------------- */
.two-path {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 0;
}
@media (max-width: 860px) { .two-path { grid-template-columns: 1fr; } }

.path-card {
  position: relative; padding: 32px 30px 30px;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--panel); overflow: hidden;
  transition: border-color var(--t-base) var(--e-soft), transform var(--t-base) var(--e-out);
}
.path-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.path-card--mint { border-color: rgba(0,230,176,.22); }
.path-card--mint:hover { border-color: rgba(0,230,176,.5); }
.path-card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(27,77,255,.14); color: var(--brand-lite);
}
.path-card--mint .path-card__icon { background: rgba(0,230,176,.12); color: var(--mint); }
.path-card__icon svg { width: 24px; height: 24px; }
.path-card h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); margin: 0 0 10px; }
.path-card p { margin: 0 0 24px; color: var(--body); line-height: 1.6; }
.path-card .arrow-link { font-size: .92rem; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(52px, 7vw, 104px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero--inner { padding: clamp(44px, 5.5vw, 82px) 0 clamp(40px, 5vw, 66px); }
.hero > .container { position: relative; z-index: 2; }

/* The node-graph canvas. Sits behind the hero copy, fades out at the edges. */
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; opacity: 0;
  transition: opacity 1.2s var(--e-soft);
  mask-image: radial-gradient(110% 90% at 60% 45%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(110% 90% at 60% 45%, #000 25%, transparent 78%);
}
.hero__canvas.is-ready { opacity: 1; }

.hero__title { font-size: var(--fs-display); margin-bottom: .5em; max-width: 21ch; }
.hero--inner .hero__title { font-size: var(--fs-h1); max-width: 24ch; }
.hero__text > .lead { max-width: 56ch; }

/* Gradient run on the third clause of the headline */
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  list-style: none; margin: 28px 0 0; padding: 0;
  font-size: .92rem; color: var(--muted);
}
.trust-strip li { display: flex; align-items: center; gap: 9px; margin: 0; }
.trust-strip svg { width: 16px; height: 16px; color: var(--mint); flex: none; }

/* Connect → Elevate → Deliver */
.slogan {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin: 26px 0 0;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
}
.slogan span { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); }
.slogan span + span::before { content: "\2192"; color: var(--brand-lite); letter-spacing: 0; }

.crumbs { font-size: .86rem; color: var(--muted); margin: 0 0 16px; font-family: var(--font-mono); letter-spacing: .04em; }
/* Padding grows the tap target to 26px; the negative margin keeps the line box
   the same height, so nothing shifts. */
.crumbs a { color: var(--muted); display: inline-block; padding: 5px 0; margin: -5px 0; }
.crumbs a:hover { color: var(--brand-lite); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* --------------------------------------------------------------------------
   8. Section heads
   -------------------------------------------------------------------------- */
.section-head { max-width: var(--maxw-text); margin-bottom: clamp(34px, 4.5vw, 60px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head > p { color: var(--muted); font-size: var(--fs-lead); margin-bottom: 0; }
.section-head--split { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: end; max-width: none; }
@media (max-width: 760px) { .section-head--split { grid-template-columns: 1fr; align-items: start; } }

/* --------------------------------------------------------------------------
   9. Preloader, scroll progress, cursor, to-top
   -------------------------------------------------------------------------- */
.preload { display: none; }
.js .preload {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .5s var(--e-soft), visibility .5s;
}
.js-stalled .preload { display: none; }
.preload.is-done { opacity: 0; visibility: hidden; }
.preload__mark { width: 74px; height: auto; animation: preMark 1.5s var(--e-soft) infinite; }
@keyframes preMark { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.88); opacity: .55; } }
.preload__bar { width: 132px; height: 2px; margin-top: 22px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.preload__bar i { display: block; height: 100%; width: 40%; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--mint)); animation: preBar 1.1s var(--e-soft) infinite; }
@keyframes preBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--brand), var(--brand-lite) 55%, var(--mint));
  pointer-events: none;
}

/* Soft cursor halo, desktop pointers only — enabled by JS adding .has-cursor */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 250;
  width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border-radius: 50%; border: 1px solid var(--cursor-ring);
  background: radial-gradient(circle, var(--cursor-fill), transparent 70%);
  pointer-events: none; opacity: 0;
  transform: translate3d(var(--cx, 50vw), var(--cy, 50vh), 0) scale(var(--cs, 1));
  transition: opacity var(--t-base) var(--e-soft), scale var(--t-base) var(--e-out);
}
.has-cursor .cursor { opacity: 1; }
.has-cursor.is-pointing .cursor { --cs: 2.1; background: radial-gradient(circle, var(--cursor-fill), transparent 72%); }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--surface-float); color: var(--ink);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--t-base) var(--e-soft), transform var(--t-base) var(--e-out), visibility var(--t-base), border-color var(--t-fast);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--brand-lite); }
.to-top svg { width: 19px; height: 19px; }

/* --------------------------------------------------------------------------
   10. Reveal & motion utilities
   JS adds .is-in once the element scrolls into view; --i staggers siblings.
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transition: opacity .8s var(--e-out), transform .8s var(--e-out), clip-path .9s var(--e-out);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.js [data-reveal="up"]    { transform: translateY(26px); }
.js [data-reveal="down"]  { transform: translateY(-22px); }
.js [data-reveal="left"]  { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="clip"]  { clip-path: inset(0 0 100% 0); transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.js [data-reveal].is-in { will-change: auto; }

/* Escape hatch: scripting is on but main.js never arrived. Render everything. */
.js-stalled [data-reveal], .js-stalled .w > span {
  opacity: 1 !important; transform: none !important; clip-path: none !important;
}

/* Word-by-word headline reveal. JS wraps each word in .w > span. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.w > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .95s var(--e-out);
  transition-delay: calc(var(--w, 0) * 55ms);
}
.split-in .w > span { transform: translateY(0); }

/* --------------------------------------------------------------------------
   11. Cards
   .card is glass. --mx/--my come from JS on pointermove and drive a spotlight;
   --rx/--ry drive the optional 3D tilt on .card--tilt.
   -------------------------------------------------------------------------- */
.card {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative;
  padding: 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color var(--t-base) var(--e-soft), transform .5s var(--e-out), box-shadow var(--t-base) var(--e-soft);
}
/* Cursor-tracking spotlight */
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx) var(--my), var(--spotlight), transparent 68%);
  opacity: 0; transition: opacity var(--t-base) var(--e-soft);
}
.card:hover::after { opacity: 1; }
.card--hover:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--sh-2); }
.card--tilt { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; }
.card--tilt.card--hover:hover { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-5px); }
.card--flat { background: var(--panel); backdrop-filter: none; -webkit-backdrop-filter: none; }
.card h3 { margin-bottom: .5em; }
.card > p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.card__body { padding: 24px 26px 28px; }
.card__body > p { color: var(--muted); font-size: .96rem; }
.card__body > p:last-of-type { margin-bottom: 0; }
.card--media { padding: 0; }
.card--media .card__media {
  position: relative;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.card--media .card__media > svg { width: 100%; height: auto; display: block; }
.card__foot { margin-top: 18px; }

.icon-box {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center; margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(47, 107, 255, .16); border: 1px solid rgba(47, 107, 255, .3);
  color: var(--brand-lite);
}
.icon-box svg { width: 22px; height: 22px; }
.icon-box--mint  { background: rgba(0, 230, 176, .13); border-color: rgba(0, 230, 176, .3); color: var(--mint); }
.icon-box--violet{ background: rgba(157, 107, 255, .14); border-color: rgba(157, 107, 255, .3); color: var(--violet); }
.icon-box--amber { background: rgba(255, 181, 69, .13); border-color: rgba(255, 181, 69, .3); color: var(--amber); }

.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding-left: 30px; margin-bottom: .6em; color: var(--body); font-size: .97rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(47, 107, 255, .18) var(--ico-tick) center / 11px no-repeat;
}
.tick-list--mint li::before {
  background-color: rgba(0, 230, 176, .16);
  background-image: var(--ico-tick-mint);
}
.tick-list--two { columns: 2; column-gap: 36px; }
@media (max-width: 720px) { .tick-list--two { columns: 1; } }

/* --------------------------------------------------------------------------
   12. Inline SVG art
   Illustrations are inlined (see tools/generate-art.py) so their motion can
   start when the reader reaches them rather than when the page loads. Nothing
   animates until .art picks up .is-visible.
   -------------------------------------------------------------------------- */
.art { width: 100%; height: auto; display: block; }
.art [class^="a-"] { transition: none; }

/* Resting state — this is also the final state, so no-JS shows finished art */
.art .a-rise, .art .a-fade, .art .a-pop, .art .a-res, .art .a-row, .art .a-climb { opacity: 1; }

.art.is-visible .a-fade  { animation: artFade .7s var(--e-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
.art.is-visible .a-rise  { animation: artRise .75s var(--e-out) both; animation-delay: calc(var(--i, 0) * 110ms); }
.art.is-visible .a-row   { animation: artRow .6s var(--e-out) both; animation-delay: calc(.25s + var(--i, 0) * 120ms); }
.art.is-visible .a-res   { animation: artFade .6s var(--e-out) both; animation-delay: calc(var(--i, 0) * 80ms); }
.art.is-visible .a-pop   { animation: artPop .6s var(--e-back) both; animation-delay: calc(.35s + var(--i, 0) * 80ms); }
.art.is-visible .a-bar   { animation: artBar .85s var(--e-out) both; animation-delay: calc(.3s + var(--i, 0) * 80ms); }
.art.is-visible .a-growx { animation: artGrowX .9s var(--e-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
.art.is-visible .a-draw  { animation: artDraw 1.5s var(--e-out) both; animation-delay: calc(.15s + var(--i, 0) * 110ms); }
.art.is-visible .a-climb { animation: artClimb 1s var(--e-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
.art.is-visible .a-type  { animation: artGrowX 1.1s steps(14) .3s both; }

/* Loops — these keep going while the art stays on screen */
.art.is-visible .a-flow  { animation: artFlow 2.8s linear infinite; animation-delay: calc(var(--i, 0) * .6s); }
.art.is-visible .a-pulse { animation: artPulse 3.2s ease-in-out infinite; }
.art.is-visible .a-blink { animation: artBlink 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.art.is-visible .a-bob   { animation: artBob 6s ease-in-out infinite; }
.art.is-visible .a-spin  { animation: artSpin 46s linear infinite; }
.art.is-visible .a-spin--rev { animation-duration: 64s; animation-direction: reverse; }
.art.is-visible .a-drop  { animation: artDrop 2.6s var(--e-out) infinite; }
.art.is-visible .a-caret { animation: artBlink .9s steps(1) infinite; }

.art .a-bar, .art .a-growx, .art .a-pop, .art .a-pulse, .art .a-bob, .art .a-spin, .art .a-type {
  transform-box: fill-box;
}
.art .a-bar   { transform-origin: bottom; }
.art .a-growx, .art .a-type { transform-origin: left; }
.art .a-pop, .art .a-pulse, .art .a-bob { transform-origin: center; }
.art .a-spin  { transform-origin: center; }

@keyframes artFade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes artRise  { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes artRow   { from { opacity: 0; transform: translateX(-9px); } to { opacity: 1; transform: translateX(0); } }
@keyframes artPop   { from { opacity: 0; transform: scale(.45); } to { opacity: 1; transform: scale(1); } }
@keyframes artBar   { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes artGrowX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes artClimb { from { opacity: 0; transform: translateY(96px); } to { opacity: 1; transform: translateY(0); } }
@keyframes artDraw  { from { stroke-dasharray: var(--len, 300); stroke-dashoffset: var(--len, 300); }
                      to   { stroke-dasharray: var(--len, 300); stroke-dashoffset: 0; } }
@keyframes artFlow  { from { stroke-dasharray: 5 115; stroke-dashoffset: 0; } to { stroke-dasharray: 5 115; stroke-dashoffset: -120; } }
@keyframes artPulse { 0%, 100% { opacity: .22; transform: scale(.9); } 50% { opacity: .7; transform: scale(1.16); } }
@keyframes artBlink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes artBob   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes artSpin  { to { transform: rotate(360deg); } }
@keyframes artDrop  { 0% { opacity: 0; transform: translateY(-9px); } 25%, 70% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(7px); } }

/* The shared gradient/pattern defs the inline art references. The glow stop is
   set here rather than as an attribute so it can follow the theme — a 55% blue
   halo that reads as depth on the dark canvas is a stain on the light one. */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
#agGlow stop:first-child { stop-opacity: var(--art-glow-op); }

/* --------------------------------------------------------------------------
   13. Marquee, stats, steps
   -------------------------------------------------------------------------- */
.marquee {
  position: relative; overflow: hidden;
  padding: 20px 0;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 34s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; flex: none; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  color: var(--muted); white-space: nowrap;
}
.marquee__item svg { width: 18px; height: 18px; color: var(--brand-lite); flex: none; }
.marquee__item b { color: var(--ink); font-weight: 700; }
.marquee__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-lite); opacity: .6; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.stat-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .stat-grid { grid-template-columns: 1fr; } }
.stat {
  position: relative; padding: 28px 24px;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--glass-2), transparent);
  overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; left: 24px; top: 0; width: 42px; height: 2px;
  background: linear-gradient(90deg, var(--brand-lite), transparent);
}
.stat__num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.1rem, 3.6vw, 2.9rem); line-height: 1;
  letter-spacing: -.03em; color: var(--ink); margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat__num .u { color: var(--brand-lite); }
.stat__label { font-size: .93rem; color: var(--muted); }

.step { position: relative; padding-left: 62px; }
.step__num {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(47, 107, 255, .14); border: 1px solid rgba(47, 107, 255, .32);
  font-family: var(--font-mono); font-size: .84rem; font-weight: 600; color: var(--brand-lite);
}
.step h3 { margin-bottom: .45em; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Vertical timeline — the rail draws itself as you scroll past it */
.timeline { position: relative; padding-left: 42px; }
.timeline::before {
  content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px;
  background: var(--line-2); border-radius: 2px;
}
.timeline__fill {
  position: absolute; left: 13px; top: 6px; width: 2px; border-radius: 2px;
  height: calc(var(--tp, 0) * 100%); max-height: calc(100% - 12px);
  background: linear-gradient(180deg, var(--brand-lite), var(--mint));
}
.timeline__item { position: relative; padding-bottom: 38px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -35px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-2);
  transition: border-color var(--t-base) var(--e-soft), box-shadow var(--t-base) var(--e-soft);
}
.timeline__item.is-in::before { border-color: var(--brand-lite); box-shadow: 0 0 0 5px rgba(47, 107, 255, .16); }
.timeline__year { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; color: var(--brand-lite); margin-bottom: 8px; }
.timeline__item h3 { margin-bottom: .4em; }
.timeline__item p { color: var(--muted); font-size: .96rem; margin: 0; }

/* --------------------------------------------------------------------------
   14. Phone mock & scroll-scrub sequence
   -------------------------------------------------------------------------- */
.mock-stage { position: relative; display: grid; place-items: center; }
.mock-stage::before {
  content: ""; position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--mock-glow), transparent 68%);
  filter: blur(30px);
}
.phone {
  position: relative; z-index: 1;
  width: 278px; max-width: 74vw; aspect-ratio: 9 / 18.6;
  border-radius: 40px; padding: 9px;
  background: linear-gradient(165deg, #263248, #0b1020 55%);
  border: 1px solid var(--line-2);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .62), 0 0 0 1px rgba(255, 255, 255, .04) inset;
}
.phone__notch {
  position: absolute; top: 17px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 74px; height: 6px; border-radius: 4px; background: #060a14;
}
.phone__screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: #fff; }
.phone__screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Pinned phone whose screenshot scrolls in lockstep with the page */
.scrollytell { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.scrollytell__stage {
  position: sticky; top: calc(var(--header-h) + 24px);
  height: calc(100vh - var(--header-h) - 56px);
  display: grid; place-items: center;
}
.scrollytell__stage .phone { width: 262px; max-width: 62vw; height: min(78vh, 560px); aspect-ratio: auto; }
.phone__screen > .scrollytell__strip {
  position: absolute; top: 0; left: 0;
  width: 100%; height: auto;          /* must win over .phone__screen > img */
  object-fit: fill; will-change: transform;
}
.scrollytell__steps { display: flex; flex-direction: column; }
.scrollytell__step {
  min-height: 74vh; display: flex; flex-direction: column; justify-content: center;
  opacity: .32; transition: opacity .5s var(--e-soft), transform .5s var(--e-out);
  transform: translateY(8px);
}
.scrollytell__step.is-active { opacity: 1; transform: translateY(0); }
.scrollytell__step h2 { font-size: clamp(1.3rem, 2.3vw, 1.75rem); margin-bottom: .5em; }
.scrollytell__step p { color: var(--muted); margin: 0; max-width: 46ch; }
.scrollytell__step .eyebrow { margin-bottom: 12px; }

@media (max-width: 920px) {
  .scrollytell { grid-template-columns: 1fr; gap: 0; }
  /* Pinned at the very top, not below the header: the header auto-hides on the
     way down, and anything less would leave a strip of captions showing through
     above the phone. The header (z-index 100) still draws over this padding. */
  .scrollytell__stage {
    order: -1; z-index: 5;
    top: 0; height: auto;
    padding: calc(var(--header-h) + 10px) 0 22px;
    margin-bottom: 4px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 84%, transparent 100%);
  }
  .scrollytell__stage .phone { width: 168px; height: 40vh; }
  .scrollytell__step { min-height: 52vh; }
}

.video-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--sh-2); }
.video-wrap video { width: 100%; display: block; max-height: 72vh; }

/* --------------------------------------------------------------------------
   15. Feature bands, compare, pricing, service blocks
   -------------------------------------------------------------------------- */
.band {
  position: relative; overflow: hidden;
  padding: clamp(34px, 4.5vw, 62px);
  border-radius: var(--r-xl);
  background: var(--band-bg);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-2);
}
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--mesh-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--mesh-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 100% at 100% 100%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(80% 100% at 100% 100%, #000, transparent 70%);
}
.band > * { position: relative; z-index: 1; }

.cta-band {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.35fr auto; gap: clamp(26px, 4vw, 54px); align-items: center;
  padding: clamp(32px, 4.5vw, 58px);
  border-radius: var(--r-xl);
  background: var(--cta-bg);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-2);
}
.cta-band h2 { margin-bottom: .35em; }
.cta-band p { color: var(--body); margin: 0; max-width: 54ch; }
@media (max-width: 880px) { .cta-band { grid-template-columns: 1fr; } }

.compare { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.compare__col { border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); background: var(--glass); }
.compare__col--bad  { background: var(--tint-danger); border-color: var(--tint-danger-line); }
.compare__col--good { background: rgba(0, 230, 176, .06); border-color: rgba(0, 230, 176, .26); }
.compare__col h3 { display: flex; align-items: center; gap: 10px; }
.compare__col h3 svg { width: 20px; height: 20px; flex: none; }
.compare__col--bad h3 svg { color: var(--danger); }
.compare__col--good h3 svg { color: var(--mint); }
.compare__col ul { list-style: none; margin: 0; padding: 0; }
.compare__col li { position: relative; padding-left: 27px; font-size: .96rem; color: var(--body); margin-bottom: .6em; }
.compare__col--bad li::before  { content: "\00d7"; position: absolute; left: 6px; top: -1px; color: var(--danger); font-weight: 700; font-size: 1.1em; }
.compare__col--good li::before {
  content: ""; position: absolute; left: 2px; top: .42em; width: 16px; height: 16px;
  background: var(--ico-tick-mint) center / 12px no-repeat;
}

.price-card { display: flex; flex-direction: column; height: 100%; }
.price-card--featured { border-color: rgba(47, 107, 255, .5); box-shadow: var(--sh-brand); }
.price-card--featured::before {
  content: "Most popular"; position: absolute; top: 16px; right: 16px; z-index: 2;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--brand); color: #fff;
  font-family: var(--font-head); font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.price-card__price {
  font-family: var(--font-head); font-weight: 800; color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.03em;
  margin: 6px 0 4px;
}
.price-card__price small { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.price-card .tick-list { margin: 20px 0 26px; }
.price-card .btn { margin-top: auto; }

/* Long-form service sections with a sticky aside */
.service-block {
  display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(26px, 4vw, 60px);
  padding: clamp(40px, 5vw, 68px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 28px);
}
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block__aside { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.service-block__aside h2 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); }
.service-block__aside > p { color: var(--muted); font-size: .99rem; }
@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block__aside { position: static; }
}
.mini-head {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
  margin: 0 0 12px;
}

/* Sticky in-page jump nav */
.jump-nav {
  position: sticky; top: var(--header-h); z-index: 40;
  margin-bottom: 8px; padding: 12px 0;
  background: var(--surface-bar);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: top .45s var(--e-out);
}
.site-header.is-up ~ main .jump-nav { top: 0; }
.jump-nav ul {
  display: flex; gap: 8px; list-style: none; margin: 0; padding: 0 0 2px;
  overflow-x: auto; scrollbar-width: none;
}
.jump-nav ul::-webkit-scrollbar { display: none; }
.jump-nav li { margin: 0; flex: none; }
.jump-nav a {
  display: block; padding: 8px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--glass);
  font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--muted);
  white-space: nowrap;
}
.jump-nav a:hover { color: var(--ink); border-color: var(--line-2); }
.jump-nav a.is-current { background: rgba(47, 107, 255, .18); border-color: rgba(47, 107, 255, .42); color: var(--brand-lite); }

/* --------------------------------------------------------------------------
   16. Accordion, filters, work cards
   -------------------------------------------------------------------------- */
.accordion {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--glass); overflow: hidden;
  transition: border-color var(--t-base) var(--e-soft);
}
.accordion + .accordion { margin-top: 12px; }
.accordion:has(.accordion__btn[aria-expanded="true"]) { border-color: var(--line-2); background: var(--glass-2); }
.accordion__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; color: var(--ink);
  transition: color var(--t-fast) var(--e-soft);
}
.accordion__btn:hover { color: var(--brand-lite); }
/* A row can carry a status badge between the label and the chevron; the label
   takes the slack so badge and chevron stay together on the right. */
.accordion__btn > span:first-child { flex: 1; }
.accordion__btn .badge { flex: none; }
.accordion__btn::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t-base) var(--e-out);
}
.accordion__btn[aria-expanded="true"]::after { transform: rotate(225deg) translateY(-2px); }
.accordion__panel { padding: 0 22px 22px; color: var(--muted); font-size: .98rem; }
.accordion__panel[hidden] { display: none; }
.accordion__panel .tick-list li { font-size: .95rem; }
.accordion__meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-family: var(--font-mono); font-size: .78rem; color: var(--dim);
  margin: 0 22px 4px;
}
.accordion__meta span { display: inline-flex; align-items: center; gap: 7px; }
.accordion__meta svg { width: 14px; height: 14px; color: var(--brand-lite); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  padding: 9px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--glass);
  font-family: var(--font-head); font-size: .88rem; font-weight: 600; color: var(--muted);
  cursor: pointer;
  transition: color var(--t-fast) var(--e-soft), border-color var(--t-fast) var(--e-soft), background var(--t-fast) var(--e-soft);
}
.filter-btn:hover { color: var(--ink); border-color: var(--line-2); }
.filter-btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.work-card { display: flex; flex-direction: column; padding: 0; }
.work-card__thumb { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.work-card__thumb img { width: 100%; display: block; transition: transform .7s var(--e-out); }
.work-card:hover .work-card__thumb img { transform: scale(1.045); }
.work-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.work-card dl { margin: 18px 0 0; font-size: .94rem; }
.work-card dt {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim); margin-top: 14px;
}
.work-card dd { margin: 4px 0 0; color: var(--body); }
.is-hidden { display: none !important; }

/* Filter transition: items fade/scale back in when a filter changes */
[data-cat] { transition: opacity .35s var(--e-soft), transform .35s var(--e-out); }
[data-cat].is-settling { opacity: 0; transform: scale(.97); }

/* --------------------------------------------------------------------------
   17. Article, contact tiles, forms, footer
   -------------------------------------------------------------------------- */
.post-card__date { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--dim); margin-bottom: 10px; }
.post-card--soon { border-style: dashed; }

.article { max-width: var(--maxw-text); margin: 0 auto; }
.article h2 { margin-top: 1.9em; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.article h3 { margin-top: 1.6em; }
.article p, .article li { font-size: 1.06rem; color: var(--body); }
.article__meta { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; color: var(--dim); margin-bottom: 30px; }
.article__cover { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); margin-bottom: 34px; }
.article blockquote {
  margin: 1.8em 0; padding: 20px 26px;
  border-left: 3px solid var(--brand-lite); border-radius: 0 var(--r) var(--r) 0;
  background: var(--glass); color: var(--ink);
}
.article blockquote p { margin: 0; font-size: 1.08rem; }

.contact-tile {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--glass);
  transition: transform var(--t-base) var(--e-out), border-color var(--t-base) var(--e-soft), box-shadow var(--t-base) var(--e-soft);
}
.contact-tile:hover { transform: translateY(-4px); border-color: var(--brand-lite); box-shadow: var(--sh-2); text-decoration: none; }
.contact-tile__label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.contact-tile__value { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); word-break: break-word; }
.contact-tile__note { font-size: .88rem; color: var(--muted); }
.contact-tile svg { width: 20px; height: 20px; color: var(--brand-lite); margin-bottom: 6px; }

.form-card { padding: clamp(24px, 3.2vw, 38px); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--glass); }
.field { margin-bottom: 19px; }
.field label { display: block; font-family: var(--font-head); font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--field-bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color var(--t-fast) var(--e-soft), box-shadow var(--t-fast) var(--e-soft), background var(--t-fast);
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field select { appearance: none; cursor: pointer;
  background-image: var(--ico-select);
  background-repeat: no-repeat; background-position: right 14px center; background-size: 17px; padding-right: 42px;
}
.field select option { background: var(--panel); color: var(--ink); }
.field textarea { min-height: 136px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-lite); background: var(--field-bg-focus);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .2);
}
.field-row { display: grid; gap: 19px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-note { font-size: .87rem; color: var(--muted); margin-top: 16px; }

.notice {
  padding: 16px 20px; border-radius: var(--r);
  border: 1px solid rgba(255, 181, 69, .3); background: rgba(255, 181, 69, .08);
  color: var(--body); font-size: .95rem;
}
.notice--brand { border-color: rgba(47, 107, 255, .32); background: rgba(47, 107, 255, .09); }
.notice--mint { border-color: rgba(0, 230, 176, .3); background: rgba(0, 230, 176, .07); }

.site-footer {
  position: relative;
  margin-top: clamp(60px, 7vw, 100px);
  padding: clamp(48px, 5.5vw, 78px) 0 28px;
  border-top: 1px solid var(--line);
  background: var(--footer-bg);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1.6fr 1fr 1fr 1.25fr; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: .93rem; color: var(--muted); }
.footer-slogan {
  font-family: var(--font-mono); font-size: .76rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
  margin: 0 0 14px;
}
.footer-slogan span { color: var(--brand-lite); }
.footer-col__head { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-family: var(--font-mono); font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; font-size: .94rem; }
.footer-col li { margin-bottom: 4px; color: var(--muted); }
/* Padding rather than margin, so the link itself is the 26px-tall target */
.footer-col ul a { display: inline-block; padding: 4px 0; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 11px; border: 1px solid var(--line); background: var(--glass); color: var(--muted);
  transition: color var(--t-fast) var(--e-soft), border-color var(--t-fast) var(--e-soft), background var(--t-fast) var(--e-soft), transform var(--t-fast) var(--e-out);
}
.social-row a:hover { color: #fff; background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: .87rem; color: var(--dim);
}
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   18. Hero console
   The hero's proof panel. Unlike the SVG illustrations this one is real DOM,
   because the numbers in it — enquiries up, cost per enquiry down, 120+
   subagents — are claims worth having as selectable, indexable text.
   Its animations run on load (it is above the fold) and loop quietly.
   -------------------------------------------------------------------------- */
.console {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-2);
  background: linear-gradient(165deg, var(--glass-2), var(--glass));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.console__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-bar-2);
}
.console__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; }
.console__dot:first-child { background: var(--amber); }
.console__path {
  margin-left: 8px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--dim);
}
.console__live { margin-left: auto; }
.console__body { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.console__mod { padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface-sunken); }
.console__label {
  display: flex; align-items: center; gap: 9px; margin: 0 0 13px;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.console__label svg { width: 15px; height: 15px; color: var(--brand-lite); flex: none; }
.console__label--mint svg { color: var(--mint); }
.console__note { margin: 12px 0 0; font-size: .78rem; color: var(--dim); line-height: 1.5; }

/* Metric rows */
.metric { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: .86rem; color: var(--muted); }
.metric + .metric { margin-top: 7px; }
.metric b { font-family: var(--font-head); font-size: .84rem; display: inline-flex; align-items: center; gap: 5px; }
.metric .up { color: var(--mint); }
.metric .down { color: var(--brand-lite); }

/* Sparkline */
.spark { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 14px; }
.spark i {
  flex: 1; border-radius: 3px 3px 1px 1px;
  height: var(--h); opacity: .55;
  background: linear-gradient(180deg, var(--brand-lite), var(--brand));
  transform-origin: bottom; transform: scaleY(0);
  animation: sparkGrow .7s var(--e-out) both, sparkPulse 4.5s ease-in-out infinite;
  animation-delay: calc(.5s + var(--i) * .07s), calc(1.4s + var(--i) * .07s);
}
.spark i:last-child { opacity: 1; }
@keyframes sparkGrow { to { transform: scaleY(1); } }
@keyframes sparkPulse { 0%, 100% { opacity: .55; } 46% { opacity: .95; } }
.spark i:last-child { animation-name: sparkGrow, sparkPulseLast; }
@keyframes sparkPulseLast { 0%, 100% { opacity: 1; } 46% { opacity: .7; } }

/* Build pipeline */
.pipe { position: relative; display: flex; flex-direction: column; gap: 17px; padding-top: 2px; }
.pipe__rail, .pipe__fill { position: absolute; left: 6px; top: 7px; bottom: 7px; width: 2px; border-radius: 2px; }
.pipe__rail { background: var(--line-2); }
.pipe__fill {
  background: linear-gradient(180deg, var(--brand-lite), var(--mint));
  transform-origin: top; transform: scaleY(0);
  animation: pipeFill 2.6s var(--e-out) .6s both;
}
@keyframes pipeFill { to { transform: scaleY(1); } }
.pipe__step { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; }
.pipe__dot {
  width: 14px; height: 14px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--line-2); color: #fff;
  animation: pipeDot .4s var(--e-back) both;
  animation-delay: calc(.7s + var(--i) * .58s);
}
@keyframes pipeDot { from { border-color: var(--line-2); } to { border-color: var(--brand-lite); background: var(--brand); } }
.pipe__step:last-child .pipe__dot { animation-name: pipeDotDone; }
@keyframes pipeDotDone { from { border-color: var(--line-2); } to { border-color: var(--mint); background: var(--mint); } }
.pipe__dot svg { width: 8px; height: 8px; opacity: 0; animation: sparkGrowFade .3s ease 3s both; }
@keyframes sparkGrowFade { to { opacity: 1; } }
.pipe__label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--muted); }
.pipe__step:last-child .pipe__label { color: var(--ink); font-weight: 700; }

/* Agent chat with a typed-in look. --len sets how wide the reveal runs. */
.chat { display: flex; flex-direction: column; gap: 9px; }
.chat p {
  margin: 0; padding: 9px 13px; max-width: 92%;
  border-radius: 13px; font-size: .82rem; line-height: 1.5;
}
.chat .in { background: var(--glass-2); color: var(--body); border-bottom-left-radius: 5px; align-self: flex-start; }
.chat .out { background: rgba(47, 107, 255, .2); border: 1px solid rgba(47, 107, 255, .34); color: var(--ink); border-bottom-right-radius: 5px; align-self: flex-end; }
.chat__type {
  display: block; overflow: hidden; white-space: nowrap;
  width: 0; animation: chatType 1.5s steps(38) both;
}
.chat .in .chat__type { animation-delay: 1s; }
.chat .out .chat__type { animation-delay: 2.7s; }
@keyframes chatType { to { width: 100%; } }
.chat .out { opacity: 0; animation: sparkGrowFade .01s linear 2.6s both; }

/* Floating badge that overlaps the console */
.float-badge {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: var(--r-pill);
  background: var(--surface-float); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-1);
  font-family: var(--font-head); font-size: .82rem; font-weight: 700; color: var(--ink);
  animation: floatBadge 6s ease-in-out infinite;
}
.float-badge svg { width: 16px; height: 16px; flex: none; }
.float-badge--mint { color: var(--mint); border-color: rgba(0, 230, 176, .32); }
.float-badge--tl { top: -14px; left: -18px; animation-delay: -2s; }
.float-badge--br { bottom: -16px; right: -14px; }
@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 920px) {
  .float-badge--tl { left: 8px; }
  .float-badge--br { right: 8px; }
}
@media (max-width: 560px) {
  .float-badge { font-size: .75rem; padding: 8px 12px; }
  .float-badge--tl { top: -12px; left: 4px; }
  .float-badge--br { bottom: -12px; right: 4px; }
}

.console-wrap { position: relative; }

/* Orbit motif tucked behind a section's media column */
.orbit-behind {
  position: absolute; inset: auto; z-index: 0;
  width: min(420px, 90%); opacity: .5; pointer-events: none;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}

/* ---- AI data-flow diagram: sources → hub → subagents ----------------------
   Pure CSS/HTML grid, no SVG wiring — each column's cards are natural-height,
   so nothing needs pixel-matched connector paths that could break across
   breakpoints or content-length changes.

   The container aligns everything to `start`, but the hub and the two flow
   arrows override that with `align-self: center` so they center against the
   grid row's own height instead of the top edge — and that row height is
   set by whichever column is tallest, which is reliably .ai-diagram__subagents
   (5 cards with longer copy vs. sources' 4 shorter ones), so the hub reads
   as centered against the diagram's real visual weight rather than floating
   near the top with a dead gap below it. .ai-diagram__sources stays at the
   container's default `start` — it's the short column, so top-aligning it
   is what makes it look intentional rather than adrift in empty space.

   The hub column is a fixed width, NOT `auto`: as `auto` it sized to its own
   max-content and took 481px of a 1120px row, starving the card columns down
   to 166px (sources) and 112px (subagents) — which is what made every title
   wrap to 2 lines and every description to 5-6. Pinning it keeps the `fr`
   columns predictable, and the 5-column layout needs 1200px to breathe (at
   1100px the cards measure 172px and descriptions wrap to 6 lines in both
   Chrome and Edge), so that — not 900px — is where it collapses to a single
   column. Stacked-and-readable beats side-by-side-and-ragged. */
.ai-diagram {
  display: grid; grid-template-columns: 1fr 40px 272px 40px 1.6fr;
  gap: 20px; align-items: start;
  max-width: 1200px; margin: 0 auto;
}
.ai-diagram__hub, .ai-diagram__flow { align-self: center; }
.ai-diagram__flow { display: flex; align-items: center; justify-self: center; }
.ai-diagram__flow-line {
  width: 20px; height: 2px; border-radius: 2px; flex: none;
  background: repeating-linear-gradient(90deg, var(--brand-lite) 0 6px, transparent 6px 12px);
  animation: wireFlowIn 700ms linear infinite;
}
.ai-diagram__flow svg { width: 15px; height: 15px; flex: none; color: var(--brand-lite); margin-left: 2px; }
.ai-diagram__flow--out .ai-diagram__flow-line {
  background: repeating-linear-gradient(90deg, var(--mint) 0 6px, transparent 6px 12px);
  animation-name: wireFlowOut;
}
.ai-diagram__flow--out svg { color: var(--mint); }
@keyframes wireFlowIn  { from { background-position: 0 0; } to { background-position: 12px 0; } }
@keyframes wireFlowOut { from { background-position: 0 0; } to { background-position: -12px 0; } }
.ai-diagram__sources, .ai-diagram__subagents { display: flex; flex-direction: column; gap: 12px; }
.ai-diagram__card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass);
}
.ai-diagram__card h4 { font-family: var(--font-head); font-size: .9rem; font-weight: 700; color: var(--ink); margin: 0 0 3px; }
.ai-diagram__card p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.4; }
.ai-diagram__icon {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c);
}
.ai-diagram__icon svg { width: 19px; height: 19px; }
.ai-diagram__caption { text-align: center; font-size: .76rem; color: var(--dim); margin: 4px 0 0; }

.ai-diagram__hub {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 24px 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass);
  box-shadow: var(--sh-1);
}
.ai-diagram__hub-icon {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--brand-2), var(--brand-deep)); color: #fff;
  box-shadow: 0 12px 32px rgba(47,107,255,.4);
}
.ai-diagram__hub-icon svg { width: 25px; height: 25px; }
.ai-diagram__hub h3 { font-family: var(--font-head); font-size: 1.05rem; margin: 0; }
.ai-diagram__hub p { font-size: .81rem; color: var(--muted); margin: 0; line-height: 1.45; }
.ai-diagram__checks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ai-diagram__checks li { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--body); }
.ai-diagram__checks svg { width: 14px; height: 14px; color: var(--mint); flex: none; }

.ai-diagram__delegates { font-size: .81rem; color: var(--muted); margin: 0 0 2px; }
.ai-diagram__delegates span { color: var(--brand-lite); font-weight: 600; }
.ai-diagram__sub-row { display: flex; align-items: center; gap: 12px; }
.ai-diagram__card--sub { flex: 1 1 auto; min-width: 0; }
.ai-diagram__connector { flex: none; width: 20px; height: 0; border-top: 2px dashed var(--line-2); }
.ai-diagram__outcome {
  flex: none; display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line));
  background: color-mix(in srgb, var(--c) 10%, transparent);
  font-size: .72rem; font-weight: 600; color: var(--c);
  max-width: 168px;
}
.ai-diagram__outcome svg { width: 12px; height: 12px; flex: none; }

.ai-diagram__banner {
  max-width: 640px; margin: 40px auto 0; padding: 18px 26px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--glass);
}
.ai-diagram__banner-lead {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 4px;
}
.ai-diagram__banner-lead svg { width: 16px; height: 16px; color: var(--brand-lite); flex: none; }
.ai-diagram__banner p:last-child { font-size: .82rem; color: var(--muted); margin: 0; }

/* Org chart — about page team: one founder, an AI subagent team below. */
.org-chart { display: flex; flex-direction: column; align-items: center; text-align: center; }
.org-chart__lead {
  max-width: 340px; width: 100%; padding: 28px 26px;
  border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line);
}
.org-chart__lead h3 { margin: 0 0 2px; }
.org-chart__lead .mini-head { color: var(--brand-lite); margin: 0 0 10px; }
.org-chart__lead p:last-child { color: var(--muted); font-size: .94rem; margin: 0; }

.org-chart__arrow {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 0 14px; color: var(--brand-lite);
}
.org-chart__arrow svg { width: 22px; height: 22px; animation: orgFlow 1.6s ease-in-out infinite; }
.org-chart__arrow span {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dim);
}
@keyframes orgFlow {
  0%, 100% { transform: translateY(-3px); opacity: .55; }
  50%      { transform: translateY(4px); opacity: 1; }
}

.org-chart__team-head { margin: 0 0 26px; }

.org-chart__team {
  position: relative; width: 100%;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 16px;
  padding-top: 22px;
}
.org-chart__team::before {
  content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: var(--line-2);
}
.org-chart__member {
  position: relative; flex: 1 1 150px; max-width: 190px;
  padding: 22px 16px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line);
}
.org-chart__member::before {
  content: ""; position: absolute; top: -22px; left: 50%; width: 1px; height: 22px; background: var(--line-2);
}
.org-chart__member .icon-box { margin: 0 auto 14px; }
.org-chart__member h4 { font-family: var(--font-head); font-size: .98rem; margin: 0 0 6px; }
.org-chart__member p { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.45; }

@media (max-width: 700px) {
  .org-chart__team::before, .org-chart__member::before { display: none; }
}

@media (max-width: 1199px) {
  .ai-diagram { grid-template-columns: 1fr; gap: 8px; }
  .ai-diagram__sources, .ai-diagram__hub, .ai-diagram__subagents {
    max-width: 480px; margin-left: auto; margin-right: auto; width: 100%;
  }
  /* Rotate the connector to point down for the stacked layout; the reserved
     box swaps to a narrow-tall footprint so the rotated visual doesn't
     overlap the card above or below it. */
  .ai-diagram__flow { width: 100%; height: 32px; justify-content: center; transform: rotate(90deg); }
  /* Once .ai-diagram__subagents is capped at 480px, the card has to wrap its
     copy onto 5-6 lines to fit alongside the connector + outcome pill. The
     connector is centered on that tall row, so it visually lands next to a
     middle line of the card's paragraph, reading as if it's embedded in the
     sentence. Wrapping the pill below the card (and dropping the now-stray
     connector) avoids that at every width in the single-column range, not
     just the smallest phones. */
  .ai-diagram__sub-row { flex-wrap: wrap; }
  .ai-diagram__connector { display: none; }
  .ai-diagram__outcome { max-width: none; margin-left: 52px; }
}
@media (max-width: 520px) {
  .ai-diagram__banner { padding: 16px 18px; }
}

/* --------------------------------------------------------------------------
   19. Spacing utilities
   Several components reset `margin` for their own layout. These come after
   every component rule so `class="tick-list mt-24"` actually gets its 24px.
   -------------------------------------------------------------------------- */
.mt-0  { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0  { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   20. Reduced motion — last on purpose
   Everything decorative stops; every reveal renders in its final state.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .w > span { transform: none !important; }
  .atmos__aurora, .atmos__grain { animation: none !important; }
  .marquee__track { animation: none !important; }
  .scrollytell__step { opacity: 1 !important; transform: none !important; }
  .hero__canvas { display: none; }
  .cursor { display: none; }
  .preload { display: none; }
  .btn:hover, .card--hover:hover, .contact-tile:hover, .social-row a:hover { transform: none !important; }
  .card--tilt { transform: none !important; }
}
