/* VRTL — warm paper design system, shared by every page. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-variable.101877a7a906.woff2") format("woff2"); }

:root {
  --paper: #FBFBF9;
  --sand: #F5F4F0;
  --taupe: #ECE9E4;
  --stone: #D6D4CE;
  --ink: #292A2D;
  --ink-soft: #463F3C;
  --muted: #73726C;
  --teal: #004250;
  --teal-2: #2A6373;
  --mint: #DDF0E9;
  --green: #328C74;
  --amber: #8A5A12;
  --amber-bg: #F6ECD6;
  --rose: #9B3B2E;
  --rose-bg: #F7E3DF;
  --line: rgba(41, 42, 45, 0.1);
  --line-strong: rgba(41, 42, 45, 0.2);
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: var(--sans);
  --snap: cubic-bezier(0.7, 0, 0.2, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(41, 42, 45, 0.04), 0 18px 40px -22px rgba(70, 63, 60, 0.28);

  /* older names still referenced by a few templates */
  --white: var(--ink);
  --accent: var(--teal-2);
  --accent-strong: var(--teal);
  --border: var(--line);
  --success: var(--green);
  --warning: var(--amber);
  --danger: var(--rose);
  --bg: var(--paper);
  --font: var(--sans);
}

* { box-sizing: border-box; }
[x-cloak] { display: none !important; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink-soft);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(217, 212, 202, 0.85), transparent 70%),
    linear-gradient(180deg, #EEECE3 0, var(--sand) 520px, var(--paper) 1200px);
  background-attachment: fixed;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(70, 63, 60, 0.13) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
}
main { flex: 1; }
h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--ink); line-height: 1.15; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; word-spacing: 0.06em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; word-spacing: 0.08em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: var(--muted); }
p { margin: 0 0 1em; }
a { color: var(--teal-2); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal); }
img { max-width: 100%; }
::selection { background: var(--teal); color: var(--paper); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.mono { font-variant-numeric: tabular-nums; }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }

@keyframes vRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes vFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vLine { from { transform: translateY(105%); } to { transform: none; } }
@keyframes vRule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* scroll reveal (enabled by a small script in base.html) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.9s var(--out); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- wordmark */
.mark { display: inline-flex; align-items: center; font-size: 34px; }
.mark-img { display: block; height: 30px; width: auto; }

/* Logo built from pieces (scripts/build_brand_assets.py): closed it is exactly vrtl-logo.png,
   open the I and UA slide in to spell VIRTUAL. Sizes are in em of the logo height. */
.mk { display: inline-flex; align-items: flex-start; height: 1em; line-height: 0; }
.mk img { display: block; height: 1em; max-width: none; }
.mk-v { width: 1.4369em; }
.mk-r { width: 0.5971em; margin-left: -0.0227em; }
.mk-t { width: 0.6230em; margin-left: 0.0275em; }
.mk-l { width: 0.4854em; margin-left: 0.068em; }
.mk-x { position: relative; flex: none; height: 1em; width: 0; transition: width 0.6s var(--snap) 0.18s; }
.mk-x img { position: absolute; top: 0; opacity: 0; transition: opacity 0.3s ease; }
.mk-i img { left: -0.0227em; width: 0.1036em; }
.mk-ua img { left: 0.068em; width: 1.3204em; }
.mk.open .mk-x, .mark:hover .mk-x, .mark.is-open .mk-x { transition: width 0.6s var(--snap); }
.mk.open .mk-i, .mark:hover .mk-i, .mark.is-open .mk-i { width: 0.2067em; }
.mk.open .mk-ua, .mark:hover .mk-ua, .mark.is-open .mk-ua { width: 1.3787em; }
.mk.open .mk-x img, .mark:hover .mk-x img, .mark.is-open .mk-x img { opacity: 1; transition: opacity 0.35s ease 0.22s; }
@media (max-width: 640px) { .mark { font-size: 26px; } .mark-img { height: 26px; } }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 244, 240, 0.78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  animation: vFade 0.6s ease both;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 6px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.site-header .inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.nav { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(236, 233, 228, 0.8); border: 1px solid var(--line); }
.nav a { padding: 7px 16px; border-radius: 999px; color: var(--ink-soft); font-size: 0.9rem; font-weight: 500; transition: background 0.25s, color 0.25s; }
.nav a:hover { background: rgba(255, 255, 255, 0.85); color: var(--ink); }
.nav a.active { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(41, 42, 45, 0.08); }
.head-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.pill-link {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 500; color: var(--ink); background: rgba(230, 232, 233, 0.85); transition: background 0.2s, color 0.2s;
}
.pill-link b { font-weight: 400; transition: transform 0.3s var(--snap); }
.pill-link:hover { background: var(--ink); color: var(--paper); }
.pill-link:hover b { transform: translateX(3px); }
.pill-link.dark { background: var(--ink); color: var(--paper); }
.pill-link.dark:hover { background: var(--teal); }
.nav-toggle { display: none; justify-self: end; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 0; cursor: pointer; font: 500 0.88rem var(--sans); color: var(--ink); background: rgba(230, 232, 233, 0.85); }
.nav-toggle i { position: relative; width: 14px; height: 1.5px; background: currentColor; }
.nav-toggle i::before { content: ""; position: absolute; left: 0; right: 0; top: -4px; height: 1.5px; background: currentColor; }

