/* ==========================================================================
   Justice Path Legal — Master stylesheet (single file, no framework)
   --------------------------------------------------------------------------
   HOW TO CHANGE THE COLOURS OF THE WHOLE SITE IN SECONDS:
   Edit the 8 values in section "1. BRAND PALETTE" below. Every page, button,
   card, hover state, gradient and icon inherits from those variables.
   Ready-made alternative palettes are listed just underneath.
   ==========================================================================

   CONTENTS
   1.  Brand palette / theme variables
   2.  Base & typography
   3.  Layout helpers & section headers
   4.  Buttons, pills, badges
   5.  Header / navigation
   6.  Hero (home) & page hero (inner pages)
   7.  Marquee ticker
   8.  Cards, media frames, stats
   9.  Feature / value / process blocks
   10. Testimonials slider
   11. Accordion (FAQ)
   12. Newsletter panel
   13. Contact blocks
   14. Legal / prose pages
   15. Footer
   16. Toast notifications
   17. Forms
   18. Animations & reveal-on-scroll
   19. Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BRAND PALETTE
   -------------------------------------------------------------------------- */
:root {
  /* ==== CHANGE THESE 8 LINES TO RE-THEME THE ENTIRE WEBSITE ==== */
  --brand:        #FF4E2B;   /* primary accent  */
  --brand-hover:  #E43D1B;   /* primary hover   */
  --brand-soft:   #FFEBE5;   /* primary tint    */
  --accent:       #6B46FF;   /* secondary accent */
  --accent-hover: #5735E6;   /* secondary hover  */
  --accent-soft:  #EEE9FF;   /* secondary tint   */
  --ink:          #100E17;   /* darkest surface used for dark sections */
  --ink-2:        #1A1724;   /* raised dark surface */
  /* =========================================================== */

  /* Neutrals — normally leave as-is */
  --paper:        #FFFFFF;
  --paper-alt:    #F4F4F9;
  --line:         #E6E5EF;
  --text:         #221F2C;
  --muted:        #6C6979;
  --on-dark:      #FFFFFF;
  --on-dark-muted:#B6B2C4;
  --footer-bg:    #0A0910;

  /* Semantic (toasts / validation only) */
  --success:      #0C9D6B;
  --error:        #E5484D;

  /* Shape, depth, motion, type */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-pill: 999px;
  --container: 1240px;
  --header-h: 78px;
  --shadow-sm: 0 2px 8px rgba(16, 14, 23, .05);
  --shadow-md: 0 18px 40px -22px rgba(16, 14, 23, .35);
  --shadow-lg: 0 32px 70px -30px rgba(16, 14, 23, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   ALTERNATIVE PALETTES — copy a block into :root above to switch theme.
   (Remember to also set --brand-hover / --brand-soft / --accent / --accent-soft)

   A) VIOLET / MINT
      --brand:#6B46FF; --brand-hover:#5735E6; --brand-soft:#EEE9FF;
      --accent:#12C6A2; --accent-hover:#0DAF8E; --accent-soft:#E2FBF5;
      --ink:#0E0B1A; --ink-2:#171331;

   B) COBALT / MAGENTA
      --brand:#2563EB; --brand-hover:#1D4ED8; --brand-soft:#E6EEFF;
      --accent:#E0218A; --accent-hover:#C41878; --accent-soft:#FFE5F2;
      --ink:#0B1220; --ink-2:#16203A;

   C) CLAY / TEAL
      --brand:#C2410C; --brand-hover:#9A3412; --brand-soft:#FEEDE4;
      --accent:#0E7490; --accent-hover:#0B5C73; --accent-soft:#DFF3F7;
      --ink:#141110; --ink-2:#221C1A;

   D) PLUM / LIME
      --brand:#8B1E4B; --brand-hover:#731740; --brand-soft:#FCE7EF;
      --accent:#84CC16; --accent-hover:#6DA812; --accent-soft:#F2FBE0;
      --ink:#150E14; --ink-2:#221621;
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   2. BASE & TYPOGRAPHY
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
picture,
svg { display: block; max-width: 100%; }

