/* ==========================================================================
   Cientia · Automatización con IA para inmobiliarias
   Design tokens -> base -> components -> sections -> motion -> responsive
   ========================================================================== */

/* Fonts: our own copies in assets/fonts (Geist, Geist Mono and Jost, under the SIL Open Font
   Licence beside them). Visitors' browsers never contact Google to fetch them. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/geist-mono-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/geist-mono-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/geist-mono-symbols2.woff2") format("woff2");
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/geist-mono-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/jost-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand palette */
  --wine: #250D13;      /* base: every background */
  --oxblood: #641917;   /* depth: glows and light pools, never text */
  --mist: #F3F5F4;      /* primary text */
  --camel: #C69E6A;     /* accent: buttons, highlights, data */
  --stone: #C9BFAD;     /* secondary text */
  --wine-rgb: 37 13 19;
  --oxblood-rgb: 100 25 23;
  --mist-rgb: 243 245 244;
  --camel-rgb: 198 158 106;
  --stone-rgb: 201 191 173;

  /* Derived from the palette */
  --ember-rgb: 147 40 32;     /* oxblood lifted so it reads as light on wine (#932820) */
  --glint-rgb: 252 241 226;   /* warm highlight for light beams and edges */
  --shadow-rgb: 14 4 7;       /* shadows tinted wine instead of grey */
  --camel-deep: #BA8E60;      /* camel toward oxblood: gradient ends */
  --bg: var(--wine);
  --bg-deep: #1B090E;
  --well: #210C11;            /* recessed widget backgrounds */
  --surface: #2B1116;         /* wine lifted toward oxblood */
  --surface-2: #321418;
  --surface-3: #3A181D;
  --surface-4: #431F21;       /* raised: tooltips */

  /* Component names from the first build, now pointing at the palette */
  --cream: var(--mist);
  --gold: var(--camel);
  --gold-hi: #DBBF96;         /* light camel */
  --gold-lo: #AE7D55;         /* camel toward oxblood */
  --cream-rgb: var(--mist-rgb);
  --gold-rgb: var(--camel-rgb);
  --ink-on-gold: var(--wine);
  --danger: #F0A194;

  /* Semantic */
  --text: var(--mist);
  --muted: rgb(var(--stone-rgb) / .9);
  --faint: rgb(var(--stone-rgb) / .7);
  --line: rgb(var(--mist-rgb) / .09);
  --line-2: rgb(var(--mist-rgb) / .16);


  /* Type */
  --font-display: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --sh-gap: clamp(24px, 4vw, 64px);
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 160ms;
  --t-base: 280ms;
  --t-slow: 700ms;

  /* Layers */
  --z-nav: 70;
  --z-menu: 60;
  --z-skip: 100;

  interpolate-size: allow-keywords;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  color-scheme: dark;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgb(var(--ember-rgb) / .8); color: var(--mist); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: var(--z-skip);
  padding: 10px 16px; border-radius: 10px;
  background: var(--gold); color: var(--ink-on-gold); font-weight: 600; text-decoration: none;
  transition: top var(--t-base) var(--ease-out);
}
.skip:focus { top: 12px; }

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

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: .62em; text-decoration: none; font-size: 18px; line-height: 1; }
.brand-mark { height: .82em; width: auto; flex: none; }
.brand-word {
  font-family: var(--font-display); font-weight: 400; font-size: 1em;
  letter-spacing: .3em; margin-right: -.3em; color: var(--cream);
}
.brand-mark circle { transform-box: fill-box; transform-origin: center; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow-mark { height: 9px; width: auto; }
.h2 { font-size: clamp(2.05rem, 1.25rem + 3.1vw, 3.5rem); font-weight: 400; letter-spacing: -.028em; max-width: 19ch; }
.lede { font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.text-gold {
  background: linear-gradient(100deg, var(--gold-hi) 0%, var(--gold) 48%, var(--camel-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.accent { font-style: normal; color: var(--gold-hi); }
.mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; }

.section { position: relative; padding-block: clamp(88px, 11vw, 150px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 68px); }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .h2, .section-head--center .lede { margin-inline: auto; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
@property --bx { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }
@property --by { syntax: "<length-percentage>"; inherits: false; initial-value: -80%; }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn {
  --h: 52px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border: 0; border-radius: 999px;
  font-size: 1rem; font-weight: 500; line-height: 1.1; text-decoration: none; white-space: nowrap;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--ease-soft), translate .7s var(--ease-out), box-shadow var(--t-base) var(--ease-soft),
              background-color var(--t-base), color var(--t-base), --bx .4s var(--ease-out), --by .4s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .i { width: 18px; height: 18px; transition: transform var(--t-base) var(--ease-out); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:hover .i-down { transform: translateY(2px); }

/* Gold buttons: a soft highlight that follows the pointer across the surface */
.btn-primary {
  color: var(--ink-on-gold);
  background:
    radial-gradient(110px circle at var(--bx) var(--by), rgb(var(--mist-rgb) / .55), rgb(var(--mist-rgb) / 0) 70%),
    linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--camel-deep));
  box-shadow: 0 0 0 1px rgb(var(--gold-rgb) / .7), 0 10px 34px -8px rgb(var(--ember-rgb) / .85), inset 0 1px 0 rgb(var(--mist-rgb) / .55);
}
.btn-primary::after {
  content: ""; position: absolute; z-index: -1; left: 16%; right: 16%; bottom: -12px; height: 16px;
  background: radial-gradient(closest-side, rgb(var(--ember-rgb) / .95), transparent);
  filter: blur(5px); opacity: .75; transition: opacity var(--t-base);
  pointer-events: none;
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px rgb(var(--gold-rgb) / .9), 0 14px 44px -8px rgb(var(--ember-rgb) / 1), 0 0 30px -6px rgb(var(--gold-rgb) / .5), inset 0 1px 0 rgb(var(--mist-rgb) / .6);
}
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
  color: var(--cream);
  background: rgb(var(--cream-rgb) / .04);
  box-shadow: inset 0 0 0 1px rgb(var(--cream-rgb) / .2), inset 0 1px 0 rgb(var(--mist-rgb) / .06);
}
.btn-ghost:hover { background: rgb(var(--cream-rgb) / .08); box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .6), 0 0 28px -8px rgb(var(--gold-rgb) / .45); }
.btn-sm { --h: 44px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; z-index: var(--z-nav); top: 12px; left: 50%; translate: -50% 0;
  width: min(1160px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 6px 6px 6px 22px; border-radius: 999px;
  background: rgb(var(--wine-rgb) / .55);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.nav.is-scrolled { background: rgb(30 10 15 / .86); border-color: var(--line-2); box-shadow: 0 12px 40px -12px rgb(var(--shadow-rgb) / .7); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; padding: 10px 14px; border-radius: 999px; font-size: .94rem;
  color: var(--muted); text-decoration: none; transition: color var(--t-base), background-color var(--t-base);
}
.nav-links a:hover { color: var(--cream); background: rgb(var(--cream-rgb) / .05); }
.nav-links a.is-active { color: var(--cream); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--gold);
}
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgb(var(--cream-rgb) / .04); align-items: center; justify-content: center;
  touch-action: manipulation;
}
.menu-btn .i { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }

/* Right-hand group in the menu bar: language switch, call button, menu */
.nav-end { display: flex; align-items: center; gap: 12px; }
@media (min-width: 1180px) { .nav .nav-links { position: absolute; left: 50%; translate: -50% 0; } }   /* links sit at the true centre */

/* Language menu: a globe button that opens a short list of languages */
.lmenu { position: relative; }
.lmenu-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 11px 0 10px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgb(var(--cream-rgb) / .03); color: var(--cream);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; cursor: pointer;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: border-color var(--t-base), background-color var(--t-base);
}
.lmenu-btn .i { width: 15px; height: 15px; }
.lmenu-btn .lmenu-chev { width: 12px; height: 12px; color: var(--faint); transition: transform .35s var(--ease-out), color var(--t-base); }
.lmenu-btn:hover { border-color: rgb(var(--gold-rgb) / .35); }
.lmenu-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lmenu-btn[aria-expanded="true"] { border-color: rgb(var(--gold-rgb) / .45); background: rgb(var(--gold-rgb) / .08); }
.lmenu-btn[aria-expanded="true"] .lmenu-chev { transform: rotate(180deg); color: var(--gold); }
.lmenu-list {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 2; width: 210px; padding: 6px;
  border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 24px 48px -18px rgb(var(--shadow-rgb));
  transform-origin: top right; animation: lmenu-in .28s var(--ease-out) both;
}
@keyframes lmenu-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.lmenu-title { margin: 4px 10px 6px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.lmenu-list a {
  display: grid; grid-template-columns: 1fr auto 16px; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px;
  border-radius: 9px; font-size: .9rem; color: var(--muted); text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.lmenu-list a::after { content: ""; }
.lmenu-list a:hover { background: rgb(var(--cream-rgb) / .05); color: var(--cream); }
.lmenu-list a:focus-visible { outline: none; background: rgb(var(--cream-rgb) / .05); color: var(--cream); box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .55); }
.lmenu-list a[aria-current="page"] { color: var(--cream); }
.lmenu-list a[aria-current="page"]::after {   /* gold tick on the language you are reading */
  width: 9px; height: 5px; margin: 0 0 3px 3px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.lmenu-code { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--faint); }
@media (pointer: coarse) { .lmenu-btn { height: 40px; } }

/* English page: the assistant label in the demo chats */
:lang(en) .msg.out::before { content: "Cientia AI"; }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 104px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--bg-deep);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease-soft), visibility 0s linear .3s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .35s var(--ease-soft); }
.menu-open body { overflow: hidden; }
.menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(1.7rem, 7vw, 2.2rem); text-decoration: none;
  opacity: 0; translate: 0 14px;
  transition: opacity .5s var(--ease-out), translate .5s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 50ms + 60ms);
}
.menu nav a .i { color: var(--gold); }
.menu-open .menu nav a { opacity: 1; translate: 0 0; }
.menu-foot { display: grid; gap: 14px; }
.menu-foot p { color: var(--faint); font-size: .9rem; }

/* Phone menu: two large language tiles above the call button */
.menu-lang { display: grid; gap: 8px; opacity: 0; translate: 0 14px; transition: opacity .5s var(--ease-out) .32s, translate .5s var(--ease-out) .32s; }
.menu-open .menu-lang { opacity: 1; translate: 0 0; }
.menu-foot .menu-lang-title { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.menu-lang-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.menu-lang-tiles a {
  position: relative; display: grid; gap: 2px; min-height: 64px; padding: 13px 14px; border-radius: 14px;
  border: 1px solid var(--line-2); text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: border-color var(--t-base), background-color var(--t-base);
}
.menu-lang-tiles b { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; color: var(--cream); }
.menu-lang-tiles a[aria-current="page"] { border-color: rgb(var(--gold-rgb) / .5); background: rgb(var(--gold-rgb) / .08); }
.menu-lang-tiles a[aria-current="page"]::after { content: ""; position: absolute; top: 14px; right: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.menu-lang-tiles a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  padding-top: clamp(128px, 19vh, 188px);
  padding-bottom: clamp(56px, 8vw, 110px);
  text-align: center;
}
/* The hero's stars and light fade out at the bottom (a mask, so the page's ambient light shows through evenly) */
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent);
  mask-image: linear-gradient(to bottom, #000 74%, transparent);
}
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.halo {
  position: absolute; top: -32%; left: 50%; width: min(1200px, 160vw); aspect-ratio: 1.5; translate: -50% 0;
  background: radial-gradient(closest-side, rgb(var(--ember-rgb) / .2), rgb(var(--oxblood-rgb) / .1) 55%, transparent 75%);
}
.beam { position: absolute; left: var(--fx, 16%); top: var(--fy, 62%); width: 0; height: 0; }
.beam i {
  position: absolute; left: 0; bottom: 0; height: 200vh; translate: -50% 0;
  transform-origin: 50% 100%; rotate: var(--beam-rot, -24deg);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgb(0 0 0 / .55) 35%, transparent 85%);
  mask-image: linear-gradient(to top, #000 0%, rgb(0 0 0 / .55) 35%, transparent 85%);
}
.beam .b1 { width: 680px; background: linear-gradient(90deg, transparent, rgb(var(--gold-rgb) / .05) 30%, rgb(var(--cream-rgb) / .07) 50%, rgb(var(--gold-rgb) / .05) 70%, transparent); }
.beam .b2 { width: 170px; background: linear-gradient(90deg, transparent, rgb(var(--gold-rgb) / .14) 35%, rgb(var(--glint-rgb) / .26) 50%, rgb(var(--gold-rgb) / .14) 65%, transparent); }
.beam .b3 { width: 3px; background: linear-gradient(90deg, transparent, rgb(var(--glint-rgb) / .75), transparent); }
.flare {
  position: absolute; left: var(--fx, 16%); top: var(--fy, 62%); width: 360px; height: 360px; translate: -50% -50%;
  background: radial-gradient(closest-side, rgb(var(--glint-rgb) / .95) 0%, rgb(var(--camel-rgb) / .55) 8%, rgb(var(--ember-rgb) / .42) 30%, transparent 70%);
}
.flare::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 760px; height: 2px; translate: -50% -50%;
  background: linear-gradient(90deg, transparent, rgb(var(--glint-rgb) / .55) 40%, rgb(var(--mist-rgb) / .9) 50%, rgb(var(--glint-rgb) / .55) 60%, transparent);
}
.flare::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 2px; height: 140px; translate: -50% -50%;
  background: linear-gradient(transparent, rgb(var(--glint-rgb) / .5), transparent);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgb(var(--cream-rgb) / .03);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.hero-badge svg { height: 9px; width: auto; }