.menu-sheet { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; padding: 18px clamp(20px, 4vw, 40px) 32px; background: var(--sand); }
.menu-sheet .top { display: flex; justify-content: space-between; align-items: center; height: 50px; }
.menu-sheet nav { display: flex; flex-direction: column; margin-top: 6vh; }
.menu-sheet nav a { padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1.2; letter-spacing: -0.03em; color: var(--ink); animation: vRise 0.5s var(--out) calc(var(--i) * 60ms) both; }
.menu-sheet .foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.menu-sheet .foot .pill-link { justify-content: center; padding: 14px; font-size: 1rem; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 500 0.93rem/1.2 var(--sans); text-decoration: none; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--out);
}
.btn b, .btn .arr { font-weight: 400; transition: transform 0.3s var(--snap); }
.btn:hover b, .btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--teal); color: var(--paper); transform: translateY(-1px); }
.btn-secondary { background: rgba(255, 255, 255, 0.6); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--paper); border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); background: var(--taupe); }
.btn-danger { background: transparent; border-color: rgba(155, 59, 46, 0.4); color: var(--rose); }
.btn-danger:hover { background: var(--rose-bg); color: var(--rose); }
.btn-sm { padding: 7px 15px; font-size: 0.84rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------------------------------------------------------------- surfaces */
.card { background: rgba(255, 255, 255, 0.78); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { color: var(--ink); }
.card-hover { transition: transform 0.35s var(--out), box-shadow 0.35s, border-color 0.35s; color: inherit; }
.card-hover:hover { transform: translateY(-3px); border-color: var(--line-strong); color: inherit; box-shadow: 0 1px 2px rgba(41,42,45,.05), 0 26px 50px -24px rgba(70,63,60,.38); }
.surface { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.cropped { position: relative; }
.cropped::before, .cropped::after, .cropped > .crop-b::before, .cropped > .crop-b::after { content: ""; position: absolute; width: 12px; height: 12px; border: 0 solid var(--teal-2); pointer-events: none; }
.cropped::before { top: -9px; left: -9px; border-top-width: 1.5px; border-left-width: 1.5px; }
.cropped::after { top: -9px; right: -9px; border-top-width: 1.5px; border-right-width: 1.5px; }
.cropped > .crop-b::before { bottom: -9px; left: -9px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.cropped > .crop-b::after { bottom: -9px; right: -9px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: 0.76rem; font-weight: 500; color: var(--teal); background: var(--mint); vertical-align: middle; }
.badge-success { color: #22634F; background: #DCEFE6; }
.badge-warning { color: var(--amber); background: var(--amber-bg); }
.badge-danger { color: var(--rose); background: var(--rose-bg); }
.badge-muted { color: var(--muted); background: var(--taupe); }
.kicker { display: inline-block; margin-bottom: 22px; padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 500; color: var(--teal); background: var(--mint); }
.eyebrow { margin: 0 0 12px; font-size: 0.85rem; font-weight: 500; color: var(--teal-2); }

/* ---------------------------------------------------------------- forms */
label { display: block; margin-bottom: 7px; font-size: 0.88rem; font-weight: 500; color: var(--ink); }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="number"], input[type="tel"], select, textarea {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  font: 0.95rem var(--sans); color: var(--ink); background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(42, 99, 115, 0.12); }
input[type="radio"], input[type="checkbox"] { accent-color: var(--teal-2); }
.field { margin-bottom: 18px; }
.field .errors, .errors { color: var(--rose); font-size: 0.85rem; margin-top: 4px; }
.helptext { display: block; margin-top: 5px; color: var(--muted); font-size: 0.8rem; }
form ul.errorlist { margin: 4px 0; padding-left: 18px; color: var(--rose); font-size: 0.85rem; }

/* ---------------------------------------------------------------- flash messages */
.messages { position: fixed; top: 84px; right: 20px; z-index: 100; display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.message { padding: 13px 18px; border-radius: 14px; font-size: 0.9rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); animation: vRise 0.5s var(--out) both; }
.message.success { border-left: 3px solid var(--green); }
.message.error { border-left: 3px solid var(--rose); }

/* ---------------------------------------------------------------- intro overlay (home) */
.intro-overlay { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--sand); }
.intro-word { display: flex; font-size: clamp(56px, 11vw, 128px); }
.intro-word .mk { animation: vFade 0.6s ease both; }
.intro-word .mk-x { transition: width 0.9s var(--snap) 0.3s; }
.intro-word .mk-x img { transition: opacity 0.45s ease; }
.intro-skip { position: absolute; bottom: 30px; right: 30px; }
.intro-overlay.done { opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }

/* ---------------------------------------------------------------- page hero */
.page-hero { position: relative; padding: clamp(56px, 11vh, 120px) 0 clamp(40px, 7vh, 72px); }
.page-hero .kicker { animation: vRise 0.7s var(--out) 0.05s both; }
.page-hero h1 { max-width: 22ch; margin-bottom: 22px; }
.page-hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.page-hero h1 .ln > span { display: inline-block; animation: vLine 1s var(--out) both; }
.page-hero h1 .ln:nth-child(2) > span { animation-delay: 0.1s; }
.page-hero h1 .ln:nth-child(3) > span { animation-delay: 0.2s; }
.page-hero .lead { max-width: 54ch; font-size: 1.12rem; line-height: 1.65; color: var(--ink-soft); animation: vRise 0.8s var(--out) 0.3s both; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; animation: vRise 0.8s var(--out) 0.42s both; }
.page-hero .aside-note { margin-top: 18px; font-size: 0.88rem; color: var(--muted); animation: vFade 1s ease 0.6s both; }
.assessment-hero .ln > span { animation: none; transform: none; }
.public-price { max-width: 66ch; margin: 18px 0 0; padding: 13px 16px; border: 1px solid rgba(0,66,80,.15); border-radius: 12px; background: var(--mint); font-size: .92rem; }
.catalogue-price { display: block; margin-top: 4px; color: var(--teal); font-size: .78rem; font-weight: 600; }
.ruler { height: 7px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 22px); border-top: 1px solid var(--line); transform-origin: left; animation: vRule 1.2s var(--snap) 0.2s both; }

/* ---------------------------------------------------------------- ledger: label column + content column */
.section { padding: clamp(48px, 8vh, 88px) 0; }
.ledger { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: clamp(24px, 5vw, 72px); padding: clamp(36px, 6vh, 64px) 0; border-top: 1px solid var(--line); }
.ledger:first-child { border-top: 0; }
.ledger-label { position: sticky; top: 96px; align-self: start; }
.ledger-label h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.ledger-label p { color: var(--muted); font-size: 0.93rem; }
.ledger-body { min-width: 0; }
.ledger-body > p:first-child { font-size: 1.08rem; color: var(--ink-soft); }
@media (max-width: 820px) { .ledger { grid-template-columns: 1fr; } .ledger-label { position: static; } }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 700; color: var(--teal); background: var(--mint); }
.ticks.plus li::before { content: "+"; font-size: 14px; font-weight: 500; color: var(--ink-soft); background: var(--taupe); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 6px 0 6px 30px; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 700; color: var(--teal); background: var(--mint); }

.feature-rows { border-top: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feature-row strong { color: var(--ink); font-weight: 600; }
.feature-row p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .feature-row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------------------------------------------------------------- catalogue list */
.catalogue { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.catalogue li { border-bottom: 1px solid var(--line); }
.catalogue .row { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.4fr) 40px; align-items: center; gap: 24px; padding: 26px 8px; color: var(--ink); isolation: isolate; }
.catalogue .row::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px; background: rgba(255, 255, 255, 0.85); opacity: 0; transform: scale(0.98); transition: opacity 0.3s, transform 0.4s var(--out); }
.catalogue .row:hover::before { opacity: 1; transform: none; }
.catalogue .tile { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--teal); background: var(--mint); transition: transform 0.4s var(--out), background 0.3s, color 0.3s; }
.catalogue .row:hover .tile { transform: rotate(-6deg) scale(1.06); background: var(--teal); color: var(--mint); }
.catalogue .tile-logo { background: none; box-shadow: 0 6px 14px -8px rgba(0, 66, 80, 0.55); }
.catalogue .tile-logo img { width: 100%; height: 100%; display: block; }
.catalogue .row:hover .tile-logo { background: none; }
.catalogue .name { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.15; letter-spacing: -0.025em; }
.catalogue .name small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 0.8rem; color: var(--muted); }
.catalogue .line { color: var(--muted); font-size: 0.97rem; }
.catalogue .go { justify-self: end; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); transition: all 0.3s var(--out); }
.catalogue .row:hover .go { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateX(4px); }
@media (max-width: 760px) {
  .catalogue .row { grid-template-columns: 48px 1fr 32px; gap: 16px; padding: 20px 4px; }
  .catalogue .line { grid-column: 2 / 3; grid-row: 2; margin-top: -8px; font-size: 0.9rem; }
  .catalogue .go { grid-column: 3; grid-row: 1; width: 32px; height: 32px; }
}

