/* ==========================================================================
   SmarTally — Design System  (tax.zaid.zbox.sh)
   Author: @ui-design-advisor  |  v1.0
   A cohesive, production CSS system: tokens, base, layout, components, motion.
   Loaded once site-wide as /styles.css. Fonts progressively enhanced.
   ========================================================================== */

/* ---- Optional vendored fonts (see README > Fonts). Falls back gracefully. --- */
/* @font-face declarations are provided via <link> in <head> (Sora + Inter).   */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* ---- Color: neutrals ---- */
  --ink:        #0b1d33;   /* primary text / darkest */
  --ink-soft:   #33475b;   /* secondary text */
  --muted:      #64748b;   /* tertiary text, captions */
  --line:       #e4eaf1;   /* hairline borders */
  --line-strong:#cfdae6;
  --canvas:     #f5f8fc;   /* page background */
  --surface:    #ffffff;   /* cards / panels */
  --surface-2:  #eef3f9;   /* subtle inset panels */
  --surface-3:  #e7eef6;

  /* ---- Color: brand (teal) ---- */
  --brand-050:  #e6f6f3;
  --brand-100:  #c5ece6;
  --brand-300:  #5cc9bd;
  --brand-500:  #10a99a;
  --brand:      #0d9488;   /* primary brand */
  --brand-600:  #0c8378;
  --brand-700:  #0f766e;
  --brand-800:  #115e56;

  /* ---- Color: accent (gold) ---- */
  --gold-050:   #fdf4e0;
  --gold-200:   #f6dba0;
  --gold:       #e6a935;   /* accent / primary CTA */
  --gold-600:   #d1901e;
  --gold-700:   #a9711426;

  /* ---- Color: deep hero palette ---- */
  --navy-900:   #071a2f;
  --navy-800:   #0a2440;
  --teal-deep:  #0b3540;

  /* ---- Semantic ---- */
  --success:    #16a34a;
  --success-bg: #dcfce7;
  --warning:    #d97706;
  --warning-bg: #fef3c7;
  --danger:     #dc2626;
  --danger-bg:  #fee2e2;

  /* ---- Typography ---- */
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display:"Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-eyebrow: 0.8125rem;
  --fs-sm:      0.9375rem;
  --fs-base:    1rem;
  --fs-lg:      1.125rem;
  --fs-xl:      1.25rem;
  --fs-h4:      1.1875rem;
  --fs-h3:      clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  --fs-h2:      clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem);
  --fs-h1:      clamp(2.1rem, 1.5rem + 2.8vw, 3.15rem);
  --fs-hero:    clamp(2.5rem, 1.4rem + 4.6vw, 4.15rem);

  /* ---- Spacing (8px rhythm) ---- */
  --space-1: 0.25rem;  --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.5rem;  --space-6: 2rem;
  --space-7: 3rem;     --space-8: 4rem;    --space-9: 5rem;
  --space-10: 6rem;    --space-11: 8rem;
  --section-y: clamp(3.75rem, 2rem + 6vw, 7rem);
  --container: 1180px;
  --container-narrow: 820px;

  /* ---- Radii ---- */
  --r-sm: 8px;  --r-md: 12px;  --r-lg: 18px;  --r-xl: 26px;  --r-pill: 999px;

  /* ---- Shadows ---- */
  --sh-xs: 0 1px 2px rgba(11,29,51,.06);
  --sh-sm: 0 2px 8px rgba(11,29,51,.07);
  --sh-md: 0 10px 28px -10px rgba(11,29,51,.16);
  --sh-lg: 0 26px 60px -22px rgba(11,29,51,.28);
  --sh-brand: 0 14px 30px -12px rgba(13,148,136,.5);
  --sh-gold: 0 14px 28px -10px rgba(214,144,30,.55);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur: .28s;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