.hero-badge circle, .eyebrow-mark circle { transform-box: fill-box; transform-origin: center; }

.hero h1 {
  margin: 24px auto 0; max-width: 15ch;
  font-size: clamp(2.5rem, 1.35rem + 5.3vw, 5.5rem);
  letter-spacing: -.035em; line-height: 1.02;
}
.hero h1 .line { display: block; }
.w { display: inline-block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; vertical-align: top; }
.w > span { display: inline-block; }
.hero-sub { margin: 26px auto 0; max-width: 610px; color: var(--muted); font-size: clamp(1.04rem, .97rem + .35vw, 1.22rem); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; margin-top: 38px; }
.hero-note { margin-top: 20px; font-size: .84rem; color: var(--faint); display: inline-flex; align-items: center; gap: 8px; }
.hero-note .i { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Dashboard mockup ---------- */
.stage { position: relative; margin-top: clamp(56px, 7vw, 88px); perspective: 1800px; }
.dash {
  position: relative; max-width: 1100px; margin-inline: auto; text-align: left;
  padding: clamp(10px, 1.4vw, 16px); border-radius: 22px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--well) 55%);
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -30px rgb(var(--shadow-rgb) / .95), 0 0 0 1px rgb(var(--shadow-rgb) / .5), inset 0 1px 0 rgb(var(--cream-rgb) / .06);
  transform-origin: 50% 0;
  transform: rotateX(var(--tilt, 0deg)) scale(var(--dscale, 1));
  font-size: 14px; line-height: 1.4;
}
.dash::before {
  content: ""; position: absolute; top: -1px; left: 4%; width: 46%; height: 1px;
  background: linear-gradient(90deg, rgb(var(--glint-rgb) / 0), rgb(var(--glint-rgb) / .95) 18%, rgb(var(--gold-rgb) / .45) 55%, transparent);
}
.dash::after {
  content: ""; position: absolute; top: -1px; left: -1px; width: 1px; height: 38%;
  background: linear-gradient(rgb(var(--glint-rgb) / .8), transparent);
}
.dash-sample {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px;
  border: 1px dashed rgb(var(--cream-rgb) / .22); color: var(--faint);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}

.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 14px; }
.dash-brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); letter-spacing: .26em; font-size: 13px; }
.dash-brand svg { height: 10px; width: auto; }
.dash-tabs { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--bg-deep); border: 1px solid var(--line); }
.dash-tabs button { padding: 7px 15px; border: 0; border-radius: 999px; background: transparent; font-size: 12.5px; color: var(--faint); white-space: nowrap; cursor: pointer; transition: color var(--t-base), background-color var(--t-base), box-shadow var(--t-base); }
.dash-tabs button:hover { color: var(--cream); }
.dash-tabs button[aria-selected="true"] { background: var(--surface-3); color: var(--cream); box-shadow: inset 0 1px 0 rgb(var(--mist-rgb) / .06), 0 0 0 1px var(--line); }
.dash-actions { display: flex; align-items: center; gap: 8px; }
.dash-ico { position: relative; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; color: var(--muted); cursor: pointer; transition: color var(--t-base), border-color var(--t-base), background-color var(--t-base); }
.dash-ico:hover, .dash-ico[aria-expanded="true"] { color: var(--cream); border-color: rgb(var(--cream-rgb) / .32); background: rgb(var(--cream-rgb) / .05); }
.dash-ico .i { width: 15px; height: 15px; }
.dash-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ink-on-gold); background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo)); }

.dash-head { display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: end; padding: 8px 6px 18px; }
.dash-hello { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 2.1vw, 1.85rem); letter-spacing: -.01em; }
.dash-hello em { font-style: normal; color: var(--muted); }
.dash-split { display: flex; gap: 8px; margin-top: 14px; max-width: 470px; }
.dash-split > div { display: grid; gap: 6px; }
.dash-split small { color: var(--faint); font-size: 11.5px; white-space: nowrap; }
.seg { height: 28px; border-radius: 999px; display: flex; align-items: center; padding: 0 12px; font-size: 11.5px; font-weight: 600; }
.seg-gold { background: var(--gold); color: var(--ink-on-gold); }
.seg-cream { background: var(--cream); color: var(--ink-on-gold); }
.seg-hatch { color: var(--cream); background: repeating-linear-gradient(135deg, rgb(var(--cream-rgb) / .14) 0 2px, transparent 2px 6px), var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }

.dash-kpis { display: flex; gap: clamp(16px, 2.6vw, 34px); }
.kpi { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; }
.kpi .delta { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; color: var(--ink-on-gold); background: var(--gold); box-shadow: 0 0 0 3px var(--surface); }
.kpi .delta.cream { background: var(--cream); }
.kpi b { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.9rem, 3.3vw, 2.9rem); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi small { grid-column: 1 / -1; margin-top: 6px; color: var(--faint); font-size: 11.5px; }

.dash-body { display: grid; grid-template-columns: .78fr 1.55fr 1.05fr; gap: 12px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; min-width: 0; }
.panel-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-bottom: 12px; font-size: 13px; }
.panel-title > * { white-space: nowrap; }
.chan { display: grid; gap: 6px; }
.chan li { display: block; }
.chan button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border: 1px solid transparent; border-radius: 10px; background: var(--surface-2); color: var(--cream); font-size: 12.5px; cursor: pointer; transition: border-color var(--t-base), background-color var(--t-base), opacity var(--t-base); }
.chan button:hover { background: #37171B; }
.chan button[aria-pressed="true"] { border-color: rgb(var(--gold-rgb) / .55); background: rgb(var(--gold-rgb) / .08); }
.chan.has-filter button[aria-pressed="false"] { opacity: .45; }
.chan.has-filter button[aria-pressed="false"]:hover { opacity: .8; }
.chan li span { display: inline-flex; align-items: center; gap: 8px; }
.chan li span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--cream)); }
.chan li b { min-width: 34px; text-align: center; padding: 2px 8px; border-radius: 999px; background: var(--surface-3); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 12px; }
.chan-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; gap: 6px; align-items: center; color: var(--faint); font-size: 11.5px; }
.lang { padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 10.5px; color: var(--cream); }

.seg-ctl { display: flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-deep); }
.seg-ctl button { padding: 4px 10px; border: 0; border-radius: 999px; background: transparent; font-size: 11px; color: var(--faint); white-space: nowrap; cursor: pointer; transition: color var(--t-base), background-color var(--t-base); }
.seg-ctl button:hover { color: var(--cream); }
.seg-ctl button[aria-pressed="true"] { background: var(--surface-3); color: var(--cream); }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: rgb(var(--cream-rgb) / .07); stroke-width: 1; }
.chart .axis text { fill: rgb(var(--stone-rgb) / .75); font-size: 10px; font-family: var(--font-mono); }
.chart .ln { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart .ln-cream { stroke: rgb(var(--stone-rgb) / .9); stroke-width: 1.5; }
.chart .ln-gold { stroke: var(--gold); filter: drop-shadow(0 0 5px rgb(var(--gold-rgb) / .3)); }
.chart .area { fill: url(#goldArea); }
.chart-legend { display: flex; gap: 14px; margin-top: 6px; color: var(--faint); font-size: 11px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend span::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--c); }
.tip {
  position: absolute; left: 57%; top: 18%; translate: -50% -100%;
  padding: 6px 10px; border-radius: 10px; background: var(--surface-4); border: 1px solid var(--line-2);
  font-size: 11px; line-height: 1.3; white-space: nowrap; box-shadow: 0 10px 30px -10px rgb(var(--shadow-rgb));
}
.tip b { display: block; font-weight: 600; }
.tip span { color: var(--faint); }

.live { display: flex; flex-direction: column; background: linear-gradient(180deg, #3A1A1D, var(--surface) 40%); border-color: rgb(var(--gold-rgb) / .22); }
.live-dot { display: inline-flex; align-items: center; gap: 8px; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgb(var(--gold-rgb) / .6); animation: ping 1.8s var(--ease-soft) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(var(--gold-rgb) / .6), 0 0 0 0 rgb(var(--ember-rgb) / .8); } 80%, 100% { box-shadow: 0 0 0 8px rgb(var(--gold-rgb) / 0), 0 0 0 15px rgb(var(--ember-rgb) / 0); } }
.live-meta { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 11px; font-family: var(--font-mono); }
.chip-gold { padding: 2px 8px; border-radius: 999px; background: rgb(var(--gold-rgb) / .14); color: var(--gold-hi); border: 1px solid rgb(var(--gold-rgb) / .3); font-size: 10.5px; font-family: var(--font-mono); white-space: nowrap; }
.chat { position: relative; height: 262px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%); mask-image: linear-gradient(to bottom, transparent, #000 18%); }
.msg { max-width: 86%; padding: 8px 11px; border-radius: 14px; font-size: 12.5px; line-height: 1.4; transform-origin: left bottom; animation: msg-in .5s var(--ease-out) both; }
.msg.in { background: var(--surface-3); border-bottom-left-radius: 4px; }
.msg.out { margin-left: auto; transform-origin: right bottom; background: rgb(var(--gold-rgb) / .14); border: 1px solid rgb(var(--gold-rgb) / .28); border-bottom-right-radius: 4px; }
.msg.out::before { content: "Cientia IA"; display: block; margin-bottom: 2px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.msg.typing { display: inline-flex; gap: 4px; align-items: center; padding: 11px 12px; width: max-content; }
.msg.typing.out::before { display: none; }
.msg.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--cream); opacity: .5; animation: typing 1s var(--ease-inout) infinite; }
.msg.typing i:nth-child(2) { width: 6.5px; height: 6.5px; animation-delay: .15s; }
.msg.typing i:nth-child(3) { width: 8px; height: 8px; background: var(--gold); animation-delay: .3s; }
@keyframes typing { 0%, 100% { opacity: .35; translate: 0 0; } 40% { opacity: 1; translate: 0 -3px; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
.booked {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center;
  padding: 10px 12px; border-radius: 12px; color: var(--ink-on-gold);
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  box-shadow: 0 12px 30px -10px rgb(var(--ember-rgb) / .8);
  animation: msg-in .6s var(--ease-out) both;
}
.booked .i { grid-row: span 2; width: 22px; height: 22px; stroke-width: 2; }
.booked b { font-size: 12.5px; }
.booked span { font-size: 11.5px; opacity: .8; }
.chat.is-fading > * { animation: fade-out .5s var(--ease-soft) forwards; }
@keyframes fade-out { to { opacity: 0; transform: translateY(-8px); } }

/* ==========================================================================
   PROBLEM
   ========================================================================== */
.problem { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.moments { margin-top: 36px; display: grid; }
.moment { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.moment:last-child { border-bottom: 1px solid var(--line); }
.moment-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--gold); }
.moment h3 { font-size: 1.2rem; margin-bottom: 4px; }
.moment p { color: var(--muted); font-size: .98rem; }
.problem-close { margin-top: 28px; font-size: 1.1rem; }
.problem-close strong { color: var(--gold-hi); font-weight: 500; }

.clock-wrap { position: relative; width: 100%; max-width: 480px; margin-inline: auto; }
.clock { width: 100%; height: auto; overflow: visible; }
.clock .ring { fill: none; stroke: rgb(var(--cream-rgb) / .1); stroke-width: 1; }
.clock .tick { stroke: rgb(var(--cream-rgb) / .22); stroke-width: 1; }
.clock .tick.major { stroke: rgb(var(--cream-rgb) / .45); }
.clock .hour { fill: rgb(var(--stone-rgb) / .85); font-family: var(--font-mono); font-size: 10px; text-anchor: middle; dominant-baseline: middle; }
.clock .office { fill: none; stroke: rgb(var(--cream-rgb) / .13); stroke-width: 14; stroke-linecap: round; }
.clock .night { fill: none; stroke: rgb(var(--ember-rgb) / .35); stroke-width: 14; }
.clock .q { transform-box: fill-box; transform-origin: center; }
.clock .q-in { fill: var(--cream); }
.clock .q-out { fill: var(--gold); filter: drop-shadow(0 0 5px rgb(var(--gold-rgb) / .8)); }
.clock .hand { stroke: url(#handGrad); stroke-width: 2; stroke-linecap: round; }
.clock .hand-g { transform-origin: 0 0; }
.clock .c-big { fill: var(--cream); font-family: var(--font-display); font-size: 44px; font-weight: 300; text-anchor: middle; letter-spacing: -.02em; }
.clock .c-small { fill: rgb(var(--stone-rgb) / .85); font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .14em; text-anchor: middle; }
.clock-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 20px; font-size: .88rem; color: var(--muted); }
.clock-legend span { display: inline-flex; align-items: center; gap: 8px; }
.clock-legend span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: var(--s, none); }
.clock-cap { margin-top: 10px; text-align: center; font-size: .8rem; color: var(--faint); font-family: var(--font-mono); letter-spacing: .04em; }

/* ==========================================================================
   SERVICES (bento)
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--line);
  transition: border-color var(--t-base);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--ember-rgb) / .3), transparent 45%);
  transition: opacity .45s var(--ease-soft);
}
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.42rem); letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .98rem; max-width: 46ch; }
.card-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card-tag.gold { color: var(--gold-hi); border-color: rgb(var(--gold-rgb) / .35); background: rgb(var(--gold-rgb) / .08); }
.card-viz { margin-top: auto; padding-top: 18px; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: 1 / -1; }
.card-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.card-split .card-viz { margin-top: 0; padding-top: 0; }
.card-copy { display: flex; flex-direction: column; gap: 12px; }

/* Voice */
.voice { padding: 18px; border-radius: 18px; background: radial-gradient(120% 70% at 50% -10%, rgb(var(--ember-rgb) / .2), transparent 60%), var(--well); border: 1px solid var(--line); }
.voice-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: .82rem; }
.voice-top .live-dot { color: var(--cream); }
.wave { display: flex; align-items: center; gap: 3px; height: 56px; }
.wave i { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(var(--gold-hi), var(--gold-lo)); transform: scaleY(.12); transform-origin: center; opacity: .9; }
.is-live .wave i { animation: wave 1.15s var(--ease-inout) infinite alternate; animation-delay: var(--d); }
@keyframes wave { from { transform: scaleY(.12); } to { transform: scaleY(var(--h)); } }
.transcript { display: grid; gap: 8px; margin-top: 16px; }
.transcript li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--surface-2); font-size: .86rem; color: var(--muted); }
.transcript li .i { width: 16px; height: 16px; color: var(--gold); }
.transcript li.ok { background: rgb(var(--gold-rgb) / .12); color: var(--cream); border: 1px solid rgb(var(--gold-rgb) / .3); }
.transcript li b { color: var(--cream); font-weight: 500; }

/* Channels */
.channels { display: grid; gap: 8px; }
.channels li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--well); border: 1px solid var(--line); font-size: .9rem; }
.ch-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); color: var(--cream); }
.ch-ico .i { width: 18px; height: 18px; }
.status { position: relative; display: grid; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.status > * { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; transition: opacity .5s var(--ease-soft), translate .5s var(--ease-out); transition-delay: var(--d, 0s); }
.status .s-new { color: var(--faint); }
.status .s-done { color: var(--gold-hi); opacity: 0; translate: 0 6px; }
.status .s-done .i { width: 14px; height: 14px; stroke-width: 2.2; }
.in .status .s-new { opacity: 0; translate: 0 -6px; }
.in .status .s-done { opacity: 1; translate: 0 0; }
.langs { display: flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--faint); font-size: .82rem; }