/* ---------------------------------------------------------------- journey steps */
.journey { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.journey li { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 32px; padding: 34px 0; border-top: 1px solid var(--line); }
.journey .when { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--teal-2); }
.journey h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 10px; }
.journey p { margin: 0; max-width: 60ch; color: var(--ink-soft); }
@media (max-width: 640px) { .journey li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------------------------------------------------------------- dark band + chat prompt link */
.band { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 72px); border-radius: 28px; color: rgba(251, 251, 249, 0.75); background: var(--teal); }
.band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(221, 240, 233, 0.16) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); }
.band > * { position: relative; }
.band h2 { max-width: 18ch; color: var(--paper); font-size: clamp(2rem, 4vw, 3rem); }
.band h2 em { color: rgba(221, 240, 233, 0.6); }
.band p { max-width: 52ch; }
.band .band-demo { margin: 18px 0 0; font-size: .95rem; }
.band .band-demo a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.hero-demo { margin: 14px 0 0; }
.ask {
  display: flex; align-items: center; gap: 14px; max-width: 560px; margin-top: 26px; padding: 8px 8px 8px 24px; border-radius: 999px;
  color: var(--muted); background: var(--paper); box-shadow: 0 1px 2px rgba(41,42,45,.06), 0 18px 40px -24px rgba(0,0,0,.4); transition: transform 0.35s var(--out);
}
.ask:hover { transform: translateY(-2px); color: var(--ink-soft); }
.ask span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ask b { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font-weight: 400; color: var(--paper); background: var(--ink); transition: background 0.25s; }
.ask:hover b { background: var(--teal-2); }
.ask .caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -0.15em; background: var(--teal-2); animation: vBlink 1.1s steps(1) infinite; }
@keyframes vBlink { 50% { opacity: 0; } }

.ask-form:hover { transform: none; }
.ask-form:focus-within { box-shadow: 0 0 0 4px rgba(42, 99, 115, 0.16), 0 18px 40px -24px rgba(0,0,0,.4); }
.ask-form input { flex: 1; min-width: 0; padding: 10px 0; border: 0; outline: none; font: inherit; color: var(--ink); background: transparent; }
.ask-form input::placeholder { color: var(--muted); }
.ask-form button { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding: 0; border: 0; font: inherit; font-weight: 600; font-size: 0.93rem; color: var(--ink); background: none; cursor: pointer; }
.ask-form button:hover b { background: var(--teal-2); }
@media (max-width: 520px) { .ask-form .ask-label { display: none; } .ask-form { padding-left: 18px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-start { max-width: 600px; animation: vRise 0.8s var(--out) 0.42s both; }
.hero-start .ask { margin-top: 30px; }
.page-meta { margin-top: 18px; font-size: 0.88rem; color: var(--muted); }
.crumb { margin-bottom: 18px; font-size: 0.9rem; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--ink); }
.preview-note { margin: 18px 0 0; padding: 10px 16px; border-radius: 12px; font-size: 0.9rem; color: var(--amber); background: #F6ECD6; }

/* long-form content */
.prose { max-width: 70ch; color: var(--ink-soft); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.2em 0 0.6em; font-size: clamp(1.45rem, 2.4vw, 1.85rem); scroll-margin-top: 96px; }
.prose h3 { margin: 1.8em 0 0.5em; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05em; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--teal-2); }
.prose a { color: var(--teal); text-decoration: underline; text-decoration-color: rgba(0, 66, 80, 0.3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--teal); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--teal-2); color: var(--ink); }
.prose code { padding: 1px 6px; border-radius: 6px; font-size: 0.9em; background: var(--taupe); }
.toc { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; }
.toc p { margin: 0 0 8px; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.toc a { padding: 5px 0 5px 12px; border-left: 1.5px solid var(--line-strong); color: var(--muted); line-height: 1.4; }
.toc a:hover { color: var(--ink); border-color: var(--teal-2); }
@media (max-width: 820px) { .toc { display: none; } }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list .body p:last-child { margin-bottom: 0; }
.related-links { display: grid; gap: 10px; }
.related-links a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.6); transition: border-color 0.25s, transform 0.35s var(--out); }
.related-links a:hover { border-color: var(--teal-2); transform: translateY(-2px); }
.related-links strong { display: block; color: var(--ink); font-weight: 600; }
.related-links span { display: block; margin-top: 4px; font-size: 0.92rem; color: var(--muted); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--line); color: var(--ink-soft); counter-increment: s; }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 11px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: 0.8rem; font-weight: 700; color: var(--teal); background: var(--mint); }

