/* ══════════════════════════════════════════════════════
   RVMSES — Business Automation · home page
   Brand tokens match site.css (navy #0b1120, gold #b89a3e /
   #d4b44e, cream #e4dccb, Cormorant Garamond + Inter).
   The legal pages keep using site.css; this file is home-only.
   ══════════════════════════════════════════════════════ */

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

:root {
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;

  --bg: #0b1120;
  --bg-deep: #070b16;
  --panel: #0e1528;
  --panel-2: #131c34;
  --gold: #b89a3e;
  --gold-2: #d4b44e;
  --gold-3: #f1e0a3;
  --gold-deep: #7d5f16;
  --cream: #e4dccb;
  --white: #f1ede4;
  --text: #c9c4ba;
  --muted: #9d978b;
  --faint: #6f6a61;
  --line: rgba(184,154,62,.16);
  --line-2: rgba(184,154,62,.32);
  --red: #d8716b;

  --gilt: linear-gradient(100deg, #b89a3e 0%, #e9d48a 18%, #fff3c8 27%, #d4b44e 40%, #9c7a24 60%, #d4b44e 80%, #b89a3e 100%);
  --gold-solid: linear-gradient(135deg, #f3e3a6 0%, #d4b44e 38%, #b89a3e 62%, #8a6a1c 100%);
  --mark: url(/images/monogram.png);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 76px;
}

html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
  min-height: 100vh;
  transition: opacity .3s ease;
}
body.page-exit { opacity: 0; }
/* Film grain — keeps the large dark fields from looking flat */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(212,180,78,.35); color: var(--white); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 1rem; z-index: 3001;
  padding: .6rem 1rem; background: var(--gold); color: var(--bg);
  border-radius: 2px; font-size: .8rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; }

/* ── Layout helpers ────────────────────────────────── */
.wrap { width: min(1180px, 100% - 3rem); margin-inline: auto; }
section { position: relative; }
.sec { padding: clamp(5.5rem, 11vw, 9.5rem) 0; }
.sec-head { text-align: center; margin-bottom: clamp(2.8rem, 6vw, 4.5rem); }

.kicker {
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
}
.kicker::before, .kicker::after {
  content: ""; width: 32px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.kicker::after { background: linear-gradient(270deg, transparent, var(--gold)); }

.sec-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 1.3rem + 4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.012em;
  color: var(--white);
  margin-top: 1.2rem;
  text-wrap: balance;
}
.sec-title em, .hero-title em, .finale-title em {
  font-style: italic;
  font-weight: 400;
  background: var(--gilt);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 .08em 0 .02em;
  animation: sheen 9s linear infinite;
}
@keyframes sheen { from { background-position: 0 0; } to { background-position: -200% 0; } }

