/* =========================================================
   ReachAlly: Premium navy / blue theme
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #152C5B;
  --navy-deep:  #0A1836;
  --navy-mid:   #1E3D80;
  --blue:       #006AFD;
  --blue-dark:  #0054D5;
  --blue-soft:  #E6F0FF;
  --blue-line:  rgba(0,106,253,.22);
  --mark:       #D2E4FF;

  --text:       #101F44;
  --text-soft:  #52627E;
  --border:     #E2E8F3;
  --border-strong: #D3DBEA;
  --bg:         #FFFFFF;
  --bg-alt:     #F5F8FD;

  --radius:     14px;
  --radius-sm:  10px;
  --nav-h:      66px;
  --ease:       cubic-bezier(.22,.61,.36,1);

  --shadow-sm:  0 1px 2px rgba(10,24,54,.04), 0 6px 16px -8px rgba(10,24,54,.10);
  --shadow-md:  0 14px 36px -16px rgba(10,24,54,.24);
  --shadow-lg:  0 36px 80px -36px rgba(10,24,54,.38);

  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23006AFD' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { text-wrap: balance; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-size: 14px; text-decoration: none; transition: top .15s;
}
.skip:focus { top: 12px; }

/* ---- Highlight marker ---- */
.mark {
  color: inherit;
  background: linear-gradient(transparent 60%, var(--mark) 60%);
  padding: 0 .06em; margin: 0 -.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.flag {
  text-decoration: underline wavy rgba(217,62,62,.55);
  text-decoration-thickness: 1px; text-underline-offset: 4px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; line-height: 1.4; min-height: 44px;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s, color .18s;
  white-space: nowrap; font-family: inherit;
}
.btn:active { transform: translateY(0) scale(.99); }
.btn--primary {
  color: #fff; border-color: var(--blue-dark);
  background: linear-gradient(180deg, #1A7BFF 0%, #0060EC 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 8px 20px -8px rgba(0,106,253,.7);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 12px 26px -8px rgba(0,106,253,.85); }
.btn--ghost,
.btn--outline { background: #fff; color: var(--navy); border-color: var(--border-strong); box-shadow: 0 1px 2px rgba(10,24,54,.04); }
.btn--ghost:hover,
.btn--outline:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(0,106,253,.5); }
.btn--invert { background: #fff; color: var(--navy); border-color: #fff; box-shadow: 0 10px 28px -10px rgba(255,255,255,.45); }
.btn--invert:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(255,255,255,.6); }
.btn--ghost-invert { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost-invert:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); transform: translateY(-1px); }
.btn--full { width: 100%; }
.btn--lg   { padding: 14px 28px; font-size: 15px; min-height: 50px; }

/* ---- Section helpers ---- */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-alt) 0%, #F8FAFE 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.section__label::before { content: ''; width: 20px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), rgba(0,106,253,.25)); }
.section__title {
  font-size: clamp(28px, 3.8vw, 42px); font-weight: 600; color: var(--navy);
  line-height: 1.14; letter-spacing: -.03em; margin-bottom: 16px; max-width: 720px;
}
.section__sub { font-size: clamp(16px, 1.6vw, 18px); color: var(--text-soft); max-width: 560px; margin-bottom: clamp(40px, 5vw, 56px); line-height: 1.7; }

/* Two-column section: sticky heading + content */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 88px); align-items: start; }
.split__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.split__head .section__sub { margin-bottom: 0; }

/* Check lists */
.checklist { list-style: none; display: grid; gap: 0 32px; }
.checklist--3 { grid-template-columns: repeat(3, 1fr); }
.checklist--4 { grid-template-columns: repeat(4, 1fr); gap: 0 24px; }
.checklist li { position: relative; padding: 13px 0 13px 28px; border-top: 1px solid var(--border); font-size: 15px; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 17px; width: 16px; height: 16px; background: var(--check) center / contain no-repeat; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.8); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.nav.scrolled { background: rgba(255,255,255,.92); border-bottom-color: var(--border); box-shadow: 0 6px 24px -16px rgba(10,24,54,.25); }
.nav__inner { display: flex; align-items: center; height: var(--nav-h); gap: 36px; }
.nav__logo { font-size: 19px; font-weight: 700; letter-spacing: -.035em; color: var(--navy); text-decoration: none; flex-shrink: 0; }
.nav__links { display: flex; list-style: none; gap: 28px; margin-left: auto; }
.nav__links a { position: relative; text-decoration: none; color: var(--text-soft); font-size: 14px; padding: 6px 0; transition: color .2s; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--navy); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }
.nav__cta { margin-left: 8px; padding: 8px 16px; min-height: 40px; }
.nav__burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; width: 44px; height: 44px; padding: 0 11px; margin: 0 -11px 0 auto;
}
.nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--navy); transition: transform .25s var(--ease), opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; padding: 8px clamp(20px, 4vw, 32px) 24px; border-top: 1px solid var(--border); background: rgba(255,255,255,.97); }
.nav__mobile.open { animation: menuIn .22s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav__mobile a { padding: 15px 0; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--border); font-size: 16px; }
.nav__mobile .btn { margin-top: 16px; color: #fff; border-bottom: 1px solid var(--blue-dark); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(64px, 9vw, 108px) 0 clamp(72px, 9vw, 112px); text-align: center;
  background: linear-gradient(180deg, #F1F6FF 0%, #FFFFFF 78%);
}
/* Soft moving glows */
.hero::before {
  content: ''; position: absolute; z-index: -2; left: 50%; top: -220px; width: 1200px; height: 620px; margin-left: -600px;
  background:
    radial-gradient(closest-side at 24% 45%, rgba(0,106,253,.20), transparent 70%),
    radial-gradient(closest-side at 76% 40%, rgba(0,131,253,.14), transparent 70%);
  filter: blur(20px); animation: glowDrift 16s ease-in-out infinite alternate;
}
/* Faint grid, fading out */
.hero::after {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background-image:
    linear-gradient(rgba(10,24,54,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,24,54,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 25%, #000 0%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 25%, #000 0%, transparent 100%);
}
@keyframes glowDrift { from { transform: translate3d(-3%, 0, 0) scale(1); } to { transform: translate3d(3%, 14px, 0) scale(1.06); } }

.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--blue-dark); background: rgba(255,255,255,.85);
  border: 1px solid var(--blue-line); border-radius: 99px;
  padding: 7px 15px; margin-bottom: 28px; box-shadow: 0 6px 18px -10px rgba(0,106,253,.45);
}
.hero__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.hero__dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--blue); opacity: 0; animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.hero__headline {
  font-size: clamp(38px, 6vw, 68px); font-weight: 600; color: var(--navy);
  line-height: 1.05; letter-spacing: -.045em; margin-bottom: 26px; max-width: 900px;
}
.hero__sub { font-size: clamp(16px, 2vw, 19px); color: var(--text-soft); max-width: 600px; margin-bottom: 36px; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 22px; }
.hero__reassurance { font-size: 13px; color: var(--text-soft); margin-bottom: clamp(48px, 7vw, 72px); }
.hero__reassurance span, .serve__note span, .cta-panel__fine span { margin: 0 10px; color: var(--blue); }