/* Business Assessment report */
.assessment-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 26px; }
.assessment-actions form { margin: 0; }
.partner-badge { display: flex; align-items: center; gap: 14px; }
.partner-badge img { height: 44px; width: auto; max-width: 180px; object-fit: contain; }
.partner-badge .kicker { margin: 0; }
.partner-disclosure { padding: 12px 16px; border-left: 3px solid var(--teal); background: var(--mint); border-radius: 0 10px 10px 0; }
.partner-form { max-width: 620px; }
.partner-form select, .partner-form textarea { width: 100%; }
.partner-note { margin: 18px 0 0; padding: 10px 16px; border-radius: 12px; font-size: 0.9rem; color: var(--teal); background: var(--mint); }
.step-no { margin: 0 0 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; color: var(--teal-2); }
.own-words { margin: 0 0 22px; padding: 4px 0 4px 20px; border-left: 3px solid var(--teal-2); }
.own-words p { margin: 0; font-size: 1.12rem; line-height: 1.55; color: var(--ink); }
.own-words cite { display: block; margin-top: 8px; font-style: normal; font-size: 0.85rem; color: var(--muted); }
.own-words a, .ev-src, .imp-basis a { color: var(--teal-2); text-decoration: underline; text-underline-offset: 2px; }
.facts { display: grid; gap: 0; margin: 0 0 20px; }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.88rem; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); }
.basis { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 0.74rem; color: var(--muted); background: var(--taupe); vertical-align: 1px; }
.evidence-list { margin: 0 0 16px; padding: 0; list-style: none; }
.evidence-list li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.evidence-list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); }
.ev-src { margin-left: 4px; font-size: 0.82rem; }
.ev-snippet { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--muted); font-style: italic; overflow-wrap: anywhere; }
.caveat { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; font-size: 0.9rem; color: var(--ink-soft); background: rgba(255, 255, 255, 0.6); border: 1px dashed var(--line-strong); }
.improvements { margin: 0; padding: 0; list-style: none; counter-reset: imp; }
.improvements li { position: relative; padding: 16px 0 16px 44px; border-bottom: 1px solid var(--line); counter-increment: imp; }
.improvements li::before { content: counter(imp); position: absolute; left: 0; top: 15px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 0.82rem; font-weight: 700; color: var(--paper); background: var(--ink); }
.improvements p { margin: 6px 0 0; color: var(--ink-soft); }
.imp-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--ink); }
.imp-basis { font-size: 0.84rem; color: var(--muted) !important; }
.matched h3 { margin: 4px 0 8px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.matched .kicker { margin-bottom: 6px; }
.matched h4 { margin: 22px 0 8px; }
.price-line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0 8px; }
.price-line div { padding: 12px 14px; border-radius: 12px; background: var(--taupe); }
.price-line dt { font-size: 0.8rem; color: var(--muted); }
.price-line dd { margin: 2px 0 0; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.module-list { margin: 0 0 22px; padding: 0; list-style: none; }
.module-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.module-list span:not(.badge) { display: block; font-size: 0.88rem; color: var(--muted); }
.tick-list { margin: 0; padding: 0; list-style: none; }
.tick-list li { position: relative; padding: 8px 0 8px 28px; color: var(--ink); }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 700; color: var(--teal); background: var(--mint); }
.next-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.assessment-foot { margin: 8px 0 60px; max-width: 720px; }
.assessment .collapse-panel h4 { margin: 14px 0 6px; }
@media (max-width: 720px) {
  .price-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-steps { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
}
@media print {
  .site-header, .site-footer, .no-print, .preview-note + .no-print { display: none !important; }
  body { background: #fff; }
  .page-hero { padding: 0 0 12px; }
  .ledger { display: block; padding: 18px 0; break-inside: avoid-page; }
  .ledger-label { position: static; margin-bottom: 8px; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .card, .caveat { box-shadow: none; }
  a { color: inherit; }
}

/* ---------------------------------------------------------------- solution page */
.solution-hero { position: relative; padding: clamp(48px, 9vh, 96px) 0 clamp(32px, 5vh, 56px); }
.solution-hero h1 { margin-bottom: 14px; }
.solution-hero .lead { max-width: 52ch; font-size: 1.12rem; }
.module-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.module-row:last-child { border-bottom: none; }
.module-row strong { color: var(--ink); font-weight: 600; }
.toggle { position: relative; width: 46px; height: 26px; flex-shrink: 0; margin: 0; cursor: pointer; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .track { position: absolute; inset: 0; border-radius: 999px; background: var(--stone); transition: background 0.3s; }
.toggle .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform 0.35s var(--snap); }
.toggle input:checked + .track { background: var(--teal-2); }
.toggle input:checked + .track::after { transform: translateX(20px); }
.toggle input:focus-visible + .track { box-shadow: 0 0 0 4px rgba(42, 99, 115, 0.18); }
.toggle input:disabled + .track { opacity: 0.5; cursor: not-allowed; }

.solution-grid { grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); align-items: start; gap: 32px; }
@media (max-width: 960px) { .solution-grid { grid-template-columns: 1fr; } .price-panel { position: static; } }
.price-panel { position: sticky; top: 92px; }
.price-card { padding: 28px; border-radius: 22px; color: rgba(251, 251, 249, 0.72); background: var(--ink); box-shadow: 0 30px 60px -30px rgba(41, 42, 45, 0.6); }
.price-card h3 { color: var(--paper); font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.price-card .price-row { border-color: rgba(251, 251, 249, 0.12); }
.price-card .price-row.total { color: var(--paper); }
.price-card .big { margin: 6px 0 2px; font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; letter-spacing: -0.035em; color: var(--paper); }
.price-card .muted { color: rgba(251, 251, 249, 0.55); }
.price-card .divider { background: rgba(251, 251, 249, 0.12); }
.price-card .btn-primary { background: var(--mint); color: var(--teal); }
.price-card .btn-primary:hover { background: var(--paper); color: var(--ink); }
.price-card .btn-secondary { background: transparent; color: var(--paper); border-color: rgba(251, 251, 249, 0.3); }
.price-card .btn-secondary:hover { border-color: var(--paper); color: var(--paper); background: rgba(251, 251, 249, 0.06); }
.price-card .btn-ghost { color: rgba(251, 251, 249, 0.6); }
.price-card .btn-ghost:hover { color: var(--paper); background: rgba(251, 251, 249, 0.08); }
.price-card .badge-warning { color: #F2D9A5; background: rgba(242, 217, 165, 0.12); }
.price-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 0.93rem; }
.price-row.total { margin-top: 8px; padding-top: 13px; border-top: 1px solid var(--line); font-weight: 600; font-size: 1.03rem; color: var(--ink); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 32px; }
.timeline li::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: -6px; width: 1.5px; background: var(--line-strong); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 2px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--teal-2); }
.timeline li.done::after { background: var(--green); border-color: var(--green); }
.timeline li.pending::after { border-color: var(--stone); }
.timeline strong { color: var(--ink); font-weight: 600; }

/* demonstrations */
.demo-wrap { position: relative; }
.demo-label { position: absolute; top: 18px; right: 18px; z-index: 2; }
table.demo-table, table.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.demo-table th, .data-table th { padding: 10px 12px; text-align: left; font-size: 0.8rem; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.demo-table td, .data-table td { padding: 12px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.demo-table tr:last-child td, .data-table tr:last-child td { border-bottom: none; }
.data-table tr { transition: background 0.2s; }
.data-table tbody tr:hover, .data-table > tr:hover { background: rgba(236, 233, 228, 0.45); }
.chat-msg { max-width: 85%; padding: 12px 16px; border-radius: 16px; white-space: pre-line; font-size: 0.93rem; }
.chat-msg.assistant { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-top-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; color: var(--paper); background: var(--teal-2); border-top-right-radius: 4px; }
.chat-msg .sender { margin-bottom: 4px; font-size: 0.75rem; font-weight: 600; opacity: 0.7; }

.workflow { display: flex; align-items: stretch; overflow-x: auto; padding: 8px 0 12px; }
.workflow .node { flex-shrink: 0; min-width: 130px; padding: 12px 16px; border-radius: 14px; text-align: center; font-size: 0.86rem; font-weight: 500; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); animation: vRise 0.5s var(--out) both; }
.workflow .node.optional { border-style: dashed; color: var(--teal-2); background: rgba(221, 240, 233, 0.5); }
.workflow .arrow { display: flex; align-items: center; flex-shrink: 0; padding: 0 8px; color: var(--stone); }

/* ---------------------------------------------------------------- auth */
.auth { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(32px, 6vw, 96px); align-items: center; min-height: calc(100vh - 69px - 120px); padding: clamp(40px, 8vh, 88px) 0; }
.auth-copy h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 12ch; }
.auth-copy p { max-width: 42ch; font-size: 1.05rem; }
.auth-copy .ticks { max-width: 420px; margin-top: 28px; }
.auth-card { width: 100%; max-width: 460px; margin: 0 auto; padding: 34px; background: var(--paper); border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); animation: vRise 0.7s var(--out) 0.15s both; }
.auth-card h1, .auth-card h2 { font-size: 2rem; }
.auth-card .btn-primary { width: 100%; padding: 14px; }
.checkout-who { margin: 0 0 4px; }
.checkout-who .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkout-who .field-row .field { margin-bottom: 14px; }
.checkout-paying-as { margin: 0 0 14px; }
@media (max-width: 520px) { .checkout-who .field-row { grid-template-columns: 1fr; } }
.code-input { font-size: 1.6rem !important; letter-spacing: 0.4em; text-align: center; font-variant-numeric: tabular-nums; padding: 14px !important; }
.code-notice { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--mint); color: var(--teal); font-size: 0.88rem; line-height: 1.5; }
.link-button { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: var(--teal-2); }
.link-button:hover { color: var(--teal); text-decoration: underline; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 18px; font-size: 0.88rem; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; min-height: 0; } .auth-copy .ticks { display: none; } }