/* Routing */
.route svg { width: 100%; height: auto; overflow: visible; }
.route .r-path { fill: none; stroke: rgb(var(--cream-rgb) / .14); stroke-width: 1.5; }
.route .r-pulse { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: .14 1.4; stroke-dashoffset: .14; filter: drop-shadow(0 0 4px rgb(var(--gold-rgb) / .9)); }
.is-live .route .r-pulse { animation: route 3.6s var(--ease-inout) infinite; animation-delay: var(--d); }
@keyframes route { 0% { stroke-dashoffset: .14; } 30%, 100% { stroke-dashoffset: -1.02; } }
.route .src { fill: var(--gold); }
.route .src-ring { fill: none; stroke: rgb(var(--gold-rgb) / .4); }
.route .agent rect { fill: var(--well); stroke: rgb(var(--cream-rgb) / .14); }
.route .agent circle { fill: var(--surface-3); }
.route .agent .ini { fill: var(--cream); font-size: 10px; font-weight: 600; text-anchor: middle; dominant-baseline: central; font-family: var(--font-body); }
.route .agent .nm { fill: var(--cream); font-size: 12.5px; font-weight: 500; font-family: var(--font-body); }
.route .agent .zn { fill: rgb(var(--stone-rgb) / .85); font-size: 9.5px; letter-spacing: .02em; font-family: var(--font-mono); }
.is-live .route .agent rect { animation: agent-hit 3.6s var(--ease-soft) infinite; animation-delay: var(--d); }
@keyframes agent-hit { 0%, 24% { stroke: rgb(var(--cream-rgb) / .14); } 30%, 46% { stroke: var(--gold); } 60%, 100% { stroke: rgb(var(--cream-rgb) / .14); } }
.route .src-lbl { fill: rgb(var(--stone-rgb) / .85); font-size: 9.5px; font-family: var(--font-mono); letter-spacing: .08em; }

/* Calendar */
.cal { display: grid; grid-template-columns: 34px repeat(7, 1fr); gap: 5px; font-family: var(--font-mono); font-size: .66rem; color: var(--faint); }
.cal .d { text-align: center; padding-bottom: 2px; }
.cal .h { display: flex; align-items: center; }
.cal .s { height: 22px; border-radius: 6px; background: rgb(var(--cream-rgb) / .05); }
.cal .s.busy { background: rgb(var(--cream-rgb) / .14); }
.cal .s.new { background: var(--gold); box-shadow: 0 0 14px -2px rgb(var(--gold-rgb) / .8); transform: scale(0); transition: transform .6s var(--ease-out); transition-delay: var(--d); }
.in .cal .s.new { transform: scale(1); }
.cal-notes { display: grid; gap: 6px; margin-top: 14px; font-size: .84rem; }
.cal-notes li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.cal-notes li::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--c, var(--gold)); flex: none; }
.cal-notes .fu { --c: transparent; }
.cal-notes .fu::before { display: none; }
.cal-notes .fu .i { width: 15px; height: 15px; color: var(--gold); }

/* Human control */
.takeover { padding: 16px; border-radius: 16px; background: radial-gradient(120% 70% at 50% -10%, rgb(var(--ember-rgb) / .2), transparent 60%), var(--well); border: 1px solid var(--line); }
.tk-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tk-label { display: grid; font-size: .86rem; }
.tk-label > span { grid-area: 1 / 1; transition: opacity .4s; }
.switch { position: relative; width: 50px; height: 28px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-2); flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); transition: translate .5s var(--ease-out), background .4s; }
.tk-msg { margin-top: 14px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: .84rem; color: var(--muted); }
.tk-msg .dash-avatar { width: 28px; height: 28px; font-size: 11px; }
.tk-b { opacity: 0; }
.is-live .takeover .switch { animation: sw-bg 9s var(--ease-inout) infinite; }
.is-live .takeover .switch::after { animation: sw-knob 9s var(--ease-inout) infinite; }
.is-live .takeover .tk-a { animation: sw-a 9s var(--ease-inout) infinite; }
.is-live .takeover .tk-b { animation: sw-b 9s var(--ease-inout) infinite; }
@keyframes sw-knob { 0%, 40% { translate: 0 0; background: var(--cream); } 50%, 90% { translate: 22px 0; background: var(--ink-on-gold); } 100% { translate: 0 0; background: var(--cream); } }
@keyframes sw-bg { 0%, 40% { background: var(--surface-3); } 50%, 90% { background: var(--gold); } 100% { background: var(--surface-3); } }
@keyframes sw-a { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sw-b { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* Reactivation */
.react { display: grid; gap: 8px; }
.react li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--well); border: 1px solid var(--line); font-size: .88rem; }
.react .dash-avatar { width: 34px; height: 34px; background: var(--surface-3); color: var(--cream); font-size: 11px; }
.react small { display: block; color: var(--faint); font-size: .78rem; }
.react .status { font-size: .68rem; }
.notify { margin-top: 12px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgb(var(--gold-rgb) / .1); border: 1px solid rgb(var(--gold-rgb) / .3); font-size: .86rem; opacity: 0; translate: 0 10px; transition: opacity .7s var(--ease-out) 1.1s, translate .7s var(--ease-out) 1.1s; }
.in .notify { opacity: 1; translate: 0 0; }
.notify .ch-ico { background: var(--gold); color: var(--ink-on-gold); }
.notify b { display: block; font-weight: 500; color: var(--cream); }
.notify span { color: var(--muted); }

/* ==========================================================================
   EDITORIAL SECTION HEADS
   Index + label on the left, headline on a 1:3 grid, hairline drawn on reveal
   ========================================================================== */
.sh {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 18px var(--sh-gap); padding-top: 26px; margin-bottom: clamp(48px, 6vw, 84px);
}
.sh::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, rgb(var(--camel-rgb) / .6), var(--line-2) 24%, var(--line) 60%, transparent);
  transform-origin: 0 50%;
}
.sh-main { display: grid; gap: 20px; align-content: start; }
.sh .h2 { max-width: 20ch; }
.sh .lede { max-width: 54ch; }
.sh-meta {
  display: flex; align-items: center; gap: 12px; align-self: start; margin: 0; padding-top: .55em;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.sh-num { color: var(--gold); font-variant-numeric: tabular-nums; }
.sh-rule { display: block; width: 28px; height: 1px; background: var(--line-2); transform-origin: 0 50%; }
.offset { margin-left: calc((100% - var(--sh-gap)) * .25 + var(--sh-gap)); }

/* ==========================================================================
   STEPS
   ========================================================================== */
.steps-wrap { position: relative; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.steps-line { position: absolute; top: 28px; left: 16.66%; right: 16.66%; height: 1px; background: var(--line-2); }
.steps-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cream), var(--gold)); transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); box-shadow: 0 0 14px rgb(var(--ember-rgb) / .85); }
.step { text-align: center; display: grid; justify-items: center; align-content: start; gap: 14px; }
.step-dot { height: 56px; display: grid; place-items: center; }
.step-dot i { display: block; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 8px var(--bg); transform: scale(.2); opacity: .3; transition: transform .8s var(--ease-out), opacity .6s; }
.step:nth-child(1) .step-dot i { width: 20px; height: 20px; }
.step:nth-child(2) .step-dot i { width: 33px; height: 33px; }
.step:nth-child(3) .step-dot i { width: 52px; height: 52px; background: var(--gold); box-shadow: 0 0 0 8px var(--bg), 0 0 44px rgb(var(--ember-rgb) / .8), 0 0 18px rgb(var(--gold-rgb) / .35); }
.step.on .step-dot i { transform: scale(1); opacity: 1; }
.step-num { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--faint); }
.step h3 { font-size: 1.4rem; font-weight: 400; }
.step p { color: var(--muted); max-width: 34ch; font-size: .98rem; }

/* ==========================================================================
   ROI CALCULATOR
   ========================================================================== */
.calc {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgb(var(--cream-rgb) / .025), rgb(var(--cream-rgb) / .008));
}
.calc-in { padding: clamp(24px, 3.6vw, 48px); }
.calc-out {
  display: flex; flex-direction: column; gap: 26px; padding: clamp(24px, 3.6vw, 48px);
  border-left: 1px solid var(--line); border-radius: 0 var(--r-lg) var(--r-lg) 0;
  background: radial-gradient(120% 70% at 100% 0%, rgb(var(--ember-rgb) / .34), rgb(var(--oxblood-rgb) / .12) 45%, transparent 70%);
}
.calc-mini { display: none; }
.range-field { display: grid; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: opacity .45s var(--ease-soft); }
.calc-mini + .range-field { padding-top: 0; }
.range-field:last-child { border-bottom: 0; padding-bottom: 0; }
.range-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.range-top label { color: var(--muted); transition: color var(--t-base); }
.range-top output { font-family: var(--font-display); font-size: 1.55rem; font-weight: 300; color: var(--gold-hi); font-variant-numeric: tabular-nums; white-space: nowrap; transition: text-shadow .4s var(--ease-soft); }
.range-field.is-active .range-top label { color: var(--cream); }
.range-field.is-active .range-top output { text-shadow: 0 0 22px rgb(var(--gold-rgb) / .55); }
.calc-in.is-dragging .range-field:not(.is-active) { opacity: .4; }
.range-help { color: var(--faint); font-size: .86rem; }
.range-track { position: relative; }
.ticks { position: absolute; left: 12px; right: 12px; top: calc(50% + 7px); display: flex; justify-content: space-between; pointer-events: none; }
.ticks i { width: 1px; height: 5px; background: var(--line-2); }