/* =========================================================
   RESULTS
   ========================================================= */
.metrics .section__sub { margin-bottom: 48px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.stat {
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 28px;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), border-color .25s, translate .25s var(--ease);
}
.stat:hover { translate: 0 -3px; box-shadow: var(--shadow-md); border-color: var(--blue-line); }
.stat__num {
  font-size: clamp(38px, 5vw, 50px); font-weight: 600; letter-spacing: -.045em; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 20px; }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 64px 1fr 44px; align-items: center; gap: 10px; font-size: 12px; color: var(--text-soft); }
.bar__track { display: block; height: 8px; border-radius: 99px; background: #E9EEF7; overflow: hidden; }
.bar__track i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: #B9C5DB; transition: width 1.1s var(--ease) .25s; }
.bar--us .bar__track i { background: linear-gradient(90deg, #3D96FF, var(--blue)); }
.bar--us { color: var(--navy); font-weight: 600; }
.bar__val { text-align: right; font-variant-numeric: tabular-nums; }
.js .reveal:not(.in) .bar__track i { width: 0; }

/* Dark proof strip */
.proof {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 40px;
  border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 60%, var(--navy-deep) 100%);
  box-shadow: 0 28px 60px -30px rgba(10,24,54,.7);
}
.proof::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(420px 220px at 12% 0%, rgba(0,106,253,.45), transparent 70%), radial-gradient(360px 200px at 100% 100%, rgba(0,131,253,.22), transparent 70%);
}
.proof__item { padding: clamp(24px, 3.5vw, 36px) clamp(24px, 4vw, 40px); }
.proof__item + .proof__item { border-left: 1px solid rgba(255,255,255,.12); }
.proof__num { font-size: clamp(38px, 5vw, 52px); font-weight: 600; letter-spacing: -.045em; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.proof__label { font-size: 15px; color: rgba(255,255,255,.72); max-width: 320px; }
.proof__label span { color: rgba(255,255,255,.5); white-space: nowrap; }

.metrics__table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.metrics__table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.metrics__table th, .metrics__table td { padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--border); }
.metrics__table tbody tr:last-child td { border-bottom: none; }
.metrics__table thead th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); background: var(--bg-alt); }
.metrics__table tbody tr { transition: background .15s; }
.metrics__table tbody tr:hover { background: #F8FAFF; }
.col--industry { color: var(--text-soft); }
.col--zenith { font-weight: 600; color: var(--blue-dark); }
thead .col--zenith { color: var(--blue-dark); }
.rate { font-size: 13px; color: var(--text-soft); font-weight: 400; }
.metrics__source { margin-top: 16px; font-size: 12px; color: var(--text-soft); }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.steps { display: flex; flex-direction: column; }
.step { position: relative; padding: 0 0 clamp(28px, 4vw, 40px) 60px; }
.step:last-child { padding-bottom: 0; }
.step::after { content: ''; position: absolute; left: 17px; top: 44px; bottom: 6px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--blue-line), var(--border)); }
.step:last-child::after { display: none; }
.step__num {
  position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--blue-dark); background: #fff;
  border: 1px solid var(--blue-line); box-shadow: 0 6px 16px -8px rgba(0,106,253,.5);
  font-variant-numeric: tabular-nums; transition: background .25s, color .25s, border-color .25s;
}
.step:hover .step__num { background: var(--blue); color: #fff; border-color: var(--blue); }
.step__body h3 { font-size: 19px; font-weight: 600; color: var(--navy); margin: 5px 0 8px; letter-spacing: -.02em; line-height: 1.3; }
.step__body p { font-size: 15px; color: var(--text-soft); max-width: 540px; line-height: 1.7; }

/* =========================================================
   CAMPAIGN MANAGER
   ========================================================= */
.manager__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mgroup {
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 26px;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), border-color .25s, translate .25s var(--ease);
}
.mgroup:hover { translate: 0 -3px; box-shadow: var(--shadow-md); border-color: var(--blue-line); }
.mgroup__icon {
  width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  color: var(--blue); background: linear-gradient(145deg, #F1F6FF, var(--blue-soft)); border: 1px solid var(--blue-line);
}
.mgroup h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 12px; letter-spacing: -.015em; }
.mgroup ul { list-style: none; display: grid; gap: 8px; }
.mgroup li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--text-soft); }
.mgroup li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: var(--check) center / contain no-repeat; }

/* =========================================================
   WHO WE SERVE
   ========================================================= */
.serve .section__title { margin-bottom: 40px; }
.serve__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.serve__item {
  position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 17px 20px 17px 42px; font-size: 15px; font-weight: 500; color: var(--navy);
  transition: border-color .2s, box-shadow .25s var(--ease), translate .25s var(--ease); cursor: default;
}
.serve__item::before { content: ''; position: absolute; left: 20px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: linear-gradient(135deg, #3D96FF, var(--blue)); box-shadow: 0 0 0 4px var(--blue-soft); }
.serve__item:hover { translate: 0 -2px; border-color: var(--blue-line); box-shadow: var(--shadow-md); }
.bestfit {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; padding: 20px 24px; border-radius: 14px;
  border: 1px solid var(--blue-line); background: linear-gradient(135deg, #EEF4FF 0%, #FFFFFF 100%);
}
.bestfit__title { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-dark); }
.bestfit__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.bestfit__list li { position: relative; padding-left: 24px; font-size: 14px; color: var(--navy); }
.bestfit__list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: var(--check) center / contain no-repeat; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials .section__title { margin-bottom: 48px; }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi__card {
  display: flex; flex-direction: column; gap: 26px; padding: 30px 28px; border-radius: 18px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFF 100%); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), border-color .25s, translate .25s var(--ease);
}
.testi__card:hover { translate: 0 -3px; box-shadow: var(--shadow-md); border-color: var(--blue-line); }
.testi__card::before {
  content: '\201C'; display: block; height: 30px; font-size: 64px; line-height: .9; font-weight: 700; color: var(--blue); opacity: .9;
  font-family: Georgia, 'Times New Roman', serif;
}
.testi__quote { font-size: 16.5px; line-height: 1.7; letter-spacing: -.01em; color: var(--text); flex: 1; }
.testi__author { display: flex; align-items: center; gap: 12px; padding-top: 22px; border-top: 1px solid var(--border); }
.testi__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(145deg, #F1F6FF, var(--blue-soft)); border: 1px solid var(--blue-line); color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600;
}
.testi__name { font-size: 14px; font-weight: 600; color: var(--navy); }
.testi__role { font-size: 13px; color: var(--text-soft); }

/* =========================================================
   PRICING
   ========================================================= */