/* width/height attributes must not force a fixed height on responsive images */
img { height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 .55em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
h4 { font-size: 1.08rem; letter-spacing: -.01em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   3. LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section {
  position: relative;
  padding-block: clamp(64px, 7.5vw, 116px);
}

.section--tight { padding-block: clamp(44px, 5vw, 72px); }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--rule { border-top: 1px solid var(--line); }

.section--dark .eyebrow { color: var(--brand); }
.section--dark p { color: var(--on-dark-muted); }

/* soft background glows */
.section--glow { overflow: hidden; }
.section--glow::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: clamp(320px, 42vw, 620px);
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--brand-soft), transparent 68%);
  opacity: .9;
  pointer-events: none;
}
.section--dark.section--glow::before {
  background: radial-gradient(circle, rgba(107, 70, 255, .34), transparent 68%);
  opacity: .8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* Section header: big ghost numeral + title on the left, note on the right */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .62fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(34px, 4.4vw, 60px);
}
.section-head__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--line);
  margin-bottom: 10px;
}
.section--dark .section-head__num { -webkit-text-stroke-color: rgba(255, 255, 255, .26); }
.section-head h2 { margin-bottom: 0; }
.section-head__note {
  color: var(--muted);
  font-size: .98rem;
  margin: 0;
  padding-bottom: 6px;
}
.section-head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.section-head--center .section-head__note { max-width: 58ch; }

.lead {
  font-size: clamp(1.06rem, 1.35vw, 1.22rem);
  line-height: 1.62;
  color: var(--muted);
}
.section--dark .lead { color: var(--on-dark-muted); }

.text-brand { color: var(--brand); }
.muted { color: var(--muted); }
.mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.split--reverse .split__media { order: -1; }

/* --------------------------------------------------------------------------
   4. BUTTONS / PILLS / BADGES
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--ease), background .35s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.995); }

.btn--brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 26px -14px rgba(255, 78, 43, .85);
}
.btn--brand:hover { background: var(--brand-hover); transform: translateY(-2px); }

.btn--ink { background: var(--ink); color: var(--on-dark); }
.btn--ink:hover { background: var(--brand); transform: translateY(-2px); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }

.btn--outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn--link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  border-radius: 0;
  font-weight: 600;
  gap: 8px;
}
.btn--link:hover { color: var(--brand-hover); }

.btn--sm { padding: 11px 20px; font-size: .875rem; }
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn[disabled],
.btn.is-loading { opacity: .72; pointer-events: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 78, 43, .22);
  animation: pulse 2.4s infinite;
}
.pill--light {
  border-color: var(--line);
  background: var(--paper-alt);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   5. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  padding-block: 16px;
  color: #fff;
  transition: padding .4s var(--ease), background .4s var(--ease),
              box-shadow .4s var(--ease), color .4s var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-header.is-stuck {
  padding-block: 9px;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -26px rgba(16, 14, 23, .8);
  color: var(--text);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--brand), var(--accent));
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(255, 78, 43, .9);
  transition: transform .5s var(--ease-out);
}
.brand__mark svg { width: 23px; height: 23px; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__text { display: grid; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand__tag {
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .62;
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  padding: 10px 15px;
  border-radius: var(--r-pill);
  font-size: .925rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after { transform: scaleX(1); }

.site-header.is-stuck .nav__link { color: var(--muted); }
.site-header.is-stuck .nav__link:hover,
.site-header.is-stuck .nav__link.is-active { color: var(--ink); }

.site-header__actions { display: flex; align-items: center; gap: 10px; }

/* Burger */
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: inherit;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.burger:hover { background: rgba(255, 255, 255, .14); }
.burger svg { width: 22px; height: 22px; }
.site-header.is-stuck .burger { border-color: var(--line); background: var(--paper-alt); }
.burger__close { display: none; }
body.nav-open .burger__open { display: none; }
body.nav-open .burger__close { display: block; }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: calc(var(--header-h) + 28px) clamp(22px, 6vw, 44px) 36px;
  background:
    radial-gradient(80% 60% at 90% 0%, rgba(107, 70, 255, .38), transparent 70%),
    radial-gradient(70% 60% at 0% 100%, rgba(255, 78, 43, .34), transparent 70%),
    var(--ink);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .5s var(--ease-out), visibility .4s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }

.mobile-nav__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 7vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.03em;
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease-out), color .3s;
}
.mobile-nav.is-open .mobile-nav__link { opacity: 1; transform: none; }
.mobile-nav__link:nth-child(2) { transition-delay: .05s; }
.mobile-nav__link:nth-child(3) { transition-delay: .1s; }
.mobile-nav__link:nth-child(4) { transition-delay: .15s; }
.mobile-nav__link:nth-child(5) { transition-delay: .2s; }
.mobile-nav__link:hover { color: var(--brand); }
.mobile-nav__link svg { width: 20px; height: 20px; opacity: .5; }

.mobile-nav__foot {
  margin-top: auto;
  padding-top: 26px;
  display: grid;
  gap: 14px;
}
.mobile-nav__foot a { color: var(--on-dark-muted); font-size: .95rem; }
.mobile-nav__foot a:hover { color: #fff; }
.mobile-nav__foot .btn { width: 100%; }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   6. HERO — HOME
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(100svh, 940px);
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: clamp(36px, 5vw, 64px);
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
  opacity: .62;
  animation: heroZoom 22s var(--ease-out) forwards;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, var(--ink) 6%, rgba(16, 14, 23, .9) 38%, rgba(16, 14, 23, .32) 72%, rgba(16, 14, 23, .55) 100%),
    radial-gradient(60% 55% at 12% 92%, rgba(255, 78, 43, .3), transparent 70%),
    radial-gradient(50% 50% at 92% 8%, rgba(107, 70, 255, .28), transparent 72%);
}
.hero__inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}
.hero__title {
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  line-height: 1.01;
  letter-spacing: -.035em;
  margin-bottom: 22px;
}
.hero__title .hl {
  color: var(--brand);
  display: inline;
}
.hero__lead {
  max-width: 46ch;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  color: rgba(255, 255, 255, .78);
  margin-bottom: 30px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .84rem;
  color: rgba(255, 255, 255, .66);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--brand); }

/* floating glass card in hero */
.hero__card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-lg);
  background: rgba(16, 14, 23, .52);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9);
  animation: floatCard 9s ease-in-out infinite;
}
.hero__card-label {
  display: block;
  margin-bottom: 16px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
}
.hero__facts {
  display: grid;
  gap: 2px;
  margin: 0;
}
.hero__fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.hero__fact:last-child { border-bottom: 0; }
.hero__fact dt { font-size: .84rem; color: rgba(255, 255, 255, .6); }
.hero__fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.hero__card-note {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .55);
}

/* --------------------------------------------------------------------------
   6b. PAGE HERO — inner pages
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 7vw, 96px));
  padding-bottom: clamp(44px, 5.5vw, 76px);
  background:
    radial-gradient(60% 70% at 88% 0%, rgba(107, 70, 255, .34), transparent 70%),
    radial-gradient(55% 70% at 0% 100%, rgba(255, 78, 43, .28), transparent 72%),
    var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent 75%);
  opacity: .8;
  pointer-events: none;
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); margin-bottom: 18px; }
.page-hero__lead {
  max-width: 52ch;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: rgba(255, 255, 255, .76);
  margin: 0;
}
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__grid { grid-template-columns: 1fr; justify-items: center; }
.page-hero--center .page-hero__lead { margin-inline: auto; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 12px; height: 12px; opacity: .5; }
.breadcrumb .current { color: var(--brand); }

/* hero image inside page hero */
.page-hero__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 34px 70px -40px rgba(0, 0, 0, .95);
  aspect-ratio: 4 / 3;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}
.page-hero__media:hover img { transform: scale(1.07); }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(16, 14, 23, .55));
}
.page-hero__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.page-hero__badge svg { width: 15px; height: 15px; color: var(--brand); }