input[type="range"] {
  --p: 50%;
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold) var(--p), rgb(var(--cream-rgb) / .12) var(--p));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; border: 0;
  background: var(--cream); box-shadow: 0 0 0 4px rgb(var(--gold-rgb) / .22), 0 4px 12px rgb(var(--shadow-rgb) / .5);
  transition: box-shadow .35s var(--ease-soft), transform .35s var(--ease-out);
}
input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgb(var(--gold-rgb) / .25), 0 4px 12px rgb(var(--shadow-rgb) / .5); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.16); box-shadow: 0 0 0 10px rgb(var(--gold-rgb) / .2), 0 6px 16px rgb(var(--shadow-rgb) / .6); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 999px; background: rgb(var(--cream-rgb) / .12); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--gold-lo), var(--gold)); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 4px rgb(var(--gold-rgb) / .22), 0 4px 12px rgb(var(--shadow-rgb) / .5); transition: box-shadow .35s, transform .35s var(--ease-out); }
input[type="range"]:active::-moz-range-thumb { transform: scale(1.16); box-shadow: 0 0 0 10px rgb(var(--gold-rgb) / .2); }
input[type="range"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }

.big-label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.big-num { margin-top: 12px; font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 2rem + 3.8vw, 4.8rem); line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.odo { display: inline-flex; align-items: flex-start; white-space: nowrap; }
.odo-d { display: inline-block; height: 1.1em; overflow: hidden; }
.odo-col { display: flex; flex-direction: column; transition: transform 1.05s var(--ease-out); transition-delay: calc(var(--k, 0) * 45ms); }
.odo-col > span, .odo-s { display: block; height: 1.1em; line-height: 1.1; }
.odo-s { display: inline-block; white-space: pre; }
.res-rows { display: grid; margin: 0; }
.res-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.res-rows dt { color: var(--muted); }
.res-rows dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dots { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: rgb(var(--cream-rgb) / .12); transition: background-color .45s var(--ease-soft), box-shadow .45s; transition-delay: calc(var(--i) * 3ms); }
.dots i.on { background: var(--gold); box-shadow: 0 0 6px rgb(var(--gold-rgb) / .6); }
.dots-cap { font-size: .82rem; color: var(--faint); margin-top: 10px; }
.insight { padding-left: 16px; border-left: 1px solid var(--gold); font-size: .98rem; color: var(--muted); }
.insight strong { color: var(--gold-hi); font-weight: 500; }
.calc-foot { margin-top: auto; display: grid; gap: 14px; justify-items: start; }
.disclaimer { font-size: .78rem; color: var(--faint); }

/* ==========================================================================
   PROOF (placeholders, editorial layout)
   ========================================================================== */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 64px); }
.quote { margin: 0; display: flex; flex-direction: column; gap: 22px; padding-top: 30px; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.28rem; font-weight: 400; line-height: 1.45; color: var(--muted); }
.quote blockquote p { margin: 0; }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: .92rem; }
.quote figcaption b { display: block; font-weight: 500; color: var(--cream); }
.quote figcaption b + span { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--faint); }
.q-line { width: 28px; height: 1px; background: var(--gold); flex: none; }
.quote--lead {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 18px var(--sh-gap);
  padding: 0 0 clamp(44px, 5vw, 70px); border-top: 0;
}
.quote--lead .q-body { display: grid; gap: 28px; }
.quote--lead blockquote { position: relative; font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.45rem); font-weight: 300; line-height: 1.24; letter-spacing: -.015em; color: var(--cream); max-width: 30ch; }
.quote--lead blockquote::before { content: "\201C"; position: absolute; left: -.62em; top: -.08em; font-size: 1.5em; line-height: 1; color: var(--gold); }
.ph-badge { align-self: flex-start; justify-self: start; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); border: 1px dashed rgb(var(--gold-rgb) / .45); padding: 3px 8px; border-radius: 999px; }

/* ==========================================================================
   PLANS
   ========================================================================== */
