/* ==========================================================================
   Floris Services LLP — Design System
   Author: brand foundation build
   Sections: 1 Tokens · 2 Reset · 3 Layout · 4 Glass · 5 Nav · 6 Hero
             7 Dashboard · 8 Components · 9 Pricing · 10 Forms · 11 Footer
             12 Motion · 13 Responsive
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Surfaces */
  --ink-1000: #03060D;
  --ink-900: #060A14;
  --ink-800: #0A1020;
  --ink-700: #111A2E;

  /* Brand */
  --brand-500: #4C7DFF;
  --brand-400: #6E97FF;
  --brand-600: #2E5BE0;
  --mint-500: #2DD4BF;
  --violet-500: #A78BFA;
  --gold-500: #E8B65A;

  /* Data series (dark-surface safe, ≥3:1 vs --ink-900) */
  --series-1: #5B8CFF;
  --series-2: #2DD4BF;
  --series-3: #A78BFA;
  --series-4: #F0B429;

  /* Semantic */
  --pos: #34D399;
  --neg: #FB7185;

  /* Text */
  --text-hi: #EEF3FF;
  --text-mid: #B4C0D9;
  --text-lo: #7E8CA8;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-bg-strong: rgba(255, 255, 255, 0.07);
  --glass-brd: rgba(255, 255, 255, 0.10);
  --glass-brd-hi: rgba(255, 255, 255, 0.20);
  --glass-blur: saturate(150%) blur(18px);

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 18px 44px -18px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 40px 90px -32px rgba(0, 0, 0, 0.85);
  --glow-brand: 0 0 0 1px rgba(76, 125, 255, 0.35), 0 20px 60px -22px rgba(76, 125, 255, 0.55);

  /* Rhythm */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --sec-y: clamp(72px, 10vw, 132px);

  /* Type
     A system font stack: zero downloads, zero third-party requests, no GDPR
     exposure from a font CDN, and instant rendering. Each platform uses the
     typeface its own UI is designed around.
     To self-host an open-licensed webfont instead, see tools/fetch-fonts.sh
     and uncomment the @font-face block at the foot of this file. */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue",
    "Noto Sans", "Liberation Sans", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas,
    "Liberation Mono", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-mid);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-400); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--text-hi); }
h1, h2, h3, h4 { color: var(--text-hi); font-weight: 700; letter-spacing: -0.022em; line-height: 1.15; margin: 0 0 .55em; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.375rem); }
h4 { font-size: 1.02rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .42em; }
strong { color: var(--text-hi); font-weight: 650; }
:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--brand-500); color: #fff; padding: 10px 18px;
  border-radius: var(--r-sm); font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1380px; }
.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: clamp(52px, 7vw, 84px); }

/* Ambient background field */
.bg-field {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(58% 46% at 14% 4%, rgba(76, 125, 255, 0.26) 0%, transparent 62%),
    radial-gradient(46% 40% at 88% 8%, rgba(167, 139, 250, 0.20) 0%, transparent 66%),
    radial-gradient(52% 44% at 72% 92%, rgba(45, 212, 191, 0.14) 0%, transparent 64%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-1000) 100%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 4. Glass ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-md);
}
/* top specular highlight */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,0) 42%);
}
.glass-pad { padding: clamp(22px, 2.6vw, 32px); }

.card {
  padding: 28px;
  transition: transform .38s var(--ease), border-color .38s var(--ease), box-shadow .38s var(--ease), background .38s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-brd-hi);
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-lg);
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--text-mid); font-size: .96rem; }