/* ---------------------------------------------------------------- portal */
.app-shell { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100vh - 69px); }
.app-nav { position: sticky; top: 69px; align-self: start; height: calc(100vh - 69px); display: flex; flex-direction: column; gap: 2px; padding: 28px 16px; border-right: 1px solid var(--line); background: rgba(236, 233, 228, 0.55); }
.app-nav .org { padding: 0 12px 18px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.app-nav .org strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.app-nav .org span { font-size: 0.8rem; color: var(--muted); }
.app-nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); transition: background 0.2s, color 0.2s; }
.app-nav a svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--muted); transition: color 0.2s; }
.app-nav a:hover { background: rgba(255, 255, 255, 0.7); color: var(--ink); }
.app-nav a.active { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(41, 42, 45, 0.07); }
.app-nav a.active svg { color: var(--teal-2); }
.app-nav .help { margin-top: auto; padding: 16px; border-radius: 16px; font-size: 0.85rem; background: var(--mint); color: var(--teal); }
.app-nav .help a { display: inline; padding: 0; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; background: none; box-shadow: none; }
.app-main { min-width: 0; padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 56px) 64px; animation: vRise 0.6s var(--out) both; }
.app-main > h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.app-main > h2, .app-main h2.sub { margin-top: 40px; font-size: 1.6rem; }
@media (max-width: 860px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-nav { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .app-nav .org, .app-nav .help { display: none; }
  .app-nav a { white-space: nowrap; }
  .app-main { padding: 24px 20px 48px; }
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0 8px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.stats > div { padding: 22px 24px 20px 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats .value { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.stats .label { margin-top: 6px; font-size: 0.86rem; color: var(--muted); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } .stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.stat { padding: 20px 22px; }
.stat .value { font-family: var(--display); font-weight: 700; font-size: 2.1rem; line-height: 1; letter-spacing: -0.035em; color: var(--ink); }
.stat .label { margin-top: 6px; color: var(--muted); font-size: 0.85rem; }
/* VRTL Cloud structure: navigation groups, next step, product cards, product page */
.app-nav .nav-group { margin: 18px 12px 6px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .app-nav .nav-group { display: none; } }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-head h2 { margin-bottom: 0; }
.next-up { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 26px 0 8px; padding: 24px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.78); border: 1px solid var(--line); box-shadow: var(--shadow); }
.next-up h2 { margin: 0 0 4px; font-size: 1.35rem; letter-spacing: -0.015em; }
.next-up p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }
.next-up .btn { flex: none; }
.next-up-label { margin: 0 0 6px !important; font-size: 0.75rem !important; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-2) !important; }
.next-up--you { background: var(--mint); border-color: transparent; }
.next-up--you h2, .next-up--you p { color: var(--teal); }
.next-up--live { background: linear-gradient(135deg, var(--teal), var(--teal-2)); border-color: transparent; }
.next-up--live h2, .next-up--live p, .next-up--live .next-up-label { color: var(--paper) !important; }
.next-up--live .btn-primary { background: var(--mint); color: var(--teal); }
@media (max-width: 700px) { .next-up { flex-direction: column; align-items: flex-start; } }

.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin: 14px 0 26px; }
.pcards--full { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); margin-top: 22px; }
.pcard { position: relative; display: block; padding: 22px 24px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.78); border: 1px solid var(--line); box-shadow: var(--shadow); color: inherit; text-decoration: none; }
.pcard-head { display: flex; align-items: center; gap: 14px; }
.pcard-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.pcard-head strong { font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.015em; color: var(--ink); }
.pcard-tile { flex: none; width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 6px 14px -8px rgba(0, 66, 80, 0.55); }
.pcard-tile--lg { width: 56px; height: 56px; border-radius: 15px; }
.pcard-pct { margin-left: auto; font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.04em; color: var(--ink); }
.pcard-pct small { font-size: 0.9rem; color: var(--muted); }
.pcard .setup-bar { margin: 16px 0 12px; }
.pcard-line { margin: 0; padding-right: 26px; font-size: 0.88rem; color: var(--ink-soft); }
.pcard-plan { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.84rem; }
.pcard-plan dt { color: var(--muted); font-size: 0.74rem; }
.pcard-plan dd { margin: 0; color: var(--ink); font-weight: 500; }
.pcard-go { position: absolute; right: 22px; bottom: 18px; color: var(--teal-2); transition: transform 0.3s var(--out); }
.card-hover:hover .pcard-go { transform: translateX(4px); }

.home-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 26px; }
.home-link { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; color: inherit; text-decoration: none; }
.home-link strong { font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.home-link .muted { padding-right: 26px; }
.home-activity ul { margin: 0; padding: 0; list-style: none; }
.home-activity li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.home-activity li:last-child { border-bottom: 0; }
.home-activity time { flex: none; color: var(--muted); font-size: 0.8rem; }
.quote-card { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 20px 22px; }
.quote-card > div:not(.quote-actions) { flex: 1; min-width: 0; }
.quote-card strong { font-family: var(--display); font-size: 1.15rem; }
.quote-card p { margin: 2px 0 0; }
.quote-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 700px) { .quote-card { flex-wrap: wrap; } }