/* Scroll reveal (only when JS is running) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .tile.rv { opacity: 1; transform: none; }
.js .tile.rv > * { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .tile.rv > .viz { transition-delay: .08s; } .js .tile.rv > h3 { transition-delay: .16s; } .js .tile.rv > p { transition-delay: .22s; }
.js .tile.rv.in > * { opacity: 1; transform: none; }

/* ── Buttons ───────────────────────────────────────── */
.btn-gold {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  padding: 1.05rem 1.9rem;
  font-family: var(--sans); font-size: .74rem; font-weight: 600; line-height: 1;
  letter-spacing: .18em; text-transform: uppercase;
  color: #0b1120;
  background: linear-gradient(100deg, #a8872f 0%, #d4b44e 35%, #f4e2a0 50%, #d4b44e 65%, #a8872f 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  border: 0; border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 14px 44px -14px rgba(212,180,78,.65), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 0 rgba(0,0,0,.18);
  transition: background-position 1s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn-gold:hover { background-position: 0 0; transform: translateY(-2px); box-shadow: 0 22px 60px -14px rgba(212,180,78,.8), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(0,0,0,.18); }
.btn-gold:active { transform: translateY(0); }
.btn-gold svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn-gold:hover svg { transform: translateX(4px); }
.btn-gold.lg { padding: 1.25rem 2.3rem; font-size: .78rem; }
.btn-gold:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.btn-line {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 1rem .2rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream);
  transition: color .3s;
}
.btn-line::after {
  content: ""; position: absolute; left: .2rem; right: .2rem; bottom: .7rem; height: 1px;
  background: var(--gold); transform: scaleX(.3); transform-origin: left; transition: transform .6s var(--ease);
}
.btn-line:hover { color: var(--gold-2); }
.btn-line:hover::after { transform: scaleX(1); }

.btn-pill {
  padding: .72rem 1.2rem;
  font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(184,154,62,.06);
  border: 1px solid rgba(184,154,62,.45);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all .4s var(--ease);
}
.btn-pill:hover { background: var(--gold-2); color: var(--bg); box-shadow: 0 0 30px rgba(212,180,78,.35); }

/* ── Monogram (masked gold) ────────────────────────── */
.brand-mark, .mini-mark, .n-mark, .modal-mark {
  display: inline-block;
  aspect-ratio: 759 / 934;
  background: var(--gold-solid);
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}

/* ── Navigation ────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .6s var(--ease), border-color .6s, backdrop-filter .6s;
}
.nav.scrolled {
  background: rgba(8,13,26,.74);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-in {
  width: min(1280px, 100% - 3rem); margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .85rem; }
.brand-mark { width: 24px; filter: drop-shadow(0 0 10px rgba(212,180,78,.35)); transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.08); }
.brand-word { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; letter-spacing: .34em; color: var(--cream); }
.nav-links { display: flex; gap: 2.6rem; }
.nav-links a { font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--text); opacity: .75; transition: color .3s, opacity .3s; }
.nav-links a:hover { color: var(--gold-2); opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.lang-toggle { display: flex; align-items: center; gap: .15rem; }
.lang-toggle span { width: 1px; height: 12px; background: var(--line-2); margin: 0 .2rem; }
.lang-toggle button {
  background: none; border: 0; cursor: pointer;
  font-size: .68rem; font-weight: 500; letter-spacing: .14em;
  color: var(--muted); padding: .35rem .3rem;
  transition: color .3s;
}
.lang-toggle button:hover, .lang-toggle button.active { color: var(--gold-2); }

/* ══════════════ HERO ══════════════ */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 1.5rem) 0 5.5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-aura {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(30,44,80,.55), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 0%, #0f182d 0%, #0b1120 55%, #070b16 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: -1;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-inner {
  width: min(1100px, 100% - 2rem);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

/* Emblem: monogram inside a slowly turning engraved bezel */
.emblem-wrap { animation: emblemIn 2.2s var(--ease) .1s both; margin-bottom: clamp(.8rem, 2.6vh, 1.8rem); }
@keyframes emblemIn { from { opacity: 0; transform: scale(.86); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
.emblem {
  --size: clamp(190px, 34vh, 340px);
  position: relative;
  width: var(--size); aspect-ratio: 1;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
}
.emblem-glow {
  position: absolute; inset: -45%;
  background: radial-gradient(circle, rgba(212,180,78,.22) 0%, rgba(212,180,78,.08) 30%, transparent 62%);
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe { 50% { opacity: .6; transform: scale(.94); } }
.bezel { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bz-line { fill: none; stroke: rgba(184,154,62,.34); stroke-width: .8; }
.bz-line.faint { stroke: rgba(184,154,62,.16); }
.bz-ticks { transform-origin: 200px 200px; animation: spin 180s linear infinite; }
.bz-ticks line { stroke: rgba(212,180,78,.42); stroke-width: 1; }
.bz-ticks line.major { stroke: rgba(241,224,163,.8); stroke-width: 1.4; }
.bz-text-rot { transform-origin: 200px 200px; animation: spin 120s linear infinite reverse; }
.bz-text { font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .28em; fill: rgba(212,180,78,.78); }
.bz-index { fill: var(--gold-3); filter: drop-shadow(0 0 4px rgba(241,224,163,.8)); }
@keyframes spin { to { transform: rotate(360deg); } }

.emblem-mono {
  position: absolute; left: 50%; top: 50%;
  width: 43%; aspect-ratio: 759 / 934;
  transform: translate(-50%, -50%) translateZ(46px);
  filter: drop-shadow(0 0 18px rgba(212,180,78,.38)) drop-shadow(0 14px 26px rgba(0,0,0,.55));
}
.emblem-mono i {
  position: absolute; inset: 0;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.mono-fill {
  background: linear-gradient(135deg, #6f5212 0%, #b89a3e 18%, #f6e7b0 32%, #caa646 46%, #7d5f16 60%, #d4b44e 76%, #fbefc2 90%, #b89a3e 100%);
  background-size: 260% 260%;
  animation: goldDrift 14s ease-in-out infinite alternate;
}
@keyframes goldDrift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.mono-shine {
  background: radial-gradient(circle at var(--sx, 32%) var(--sy, 22%), rgba(255,250,228,.95) 0%, rgba(255,240,190,.35) 20%, transparent 46%);
  mix-blend-mode: overlay;
}
.mono-sweep {
  background: linear-gradient(105deg, transparent 38%, rgba(255,252,235,.85) 49%, transparent 60%);
  background-size: 320% 100%;
  background-position: 160% 0;
  mix-blend-mode: screen;
  animation: sweep 7s var(--ease) 1.6s infinite;
}
@keyframes sweep { 0% { background-position: 160% 0; } 42%, 100% { background-position: -60% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 1rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .44em; text-transform: uppercase;
  color: var(--gold);
  animation: rise 1.4s var(--ease) .55s both;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow::after { background: linear-gradient(270deg, transparent, var(--gold)); }
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.9rem, min(7vw, 10.6vh), 7.8rem);
  line-height: .98;
  letter-spacing: -.018em;
  color: var(--white);
  margin: 1rem 0 1.3rem;
  animation: rise 1.5s var(--ease) .7s both;
}
.hero-title em { display: block; }
.hero-sub {
  max-width: 34rem;
  font-size: clamp(1rem, .94rem + .3vw, 1.14rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  animation: rise 1.5s var(--ease) .9s both;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem;
  margin-top: 2.2rem;
  animation: rise 1.5s var(--ease) 1.05s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Floating task notifications */
.toasts { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.toast {
  position: absolute;
  transform: translate3d(calc(var(--mx, 0) * var(--d) * 1px), calc(var(--my, 0) * var(--d) * 1px), 0);
  animation: toastIn 1.4s var(--ease) both;
}
.t1 { left: 4.5%; top: 25%; animation-delay: 1.6s; }
.t2 { left: 7.5%; bottom: 17%; animation-delay: 2s; }
.t3 { right: 4.5%; top: 31%; animation-delay: 1.8s; }
.t4 { right: 7.5%; bottom: 20%; animation-delay: 2.2s; }
@keyframes toastIn { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }
.toast-in {
  display: flex; align-items: center; gap: .85rem;
  width: 268px;
  padding: .8rem 1rem .8rem .8rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(26,37,66,.72), rgba(12,18,34,.72));
  border: 1px solid rgba(184,154,62,.22);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: bob 8s ease-in-out infinite;
}
.t2 .toast-in { animation-delay: -2s; } .t3 .toast-in { animation-delay: -4s; } .t4 .toast-in { animation-delay: -6s; }
@keyframes bob { 50% { transform: translateY(-9px); } }
.toast-ic {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, #f6e7b0, #c9a544 55%, #7d5f16);
  box-shadow: 0 0 16px rgba(212,180,78,.35);
}
.toast-ic svg, .v-pill svg, .box svg, .success-seal svg {
  fill: none; stroke: #0b1120; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.toast-ic svg { width: 15px; height: 15px; }
.toast-tx { min-width: 0; transition: opacity .35s ease, transform .45s var(--ease); }
.toast-tx b { display: block; font-size: .8rem; font-weight: 500; color: var(--white); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast-tx small { display: block; font-size: .7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast-time { margin-left: auto; padding-left: .6rem; font-size: .62rem; letter-spacing: .06em; color: var(--gold); white-space: nowrap; }
.toast.swap .toast-tx { opacity: 0; transform: translateY(7px); }
.toast.fresh .toast-in { border-color: rgba(212,180,78,.55); box-shadow: 0 24px 60px -24px rgba(0,0,0,.9), 0 0 34px -6px rgba(212,180,78,.35), inset 0 1px 0 rgba(255,255,255,.07); }
.toast .toast-in { transition: border-color .8s, box-shadow .8s; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px;
  width: 1px; height: 58px;
  background: linear-gradient(var(--line-2), transparent);
  overflow: hidden;
}
.scroll-cue span {
  position: absolute; left: 0; top: -20px; width: 1px; height: 20px;
  background: linear-gradient(transparent, var(--gold-3));
  animation: drip 2.4s var(--ease) infinite;
}
@keyframes drip { to { top: 60px; } }

/* ══════════════ MARQUEE ══════════════ */
.marquee {
  position: relative;
  padding: 1.5rem 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(90deg, var(--bg), rgba(19,28,52,.55), var(--bg));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.mq-track { display: flex; width: max-content; animation: mq 70s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-group {
  display: flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 2.1rem);
  color: var(--cream);
  white-space: nowrap;
}
.mq-group i {
  display: inline-block; width: 6px; height: 6px; flex-shrink: 0;
  background: var(--gold-2); transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(212,180,78,.7);
}
@keyframes mq { to { transform: translateX(-50%); } }

/* ══════════════ LIVE PREVIEW ══════════════ */
.preview { overflow: hidden; }
.preview::before {
  content: ""; position: absolute; left: 50%; top: 42%; width: 900px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(184,154,62,.09), transparent 65%);
  pointer-events: none;
}
.stage {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: center;
  max-width: 1120px; margin-inline: auto;
}
.app {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg, #111a31, #0b1224);
  border: 1px solid rgba(184,154,62,.22);
  box-shadow: 0 70px 120px -50px rgba(0,0,0,.95), 0 0 90px -40px rgba(212,180,78,.3), inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}
.app-bar {
  display: flex; align-items: center; gap: 1rem;
  height: 46px; padding: 0 1.1rem;
  background: rgba(6,10,20,.55);
  border-bottom: 1px solid rgba(184,154,62,.12);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #243052; }
.app-url {
  margin-inline: auto;
  padding: .32rem 1rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; color: var(--muted);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); border-radius: 7px;
}
.app-live { display: flex; align-items: center; gap: .5rem; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.app-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(212,180,78,.7); } 100% { box-shadow: 0 0 0 9px rgba(212,180,78,0); } }

.app-body { display: grid; grid-template-columns: 206px minmax(0, 1fr); min-height: 590px; }
.app-side {
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1.4rem .9rem;
  border-right: 1px solid rgba(184,154,62,.1);
  background: rgba(5,9,18,.35);
}
.side-h { margin: 0 .7rem .7rem; font-size: .6rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }
.pv-tabs { display: flex; flex-direction: column; gap: .3rem; }
.pv-tab {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: .7rem;
  width: 100%; padding: .72rem .75rem;
  font-size: .8rem; font-weight: 500; text-align: left;
  color: var(--muted);
  background: none; border: 1px solid transparent; border-radius: 10px;
  cursor: pointer;
  transition: background .4s, border-color .4s, color .4s;
}
.pv-tab svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pv-tab:hover { color: var(--cream); background: rgba(255,255,255,.025); }
.pv-tab[aria-selected="true"] {
  color: var(--white);
  background: linear-gradient(90deg, rgba(184,154,62,.16), rgba(184,154,62,.03));
  border-color: rgba(184,154,62,.26);
}
.pv-tab[aria-selected="true"] svg { color: var(--gold-2); }
.pv-tab .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-3)); transition: width .7s var(--ease); }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: .6rem; padding: 0 .7rem; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.side-foot .mini-mark { width: 14px; }

.app-main { display: flex; flex-direction: column; gap: 1.3rem; padding: 1.6rem clamp(1.1rem, 3vw, 2.3rem) 1.4rem; min-width: 0; }
@media (min-width: 1061px) { .app-main { padding-right: calc(56px + 2rem); } }
.trigger {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.055);
}
.trg-ic { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(184,154,62,.12); color: var(--gold-2); }
.trg-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.trg-body { min-width: 0; }
.trg-src { display: block; font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.trg-msg { font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.3; color: var(--white); min-height: 1.3em; }
.caret { display: inline-block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -.14em; background: var(--gold-2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.flow { list-style: none; position: relative; display: flex; flex-direction: column; --p: 0; }
.flow::before, .flow::after { content: ""; position: absolute; left: 17px; top: 26px; width: 1px; }
.flow::before { bottom: 26px; background: rgba(184,154,62,.16); }
.flow::after {
  height: calc((100% - 52px) * var(--p));
  background: linear-gradient(var(--gold-3), var(--gold));
  box-shadow: 0 0 12px rgba(212,180,78,.8);
  transition: height .8s var(--ease);
}
.st { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .5rem 0; opacity: .34; transition: opacity .5s; }
.st[data-s="run"], .st[data-s="done"] { opacity: 1; }
.st-dot {
  position: relative; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: #0d1428; border: 1px solid rgba(184,154,62,.28);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.st[data-s="done"] .st-dot {
  background: radial-gradient(circle at 32% 28%, #f6e7b0, #c9a544 55%, #7d5f16);
  border-color: transparent;
  box-shadow: 0 0 0 5px rgba(212,180,78,.08), 0 0 24px rgba(212,180,78,.4);
}
.st-check { width: 16px; height: 16px; fill: none; stroke: #0b1120; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .5s .15s var(--ease); }
.st[data-s="done"] .st-check { stroke-dashoffset: 0; }
.st-spin { position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--gold-3); opacity: 0; animation: spin .75s linear infinite; }
.st[data-s="run"] .st-spin { opacity: 1; }
.st-tx { min-width: 0; }
.st-tx b { display: block; font-size: .9rem; font-weight: 500; line-height: 1.35; color: var(--white); }
.st-tx small { display: block; font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-t { font-family: var(--mono); font-size: .7rem; color: var(--gold); opacity: 0; transition: opacity .4s; }
.st[data-s="done"] .st-t { opacity: 1; }

.pv-result {
  min-height: 42px;
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold-3);
  opacity: 0; transform: translateY(6px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.pv-result.show { opacity: 1; transform: none; }
.pv-result::before, .pv-result::after { content: ""; width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.pv-result::after { background: linear-gradient(270deg, transparent, var(--gold)); }

.app-stats { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 1.1rem; border-top: 1px solid rgba(184,154,62,.12); }
.app-stats small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.app-stats b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.75rem); line-height: 1.3; color: var(--white); font-variant-numeric: lining-nums tabular-nums; }
#pvStatus.done { color: var(--gold-2); }

/* Phone */
.phone {
  position: relative; z-index: 2;
  width: 290px; height: 590px;
  margin-left: -56px;
  transform: translateY(46px);
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(145deg, #2b303e, #0c1019 42%, #1c2231);
  box-shadow: 0 60px 110px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(184,154,62,.3), inset 0 0 0 1px rgba(255,255,255,.07), inset 0 0 0 3px #05070d;
}
.phone-screen { position: relative; height: 100%; display: flex; flex-direction: column; border-radius: 38px; overflow: hidden; background: #0a0f1d; }
.phone-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 88px; height: 25px; border-radius: 20px; background: #000; z-index: 3; }
.phone-head {
  display: flex; align-items: center; gap: .65rem;
  padding: 46px 14px 11px;
  background: linear-gradient(180deg, #131b31, #0e1528);
  border-bottom: 1px solid rgba(184,154,62,.12);
}
.ph-av { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #0b1120; border: 1px solid rgba(184,154,62,.45); }
.ph-av .mini-mark { width: 13px; }
.phone-head b { display: block; font-size: .8rem; font-weight: 600; color: var(--white); line-height: 1.25; }
.phone-head small { display: block; font-size: .64rem; color: var(--gold-2); }
.phone-chat {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 7px;
  padding: 12px 11px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(184,154,62,.05), transparent 40%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 2px, transparent 2px 14px),
    #0a0f1d;
}
.bub {
  max-width: 84%;
  padding: .55rem .75rem .45rem;
  border-radius: 15px;
  font-size: .75rem; line-height: 1.42;
  animation: bubIn .5s var(--ease) both;
}
.bub.in { align-self: flex-start; background: #172039; color: var(--text); border: 1px solid rgba(255,255,255,.05); border-bottom-left-radius: 5px; }
.bub.out { align-self: flex-end; background: linear-gradient(135deg, #e0c469, #b89a3e); color: #0b1120; font-weight: 500; border-bottom-right-radius: 5px; }
.bub .meta { display: block; margin-top: 2px; font-size: .56rem; text-align: right; opacity: .55; }
.bub .acts { display: flex; gap: 5px; margin-top: 7px; }
.bub .acts span { flex: 1; padding: .38rem .4rem; text-align: center; font-size: .68rem; font-weight: 600; color: var(--gold-2); border: 1px solid rgba(212,180,78,.38); border-radius: 8px; transition: background .3s, color .3s; }
.bub .acts span.tap { background: var(--gold-2); color: #0b1120; }
.bub.typing { display: flex; gap: 4px; padding: .7rem .8rem; }
.bub.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: dot 1.1s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .15s; } .bub.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { transform: translateY(-3px); opacity: 1; } 0%, 60%, 100% { opacity: .4; } }
@keyframes bubIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.chip-day { align-self: center; padding: .2rem .7rem; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); background: rgba(255,255,255,.03); border-radius: 999px; margin-bottom: 4px; }
.phone-input { margin: 0 10px 14px; padding: .6rem .9rem; font-size: .7rem; color: var(--faint); border-radius: 999px; background: #121a2f; border: 1px solid rgba(255,255,255,.05); }

/* ══════════════ BEFORE / AFTER ══════════════ */
.ba {
  --pos: 50%;
  position: relative;
  height: clamp(540px, 46vw, 600px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(184,154,62,.22);
  box-shadow: 0 50px 110px -50px rgba(0,0,0,.95);
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
}
.ba-layer {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1.12fr .88fr; grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(.9rem, 2vw, 1.4rem);
  padding: clamp(3.2rem, 5vw, 3.6rem) clamp(1rem, 3vw, 2.2rem) clamp(1rem, 3vw, 2rem);
}
.ba-before {
  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 28px 28px,
    #1a1e27;
}
.ba-after {
  background: radial-gradient(ellipse 80% 60% at 70% 0%, rgba(184,154,62,.12), transparent 60%), #0b1120;
  clip-path: inset(0 0 0 var(--pos));
}
.ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 2px; transform: translateX(-1px);
  background: linear-gradient(transparent, var(--gold-2) 12%, var(--gold-3) 50%, var(--gold-2) 88%, transparent);
  box-shadow: 0 0 20px rgba(212,180,78,.9);
  pointer-events: none;
}
.ba-knob {
  position: absolute; top: 50%; left: var(--pos); z-index: 4;
  width: 60px; height: 60px; border-radius: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  color: #0b1120;
  background: radial-gradient(circle at 32% 28%, #f6e7b0, #c9a544 55%, #7d5f16);
  box-shadow: 0 0 0 9px rgba(212,180,78,.14), 0 14px 34px rgba(0,0,0,.6);
  cursor: grab;
  transition: box-shadow .4s;
}
.ba-knob:hover, .ba.dragging .ba-knob { box-shadow: 0 0 0 14px rgba(212,180,78,.18), 0 14px 34px rgba(0,0,0,.6); }
.ba.dragging .ba-knob { cursor: grabbing; }
.ba-knob svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba-tag {
  position: absolute; top: 14px; z-index: 2;
  padding: .42rem .85rem; border-radius: 999px;
  font-size: .6rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
}
.ba-before .ba-tag { left: 16px; color: #f0a39d; background: rgba(216,113,107,.14); border: 1px solid rgba(216,113,107,.34); }
.ba-after .ba-tag { right: 16px; color: var(--gold-2); background: rgba(212,180,78,.12); border: 1px solid rgba(212,180,78,.34); }
.ba-hint { margin-top: 1.4rem; text-align: center; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* chaos pieces */
.x-card { position: relative; min-height: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px -16px rgba(0,0,0,.8); }
.x-sheet { grid-area: 1 / 1; display: flex; flex-direction: column; background: #eceae4; color: #2a2d33; transform: rotate(-1.6deg) translate(4px, 4px); font-size: .68rem; }
.x-sheet-h { display: flex; align-items: center; gap: .5rem; padding: .45rem .7rem; background: #d9d6ce; border-bottom: 1px solid #c5c1b7; font-weight: 600; font-size: .66rem; color: #3b3f46; }
.x-sheet-h i { width: 10px; height: 12px; border-radius: 2px; background: #6d8f6f; }
.x-grid { flex: 1; display: grid; grid-template-columns: 1.3fr repeat(7, 1fr); grid-auto-rows: 1fr; }
.x-grid span { display: flex; align-items: center; padding: .3rem .3rem; border-right: 1px solid #d6d3cb; border-bottom: 1px solid #d6d3cb; white-space: nowrap; overflow: hidden; text-overflow: clip; font-family: var(--mono); font-size: .6rem; }
.x-grid span.h { background: #e2dfd8; font-weight: 700; font-family: var(--sans); color: #555; }
.x-grid span.r { background: #f6c9c4; color: #9b1c14; font-weight: 700; }
.x-grid span.y { background: #f7ea9f; }
.x-grid span.s { text-decoration: line-through; color: #999; }
.x-scribble { position: absolute; pointer-events: none; fill: none; stroke: #d0342c; stroke-width: 2.2; stroke-linecap: round; opacity: .85; }
.x-chat { grid-area: 1 / 2; min-height: 0; background: #e7ded3; transform: rotate(1.8deg) translate(-2px, 10px); display: flex; flex-direction: column; }
.x-chat-h { display: flex; align-items: center; gap: .55rem; padding: .55rem .75rem; background: #2d3b36; color: #eef; font-size: .7rem; font-weight: 600; }
.x-chat-h small { display: block; font-weight: 400; font-size: .58rem; opacity: .7; }
.x-chat-h .x-av { width: 22px; height: 22px; border-radius: 50%; background: #8aa39a; }
.x-badge { margin-left: auto; min-width: 22px; padding: .1rem .38rem; border-radius: 999px; background: #e0443a; color: #fff; font-size: .62rem; font-weight: 700; text-align: center; }
.x-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; padding: .6rem; overflow: hidden; }
.x-msgs p { max-width: 86%; padding: .34rem .55rem; border-radius: 8px; background: #fff; color: #222; font-size: .66rem; line-height: 1.35; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.x-msgs p b { display: block; font-size: .56rem; color: #b0413e; }
.x-msgs p.me { align-self: flex-end; background: #d6f3c2; }
.x-mail { grid-area: 2 / 1; background: #f4f3ef; color: #26282c; transform: rotate(-.8deg) translate(6px, -2px); }
.x-mail-h { display: flex; justify-content: space-between; padding: .45rem .75rem; font-size: .64rem; font-weight: 700; background: #e3e1da; color: #444; }
.x-mail-h span { color: #d0342c; }
.x-mail p { display: flex; align-items: center; gap: .5rem; padding: .42rem .75rem; border-top: 1px solid #e1ded6; font-size: .66rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-mail p::before { content: "!"; flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; background: #e0443a; color: #fff; font-size: .55rem; font-weight: 800; }
.x-notes { grid-area: 2 / 2; position: relative; min-height: 120px; }
.x-note { position: absolute; width: 58%; padding: .7rem .75rem 1rem; font-family: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive; font-size: .74rem; line-height: 1.3; color: #3a3320; box-shadow: 0 10px 20px -8px rgba(0,0,0,.6); }
.x-note.n1 { left: 2%; top: 4%; background: #f3df79; transform: rotate(-5deg); }
.x-note.n2 { right: 2%; top: 14%; background: #f4b9c4; transform: rotate(6deg); }
.x-file { position: absolute; left: 22%; bottom: 0; display: flex; align-items: center; gap: .45rem; padding: .35rem .6rem; font-size: .62rem; font-weight: 600; color: #2c2f35; background: #fff; border-radius: 5px; transform: rotate(-2deg); box-shadow: 0 8px 18px -8px rgba(0,0,0,.6); }
.x-file i { width: 12px; height: 15px; border-radius: 2px; background: #6d8f6f; }

/* calm pieces */
.c-card { position: relative; min-height: 0; border-radius: 14px; padding: 1rem 1.1rem; background: linear-gradient(180deg, rgba(22,32,58,.8), rgba(13,20,38,.8)); border: 1px solid rgba(184,154,62,.18); box-shadow: 0 20px 40px -24px rgba(0,0,0,.9); overflow: hidden; }
.c-h { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .8rem; }
.c-h b { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--white); white-space: nowrap; }
.c-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; font-size: .6rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-2); background: rgba(212,180,78,.1); border: 1px solid rgba(212,180,78,.3); white-space: nowrap; }
.c-pill svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.c-roster { grid-area: 1 / 1; display: flex; flex-direction: column; }
.c-grid { flex: 1; display: grid; grid-template-columns: 1.1fr repeat(7, 1fr); grid-auto-rows: 1fr; gap: 4px; }
.c-grid span { display: grid; place-items: center; padding: .2rem 0; text-align: center; font-size: .56rem; border-radius: 4px; white-space: nowrap; overflow: hidden; }
.c-grid span.h { color: var(--faint); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.c-grid span.n { place-items: center start; text-align: left; color: var(--text); font-size: .62rem; }
.c-grid span.a { background: rgba(212,180,78,.2); color: var(--gold-3); }
.c-grid span.b { background: rgba(228,220,203,.1); color: var(--cream); }
.c-grid span.c { background: rgba(80,110,170,.22); color: #b9c7e6; }
.c-grid span.o { background: rgba(255,255,255,.025); }
.c-status { grid-area: 1 / 2; display: flex; flex-direction: column; }
.c-row { flex: 1; display: flex; align-items: center; gap: .7rem; padding: .62rem 0; border-top: 1px solid rgba(184,154,62,.1); font-size: .76rem; }
.c-row:first-of-type { border-top: 0; }
.c-row .box { flex-shrink: 0; }
.c-row span { color: var(--text); }
.c-row em { margin-left: auto; font-style: normal; font-family: var(--serif); font-size: 1rem; color: var(--gold-3); white-space: nowrap; }
.c-inbox { grid-area: 2 / 1; display: flex; align-items: center; gap: 1.2rem; }
.c-inbox b { font-family: var(--serif); font-weight: 300; font-size: 4.2rem; line-height: .9; color: var(--gold-2); }
.c-inbox small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.c-inbox span { display: block; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--cream); }
.c-chart { grid-area: 2 / 2; }
.c-chart small { display: block; margin-bottom: .6rem; font-size: .58rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.c-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.c-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--gold-2), rgba(184,154,62,.25)); }

/* shared checkbox */
.box {
  width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, #f6e7b0, #c9a544 55%, #7d5f16);
}
.box svg { width: 13px; height: 13px; }

/* ══════════════ CAPABILITIES (bento) ══════════════ */
.bento {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 380px;
  padding: clamp(1.5rem, 2.6vw, 2.3rem);
  background: linear-gradient(180deg, #0d1427, #0b1120);
}
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), rgba(212,180,78,.1), transparent 60%);
  opacity: 0; transition: opacity .6s;
}
.tile:hover::before { opacity: 1; }
.tile .idx { position: absolute; top: 1.4rem; right: 1.6rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; color: var(--faint); }
.tile h3 { margin-top: 1.6rem; font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; color: var(--white); }
.tile p { margin-top: .45rem; font-size: .9rem; color: var(--muted); }
.viz { position: relative; height: 180px; margin-top: .6rem; display: grid; place-items: center; }

/* 01 roster */
.v-roster { align-content: center; gap: 8px; }
.v-days, .v-cells { display: grid; grid-template-columns: repeat(7, 26px); gap: 7px; }
.v-days span { text-align: center; font-size: .6rem; font-weight: 600; letter-spacing: .08em; color: var(--faint); }
.v-cells i { height: 26px; border-radius: 6px; background: rgba(255,255,255,.035); border: 1px solid rgba(184,154,62,.12); }
.tile.in .v-cells i:not(.off) { animation: cellFill 6s var(--ease) infinite; animation-delay: calc(var(--i) * 70ms); }
@keyframes cellFill {
  0%, 6% { background: rgba(255,255,255,.035); box-shadow: none; border-color: rgba(184,154,62,.12); }
  14%, 74% { background: linear-gradient(135deg, #f1e0a3, #b89a3e); box-shadow: 0 0 14px rgba(212,180,78,.35); border-color: transparent; }
  88%, 100% { background: rgba(255,255,255,.035); box-shadow: none; border-color: rgba(184,154,62,.12); }
}
.v-cells i.off { background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 3px, transparent 3px 6px); }

/* 02 payroll */
.v-pay { align-content: center; justify-items: center; gap: .3rem; }
.v-pay small { font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.v-count { font-family: var(--serif); font-weight: 300; font-size: 5.2rem; line-height: 1; color: var(--white); font-variant-numeric: lining-nums tabular-nums; }
.v-pill { display: inline-flex; align-items: center; gap: .45rem; margin-top: .3rem; padding: .35rem .8rem .35rem .4rem; border-radius: 999px; font-size: .68rem; font-weight: 600; color: var(--gold-2); background: rgba(212,180,78,.1); border: 1px solid rgba(212,180,78,.3); opacity: 0; transform: translateY(6px); transition: all .7s var(--ease) 1.6s; }
.v-pill svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--gold-2); }
.tile.in .v-pill { opacity: 1; transform: none; }

/* 03 onboarding */
.v-check { align-content: center; justify-items: start; gap: .7rem; width: 100%; max-width: 230px; margin-inline: auto; }
.v-check div { display: flex; align-items: center; gap: .75rem; font-size: .84rem; color: var(--text); }
.v-check .box { background: rgba(255,255,255,.04); border: 1px solid rgba(184,154,62,.3); }
.v-check .box svg { opacity: 0; }
.tile.in .v-check .box { animation: tick 6s var(--ease) infinite; animation-delay: calc(var(--i) * .55s); }
.tile.in .v-check .box svg { animation: tickSvg 6s var(--ease) infinite; animation-delay: calc(var(--i) * .55s); }
@keyframes tick {
  0%, 8% { background: rgba(255,255,255,.04); border-color: rgba(184,154,62,.3); box-shadow: none; }
  14%, 80% { background: radial-gradient(circle at 32% 28%, #f6e7b0, #c9a544 55%, #7d5f16); border-color: transparent; box-shadow: 0 0 14px rgba(212,180,78,.35); }
  90%, 100% { background: rgba(255,255,255,.04); border-color: rgba(184,154,62,.3); box-shadow: none; }
}
@keyframes tickSvg { 0%, 8% { opacity: 0; } 14%, 80% { opacity: 1; } 90%, 100% { opacity: 0; } }

/* 04 compliance */
.v-ring svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.v-ring circle { fill: none; }
.r-dash { stroke: rgba(184,154,62,.22); stroke-width: 1; stroke-dasharray: 2 6; transform-origin: 70px 70px; animation: spin 40s linear infinite; }
.r-bg { stroke: rgba(255,255,255,.05); stroke-width: 6; }
.r-fg { stroke: var(--gold-2); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; filter: drop-shadow(0 0 6px rgba(212,180,78,.55)); transition: stroke-dashoffset 2.4s var(--ease) .3s; }
.tile.in .r-fg { stroke-dashoffset: 0; }
.r-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.r-label b { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--white); }
.r-label small { font-size: .58rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* 05 integration */
.v-net svg { width: 100%; max-width: 290px; overflow: visible; }
.n-lines path { fill: none; stroke: rgba(212,180,78,.55); stroke-width: 1.2; stroke-dasharray: 3 7; }
.tile.in .n-lines path { animation: flowDash 1.6s linear infinite; }
@keyframes flowDash { to { stroke-dashoffset: -20; } }
.n-nodes rect { fill: #111a31; stroke: rgba(184,154,62,.35); stroke-width: 1; }
.n-nodes text { fill: var(--cream); font-family: var(--sans); font-size: 10px; font-weight: 500; text-anchor: middle; }
.n-hub { fill: #0b1120; stroke: var(--gold-2); stroke-width: 1.2; filter: drop-shadow(0 0 12px rgba(212,180,78,.5)); }
.n-mark { position: absolute; left: 50%; top: 50%; width: 22px; transform: translate(-50%, -50%); }

/* 06 documentation */
.v-docs { perspective: 800px; }
.pg { position: absolute; width: 150px; height: 150px; border-radius: 10px; background: linear-gradient(180deg, #16203b, #0f172c); border: 1px solid rgba(184,154,62,.2); box-shadow: 0 16px 30px -14px rgba(0,0,0,.9); transition: transform .9s var(--ease); }
.p1 { transform: rotate(-11deg) translate(-26px, 8px); opacity: .55; }
.p2 { transform: rotate(-4deg) translate(-12px, 3px); opacity: .8; }
.p3 { transform: rotate(4deg) translate(10px, -4px); padding: 1rem .95rem; display: flex; flex-direction: column; gap: 9px; }
.tile:hover .p1 { transform: rotate(-16deg) translate(-44px, 10px); }
.tile:hover .p2 { transform: rotate(-6deg) translate(-20px, 4px); }
.tile:hover .p3 { transform: rotate(6deg) translate(18px, -8px); }
.pg-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.pg-h b { font-size: .6rem; font-weight: 600; color: var(--white); }
.pg-h em { font-style: normal; font-family: var(--mono); font-size: .56rem; color: var(--gold); }
.p3 i { display: block; height: 4px; width: 0; border-radius: 2px; background: rgba(228,220,203,.2); }
.p3 i:nth-of-type(1) { background: rgba(212,180,78,.5); }
.tile.in .p3 i { width: var(--w); transition: width 1.2s var(--ease); transition-delay: calc(.4s + var(--i) * .15s); }

/* ══════════════ METHOD ══════════════ */
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.steps::before {
  content: ""; position: absolute; top: 46px; left: 16.6%; right: 16.6%; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-3), var(--gold));
  box-shadow: 0 0 10px rgba(212,180,78,.5);
  transform: scaleX(0); transform-origin: left;
  transition: transform 2.2s var(--ease) .3s;
}
.steps.in::before { transform: scaleX(1); }
.steps li { position: relative; text-align: center; }
.num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 92px; height: 92px; margin: 0 auto 1.8rem;
  border-radius: 50%;
  font-family: var(--serif); font-weight: 400; font-size: 2.1rem; color: var(--gold-3);
  background: radial-gradient(circle at 50% 30%, #16203b, #0b1120 70%);
  border: 1px solid var(--line-2);
  box-shadow: 0 0 40px -10px rgba(212,180,78,.35);
}
.num::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px solid rgba(184,154,62,.14); }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1.1; color: var(--white); }
.steps p { max-width: 17rem; margin: .6rem auto 0; font-size: .95rem; color: var(--muted); }

/* ══════════════ THE NAME ══════════════ */
.standard {
  padding: clamp(5.5rem, 10vw, 8.5rem) 1rem;
  text-align: center;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse 55% 60% at 50% 55%, rgba(184,154,62,.08), transparent 70%),
    var(--bg-deep);
}
.letters { display: flex; justify-content: center; gap: clamp(.1rem, 1.3vw, 1.6rem); margin: 2.6rem 0 1.4rem; }
.lt {
  position: relative;
  padding: 0 .03em;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(4rem, 15.5vw, 15rem); line-height: .95;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184,154,62,.5);
  background: none; border: 0; cursor: pointer;
  transition: transform .8s var(--ease), filter .8s var(--ease);
}
.lt::after {
  content: attr(data-l);
  position: absolute; inset: 0; padding: inherit;
  background: var(--gilt); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
  opacity: 0;
  transition: opacity .8s var(--ease);
  animation: sheen 7s linear infinite;
}
.lt.on { transform: translateY(-8px); filter: drop-shadow(0 0 34px rgba(212,180,78,.38)); }
.lt.on::after { opacity: 1; }
.lt:focus-visible { outline-offset: 6px; }
.lt-cap { min-height: 3.4rem; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.8rem); color: var(--cream); }
.lt-cap span { display: inline-block; animation: rise .8s var(--ease) both; }
.lt-cap em { font-style: italic; color: var(--gold-2); }

/* ══════════════ FINAL CTA ══════════════ */
.finale { padding: clamp(7rem, 15vw, 12rem) 0; text-align: center; overflow: hidden; isolation: isolate; }
.finale::before {
  content: ""; position: absolute; left: calc(50% - 550px); top: calc(50% - 550px); width: 1100px; height: 1100px; z-index: -2;
  background: conic-gradient(from 0deg, transparent, rgba(184,154,62,.09), transparent 30%, rgba(184,154,62,.06), transparent 65%, rgba(184,154,62,.09), transparent);
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 62%);
  mask: radial-gradient(circle, #000 20%, transparent 62%);
  animation: spin 60s linear infinite;
}
.finale-mark {
  position: absolute; left: 50%; top: 50%; z-index: -1;
  width: min(62vw, 520px); aspect-ratio: 759 / 934;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, rgba(212,180,78,.085), rgba(184,154,62,0) 85%);
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.finale-title { margin: 1.3rem 0 1.4rem; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 1.5rem + 6vw, 7.6rem); line-height: .98; letter-spacing: -.018em; color: var(--white); }
.finale-title em { display: block; }
.finale-sub { max-width: 30rem; margin: 0 auto 2.6rem; font-size: 1.08rem; font-weight: 300; color: var(--text); }
.finale-note { margin-top: 1.5rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ══════════════ CLIENTS / TESTIMONIALS (auto-hidden until populated) ══════════════ */
.clients-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem 3.5rem; }
.client-card { display: flex; flex-direction: column; align-items: center; gap: .75rem; opacity: .8; transition: opacity .3s; }
.client-card:hover { opacity: 1; }
.client-logo { height: 46px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) brightness(1.5); }
.client-name { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card { padding: 2rem; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #0f172c, #0b1120); }
.testimonial-card .quote { font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--cream); }
.testimonial-card .attr { display: block; margin-top: 1.2rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.testimonial-card .role { display: block; margin-top: .2rem; letter-spacing: .06em; text-transform: none; color: var(--muted); }

/* ══════════════ FOOTER (markup from snippets.js) ══════════════ */
footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2.6rem; font-size: .72rem; letter-spacing: .05em; color: var(--muted); background: var(--bg-deep); }
footer .container { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
.footer-logo-icon { width: 46px; height: auto; opacity: .85; transition: opacity .3s, transform .6s var(--ease); }
.footer-logo-icon:hover { opacity: 1; transform: scale(1.06); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.8rem; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-links a { color: var(--text); transition: color .3s; }
.footer-links a:hover { color: var(--gold-2); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.5rem; font-size: .66rem; }
footer p { font-size: .64rem; opacity: .75; }

/* ══════════════ MODAL ══════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgba(4,7,14,.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  position: relative;
  width: 100%; max-width: 560px;
  max-height: calc(100dvh - 3rem);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 2.3rem 2.4rem 2rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #121b33, #0c1325);
  border: 1px solid rgba(184,154,62,.3);
  box-shadow: 0 60px 120px -30px rgba(0,0,0,.95), 0 0 80px -30px rgba(212,180,78,.35), inset 0 1px 0 rgba(255,255,255,.05);
  transform: translateY(26px) scale(.97);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .45s var(--ease);
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.modal:focus { outline: none; }
.modal-overlay.active .modal { transform: none; opacity: 1; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  cursor: pointer; transition: color .3s, border-color .3s;
}
.modal-close:hover { color: var(--gold-2); border-color: var(--line-2); }
.modal-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.modal-mark { display: block; width: 26px; margin: 0 auto .8rem; filter: drop-shadow(0 0 12px rgba(212,180,78,.45)); }
.modal h2 { text-align: center; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; color: var(--white); }
.modal-sub { margin: .5rem auto 1.6rem; max-width: 24rem; text-align: center; font-size: .86rem; color: var(--muted); }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: .45rem; font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group textarea {
  width: 100%;
  padding: .8rem .95rem;
  font-family: var(--sans); font-size: .92rem;
  color: var(--white);
  background: rgba(5,9,18,.55);
  border: 1px solid rgba(184,154,62,.18);
  border-radius: 8px;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,180,78,.1); }
.form-group textarea { resize: vertical; min-height: 70px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--faint); }
.phone-row { display: flex; }
.phone-row input[type="tel"] { flex: 1; min-width: 0; border-radius: 0 8px 8px 0; }
.cc-dropdown { position: relative; flex-shrink: 0; }
.cc-selected {
  display: flex; align-items: center; gap: .35rem;
  height: 100%; padding: 0 .75rem;
  font-size: .86rem; color: var(--white);
  background: rgba(19,28,52,.8);
  border: 1px solid rgba(184,154,62,.18); border-right: 0; border-radius: 8px 0 0 8px;
  cursor: pointer; white-space: nowrap;
  transition: border-color .3s;
}
.cc-selected:hover, .cc-selected:focus { border-color: var(--gold); }
.cc-flag { font-size: 1rem; line-height: 1; }
.cc-arrow { width: 0; height: 0; margin-left: .3rem; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--gold); transition: transform .2s; }
.cc-selected[aria-expanded="true"] .cc-arrow { transform: rotate(180deg); }
.cc-panel {
  display: none; flex-direction: column;
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 900;
  width: 280px; max-height: 280px; overflow: hidden;
  background: #0f172c; border: 1px solid var(--line-2); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
}
.cc-panel.open { display: flex; }
.cc-search-wrap { padding: .5rem; border-bottom: 1px solid var(--line); }
.cc-search { width: 100%; padding: .5rem .65rem; font-family: var(--sans); font-size: .82rem; color: var(--white); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; outline: none; }
.cc-search:focus { border-color: var(--gold); }
.cc-search::placeholder { color: var(--faint); }
.cc-list { flex: 1; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.cc-list li[role="option"] { display: flex; align-items: center; gap: .45rem; padding: .5rem .7rem; font-size: .82rem; color: var(--text); cursor: pointer; outline: none; transition: background .15s; }
.cc-list li[role="option"]:hover, .cc-list li[role="option"]:focus { background: rgba(184,154,62,.1); }
.cc-list li.cc-active { color: var(--gold-2); background: rgba(184,154,62,.08); }
.cc-li-flag { font-size: 1rem; line-height: 1; flex-shrink: 0; }
.cc-li-code { min-width: 40px; flex-shrink: 0; color: var(--white); }
.cc-li-sep { width: 1px; align-self: stretch; margin: 2px .25rem; background: linear-gradient(transparent, var(--gold), transparent); opacity: .5; flex-shrink: 0; }
.cc-li-name { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-empty { padding: .8rem; text-align: center; font-size: .8rem; color: var(--muted); }
.cc-list::-webkit-scrollbar { width: 5px; }
.cc-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.captcha-row {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  margin-bottom: .5rem; padding: .55rem .6rem .55rem .95rem;
  background: rgba(5,9,18,.55); border: 1px dashed rgba(184,154,62,.3); border-radius: 8px;
}
.captcha-question { font-family: var(--serif); font-size: 1.1rem; color: var(--cream); }
.captcha-refresh { padding: .45rem .75rem; font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); background: transparent; border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer; transition: border-color .3s, color .3s; }
.captcha-refresh:hover { border-color: var(--gold); color: var(--white); }
.form-error { margin: .2rem 0 .9rem; font-size: .8rem; line-height: 1.4; color: #f0a5a5; }
.hp-field { position: absolute !important; left: -9999px !important; width: 0 !important; height: 0 !important; opacity: 0 !important; pointer-events: none !important; }
.form-consent { display: flex; align-items: flex-start; gap: .7rem; margin: 1.1rem 0 1.3rem; }
.form-consent input[type="checkbox"] { flex-shrink: 0; width: 16px; height: 16px; margin-top: .15rem; accent-color: var(--gold); }
.form-consent label { font-size: .78rem; line-height: 1.55; color: var(--muted); cursor: pointer; }
.form-consent label a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }
.btn-submit { width: 100%; padding: 1.15rem; }
.form-note { display: block; margin-top: 1rem; text-align: center; font-size: .7rem; color: var(--faint); }
.form-success { padding: 2.4rem 0 1.4rem; text-align: center; }
.success-seal { width: 72px; height: 72px; margin: 0 auto 1.5rem; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 32% 28%, #f6e7b0, #c9a544 55%, #7d5f16); box-shadow: 0 0 0 10px rgba(212,180,78,.1), 0 0 50px rgba(212,180,78,.45); animation: bubIn .8s var(--ease) both; }
.success-seal svg { width: 30px; height: 30px; }
.form-success h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--white); margin-bottom: .6rem; }
.form-success p { font-size: .92rem; color: var(--text); }

/* ══════════════ KLARO (cookie notice) — theme overrides, same as site.css ══════════════ */
.klaro .cookie-notice { background: var(--panel) !important; border: 1px solid var(--line-2) !important; box-shadow: 0 -4px 32px rgba(0,0,0,.4) !important; font-family: var(--sans) !important; }
.klaro .cookie-notice .cn-body p, .klaro .cookie-notice .cn-body .cn-desc { color: var(--muted) !important; font-size: .82rem !important; }
.klaro .cookie-notice .cn-body a { color: var(--gold) !important; }
.klaro .cookie-notice .cn-body a:hover { color: var(--white) !important; }
.klaro .cookie-notice .cn-ok .cm-btn { font-family: var(--sans) !important; font-size: .7rem !important; font-weight: 600 !important; letter-spacing: .1em !important; text-transform: uppercase !important; border-radius: 2px !important; padding: .65rem 1.4rem !important; cursor: pointer !important; transition: all .3s ease !important; }
.klaro .cookie-notice .cn-ok .cm-btn.cm-btn-success { background: var(--gold) !important; color: var(--bg) !important; border: 1px solid var(--gold) !important; }
.klaro .cookie-notice .cn-ok .cm-btn.cm-btn-success:hover { background: var(--gold-2) !important; }
.klaro .cookie-notice .cn-ok .cm-btn.cm-btn-info, .klaro .cookie-notice .cn-ok .cm-btn.cm-btn-danger { background: transparent !important; color: var(--gold) !important; border: 1px solid var(--gold) !important; }
.klaro .cookie-notice .cn-learn-more a, .klaro .cookie-notice .cn-body .cn-learn-more a { display: inline-block !important; font-family: var(--sans) !important; font-size: .7rem !important; font-weight: 600 !important; letter-spacing: .1em !important; text-transform: uppercase !important; padding: .65rem 1.4rem !important; border: 1px solid var(--gold) !important; color: var(--gold) !important; background: transparent !important; text-decoration: none !important; border-radius: 2px !important; }
.klaro .cookie-modal { z-index: 1200 !important; }
.klaro .cookie-modal .cm-modal { background: var(--panel) !important; border: 1px solid var(--line-2) !important; box-shadow: 0 8px 48px rgba(0,0,0,.5) !important; font-family: var(--sans) !important; border-radius: 12px !important; }
.klaro .cookie-modal .cm-modal .cm-header h1, .klaro .cookie-modal .cm-modal .cm-header h1.title { color: var(--white) !important; font-family: var(--sans) !important; }
.klaro .cookie-modal .cm-modal .cm-body p, .klaro .cookie-modal .cm-modal .cm-body .cm-purpose-description { color: var(--muted) !important; font-size: .85rem !important; }
.klaro .cookie-modal .cm-modal .cm-body .cm-purpose .cm-purpose-title, .klaro .cookie-modal .cm-modal .cm-body .cm-service .cm-service-title { color: var(--white) !important; }
.klaro .cookie-modal .cm-modal a { color: var(--gold) !important; }
.klaro .cookie-modal .cm-modal .cm-footer .cm-btn { font-family: var(--sans) !important; font-size: .7rem !important; font-weight: 600 !important; letter-spacing: .1em !important; text-transform: uppercase !important; border-radius: 2px !important; padding: .65rem 1.4rem !important; }
.klaro .cookie-modal .cm-modal .cm-footer .cm-btn.cm-btn-success, .klaro .cookie-modal .cm-modal .cm-footer .cm-btn.cm-btn-accept-all { background: var(--gold) !important; color: var(--bg) !important; border: 1px solid var(--gold) !important; }
.klaro .cookie-modal .cm-modal .cm-footer .cm-btn.cm-btn-info, .klaro .cookie-modal .cm-modal .cm-footer .cm-btn.cm-btn-accept-selected { background: transparent !important; color: var(--gold) !important; border: 1px solid var(--gold) !important; }
.klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider, .klaro .cm-switch input:checked + .cm-switch-container { background: var(--gold) !important; }
.klaro .cookie-modal .cm-list-label .slider, .klaro .cm-switch .cm-switch-container { background: var(--panel-2) !important; }
.klaro .cookie-modal .cm-list-label .cm-required { color: var(--muted) !important; font-size: .7rem !important; }

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1240px) {
  .toasts { display: none; }
}
@media (max-width: 1060px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .phone { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .wrap { width: calc(100% - 2rem); }
  .nav-in { width: calc(100% - 2rem); gap: .8rem; }
  .brand { gap: .6rem; }
  .brand-mark { width: 20px; }
  .brand-word { font-size: 1.02rem; letter-spacing: .26em; }
  .nav-right { gap: .6rem; }
  .btn-pill { padding: .62rem .8rem; font-size: .6rem; letter-spacing: .14em; }

  .hero { padding-bottom: 4.5rem; }
  .emblem { --size: clamp(170px, 50vw, 240px); }
  .eyebrow { letter-spacing: .32em; font-size: .62rem; }
  .eyebrow::before, .eyebrow::after { width: 24px; }
  .hero-ctas { flex-direction: column; gap: .4rem; width: 100%; }
  .hero-ctas .btn-gold { width: 100%; max-width: 340px; }

  .app-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app-side { flex-direction: row; padding: .7rem; border-right: 0; border-bottom: 1px solid rgba(184,154,62,.1); overflow-x: auto; scrollbar-width: none; }
  .app-side::-webkit-scrollbar { display: none; }
  .side-h, .side-foot { display: none; }
  .pv-tabs { flex-direction: row; flex-shrink: 0; }
  .pv-tab { flex-shrink: 0; width: auto; white-space: nowrap; padding: .6rem .8rem; }
  .app-url { display: none; }
  .app-live { margin-left: auto; }
  .app-main { padding: 1.2rem 1rem 1.1rem; gap: 1rem; }
  .st { gap: .8rem; }
  .st-tx small { white-space: normal; }
  .app-stats { gap: .5rem; }
  .app-stats small { letter-spacing: .12em; font-size: .52rem; }

  .ba { height: 560px; }
  .ba-layer { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; padding: 3.2rem .9rem 1rem; }
  .x-sheet, .x-mail, .c-roster, .c-chart { display: none; }
  .x-chat { grid-area: 1 / 1; }
  .x-notes { grid-area: 2 / 1; min-height: 150px; }
  .c-status { grid-area: 1 / 1; }
  .c-inbox { grid-area: 2 / 1; }

  .bento { grid-template-columns: minmax(0, 1fr); border-radius: 18px; }
  .tile { min-height: 0; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .steps::before { display: none; }

  .letters { margin-top: 2rem; }
  .lt { -webkit-text-stroke-width: .8px; }

  .modal-overlay { padding: .75rem; align-items: flex-end; }
  .modal { padding: 2.4rem 1.3rem 1.6rem; max-height: calc(100dvh - 1.5rem); }
  .form-2 { grid-template-columns: minmax(0, 1fr); }
  .cc-panel { width: min(280px, calc(100vw - 4rem)); }

  .klaro .cookie-notice .cn-ok { flex-direction: column !important; gap: .5rem !important; }
  .klaro .cookie-notice .cn-ok .cm-btn { width: 100% !important; text-align: center !important; }
}
@media (max-width: 380px) {
  .brand-word { display: none; }
}
@media (hover: none) {
  .tile::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .rv { opacity: 1; transform: none; }
}