/* --------------------------------------------------------------------------
   7. MARQUEE TICKER
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: #fff;
  padding-block: 15px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee--dark { background: var(--ink-2); color: #fff; }
.marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-inline: 18px;
  font-family: var(--font-display);
  font-size: clamp(.84rem, 1.1vw, .98rem);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}

/* --------------------------------------------------------------------------
   8. CARDS / MEDIA / STATS
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.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)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out),
              border-color .4s var(--ease);
}
.card__num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--line);
  transition: color .4s var(--ease);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease-out);
}
.card__icon svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; color: var(--muted); margin: 0; }
.card__foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--brand);
}
.card__foot svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }

@media (hover: hover) {
  .card:hover {
    transform: translateY(-7px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
  }
  .card:hover .card__icon {
    background: var(--brand);
    color: #fff;
    transform: rotate(-6deg) scale(1.04);
  }
  .card:hover .card__num { color: var(--brand); }
  .card:hover .card__foot svg { transform: translateX(4px); }
}

/* feature (wide) card */
.card--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(26px, 3vw, 40px);
  background: var(--ink);
  border-color: transparent;
  color: var(--on-dark);
  overflow: hidden;
}
.card--feature::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 78, 43, .4), transparent 68%);
  pointer-events: none;
}
.card--feature h3 { color: var(--on-dark); }
.card--feature p { color: var(--on-dark-muted); }
.card--feature .card__icon { background: rgba(255, 255, 255, .1); color: var(--brand); }
.card--feature .card__num { color: rgba(255, 255, 255, .28); }
.card--feature .card__foot { color: var(--brand); }
@media (hover: hover) {
  .card--feature:hover .card__icon { background: var(--brand); color: #fff; }
}

/* media frame with offset accents */
.media-frame {
  position: relative;
  border-radius: var(--r-lg);
  isolation: isolate;
}
.media-frame__img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.media-frame--wide .media-frame__img { aspect-ratio: 16 / 11; }
.media-frame::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  z-index: 0;
  border: 1px solid var(--brand);
  border-radius: var(--r-lg);
  opacity: .55;
}
.media-frame::after {
  content: "";
  position: absolute;
  width: 132px;
  height: 132px;
  right: -18px;
  top: -18px;
  z-index: 0;
  border-radius: 50%;
  background: var(--accent-soft);
}
.media-frame__card {
  position: absolute;
  z-index: 2;
  left: -18px;
  bottom: 26px;
  display: grid;
  gap: 2px;
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.media-frame__card strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}
.media-frame__card span {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 3vw, 36px);
}
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
}
.stat__value .suffix { color: var(--brand); }
.stat__label {
  display: block;
  margin-top: 8px;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.stats--dark { border-color: rgba(255, 255, 255, .14); }
.stats--dark .stat__value { color: #fff; }
.stats--dark .stat__label { color: var(--on-dark-muted); }

.stat-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.stat-inline li { display: grid; gap: 2px; }
.stat-inline strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.03em;
}
/* label only — must not shrink the numeric spans nested inside <strong> */
.stat-inline li > span {
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. FEATURE / VALUE / PROCESS BLOCKS
   -------------------------------------------------------------------------- */
.feature-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .96rem;
  color: var(--text);
}
.feature-list svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  padding: 4px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  box-sizing: content-box;
}
.check-ring {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}
.check-ring svg { width: 13px; height: 13px; }

/* values (dark section) */
.value-card {
  position: relative;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .03);
  transition: background .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease-out);
}
.value-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  color: var(--brand);
  transition: background .45s var(--ease), color .45s var(--ease);
}
.value-card__icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 6px; color: #fff; }
.value-card p { font-size: .9rem; margin: 0; color: var(--on-dark-muted); }
@media (hover: hover) {
  .value-card:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .22);
    transform: translateY(-5px);
  }
  .value-card:hover .value-card__icon { background: var(--brand); color: #fff; }
}

/* process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { position: relative; padding-top: 40px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--brand);
}
.step::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 46px;
  right: 0;
  height: 1px;
  background: var(--line);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }
.section--dark .step::after { background: rgba(255, 255, 255, .18); }
.section--dark .step p { color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   10. TESTIMONIALS
   -------------------------------------------------------------------------- */