.back-link { display: inline-block; margin-bottom: 14px; font-size: 0.88rem; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--ink); }
.detail-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.detail-head h1 { margin: 0 0 6px; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.detail-head p { margin: 0; }
.detail-head .badge { margin-right: 6px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.detail-main > .next-up { margin-top: 0; margin-bottom: 18px; }
.detail-side { display: grid; gap: 16px; position: sticky; top: 90px; }
.detail-card { margin-bottom: 18px; padding: 22px 24px; }
.detail-side .detail-card { margin-bottom: 0; }
.detail-card h2 { margin: 0 0 10px; font-size: 1.15rem; letter-spacing: -0.01em; }
.detail-help { background: var(--mint); border-color: transparent; }
.detail-help h2, .detail-help p { color: var(--teal); }
.detail-activity summary { list-style: none; cursor: pointer; }
.detail-activity summary::-webkit-details-marker { display: none; }
.detail-activity summary h2 { display: inline; margin: 0; }
.detail-activity summary::after { content: "+"; float: right; color: var(--muted); }
.detail-activity[open] summary::after { content: "–"; }
@media (max-width: 1080px) { .detail-grid { grid-template-columns: 1fr; } .detail-side { position: static; } }
.step-list { margin: 14px 0 0; padding: 0; list-style: none; }
.step-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.step-list li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.step-list strong { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.step-dot { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); font-size: 0.78rem; font-weight: 600; color: var(--teal); }
.step-list li.is-done .step-dot { background: var(--green); border-color: var(--green); color: #fff; }
.step-list li.is-done strong { color: var(--ink-soft); }
.plan-list { display: grid; gap: 10px; margin: 0 0 14px; }
.plan-list > div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.plan-list dt { color: var(--muted); }
.plan-list dd { margin: 0; text-align: right; color: var(--ink); font-weight: 500; }
.plan-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 22px; }
.plan-card { padding: 22px 24px; }
.plan-price { margin: 16px 0 14px; font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: -0.035em; color: var(--ink); }
.plan-price span { font-family: var(--sans); font-weight: 400; font-size: 0.9rem; letter-spacing: 0; color: var(--muted); }
.portal-assessment { max-width: none; padding: 0; }
.app-main .assessment-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
/* setup progress and onboarding steps */
.setup-card { margin-bottom: 18px; padding: 26px 28px; }
.setup-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.setup-head h3 { margin: 0; font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.02em; }
.setup-head h3 a { color: var(--ink); text-decoration: none; }
.setup-kicker { margin: 0 0 4px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-2); }
.setup-pct { font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.setup-pct span { font-size: 1.1rem; color: var(--muted); }
.setup-bar { height: 6px; margin: 14px 0 18px; border-radius: 99px; background: var(--line); overflow: hidden; }
.setup-bar span { display: block; height: 100%; min-width: 6px; border-radius: inherit; background: linear-gradient(90deg, var(--teal-2), var(--teal)); transition: width 0.9s var(--out); }
.setup-now { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); font-size: 0.93rem; }
.setup-now .muted { display: block; margin-top: 2px; font-size: 0.85rem; }
.setup-now--you { background: var(--mint); border-color: transparent; color: var(--teal); }
.setup-now--you .muted { color: var(--teal-2); }
.setup-date { flex: none; font-size: 0.82rem; color: var(--muted); }
.setup-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0; margin: 20px 0 0; padding: 0; list-style: none; }
.setup-track li { position: relative; padding: 18px 10px 0 0; font-size: 0.85rem; }
.setup-track li::before { content: ""; position: absolute; top: 5px; left: 12px; right: 0; height: 1.5px; background: var(--line-strong); }
.setup-track li:last-child::before { display: none; }
.setup-track .dot { position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--stone); }
.setup-track li.done .dot { background: var(--green); border-color: var(--green); }
.setup-track li.done::before { background: var(--green); }
.setup-track li.now .dot { border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(42, 99, 115, 0.15); }
.setup-track strong { display: block; color: var(--ink); font-weight: 600; line-height: 1.3; }
.setup-track .when { display: block; margin-top: 3px; color: var(--muted); font-size: 0.78rem; }
.onboard { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; margin-top: 24px; }
.onboard-steps { position: sticky; top: 90px; margin: 0; padding: 0; list-style: none; }
.onboard-steps a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--muted); text-decoration: none; font-size: 0.9rem; line-height: 1.35; }
.onboard-steps a:hover { background: rgba(255, 255, 255, 0.7); color: var(--ink); }
.onboard-steps small { display: block; font-size: 0.76rem; color: var(--teal-2); }
.onboard-steps .dot { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); font-size: 0.75rem; font-weight: 600; }
.onboard-steps li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.onboard-steps li.current a { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.06)); font-weight: 500; }
.onboard-steps li.current .dot { border-color: var(--teal-2); color: var(--teal); }
.onboard-form { padding: 30px; animation: vRise 0.6s var(--out) both; }
.onboard-form fieldset { margin: 0; padding: 0; border: 0; }
.onboard-form legend { margin-bottom: 9px; font-size: 0.88rem; font-weight: 500; color: var(--ink); }
.onboard-form .help { margin: 6px 0 0; color: var(--muted); font-size: 0.8rem; }
.onboard-form .has-error input, .onboard-form .has-error textarea { border-color: var(--rose); }
.onboard-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.choice-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-pills .pill { position: relative; margin: 0; cursor: pointer; }
.choice-pills .pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice-pills .pill span { display: inline-block; padding: 9px 15px; border-radius: 99px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.9); font-size: 0.88rem; font-weight: 400; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.choice-pills .pill:hover span { border-color: var(--teal-2); }
.choice-pills .pill input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--paper); }
.choice-pills .pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(42, 99, 115, 0.18); }
.file-list { margin: 0 0 10px; padding: 0; list-style: none; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.file-input { display: block; width: 100%; padding: 14px; border-radius: var(--radius-sm); border: 1.5px dashed var(--line-strong); background: rgba(255, 255, 255, 0.6); font: 0.88rem var(--sans); cursor: pointer; }
/* "while we're building" card on the dashboard, with the live chat */
.build-chat { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px; align-items: center; margin-bottom: 18px; padding: 28px; }
.build-chat-copy h3 { margin: 0 0 10px; font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; }
.build-chat-copy p { margin: 0 0 12px; font-size: 0.93rem; }
.build-chat-copy .btn { margin-top: 4px; }
.build-chat-shot { min-width: 0; }
.bc-window { border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow), 0 30px 60px -30px rgba(0, 66, 80, 0.45); overflow: hidden; }
.bc-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--teal); color: var(--mint); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; }
.bc-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(221, 240, 233, 0.35); }
.bc-bar span { margin-left: 8px; }
.bc-online { display: inline-flex; align-items: center; gap: 6px; margin-left: auto !important; font-weight: 500; opacity: 0.85; }
.bc-online em { width: 7px; height: 7px; border-radius: 50%; background: #7CD3B4; box-shadow: 0 0 0 3px rgba(124, 211, 180, 0.2); }
@media (max-width: 860px) { .build-chat { grid-template-columns: 1fr; padding: 24px 20px; } }

/* live chat (customer messages page, dashboard card, staff inbox) */
.nav-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: auto; padding: 0 6px; border-radius: 99px; background: var(--teal); color: var(--paper); font-size: 0.72rem; font-weight: 700; line-height: 1; }
.btn .nav-count { margin-left: 6px; }
.chat { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.chat-card { display: flex; flex-direction: column; height: min(72vh, 760px); margin-top: 22px; padding: 0; overflow: hidden; }
.chat-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 8px; scroll-behavior: smooth; }
.chat--compact { height: 340px; }
.chat--compact .chat-list { padding: 14px 14px 6px; }
.chat-empty { display: grid; place-content: center; gap: 4px; height: 100%; min-height: 120px; text-align: center; color: var(--muted); font-size: 0.9rem; }
.chat-empty strong { color: var(--ink); font-family: var(--display); font-size: 1.15rem; }
.chat-day { margin: 14px 0 10px; text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.chat-row { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 8px; animation: chatIn 0.35s var(--out) both; }
.chat-row.is-mine { align-items: flex-end; }
.chat-bubble { max-width: min(78%, 560px); padding: 9px 13px; border-radius: 14px; border-top-left-radius: 4px; background: #fff; border: 1px solid var(--line); font-size: 0.92rem; line-height: 1.45; }
.chat-row.is-staff:not(.is-mine) .chat-bubble { background: var(--mint); border-color: transparent; color: var(--teal); }
.chat-row.is-mine .chat-bubble { background: var(--teal-2); border-color: transparent; color: var(--paper); border-top-left-radius: 14px; border-top-right-radius: 4px; }
.chat-row.is-pending .chat-bubble { opacity: 0.6; }
.chat-meta { display: flex; gap: 8px; align-items: baseline; margin-bottom: 2px; font-size: 0.7rem; font-weight: 600; opacity: 0.75; }
.chat-meta time { font-weight: 400; }
.chat-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-file { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; padding: 7px 10px; border-radius: 9px; background: rgba(0, 66, 80, 0.07); color: inherit; font-size: 0.84rem; text-decoration: none; }
.chat-row.is-mine .chat-file { background: rgba(255, 255, 255, 0.14); }
.chat-file svg { width: 16px; height: 16px; flex: none; }
.chat-file.is-uploading { pointer-events: none; opacity: 0.7; }
.chat-seen { margin-top: 3px; font-size: 0.7rem; color: var(--muted); }
.chat-compose { padding: 10px 12px 12px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.6); }
.chat-error { margin: 0 0 8px; font-size: 0.82rem; color: var(--rose, #B4474B); }
.chat-attached { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 4px 6px 4px 10px; border-radius: 8px; background: var(--mint); color: var(--teal); font-size: 0.82rem; }
.chat-attached button { border: 0; background: none; color: inherit; font-size: 1rem; line-height: 1; cursor: pointer; }
.chat-input { display: flex; align-items: flex-end; gap: 8px; }
.chat-input textarea { flex: 1; min-height: 40px; max-height: 160px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: 0.92rem; line-height: 1.4; resize: none; }
.chat-input textarea:focus { outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(42, 99, 115, 0.12); }
.chat-attach { position: relative; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; color: var(--teal-2); cursor: pointer; transition: background 0.2s; }
.chat-attach:hover { background: rgba(0, 66, 80, 0.07); }
.chat-attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chat-attach input:focus-visible + svg { outline: 2px solid var(--teal-2); outline-offset: 4px; border-radius: 4px; }
.chat-attach svg { width: 20px; height: 20px; }
.chat-send { flex: none; height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--teal); color: var(--paper); font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: opacity 0.2s, transform 0.2s; }
.chat-send:hover:not(:disabled) { transform: translateY(-1px); }
.chat-send:disabled { opacity: 0.45; cursor: default; }
@keyframes chatIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* staff inbox */
.staff-inbox { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.inbox-list { display: flex; flex-direction: column; max-height: min(78vh, 820px); overflow-x: hidden; overflow-y: auto; padding: 6px; }
.inbox-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; min-width: 0; padding: 11px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.inbox-item:hover { background: rgba(0, 66, 80, 0.05); }
.inbox-item.is-active { background: var(--mint); }
.inbox-top { display: flex; justify-content: space-between; gap: 8px; padding-right: 26px; }
.inbox-top strong { min-width: 0; font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-top time { flex: none; font-size: 0.74rem; color: var(--muted); }
.inbox-preview { padding-right: 26px; font-size: 0.82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-count { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--teal); color: var(--paper); font-size: 0.72rem; font-weight: 700; }
.inbox-count:empty { display: none; }
.inbox-thread .chat-card { margin-top: 0; height: min(78vh, 820px); }
.thread-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.thread-head h2 { margin: 0; font-size: 1.25rem; }
.thread-head p { margin: 2px 0 0; }
.thread-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
@media (max-width: 860px) {
  .staff-inbox { grid-template-columns: 1fr; }
  .inbox-list { max-height: 240px; }
  .chat-card { height: 70vh; }
}
.update { padding: 12px 0; border-bottom: 1px solid var(--line); }
.update:last-child { border-bottom: 0; }
@media (max-width: 860px) { .onboard { grid-template-columns: 1fr; } .onboard-steps { position: static; display: flex; overflow-x: auto; gap: 4px; } .onboard-steps a { white-space: nowrap; } .setup-now { flex-direction: column; align-items: flex-start; } }

/* staff delivery board */
.board-wrap { padding: 0 clamp(16px, 3vw, 40px) 60px; }
.board { display: grid; grid-template-columns: repeat(6, minmax(190px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 10px; }
.board-col { min-height: 200px; padding: 12px; border-radius: 16px; background: rgba(41, 42, 45, 0.04); }
.board-col h2 { display: flex; justify-content: space-between; margin: 2px 4px 12px; font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.board-card { display: block; margin-bottom: 10px; padding: 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform 0.2s var(--out), box-shadow 0.2s; }
.board-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(41, 42, 45, 0.35); }
.board-card strong { display: block; font-size: 0.95rem; }
.board-card .meta { display: block; margin-top: 4px; color: var(--muted); font-size: 0.8rem; }
.board-card .late { color: var(--rose); }
.board-card .mini-bar { height: 4px; margin-top: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.board-card .mini-bar span { display: block; height: 100%; background: var(--teal-2); }
.checklist { margin: 8px 0 0; padding: 0; list-style: none; }
.checklist li { border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 2px; border: 0; background: none; font: 0.92rem var(--sans); color: var(--ink); text-align: left; cursor: pointer; }
.checklist .box { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-strong); font-size: 0.7rem; color: #fff; }
.checklist .done .box { background: var(--green); border-color: var(--green); }
.checklist .done .label { color: var(--muted); text-decoration: line-through; }
.checklist .who { margin-left: auto; color: var(--muted); font-size: 0.76rem; }
.answers dt { margin-top: 12px; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.answers dd { margin: 3px 0 0; white-space: pre-line; }
.staff-milestone { margin-bottom: 16px; }
.staff-milestone header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.staff-milestone h3 { margin: 0; font-size: 1.1rem; }

.empty { padding: clamp(36px, 6vw, 64px); border-radius: 22px; text-align: center; border: 1.5px dashed var(--line-strong); background: rgba(255, 255, 255, 0.5); }
.empty h2 { margin-bottom: 8px; }
.empty p { max-width: 44ch; margin: 0 auto 22px; color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: clamp(48px, 10vh, 120px); padding: clamp(48px, 8vh, 80px) 0 28px; border-top: 1px solid var(--line); background: rgba(236, 233, 228, 0.5); font-size: 0.92rem; color: var(--muted); }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; padding-bottom: 48px; }
.foot-top h2 { max-width: 14ch; margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; }
.foot-top .ask { margin-top: 0; justify-self: end; width: 100%; }
.foot-cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); }
.foot-cols h4 { margin-bottom: 12px; font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.foot-cols a { display: block; padding: 4px 0; color: var(--muted); }
.foot-cols a:hover { color: var(--ink); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.82rem; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr; gap: 28px; } .foot-cols { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- misc */
.divider { height: 1px; margin: 24px 0; border: 0; background: var(--line); }
.collapse-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.6); }
.collapse-panel summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; cursor: pointer; list-style: none; font-weight: 500; color: var(--ink); }
.collapse-panel summary::after { content: "+"; font-size: 1.2rem; color: var(--muted); transition: transform 0.3s var(--snap); }
.collapse-panel[open] summary::after { transform: rotate(45deg); }
.collapse-panel summary::-webkit-details-marker { display: none; }
.collapse-panel .body { padding: 4px 20px 18px; }
.price-card .collapse-panel { background: transparent; }
.price-card .field label, .price-card strong { color: var(--paper); }
.price-card .link-button { color: var(--mint); }
.price-card .link-button:hover { color: var(--paper); }
.price-card .auth-links { margin-top: 12px; }
.pay-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }

@media (max-width: 900px) {
  .site-header .inner { grid-template-columns: 1fr auto; }
  .site-header .nav, .site-header .head-actions { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Implementation outcomes (VRTL Cloud) */
.outcome { margin-top: 16px; }
.outcome-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.outcome-head h3 { margin: 0 0 2px; font-size: 1.15rem; }
.outcome-head p { margin: 0; }
.outcome-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0 6px; }
.outcome-figures dt { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.outcome-figures dd { margin: 4px 0 2px; font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.outcome-figures dd span { font-size: 0.9rem; font-weight: 400; color: var(--ink-soft); }
.outcome-figures dd.muted { font-size: 1.05rem; font-weight: 500; color: var(--muted); }
.outcome-figures p { margin: 0; }
.outcome-change { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 0.92rem; }
.outcome-change.up { color: #22634F; background: #DCEFE6; }
.outcome-change.down { color: var(--amber); background: var(--amber-bg); }
.outcome-change span { display: block; margin-top: 2px; opacity: 0.85; }
.outcome-more { margin-top: 14px; }
.outcome-history { margin-top: 14px; }
.outcome-respond { display: grid; gap: 6px; }
.outcome-respond textarea { width: 100%; margin: 6px 0; }
@media (max-width: 640px) {
  .outcome-figures { grid-template-columns: 1fr; gap: 10px; }
  .outcome-head { flex-direction: column; }
  .outcome-history { display: block; overflow-x: auto; }
}

/* ---------------------------------------------------------------- product "how it works" diagram */
.fm-section { padding: clamp(36px, 6vh, 64px) 0; border-top: 1px solid var(--line); }
.fm-head { margin-bottom: 22px; }
.fm-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.fm-head h2 em { color: var(--muted); font-style: normal; }
.flowmap {
  --neon: #DDF0E9; --neon-dim: rgba(221, 240, 233, 0.2); --cycle: 7s;
  position: relative; margin: 0; padding: clamp(26px, 4vw, 48px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas: "in core out" ". person ." "cap cap cap"; column-gap: clamp(40px, 7vw, 96px); row-gap: 40px; align-items: center;
  border-radius: 28px; color: rgba(251, 251, 249, 0.92); overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(42, 99, 115, 0.7), transparent 60%), var(--teal);
  box-shadow: 0 30px 60px -36px rgba(0, 30, 36, 0.7);
}
.flowmap:not(.has-person) { grid-template-areas: "in core out" "cap cap cap"; }
.flowmap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(221, 240, 233, 0.12) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%);
}
.flowmap > * { position: relative; z-index: 1; }
.flowmap > .fm-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; pointer-events: none; }
.fm-in { grid-area: in; } .fm-out { grid-area: out; } .fm-core { grid-area: core; } .fm-person { grid-area: person; }
.flowmap figcaption { grid-area: cap; margin: 0; font-size: 0.82rem; color: rgba(251, 251, 249, 0.5); text-align: center; }
.fm-col-label { margin: 0 0 12px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(221, 240, 233, 0.7); }
.fm-col ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.fm-node, .fm-core, .fm-person {
  border: 1px solid var(--neon-dim); background: rgba(0, 38, 47, 0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.fm-node { padding: 12px 14px; border-radius: 14px; line-height: 1.3; }
.fm-node strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--paper); }
.fm-node span { display: block; margin-top: 2px; font-size: 0.8rem; color: rgba(251, 251, 249, 0.58); }
.fm-core { padding: 20px 22px 18px; border-radius: 20px; }
.fm-core-name { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 700; font-size: 1.08rem; color: var(--paper); }
.fm-core-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 4px rgba(221, 240, 233, 0.15), 0 0 14px var(--neon); }
.fm-stages { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.fm-stages li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; font-size: 0.9rem; border: 1px solid rgba(221, 240, 233, 0.1); background: rgba(221, 240, 233, 0.03); }
.fm-stages i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 0.72rem; font-weight: 700; color: var(--neon); border: 1px solid var(--neon-dim); }
.fm-person { display: flex; align-items: center; gap: 12px; justify-self: center; max-width: 360px; padding: 12px 16px; border-radius: 999px; font-size: 0.86rem; color: rgba(251, 251, 249, 0.82); border-style: dashed; }
.fm-person-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--neon-dim); background:
  radial-gradient(circle at 50% 38%, var(--neon) 0 3.5px, transparent 4px), radial-gradient(ellipse 9px 6px at 50% 92%, var(--neon) 0 99%, transparent 100%); opacity: 0.85; }