.plans { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 26px;
  padding: clamp(28px, 2.8vw, 38px); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--line);
}
.plan-name { font-family: var(--font-display); font-size: clamp(1.7rem, 1.45rem + .7vw, 2.1rem); font-weight: 400; letter-spacing: -.015em; }
.plan-for { margin-top: 6px; color: var(--faint); font-size: .92rem; max-width: 26ch; }
.plan-from { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.plan-price { display: flex; align-items: flex-start; gap: 6px; font-family: var(--font-display); line-height: 1; }
.plan-price b { font-size: clamp(3rem, 2.4rem + 1.6vw, 3.7rem); font-weight: 300; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.plan-price b.custom { font-size: clamp(2.4rem, 2rem + 1.2vw, 2.9rem); letter-spacing: -.02em; }
.plan-price .cur { margin-top: .32em; font-size: 1.35rem; font-weight: 300; color: var(--muted); }
.plan-price .per { align-self: flex-end; margin-bottom: .4em; font-family: var(--font-body); font-size: .92rem; color: var(--faint); }
.plan-setup { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.plan-setup small { font-size: inherit; color: var(--faint); }
.plan-tagline { padding-top: 24px; border-top: 1px solid var(--line); font-size: 1.04rem; line-height: 1.5; color: var(--cream); }
.plan-plus { margin-bottom: -10px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.plan-list { display: grid; gap: 13px; }
.plan-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: var(--gold); }
.plan .btn { margin-top: auto; }
.plan--featured {
  border-color: rgb(var(--gold-rgb) / .34);
  background: radial-gradient(120% 55% at 50% 0%, rgb(var(--ember-rgb) / .32), transparent 60%), linear-gradient(180deg, #3A1A1D, var(--surface) 60%);
  box-shadow: 0 40px 90px -42px rgb(var(--ember-rgb) / .75);
}
.plan--featured::before {
  content: ""; position: absolute; inset: -1px; z-index: 1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--spin), rgb(var(--camel-rgb) / .14) 0deg, var(--gold-hi) 40deg, rgb(var(--ember-rgb)) 95deg, rgb(var(--camel-rgb) / .14) 150deg, rgb(var(--camel-rgb) / .14) 210deg, var(--gold) 265deg, rgb(var(--camel-rgb) / .14) 320deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-border 10s linear infinite;
}
.plan-flag {
  position: absolute; top: clamp(28px, 2.8vw, 38px); right: clamp(28px, 2.8vw, 38px);
  display: inline-flex; align-items: center; gap: 8px; margin-top: .6em;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi);
}
.plan-flag i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
@media (hover: hover) {
  .plan { transition: transform .7s var(--ease-out), border-color .4s, box-shadow .7s var(--ease-out); }
  .plan:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 34px 70px -34px rgb(var(--shadow-rgb) / .95); }
  .plan--featured:hover { border-color: rgb(var(--gold-rgb) / .5); box-shadow: 0 44px 100px -40px rgb(var(--ember-rgb) / .9); }
}
.plan-switch { display: none; }

.included { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 18px var(--sh-gap); padding-top: 28px; border-top: 1px solid var(--line); }
.included-title { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; line-height: 1.7; text-transform: uppercase; color: var(--muted); }
.included ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.included li { padding: 0 20px; border-left: 1px solid var(--line); font-size: .9rem; line-height: 1.55; color: var(--muted); }
.included li:first-child { padding-left: 0; border-left: 0; }
.included li b { display: block; margin-bottom: 8px; font-weight: 500; color: var(--cream); }

/* Plan comparison table: the recommended column is one continuous lit band */
.cmp { scroll-margin-top: 100px; }
.plans-block { margin-top: clamp(72px, 9vw, 120px); }
.cmp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.cmp-title { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 400; letter-spacing: -.02em; }
.cmp-lede { color: var(--muted); }
.cmp-wrap {
  --cmp-top: 76px;
  position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: clip;
  background: linear-gradient(180deg, var(--surface-2), var(--surface) 30%);
}
.cmp-band {
  position: absolute; top: 0; bottom: 0; left: 60%; width: 20%; pointer-events: none;
  background: radial-gradient(140% 30% at 50% 0%, rgb(var(--ember-rgb) / .3), transparent 70%), linear-gradient(180deg, rgb(var(--gold-rgb) / .07), rgb(var(--gold-rgb) / .03));
  border-inline: 1px solid rgb(var(--gold-rgb) / .16);
}
.cmp-table { position: relative; width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp-table col { width: 20%; }
.cmp-table col.cmp-c-feat { width: 40%; }
.cmp-table th, .cmp-table td { padding: 15px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: center; font-weight: 400; }
.cmp-table tbody th[scope="row"] { text-align: left; color: var(--cream); font-size: .94rem; line-height: 1.4; }
.cmp-table tbody td { color: var(--muted); font-size: .92rem; }
.cmp-table tbody td.is-f { color: var(--cream); font-weight: 500; }

/* Header: stays in view while the table scrolls */
.cmp-table thead th {
  position: sticky; top: var(--cmp-top); z-index: 2;
  padding-block: 20px 16px; vertical-align: bottom; background: #2F1317;
  border-bottom-color: var(--line-2);
}
.cmp-table thead th.is-f { background: linear-gradient(180deg, #40191A, #371618); box-shadow: inset 0 1px 0 rgb(var(--gold-rgb) / .55); }
.cmp-corner { text-align: left !important; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.cmp-plan { display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); font-weight: 400; letter-spacing: -.01em; color: var(--cream); }
.cmp-flag {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi);
}
.cmp-flag i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* Group rows */
.cmp-table .cmp-cat th {
  padding-block: 22px 12px; text-align: left; background: rgb(var(--cream-rgb) / .018);
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi);
}
.cmp-cat .i { display: inline-block; width: 15px; height: 15px; margin: -3px 10px 0 0; vertical-align: middle; color: var(--gold); }

/* Values */
.cmp-yes, .cmp-no { display: block; margin-inline: auto; }
.cmp-yes { width: 19px; height: 19px; color: var(--gold); stroke-width: 2; }
.cmp-no { width: 14px; height: 14px; color: rgb(var(--stone-rgb) / .5); }
.is-f .cmp-yes { color: var(--gold-hi); filter: drop-shadow(0 0 6px rgb(var(--gold-rgb) / .45)); }
.cmp-val { white-space: nowrap; }
.cmp-val small { font-size: .8em; font-weight: 400; color: var(--faint); }

.cmp-foot td { padding-block: 22px; border-bottom: 0; }

/* Rows answer the pointer quietly */
.cmp-table tbody tr:not(.cmp-cat) > * { transition: background-color var(--t-base) var(--ease-soft); }
@media (hover: hover) {
  .cmp-table tbody tr:not(.cmp-cat):hover > * { background: rgb(var(--cream-rgb) / .028); }
}

/* Reveal: the recommended band lights up as the table arrives */
.js .cmp .cmp-band { opacity: 0; }
.js .cmp.in .cmp-band { opacity: 1; transition: opacity 1.4s var(--ease-soft) .5s; }

@media (max-width: 960px) {
  .cmp-table th, .cmp-table td { padding-inline: 14px; }
  .cmp-table col.cmp-c-feat { width: 37%; }
  .cmp-table col { width: 21%; }
  .cmp-band { left: 58%; width: 21%; }
}

/* Phones: each feature on its own line, the three plans side by side underneath */
@media (max-width: 760px) {
  .cmp-wrap { --cmp-top: 72px; border-radius: var(--r-md); }
  .cmp-band, .cmp-table .cmp-corner, .cmp-foot { display: none; }
  .cmp-table, .cmp-table thead, .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td { display: block; }
  .cmp-table colgroup { display: none; }
  .cmp-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp-table thead { position: sticky; top: var(--cmp-top); z-index: 2; }
  .cmp-table thead th { position: static; padding: 16px 6px 12px; }
  .cmp-table thead th.is-f { box-shadow: inset 0 2px 0 rgb(var(--gold-rgb) / .7); }
  .cmp-flag { display: none; }
  .cmp-plan { font-size: 1.12rem; }
  .cmp-table tbody th[scope="row"] { grid-column: 1 / -1; padding: 14px 14px 2px; border-bottom: 0; font-size: .9rem; }
  .cmp-table tbody td { padding: 8px 6px 14px; font-size: .84rem; }
  .cmp-table tbody td.is-f { background: rgb(var(--gold-rgb) / .06); }
  .cmp-val { white-space: normal; }
  .cmp-table .cmp-cat th { grid-column: 1 / -1; padding: 22px 14px 10px; }
}

/* ==========================================================================
   COMPLIANCE
   ========================================================================== */
.comp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 48px); }
.comp-item { display: grid; align-content: start; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); transition: border-color .5s var(--ease-soft); }
.comp-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.comp-tag .i { width: 15px; height: 15px; color: var(--gold); }
.comp-item h3 { font-family: var(--font-display); font-size: clamp(1.15rem, 1.05rem + .3vw, 1.32rem); font-weight: 400; line-height: 1.25; color: var(--cream); }
.comp-text { max-width: 42ch; color: var(--muted); font-size: .94rem; line-height: 1.55; }
@media (hover: hover) { .comp-item:hover { border-top-color: rgb(var(--gold-rgb) / .45); } }
@media (max-width: 960px) { .comp { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .comp { grid-template-columns: 1fr; } }
.footer-about .footer-compliance { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; max-width: none; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.footer-compliance .i { flex: none; width: 14px; height: 14px; color: var(--gold); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: grid; grid-template-columns: 44px minmax(0, 1fr) 32px; align-items: center; gap: 16px;
  min-height: 44px; padding: 24px 0; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.32rem); font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-n { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; color: var(--faint); transition: color .4s var(--ease-soft); }
.faq-q { transition: translate .55s var(--ease-out), color var(--t-base); }
.faq-ico { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--cream); transition: border-color .4s, color .4s, background-color .4s; }
.faq-ico i { position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; border-radius: 1px; background: currentColor; transition: transform .55s var(--ease-out); }
.faq-ico i:last-child { transform: rotate(90deg); }
.faq details[open] .faq-ico { border-color: rgb(var(--gold-rgb) / .6); color: var(--gold); }
.faq details[open] .faq-ico i:last-child { transform: rotate(0deg); }
.faq details[open] .faq-n { color: var(--gold); }
@media (hover: hover) {
  .faq summary:hover .faq-q { translate: 6px 0; }
  .faq summary:hover .faq-n { color: var(--gold); }
  .faq summary:hover .faq-ico { border-color: rgb(var(--cream-rgb) / .35); }
}
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq-a { padding: 0 48px 28px 60px; color: var(--muted); max-width: 70ch; }
.faq details[open] .faq-a p { animation: faq-in .6s var(--ease-out) both; }
@keyframes faq-in { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }

/* ==========================================================================
   CONTACT + FORM
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.panel-x { position: relative; padding: clamp(26px, 3.6vw, 48px); border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface) 70%); }
.book { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.book-orb { height: 120px; display: flex; align-items: center; gap: 14px; }
.book-orb i { display: block; border-radius: 50%; background: var(--cream); transition: translate .9s var(--ease-out); }
.book-orb i:nth-child(1) { width: 24px; height: 24px; }
.book-orb i:nth-child(2) { width: 40px; height: 40px; }
.book-orb i:nth-child(3) { width: 90px; height: 90px; background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); box-shadow: 0 0 80px rgb(var(--ember-rgb) / .75), 0 0 28px rgb(var(--gold-rgb) / .3); }
.book h3, .form-head h3 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); font-weight: 400; letter-spacing: -.015em; }
.book-text { color: var(--muted); }
.book-list { display: grid; gap: 12px; }
.book-list li { position: relative; padding-left: 22px; color: var(--muted); }
.book-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--gold); }
.contact-alt { padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.contact-alt p { margin-bottom: 6px; color: var(--faint); font-size: .88rem; }
.contact-alt a { justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.contact-alt .i { width: 18px; height: 18px; color: var(--gold); }

.form-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.form-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.form-head h3 { margin-top: 16px; }
.form-head > p:last-child { margin-top: 10px; color: var(--muted); }
.form-grid { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.field { display: grid; gap: 4px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > legend {
  padding: 0; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); transition: color var(--t-base);
}
.field:focus-within > label { color: var(--gold-hi); }
.field .opt { color: rgb(var(--stone-rgb) / .7); letter-spacing: .04em; text-transform: none; }
.req { color: var(--gold); }
.ctl { position: relative; display: block; }
.ctl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-hi), var(--gold)); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .6s var(--ease-out);
}
.ctl:focus-within::after { transform: scaleX(1); }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; color: var(--cream); font-size: 1.05rem; transition: border-color var(--t-base);
}
.field textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-bottom-color: rgb(var(--cream-rgb) / .3); }
.field input:focus, .field textarea:focus { outline: none; }
.field input::placeholder, .field textarea::placeholder { color: rgb(var(--stone-rgb) / .68); }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--danger); }
.field.has-error .ctl::after { background: var(--danger); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 0; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); font-size: .95rem; white-space: nowrap;
  transition: border-color var(--t-base), background-color var(--t-base), color var(--t-base), gap .45s var(--ease-out), transform .15s var(--ease-soft);
}
.chip span::before { content: ""; width: 0; height: 6px; border-radius: 50%; background: var(--gold); transition: width .45s var(--ease-out), box-shadow .45s; }
.chip:hover span { border-color: rgb(var(--cream-rgb) / .32); color: var(--cream); }
.chip:active span { transform: scale(.97); }
.chip input:checked + span { gap: 9px; border-color: var(--gold); background: rgb(var(--gold-rgb) / .1); color: var(--cream); }
.chip input:checked + span::before { width: 6px; box-shadow: 0 0 8px var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.has-error .chip span { border-color: rgb(240 161 148 / .55); }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; min-height: 44px; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.box { width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .3s, border-color .3s, transform .15s; }
.box svg { width: 14px; height: 14px; fill: none; stroke: var(--ink-on-gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s var(--ease-out) .05s; }
.check:hover .box { border-color: rgb(var(--cream-rgb) / .35); }
.check:active .box { transform: scale(.92); }
.check input:checked + .box { background: var(--gold); border-color: var(--gold); }
.check input:checked + .box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .box { outline: 2px solid var(--gold); outline-offset: 3px; }
.has-error .box { border-color: var(--danger); }

.err { display: none; align-items: flex-start; gap: 6px; margin-top: 8px; color: var(--danger); font-size: .85rem; }
.err .i { width: 16px; height: 16px; margin-top: 2px; }
.has-error .err { display: flex; animation: faq-in .4s var(--ease-out) both; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.layer { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .78rem; line-height: 1.55; color: var(--faint); }
.layer b { color: var(--muted); font-weight: 500; }
.layer a { color: var(--muted); }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(var(--wine-rgb) / .25); border-top-color: var(--ink-on-gold); animation: spin .8s linear infinite; }
.btn.is-loading .spinner { display: block; }
.btn.is-loading .arw, .btn.is-loading .i { display: none; }
.btn[disabled] { opacity: .7; cursor: progress; }
@keyframes spin { to { rotate: 360deg; } }
.form-status { font-size: .92rem; }
.form-status.is-error { color: var(--danger); }
.form-status a { color: var(--cream); }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success:focus { outline: none; }
.form-success .ok-orb { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-on-gold); background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold)); box-shadow: 0 0 50px rgb(var(--gold-rgb) / .45); animation: pop .7s var(--ease-out) both; }
.form-success .ok-orb .i { width: 30px; height: 30px; stroke-width: 2.4; }
.form-success h3 { margin-bottom: 10px; font-weight: 400; }
.form-success p { color: var(--muted); max-width: 42ch; margin-inline: auto; }
.form-card.is-sent form, .form-card.is-sent .form-head { display: none; }
.form-card.is-sent .form-success { display: block; }
/* Without JavaScript the audit form can't send (main.js sends it to Make), so the email address shows instead.
   boot.js adds .js straight away and takes it off again if main.js never starts. */
.form-nojs { margin-top: 22px; color: var(--muted); }
.js .form-nojs, html:not(.js) #audit-form { display: none; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
@property --lx { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }
@property --ly { syntax: "<length-percentage>"; inherits: false; initial-value: 170%; }
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer-about p { margin-top: 18px; color: var(--muted); max-width: 34ch; font-size: .95rem; }
.footer h2 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer ul { display: grid; gap: 2px; }
.footer ul li { display: flex; align-items: center; min-height: 36px; }
.footer ul a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color var(--t-base); }
.footer ul a:hover { color: var(--cream); }
.mbar { display: none; }
.footer-word {
  margin-top: clamp(40px, 6vw, 72px); text-align: center; white-space: nowrap; user-select: none;
  font-family: var(--font-display); font-weight: 400; line-height: .78;
  font-size: clamp(3.4rem, 15.5vw, 15rem); letter-spacing: .22em; padding-left: .22em;
  background:
    radial-gradient(240px circle at var(--lx) var(--ly), rgb(var(--gold-rgb) / .9), rgb(var(--gold-rgb) / 0) 70%),
    linear-gradient(180deg, rgb(var(--stone-rgb) / .2), rgb(var(--stone-rgb) / 0) 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: clamp(18px, 3vw, 40px);   /* keeps the divider below the letters */
  transition: --lx .5s var(--ease-out), --ly .5s var(--ease-out);
}
.footer-bottom { position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px 28px; padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--faint); font-size: .85rem; }
.footer-bottom a { color: var(--faint); text-decoration: none; }
.footer-bottom a:hover { color: var(--cream); }
.totop { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--cream); display: grid; place-items: center; }
.totop .ring { position: absolute; inset: 0; width: 44px; height: 44px; rotate: -90deg; }
.ring-bg { fill: none; stroke: var(--line-2); stroke-width: 1; }
.ring-fg { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.totop .i { width: 16px; height: 16px; transition: translate .5s var(--ease-out); }
.totop:hover .i { translate: 0 -3px; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-hero { padding-top: clamp(130px, 18vh, 170px); padding-bottom: 32px; position: relative; overflow: clip; }
.legal-hero::before { content: ""; position: absolute; z-index: -1; top: -40%; left: 50%; width: 1000px; height: 700px; translate: -50% 0; background: radial-gradient(closest-side, rgb(var(--ember-rgb) / .24), transparent 70%); }
.legal-hero h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem); font-weight: 400; letter-spacing: -.03em; margin-top: 18px; }
.legal-hero p { margin-top: 14px; color: var(--faint); font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; }
.legal-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 28px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgb(var(--cream-rgb) / .02); }
.legal-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: .92rem; color: var(--muted); text-decoration: none; transition: color var(--t-base), background-color var(--t-base); }
.legal-tabs a:hover { color: var(--cream); }
.legal-tabs a[aria-current="page"] { background: var(--surface-3); color: var(--cream); box-shadow: inset 0 1px 0 rgb(var(--mist-rgb) / .06); }
.footer--slim { padding-top: 0; }
.footer--slim .footer-bottom { grid-template-columns: 1fr auto; }
.legal-doc { max-width: 780px; padding-bottom: clamp(80px, 10vw, 130px); }
.legal-doc h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); font-weight: 400; margin: 52px 0 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-doc h2:first-of-type { margin-top: 24px; }
.legal-doc h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal-doc p, .legal-doc li { color: var(--muted); }
.legal-doc p + p { margin-top: 14px; }
.legal-doc ul { margin: 14px 0; display: grid; gap: 8px; }
.legal-doc ul li { position: relative; padding-left: 22px; }
.legal-doc ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--gold); }
.legal-doc strong { color: var(--cream); font-weight: 500; }
.legal-doc a { color: var(--cream); }
.legal-doc a:hover { color: var(--gold-hi); }
.table-wrap { margin: 18px 0; overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.legal-doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; }
.legal-doc th, .legal-doc td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--muted); }
.legal-doc th { color: var(--cream); font-weight: 500; background: var(--surface); }
.legal-doc tr:last-child td { border-bottom: 0; }
.legal-doc dl { margin: 14px 0; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.legal-doc dt, .legal-doc dd { margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-doc dt { color: var(--cream); background: var(--surface); font-weight: 500; }
.legal-doc dd { color: var(--muted); }
.legal-doc dt:last-of-type, .legal-doc dd:last-of-type { border-bottom: 0; }
.ph { color: var(--gold-hi); background: rgb(var(--gold-rgb) / .12); border: 1px dashed rgb(var(--gold-rgb) / .55); border-radius: 5px; padding: 0 .35em; }

/* ==========================================================================
   MICRO-INTERACTIONS
   ========================================================================== */
/* Border light that follows the pointer (cards, plans, panels) */
.lit::after, .card::after {
  content: ""; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--gold-rgb) / .8), rgb(var(--gold-rgb) / 0) 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .55s var(--ease-soft);
}
.card::after { inset: 0; }
@media (hover: hover) and (pointer: fine) {
  .lit:hover::after, .card:hover::after { opacity: 1; }
}

/* Underline that draws in from the left and leaves to the right */
.u-link {
  text-decoration: none; padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 1px;
  transition: background-size .6s var(--ease-out), color var(--t-base);
}
.u-link:hover, .u-link:focus-visible, a:hover > .u-link { background-size: 100% 1px; background-position: 0 100%; }

/* Arrow that exits right and re-enters from the left */
.arw { position: relative; display: inline-block; width: 18px; height: 18px; overflow: hidden; flex: none; }
.arw .i { position: absolute; inset: 0; transition: transform .55s var(--ease-out); }
.arw .i + .i { transform: translateX(-140%); }
.btn:hover .arw .i:first-child { transform: translateX(140%); }
.btn:hover .arw .i + .i { transform: translateX(0); }