/* ---------- 5. Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(6, 10, 20, 0.72);
  border-bottom-color: var(--glass-brd);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 1.06rem; font-weight: 750; color: var(--text-hi); letter-spacing: -0.02em; }
.brand-sub { font-size: .61rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; color: var(--text-lo); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links > li { margin: 0; position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: var(--r-sm);
  font-size: .905rem; font-weight: 550; color: var(--text-mid);
  transition: color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--text-hi); background: rgba(255,255,255,.06); }
.nav-link.is-active { color: var(--text-hi); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--brand-500), var(--mint-500));
}
.nav-caret { width: 10px; height: 10px; transition: transform .25s var(--ease); }
.nav-link[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: 300px; padding: 10px; list-style: none; margin: 0;
  background: rgba(10, 16, 32, 0.94);
  border: 1px solid var(--glass-brd); border-radius: var(--r-md);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.dropdown.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.dropdown li { margin: 0; }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--text-hi); font-size: .9rem; font-weight: 600;
}
.dropdown a span { display: block; font-size: .78rem; font-weight: 450; color: var(--text-lo); margin-top: 1px; }
.dropdown a:hover { background: rgba(255,255,255,.07); }
.dropdown a:hover span { color: var(--text-mid); }

.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  border-radius: var(--r-sm); color: var(--text-hi); cursor: pointer;
}

/* ---------- 6. Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 25px; border-radius: var(--r-pill);
  font-size: .945rem; font-weight: 650; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease), color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
  color: #fff; box-shadow: var(--glow-brand);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(76,125,255,.5), 0 26px 60px -20px rgba(76,125,255,.75); }
.btn-ghost {
  background: var(--glass-bg); border-color: var(--glass-brd); color: var(--text-hi);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.btn-ghost:hover { background: var(--glass-bg-strong); border-color: var(--glass-brd-hi); color: var(--text-hi); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: .875rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px; border-radius: var(--r-pill);
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  font-size: .78rem; font-weight: 600; letter-spacing: .045em; text-transform: uppercase;
  color: var(--text-mid); margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint-500);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, .16);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(45,212,191,.18); }
  50% { box-shadow: 0 0 0 7px rgba(45,212,191,.04); }
}

.gradient-text {
  background: linear-gradient(105deg, #FFFFFF 0%, #B8CCFF 38%, var(--mint-500) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--text-mid); line-height: 1.62; }
.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 58px); }
.section-head.center { margin-inline: auto; text-align: center; }
.muted { color: var(--text-lo); }
.small { font-size: .875rem; }

/* ---------- 7. Hero + live dashboard ---------- */
.hero { padding-top: clamp(56px, 7vw, 92px); padding-bottom: clamp(60px, 8vw, 104px); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.1fr); gap: clamp(34px, 4.5vw, 62px); align-items: center; }
.hero h1 { margin-bottom: .38em; }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--glass-brd); }
.hero-proof .num { font-size: 1.65rem; font-weight: 750; color: var(--text-hi); letter-spacing: -0.03em; line-height: 1.1; }
.hero-proof .lbl { font-size: .79rem; color: var(--text-lo); letter-spacing: .02em; }

/* Dashboard shell */
.dash {
  padding: 16px; border-radius: var(--r-xl);
  transform: perspective(1800px) rotateY(-6deg) rotateX(2.5deg);
  transition: transform .7s var(--ease);
}
.dash:hover { transform: perspective(1800px) rotateY(-2deg) rotateX(0.5deg); }
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 4px 6px 14px; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.dash-dots i:first-child { background: rgba(251,113,133,.55); }
.dash-dots i:nth-child(2) { background: rgba(240,180,41,.55); }
.dash-dots i:nth-child(3) { background: rgba(52,211,153,.55); }
.dash-title { font-size: .78rem; font-weight: 600; color: var(--text-lo); letter-spacing: .04em; }
.dash-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pos);
  padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(52,211,153,.10); border: 1px solid rgba(52,211,153,.24);
}
.dash-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--pos); animation: pulse 1.8s infinite; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.kpi {
  padding: 13px 14px; border-radius: var(--r-md);
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.075);
}
.kpi .k-lbl { font-size: .665rem; font-weight: 600; letter-spacing: .085em; text-transform: uppercase; color: var(--text-lo); }
.kpi .k-val { font-size: 1.42rem; font-weight: 750; color: var(--text-hi); letter-spacing: -0.03em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.kpi .k-delta { font-size: .72rem; font-weight: 650; display: inline-flex; align-items: center; gap: 3px; }
.k-delta.up { color: var(--pos); }
.k-delta.down { color: var(--neg); }

.dash-panel {
  padding: 16px; border-radius: var(--r-md);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
}
.dash-panel + .dash-panel { margin-top: 12px; }
.panel-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.panel-head h4 { margin: 0; font-size: .85rem; font-weight: 650; letter-spacing: -0.005em; }
.panel-head .sub { font-size: .72rem; color: var(--text-lo); margin-left: auto; font-variant-numeric: tabular-nums; }

.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 11px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; font-size: .705rem; color: var(--text-lo); font-weight: 550; }
.legend i { width: 9px; height: 3px; border-radius: 2px; }