h1,h2,h3,h4,h5 { color: var(--ink); font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
h4 { font-size: var(--fs-h4); letter-spacing: -0.01em; }
p { color: var(--ink-soft); }
a { color: var(--brand-700); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--brand-800); }
strong { color: var(--ink); font-weight: 650; }
ul, ol { padding-left: 1.15rem; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-100); color: var(--ink); }

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2rem); }
.container.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section.tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--tint { background: linear-gradient(180deg, var(--surface-2), var(--canvas)); }
.section--surface { background: var(--surface); }
.section--brandtint { background: linear-gradient(170deg, var(--brand-050), var(--canvas) 70%); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.15rem; border-radius: 0 0 var(--r-md) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color:#fff; }

/* Grids */
.grid { display: grid; gap: clamp(1.15rem, 2.4vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(250px, 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; } }

/* ==========================================================================
   4. TYPOGRAPHY HELPERS
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before { content:""; width: 1.4rem; height: 2px; border-radius: 2px; background: var(--gold); }
.eyebrow.on-dark { color: var(--brand-300); }
.eyebrow.center { justify-content: center; }
.lead { font-size: var(--fs-lg); color: var(--ink-soft); }
.section-head { max-width: 46rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: .9rem; }
.section-head p { margin-top: .85rem; }
.text-gradient { background: linear-gradient(100deg, var(--brand-500), var(--brand-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-gold { color: var(--gold-600); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display);
  font-weight: 600; font-size: var(--fs-base); line-height: 1;
  padding: .95rem 1.5rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap; text-decoration: none;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary { background: linear-gradient(135deg, #f2b94e, var(--gold) 55%, var(--gold-600)); color: #3a2a05; box-shadow: var(--sh-gold); }
.btn-primary:hover { color: #3a2a05; box-shadow: 0 18px 34px -10px rgba(214,144,30,.7); }

.btn-brand { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color:#fff; box-shadow: var(--sh-brand); }
.btn-brand:hover { color:#fff; box-shadow: 0 18px 34px -10px rgba(13,148,136,.65); }

.btn-outline { background: transparent; color: var(--brand-700); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-800); background: var(--brand-050); }

.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-xs); }
.btn-ghost:hover { color: var(--ink); border-color: var(--line-strong); box-shadow: var(--sh-sm); }

/* On dark backgrounds */
.on-dark .btn-outline, .btn-outline.on-dark { color:#fff; border-color: rgba(255,255,255,.35); }
.on-dark .btn-outline:hover, .btn-outline.on-dark:hover { background: rgba(255,255,255,.1); border-color:#fff; color:#fff; }

.btn-lg { padding: 1.1rem 1.9rem; font-size: var(--fs-lg); }
.btn-sm { padding: .65rem 1.05rem; font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.btn-link { background: none; border: none; color: var(--brand-700); font-weight: 600; padding: 0; display: inline-flex; align-items: center; gap: .4rem; }
.btn-link svg { transition: transform var(--dur) var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row.center { justify-content: center; }

/* ==========================================================================
   6. HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-sm); border-bottom-color: var(--line); background: rgba(255,255,255,.94); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }

/* Brand mark */
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand .wm-smar { color: var(--ink); }
.brand .wm-tally { color: var(--brand); }

.nav-menu { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .8rem; border-radius: var(--r-sm);
  color: var(--ink-soft); font-weight: 550; font-size: .96rem;
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link[aria-current="page"] { color: var(--brand-700); }
.nav-link .chev { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.has-menu:hover .chev, .has-menu:focus-within .chev { transform: rotate(180deg); }

/* Dropdown / mega menu */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 320px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: .6rem; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all var(--dur) var(--ease); z-index: 120;
}
.dropdown.wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-item { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem .8rem; border-radius: var(--r-md); }
.drop-item:hover { background: var(--surface-2); }
.drop-item .medallion { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.drop-item h5 { font-family: var(--font-display); font-size: .98rem; color: var(--ink); margin-bottom: .1rem; }
.drop-item p { font-size: .84rem; color: var(--muted); line-height: 1.4; }

.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; }

/* Mobile nav */
/* Base: hide the off-canvas panel + toggle on desktop (>1000px); the media query
   below reveals and positions them on tablet/mobile. Without this base rule the panel
   renders as a static block and inflates the header (bug: header grew to 257px). */
.mobile-panel { display: none; }
.nav-toggle { display: none; }

@media (max-width: 1000px) {
  .nav-menu, .nav > .nav-cta .btn { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: var(--r-md); border: 1px solid var(--line);
    background: var(--surface); color: var(--ink); cursor: pointer;
  }
  .nav-toggle svg { width: 24px; height: 24px; }
  .mobile-panel {
    display: block; position: fixed; inset: 76px 0 auto 0; background: var(--surface);
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg);
    padding: 1rem clamp(1.15rem,4vw,2rem) 1.75rem; z-index: 95;
    transform: translateY(-120%); transition: transform .38s var(--ease-out); max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .mobile-panel.open { transform: translateY(0); }
  .mobile-panel a { display: block; padding: .85rem .4rem; font-size: 1.06rem; font-weight: 550; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-panel a:last-of-type { border-bottom: 0; }
  .mobile-panel .m-group-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 1rem; font-weight: 700; }
  .mobile-panel .btn { margin-top: 1.15rem; width: 100%; }
}
body.nav-open { overflow: hidden; }
.scrim { position: fixed; inset: 0; background: rgba(7,26,47,.4); opacity: 0; visibility: hidden; transition: opacity var(--dur); z-index: 90; }
.scrim.show { opacity: 1; visibility: visible; }

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; color: #eaf2fb; background: radial-gradient(120% 130% at 85% 0%, var(--teal-deep) 0%, var(--navy-800) 42%, var(--navy-900) 100%); }
.hero::before { /* subtle grid / glow */
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(50% 55% at 85% 15%, rgba(13,148,136,.28), transparent 60%),
    radial-gradient(40% 50% at 10% 90%, rgba(230,169,53,.14), transparent 60%);
}
.hero::after { content:""; position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(70% 70% at 70% 20%, #000 0%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-block: clamp(3.5rem, 6vw, 6rem); }
.hero-copy h1 { color: #fff; margin-bottom: 1.15rem; }
.hero-copy h1 .accent { background: linear-gradient(100deg, var(--brand-300), #7fe3d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .lead { color: #b9cbe0; font-size: clamp(1.05rem,1rem + .5vw,1.3rem); max-width: 34rem; }
.hero-copy .btn-row { margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem; margin-top: 2.25rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero-trust .ht { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: #cdddee; }
.hero-trust .ht svg { width: 1.15rem; height: 1.15rem; color: var(--brand-300); flex:none; }
.hero.compact .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-block: clamp(3rem,5vw,4.5rem); }
.hero.compact .hero-copy .lead { margin-inline: auto; }
.hero.compact .hero-trust { justify-content: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; } .hero-copy .lead { margin-inline: auto; } .hero-trust { justify-content: center; } .hero-visual { display:none; } }

/* Hero breadcrumb */
.crumbs { display: flex; gap: .5rem; font-size: .85rem; color: #9fb4cc; margin-bottom: 1.1rem; }
.crumbs a { color: #cdddee; } .crumbs a:hover { color:#fff; }

/* Hero visual card (dashboard mock built from CSS/SVG — no copyrighted imagery) */
.hero-visual { position: relative; }
.hv-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-xl); padding: 1.4rem; backdrop-filter: blur(6px); box-shadow: var(--sh-lg); }
.hv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.hv-dot { display: flex; gap: .4rem; } .hv-dot i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.hv-dot i:first-child { background: var(--gold); }
.hv-pill { font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--brand-300); background: rgba(13,148,136,.18); padding: .3rem .6rem; border-radius: var(--r-pill); }
.hv-stat { display: flex; align-items: flex-end; gap: .6rem; margin-bottom: .35rem; }
.hv-stat b { font-family: var(--font-display); font-size: 2.1rem; color: #fff; letter-spacing: -.02em; }
.hv-stat .up { color: #6ee7b7; font-size: .82rem; font-weight: 700; display:flex; align-items:center; gap:.2rem; }
.hv-sub { color: #9fb4cc; font-size: .82rem; margin-bottom: 1.1rem; }
.hv-bars { display: grid; grid-template-columns: repeat(7,1fr); gap: .5rem; align-items: end; height: 118px; }
.hv-bars span { display:block; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--brand-300), var(--brand-600)); opacity:.85; animation: growbar 1s var(--ease-out) both; }
.hv-bars span:nth-child(7) { background: linear-gradient(180deg, #f2b94e, var(--gold-600)); opacity:1; }
@keyframes growbar { from { transform: scaleY(.2); transform-origin: bottom; opacity:.2; } to { transform: scaleY(1); opacity:.85; } }
.hv-foot { display:flex; justify-content: space-between; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color:#9fb4cc; }
.hv-badge { position:absolute; background: var(--surface); color: var(--ink); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: .7rem .9rem; display:flex; align-items:center; gap:.55rem; font-weight:600; font-size:.86rem; }
.hv-badge svg { width:1.4rem; height:1.4rem; color: var(--brand); }
.hv-badge.b1 { bottom: -18px; left: -22px; animation: float 5s ease-in-out infinite; }
.hv-badge.b2 { top: 14px; right: -20px; animation: float 5s ease-in-out infinite .8s; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

/* ==========================================================================
   8. CARDS & MEDALLIONS
   ========================================================================== */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 2.5vw, 2rem); box-shadow: var(--sh-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.card.hover:hover, a.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--brand-100); }
.card h3, .card h4 { color: var(--ink); }
.card p { margin-top: .5rem; font-size: .97rem; }
.card.pad-lg { padding: clamp(1.75rem, 3vw, 2.6rem); }

.medallion {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(140deg, var(--brand-050), #d5f0eb); color: var(--brand-700);
  border: 1px solid var(--brand-100); box-shadow: inset 0 1px 0 #fff;
}
.medallion svg { width: 26px; height: 26px; }
.medallion.gold { background: linear-gradient(140deg, var(--gold-050), #fbe6bd); color: var(--gold-600); border-color: var(--gold-200); }
.medallion.sm { width: 42px; height: 42px; border-radius: 11px; } .medallion.sm svg { width: 21px; height: 21px; }
.medallion.lg { width: 66px; height: 66px; border-radius: 18px; } .medallion.lg svg { width: 32px; height: 32px; }

.feature { }
.feature .medallion { margin-bottom: 1.1rem; }
.feature h3, .feature h4 { margin-bottom: .35rem; }

/* Service card with arrow */
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card .medallion { margin-bottom: 1.15rem; }
.service-card h3 { margin-bottom: .5rem; }
.service-card .btn-link { margin-top: auto; padding-top: 1.1rem; }
.service-card .tag { align-self: flex-start; margin-bottom: .9rem; }

/* Segment card with gradient top */
.segment-card { position: relative; overflow: hidden; display:flex; flex-direction:column; height:100%; }
.segment-card::before { content:""; position:absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--brand), var(--brand-300)); }
.segment-card.gold::before { background: linear-gradient(90deg, var(--gold), #f2cf82); }
.segment-card .btn-link { margin-top: auto; padding-top: 1.1rem; }

/* Pillar (compact) */
.pillar { display: flex; gap: 1rem; align-items: flex-start; }
.pillar .medallion { flex: none; }
.pillar h4 { margin-bottom: .25rem; }
.pillar p { font-size: .94rem; }

/* Tags / pills / badges */
.tag { display: inline-flex; align-items:center; gap:.4rem; font-size:.78rem; font-weight:700; letter-spacing:.03em; text-transform:uppercase; color: var(--brand-700); background: var(--brand-050); border:1px solid var(--brand-100); padding:.32rem .7rem; border-radius: var(--r-pill); }
.tag.gold { color: var(--gold-600); background: var(--gold-050); border-color: var(--gold-200); }
.tag.soft { color: var(--muted); background: var(--surface-2); border-color: var(--line); text-transform: none; letter-spacing: 0; font-weight:600; }
.ribbon { position:absolute; top: 1rem; right: -2.6rem; transform: rotate(45deg); background: var(--gold); color:#3a2a05; font-weight:700; font-size:.74rem; letter-spacing:.06em; padding:.3rem 3rem; box-shadow: var(--sh-sm); }

/* Check list */
.checklist { list-style:none; padding:0; margin:0; display:grid; gap:.7rem; }
.checklist li { display:flex; gap:.65rem; align-items:flex-start; font-size:.98rem; color: var(--ink-soft); }
.checklist li svg { width: 1.35rem; height: 1.35rem; flex:none; color: var(--brand); margin-top: .05rem; }
.checklist.gold li svg { color: var(--gold-600); }
.checklist.tight li { font-size: .92rem; }

/* ==========================================================================
   9. STATS / TRUST BAR / STEPS
   ========================================================================== */
.trustbar { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap: 1rem 2.4rem; }
.trustbar .ti { display:flex; align-items:center; gap:.6rem; color: var(--ink-soft); font-weight:600; font-size:.95rem; }
.trustbar .ti svg { width:1.5rem; height:1.5rem; color: var(--brand); }

.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
@media (max-width:760px){ .stats{ grid-template-columns: repeat(2,1fr);} }
.stat { text-align:center; padding: 1.25rem 1rem; }
.stat b { display:block; font-family: var(--font-display); font-size: clamp(1.9rem,1.4rem+1.6vw,2.6rem); color: var(--ink); letter-spacing:-.02em; line-height:1; }
.stat.on-dark b { color:#fff; }
.stat span { font-size:.9rem; color: var(--muted); }
.stat.on-dark span { color:#a9c0da; }

.steps { counter-reset: step; display:grid; gap: 1.5rem; grid-template-columns: repeat(3,1fr); }
@media (max-width:820px){ .steps{ grid-template-columns:1fr; } }
.step-card { position:relative; padding-top: 1.5rem; }
.step-card .num { font-family: var(--font-display); font-weight:700; font-size: 1rem; width: 2.5rem; height:2.5rem; display:flex; align-items:center; justify-content:center; border-radius: 50%; background: var(--ink); color:#fff; margin-bottom: 1rem; }
.step-card.a .num{ background: linear-gradient(135deg,var(--brand-500),var(--brand-700)); }
.step-card.b .num{ background: linear-gradient(135deg,#f2b94e,var(--gold-600)); color:#3a2a05; }
.step-card.c .num{ background: var(--ink); }

/* ==========================================================================
   10. PRICING
   ========================================================================== */
.price-toggle-note { display:inline-flex; align-items:center; gap:.5rem; font-size:.9rem; color:var(--muted); background:var(--surface-2); border:1px solid var(--line); padding:.5rem .9rem; border-radius:var(--r-pill); }
.pricing { display:grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; align-items: stretch; }
@media (max-width:920px){ .pricing{ grid-template-columns:1fr; max-width: 460px; margin-inline:auto; } }
.price-card { position: relative; display:flex; flex-direction:column; background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem 1.6rem; box-shadow: var(--sh-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--sh-md); }
.price-card.featured::before { content:"Most popular"; position:absolute; top:-.85rem; left:50%; transform:translateX(-50%); background: linear-gradient(135deg,var(--brand-500),var(--brand-700)); color:#fff; font-size:.74rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:.35rem .9rem; border-radius: var(--r-pill); box-shadow: var(--sh-brand); white-space:nowrap; }
.price-card .plan { font-family: var(--font-display); font-weight:700; color: var(--ink); font-size:1.15rem; }
.price-card .desc { font-size:.9rem; color: var(--muted); margin-top:.2rem; min-height: 2.4rem; }
.price-card .amount { display:flex; align-items:baseline; gap:.3rem; margin: 1rem 0 .1rem; }
.price-card .amount .cur { font-weight:700; color: var(--ink); font-size:1.1rem; }
.price-card .amount .val { font-family: var(--font-display); font-weight:700; color: var(--ink); font-size: 2.9rem; letter-spacing:-.03em; line-height:1; }
.price-card .amount .per { color: var(--muted); font-size:.9rem; font-weight:600; }
.price-card .startingat { font-size:.8rem; color: var(--gold-600); font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.price-card .hst { font-size:.82rem; color: var(--muted); margin-bottom: 1.2rem; }
.price-card .checklist { margin-bottom: 1.6rem; }
.price-card .btn { margin-top:auto; }
.price-note { font-size:.85rem; color:var(--muted); text-align:center; margin-top:1.5rem; }

/* ==========================================================================
   11. FORMS
   ========================================================================== */
.form-card { background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem,3vw,2.3rem); box-shadow: var(--sh-md); }
.field { margin-bottom: 1.05rem; }
.field:last-of-type { margin-bottom: 0; }
.field label { display:block; font-size:.9rem; font-weight:600; color: var(--ink); margin-bottom:.4rem; }
.field label .req { color: var(--danger); }
.input, .select, .textarea {
  width:100%; font: inherit; color: var(--ink); background: var(--surface);
  padding: .82rem .95rem; border:1.5px solid var(--line-strong); border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); appearance:none;
}
.input::placeholder, .textarea::placeholder { color:#9aa8b8; }
.input:focus, .select:focus, .textarea:focus { outline:none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-050); }
.textarea { resize: vertical; min-height: 120px; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position: right .85rem center; padding-right: 2.6rem; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap: 1rem; }
@media (max-width:560px){ .field-row{ grid-template-columns:1fr; } }
.form-note { font-size:.82rem; color: var(--muted); margin-top: 1rem; display:flex; gap:.5rem; align-items:flex-start; }
.form-note svg { width:1.05rem; height:1.05rem; color: var(--brand); flex:none; margin-top:.15rem; }
.form-msg { margin-top:1rem; padding:.9rem 1.1rem; border-radius: var(--r-md); font-size:.92rem; font-weight:550; display:none; }
.form-msg.ok { display:block; background: var(--success-bg); color:#166534; border:1px solid #86efac; }
.form-msg.err { display:block; background: var(--danger-bg); color:#991b1b; border:1px solid #fca5a5; }

/* Contact split layout */
.contact-grid { display:grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem,3vw,2.5rem); align-items:start; }
@media (max-width:880px){ .contact-grid{ grid-template-columns:1fr; } }
.info-list { list-style:none; padding:0; margin:0; display:grid; gap:1.15rem; }
.info-list li { display:flex; gap:.85rem; align-items:flex-start; }
.info-list .medallion { flex:none; }
.info-list h5 { font-family:var(--font-display); font-size:.95rem; color:var(--ink); margin-bottom:.1rem; }
.info-list p, .info-list a { font-size:.94rem; color: var(--ink-soft); }
.nap-flag { font-size:.76rem; font-weight:700; color: var(--gold-600); background:var(--gold-050); border:1px dashed var(--gold-200); padding:.15rem .5rem; border-radius:var(--r-sm); text-transform:uppercase; letter-spacing:.04em; }

/* ==========================================================================
   12. RESOURCES (gated) & QUIZ
   ========================================================================== */
.resource-card { display:flex; flex-direction:column; height:100%; }
.resource-card .medallion { margin-bottom:1rem; }
.resource-card .filetype { font-size:.75rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--muted); }
.resource-card h3 { font-size:1.15rem; margin:.15rem 0 .4rem; }
.resource-card p { font-size:.93rem; flex-grow:0; }
.gate { margin-top:1.1rem; padding-top:1.1rem; border-top:1px solid var(--line); }
.gate.collapsed .gate-fields { display:none; }
.gate .gate-fields { margin-top:.9rem; display:grid; gap:.7rem; animation: fadeUp .3s var(--ease-out) both; }
.gate .input, .gate .select { padding:.7rem .85rem; }
.gate-toggle { width:100%; }

.quiz-shell { max-width: 720px; margin-inline:auto; }
.quiz-card { background:var(--surface); border:1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-md); padding: clamp(1.5rem,3vw,2.5rem); }
.quiz-progress { margin-bottom:1.6rem; }
.quiz-progress .bar { height:8px; background:var(--surface-3); border-radius:var(--r-pill); overflow:hidden; }
.quiz-progress .fill { height:100%; width:0; background: linear-gradient(90deg,var(--brand-500),var(--brand-700)); border-radius:var(--r-pill); transition: width .4s var(--ease-out); }
.quiz-progress .meta { display:flex; justify-content:space-between; margin-top:.6rem; font-size:.85rem; color:var(--muted); font-weight:600; }
.quiz-step { display:none; animation: fadeUp .35s var(--ease-out) both; }
.quiz-step.active { display:block; }
.quiz-step h3 { font-size: clamp(1.2rem,1rem+.9vw,1.55rem); margin-bottom:1.25rem; }
.q-options { display:grid; gap:.7rem; }
.q-option { position:relative; display:flex; align-items:center; gap:.85rem; padding:1rem 1.1rem; border:1.5px solid var(--line-strong); border-radius:var(--r-md); cursor:pointer; transition: all var(--dur) var(--ease); font-weight:550; color:var(--ink); }
.q-option:hover { border-color: var(--brand-300); background: var(--brand-050); }
.q-option input { position:absolute; opacity:0; }
.q-option .dot { width:22px; height:22px; border-radius:50%; border:2px solid var(--line-strong); flex:none; display:grid; place-items:center; transition: all var(--dur) var(--ease); }
.q-option .dot::after { content:""; width:10px; height:10px; border-radius:50%; background:var(--brand); transform:scale(0); transition: transform var(--dur) var(--ease); }
.q-option.selected { border-color: var(--brand); background: var(--brand-050); box-shadow: 0 0 0 3px var(--brand-050); }
.q-option.selected .dot { border-color: var(--brand); } .q-option.selected .dot::after { transform:scale(1); }
.quiz-nav { display:flex; justify-content:space-between; gap:1rem; margin-top:1.75rem; }
.quiz-result { display:none; animation: fadeUp .4s var(--ease-out) both; }
.quiz-result.active { display:block; }
.result-banner { display:flex; align-items:center; gap:1rem; padding:1.3rem 1.4rem; border-radius:var(--r-lg); margin-bottom:1.4rem; }
.result-banner .medallion { flex:none; }
.result-banner h3 { margin-bottom:.1rem; }
.result-banner.critical { background:var(--danger-bg); border:1px solid #fca5a5; } .result-banner.critical .medallion{ background:#fff; color:var(--danger);}
.result-banner.improve { background:var(--warning-bg); border:1px solid #fcd34d; } .result-banner.improve .medallion{ background:#fff; color:var(--warning);}
.result-banner.healthy { background:var(--success-bg); border:1px solid #86efac; } .result-banner.healthy .medallion{ background:#fff; color:var(--success);}
.quiz-score { font-family:var(--font-display); font-weight:700; }

/* ==========================================================================
   13. CTA BAND, FAQ, PROSE, MISC
   ========================================================================== */
.cta-band { position:relative; overflow:hidden; color:#eaf2fb; background: radial-gradient(120% 140% at 20% 10%, var(--teal-deep), var(--navy-800) 55%, var(--navy-900)); border-radius: var(--r-xl); padding: clamp(2.5rem,5vw,4rem); text-align:center; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(40% 60% at 85% 20%, rgba(230,169,53,.16), transparent 60%); pointer-events:none; }
.cta-band > * { position:relative; z-index:1; }
.cta-band h2 { color:#fff; }
.cta-band p { color:#b9cbe0; max-width:40rem; margin:1rem auto 0; }
.cta-band .btn-row { margin-top:2rem; justify-content:center; }
.cta-band .free { display:inline-flex; align-items:center; gap:.5rem; margin-top:1.4rem; font-size:.9rem; color:var(--brand-300); font-weight:600; }
.cta-band .free svg { width:1.1rem;height:1.1rem; }
.cta-full { background: radial-gradient(120% 140% at 20% 10%, var(--teal-deep), var(--navy-800) 55%, var(--navy-900)); }

.faq { max-width: 800px; margin-inline:auto; display:grid; gap:.8rem; }
.faq-item { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); overflow:hidden; }
.faq-q { width:100%; text-align:left; background:none; border:none; padding:1.15rem 1.3rem; font-family:var(--font-display); font-weight:600; font-size:1.02rem; color:var(--ink); cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.faq-q .ic { width:1.4rem;height:1.4rem; flex:none; color:var(--brand); transition: transform var(--dur) var(--ease); }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 1.3rem 1.2rem; color:var(--ink-soft); font-size:.96rem; }

.prose { max-width: 44rem; }
.prose p { margin-bottom:1.1rem; }
.prose h2 { margin: 2rem 0 .8rem; }
.prose h3 { margin: 1.5rem 0 .6rem; }
.prose ul { display:grid; gap:.5rem; margin-bottom:1.1rem; }

.split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem,4vw,3.5rem); align-items:center; }
.split.narrow-media { grid-template-columns: 1.1fr .9fr; }
@media (max-width:880px){ .split, .split.narrow-media { grid-template-columns:1fr; } }

.panel { background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem,3vw,2.4rem); box-shadow: var(--sh-sm); }
.panel-brand { background: linear-gradient(150deg, var(--brand-700), var(--brand-800)); color:#dff3f0; border:none; }
.panel-brand h2, .panel-brand h3 { color:#fff; }
.panel-brand .checklist li { color:#dff3f0; } .panel-brand .checklist li svg { color: var(--brand-300); }

.notice { display:flex; gap:.8rem; align-items:flex-start; background:var(--gold-050); border:1px solid var(--gold-200); border-radius:var(--r-md); padding:1rem 1.15rem; }
.notice svg { width:1.4rem;height:1.4rem; color:var(--gold-600); flex:none; }
.notice p { font-size:.92rem; color:#7a5b12; }

.coming-soon-hero { text-align:center; padding-block: clamp(3rem,6vw,5rem); }
.coming-soon-hero .medallion { margin: 0 auto 1.5rem; }

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-900); color:#a9c0da; padding-top: clamp(3rem,5vw,4.5rem); margin-top: var(--section-y); }
.footer-cta { max-width: var(--container); margin: 0 auto clamp(2.5rem,5vw,4rem); padding-inline: clamp(1.15rem,4vw,2rem); }
.footer-main { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom:1px solid rgba(255,255,255,.1); }
@media (max-width:900px){ .footer-main{ grid-template-columns:1fr 1fr; gap:2rem 1.5rem; } }
@media (max-width:560px){ .footer-main{ grid-template-columns:1fr; } }
.footer-main .brand { color:#fff; margin-bottom:1rem; }
.footer-main .brand .wm-smar { color:#fff; } .footer-main .brand .wm-tally{ color:var(--brand-300); }
.footer-about p { font-size:.92rem; color:#94adc9; max-width:22rem; }
.footer-about .socials { display:flex; gap:.6rem; margin-top:1.2rem; }
.footer-about .socials a { width:40px;height:40px; display:grid; place-items:center; border-radius:10px; background:rgba(255,255,255,.07); color:#cddcec; transition: all var(--dur) var(--ease); }
.footer-about .socials a:hover { background: var(--brand); color:#fff; transform:translateY(-2px); }
.footer-about .socials svg { width:1.2rem;height:1.2rem; }
.footer-col h4 { color:#fff; font-family:var(--font-display); font-size:.98rem; margin-bottom:1rem; }
.footer-col ul { list-style:none; padding:0; margin:0; display:grid; gap:.65rem; }
.footer-col a { color:#a9c0da; font-size:.93rem; } .footer-col a:hover { color:#fff; }
.footer-nap { font-size:.9rem; color:#a9c0da; display:grid; gap:.6rem; }
.footer-nap .row { display:flex; gap:.6rem; align-items:flex-start; } .footer-nap svg { width:1.1rem;height:1.1rem; color:var(--brand-300); flex:none; margin-top:.2rem; }
.footer-legal { display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; padding: 1.5rem 0; font-size:.86rem; color:#7f97b3; }
.footer-legal .links { display:flex; flex-wrap:wrap; gap:1.2rem; }
.footer-legal a { color:#7f97b3; } .footer-legal a:hover{ color:#cddcec; }

/* ==========================================================================
   15. SCROLL REVEAL & UTILITIES
   ========================================================================== */
[data-reveal] { opacity:0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); will-change: opacity, transform; }
[data-reveal].in { opacity:1; transform:none; }
[data-reveal][data-delay="1"]{ transition-delay:.08s; }
[data-reveal][data-delay="2"]{ transition-delay:.16s; }
[data-reveal][data-delay="3"]{ transition-delay:.24s; }
[data-reveal][data-delay="4"]{ transition-delay:.32s; }
@media (prefers-reduced-motion: reduce){ [data-reveal]{ opacity:1; transform:none; } }
@keyframes fadeUp { from{ opacity:0; transform:translateY(14px);} to{ opacity:1; transform:none;} }

.mt-0{margin-top:0}.mt-2{margin-top:var(--space-2)}.mt-3{margin-top:var(--space-3)}.mt-4{margin-top:var(--space-4)}.mt-5{margin-top:var(--space-5)}.mt-6{margin-top:var(--space-6)}.mt-7{margin-top:var(--space-7)}
.mb-0{margin-bottom:0}.mb-4{margin-bottom:var(--space-4)}.mb-6{margin-bottom:var(--space-6)}
.maxw-narrow{max-width:var(--container-narrow);margin-inline:auto}
.hide{display:none!important}