/* Nav: one pill that glides between links */
.nav-links { position: relative; }
.nav-links a { z-index: 1; }
.nav-pill {
  position: absolute; z-index: 0; top: 50%; left: 0; height: 38px; width: 0; border-radius: 999px; pointer-events: none;
  background: rgb(var(--cream-rgb) / .07); box-shadow: inset 0 0 0 1px rgb(var(--cream-rgb) / .06);
  translate: 0 -50%; opacity: 0;
  transition: translate .5s var(--ease-out), width .5s var(--ease-out), opacity .35s var(--ease-soft);
}
.nav-links.has-pill .nav-pill { opacity: 1; }
.nav-links.pill-ready a:hover { background: transparent; }
.nav-links.pill-ready a.is-active::after { display: none; }

/* ==========================================================================
   MOTION: intro + reveal (only when JS is running)
   ========================================================================== */
.js .nav { opacity: 0; translate: -50% -16px; }
.js.is-ready .nav { opacity: 1; translate: -50% 0; transition: opacity .9s var(--ease-out) .1s, translate .9s var(--ease-out) .1s, background var(--t-base), border-color var(--t-base), box-shadow var(--t-base); }
.js .brand-mark circle { scale: 0; }
.js.is-ready .brand-mark circle { scale: 1; transition: scale .8s var(--ease-out); }
.js.is-ready .brand-mark circle:nth-child(1) { transition-delay: .25s; }
.js.is-ready .brand-mark circle:nth-child(2) { transition-delay: .35s; }
.js.is-ready .brand-mark circle:nth-child(3) { transition-delay: .45s; }

.js .hero [data-in] { opacity: 0; translate: 0 18px; }
.js.is-ready .hero [data-in] { opacity: 1; translate: 0 0; transition: opacity 1s var(--ease-out), translate 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js .hero h1 .w > span { translate: 0 108%; }
.js.is-ready .hero h1 .w > span { translate: 0 0; transition: translate 1.15s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js .stars { opacity: 0; }
.js.is-ready .stars { opacity: 1; transition: opacity 2s var(--ease-soft) .2s; }
.js .beam { opacity: 0; }
.js.is-ready .beam { opacity: 1; transition: opacity 2.2s var(--ease-soft) .5s; }
.js .flare { opacity: 0; scale: .3; }
.js.is-ready .flare { opacity: 1; scale: 1; transition: opacity 1.4s var(--ease-out) 1.25s, scale 1.6s var(--ease-out) 1.25s; }
.js .stage .dash-in { opacity: 0; translate: 0 90px; }
.js.is-ready .stage .dash-in { opacity: 1; translate: 0 0; transition: opacity 1.4s var(--ease-out) .75s, translate 1.6s var(--ease-out) .75s; }
.beam-breathe { animation: breathe 7s var(--ease-inout) infinite alternate; }
@keyframes breathe { from { opacity: .82; } to { opacity: 1; } }
.js .hero-badge circle { scale: 0; }
.js.is-ready .hero-badge circle { scale: 1; transition: scale .7s var(--ease-out) .3s; }
.js.is-ready .hero-badge circle:nth-child(2) { transition-delay: .4s; }
.js.is-ready .hero-badge circle:nth-child(3) { transition-delay: .5s; }

.chart .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart .area { opacity: 0; }
.is-ready .chart .ln { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease-inout) 1.5s; }
.is-ready .chart .ln-gold { transition-delay: 1.75s; }
.is-ready .chart .area { opacity: 1; transition: opacity 1.6s var(--ease-soft) 2.6s; }
.js .tip { opacity: 0; translate: -50% -80%; }
.js.is-ready .tip { opacity: 1; translate: -50% -100%; transition: opacity .6s var(--ease-out) 3.4s, translate .6s var(--ease-out) 3.4s; }

/* Generic reveal: short travel, long soft settle */
.js .reveal { opacity: 0; translate: 0 18px; }
.js .reveal.in { opacity: 1; translate: 0 0; transition: opacity 1.1s var(--ease-out), translate 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }

/* Section heads: hairline draws, index slides in, headline words rise from a mask, lede settles last */
.js .head-reveal.reveal { opacity: 1; translate: none; }
.js .sh::before { transform: scaleX(0); transition: transform 1.6s var(--ease-out); }
.js .sh.in::before { transform: scaleX(1); }
.js .head-reveal .sh-meta { opacity: 0; translate: -10px 0; transition: opacity .9s var(--ease-soft) .1s, translate 1.1s var(--ease-out) .1s; }
.js .head-reveal.in .sh-meta { opacity: 1; translate: 0 0; }
.js .head-reveal .sh-rule { transform: scaleX(0); transition: transform 1s var(--ease-out) .3s; }
.js .head-reveal.in .sh-rule { transform: scaleX(1); }
.js .head-reveal .h2 .w > span { translate: 0 106%; }
.js .head-reveal.in .h2 .w > span { translate: 0 0; transition: translate 1.1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 40ms + 140ms); }
.js .head-reveal .lede { opacity: 0; transition: opacity 1.2s var(--ease-soft) .5s; }
.js .head-reveal.in .lede { opacity: 1; }

/* Groups: children stagger in once the group enters */
.js .reveal-group > * { opacity: 0; translate: 0 22px; }
.js .reveal-group.in > * { opacity: 1; translate: 0 0; transition: opacity 1s var(--ease-out) calc(var(--i, 0) * 100ms), translate 1.2s var(--ease-out) calc(var(--i, 0) * 100ms), transform .7s var(--ease-out), border-color .4s, box-shadow .7s var(--ease-out); }

/* Footer wordmark rises out of the baseline */
.js .reveal-wm { clip-path: inset(100% 0 0 0); }
.js .reveal-wm.in { clip-path: inset(0 0 0 0); transition: clip-path 1.8s var(--ease-out), --lx .5s var(--ease-out), --ly .5s var(--ease-out); }

.js .transcript li { opacity: 0; translate: -10px 0; }
.js .in .transcript li { opacity: 1; translate: 0 0; transition: opacity .6s var(--ease-out), translate .6s var(--ease-out); transition-delay: calc(var(--i) * 260ms + 400ms); }