.dash-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bar-list { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 62px 1fr 38px; align-items: center; gap: 9px; font-size: .715rem; }
.bar-row .bl { color: var(--text-lo); }
.bar-row .bv { color: var(--text-mid); text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.bar-track { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 3px; width: 0; transition: width 1.1s var(--ease); }

/* ---------- 8. Components ---------- */
.icon-badge {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(76,125,255,.24), rgba(45,212,191,.14));
  border: 1px solid rgba(255,255,255,.13);
  color: var(--brand-400);
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge.v-mint { color: var(--mint-500); background: linear-gradient(140deg, rgba(45,212,191,.24), rgba(76,125,255,.12)); }
.icon-badge.v-violet { color: var(--violet-500); background: linear-gradient(140deg, rgba(167,139,250,.26), rgba(76,125,255,.12)); }
.icon-badge.v-gold { color: var(--gold-500); background: linear-gradient(140deg, rgba(232,182,90,.24), rgba(167,139,250,.12)); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--text-mid); margin: 0; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 17px; height: 17px; margin-top: 4px; border-radius: 50%;
  background: rgba(45,212,191,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232DD4BF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid rgba(45,212,191,.26);
}

.svc-block { display: grid; gap: 22px; }
.svc-block h3 { display: flex; align-items: center; gap: 11px; }
.svc-block h3 .n { font-size: .7rem; font-weight: 700; color: var(--brand-400); letter-spacing: .1em; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; }
.stat-strip .st { padding: 26px 22px; text-align: center; background: rgba(255,255,255,.02); }
.stat-strip .st .v { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.1;
  background: linear-gradient(120deg, #fff, #9DB8FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-strip .st .l { font-size: .8rem; color: var(--text-lo); margin-top: 4px; }

/* Trust badges */
.trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--r-pill);
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  font-size: .855rem; font-weight: 600; color: var(--text-mid);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.trust-badge:hover { border-color: var(--glass-brd-hi); color: var(--text-hi); transform: translateY(-2px); }
.trust-badge svg { width: 17px; height: 17px; color: var(--mint-500); flex-shrink: 0; }

.logo-rail { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.geo-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px; border-radius: var(--r-pill);
  border: 1px solid var(--glass-brd); background: rgba(255,255,255,.03);
  font-size: .845rem; font-weight: 600; color: var(--text-mid);
}
.geo-pill .fl { font-size: 1rem; line-height: 1; }

/* Timeline / principles */
.principle { display: flex; gap: 16px; align-items: flex-start; }
.principle .p-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-size: .82rem; font-weight: 750; color: var(--brand-400);
  background: rgba(76,125,255,.12); border: 1px solid rgba(76,125,255,.24);
}
.principle h4 { margin-bottom: .25em; }
.principle p { font-size: .92rem; margin: 0; }

/* Pull quote */
.pullquote {
  padding: clamp(28px, 4vw, 44px); text-align: center;
  font-size: clamp(1.2rem, 2.3vw, 1.65rem); font-weight: 600; line-height: 1.42;
  color: var(--text-hi); letter-spacing: -0.02em;
}
.pullquote .attr { display: block; margin-top: 16px; font-size: .82rem; font-weight: 550; letter-spacing: .1em; text-transform: uppercase; color: var(--text-lo); }

/* CTA band */
.cta-band { text-align: center; padding: clamp(40px, 6vw, 68px) clamp(24px, 4vw, 56px); border-radius: var(--r-xl); overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 120% at 50% 0%, rgba(76,125,255,.28), transparent 70%);
}
.cta-band h2 { max-width: 720px; margin-inline: auto; }
.cta-band .lead { max-width: 600px; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* Page hero (interior) */
.page-hero { padding-top: clamp(48px, 6vw, 78px); padding-bottom: clamp(34px, 4vw, 52px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.15rem); max-width: 15ch; }
.page-hero .lead { max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--text-lo); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-lo); }
.breadcrumb a:hover { color: var(--text-mid); }

/* Accordion */
.acc { border: 1px solid var(--glass-brd); border-radius: var(--r-md); background: rgba(255,255,255,.028); overflow: hidden; }
.acc + .acc { margin-top: 10px; }
.acc summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 650; color: var(--text-hi);
  display: flex; align-items: center; gap: 12px; font-size: .98rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; margin-left: auto; font-size: 1.3rem; font-weight: 400; color: var(--text-lo);
  transition: transform .28s var(--ease);
}
.acc[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 22px 20px; font-size: .93rem; }