.fm-base { fill: none; stroke: rgba(221, 240, 233, 0.38); stroke-width: 1.5; stroke-dasharray: 3 6; animation: fm-march 1.6s linear infinite; }
.fm-pulse { fill: none; stroke: var(--neon); stroke-width: 2.8; stroke-linecap: round; stroke-dasharray: 22 200; stroke-dashoffset: 22; }
.fm-port { fill: var(--teal); stroke: var(--neon); stroke-width: 1.4; }

.fm-pulse-in { animation: fm-travel-in var(--cycle) linear infinite; animation-delay: calc(var(--i) * 0.2s); }
.fm-pulse-person { animation: fm-travel-person var(--cycle) linear infinite; }
.fm-pulse-out { animation: fm-travel-out var(--cycle) linear infinite; animation-delay: calc(var(--i) * 0.2s); }
@keyframes fm-march { to { stroke-dashoffset: -9; } }
@keyframes fm-travel-in { 0% { stroke-dashoffset: 22; } 26%, 100% { stroke-dashoffset: -100; } }
@keyframes fm-travel-person { 0%, 54% { stroke-dashoffset: 22; } 66%, 100% { stroke-dashoffset: -100; } }
@keyframes fm-travel-out { 0%, 70% { stroke-dashoffset: 22; } 94%, 100% { stroke-dashoffset: -100; } }