.quotes {
  position: relative;
  padding: clamp(26px, 3.4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.quotes__mark {
  position: absolute;
  top: 18px;
  right: 26px;
  width: 64px;
  height: 64px;
  color: var(--brand-soft);
}
.quotes__stage { position: relative; display: grid; min-height: 210px; }
.quote {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s var(--ease), transform .55s var(--ease-out);
  pointer-events: none;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote__stars { display: flex; gap: 4px; margin-bottom: 16px; color: var(--brand); }
.quote__stars svg { width: 16px; height: 16px; }
.quote blockquote {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.8vw, 1.5rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -.02em;
  color: var(--ink);
}
.quote__author { display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
}
.quote__name { display: block; font-weight: 600; font-size: .95rem; }
.quote__role { display: block; font-size: .8rem; color: var(--muted); }
.quotes__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.quotes__arrows { display: flex; gap: 8px; }
.arrow-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s;
}
.arrow-btn svg { width: 17px; height: 17px; }
.arrow-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.quotes__dots { display: flex; gap: 7px; }
.quotes__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: width .35s var(--ease), background .35s var(--ease);
}
.quotes__dot.is-active { width: 26px; background: var(--brand); border-radius: var(--r-pill); }

/* --------------------------------------------------------------------------
   11. ACCORDION
   -------------------------------------------------------------------------- */
.accordion { display: grid; gap: 12px; }
.acc-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.acc-item.is-open { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.acc-btn__sign {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease-out);
}
.acc-btn__sign::before,
.acc-btn__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .4s var(--ease), background .3s;
}
.acc-btn__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-btn__sign { background: var(--brand); border-color: var(--brand); transform: rotate(180deg); }
.acc-item.is-open .acc-btn__sign::before,
.acc-item.is-open .acc-btn__sign::after { background: #fff; }
.acc-item.is-open .acc-btn__sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel__inner { overflow: hidden; }
.acc-panel p { padding: 0 22px 22px; margin: 0; font-size: .95rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   12. NEWSLETTER PANEL
   -------------------------------------------------------------------------- */
.news-panel {
  position: relative;
  padding: clamp(28px, 4vw, 58px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(75% 90% at 100% 0%, rgba(107, 70, 255, .5), transparent 62%),
    radial-gradient(70% 80% at 0% 100%, rgba(255, 78, 43, .4), transparent 62%),
    var(--ink-2);
  color: var(--on-dark);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.news-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 60% at 70% 30%, #000, transparent 78%);
  mask-image: radial-gradient(60% 60% at 70% 30%, #000, transparent 78%);
  pointer-events: none;
}
.news-panel__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}
.news-panel h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.news-panel p { color: rgba(255, 255, 255, .72); }
.news-panel__note {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}
.news-panel__note a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.news-panel__note a:hover { color: #fff; }

/* benefits list on newsletter page */
.benefit {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.benefit__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}
.benefit__icon svg { width: 21px; height: 21px; }
.benefit h3 { font-size: 1rem; margin-bottom: 5px; }
.benefit p { font-size: .9rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   13. CONTACT BLOCKS
   -------------------------------------------------------------------------- */
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-card__form { padding: clamp(24px, 3.4vw, 44px); }
.contact-card__aside {
  position: relative;
  padding: clamp(24px, 3.4vw, 44px);
  background:
    radial-gradient(70% 70% at 100% 0%, rgba(107, 70, 255, .42), transparent 62%),
    radial-gradient(80% 60% at 0% 100%, rgba(255, 78, 43, .32), transparent 65%),
    var(--ink);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-card__aside h3 { color: #fff; }
.contact-card__aside > p { color: rgba(255, 255, 255, .68); font-size: .95rem; }

.contact-rows { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  color: var(--brand);
}
.contact-row__icon svg { width: 18px; height: 18px; }
.contact-row dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 2px; }
.contact-row dd { margin: 0; font-size: .96rem; color: #fff; }
.contact-row dd a:hover { color: var(--brand); }

.hours { display: grid; gap: 2px; }
.hours__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .16);
  font-size: .9rem;
}
.hours__row:last-child { border-bottom: 0; }
.hours__row span:first-child { color: rgba(255, 255, 255, .62); }
.hours__row span:last-child { color: #fff; font-weight: 500; }
.hours__title {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 4px;
}

/* info cards on contact page */
.info-card {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .4s;
}
.info-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}
.info-card__icon svg { width: 21px; height: 21px; }
.info-card h4 { margin: 4px 0 0; font-family: var(--font-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-card p { margin: 0; font-size: .98rem; color: var(--text); }
.info-card p a:hover { color: var(--brand); }
.info-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-md); }

/* --------------------------------------------------------------------------
   14. LEGAL / PROSE
   -------------------------------------------------------------------------- */
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-alt);
}
.legal-toc__title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.legal-toc ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.legal-toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: .87rem;
  color: var(--muted);
  transition: background .25s, color .25s;
}
.legal-toc a:hover { background: #fff; color: var(--ink); }
.legal-toc a.is-current { background: var(--ink); color: #fff; }
.legal-toc__meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .76rem;
  line-height: 1.5;
  color: var(--muted);
}

.prose { max-width: 74ch; }
.prose h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin-top: 44px;
  margin-bottom: 12px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin-top: 26px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--muted); font-size: .98rem; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--brand-hover); }
