/* ============================================================
   SYS3RA marketing site — design tokens
   Light-first (2026-09-13, follow-up): same three per-page accent hue
   families as the GTM/marketing reference (teal-mint default/Business,
   blue-violet MSP, pink Family) via body.theme-msp / body.theme-family,
   but the ground is light and each accent is shifted to a darker,
   higher-contrast shade of its own hue — the reference's exact hex
   values were tuned for contrast against a near-black background and
   read too pale as text/icon color on a light one. Self-hosted IBM
   Plex Sans/Mono type family. Single-theme (no light/dark toggle).
   ============================================================ */
@font-face{
  font-family:'IBM Plex Sans Variable';
  src:url('fonts/ibm-plex-sans-latin-wght-normal.woff2') format('woff2-variations');
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'IBM Plex Sans Variable';
  src:url('fonts/ibm-plex-sans-latin-wght-italic.woff2') format('woff2-variations');
  font-weight:100 900;
  font-style:italic;
  font-display:swap;
}
/* Fraunces: optical-size + weight variable serif, self-hosted (SIL OFL, fonts/Fraunces-OFL.txt).
   It was loaded from Google Fonts until 2026-10-10; that sent every visitor's address to Google, which the
   privacy notice says we do not do. Do not point it back at a third party. */
@font-face{
  font-family:'Fraunces';
  src:url('fonts/fraunces-latin-opsz-normal.woff2') format('woff2-variations');
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Fraunces';
  src:url('fonts/fraunces-latin-opsz-italic.woff2') format('woff2-variations');
  font-weight:100 900;
  font-style:italic;
  font-display:swap;
}
@font-face{
  font-family:'IBM Plex Mono';
  src:url('fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'IBM Plex Mono';
  src:url('fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight:500; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'IBM Plex Mono';
  src:url('fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2');
  font-weight:600; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'IBM Plex Mono';
  src:url('fonts/ibm-plex-mono-latin-700-normal.woff2') format('woff2');
  font-weight:700; font-style:normal; font-display:swap;
}

:root{
  /* Neutrals carry a faint cool-ink bias (not pure gray) so they read as
     chosen against the teal accent rather than an unconsidered default. */
  --bg: #f4f5f4;
  --bg-soft: #eaece9;
  --panel: #ffffff;
  --panel-2: #e5e8e4;
  --border: rgba(15,23,20,0.09);
  --border-strong: rgba(15,23,20,0.16);
  --text: #0e1512;
  --text-dim: #4d5a54;
  --text-faint: #7c887f;
  /* teal-mint, same hue family as the reference's #3fd6bd, darkened for
     contrast on a light ground */
  --accent: #0e9c82;
  --accent-2: #0b7a68;
  --accent-3: #146b8c;
  --accent-rgb: 14,156,130;
  --accent-ink: #ffffff;
  --amber: #a8650f;
  --red: #c22e3f;
  --gold: #9a7b2e;
  --grad: linear-gradient(120deg, #0a6b5c 0%, #0e9c82 45%, #178f9e 78%, #146b8c 100%);
  --grad-ink: linear-gradient(155deg, #0a0f0d 0%, #101815 55%, #0a0f0d 100%);
  --grad-text: linear-gradient(100deg, #0b7a68 0%, #0e9c82 40%, #146b8c 100%);
  /* Fraunces (optical-size + weight variable serif, self-hosted via @font-face above) carries the editorial/premium signal on headlines only; IBM
     Plex Sans stays the confident, neutral workhorse for UI copy and nav,
     IBM Plex Mono keeps the technical/data credibility on tags, labels and
     code — three roles, three faces, none of them the Inter/Space-Grotesk
     default. */
  --font-display: 'Fraunces', 'IBM Plex Sans Variable', 'IBM Plex Sans', system-ui, serif;
  --font-body: 'IBM Plex Sans Variable', 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-soft: 0 24px 60px -24px rgba(10,16,14,0.22);
  --shadow-lift: 0 2px 8px -2px rgba(10,16,14,.12), 0 28px 64px -26px rgba(10,16,14,.26);
  --shadow-accent: 0 20px 44px -18px rgba(var(--accent-rgb),.38);
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ---------- per-page accent themes ----------
   Same hue family as the dark reference per page, shifted to a shade
   with real contrast against the light ground above. */
body.theme-msp{
  /* blue-violet, same family as the reference's #38bdf8 → #a78bfa gradient */
  --accent: #2563eb;
  --accent-2: #7c3aed;
  --accent-3: #0ea5e9;
  --accent-rgb: 37,99,235;
  --accent-ink: #ffffff;
  --grad: linear-gradient(120deg, #1d4ed8 0%, #2563eb 40%, #6d5bef 72%, #7c3aed 100%);
  --grad-text: linear-gradient(100deg, #2563eb 0%, #6d5bef 55%, #7c3aed 100%);
}
body.theme-family{
  /* pink-violet, same family as the reference's #f472b6 → #c084fc gradient */
  --accent: #db2777;
  --accent-2: #9333ea;
  --accent-3: #c026d3;
  --accent-rgb: 219,39,119;
  --accent-ink: #ffffff;
  --grad: linear-gradient(120deg, #be185d 0%, #db2777 42%, #a855f7 78%, #9333ea 100%);
  --grad-text: linear-gradient(100deg, #db2777 0%, #c026d3 55%, #9333ea 100%);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; margin:0 0 .5em; letter-spacing:-0.01em; text-wrap:balance; font-variant-numeric:oldstyle-nums; }
p{ margin:0 0 1em; color:var(--text-dim); }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
img{ max-width:100%; display:block; }
::selection{ background:var(--accent); color:var(--accent-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }
.skip-link{ position:absolute; left:-999px; top:0; background:var(--accent); color:var(--accent-ink); padding:10px 16px; z-index:999; }
.skip-link:focus{ left:12px; top:12px; }

/* ---------- background field ---------- */
.bg-field{ position:fixed; inset:0; z-index:-1; overflow:hidden; }
.bg-glow{ position:absolute; border-radius:50%; filter:blur(130px); opacity:.38; }
.bg-glow-a{ width:680px; height:680px; background:radial-gradient(circle, #9fd9c7 0%, #bfe4d9 55%, transparent 75%); top:-240px; left:-180px; animation:drift-a 24s ease-in-out infinite; }
.bg-glow-b{ width:600px; height:600px; background:radial-gradient(circle, #9cc9e8 0%, #cfe0f2 55%, transparent 75%); bottom:-280px; right:-160px; opacity:.32; animation:drift-b 28s ease-in-out infinite; }
body.theme-msp .bg-glow-a{ background:radial-gradient(circle, #a7c0fb 0%, #c7d7fb 55%, transparent 75%); }
body.theme-msp .bg-glow-b{ background:radial-gradient(circle, #c8b3fb 0%, #ddd1fa 55%, transparent 75%); }
body.theme-family .bg-glow-a{ background:radial-gradient(circle, #f7abd0 0%, #f9cfe4 55%, transparent 75%); }
body.theme-family .bg-glow-b{ background:radial-gradient(circle, #d6a9fb 0%, #e6cffb 55%, transparent 75%); }
.bg-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(14,21,18,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,21,18,0.035) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 80%);
}
@keyframes drift-a{ 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(40px,50px); } }
@keyframes drift-b{ 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(-30px,-40px); } }

/* ---------- grain texture ----------
   A near-invisible film-grain layer over the whole page — the single
   cheapest "this was actually art-directed" signal a flat digital gradient
   can't fake on its own (the same reason a lot of premium product sites use
   one). Pure CSS (a tiled SVG turbulence data-URI), no image request,
   mix-blend so it reads as texture rather than a visible pattern. */
.bg-grain{
  position:absolute; inset:0; opacity:.035; mix-blend-mode:overlay; pointer-events:none;
  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='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size:180px 180px;
}

/* ---------- scroll-progress bar ---------- */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%; z-index:200;
  background:var(--grad); box-shadow:0 0 12px rgba(var(--accent-rgb),.5);
  transition:width .08s linear;
}

/* ---------- pointer-tilt cards (pillar/price cards get a subtle,
   mouse-tracked 3D tilt — JS sets --tilt-x/--tilt-y in degrees via
   pointermove, this just consumes them; no motion at all without JS/
   pointer support, and disabled outright for reduced-motion). ---------- */
@media (hover:hover) and (pointer:fine){
  .tilt-card{
    transform:perspective(900px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg)) translateZ(0);
    transition:transform .5s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  }
}
@media (prefers-reduced-motion:reduce){
  .tilt-card{ transform:none !important; }
}

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(244,245,244,0.72);
  backdrop-filter:blur(16px) saturate(150%);
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled{ border-bottom-color:var(--border); background:rgba(244,245,244,0.92); }
.header-row{ display:flex; align-items:center; justify-content:space-between; height:72px; gap:24px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-body); font-weight:700; font-size:1.15rem; letter-spacing:-0.01em; }
.brand-mark{ display:inline-flex; border-radius:8px; overflow:hidden; box-shadow:0 0 0 1px var(--border); }
/* the family's own logo lockup (assets/brand/<family>/horizontal.png, cut from brand/source by brand/build.mjs) */
.brand-logo{ display:block; height:34px; width:auto; }
.footer-brand .brand-logo{ height:38px; }
.main-nav{ display:flex; gap:32px; }
.main-nav a{ color:var(--text-dim); font-size:.92rem; font-weight:500; transition:color .2s; position:relative; }
.main-nav a:hover{ color:var(--text); }
.header-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{ width:20px; height:2px; background:var(--text); border-radius:2px; }
.mobile-nav{ display:none; flex-direction:column; gap:2px; padding:8px 28px 20px; border-bottom:1px solid var(--border); }
.mobile-nav a{ padding:12px 0; color:var(--text-dim); border-bottom:1px solid var(--border); }
.mobile-nav .btn{ margin-top:12px; text-align:center; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:11px 22px; border-radius:999px; font-weight:600; font-size:.92rem; letter-spacing:-0.005em;
  border:1px solid transparent; cursor:pointer; transition:transform .22s var(--ease-spring), box-shadow .22s var(--ease), background .2s, border-color .2s, color .2s;
  white-space:nowrap; position:relative; isolation:isolate;
}
.btn-primary{
  background:var(--grad); color:var(--accent-ink);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25), inset 0 -1px 0 rgba(0,0,0,.08), 0 10px 26px -10px rgba(var(--accent-rgb),0.6);
}
.btn-primary:hover{ transform:translateY(-2px) scale(1.015); box-shadow:inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.08), 0 18px 40px -12px rgba(var(--accent-rgb),0.75); }
.btn-primary:active{ transform:translateY(0) scale(.99); }
.btn-outline{ background:var(--panel); border-color:var(--border-strong); color:var(--text); }
.btn-outline:hover{ border-color:var(--accent); color:var(--accent); transform:translateY(-2px); box-shadow:var(--shadow-lift); }
.btn-ghost{ background:transparent; color:var(--text-dim); }
.btn-ghost:hover{ color:var(--text); }
.btn-lg{ padding:14px 26px; font-size:1rem; }
.btn-sm{ padding:8px 16px; font-size:.85rem; }
.btn-block{ width:100%; }
.btn-arrow{ transition:transform .2s var(--ease); }
.btn:hover .btn-arrow{ transform:translateX(3px); }

/* ---------- section scaffolding ---------- */
section{ position:relative; padding:108px 0; }
.section-tag{
  display:inline-flex; align-items:center; gap:10px; font-family:var(--font-mono);
  font-size:.76rem; letter-spacing:.08em; text-transform:uppercase; color:var(--accent);
  margin-bottom:18px; font-weight:500;
}
.section-tag::before{ content:""; width:20px; height:1px; background:currentColor; opacity:.55; }
.section-tag-accent{ color:var(--accent-2); }
.section-title{ font-size:clamp(1.9rem, 3.6vw, 2.9rem); max-width:720px; font-weight:560; line-height:1.12; }
.section-lede{ color:var(--text-dim); max-width:560px; font-size:1.05rem; line-height:1.65; }
.section-head{ margin-bottom:60px; }

/* reveal-on-scroll */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view{ opacity:1; transform:none; }
.reveal-delay-1.in-view{ transition-delay:.12s; }
.reveal-delay-2.in-view{ transition-delay:.24s; }

/* ---------- hero ---------- */
.hero{ padding-top:96px; padding-bottom:80px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:56px; align-items:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:999px;
  border:1px solid var(--border-strong); font-size:.8rem; color:var(--text-dim); margin-bottom:22px;
  font-family:var(--font-mono); letter-spacing:.01em;
}
.eyebrow-dot{ width:6px; height:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px rgba(var(--accent-rgb),0.18); }
.hero-title{ font-size:clamp(2.6rem, 5.6vw, 4.2rem); line-height:1.03; font-weight:560; }
.grad-text{ background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-sub{ font-size:1.14rem; max-width:520px; margin-top:22px; line-height:1.65; }
.type-target{ color:var(--accent); font-weight:600; }
.type-cursor{ display:inline-block; width:2px; background:var(--accent); animation:blink 1s steps(1) infinite; margin-left:2px; }
@keyframes blink{ 50%{ opacity:0; } }
.hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:36px; margin-top:52px; flex-wrap:wrap; }
.hero-stat strong{ display:block; font-family:var(--font-display); font-size:1.9rem; color:var(--text); }
.hero-stat span{ font-size:.82rem; color:var(--text-faint); }

/* hero console mock */
.hero-visual{ position:relative; }
.console-mock{
  border-radius:18px; overflow:hidden; border:1px solid var(--border-strong);
  background:linear-gradient(180deg, var(--panel), var(--bg-soft));
  box-shadow:var(--shadow-soft), var(--shadow-accent);
  animation:float-y 7s ease-in-out infinite;
}
@keyframes float-y{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }
.console-chrome{ display:flex; align-items:center; gap:8px; padding:12px 16px; border-bottom:1px solid var(--border); }
.dot{ width:9px; height:9px; border-radius:50%; display:inline-block; }
.dot-r{ background:var(--red); } .dot-y{ background:var(--amber); } .dot-g{ background:var(--accent); }
.console-url{ margin-left:10px; font-family:var(--font-mono); font-size:.74rem; color:var(--text-faint); }
.console-body{ display:flex; min-height:340px; }
.console-side{ width:120px; border-right:1px solid var(--border); padding:14px 10px; display:flex; flex-direction:column; gap:4px; }
.side-item{ display:flex; align-items:center; gap:8px; font-size:.76rem; color:var(--text-faint); padding:8px 8px; border-radius:8px; }
.side-ic{ width:14px; height:14px; border-radius:4px; background:rgba(21,26,33,0.08); }
.side-active{ background:rgba(var(--accent-rgb),0.1); color:var(--accent); }
.side-active .side-ic{ background:var(--accent); }
.console-main{ flex:1; padding:18px; display:flex; flex-direction:column; gap:16px; }
.console-cards{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.mini-card{ background:var(--panel-2); border:1px solid var(--border); border-radius:12px; padding:14px; }
.mini-label{ font-size:.72rem; color:var(--text-faint); display:block; margin-bottom:10px; }
.ring{
  --val:0; width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:conic-gradient(var(--accent) calc(var(--val)*1%), rgba(21,26,33,0.08) 0);
  font-family:var(--font-mono); font-size:.78rem;
}
.ring span{ background:var(--bg-soft); width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.bar-stack{ display:flex; flex-direction:column; gap:8px; }
.bar-row{ display:flex; align-items:center; gap:8px; font-size:.68rem; color:var(--text-faint); }
.bar-row span{ width:76px; flex:none; }
.bar-row i{ display:block; height:6px; border-radius:4px; background:var(--accent); }
.console-feed{ background:var(--panel-2); border:1px solid var(--border); border-radius:12px; padding:6px 14px; flex:1; }
.feed-row{ display:flex; align-items:center; gap:8px; padding:9px 0; border-bottom:1px solid var(--border); font-size:.76rem; color:var(--text-dim); }
.feed-row:last-child{ border-bottom:0; }
.feed-row b{ color:var(--text); font-weight:600; }
.feed-time{ margin-left:auto; color:var(--text-faint); font-family:var(--font-mono); font-size:.68rem; }
.feed-dot{ width:7px; height:7px; border-radius:50%; flex:none; }
.feed-dot-ok{ background:var(--accent); } .feed-dot-warn{ background:var(--amber); } .feed-dot-crit{ background:var(--red); }

.float-chip{
  position:absolute; padding:9px 14px; border-radius:999px; background:var(--panel);
  border:1px solid var(--border-strong); font-size:.76rem; box-shadow:var(--shadow-soft);
  animation:float-y 6s ease-in-out infinite;
  font-family:var(--font-mono); font-weight:500;
}
.chip-a{ top:-18px; right:24px; animation-delay:.4s; }
.chip-b{ bottom:-16px; left:8px; animation-delay:1s; }

/* ---------- platform strip ---------- */
.platforms-strip{ padding:44px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.strip-label{ text-align:center; color:var(--text-faint); font-size:.82rem; font-family:var(--font-mono); margin-bottom:22px; }
.platform-badges{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.platform-badges span{
  padding:9px 18px; border-radius:999px; border:1px solid var(--border); font-size:.86rem;
  color:var(--text-dim); transition:border-color .2s, color .2s;
}
.platform-badges span:hover{ border-color:var(--accent); color:var(--accent); }

/* ---------- problem ---------- */
.problem-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.problem-list li{ padding:14px 0 14px 30px; border-bottom:1px solid var(--border); color:var(--text-dim); position:relative; }
.problem-list li::before{ content:"\2715"; position:absolute; left:0; color:var(--red); opacity:.75; font-size:.8rem; top:16px; }
/* the same list for things that are included rather than things that go wrong (the Family page's "The apps") */
.problem-list.ok-list li::before{ content:"\2713"; color:var(--accent); opacity:1; }
.solution-card{ background:linear-gradient(180deg, var(--panel), transparent); border:1px solid var(--border-strong); border-radius:var(--radius); padding:36px; }
.solution-card h3{ font-size:1.35rem; }

/* ---------- domain showcase (the five disciplines) ---------- */
.domain-tabs{
  display:flex; gap:6px; padding:6px; margin:0 auto; width:fit-content; max-width:100%; overflow-x:auto;
  background:var(--panel); border:1px solid var(--border); border-radius:999px;
  box-shadow:var(--shadow-lift); scrollbar-width:none;
}
.domain-tabs::-webkit-scrollbar{ display:none; }
.domain-tab{
  display:flex; align-items:center; gap:9px; flex:none; padding:11px 20px 11px 14px;
  border-radius:999px; border:0; background:transparent; cursor:pointer;
  font-family:var(--font-body); font-size:.88rem; font-weight:600; color:var(--text-faint);
  transition:background .25s var(--ease), color .2s;
}
.domain-tab svg{ width:18px; height:18px; flex:none; stroke:currentColor; opacity:.8; }
.domain-tab .tab-num{ font-family:var(--font-mono); font-size:.7rem; color:inherit; opacity:.55; margin-right:1px; }
.domain-tab:hover{ color:var(--text); }
.domain-tab.active{ background:var(--grad-ink); color:#fff; }
.domain-tab.active svg{ opacity:1; stroke:#7fd4ea; }
.domain-tab.active .tab-num{ opacity:.6; color:#7fd4ea; }

.domain-stage{ margin-top:28px; }
.domain-panel{
  display:none; grid-template-columns:1.05fr .95fr; gap:52px; align-items:center;
}
.domain-panel.active{ display:grid; animation:panel-in .5s var(--ease); }
@keyframes panel-in{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }

.domain-icon-tile{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(160deg, var(--panel), var(--bg-soft)); border:1px solid var(--border-strong);
  box-shadow:var(--shadow-lift); margin-bottom:22px; flex:none;
}
.domain-copy .domain-icon-tile svg{ width:26px; height:26px; stroke:var(--accent); }
.domain-copy h3{ font-size:1.55rem; margin-bottom:12px; letter-spacing:-.01em; }
.domain-copy > p{ font-size:1rem; max-width:52ch; }
.domain-feature-list{ margin-top:22px; display:flex; flex-direction:column; gap:0; }
.domain-feature-list li{
  display:flex; gap:12px; padding:13px 0; border-top:1px solid var(--border); font-size:.9rem; color:var(--text-dim);
}
.domain-feature-list li:last-child{ border-bottom:1px solid var(--border); }
.domain-feature-list .feat-ic{
  flex:none; width:20px; height:20px; margin-top:1px; border-radius:6px; background:rgba(var(--accent-rgb),.1);
  display:flex; align-items:center; justify-content:center;
}
.domain-feature-list .feat-ic svg{ width:12px; height:12px; stroke:var(--accent); stroke-width:3; }
.domain-feature-list b{ color:var(--text); font-weight:600; }

/* the swap-in mock panel on the right of each domain tab */
.domain-visual{ position:relative; }
.domain-mock{
  border-radius:var(--radius-lg); border:1px solid var(--border-strong);
  background:linear-gradient(180deg, var(--panel), var(--bg-soft));
  box-shadow:var(--shadow-soft); padding:22px; min-height:340px; display:flex; flex-direction:column; gap:14px;
}
.mock-topline{ display:flex; align-items:center; justify-content:space-between; }
.mock-badge{
  font-family:var(--font-mono); font-size:.72rem; color:var(--accent); background:rgba(var(--accent-rgb),.1);
  border-radius:999px; padding:5px 12px; letter-spacing:.02em;
}
.mock-status{ display:flex; align-items:center; gap:6px; font-size:.72rem; color:var(--text-faint); font-family:var(--font-mono); }
.mock-status i{ width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 3px rgba(var(--accent-rgb),.18); }
.mock-rows{ display:flex; flex-direction:column; gap:9px; flex:1; }
.mock-row{
  display:flex; align-items:center; gap:12px; background:var(--panel); border:1px solid var(--border);
  border-radius:11px; padding:12px 14px; font-size:.8rem; color:var(--text-dim);
}
.mock-row .row-ic{ flex:none; width:30px; height:30px; border-radius:8px; background:var(--panel-2); display:flex; align-items:center; justify-content:center; }
.mock-row .row-ic svg{ width:15px; height:15px; stroke:var(--accent); }
.mock-row .row-main{ flex:1; min-width:0; }
.mock-row .row-main b{ display:block; color:var(--text); font-size:.85rem; font-weight:600; }
.mock-row .row-main span{ font-size:.74rem; color:var(--text-faint); }
.mock-row .row-tag{
  font-family:var(--font-mono); font-size:.68rem; padding:4px 9px; border-radius:999px; white-space:nowrap;
}
.tag-ok{ background:rgba(var(--accent-rgb),.12); color:var(--accent); }
.tag-warn{ background:rgba(168,101,15,.12); color:var(--amber); }
.tag-crit{ background:rgba(194,46,63,.12); color:var(--red); }
.mock-foot{ display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:.7rem; color:var(--text-faint); padding-top:6px; border-top:1px solid var(--border); }

/* ---------- secondary "and beyond" grid (lighter weight than the domain tabs) ---------- */
.more-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; }
.more-card{
  background:var(--panel); border:1px solid var(--border); border-radius:var(--radius);
  padding:22px; transition:transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.more-card:hover{ transform:translateY(-4px); border-color:var(--border-strong); box-shadow:var(--shadow-lift); }
.more-card .domain-icon-tile{ width:38px; height:38px; border-radius:10px; margin-bottom:14px; }
.more-card .domain-icon-tile svg{ width:18px; height:18px; }
.more-card h4{ font-size:.98rem; margin-bottom:7px; font-family:var(--font-display); font-weight:600; }
.more-card p{ font-size:.84rem; margin-bottom:0; }
.more{ padding-top:0; }

/* ---------- edition banner (sticky strip above the header, links between
   the 3 top-level pages: home / msp / family) ---------- */
.edition-banner{ background:var(--bg-soft); border-bottom:1px solid var(--border); font-size:.82rem; }
.edition-row{ display:flex; align-items:center; justify-content:center; gap:14px; padding:9px 0; flex-wrap:wrap; }
.edition-pills{ display:flex; gap:8px; flex-wrap:wrap; }
.edition-pill{
  font-family:var(--font-mono); font-size:.78rem; padding:5px 13px; border-radius:999px;
  border:1px solid var(--border); color:var(--text-dim); background:var(--panel);
  transition:border-color .2s, color .2s;
}
.edition-pill:hover{ border-color:var(--accent); color:var(--accent); }
.edition-pill.active{ border-color:var(--accent); color:var(--accent-ink); background:var(--grad); font-weight:600; }

/* ---------- pillar grid (simple 6-card platform overview, homepage) ---------- */
.pillar-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; }
.pillar-card{
  background:var(--panel); border:1px solid var(--border); border-radius:var(--radius);
  padding:28px; transition:transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6);
}
.pillar-card:hover{ transform:translateY(-5px); border-color:rgba(var(--accent-rgb),.35); box-shadow:inset 0 1px 0 rgba(255,255,255,.6), var(--shadow-lift); }
.pillar-ic{
  width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(160deg, rgba(var(--accent-rgb),.16), rgba(var(--accent-rgb),.06)); border:1px solid rgba(var(--accent-rgb),.16); margin-bottom:18px; flex:none;
}
.pillar-ic svg{ width:22px; height:22px; stroke:var(--accent); }
.pillar-card h3{ font-size:1.15rem; margin-bottom:10px; font-weight:560; }
.pillar-card p{ font-size:.9rem; }
.pillar-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.pillar-tags li{ font-size:.74rem; font-family:var(--font-mono); color:var(--accent-2); background:rgba(var(--accent-rgb),.08); padding:4px 10px; border-radius:999px; }

/* ---------- small feature badge tag (used above a pillar-card's title
   on the MSP / Family pages) ---------- */
.feature-badge-tag{
  display:inline-block; font-family:var(--font-mono); font-size:.72rem; letter-spacing:.02em;
  padding:4px 11px; border-radius:999px; margin-bottom:14px; font-weight:600;
}
.badge-msp{ background:rgba(var(--accent-rgb),.10); color:var(--accent); }
.badge-guard{ background:rgba(var(--accent-rgb),.10); color:var(--accent); }

/* ---------- honest-limits callout (states a real, documented boundary
   plainly instead of glossing over it) ---------- */
.honest-box{
  margin-top:26px; padding:18px 20px; border-radius:var(--radius-sm);
  border:1px solid var(--border-strong); background:var(--bg-soft);
  display:flex; gap:12px; align-items:flex-start;
}
.honest-box .honest-ic{
  flex:none; width:22px; height:22px; border-radius:7px; margin-top:1px;
  background:rgba(var(--accent-rgb),.12); display:flex; align-items:center; justify-content:center;
}
.honest-box .honest-ic svg{ width:13px; height:13px; stroke:var(--accent); stroke-width:2.4; }
.honest-box p{ font-size:.86rem; margin:0; color:var(--text-dim); }
.honest-box p b{ color:var(--text); font-weight:600; }

/* ---------- how it works (sticky) ---------- */
.how-grid{ display:grid; grid-template-columns:1fr 0.9fr; gap:64px; }
.how-step{
  padding:36px 0 36px 26px; border-left:2px solid var(--border); margin-left:2px;
  opacity:.4; transition:opacity .35s var(--ease);
}
.how-step.active{ opacity:1; border-left-color:var(--accent); }
.how-num{ font-family:var(--font-mono); color:var(--accent); font-size:.82rem; }
.how-step h3{ font-size:1.3rem; margin:8px 0 8px; }
.how-visual{ position:relative; }
.how-visual-inner{ position:sticky; top:110px; height:400px; }
.how-frame{
  position:absolute; inset:0; border-radius:var(--radius); border:1px solid var(--border-strong);
  background:linear-gradient(160deg, var(--panel), var(--bg-soft));
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px;
  opacity:0; transform:scale(.96); transition:opacity .5s var(--ease), transform .5s var(--ease); padding:32px; text-align:center;
}
.how-frame.active{ opacity:1; transform:scale(1); }
.frame-badge{ font-family:var(--font-mono); font-size:.75rem; color:var(--accent); border:1px solid var(--border-strong); padding:6px 14px; border-radius:999px; }
.frame-glyph{ width:120px; height:120px; border-radius:50%; background:radial-gradient(circle at 35% 30%, rgba(var(--accent-rgb),.35), transparent 60%), var(--panel-2); border:1px solid var(--border-strong); position:relative; }
.frame-glyph::after{ content:""; position:absolute; inset:26px; border-radius:50%; border:2px dashed rgba(var(--accent-rgb),.4); animation:spin 12s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.frame-caption{ font-family:var(--font-mono); font-size:.82rem; color:var(--text-faint); margin:0; }

/* ---------- architecture ---------- */
.architecture{ background:var(--bg-soft); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.arch-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; }
.arch-card{ padding:26px 0; border-top:1px solid var(--border); }
.arch-mono{ font-family:var(--font-mono); color:var(--accent); font-size:.8rem; }
.arch-card h3{ font-size:1.05rem; margin:10px 0 8px; }
.arch-card p{ font-size:.9rem; }

/* ---------- coverage stats ---------- */
.coverage-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:32px; text-align:center; }
.coverage-stat strong{ display:block; font-family:var(--font-display); font-size:2.8rem; font-weight:560; background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.coverage-stat span{ color:var(--text-faint); font-size:.86rem; }

/* ---------- pricing ---------- */
.pricing-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; align-items:stretch; }
.price-card{
  background:var(--panel); border:1px solid var(--border); border-radius:var(--radius);
  padding:32px; display:flex; flex-direction:column; position:relative;
}
.price-card h3{ font-size:1.3rem; }
.price-tagline{ font-size:.88rem; color:var(--text-faint); margin-bottom:24px; }
.price-features{ flex:1; margin-bottom:28px; }
.price-features li{ padding:9px 0 9px 24px; font-size:.88rem; color:var(--text-dim); position:relative; border-bottom:1px solid var(--border); }
.price-features li::before{ content:"\2713"; position:absolute; left:0; color:var(--accent); }
.price-card-featured{ border-color:var(--accent); background:linear-gradient(180deg, rgba(var(--accent-rgb),0.08), var(--panel)); box-shadow:0 0 0 1px rgba(var(--accent-rgb),0.25), var(--shadow-soft), var(--shadow-accent); transform:translateY(-6px); }
@media (max-width: 980px){ .price-card-featured{ transform:none; } }
.price-badge{ position:absolute; top:-13px; left:32px; background:var(--grad); color:var(--accent-ink); font-size:.72rem; font-weight:700; padding:5px 12px; border-radius:999px; }

/* ---------- audience tier tabs + detail card (homepage "who's this for"
   switcher) — restored from the reference design, fed honest content:
   every tab maps to one of the two real billed plans, no invented $. ---------- */
.tier-tabs-nav{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-bottom:28px; }
.tier-tab-btn{
  font-family:var(--font-body); font-size:.86rem; font-weight:600; color:var(--text-dim);
  background:var(--panel); border:1px solid var(--border); border-radius:999px;
  padding:10px 18px; cursor:pointer; transition:border-color .2s, color .2s, background .2s;
}
.tier-tab-btn:hover{ color:var(--text); border-color:var(--border-strong); }
.tier-tab-btn.active{ background:var(--grad-ink); color:#fff; border-color:transparent; }
.tier-detail-card{
  display:grid; grid-template-columns:1.4fr 1fr; gap:0; background:var(--panel);
  border:1px solid var(--border-strong); border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-soft); margin-bottom:32px;
}
.tier-detail-left{ padding:36px; }
.tier-detail-badge{
  display:inline-block; font-family:var(--font-mono); font-size:.72rem; font-weight:700;
  letter-spacing:.04em; text-transform:uppercase; padding:5px 12px; border-radius:999px;
  background:rgba(var(--accent-rgb),.14); color:var(--accent); margin-bottom:14px;
}
.tier-feature-list{ display:flex; flex-direction:column; gap:0; }
.tier-feature-item{
  display:flex; align-items:flex-start; gap:10px; padding:10px 0; border-top:1px solid var(--border);
  font-size:.88rem; color:var(--text-dim);
}
.tier-feature-item svg{ width:16px; height:16px; flex:none; margin-top:2px; color:var(--accent); }
.tier-price-box{
  background:var(--bg-soft); border-left:1px solid var(--border);
  padding:36px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:6px;
}
.tier-price-val{ font-family:var(--font-display); font-size:1.5rem; font-weight:700; color:var(--text); }
.tier-price-period{ font-size:.84rem; color:var(--text-faint); margin-bottom:18px; }

/* ---------- comparison matrix ---------- */
.comp-table-wrap{ overflow-x:auto; border:1px solid var(--border); border-radius:var(--radius); }
.comp-table{ width:100%; border-collapse:collapse; font-size:.86rem; min-width:720px; }
.comp-table th, .comp-table td{ padding:14px 16px; text-align:left; border-bottom:1px solid var(--border); white-space:nowrap; }
.comp-table th{ background:var(--bg-soft); color:var(--text-faint); font-weight:600; font-size:.76rem; text-transform:uppercase; letter-spacing:.03em; }
.comp-table td{ color:var(--text-dim); }
.comp-table tr:last-child td{ border-bottom:0; }
.comp-check{ color:var(--accent); font-weight:600; }
.comp-dash{ color:var(--text-faint); }

/* ---------- MSP margin/consolidation calculator ---------- */
.calc-card{
  background:var(--panel); border:1px solid var(--border-strong); border-radius:var(--radius-lg);
  padding:36px; box-shadow:var(--shadow-soft);
}
.calc-grid{ display:grid; grid-template-columns:1.2fr 1fr; gap:36px; align-items:center; }
.calc-slider-wrap{ margin-bottom:26px; }
.calc-slider-header{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:10px; font-size:.9rem; color:var(--text-dim); }
.calc-slider{
  width:100%; accent-color:var(--accent); height:6px; border-radius:999px;
  background:var(--bg-soft); appearance:none; -webkit-appearance:none; cursor:pointer;
}
.calc-slider::-webkit-slider-thumb{
  -webkit-appearance:none; width:18px; height:18px; border-radius:50%;
  background:var(--accent); cursor:pointer; box-shadow:0 0 0 4px rgba(var(--accent-rgb),.2);
}
.calc-result-box{
  background:var(--bg-soft); border:1px solid var(--border); border-radius:var(--radius);
  padding:28px; display:flex; flex-direction:column; align-items:flex-start; gap:4px;
}
.calc-savings-num{ font-family:var(--font-display); font-size:2.2rem; font-weight:700; color:var(--accent); margin:6px 0; }
.calc-savings-sub{ font-size:.84rem; color:var(--text-faint); }

/* ---------- billing/period toggle (kept as a UI element from the reference
   design; both states show the same real tier-mapping copy since there is
   no separate monthly/annual price to switch between) ---------- */
.billing-toggle-wrap{ display:flex; align-items:center; justify-content:center; gap:14px; margin-bottom:28px; font-size:.88rem; color:var(--text-dim); }
.billing-switch{
  width:46px; height:26px; border-radius:999px; background:var(--panel-2); border:1px solid var(--border-strong);
  position:relative; cursor:pointer; transition:background .2s;
}
.billing-switch::after{
  content:""; position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:50%;
  background:var(--accent); transition:transform .2s var(--ease);
}
.billing-switch.on{ background:rgba(var(--accent-rgb),.25); }
.billing-switch.on::after{ transform:translateX(20px); }
.deploy-note{ font-size:.82rem; color:var(--text-faint); text-align:center; margin:-14px 0 28px; }

/* ---------- cta band ----------
   The one deliberately dark section on an otherwise light-ground site —
   a closing note of confidence (the same "dark punctuation" move Stripe/
   Linear use), with the contact form kept as a light card floating on it
   rather than trying to theme form fields for a dark ground too. */
.cta-band{
  text-align:center; background:var(--grad-ink); color:#fff;
  border-radius:var(--radius-lg); margin:0 28px; padding:96px 0;
  position:relative; overflow:hidden;
}
.cta-band::before{
  content:""; position:absolute; inset:0; opacity:.5; pointer-events:none;
  background:radial-gradient(ellipse 60% 50% at 50% 0%, rgba(var(--accent-rgb),.28), transparent 70%);
}
.cta-band .wrap{ position:relative; }
.cta-inner h2{ font-size:clamp(1.9rem, 3.8vw, 2.8rem); max-width:640px; margin:0 auto .4em; color:#fff; }
.cta-inner p{ max-width:480px; margin:0 auto 30px; color:rgba(255,255,255,.68); }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
@media (max-width: 720px){ .cta-band{ margin:0; border-radius:0; padding:72px 0; } }

/* ---------- contact form ---------- */
.contact-form{
  max-width:640px; margin:48px auto 0; background:var(--panel);
  border:1px solid var(--border-strong); border-radius:var(--radius);
  padding:32px; display:flex; flex-direction:column; gap:18px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ display:flex; flex-direction:column; gap:8px; font-size:.84rem; color:var(--text-dim); }
.field input, .field textarea{
  font-family:var(--font-body); font-size:.94rem; color:var(--text);
  background:var(--bg-soft); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:11px 14px; resize:vertical; transition:border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus{
  outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(var(--accent-rgb),0.15);
}
.form-foot{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:4px; }
.form-note{ font-size:.8rem; color:var(--text-faint); }

/* ---------- footer ---------- */
.site-footer{ border-top:1px solid var(--border); padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:32px; }
.footer-brand p{ font-size:.86rem; max-width:280px; margin-top:14px; }
.footer-col h4{ font-size:.82rem; color:var(--text-faint); text-transform:uppercase; letter-spacing:.05em; margin-bottom:14px; }
.footer-col a{ display:block; padding:6px 0; color:var(--text-dim); font-size:.9rem; }
.footer-col a:hover{ color:var(--accent); }
.footer-bottom{ display:flex; justify-content:space-between; margin-top:48px; padding-top:24px; border-top:1px solid var(--border); font-size:.78rem; color:var(--text-faint); flex-wrap:wrap; gap:10px; }
.footer-legal{ display:flex; flex-wrap:wrap; gap:4px 18px; font-size:.82rem; }
.footer-legal a{ color:var(--text-dim); padding:6px 0; }
.footer-legal a:hover{ color:var(--accent); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px){
  .hero-grid, .problem-grid, .how-grid{ grid-template-columns:1fr; }
  .arch-grid{ grid-template-columns:repeat(2,1fr); }
  .pricing-grid{ grid-template-columns:1fr; max-width:420px; margin:0 auto; }
  .coverage-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .how-visual-inner{ position:relative; top:0; height:320px; margin-top:32px; }
  .domain-panel.active{ grid-template-columns:1fr; }
  .domain-visual{ order:-1; }
  .more-grid{ grid-template-columns:repeat(2,1fr); }
  .pillar-grid{ grid-template-columns:1fr 1fr; }
  .tier-detail-card{ grid-template-columns:1fr; }
  .tier-price-box{ border-left:0; border-top:1px solid var(--border); }
  .calc-grid{ grid-template-columns:1fr; }
}
@media (max-width: 720px){
  .main-nav, .header-cta{ display:none; }
  .nav-toggle{ display:flex; }
  .mobile-nav.open{ display:flex; }
  .arch-grid{ grid-template-columns:1fr; }
  .coverage-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  section{ padding:76px 0; }
  .console-body{ flex-direction:column; }
  .console-side{ display:none; }
  .form-row{ grid-template-columns:1fr; }
  .contact-form{ padding:24px; }
  .more-grid{ grid-template-columns:1fr; }
  .domain-tab span.tab-label{ display:none; }
  .domain-tab{ padding:11px; }
  .pillar-grid{ grid-template-columns:1fr; }
  .edition-row{ justify-content:flex-start; }
}