.js .clock .q { opacity: 0; scale: 0; }
.js .clock.run .q { opacity: 1; scale: 1; transition: opacity .3s, scale .6s var(--ease-out); transition-delay: var(--d); }
.js .clock .hand-g { opacity: 0; }
.js .clock.run .hand-g { animation: sweep 3.6s linear forwards; }
@keyframes sweep { 0% { rotate: 0deg; opacity: 0; } 4% { opacity: 1; } 92% { opacity: 1; } 100% { rotate: 360deg; opacity: 0; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .dash-body { grid-template-columns: 1.4fr 1fr; }
  .dash-body .channels-panel { display: none; }
  .included { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { padding: 6px 6px 6px 18px; }
  .problem { grid-template-columns: 1fr; }
  .clock-wrap { max-width: 400px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .span-3 { grid-column: 1 / -1; }
  .card-split { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-out { border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .plans { grid-template-columns: 1fr; max-width: 580px; margin-inline: auto; }
  .contact { grid-template-columns: 1fr; }
  .book { position: relative; top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .offset { margin-left: 0; }
  .included ul { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .included li:nth-child(3) { padding-left: 0; border-left: 0; }

  /* Calculator: keep the result in view while the sliders are being moved */
  .calc-mini {
    position: sticky; top: 76px; z-index: 3;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: -8px -10px 6px; padding: 12px 16px; border-radius: 14px;
    background: rgb(43 17 22 / .92); border: 1px solid rgb(var(--gold-rgb) / .3);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 14px 30px -16px rgb(var(--shadow-rgb) / .9);
  }
  .calc-mini span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .calc-mini b { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
}

@media (max-width: 760px) {
  .dash-tabs, .dash-actions .dash-ico, .dash-split { display: none; }
  .dash-head { grid-template-columns: 1fr; gap: 16px; padding-bottom: 14px; }
  .dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .kpi { grid-template-columns: 1fr; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
  .kpi .delta { display: none; }
  .kpi small { margin-top: 4px; font-size: 10.5px; line-height: 1.25; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-body .chart-panel { display: none; }
  .chat { height: 250px; }
  .sh { grid-template-columns: 1fr; gap: 16px; padding-top: 22px; }
  .sh-meta { padding-top: 0; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .steps-line { top: 28px; left: 28px; right: auto; width: 1px; height: var(--lh, calc(100% - 120px)); }
  .steps-line::after { transform-origin: 50% 0; transform: scaleY(var(--prog, 0)); }
  .step { grid-template-columns: 56px 1fr; text-align: left; justify-items: start; column-gap: 18px; row-gap: 6px; padding-bottom: 28px; }
  .step .step-dot { grid-row: span 3; width: 56px; }
  .proof { grid-template-columns: 1fr; }
  .quote--lead { grid-template-columns: 1fr; padding-bottom: 36px; }
  .quote--lead blockquote::before { position: static; display: block; height: .5em; margin-bottom: .1em; }
  .quote + .quote { margin-top: 30px; }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .footer-legal { grid-column: 1 / -1; grid-row: 2; }

  /* Plans: a swipeable row that opens on the recommended plan, instead of three stacked walls of text */
  .plan-switch {
    display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto 18px; padding: 4px;
    border-radius: 999px; border: 1px solid var(--line); background: rgb(var(--cream-rgb) / .02);
  }
  .plan-switch button {
    min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent;
    font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
    transition: background-color var(--t-base), color var(--t-base);
  }
  .plan-switch button[aria-current="true"] { background: var(--surface-3); color: var(--cream); box-shadow: inset 0 1px 0 rgb(var(--mist-rgb) / .06); }
  .plans {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 380px);
    max-width: none; gap: 12px; margin-inline: calc(var(--gutter) * -1);
    padding: 10px var(--gutter) 22px; scroll-padding-inline: var(--gutter);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { scroll-snap-align: center; }

  /* Thumb-reach action bar */
  html { scroll-padding-bottom: 96px; }
  .mbar {
    position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 10px; padding: 7px;
    border-radius: 999px; border: 1px solid var(--line-2);
    background: rgb(30 10 15 / .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 18px 44px -14px rgb(var(--shadow-rgb) / .9);
    translate: 0 160%; visibility: hidden;
    transition: translate .45s cubic-bezier(.55, 0, 1, .45), visibility 0s linear .45s;
  }
  .mbar.is-shown { translate: 0 0; visibility: visible; transition: translate .6s var(--ease-out); }
  .menu-open .mbar { translate: 0 160%; visibility: hidden; }
  .mbar .btn { flex: 1; --h: 48px; }
  .mbar-call { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--line-2); background: rgb(var(--cream-rgb) / .04); }
  .mbar-call .i { width: 19px; height: 19px; }
}

@media (max-width: 640px) {
  .hide-sm { display: none; }
  .btn { white-space: normal; text-align: center; padding-block: 12px; }
  .live-meta .chip-gold { display: none; }
  .bento { grid-template-columns: 1fr; }
  .span-2, .span-3 { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-ctas .btn { width: 100%; max-width: 360px; }
  .dots { gap: 4px; }
  .faq summary { grid-template-columns: 28px minmax(0, 1fr) 32px; gap: 12px; }
  .faq-a { padding: 0 0 26px 40px; }
  .included ul { grid-template-columns: 1fr; }
  .included li, .included li:nth-child(3) { padding: 0 0 0 16px; border-left: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-doc dl { grid-template-columns: 1fr; }
  .legal-doc dt { border-bottom: 0; padding-bottom: 4px; }
}

@media (hover: none) {
  .card::before { display: none; }
}

/* Touch: every target at least 44px */
@media (pointer: coarse) {
  .footer ul li { min-height: 44px; }
  .legal-tabs a { min-height: 44px; }
  input[type="range"] { height: 44px; }
}

/* ==========================================================================
   REDUCED MOTION: calm, not frozen
   Visitors who ask their system for less motion still get a living page:
   fades, light, glows, typing and changing numbers. What goes is travel,
   tilt, parallax, rotation, scaling and smooth scrolling.
   ========================================================================== */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out-soft { to { opacity: 0; } }
@keyframes typing-soft { 0%, 100% { opacity: .3; } 40% { opacity: 1; } }
@keyframes wave-soft { from { opacity: .3; } to { opacity: 1; } }
@keyframes num-flash { from { opacity: .3; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  /* Intro: everything fades in where it sits */
  .js .nav, .js.is-ready .nav { translate: -50% 0; }
  .js .hero [data-in], .js .stage .dash-in { translate: none; }
  .js .hero h1 .w > span { translate: none; opacity: 0; }
  .js.is-ready .hero h1 .w > span { opacity: 1; transition: opacity 1.3s var(--ease-soft); transition-delay: calc(var(--d, 0) * 1ms); }
  .js .flare, .js.is-ready .flare { scale: 1; }
  .js .brand-mark circle, .js .hero-badge circle { scale: 1; opacity: 0; }
  .js.is-ready .brand-mark circle, .js.is-ready .hero-badge circle { opacity: 1; transition: opacity .9s var(--ease-soft); }
  .js .tip, .js.is-ready .tip { translate: -50% -100%; }

  /* Dashboard chat: messages fade in, typing dots glow instead of bouncing */
  .msg, .booked { animation-name: fade-in; }
  .msg.typing i { animation-name: typing-soft; }
  .chat.is-fading > * { animation-name: fade-out-soft; }

  /* Reveals: opacity only */
  .js .reveal, .js .reveal-group > * { translate: none; }
  .js .reveal.in { transition: opacity 1.2s var(--ease-soft); transition-delay: calc(var(--i, 0) * 110ms); }
  .js .reveal-group.in > * { transition: opacity 1.2s var(--ease-soft) calc(var(--i, 0) * 110ms), border-color .4s, box-shadow .6s; }
  .js .head-reveal .sh-meta { translate: none; }
  .js .head-reveal .h2 .w > span { translate: none; opacity: 0; }
  .js .head-reveal.in .h2 .w > span { opacity: 1; transition: opacity 1s var(--ease-soft); transition-delay: calc(var(--wi, 0) * 45ms + 120ms); }
  .js .transcript li, .notify, .in .notify { translate: none; }
  .js .reveal-wm { clip-path: none; opacity: 0; }
  .js .reveal-wm.in { opacity: 1; transition: opacity 1.8s var(--ease-soft), --lx .5s var(--ease-out), --ly .5s var(--ease-out); }

  /* Services visuals: light and colour instead of movement */
  .wave i { transform: scaleY(var(--h)); }
  .is-live .wave i { animation-name: wave-soft; }
  .route .r-pulse { display: none; }
  .status .s-done, .in .status .s-new, .in .status .s-done { translate: none; }
  .cal .s.new { transform: none; opacity: 0; transition: opacity .9s var(--ease-soft) var(--d); }
  .in .cal .s.new { transform: none; opacity: 1; }
  .js .clock .q, .js .clock.run .q { scale: 1; }
  .js .clock .hand-g { display: none; }
  .step-dot i { transform: none; }

  /* Numbers fade to their new value instead of rolling */
  .odo-col { transition: none; }
  .big-num.flash { animation: num-flash .55s var(--ease-soft); }

  /* Interactions keep their light, lose their travel */
  .plan:hover { transform: none; }
  .faq summary:hover .faq-q { translate: none; }
  .faq details::details-content { transition: none; }
  .faq details[open] .faq-a p, .has-error .err { animation-name: fade-in; }
  .nav-pill { transition: opacity .35s var(--ease-soft); }
  .menu nav a { translate: none; }
  .menu-lang { translate: none; }
  .lmenu-list { animation-name: fade-in; }
  .form-success .ok-orb { animation-name: fade-in; }
  .mbar { translate: 0 0; opacity: 0; transition: opacity .4s var(--ease-soft), visibility 0s linear .4s; }
  .mbar.is-shown { opacity: 1; transition: opacity .5s var(--ease-soft); }
  .menu-open .mbar { translate: 0 0; opacity: 0; }
}

/* ==========================================================================
   SERVICES SWITCHBOARD
   One product stage; the list on the left chooses what it shows.
   ========================================================================== */
.sb { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.sb-list { position: relative; display: grid; border-left: 1px solid var(--line-2); }
.sb-ind {
  position: absolute; left: -1px; top: 0; width: 2px; height: var(--ih, 0); translate: 0 var(--iy, 0);
  background: var(--gold); box-shadow: 0 0 14px rgb(var(--ember-rgb) / .85);
  transition: translate .55s var(--ease-out), height .55s var(--ease-out);
}
.sb-tab {
  display: grid; gap: 4px; padding: 18px 0 18px 26px; border: 0; background: none; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sb-tab b { font-weight: 500; font-size: 1.12rem; color: var(--muted); transition: color var(--t-base); }
.sb-tab span { font-size: .95rem; color: var(--faint); transition: color var(--t-base); }
.sb-tab:hover b, .sb-tab[aria-selected="true"] b { color: var(--cream); }
.sb-tab[aria-selected="true"] span { color: var(--muted); }
.sb-tab:focus-visible { outline-offset: -3px; }
.sb-stage {
  position: relative; display: grid; min-height: 470px; padding: clamp(22px, 3vw, 40px); border-radius: 28px;
  background: radial-gradient(90% 70% at 100% 0%, rgb(var(--ember-rgb) / .18), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: 0 60px 120px -60px rgb(var(--shadow-rgb) / .95), inset 0 1px 0 rgb(var(--cream-rgb) / .05);
}
.sb-panel { grid-area: 1 / 1; display: grid; gap: 26px; align-content: space-between; }
.sb-panel[hidden] { display: grid; visibility: hidden; opacity: 0; }
.sb-panel { transition: opacity .3s var(--ease-soft), visibility 0s linear .3s; }
.sb-panel:not([hidden]) { opacity: 1; visibility: visible; transition: opacity .6s var(--ease-soft) .12s; }
.sb-panel:focus-visible { outline-offset: 10px; border-radius: 20px; }
.sb-viz { width: 100%; max-width: 520px; justify-self: center; align-self: center; padding-top: 6px; }
.sb-detail { padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); max-width: 54ch; }

@media (max-width: 960px) {
  .sb { grid-template-columns: 1fr; gap: 20px; }
  .sb-list {
    display: flex; gap: 8px; border-left: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
  }
  .sb-list::-webkit-scrollbar { display: none; }
  .sb-ind { display: none; }
  .sb-tab { flex: none; scroll-snap-align: start; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); align-content: center; }
  .sb-tab b { font-size: .95rem; white-space: nowrap; }
  .sb-tab span { display: none; }
  .sb-tab[aria-selected="true"] { background: var(--surface-3); border-color: rgb(var(--gold-rgb) / .5); }
  .sb-stage { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sb-ind { transition: none; }
}

/* ==========================================================================
   INTERACTIVE DASHBOARD (hero)
   Resumen sets the height; the other screens fill it and scroll inside.
   ========================================================================== */
.dash-views { position: relative; }
.dview { min-width: 0; transition: opacity .3s var(--ease-soft), visibility 0s linear .3s; }
.dview[hidden] { display: block; visibility: hidden; opacity: 0; }
.dview:not([hidden]) { opacity: 1; visibility: visible; transition: opacity .45s var(--ease-soft); }
.dview--fill { position: absolute; inset: 0; padding: 6px 6px 4px; overflow: hidden; }
.dview--fill * { scrollbar-width: thin; scrollbar-color: rgb(var(--cream-rgb) / .14) transparent; }
.dview--fill ::-webkit-scrollbar { width: 6px; height: 6px; }
.dview--fill ::-webkit-scrollbar-thumb { border-radius: 6px; background: rgb(var(--cream-rgb) / .14); }
.dview--fill ::-webkit-scrollbar-track { background: transparent; }
.panel-hint { font-size: 11px; color: var(--faint); }

/* Notifications */
.dash-bell { position: relative; }
.bell-dot { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--surface); }
.dash-pop {
  position: absolute; z-index: 6; right: 0; top: calc(100% + 8px); width: 290px; padding: 6px;
  display: grid; gap: 2px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2);
  box-shadow: 0 26px 60px -18px rgb(var(--shadow-rgb)); animation: dash-pop .25s var(--ease-out) both;
}
.dash-pop[hidden] { display: none; }
@keyframes dash-pop { from { opacity: 0; translate: 0 -4px; } to { opacity: 1; translate: 0 0; } }
.pop-title { margin: 0; padding: 8px 10px 6px; font-size: 11.5px; color: var(--faint); }
.dash-pop button { display: grid; gap: 2px; padding: 10px; border: 0; border-radius: 10px; background: transparent; color: var(--cream); text-align: left; font-size: 12.5px; cursor: pointer; transition: background-color var(--t-fast); }
.dash-pop button:hover, .dash-pop button:focus-visible { background: var(--surface-3); }
.dash-pop button b { font-weight: 500; }
.dash-pop button span { color: var(--faint); font-size: 11.5px; }

/* Chart: hover, drag or use the arrow keys */
.chart-plot { position: relative; border-radius: 8px; cursor: crosshair; touch-action: pan-y; }
.chart-plot:focus-visible { outline-offset: 4px; }
.chart-plot .tip { pointer-events: none; translate: 14px -50%; }
.chart-plot .tip.flip { translate: calc(-100% - 14px) -50%; }
.tip span { display: block; }
.js .chart-plot .tip { translate: 14px -36%; }
.js .chart-plot .tip.flip { translate: calc(-100% - 14px) -36%; }
.js.is-ready .chart-plot .tip { translate: 14px -50%; }
.js.is-ready .chart-plot .tip.flip { translate: calc(-100% - 14px) -50%; }
.dash.is-live .chart-plot .tip { transition: opacity .3s var(--ease-out), translate .4s var(--ease-out), left .22s var(--ease-out), top .22s var(--ease-out); }
.ch-cursor .cur-line { stroke: rgb(var(--gold-rgb) / .35); stroke-dasharray: 3 4; }
.ch-cursor .cur-in { fill: var(--cream); stroke: var(--surface); stroke-width: 3; }
.ch-cursor .cur-out { fill: var(--gold); stroke: var(--surface); stroke-width: 3; }
.js .ch-cursor { opacity: 0; }
.js.is-ready .ch-cursor { opacity: 1; transition: opacity .6s var(--ease-out) 3.4s; }
.dash.is-live .ch-cursor { transition: opacity .3s var(--ease-out), transform .22s var(--ease-out); }
.ch-cursor circle { transition: transform .22s var(--ease-out); }

/* Status labels shared by the screens */
.st { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 11px; white-space: nowrap; }
.st.ok { color: var(--gold-hi); border-color: rgb(var(--gold-rgb) / .4); background: rgb(var(--gold-rgb) / .08); }
.st.hot { color: var(--ink-on-gold); background: var(--gold); border-color: var(--gold); }
.st.note { color: var(--cream); }
.st.muted { color: var(--faint); }

/* Conversaciones */
.conv { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: 12px; height: 100%; }
.conv-list { display: grid; align-content: start; gap: 4px; min-height: 0; overflow-y: auto; }
.conv-item {
  width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center;
  padding: 10px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--cream); text-align: left; cursor: pointer;
  transition: background-color var(--t-base), border-color var(--t-base);
}
.conv-item:hover { background: var(--surface-2); }
.conv-item[aria-current="true"] { background: #35161A; border-color: var(--line-2); }
.conv-item .dash-avatar { grid-row: span 2; width: 34px; height: 34px; background: var(--surface-3); color: var(--cream); font-size: 11px; }
.conv-item b { font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-item time { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); }
.conv-item .pv { grid-column: 2 / -1; font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-thread { display: flex; flex-direction: column; min-height: 0; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.conv-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.conv-head .dash-avatar { width: 32px; height: 32px; flex: none; background: var(--surface-3); color: var(--cream); font-size: 11px; }
.conv-head b { display: block; font-weight: 500; font-size: 13px; }
.conv-head small { color: var(--faint); font-size: 11.5px; }
.conv-head .st { margin-left: auto; }
.conv-msgs { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 7px; padding: 14px; }
.conv-msgs .msg { animation: none; }
.conv-msgs .msg.new { animation: msg-in .5s var(--ease-out) both; }
.msg.agent { margin-left: auto; transform-origin: right bottom; background: transparent; border: 1px solid rgb(var(--cream-rgb) / .3); border-bottom-right-radius: 4px; }
.msg.agent::before { content: "Laura"; display: block; margin-bottom: 2px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); }
.conv-event { align-self: center; margin: 4px 0; padding: 5px 12px; border-radius: 999px; background: rgb(var(--gold-rgb) / .12); border: 1px solid rgb(var(--gold-rgb) / .3); color: var(--gold-hi); font-size: 11.5px; text-align: center; }
.conv-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.conv-state { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; color: var(--muted); }
.conv-state i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); transition: background-color var(--t-base), box-shadow var(--t-base); }
.conv.is-human .conv-state i { background: var(--cream); box-shadow: none; }
.conv-take {
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgb(var(--gold-rgb) / .5); background: rgb(var(--gold-rgb) / .08);
  color: var(--gold-hi); font-size: 12px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color var(--t-base), color var(--t-base), border-color var(--t-base);
}
.conv-take:hover { background: rgb(var(--gold-rgb) / .16); }
.conv-take[aria-pressed="true"] { border-color: var(--line-2); background: transparent; color: var(--cream); }
.conv-compose { display: flex; gap: 8px; padding: 0 14px 12px; }
.conv-compose[hidden] { display: none; }
.conv-compose input { flex: 1; min-width: 0; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-deep); color: var(--cream); font-size: 13px; }
.conv-compose input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgb(var(--gold-rgb) / .18); }
.conv-compose button { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--gold); color: var(--ink-on-gold); cursor: pointer; }
.conv-compose button .i { width: 16px; height: 16px; stroke-width: 2; }

/* Contactos */
.ct-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ct-search { display: flex; align-items: center; gap: 8px; height: 36px; min-width: 210px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-deep); color: var(--faint); transition: border-color var(--t-base); }
.ct-search:focus-within { border-color: var(--gold); }
.ct-search .i { width: 15px; height: 15px; }
.ct-search input { width: 100%; border: 0; background: transparent; color: var(--cream); font-size: 13px; outline: none; }
.ct-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-filters button, .aj-chips button {
  height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted);
  font-size: 12px; white-space: nowrap; cursor: pointer; transition: color var(--t-base), border-color var(--t-base), background-color var(--t-base);
}
.ct-filters button:hover, .aj-chips button:hover { color: var(--cream); border-color: rgb(var(--cream-rgb) / .3); }
.ct-filters button[aria-pressed="true"], .aj-chips button[aria-pressed="true"] { color: var(--cream); border-color: var(--gold); background: rgb(var(--gold-rgb) / .1); }
.ct-filters button span { margin-left: 5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.ct-wrap { height: calc(100% - 48px); overflow-y: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.ct-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ct-table th { position: sticky; top: 0; z-index: 1; padding: 10px 12px; text-align: left; font-weight: 500; font-size: 11.5px; color: var(--faint); background: #2F1317; border-bottom: 1px solid var(--line); }
.ct-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: middle; }
.ct-table tbody tr { animation: fade-in .35s var(--ease-soft) both; animation-delay: calc(var(--k, 0) * 30ms); transition: background-color var(--t-fast); }
.ct-table tbody tr:hover { background: var(--surface-2); }
.ct-table tbody tr:last-child td { border-bottom: 0; }
.ct-name { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--cream); white-space: nowrap; }
.ct-name .dash-avatar { width: 28px; height: 28px; flex: none; background: var(--surface-3); color: var(--cream); font-size: 10px; }
.ct-sub { display: none; }
.ct-empty { margin: 0; padding: 32px 16px; text-align: center; color: var(--faint); font-size: 13px; }

/* Visitas */
.vs-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 12px; }
.vs-days button {
  display: grid; justify-items: center; gap: 2px; padding: 8px 4px 9px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted); cursor: pointer; transition: border-color var(--t-base), background-color var(--t-base);
}
.vs-days button:hover { border-color: var(--line-2); }
.vs-days button[aria-pressed="true"] { border-color: var(--gold); background: rgb(var(--gold-rgb) / .08); }
.vs-days small { font-size: 11px; color: var(--faint); }
.vs-days .today small { color: var(--gold-hi); }
.vs-days b { font-family: var(--font-display); font-weight: 300; font-size: 20px; line-height: 1.1; color: var(--cream); }
.vs-days i { display: flex; gap: 3px; height: 5px; }
.vs-days i span { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.vs-list { display: grid; align-content: start; gap: 6px; height: calc(100% - 84px); overflow-y: auto; }
.vs-item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); animation: fade-in .35s var(--ease-soft) both; animation-delay: calc(var(--k, 0) * 60ms); }
.vs-time { font-family: var(--font-display); font-weight: 300; font-size: 19px; color: var(--cream); font-variant-numeric: tabular-nums; }
.vs-main b { display: block; font-weight: 500; font-size: 13px; color: var(--cream); }
.vs-main span { font-size: 11.5px; color: var(--faint); }
.vs-side { display: grid; justify-items: end; gap: 5px; }
.vs-by { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--faint); white-space: nowrap; }
.vs-by.ai::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.vs-empty { padding: 28px 16px; border-radius: 12px; border: 1px dashed var(--line-2); text-align: center; color: var(--faint); font-size: 13px; }

/* Ajustes */
.aj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; height: 100%; overflow-y: auto; }
.aj-block { display: grid; gap: 10px; align-content: start; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.aj-title { margin: 6px 0 0; font-size: 13px; color: var(--cream); }
.aj-title:first-child { margin-top: 0; }
.aj-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.aj-when { justify-self: start; }
.aj-when button { padding: 7px 12px; font-size: 12px; }
.aj-note { font-size: 11.5px; line-height: 1.5; color: var(--faint); }
.aj-switch { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); cursor: pointer; }
.aj-title + .aj-switch { border-top: 0; }
.aj-switch small { display: block; margin-top: 2px; font-size: 10.5px; color: var(--gold-hi); }
.aj-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.aj-switch i { position: relative; width: 36px; height: 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-3); transition: background-color var(--t-base), border-color var(--t-base); }
.aj-switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); transition: translate .35s var(--ease-out), background-color var(--t-base); }
.aj-switch input:checked + i { background: var(--gold); border-color: var(--gold); }
.aj-switch input:checked + i::after { translate: 16px 0; background: var(--ink-on-gold); }
.aj-switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.aj-check { display: flex; align-items: center; gap: 10px; padding: 3px 0; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.aj-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--gold); cursor: pointer; }