.prose .callout {
  margin: 26px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--brand-soft);
}
.prose .callout p { color: var(--text); margin: 0; font-size: .95rem; }
.prose .callout strong { display: block; margin-bottom: 4px; }

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-top: clamp(56px, 6vw, 88px);
  background: var(--footer-bg);
  color: var(--on-dark);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 340px;
  background: radial-gradient(60% 100% at 15% 100%, rgba(255, 78, 43, .2), transparent 70%),
              radial-gradient(50% 90% at 85% 100%, rgba(107, 70, 255, .22), transparent 72%);
  pointer-events: none;
}
.site-footer__inner { position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .85fr));
  gap: clamp(26px, 3.4vw, 48px);
  padding-bottom: clamp(34px, 4vw, 56px);
}
.footer-brand .brand { margin-bottom: 18px; color: #fff; }
.footer-brand p {
  max-width: 34ch;
  font-size: .93rem;
  color: var(--on-dark-muted);
}
.footer-contact { display: grid; gap: 10px; margin-top: 22px; font-size: .93rem; }
.footer-contact a,
.footer-contact span { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark-muted); }
.footer-contact svg { width: 16px; height: 16px; color: var(--brand); flex: 0 0 auto; }
.footer-contact a:hover { color: #fff; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a {
  position: relative;
  display: inline-block;
  font-size: .93rem;
  color: var(--on-dark-muted);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.footer-col a:hover { color: #fff; transform: translateX(3px); }

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem;
  color: rgba(255, 255, 255, .48);
}
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a:hover { color: #fff; }
.socials { display: flex; gap: 9px; }
.social-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: var(--on-dark-muted);
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s;
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }

/* CTA band above footer */
.cta-band {
  position: relative;
  padding: clamp(34px, 4.6vw, 62px);
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--brand), var(--accent));
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
}
.cta-band h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 8px; color: #fff; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 46ch; }
.cta-band .btn--ink { position: relative; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   16. TOASTS
   -------------------------------------------------------------------------- */
.toast-stack {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(380px, calc(100vw - 28px));
  pointer-events: none;
}
.toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 44px 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 22px 50px -22px rgba(16, 14, 23, .45);
  pointer-events: auto;
  overflow: hidden;
  animation: toastIn .5s var(--ease-out) both;
}
.toast.is-out { animation: toastOut .35s var(--ease) both; }
.toast__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
}
.toast__icon svg { width: 16px; height: 16px; }
.toast__body { min-width: 0; }
.toast__title {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 2px;
}
.toast__msg { display: block; font-size: .85rem; line-height: 1.45; color: var(--muted); }
.toast__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.toast__close svg { width: 13px; height: 13px; }
.toast__close:hover { background: var(--paper-alt); color: var(--ink); }
.toast__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  animation: toastBar 5.2s linear forwards;
}
.toast--success .toast__icon { background: var(--success); }
.toast--success .toast__bar { background: var(--success); }
.toast--success { border-left: 3px solid var(--success); }
.toast--error .toast__icon { background: var(--error); }
.toast--error .toast__bar { background: var(--error); }
.toast--error { border-left: 3px solid var(--error); }
.toast--info .toast__icon { background: var(--accent); }
.toast--info .toast__bar { background: var(--accent); }
.toast--info { border-left: 3px solid var(--accent); }