/* ---------- 9. Engagement / pricing table ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; align-items: stretch; }
.price {
  display: flex; flex-direction: column; padding: 30px 28px 32px;
  transition: transform .38s var(--ease), border-color .38s var(--ease), box-shadow .38s var(--ease);
}
.price:hover { transform: translateY(-6px); border-color: var(--glass-brd-hi); box-shadow: var(--shadow-lg); }
.price.featured {
  border-color: rgba(76,125,255,.45);
  background: linear-gradient(180deg, rgba(76,125,255,.13), rgba(255,255,255,.045) 46%);
  box-shadow: var(--glow-brand);
}
.price-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 15px; border-radius: var(--r-pill); white-space: nowrap;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 8px 24px -8px rgba(76,125,255,.9);
}
.price h3 { margin-bottom: .3em; }
.price .p-for { font-size: .84rem; color: var(--text-lo); margin-bottom: 20px; min-height: 42px; }
.price .p-amt { font-size: 1.9rem; font-weight: 750; color: var(--text-hi); letter-spacing: -0.035em; line-height: 1.15; }
.price .p-unit { font-size: .82rem; color: var(--text-lo); margin-bottom: 22px; }
.price .check-list { margin-bottom: 26px; }
.price .btn { margin-top: auto; }

.compare { width: 100%; border-collapse: collapse; font-size: .89rem; overflow: hidden; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--glass-brd); }
.compare thead th { font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--text-lo); font-weight: 700; }
.compare tbody th { font-weight: 600; color: var(--text-hi); }
.compare td { color: var(--text-mid); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }

/* ---------- 10. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 650; color: var(--text-mid); letter-spacing: .01em; }
.field label .req { color: var(--neg); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: .93rem;
  color: var(--text-hi); background: rgba(255,255,255,.04);
  border: 1px solid var(--glass-brd); border-radius: var(--r-sm);
  transition: border-color .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237E8CA8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 15px; padding-right: 40px; }
.field select option { background: var(--ink-800); color: var(--text-hi); }
.field input::placeholder, .field textarea::placeholder { color: #5F6C86; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(76,125,255,.6); background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(76,125,255,.16);
}
.field .err { font-size: .77rem; color: var(--neg); display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: rgba(251,113,133,.65); }
.field.invalid .err { display: block; }
.form-note { font-size: .79rem; color: var(--text-lo); }
.form-status {
  display: none; margin-top: 16px; padding: 15px 18px; border-radius: var(--r-md); font-size: .9rem;
}
.form-status.ok { display: block; background: rgba(52,211,153,.10); border: 1px solid rgba(52,211,153,.3); color: #9BF0CE; }
.form-status.bad { display: block; background: rgba(251,113,133,.10); border: 1px solid rgba(251,113,133,.3); color: #FFC2CB; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.contact-tile { display: flex; gap: 14px; align-items: flex-start; padding: 20px; }
.contact-tile .icon-badge { margin-bottom: 0; width: 40px; height: 40px; border-radius: 12px; }
.contact-tile h4 { margin-bottom: .15em; }
.contact-tile p { font-size: .89rem; margin: 0; }

/* ---------- 11. Footer ---------- */
.site-footer { border-top: 1px solid var(--glass-brd); background: rgba(3,6,13,.5); margin-top: clamp(50px, 7vw, 90px); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-block: clamp(46px, 6vw, 68px); }
.footer-about { max-width: 340px; }
.footer-about p { font-size: .89rem; color: var(--text-lo); margin-top: 16px; }
.footer-col h4 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-lo); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col li { margin: 0; }
.footer-col a { font-size: .89rem; color: var(--text-mid); }
.footer-col a:hover { color: var(--text-hi); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding-block: 22px; border-top: 1px solid var(--glass-brd); font-size: .82rem; color: var(--text-lo);
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: var(--text-lo); }
.footer-bottom a:hover { color: var(--text-mid); }

/* ---------- 12. Motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .72s var(--ease), transform .72s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }

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

/* ---------- 13. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .dash { transform: none; margin-top: 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-about { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 14px;
    background: rgba(8, 13, 26, .97); border: 1px solid var(--glass-brd); border-radius: var(--r-lg);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-lg); margin-left: 0;
    max-height: calc(100vh - 110px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { width: 100%; padding: 12px 14px; font-size: .97rem; }
  .nav-link.is-active::after { display: none; }
  .dropdown {
    position: static; transform: none; width: auto; opacity: 1; visibility: visible; pointer-events: auto;
    background: transparent; border: none; box-shadow: none; backdrop-filter: none;
    padding: 0 0 0 12px; display: none;
  }
  .dropdown.is-open { display: block; transform: none; }
  .nav-cta { margin: 8px 0 0; width: 100%; }
  .nav-cta .btn { width: 100%; padding-block: 13px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-tag { top: -13px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .dash-split { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .kpi:last-child { grid-column: 1 / -1; }
  .hero-proof { gap: 22px; }
  .footer-top { grid-template-columns: 1fr; }
  .compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare { min-width: 640px; }
}
@media (max-width: 460px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   OPTIONAL — self-hosted webfont
   --------------------------------------------------------------------------
   The site ships with a system font stack and makes zero external requests.
   If you would rather use Plus Jakarta Sans (SIL Open Font License 1.1, free
   for commercial use), run:  ./tools/fetch-fonts.sh
   then delete the comment markers around the block below and rebuild.
   Nothing else needs to change — the stack already lists it first.
   ========================================================================== */
/*
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-variable.woff2") format("woff2-variations");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
*/