/* Saved / feedback toast */
.dash-toast {
  position: absolute; z-index: 7; left: 50%; top: 10px; margin: 0; padding: 8px 14px; border-radius: 999px;
  background: var(--cream); color: var(--ink-on-gold); font-size: 12px; font-weight: 500; white-space: nowrap; pointer-events: none;
  box-shadow: 0 12px 30px -12px rgb(var(--shadow-rgb));
  opacity: 0; translate: -50% -6px; transition: opacity var(--t-base), translate .4s var(--ease-out);
}
.dash-toast.on { opacity: 1; translate: -50% 0; }

@media (max-width: 1080px) {
  .aj-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .dash-top { flex-wrap: wrap; row-gap: 10px; }
  .dash-tabs { display: flex; order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; border-radius: 14px; }
  .dash-tabs::-webkit-scrollbar { display: none; }
  .dash-tabs button { flex: none; min-height: 36px; }
  .dash-actions .dash-ico { display: grid; }
  .dash-pop { width: min(290px, calc(100vw - 48px)); }
  .dview--fill { padding: 2px 0 0; }
  .conv { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 8px; }
  .conv-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .conv-list::-webkit-scrollbar { display: none; }
  .conv-item { width: auto; flex: none; grid-template-columns: 26px max-content; padding: 5px 12px 5px 5px; border-color: var(--line); border-radius: 999px; }
  .conv-item b { overflow: visible; }
  .conv-item .dash-avatar { grid-row: auto; width: 26px; height: 26px; font-size: 9.5px; }
  .conv-item time, .conv-item .pv { display: none; }
  .conv-head small { display: none; }
  .conv-foot { flex-wrap: wrap; }
  .conv-compose input, .ct-search input { font-size: 16px; }
  .ct-bar { flex-direction: column; align-items: stretch; gap: 8px; }
  .ct-search { min-width: 0; }
  .ct-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ct-filters::-webkit-scrollbar { display: none; }
  .ct-hide, .ct-busca { display: none; }
  .ct-table th, .ct-table td { padding-inline: 10px; }
  .ct-name { align-items: flex-start; white-space: normal; }
  .ct-sub { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 400; color: var(--faint); }
  .ct-wrap { height: calc(100% - 84px); }
  .vs-days { gap: 4px; }
  .vs-days b { font-size: 16px; }
  .vs-item { grid-template-columns: 50px minmax(0, 1fr); }
  .vs-side { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: start; gap: 8px; }
  .vs-list { height: calc(100% - 80px); }
  .aj-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .dash-pop { animation-name: fade-in; }
  .dash-toast, .dash-toast.on { translate: -50% 0; }
  .js .chart-plot .tip { translate: 14px -50%; }
  .js .chart-plot .tip.flip { translate: calc(-100% - 14px) -50%; }
}

/* ==========================================================================
   BRAND LIGHT
   Oxblood light and camel accents that make the widgets stand out. Three
   moments carry the boldness: a horizon glow behind the dashboard, a sheen on
   the main call to action, and a travelling border on the recommended plan.
   Everything else is still light.
   ========================================================================== */

/* Hero: a low oxblood horizon behind the dashboard */
.stage::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 6%;
  width: min(1500px, 150vw); height: 78%; translate: -50% 0; pointer-events: none;
  background: radial-gradient(50% 46% at 50% 50%, rgb(var(--ember-rgb) / .55), rgb(var(--oxblood-rgb) / .32) 48%, transparent 74%);
  filter: blur(24px);
}
.js .stage::before { opacity: 0; }
.js.is-ready .stage::before { opacity: 1; transition: opacity 2.2s var(--ease-soft) 1.1s; }

/* Main call to action: a sheen crosses the button every few seconds */
.hero-ctas .btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgb(var(--mist-rgb) / .62) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0;
  animation: sheen 6.5s var(--ease-inout) 3.2s infinite;
}
@keyframes sheen { 0%, 78% { background-position: 130% 0; } 100% { background-position: -30% 0; } }

/* Recommended plan: the border light travels around the card, the price picks up camel */
@keyframes spin-border { to { --spin: 360deg; } }
.plan--featured .plan-price b { color: var(--gold-hi); }

/* Calculator: the yearly figure glows */
.calc-out .big-num { color: var(--gold-hi); filter: drop-shadow(0 0 26px rgb(var(--ember-rgb) / .7)); }

/* Dashboard: the live conversation panel sits in its own light */
.live { box-shadow: 0 0 0 1px rgb(var(--gold-rgb) / .1), 0 22px 60px -24px rgb(var(--ember-rgb) / .75); }

@media (prefers-reduced-motion: reduce) {
  .hero-ctas .btn-primary::before { animation: none; opacity: 0; }
  .plan--featured::before { animation: none; }
}

/* ==========================================================================
   AMBIENT LIGHT
   Soft pools of lighter oxblood light sit at fixed places down the page (two
   per section, on different sides, one in the footer) and scroll with it.
   Each pool breathes on its own slow rhythm, so the light takes turns across
   the page. Reduced motion keeps the breathing: it is light, not movement.
   ========================================================================== */
body { isolation: isolate; } /* lets the pools sit behind the content but above the page colour */
.section::before, .section::after, .footer::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 0; width: 100%; height: 1000px; top: calc(var(--gy) - 500px);
  background:
    radial-gradient(260px 200px at var(--gx) 50%, rgb(var(--glint-rgb) / .01), transparent),
    radial-gradient(var(--gr) at var(--gx) 50%, rgb(var(--ember-rgb) / .07), rgb(var(--ember-rgb) / .038) 40%, rgb(var(--oxblood-rgb) / .025) 68%, transparent);
  animation: glow-breathe var(--gt) cubic-bezier(.37, 0, .63, 1) var(--gl) infinite alternate;
  --gr: 620px 470px;
}
@keyframes glow-breathe { from { opacity: .55; } to { opacity: 1; } }
.section::before { --gx: 14%; --gy: 30%; --gt: 10s; --gl: -3s; }
.section::after  { --gx: 86%; --gy: 72%; --gt: 13s; --gl: -8s; }
#problema::before       { --gx: 84%; --gy: 36%; --gt: 9s;  --gl: -2s; }
#problema::after        { --gx: 8%;  --gy: 86%; --gt: 12s; --gl: -7s; }
#servicios::before      { --gx: 12%; --gy: 22%; --gt: 11s; --gl: -5s; }
#servicios::after       { --gx: 80%; --gy: 70%; --gt: 9s;  --gl: -1s; }
#calculadora::before    { --gx: 88%; --gy: 18%; --gt: 12s; --gl: -9s; }
#calculadora::after     { --gx: 22%; --gy: 82%; --gt: 10s; --gl: -4s; }
#planes::before         { --gx: 6%;  --gy: 20%; --gt: 13s; --gl: -6s; }
#planes::after          { --gx: 94%; --gy: 64%; --gt: 10s; --gl: -2s; }
#como-empezamos::before { --gx: 12%; --gy: 14%; --gt: 9s;  --gl: -6s; }
#como-empezamos::after  { --gx: 90%; --gy: 96%; --gt: 12s; --gl: -3s; }
#preguntas::before      { --gx: 8%;  --gy: 40%; --gt: 11s; --gl: -8s; }
#preguntas::after       { --gx: 92%; --gy: 80%; --gt: 9s;  --gl: -5s; }
#cumplimiento::before   { --gx: 86%; --gy: 26%; --gt: 10s; --gl: -1s; }
#cumplimiento::after    { --gx: 14%; --gy: 84%; --gt: 13s; --gl: -9s; }
#contacto::before       { --gx: 20%; --gy: 34%; --gt: 12s; --gl: -4s; }
#contacto::after        { --gx: 82%; --gy: 68%; --gt: 9s;  --gl: -7s; }
.footer::before         { --gx: 50%; --gy: 80%; --gt: 11s; --gl: -6s; }
@media (max-width: 760px) {
  .section::before, .section::after, .footer::before { --gr: 360px 420px; }
}