/* --------------------------------------------------------------------------
   17. FORMS
   -------------------------------------------------------------------------- */
.form-grid { display: grid; gap: 16px; }
.form-grid--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field__label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
}
.field__hint { font-size: .78rem; color: var(--muted); }
.field__error {
  display: none;
  font-size: .78rem;
  color: var(--error);
}
.field.has-error .field__error { display: block; }
.field.has-error .input { border-color: var(--error); }

.input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: .96rem;
  line-height: 1.4;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  appearance: none;
}
.input::placeholder { color: #A5A2B3; }
.input:hover { border-color: #D6D4E2; }
.input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
textarea.input { resize: vertical; min-height: 130px; }
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236C6979' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

/* dark form variant */
.form--dark .field__label { color: rgba(255, 255, 255, .88); }
.form--dark .field__hint { color: rgba(255, 255, 255, .5); }
.form--dark .input {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}
.form--dark .input::placeholder { color: rgba(255, 255, 255, .42); }
.form--dark .input:hover { border-color: rgba(255, 255, 255, .3); }
.form--dark .input:focus {
  background: rgba(255, 255, 255, .1);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 78, 43, .18);
}
.form--dark select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23B6B2C4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.form--dark input[type="date"] { color-scheme: dark; }
.form--dark input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1) opacity(.6); }

/* checkbox */
.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--muted);
}
.form--dark .check { color: rgba(255, 255, 255, .66); }
.check input {
  appearance: none;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border: 1.5px solid #C9C7D6;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: background .25s, border-color .25s;
}
.form--dark .check input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .32); }
.check input::after {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform .2s var(--ease-out);
  margin-top: -2px;
}
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.check a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.form-actions { margin-top: 6px; }

/* --------------------------------------------------------------------------
   18. ANIMATIONS / REVEAL
   -------------------------------------------------------------------------- */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 78, 43, .45); }
  50% { box-shadow: 0 0 0 7px rgba(255, 78, 43, 0); }
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: none; }
}
@keyframes toastOut {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(8px) scale(.98); }
}
@keyframes toastBar {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease-out);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.js .reveal--left { transform: translateX(-30px); }
.js .reveal--right { transform: translateX(30px); }
.js .reveal--zoom { transform: scale(.95); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* hero entrance */
.js .hero__inner > *,
.js .page-hero__grid > * {
  animation: fadeUp .95s var(--ease-out) both;
}
.js .hero__inner > :nth-child(2),
.js .page-hero__grid > :nth-child(2) { animation-delay: .16s; }

/* --------------------------------------------------------------------------
   19. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 420px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .nav,
  .site-header__actions .btn { display: none; }
  .burger { display: inline-flex; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 560px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { max-width: 520px; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card__aside { order: -1; }
  .news-panel__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card--feature { grid-template-columns: 1fr; }
  .media-frame { max-width: 520px; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .form-grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 74px); }
  .hero__trust { gap: 10px 18px; }
  .hero__actions .btn { width: 100%; }
  .stats--3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 26px; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 auto; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .quotes__stage { min-height: 300px; }
  .media-frame::before { inset: 16px -14px -16px 16px; }
  .media-frame__card { left: 0; bottom: 14px; padding: 14px 18px; }
  .toast-stack { left: 14px; right: 14px; width: auto; }
  .brand__tag { display: none; }
}

@media (max-width: 420px) {
  .hero__fact dd { font-size: 1.05rem; }
  .stat-inline { gap: 12px 26px; }
}

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

/* Print */
@media print {
  .site-header,
  .site-footer,
  .toast-stack,
  .scroll-progress,
  .mobile-nav,
  .marquee { display: none !important; }
  body { color: #000; background: #fff; }
}

/* --------------------------------------------------------------------------
   20. PAGE-SPECIFIC COMPONENTS (practice list, notes, unsubscribe)
   -------------------------------------------------------------------------- */

/* Practice list (services page) */
.practice-list { display: grid; border-top: 1px solid var(--line); }
.practice {
  display: grid;
  grid-template-columns: minmax(0, .4fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 56px);
  padding-block: clamp(26px, 3.4vw, 48px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: background .4s var(--ease);
}
.practice__aside {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 14px;
}
.practice__num {
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.practice__body h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin-bottom: 12px;
}
.practice__body p {
  max-width: 70ch;
  font-size: .98rem;
  color: var(--muted);
}
.practice__body .btn--link { margin-top: 6px; }
.practice__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  display: inline-flex;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--muted);
}
@media (hover: hover) {
  .practice:hover { background: rgba(255, 255, 255, .6); }
}
@media (max-width: 820px) {
  .practice { grid-template-columns: 1fr; gap: 16px; }
  .practice__aside { grid-auto-flow: column; align-items: center; justify-content: start; }
  .practice__tags { display: none; }
}

/* Inline callout note */
.callout-note {
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--paper-alt);
}
.callout-note p { margin: 0; font-size: .98rem; color: var(--muted); }
.callout-note strong { color: var(--text); }