.pricing { text-align: center; }
.pricing .section__title, .pricing .section__sub { margin-left: auto; margin-right: auto; }
.pricing .section__label { justify-content: center; }
.pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.pricing__card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 46px 24px 24px;
  box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s var(--ease), translate .25s var(--ease);
}
.pricing__card:hover { translate: 0 -4px; border-color: var(--blue-line); box-shadow: var(--shadow-md); }
.pricing__save {
  position: absolute; top: 16px; left: 24px; font-size: 11px; font-weight: 600; letter-spacing: .02em;
  color: var(--blue-dark); background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: 99px; padding: 3px 10px;
}
.pricing__tier { font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 14px; }
.pricing__price { font-size: 46px; font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.pricing__price span { display: block; font-size: 13px; font-weight: 400; color: var(--text-soft); letter-spacing: 0; margin-top: 8px; }
.pricing__total { display: flex; flex-direction: column; gap: 3px; min-height: 76px; justify-content: flex-start; font-size: 13px; font-weight: 600; color: var(--navy); margin: 14px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.pricing__saving { font-style: normal; font-size: 12px; font-weight: 600; color: var(--blue-dark); }
.pricing__card--featured .pricing__saving { color: #7DB4FF; }
.pricing__more { margin-top: 20px; padding: 14px 18px; font-size: 14px; color: var(--navy); border: 1px solid var(--blue-line); border-radius: 12px; background: linear-gradient(135deg, #EEF4FF 0%, #FFFFFF 100%); }
.pricing__desc { font-size: 14px; margin-bottom: 10px; line-height: 1.6; color: var(--text); }
.pricing__detail { font-size: 13px; color: var(--text-soft); margin-bottom: 28px; line-height: 1.6; flex: 1; }

/* Featured (best value): navy card with soft glow */
.pricing__card--featured {
  color: #fff; border-color: #2A4C96;
  background: radial-gradient(320px 200px at 100% 0%, rgba(0,106,253,.5), transparent 70%), linear-gradient(165deg, var(--navy-mid) 0%, var(--navy) 65%, var(--navy-deep) 100%);
  box-shadow: 0 34px 70px -30px rgba(10,24,54,.75);
}
.pricing__card--featured:hover { border-color: #4A72C8; box-shadow: 0 38px 76px -30px rgba(10,24,54,.85); }
.pricing__card--featured .pricing__tier { color: rgba(255,255,255,.62); }
.pricing__card--featured .pricing__price { color: #fff; }
.pricing__card--featured .pricing__price span { color: rgba(255,255,255,.62); }
.pricing__card--featured .pricing__total { color: #fff; border-bottom-color: rgba(255,255,255,.14); }
.pricing__card--featured .pricing__desc { color: #fff; }
.pricing__card--featured .pricing__detail { color: rgba(255,255,255,.66); }
.pricing__save--best { color: #fff; background: linear-gradient(180deg, #1A7BFF, #0060EC); border-color: transparent; box-shadow: 0 6px 16px -6px rgba(0,106,253,.8); }

.pricing__includes { margin-top: clamp(48px, 7vw, 72px); text-align: left; }
.pricing__includes-title { font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 20px; }
.pricing__includes .checklist li { font-size: 14px; }

.pricing__enterprise {
  margin-top: 48px; padding: 28px 32px; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F8FF 100%); border: 1px solid var(--blue-line); border-radius: 18px; box-shadow: var(--shadow-sm);
}
.pricing__enterprise-title { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.pricing__enterprise p { font-size: 14px; color: var(--text-soft); max-width: 640px; line-height: 1.65; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta-section { padding: clamp(72px, 9vw, 112px) 0; }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  border-radius: 26px; padding: clamp(56px, 8vw, 92px) clamp(20px, 4vw, 40px);
  background: linear-gradient(150deg, var(--navy-mid) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  box-shadow: 0 40px 90px -40px rgba(10,24,54,.8);
}
.cta-panel::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(520px 300px at 15% 0%, rgba(0,106,253,.5), transparent 70%), radial-gradient(460px 280px at 90% 100%, rgba(0,131,253,.25), transparent 70%);
  animation: glowPulse 9s ease-in-out infinite alternate;
}
.cta-panel::after {
  content: ''; position: absolute; z-index: -1; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 30%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 30%, #000, transparent);
}
@keyframes glowPulse { from { opacity: .75; } to { opacity: 1; } }
.cta-panel__title { font-size: clamp(30px, 4.6vw, 50px); font-weight: 600; letter-spacing: -.038em; line-height: 1.1; margin: 0 auto 18px; max-width: 660px; }
.cta-panel__sub { font-size: clamp(16px, 1.6vw, 18px); color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.cta-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 24px; }
.cta-panel__fine { font-size: 13px; color: rgba(255,255,255,.55); }
.cta-panel__fine span { color: rgba(255,255,255,.4); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 88px); align-items: start; }
.contact__text p { color: var(--text-soft); margin-bottom: 28px; font-size: 16px; line-height: 1.7; max-width: 460px; }
.contact__form-wrap { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: clamp(24px, 4vw, 38px) clamp(20px, 4vw, 34px); box-shadow: var(--shadow-md); }
.contact__form { display: flex; flex-direction: column; gap: 20px; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__group label { font-size: 13px; font-weight: 500; color: var(--navy); }
.form__group input, .form__group select, .form__group textarea {
  padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); min-height: 44px;
  font-size: 16px; font-family: inherit; color: var(--text); background: #fff;
  transition: border-color .15s, box-shadow .15s; outline: none; resize: vertical;
}
.form__group input:hover, .form__group select:hover, .form__group textarea:hover { border-color: #B7C3DA; }
.form__group input:focus, .form__group select:focus, .form__group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,106,253,.14); }
.form__group input.invalid, .form__group select.invalid { border-color: #C62828; box-shadow: 0 0 0 4px rgba(198,40,40,.08); }
.form__error { font-size: 13px; color: #C62828; margin-bottom: -8px; }
.form__privacy { font-size: 12px; color: var(--text-soft); text-align: center; }
.form__success { display: none; position: absolute; inset: -4px; background: #fff; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; gap: 12px; }
.form__success.show { display: flex; animation: menuIn .3s var(--ease); }
.form__success-icon { width: 52px; height: 52px; background: var(--blue-soft); color: var(--blue); border: 1px solid var(--blue-line); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 8px; }
.form__success h3 { font-size: 18px; font-weight: 600; color: var(--navy); }
.form__success p { font-size: 15px; color: var(--text-soft); }
.form__success a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-deep); color: #8FA0C0; padding: clamp(56px, 7vw, 72px) 0 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; padding-bottom: 56px; }
.footer__brand .nav__logo { display: block; margin-bottom: 12px; color: #fff; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__brand p { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.footer__social { color: #8FA0C0; transition: color .2s; display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; margin: -12px 0 0 -12px; padding: 12px; }
.footer__social:hover { color: #fff; }
.footer__cols { display: flex; gap: clamp(32px, 5vw, 64px); flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col-title { font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.footer__col a { color: #8FA0C0; text-decoration: none; font-size: 14px; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { padding-top: 24px; padding-bottom: 32px; font-size: 13px; border-top: 1px solid rgba(255,255,255,.08); }

/* =========================================================
   MOTION
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .reveal:not(.in) .bar__track i { width: var(--w); }
  .hero::before, .cta-panel::before, .hero__dot::after { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 1001px) {
  .pricing__card--featured { translate: 0 -8px; }
  .pricing__card--featured:hover { translate: 0 -12px; }
}
@media (max-width: 1000px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .checklist--3, .checklist--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .bar { grid-template-columns: 72px 1fr 48px; }
}
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split__head { position: static; }
  .testi__grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { flex-direction: column; }
  .serve__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile.open { display: flex; }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .proof { grid-template-columns: 1fr; }
  .proof__item + .proof__item { border-left: none; border-top: 1px solid rgba(255,255,255,.12); }
  .manager__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .pricing__total { min-height: 0; }
  .checklist--3, .checklist--4 { grid-template-columns: 1fr; }
  .pricing__enterprise { flex-direction: column; align-items: flex-start; padding: 24px; }
  .pricing__enterprise .btn { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .cta-panel { border-radius: 20px; }
  .cta-panel__actions { flex-direction: column; align-items: stretch; max-width: 340px; margin-left: auto; margin-right: auto; }
  .metrics__table th, .metrics__table td { padding: 13px 16px; font-size: 14px; }
  .step { padding-left: 54px; }
  .bestfit { padding: 18px 20px; }
}
@media (max-width: 480px) {
  .serve__grid { grid-template-columns: 1fr; }
  .stat { padding: 22px; }
  .mgroup, .testi__card { padding: 24px 22px; }
  .bar { grid-template-columns: 62px 1fr 42px; gap: 8px; }
}

/* =========================================================
   LOGO
   ========================================================= */
.nav__logo { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
.nav__logo img { display: block; height: 30px; width: auto; }
.footer__brand .nav__logo { display: inline-flex; margin-bottom: 14px; }
.footer__brand .nav__logo img { height: 40px; width: auto; }  /* logo-footer.png is trimmed, so its left edge lines up with the tagline */
@media (min-width: 701px) { .footer__brand p { white-space: nowrap; } }
@media (max-width: 700px) { .footer__brand .nav__logo img { height: 34px; } }
@media (max-width: 700px) { .nav__logo img { height: 26px; } }

/* =========================================================
   CUSTOM CURSOR: the ReachAlly paper plane (fine pointers only, enabled by main.js)
   ========================================================= */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 9999;
  width: 24px; height: 24px; pointer-events: none; user-select: none;
  opacity: 0; transition: opacity .2s ease; will-change: transform;
}
.cursor.is-visible { opacity: 1; }
.cursor__icon {
  display: block; overflow: visible;
  transform-origin: 96.6% 2.3%;             /* the nose of the plane: rotate and scale around it so the click point never moves */
  transform: rotate(-90deg);                /* the logo plane points up-right; turn it to point up-left like a cursor */
  transition: transform .22s var(--ease);
  filter: drop-shadow(0 1px 1.5px rgba(10,24,54,.35));
}
.cursor__icon .c-out { fill: #fff; stroke: #fff; stroke-width: 26; stroke-linejoin: round; }   /* white keyline so it reads on navy */
.cursor__icon .c-a { fill: #007FFD; transition: fill .2s ease; }
.cursor__icon .c-b { fill: #0054D5; transition: fill .2s ease; }
.cursor.is-link .cursor__icon { transform: rotate(-82deg) scale(1.2); }
.cursor.is-link .c-a { fill: #0054D5; }
.cursor.is-link .c-b { fill: var(--navy); }
.cursor.is-down .cursor__icon { transform: rotate(-90deg) scale(.9); }
.cursor.is-link.is-down .cursor__icon { transform: rotate(-82deg) scale(1.08); }

html.has-cursor, html.has-cursor * { cursor: none !important; }

@media (hover: none), (pointer: coarse), print { .cursor { display: none; } }

/* =========================================================
   FOOTER TIDY + PLACEHOLDER PAGES (About, Partners, legal)
   ========================================================= */
.footer__brand p:last-child { margin-bottom: 0; }

.stub { display: flex; flex-direction: column; min-height: 100vh; }
.stub__main { flex: 1; display: flex; align-items: center; padding: clamp(56px, 9vw, 96px) 0; background: linear-gradient(180deg, #F1F6FF 0%, #FFFFFF 75%); }
.stub .container { width: 100%; }
.stub__title { font-size: clamp(34px, 5vw, 52px); font-weight: 600; color: var(--navy); letter-spacing: -.04em; line-height: 1.08; margin-bottom: 16px; }
.stub__sub { font-size: clamp(16px, 1.8vw, 18px); color: var(--text-soft); max-width: 520px; margin-bottom: 32px; line-height: 1.7; }
.stub__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stub__foot { padding-top: 24px; padding-bottom: 32px; font-size: 13px; color: var(--text-soft); border-top: 1px solid var(--border); }
@media (max-width: 700px) { .stub__actions .btn { flex: 1 1 100%; } }

/* =========================================================
   FLOW: leads moving through the pipeline toward booked meetings
   Subtle, transform/opacity based, paused when off-screen (main.js),
   off for reduced-motion, trimmed on phones.
   ========================================================= */

/* Pause every flow animation inside a section that is scrolled out of view */
.flow-paused, .flow-paused::before, .flow-paused::after, .flow-paused *, .flow-paused *::before, .flow-paused *::after { animation-play-state: paused !important; }

/* Hero: faint lines with a soft light travelling along each, plus small glowing dots (SMIL, in the SVG) */
.flow-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: hidden; }
.flow-track use { fill: none; stroke: rgba(0,106,253,.10); stroke-width: 1.2; }
.flow-pulse { fill: none; stroke: url(#fl-line); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 160 2000; opacity: .8; animation: flowDash 15s linear infinite; }
.flow-pulse.fp2 { animation-duration: 19s; animation-delay: -12s; }
.flow-pulse.fp3 { animation-duration: 23s; animation-delay: -8s; }
.flow-pulse.fp1 { animation-delay: -5s; }
@keyframes flowDash { from { stroke-dashoffset: 160; } to { stroke-dashoffset: -1000; } }

/* Process: a light travels down the connector from one step to the next, then the next node pulses as it arrives */
.step::before {
  content: ''; position: absolute; z-index: 1; left: 17px; top: 44px; bottom: 6px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, transparent 0%, #3D96FF 45%, var(--blue) 60%, transparent 100%) no-repeat;
  background-size: 100% 42%; background-position: 0 -80%;
  animation: stepFlow 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.2s);
}
.step:last-child::before { display: none; }
@keyframes stepFlow { 0% { background-position: 0 -80%; } 20%, 100% { background-position: 0 180%; } }
.step:nth-child(2) { --i: 1; } .step:nth-child(3) { --i: 2; } .step:nth-child(4) { --i: 3; } .step:nth-child(5) { --i: 4; }
.step__num::after {
  content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--blue); opacity: 0; pointer-events: none;
  animation: nodeRing 6s ease-out infinite; animation-delay: calc(var(--i, 0) * 1.2s);
}
@keyframes nodeRing { 0% { transform: scale(1); opacity: .55; } 14%, 100% { transform: scale(1.75); opacity: 0; } }

/* Performance graphics: a soft light glides along the ReachAlly bars and across the dark stats strip */
.bar__track i { position: relative; overflow: hidden; }
.bar--us .bar__track i::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
  transform: translateX(-120%); animation: barSweep 5s ease-in-out infinite; animation-delay: calc(var(--k, 0) * .7s);
}
.stat:nth-child(2) { --k: 1; } .stat:nth-child(3) { --k: 2; }
@keyframes barSweep { 0% { transform: translateX(-120%); } 40%, 100% { transform: translateX(120%); } }
.proof::after {
  content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(61,150,255,.16), transparent);
  transform: translateX(-120%); animation: proofSweep 10s ease-in-out infinite;
}
@keyframes proofSweep { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(260%); } }

/* Closing panel: the light behind it drifts slowly */
.cta-panel::before { inset: -14%; animation: glowPulse 9s ease-in-out infinite alternate, ctaDrift 20s ease-in-out infinite alternate; }
@keyframes ctaDrift { from { transform: translate3d(-4%, -2%, 0); } to { transform: translate3d(4%, 3%, 0); } }

/* Phones and touch-sized screens: keep only the small timeline pulse, drop the heavier continuous effects */
@media (max-width: 700px) {
  .flow-bg, .bar--us .bar__track i::after, .proof::after { display: none; }
  .hero::before { animation: none; }
  .cta-panel::before { inset: 0; animation: none; }
}

/* Reduced motion: no continuous flow at all */
@media (prefers-reduced-motion: reduce) {
  .flow-bg, .step::before, .step__num::after, .bar--us .bar__track i::after, .proof::after { display: none; }
  .cta-panel::before { inset: 0; animation: none; }
}

/* =========================================================
   OUTREACH COMPARISON: same prospect, different approach
   ========================================================= */
.compare {
  width: 100%; max-width: 900px; text-align: left;
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-lg), 0 2px 6px rgba(10,24,54,.04);
}
.compare__top { display: flex; justify-content: center; margin-bottom: 18px; }
.compare__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-dark);
  background: var(--blue-soft); border: 1px solid var(--blue-line);
}

/* All examples stack in one grid cell, so the card is always as tall as the tallest one (no layout jump) and both sides swap together */
.compare__stage { display: grid; }
.compare__panel {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.compare__panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* Shared prospect profile */
.prospect {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--border); background: linear-gradient(180deg, #FAFCFF 0%, #F5F8FD 100%);
}
.prospect__avatar {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; color: var(--blue-dark); background: linear-gradient(145deg, #E6F0FF, #fff); border: 1px solid var(--blue-line);
}
.prospect__body { min-width: 0; }
.prospect__name { font-size: 15px; color: var(--text-soft); line-height: 1.4; }
.prospect__name strong { color: var(--navy); font-weight: 600; margin-right: 8px; }
.prospect__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 5px; font-size: 13px; color: var(--text-soft); }
.prospect__chip { padding: 2px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--border); font-size: 12px; }
.prospect__ctx { position: relative; padding-left: 14px; }
.prospect__ctx::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, #3D96FF, var(--blue)); }
.prospect__ctx b { color: var(--navy); font-weight: 600; }

/* Two LinkedIn-inspired DM windows for the same prospect (inspired by, not a copy of, a real inbox) */
.compare__cols { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.chat { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; border: 1px solid #E3E6EB; background: #F6F7F9; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #F0F1F4; border-bottom: 1px solid #E3E6EB; }
.chat__avatar { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; background: #DDE0E6; color: #7A8394; }
.chat__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; color: #6B7385; }
.chat__label { margin-left: auto; padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #7A8394; background: #E6E8ED; white-space: nowrap; }
.chat__body { flex: 1; padding: 16px 16px 12px; }
.chat__day { margin-bottom: 14px; text-align: center; font-size: 11px; color: #A0A8B8; }
.chat__row { display: flex; align-items: flex-start; gap: 10px; }
.chat__sender { flex-shrink: 0; margin-top: 2px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #E1E4EA; }
.chat__stack { display: flex; flex-direction: column; align-items: flex-start; flex: 1; min-width: 0; }
.chat__msg { display: grid; justify-items: start; max-width: 100%; }
.chat__msg > * { grid-area: 1 / 1; }
.chat__bubble { margin: 0; max-width: 100%; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: #E4E7EC; color: #6B7385; font-size: 15px; line-height: 1.65; }
.chat__typing { align-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 13px 15px; border-radius: 18px 18px 18px 6px; background: #E4E7EC; opacity: 0; pointer-events: none; }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: #A0A8B8; }
.chat__meta { margin-top: 6px; padding-left: 4px; font-size: 11px; color: #A0A8B8; }
.chat__composer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 16px 14px; padding: 9px 14px; border-radius: 99px; background: #fff; border: 1px solid #E3E6EB; font-size: 13px; color: #A9B0BE; }
.chat__composer svg { flex-shrink: 0; color: #B8BFCC; }
.chat__tag { padding: 12px 16px; border-top: 1px solid #E3E6EB; font-size: 12px; color: #8A93A3; }

/* ReachAlly window: brand blue, warmer and more alive */
.chat--good { background: #fff; border-color: var(--blue-line); box-shadow: 0 20px 44px -28px rgba(0,106,253,.6); }
.chat--good .chat__head { background: linear-gradient(180deg, #F3F8FF 0%, #FFFFFF 100%); border-bottom-color: var(--blue-line); }
.chat--good .chat__avatar { background: linear-gradient(145deg, #E6F0FF, #fff); color: var(--blue-dark); box-shadow: 0 0 0 1px var(--blue-line); }
.chat--good .chat__name { color: var(--navy); }
.chat--good .chat__label { color: var(--blue-dark); background: var(--blue-soft); }
.chat--good .chat__body { background: linear-gradient(180deg, #FBFDFF 0%, #FFFFFF 100%); }
.chat--good .chat__sender { background: linear-gradient(145deg, #1A7BFF, var(--blue-dark)); box-shadow: 0 6px 14px -6px rgba(0,106,253,.7); }
.chat--good .chat__typing { background: #DCE9FF; }
.chat--good .chat__typing i { background: #7FAEF5; }
.chat--good .chat__bubble { background: linear-gradient(135deg, #0A6CF5 0%, #0054D5 100%); color: #fff; font-size: 15.5px; box-shadow: 0 12px 24px -14px rgba(0,84,213,.7); }
.chat--good .chat__composer { border-color: var(--blue-line); }
.chat--good .chat__composer svg { color: var(--blue); }
.chat--good .chat__tag { border-top-color: var(--blue-line); color: var(--blue-dark); font-weight: 500; }
.chat--good .mark { color: #fff; background: rgba(255,255,255,.24); padding: 1px 5px; margin: 0 -1px; border-radius: 5px; box-shadow: inset 0 -2px 0 rgba(255,255,255,.75); }

/* Message appearance: a short typing indicator, then the message slides in. Both windows start together. */
.compare__panel.is-active .chat__typing { animation: chatTyping 1s ease .2s both; }
.compare__panel.is-active .chat__typing i { animation: chatDot .9s ease-in-out infinite; }
.compare__panel.is-active .chat__typing i:nth-child(2) { animation-delay: .15s; }
.compare__panel.is-active .chat__typing i:nth-child(3) { animation-delay: .3s; }
.compare__panel.is-active .chat__bubble { transform-origin: left bottom; animation: chatIn .55s var(--ease) 1s both; }
.compare__panel.is-active .chat__meta { animation: chatMeta .4s ease 1.4s both; }
@keyframes chatTyping { 0% { opacity: 0; transform: translateY(4px); } 15%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chatDot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes chatIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes chatMeta { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .compare__panel.is-active .chat__typing { display: none; }
  .compare__panel.is-active .chat__bubble, .compare__panel.is-active .chat__meta { animation: none; }
}

/* Switcher */
.compare__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.compare__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--bg-alt); border: 1px solid var(--border); }
.compare__tabs:empty { display: none; }
.compare__tab {
  border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; color: var(--text-soft);
  padding: 7px 14px; border-radius: 99px; transition: background .2s, color .2s, box-shadow .2s;
}
.compare__tab:hover { color: var(--navy); }
.compare__tab[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(10,24,54,.08), 0 0 0 1px var(--blue-line); }
.compare__note { font-size: 12px; color: var(--text-soft); }

@media (max-width: 700px) {
  .compare { border-radius: 18px; }
  .compare__cols { grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }
  .chat__body { padding: 14px 12px 10px; }
  .chat__head { padding: 10px 12px; }
  .chat__composer { margin: 0 12px 12px; }
  .chat__tag { padding: 10px 12px; }
  .compare__foot { flex-direction: column; align-items: stretch; }
  .compare__tabs { display: flex; }
  .compare__tabs .compare__tab { flex: 1; padding: 8px 6px; font-size: 12.5px; }
  .compare__note { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .compare__panel, .compare__panel.is-active { transition: none; transform: none; }
}

/* =========================================================
   TEAM PAGE (team.html): standalone page, not a homepage section
   ========================================================= */
.team-hero {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(72px, 10vw, 120px) 0 clamp(40px, 6vw, 64px);
  background: linear-gradient(180deg, #F1F6FF 0%, #FFFFFF 100%);
}
.team-hero::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: -280px; width: 900px; height: 500px; margin-left: -450px;
  background: radial-gradient(closest-side, rgba(0,106,253,.16), transparent 72%); filter: blur(24px);
}
.team-hero__inner { max-width: 760px; margin: 0 auto; }
.team-hero__title { font-size: clamp(38px, 6vw, 60px); font-weight: 600; color: var(--navy); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 16px; }
.team__tagline { font-size: clamp(18px, 2.2vw, 22px); font-weight: 500; letter-spacing: -.015em; color: var(--blue-dark); margin-bottom: 18px; }
.team-hero__intro { max-width: 600px; margin: 0 auto; font-size: clamp(16px, 1.8vw, 18px); line-height: 1.75; color: var(--text-soft); }

.team-body { padding: clamp(24px, 4vw, 40px) 0 clamp(80px, 10vw, 128px); }
.team-body__inner { max-width: 1040px; }
.team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }

/* Profile cards */
.member {
  position: relative; display: flex; flex-direction: column; padding: 40px; border-radius: 24px;
  background: radial-gradient(320px 180px at 100% 0%, rgba(0,131,253,.09), transparent 70%), linear-gradient(180deg, #FFFFFF 0%, #FAFCFF 100%);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), border-color .25s, translate .25s var(--ease);
}
.member:hover { translate: 0 -4px; border-color: var(--blue-line); box-shadow: var(--shadow-md); }
.member__name { margin-top: 24px; font-size: clamp(22px, 2.4vw, 26px); font-weight: 600; color: var(--navy); letter-spacing: -.025em; line-height: 1.2; }
.member__role { margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--blue-dark); line-height: 1.4; }
.member__bio { flex: 1; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 16px; line-height: 1.8; color: var(--text-soft); }

/* Portraits: same size, same circular crop and ring for all three. Photos load untouched from Team/;
   a per-person zoom and offset (set inline) centres each head the same way. */
.member__photo {
  flex-shrink: 0; width: 120px; height: 120px; padding: 3px; border-radius: 50%;
  background: linear-gradient(145deg, #3D96FF 0%, var(--blue-dark) 100%);
  box-shadow: 0 16px 30px -16px rgba(0,106,253,.65);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.member__crop { display: block; width: 100%; height: 100%; box-sizing: border-box; border: 3px solid #fff; border-radius: 50%; overflow: hidden; background: #E6F0FF; }
.member__crop img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transform: scale(var(--zoom, 1)) translate(var(--tx, 0), var(--ty, 0));
  transition: transform .6s var(--ease);
}
.member:hover .member__photo { transform: scale(1.03); box-shadow: 0 20px 36px -16px rgba(0,106,253,.75); }
.member:hover .member__crop img { transform: scale(calc(var(--zoom, 1) * 1.05)) translate(var(--tx, 0), var(--ty, 0)); }

/* Platform Partner: its own full-width card beneath the core team, lighter and set apart */
.member--partner {
  grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 36px; margin-top: 12px; padding: 36px 40px;
  background: linear-gradient(135deg, #F1F6FF 0%, #FFFFFF 70%); border-color: var(--blue-line);
}
.member__content { min-width: 0; }
.member--partner .member__name { margin-top: 12px; }
.member--partner .member__bio { flex: none; max-width: 640px; margin-top: 12px; padding-top: 0; border-top: 0; }
.member__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 99px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-dark);
  background: #fff; border: 1px solid var(--blue-line);
}
.member__badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, #3D96FF, var(--blue)); }

.team__close {
  position: relative; margin-top: clamp(56px, 8vw, 88px); padding-top: 32px; text-align: center;
  font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.025em; line-height: 1.3; color: var(--navy);
}
.team__close::before { content: ''; position: absolute; top: 0; left: 50%; width: 64px; height: 2px; margin-left: -32px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--blue), transparent); }

@media (max-width: 800px) {
  .team__grid { grid-template-columns: 1fr; gap: 20px; }
  .member, .member--partner { padding: 28px 24px; }
  .member--partner { flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 0; }
  .member__photo { width: 104px; height: 104px; }
  .member__name { margin-top: 20px; }
  .member--partner .member__name { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .member:hover .member__photo { transform: none; }
  .member__crop img, .member:hover .member__crop img { transition: none; }
}

/* =========================================================
   FLOW STATE: one connected system (leads moving from prospecting to conversations to booked meetings)
   Shared language: a soft blue light travelling along a line or edge. Each section uses it differently.
   Lightweight (transform / background-position on tiny elements), paused off-screen (main.js),
   trimmed on phones, off for reduced motion.
   ========================================================= */

@keyframes blobDrift  { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(3%, 4%, 0) scale(1.06); } }
@keyframes edgeFlow   { from { background-position: -60% 0; } to { background-position: 160% 0; } }
@keyframes edgeRelay  { 0% { background-position: -60% 0; } 33% { background-position: 160% 0; } 100% { background-position: 160% 0; } }
@keyframes stubFlow   { 0% { background-position: 0 -110%, 0 0; } 45%, 100% { background-position: 0 210%, 0 0; } }
@keyframes ctaRing    { 0% { transform: scale(1); opacity: .5; } 25%, 100% { transform: scale(1.14, 1.32); opacity: 0; } }

/* How it works + Pricing: slow blue light drifting behind the section */
.how, .pricing { position: relative; overflow: clip; isolation: isolate; }    /* clip (not hidden) keeps the sticky heading working */
.how::before, .pricing::before {
  content: ''; position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,131,253,.10), transparent 72%);
  animation: blobDrift 24s ease-in-out infinite alternate;
}
.how::before { right: -180px; top: -160px; }
.pricing::before { left: 50%; margin-left: -310px; top: -220px; }

/* Outreach comparison: from the shared prospect, a light runs down into both versions together */
.compare__cols::before, .compare__cols::after {
  content: ''; position: absolute; top: -20px; width: 2px; height: 20px; margin-left: -1px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, #3D96FF, transparent) no-repeat, linear-gradient(180deg, rgba(0,106,253,.05), rgba(0,106,253,.28));
  background-size: 100% 45%, 100% 100%; background-position: 0 -110%, 0 0;
  animation: stubFlow 3.2s ease-in-out infinite;
}
.compare__cols::before { left: 25%; }
.compare__cols::after  { left: 75%; }

/* Pricing: a light travels along a line above the seat tiers (more seats, more flow), and along the best-value card's top edge */
.pricing__grid { position: relative; }
.pricing__grid::before {
  content: ''; position: absolute; left: 0; right: 0; top: -28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #3D96FF, transparent) no-repeat, linear-gradient(90deg, transparent, var(--border-strong) 12%, var(--border-strong) 88%, transparent);
  background-size: 22% 100%, 100% 100%; background-position: -60% 0, 0 0;
  animation: edgeFlow 7s linear infinite;
}
.pricing__card--featured::after {
  content: ''; position: absolute; top: -1px; left: 24px; right: 24px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #7DB4FF, transparent) no-repeat; background-size: 35% 100%; background-position: -60% 0;
  animation: edgeFlow 6s linear infinite;
}

/* Testimonials: the light relays across the three cards, left to right */
.testi__card { position: relative; }
.testi__card::after {
  content: ''; position: absolute; top: -1px; left: 24px; right: 24px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #3D96FF, transparent) no-repeat; background-size: 35% 100%; background-position: -60% 0;
  animation: edgeRelay 8s linear infinite;
}
.testi__card:nth-child(2)::after { animation-delay: 2.67s; }
.testi__card:nth-child(3)::after { animation-delay: 5.33s; }

/* Team page: the glow behind the intro drifts; technology feeds down into the Platform Partner card */
.team-hero::before { animation: blobDrift 22s ease-in-out infinite alternate; }
.member--partner::before {
  content: ''; position: absolute; top: -36px; left: 50%; width: 2px; height: 36px; margin-left: -1px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, #3D96FF, transparent) no-repeat, linear-gradient(180deg, rgba(0,106,253,.05), rgba(0,106,253,.28));
  background-size: 100% 45%, 100% 100%; background-position: 0 -110%, 0 0;
  animation: stubFlow 3.6s ease-in-out infinite;
}

/* Final CTA: the meeting lands. A soft ring pulses outward from the main button. */
.cta-panel__actions .btn--invert { position: relative; }
.cta-panel__actions .btn--invert::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid rgba(255,255,255,.75); pointer-events: none;
  opacity: 0; animation: ctaRing 4.5s ease-out infinite;
}

/* Phones: drop the continuous decorative effects (the count-up, reveals and the process pulse stay) */
@media (max-width: 800px) { .member--partner::before { display: none; } }
@media (max-width: 700px) {
  .compare__cols::before, .compare__cols::after, .pricing__grid::before, .pricing__card--featured::after,
  .testi__card::after, .how::before, .pricing::before, .cta-panel__actions .btn--invert::after { display: none; }
  .team-hero::before { animation: none; }
}

/* Reduced motion: none of the continuous flow */
@media (prefers-reduced-motion: reduce) {
  .compare__cols::before, .compare__cols::after, .pricing__grid::before, .pricing__card--featured::after,
  .testi__card::after, .how::before, .pricing::before, .member--partner::before, .cta-panel__actions .btn--invert::after { display: none; }
  .team-hero::before { animation: none; }
}

/* =========================================================
   FINAL CTA: prospect, conversation, qualified lead, booked meeting
   The card stays as it was; this adds slow, low-contrast depth. One 8s cycle ties it together:
   a light travels in toward the button, the button pulses, a small calendar-check confirms the meeting.
   ========================================================= */

/* Background glow: drifts further across the card */
@keyframes ctaDrift { from { transform: translate3d(-8%, -3%, 0); } to { transform: translate3d(8%, 4%, 0); } }

/* Dot grid drifts slowly left to right (seamless: it moves exactly one tile) */
.cta-panel::after { inset: -26px; animation: ctaDots 14s linear infinite; }
@keyframes ctaDots { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(26px, 0, 0); } }

/* Prospects moving through the pipeline: paths, light pulses, dots and faint planes (SVG in the card) */
.cta-flow .flow-track use { stroke: rgba(140,190,255,.14); stroke-width: 1.2; }
.cta-flow .flow-pulse { stroke: url(#cta-line); stroke-width: 1.6; stroke-dasharray: 180 2000; opacity: .7; animation: flowDash 13s linear infinite; }
.cta-flow .flow-pulse.fp1 { animation-duration: 13s; animation-delay: -4s; }
.cta-flow .flow-pulse.fp2 { animation-duration: 17s; animation-delay: -11s; }

/* A soft light sweep crosses the card every few seconds */
.cta-sweep {
  position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 34%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(140,190,255,.14), transparent);
  transform: translateX(-130%) skewX(-12deg); animation: ctaSweep 9s ease-in-out infinite;
}
@keyframes ctaSweep { 0% { transform: translateX(-130%) skewX(-12deg); } 34%, 100% { transform: translateX(340%) skewX(-12deg); } }

/* Master 8s cycle around the button */
.cta-panel__actions { position: relative; }
.cta-panel__actions::before {                               /* the incoming path: a light travelling toward the button */
  content: ''; position: absolute; top: 50%; right: calc(100% + 10px); width: min(44vw, 440px); height: 2px; margin-top: -1px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, #9CCBFF, transparent) no-repeat, linear-gradient(90deg, transparent, rgba(140,190,255,.38));
  background-size: 30% 100%, 100% 100%; background-position: -70% 0, 0 0;
  animation: ctaLine 8s ease-in-out infinite;
}
@keyframes ctaLine { 0% { background-position: -70% 0, 0 0; } 32%, 100% { background-position: 170% 0, 0 0; } }
.cta-panel__actions::after {                                /* the outcome: a small calendar-check appears beside the button */
  content: ''; position: absolute; top: 50%; left: calc(100% + 16px); width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; pointer-events: none;
  background: rgba(61,150,255,.18) center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4M9 15l2 2 4-4'/%3E%3C/svg%3E");
  border: 1px solid rgba(255,255,255,.35); opacity: 0; transform: scale(.85);
  animation: ctaCheck 8s ease-in-out infinite;
}
@keyframes ctaCheck { 0%, 36% { opacity: 0; transform: scale(.85); } 44%, 78% { opacity: 1; transform: scale(1); } 88%, 100% { opacity: 0; transform: scale(.95); } }
.cta-panel__actions .btn--invert::after { animation: ctaRing 8s ease-out infinite; }
@keyframes ctaRing { 0%, 32% { opacity: 0; transform: scale(1); } 34% { opacity: .55; transform: scale(1); } 46%, 100% { opacity: 0; transform: scale(1.14, 1.32); } }

/* Faint pulsing glow behind the button, and a lift with a brighter glow on hover */
.cta-panel .btn--invert { animation: ctaGlow 4.5s ease-in-out infinite; }
@keyframes ctaGlow { 0%, 100% { filter: drop-shadow(0 0 14px rgba(61,150,255,.28)); } 50% { filter: drop-shadow(0 0 28px rgba(61,150,255,.55)); } }
.cta-panel .btn--invert:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(61,150,255,.75), 0 0 0 4px rgba(255,255,255,.10); }

/* Gentle fade-up: headline, text, button, trust points, in sequence when the card scrolls into view (main.js adds .cta-live) */
@media (prefers-reduced-motion: no-preference) {
  .cta-panel :is(.cta-panel__title, .cta-panel__sub, .cta-panel__actions, .cta-panel__fine) { transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .cta-panel__sub { transition-delay: .12s; }
  .cta-panel__actions { transition-delay: .24s; }
  .cta-panel__fine { transition-delay: .36s; }
  .js .cta-panel:not(.cta-live) :is(.cta-panel__title, .cta-panel__sub, .cta-panel__actions, .cta-panel__fine) { opacity: 0; transform: translateY(14px); }
}

/* Phones: only the fade-up and the static card remain */
@media (max-width: 700px) {
  .cta-sweep, .cta-panel__actions::before, .cta-panel__actions::after { display: none; }
  .cta-panel::after { inset: 0; animation: none; }
  .cta-panel .btn--invert { animation: none; }
}
/* Reduced motion: a still card */
@media (prefers-reduced-motion: reduce) {
  .cta-sweep, .cta-panel__actions::before, .cta-panel__actions::after { display: none; }
  .cta-panel::after { inset: 0; animation: none; }
  .cta-panel .btn--invert { animation: none; }
}

/* Desktop: the actions row hugs the button, so the incoming path and the calendar-check sit right against it (phones keep their stacked, full-width layout) */
@media (min-width: 701px) { .cta-panel__actions { width: fit-content; margin-left: auto; margin-right: auto; } }

/* Contact email */
.footer__brand p:has(+ .footer__email) { margin-bottom: 8px; }
.footer__email { color: #fff; text-decoration: none; font-size: 14px; transition: color .2s; }
.footer__email:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact__text p.contact__email { margin: 24px 0 0; }
.contact__email a { color: var(--blue-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Contact form: hidden spam trap + sending state */
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact__form button[type="submit"]:disabled { opacity: .7; cursor: progress; transform: none; }

/* =========================================================
   LEGAL PAGES (privacy.html): readable policy layout with a contents list
   ========================================================= */
.legal-hero { padding-bottom: clamp(32px, 5vw, 48px); }
.legal__date { font-size: 15px; font-weight: 500; color: var(--blue-dark); margin-bottom: 16px; }
.legal { padding: clamp(16px, 3vw, 32px) 0 clamp(80px, 10vw, 120px); }
.legal__inner { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: start; }

.legal__toc { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-alt); }
.legal__toc summary { font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--navy); list-style: none; }
.legal__toc summary::-webkit-details-marker { display: none; }
.legal__toc ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.45; color: var(--text-soft); }
.legal__toc a { color: var(--text-soft); text-decoration: none; transition: color .2s; }
.legal__toc a:hover { color: var(--blue-dark); }

.legal__body { max-width: 720px; }
.legal__body section { padding: 32px 0; border-top: 1px solid var(--border); scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal__body section:first-child { padding-top: 0; border-top: 0; }
.legal__body h2 { font-size: clamp(20px, 2.4vw, 24px); font-weight: 600; color: var(--navy); letter-spacing: -.02em; line-height: 1.3; margin-bottom: 16px; }
.legal__num { color: var(--blue-dark); margin-right: 4px; }
.legal__body p { font-size: 16px; line-height: 1.8; color: var(--text-soft); margin-bottom: 14px; overflow-wrap: anywhere; }
.legal__body p:last-child { margin-bottom: 0; }
.legal__body a { color: var(--blue-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__callout { padding: 12px 16px; border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; background: var(--blue-soft); }
.legal__contact { font-style: normal; margin-top: 16px; padding: 20px 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-alt); font-size: 16px; line-height: 1.9; color: var(--text-soft); }

@media (max-width: 960px) {
  .legal__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .legal__toc { position: static; max-height: none; overflow: visible; }
  .legal__toc summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
  .legal__toc summary::after { content: '+'; font-size: 18px; font-weight: 500; color: var(--blue-dark); }
  .legal__toc[open] summary::after { content: '\2212'; }
  .legal__body { max-width: none; }
}
.legal__body h3 { font-size: 17px; font-weight: 600; color: var(--navy); letter-spacing: -.01em; margin: 22px 0 10px; }
.legal__list { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 6px; font-size: 16px; line-height: 1.7; color: var(--text-soft); }
.legal__list li::marker { color: var(--blue); }
.legal__list:last-child { margin-bottom: 0; }
.legal__table-wrap { margin: 4px 0 18px; border: 1px solid var(--border); border-radius: 14px; overflow-x: auto; }
.legal__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal__table th, .legal__table td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--border); white-space: nowrap; }
.legal__table tr:first-child th, .legal__table tr:first-child td { border-top: 0; }
.legal__table th { font-weight: 600; color: var(--navy); background: var(--bg-alt); }
.legal__table td { color: var(--text-soft); }
@media (max-width: 600px) { .legal__table { font-size: 14px; } .legal__table th, .legal__table td { white-space: normal; padding: 10px 12px; } .legal__table th { white-space: nowrap; } }