.fm-in .fm-node { animation: fm-lit var(--cycle) ease-out infinite; animation-delay: calc(var(--i) * 0.2s); }
.fm-out .fm-node { animation: fm-lit var(--cycle) ease-out infinite; animation-delay: calc(var(--cycle) * 0.9 + var(--i) * 0.2s); }
.fm-person { animation: fm-lit var(--cycle) ease-out infinite; animation-delay: calc(var(--cycle) * 0.64); }
.fm-core { animation: fm-core var(--cycle) ease-in-out infinite; }
.fm-stages li { animation: fm-stage var(--cycle) ease-out infinite; animation-delay: calc(var(--cycle) * (0.27 + var(--i) * 0.13)); }
@keyframes fm-lit {
  0%, 4% { border-color: var(--neon); box-shadow: 0 0 0 1px rgba(221, 240, 233, 0.4), 0 0 22px -2px rgba(221, 240, 233, 0.45); }
  20%, 100% { border-color: var(--neon-dim); box-shadow: none; }
}
@keyframes fm-core {
  0%, 22% { border-color: var(--neon-dim); box-shadow: none; }
  30%, 68% { border-color: rgba(221, 240, 233, 0.75); box-shadow: 0 0 0 1px rgba(221, 240, 233, 0.25), 0 0 40px -6px rgba(221, 240, 233, 0.35); }
  80%, 100% { border-color: var(--neon-dim); box-shadow: none; }
}
@keyframes fm-stage {
  0%, 3% { border-color: rgba(221, 240, 233, 0.7); background: rgba(221, 240, 233, 0.12); }
  16%, 100% { border-color: rgba(221, 240, 233, 0.1); background: rgba(221, 240, 233, 0.03); }
}
.flowmap:not(.is-live) *, .flowmap:not(.is-live) { animation-play-state: paused; }

@media (max-width: 820px) {
  .flowmap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "in" "core" "out" "person" "cap"; row-gap: 46px; }
  .flowmap:not(.has-person) { grid-template-areas: "in" "core" "out" "cap"; }
  .fm-col ul { gap: 8px; }
  .fm-col-label { text-align: center; }
  .fm-node { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; padding: 10px 14px; }
  .fm-node span { margin-top: 0; }
}

/* Analytics cookie choice (only rendered when GA4 is configured) */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 420px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); box-shadow: var(--shadow); font-size: 0.88rem; color: var(--ink-soft); }
.consent p { margin: 0 0 12px; }
.consent a { color: var(--teal-2); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 560px) { .consent { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