/* Dark numerals inside panels */
.news-panel .section-head__num,
.page-hero .section-head__num { -webkit-text-stroke-color: rgba(255, 255, 255, .26); }

/* 3-column steps variant */
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .steps--3 { grid-template-columns: 1fr; }
}

/* Unsubscribe page */
.unsub-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
  max-width: 1020px;
  margin-inline: auto;
}
.unsub-card {
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.unsub-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
}
.unsub-card__icon svg { width: 26px; height: 26px; }
.unsub-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 10px; }
.unsub-card > p { margin-bottom: 22px; font-size: .95rem; }
.unsub-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.unsub-actions .btn { flex: 1 1 150px; }
.unsub-aside {
  padding: clamp(22px, 2.8vw, 34px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 70% at 100% 0%, rgba(107, 70, 255, .4), transparent 62%),
    radial-gradient(80% 60% at 0% 100%, rgba(255, 78, 43, .3), transparent 65%),
    var(--ink);
  color: #fff;
}
.unsub-aside h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.unsub-aside .muted { color: var(--on-dark-muted); }
.unsub-aside a { color: var(--brand); }
.unsub-followup {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-alt);
  animation: fadeUp .6s var(--ease-out) both;
}
.unsub-followup[hidden] { display: none; }
.unsub-followup p { margin: 0; font-size: .9rem; color: var(--muted); }
.unsub-followup strong { color: var(--text); }
.unsub-followup a { color: var(--brand); text-decoration: underline; }
@media (max-width: 880px) {
  .unsub-wrap { grid-template-columns: 1fr; }
}

/* Active state inside the mobile drawer */
.mobile-nav__link.is-active { color: var(--brand); }

/* Keep nav labels on one line */
.nav__link { white-space: nowrap; }

/* definition lists used inside contact rows */
.contact-row dl { margin: 0; }
.contact-row dt, .contact-row dd { margin: 0; }

/* --------------------------------------------------------------------------
   21. FIXUPS
   -------------------------------------------------------------------------- */
/* drawer CTA must stay white on brand */
.mobile-nav__foot .btn { color: #fff; }
/* use the drawer height better */
.mobile-nav { justify-content: flex-start; }
.mobile-nav nav { margin-bottom: 8px; }

/* mirror the media-frame accents when the image sits on the left */
.split--reverse .media-frame::before { inset: 26px -26px -26px 26px; }
.split--reverse .media-frame::after { right: -18px; top: -18px; }
@media (max-width: 720px) {
  .split--reverse .media-frame::before { inset: 16px -14px -16px 16px; }
}

/* feature card alignment */
.card--feature { align-items: start; }
.card--feature .card__foot { color: var(--brand); }

/* tighter testimonial stage */
.quotes__stage { min-height: 160px; }
@media (max-width: 720px) { .quotes__stage { min-height: 260px; } }

/* let the drawer footer sit at the bottom of the screen */
.mobile-nav > .container {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}
