/* ============================================================
   Simplifi.io — Shared Stylesheet
   Font: Aileron (brand) — self-hosted in assets/fonts/
   Primary: #3f64ac (blue) / #23c3f3 (cyan)
   Supporting: #FFB547 (amber) / #FF3E62 (red) / #F9F8F5 (warm grey)
   ============================================================ */

/* ─── Aileron — Brand Font (self-hosted) ─────────────────── */
@font-face {
  font-family: 'Aileron';
  src: url('assets/fonts/Aileron-Thin.woff') format('woff'),
       url('assets/fonts/Aileron-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aileron';
  src: url('assets/fonts/Aileron-Light.woff') format('woff'),
       url('assets/fonts/Aileron-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aileron';
  src: url('assets/fonts/Aileron-Regular.woff') format('woff'),
       url('assets/fonts/Aileron-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aileron';
  src: url('assets/fonts/Aileron-SemiBold.woff') format('woff'),
       url('assets/fonts/Aileron-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aileron';
  src: url('assets/fonts/Aileron-Bold.woff') format('woff'),
       url('assets/fonts/Aileron-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aileron';
  src: url('assets/fonts/Aileron-Black.woff') format('woff'),
       url('assets/fonts/Aileron-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ─── Design Tokens ──────────────────────────────────────── */
:root {
  /* Core blues */
  --blue:         #3f64ac;
  --navy:         #243570;
  --blue-light:   #718EC9;

  /* Cyan accent */
  --cyan:         #23c3f3;
  --cyan-hover:   #0CAFD8;
  --cyan-light:   #E4F9FE;
  --cyan-border:  #9DE5F9;

  /* Brand dot colors — locked to logo */
  --dot-cyan:     #23c3f3;
  --dot-amber:    #FFB547;
  --dot-red:      #FF3E62;

  /* Supporting colors */
  --amber:        #FFB547;
  --amber-light:  #FFF5E0;
  --red:          #FF3E62;
  --red-deep:     #C0103A;
  --red-light:    #FFF0F3;

  /* Neutrals — cooled 2026-07-16 (approved).
     Was --bg-alt #F9F8F5 / --bg-dark #F0EEE9 (warm creams). Every other
     token in this system is cool (--blue #3f64ac, --cyan #23c3f3,
     --border #E2E8F0), so the warm neutrals were fighting the borders.
     Cool values proven on ThePOTSGuide, whose blues/cyans are identical.
     The pair moves together: --bg-dark feeds .tag-grey (product card
     chips), which would read muddy against a cooled --bg-alt. */
  --bg:           #FFFFFF;
  --bg-alt:       #F5F7FB;
  --bg-dark:      #EDF1F7;
  --text:         #1A202C;
  --text-muted:   #596070;
  --text-light:   #8A94A6;
  --border:       #E2E8F0;
  --border-dark:  #CBD5E0;

  /* Brand gradients */
  --grad-navy-blue:   linear-gradient(135deg, #243570 0%, #3f64ac 100%);
  --grad-navy-h:      linear-gradient(to right, #243570 0%, #3f64ac 100%);
  --grad-blue-cyan:   linear-gradient(135deg, #3f64ac 0%, #23c3f3 100%);
  --grad-hero-img:    linear-gradient(
                        to right,
                        rgba(36,53,112,0.95) 0%,
                        rgba(36,53,112,0.88) 30%,
                        rgba(63,100,172,0.72) 62%,
                        rgba(63,100,172,0.42) 100%
                      );

  /* Product gradients — contained to card stripes + page heroes */
  --grad-connect:     linear-gradient(135deg, #243570 0%, #23c3f3 100%);  /* navy → cyan */
  --grad-contact:     linear-gradient(135deg, #1a1060 0%, #FF3E62 100%);  /* deep purple-navy → red */
  --grad-voicelink:   linear-gradient(135deg, #243570 0%, #FFB547 100%);  /* navy → amber */

  /* Radius */
  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  /* Shadow */
  --shadow:       0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:    0 6px 28px rgba(0,0,0,0.11);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.15);

  /* Layout */
  --container:    1160px;
  --section-pad:  88px;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Aileron', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: var(--blue); text-decoration: none; }
ul  { list-style: none; }

/* ─── Container ──────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.3px; color: var(--navy); font-family: 'Aileron', sans-serif; }
h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 900; letter-spacing: -1.2px; }
h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 700; letter-spacing: -0.5px; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 15px; font-weight: 600; }
p  { line-height: 1.7; }

/* ─── Brand Dots Motif ───────────────────────────────────── */
.brand-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.brand-dot {
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.brand-dot-cyan  { background: var(--dot-cyan); }
.brand-dot-amber { background: var(--dot-amber); }
.brand-dot-red   { background: var(--dot-red); }

/* Sizes */
.brand-dots-xs .brand-dot { width: 6px;  height: 6px; }
.brand-dots-sm .brand-dot { width: 9px;  height: 9px; }
.brand-dots-md .brand-dot { width: 14px; height: 14px; }
.brand-dots-lg .brand-dot { width: 22px; height: 22px; }
.brand-dots-xl .brand-dot { width: 36px; height: 36px; }

/* Stacked pill variant */
.brand-dots-stacked {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}
.brand-dots-stacked .brand-dot-cyan  { width: 10px; height: 36px; border-radius: 100px; }
.brand-dots-stacked .brand-dot-amber { width: 10px; height: 24px; border-radius: 100px; }
.brand-dots-stacked .brand-dot-red   { width: 10px; height: 14px; border-radius: 100px; }

/* Divider — dots flanked by lines */
.brand-divider { display: flex; align-items: center; gap: 16px; }
.brand-divider-line { flex: 1; height: 1px; background: var(--border); }

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--grad-navy-h);
  border-bottom: none;
  box-shadow: 0 2px 20px rgba(0,0,0,0.22);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 8px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 24px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 30px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  font-family: 'Aileron', sans-serif;
}
.nav-links a:hover  { color: #fff; background: rgba(255,255,255,0.10); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.13); font-weight: 700; }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* ── Nav dropdowns ─────────────────────────────────────────── */
.nav-item { display: flex; align-items: center; }
.nav-item.has-dropdown { position: relative; height: 68px; }
.nav-caret { width: 13px; height: 13px; margin-left: 2px; opacity: 0.6; vertical-align: middle; }
.nav-dropdown {
  position: absolute; top: 68px; left: 0; min-width: 212px;
  background: rgba(20, 28, 62, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius); box-shadow: 0 12px 34px rgba(0,0,0,0.32);
  padding: 8px; display: none; flex-direction: column; gap: 1px; z-index: 210;
}
.nav-item.has-dropdown:hover .nav-dropdown { display: flex; }
.nav-dropdown a {
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.78);
  padding: 9px 14px; border-radius: var(--radius-sm); white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown a:hover { color: #fff; background: rgba(255,255,255,0.10); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Aileron', sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
/* Primary: cyan bg, navy text — 4.5:1 ✓ */
.btn-primary { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.btn-primary:hover { background: var(--cyan-hover); border-color: var(--cyan-hover); color: var(--navy); }
/* Secondary: blue outline */
.btn-secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: #fff; }
/* Ghost: for dark/gradient backgrounds */
.btn-ghost { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.20); border-color: rgba(255,255,255,0.55); }
/* White: for colored/dark backgrounds */
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--bg-alt); border-color: var(--bg-alt); }
/* Sizes */
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 15px 30px; font-size: 15px; }

/* ─── Tags / Badges ──────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Aileron', sans-serif;
}
.tag-cyan  { background: var(--cyan-light); color: #0A6E87; border: 1px solid var(--cyan-border); }
.tag-blue  { background: #EBF0FF; color: var(--navy); border: 1px solid #C0CEFF; }
.tag-amber { background: var(--amber-light); color: #7A4F00; border: 1px solid #FFD68A; }
.tag-red   { background: var(--red-light); color: #9B1030; border: 1px solid #FFB3C1; }
.tag-grey  { background: var(--bg-dark); color: var(--text-muted); border: 1px solid var(--border-dark); }

/* ─── Image Placeholder ──────────────────────────────────── */
.img-ph {
  background: #EEF2F7;
  border: 2px dashed #BFC9D9;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-light);
  text-align: center;
  padding: 32px 24px;
}
.img-ph-icon  { font-size: 28px; opacity: 0.45; }
.img-ph-label { font-weight: 700; color: var(--text-muted); font-size: 13px; }
.img-ph-desc  { font-size: 12px; max-width: 240px; line-height: 1.5; color: var(--text-light); }

/* ─── Hero (Homepage) ────────────────────────────────────── */
.hero {
  background:
    var(--grad-hero-img),
    url('assets/photography/city-skyline-new-2.jpg') center / cover no-repeat;
  background-color: var(--navy);
  padding: 108px 0 96px;
  color: #fff;
  overflow: hidden;
  position: relative;
}
/* Subtle cyan glow — right side depth */
.hero::after {
  content: '';
  position: absolute;
  right: -8%;
  top: -20%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(35,195,243,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 22px;
  font-family: 'Aileron', sans-serif;
}
.hero h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  color: #fff;
}
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.70);
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-visual  { display: flex; flex-direction: column; gap: 16px; position: relative; }

/* ─── Page Hero — base (blue gradient, used by About) ───── */
.page-hero {
  background: var(--grad-navy-blue);
  padding: 88px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -5%; top: -30%;
  width: 50%; height: 160%;
  background: radial-gradient(ellipse, rgba(35,195,243,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.page-hero-content { /* left column — text */ }
.page-hero-visual  {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero .tag  { margin-bottom: 18px; }
.page-hero h1 {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.12;
  margin-bottom: 14px;
  color: #fff;
}
.page-hero h1 em { font-style: normal; color: var(--cyan); }
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.70);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 520px;
}

/* ─── Product Page Heroes — photo + overlay technique ───── */
/* Same approach as homepage: navy overlay gradient over a real photo.
   Product accent color lives only in the subtle right-side glow (::after override).
   All four pages share the same overlay opacity curve for visual consistency. */

.page-hero-connect,
.page-hero-voicelink,
.page-hero-contact,
.page-hero-about {
  background-color: var(--navy); /* fallback while image loads */
}

/* Shared overlay: dense navy on the left (text readable), opens up on the right */
.page-hero-connect {
  background-image:
    linear-gradient(to right,
      rgba(36,53,112,0.95) 0%,
      rgba(36,53,112,0.88) 32%,
      rgba(36,53,112,0.62) 62%,
      rgba(36,53,112,0.30) 100%),
    url('assets/photography/connect-hero.jpg');
  background-size: cover;
  background-position: center;
}
.page-hero-voicelink {
  background-image:
    linear-gradient(to right,
      rgba(36,53,112,0.95) 0%,
      rgba(36,53,112,0.88) 32%,
      rgba(36,53,112,0.62) 62%,
      rgba(36,53,112,0.30) 100%),
    url('assets/photography/voicelink-hero.jpg');
  background-size: cover;
  background-position: center;
}
.page-hero-contact {
  background-image:
    linear-gradient(to right,
      rgba(36,53,112,0.95) 0%,
      rgba(36,53,112,0.88) 32%,
      rgba(36,53,112,0.62) 62%,
      rgba(36,53,112,0.30) 100%),
    url('assets/photography/contact-hero.jpg');
  background-size: cover;
  background-position: center;
}
.page-hero-about {
  background-image:
    linear-gradient(to right,
      rgba(36,53,112,0.95) 0%,
      rgba(36,53,112,0.88) 32%,
      rgba(36,53,112,0.62) 62%,
      rgba(36,53,112,0.30) 100%),
    url('assets/photography/about-hero.jpg');
  background-size: cover;
  background-position: center;
}
.page-hero-legal {
  background-image:
    linear-gradient(to right,
      rgba(36,53,112,0.95) 0%,
      rgba(36,53,112,0.88) 32%,
      rgba(36,53,112,0.62) 62%,
      rgba(36,53,112,0.30) 100%),
    url('assets/photography/legal-hero.jpg');
  background-size: cover;
  background-position: center;
}
.page-hero-usecases {
  background-image:
    linear-gradient(to right,
      rgba(36,53,112,0.95) 0%,
      rgba(36,53,112,0.88) 32%,
      rgba(36,53,112,0.62) 62%,
      rgba(36,53,112,0.30) 100%),
    url('assets/photography/use-case-hero.jpg');
  background-size: cover;
  background-position: center;
}

/* Per-product glow — overrides the default cyan in .page-hero::after */
.page-hero-connect::after   { background: radial-gradient(ellipse, rgba(35,195,243,0.16)  0%, transparent 65%); } /* cyan  */
.page-hero-voicelink::after { background: radial-gradient(ellipse, rgba(255,181,71,0.13)  0%, transparent 65%); } /* amber */
.page-hero-contact::after   { background: radial-gradient(ellipse, rgba(255,62,98,0.14)   0%, transparent 65%); } /* red   */
.page-hero-about::after     { background: radial-gradient(ellipse, rgba(35,195,243,0.09)  0%, transparent 65%); } /* soft cyan */
.page-hero-legal::after     { background: radial-gradient(ellipse, rgba(35,195,243,0.10)  0%, transparent 65%); } /* soft cyan */

/* ─── Use-Case Strip ─────────────────────────────────────── */
/* Replaces the stat-bar on product pages — 5 contextual tiles */
.use-case-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.use-case-strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.use-case-tile {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-right: 1px solid var(--border);
  transition: background 0.15s;
  position: relative;
}
.use-case-tile:last-child { border-right: none; }
.use-case-tile:hover { background: var(--bg-alt); }

/* Gradient top stripe — product-specific, mirrors product card stripe system */
.use-case-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.use-case-tile.stripe-connect::before   { background: var(--grad-connect); }
.use-case-tile.stripe-voicelink::before { background: var(--grad-voicelink); }
.use-case-tile.stripe-contact::before   { background: var(--grad-contact); }
.use-case-tile.stripe-blue::before      { background: var(--grad-navy-blue); }
.use-case-tile-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  flex-shrink: 0;
}
/* Icon color variants per product */
.use-case-tile-icon.cyan  { background: rgba(35,195,243,0.10); color: #0fa8d4; }
.use-case-tile-icon.amber { background: rgba(255,181,71,0.12);  color: #c47f00; }
.use-case-tile-icon.red   { background: rgba(255,62,98,0.10);   color: #d4233f; }
.use-case-tile-icon.blue  { background: rgba(63,100,172,0.10);  color: var(--blue); }
.use-case-tile h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}
.use-case-tile p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* Tile-level "Learn More" CTA */
.tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  margin-top: 6px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  width: 100%;
  transition: gap 0.15s, opacity 0.15s;
  font-family: 'Aileron', sans-serif;
}
.tile-cta:hover { gap: 8px; opacity: 0.80; }
.tile-cta svg  { width: 12px; height: 12px; flex-shrink: 0; }
.stripe-connect .tile-cta   { color: #0fa8d4; }
.stripe-voicelink .tile-cta { color: #c47f00; }
.stripe-contact .tile-cta   { color: #d4233f; }
.stripe-blue .tile-cta      { color: var(--blue); }

/* ─── Assessment Band ────────────────────────────────────── */
.assessment-band {
  background: linear-gradient(135deg, rgba(63,100,172,0.05) 0%, rgba(35,195,243,0.03) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.assessment-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.assessment-band-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--blue);
  margin-bottom: 6px;
  display: block;
  font-family: 'Aileron', sans-serif;
}
.assessment-band h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.assessment-band p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}
.assessment-band-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.assessment-time {
  font-size: 11px;
  color: var(--text-light);
  text-align: right;
}
.assessment-tools-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.1px;
  transition: color 0.15s;
}
.assessment-tools-link:hover { color: var(--navy); }
.assessment-tools-link i { width: 12px; height: 12px; }

/* ─── Global Card Stripe Rule ────────────────────────────── */
/* 4px gradient top accent — product pages use product gradient,
   general/brand cards use navy→blue. Mirrors product-card-stripe system. */
.card,
.step-card,
.addon-card,
.value-card { position: relative; overflow: hidden; }

.card::before,
.step-card::before,
.addon-card::before,
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 0; /* stripe sits flush at top */
}

/* Product-specific stripe variants */
.card.stripe-connect::before,
.step-card.stripe-connect::before,
.addon-card.stripe-connect::before  { background: var(--grad-connect); }

.card.stripe-voicelink::before,
.step-card.stripe-voicelink::before,
.addon-card.stripe-voicelink::before { background: var(--grad-voicelink); }

.card.stripe-contact::before,
.step-card.stripe-contact::before,
.addon-card.stripe-contact::before  { background: var(--grad-contact); }

.card.stripe-blue::before,
.step-card.stripe-blue::before,
.addon-card.stripe-blue::before,
.value-card.stripe-blue::before     { background: var(--grad-navy-blue); }

/* Nudge card padding to clear the stripe */
.card.stripe-connect,
.card.stripe-voicelink,
.card.stripe-contact,
.card.stripe-blue      { padding-top: 28px; }
.step-card.stripe-connect,
.step-card.stripe-voicelink,
.step-card.stripe-contact,
.step-card.stripe-blue { padding-top: 24px; border-top: 1px solid var(--border); }
.addon-card.stripe-connect,
.addon-card.stripe-voicelink,
.addon-card.stripe-contact,
.addon-card.stripe-blue { padding-top: 20px; }
.value-card.stripe-blue { padding-top: 28px; }

/* ─── Mission Band (About page) ──────────────────────────── */
.mission-band {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
}
.mission-band-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.mission-statement {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.mission-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto;
}

/* ─── How We Work Strip (About page) ─────────────────────── */
.how-we-work {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.how-we-work-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hww-step {
  padding: 28px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hww-step:last-child { border-right: none; }
.hww-num {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--blue);
  font-family: 'Aileron', sans-serif;
}
.hww-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.hww-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ─── Sections ───────────────────────────────────────────── */
.section     { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--grad-navy-blue); color: #fff; padding: var(--section-pad) 0; }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-header .tag { margin-bottom: 16px; }
.section-header h2   { margin-bottom: 14px; }
.section-header p    { font-size: 17px; color: var(--text-muted); line-height: 1.75; }
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p  { color: rgba(255,255,255,0.68); }

/* ─── Cards ──────────────────────────────────────────────── */
/* Cards on dark backgrounds: suppress the border entirely.
   White/light strokes on dark surfaces fight gradient top accents
   and look unresolved. Shadow provides sufficient depth cue. */
.section-dark .card,
.section-dark .product-card,
.section-dark .tool-card,
.section-dark .tool-featured { border-color: transparent; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

/* ─── Product Cards ──────────────────────────────────────── */
.product-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card-stripe { height: 4px; }
.product-card-stripe.connect  { background: var(--grad-connect); }
.product-card-stripe.contact  { background: var(--grad-contact); }
.product-card-stripe.voicelink{ background: var(--grad-voicelink); }
.product-card-body { padding: 32px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.product-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--cyan-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin-bottom: 4px;
}
.product-card-icon.contact  { background: var(--red-light); color: var(--red-deep); }
.product-card-icon.voicelink{ background: var(--amber-light); color: #7A4F00; }
.product-card h3 { font-size: 19px; font-weight: 700; color: var(--navy); }
.product-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1; }
.product-card-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-link {
  font-size: 13px; font-weight: 700; color: var(--blue);
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap 0.15s, color 0.15s;
}
.card-link:hover { gap: 8px; color: var(--cyan-hover); }

/* ─── Feature Rows ───────────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-content .tag { margin-bottom: 16px; }
.feature-content h2 { margin-bottom: 14px; }
.feature-content p { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }

/* ─── Feature Checklist ──────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.feature-item { display: flex; gap: 12px; align-items: flex-start; }
.feature-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--cyan-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.feature-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── Stat Bar ───────────────────────────────────────────── */
.stat-bar { background: var(--grad-navy-h); padding: 40px 0; }
.stat-bar-inner { display: grid; grid-template-columns: repeat(4,1fr); position: relative; }
.stat-bar-item { text-align: center; padding: 8px 24px; position: relative; }
.stat-bar-item + .stat-bar-item::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px; background: rgba(255,255,255,0.15);
}
.stat-num   { font-size: 36px; font-weight: 900; color: var(--cyan); letter-spacing: -1px; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.65); line-height: 1.4; }

/* ─── Icon Stat Items ────────────────────────────────────── */
.stat-list { display: flex; flex-direction: column; gap: 20px; }
.stat-item { display: flex; gap: 14px; align-items: flex-start; }
.stat-icon-box {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--cyan-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-item h4 { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 3px; }
.stat-item p  { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ─── Step Cards ─────────────────────────────────────────── */
.step-card {
  background: #fff; border: 1px solid var(--border);
  border-top: 3px solid var(--cyan);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px;
}
.step-num {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 4px;
}
.step-icon { width: 28px; height: 28px; display: block; margin-bottom: 4px; color: var(--blue); }
.step-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); }
.step-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1; }

/* ─── Testimonial Cards ──────────────────────────────────── */
.testimonial-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 16px;
}
.testimonial-quote {
  font-size: 16px; color: var(--text); line-height: 1.75;
  font-style: italic; flex: 1;
}
.testimonial-quote::before {
  content: '\201C'; color: var(--cyan); font-size: 22px;
  font-style: normal; line-height: 0; vertical-align: -4px; margin-right: 2px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-navy-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--blue); }
.testimonial-role { font-size: 12px; color: var(--text-light); }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; background: none; border: none;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 15px; font-weight: 600; color: var(--text);
  font-family: 'Aileron', sans-serif; cursor: pointer; text-align: left;
  transition: background 0.15s;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-q.open  { color: var(--blue); background: var(--bg-alt); }
.faq-chevron { width: 18px; height: 18px; color: var(--text-muted); transition: transform 0.2s; flex-shrink: 0; }
.faq-q.open .faq-chevron { transform: rotate(180deg); color: var(--blue); }
.faq-a { display: none; padding: 0 24px 20px; font-size: 14px; color: var(--text-muted); line-height: 1.75; background: var(--bg-alt); }
.faq-a.open { display: block; }

/* ─── CTA Band ───────────────────────────────────────────── */
.cta-band {
  background: var(--grad-navy-blue);
  padding: 88px 0; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; bottom: -30%; left: 50%; transform: translateX(-50%);
  width: 70%; height: 80%;
  background: radial-gradient(ellipse, rgba(35,195,243,0.16) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(26px, 3vw, 40px); font-weight: 900;
  letter-spacing: -0.5px; margin-bottom: 14px; color: #fff;
}
.cta-band p {
  font-size: 17px; color: rgba(255,255,255,0.65);
  margin-bottom: 36px; max-width: 480px;
  margin-left: auto; margin-right: auto; line-height: 1.7;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .brand-dots { justify-content: center; margin-bottom: 24px; }

/* ─── Forms ──────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); font-family: 'Aileron', sans-serif; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: 'Aileron', sans-serif;
  color: var(--text); outline: none; background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(35,195,243,0.14);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  display: none; background: #ECFDF5; border: 1.5px solid #6EE7B7;
  border-radius: var(--radius); padding: 16px 20px;
  font-size: 14px; font-weight: 600; color: #065F46;
  margin-top: 12px; align-items: center; gap: 10px;
}
.form-success.show { display: flex; }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 60px 0 28px;
  font-size: 14px;
  position: relative; overflow: hidden;
}
/* Cyan-to-blue gradient rule across the very top of footer */
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-blue-cyan);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; margin-bottom: 14px; text-decoration: none; }
.footer-logo img { height: 26px; width: auto; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-col h5 {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.9px; color: rgba(255,255,255,0.85); margin-bottom: 14px;
  font-family: 'Aileron', sans-serif;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-col a:hover { color: rgba(255,255,255,0.92); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; font-size: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ─── Lucide Icons ───────────────────────────────────────── */
.lucide { stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.stat-icon-box .lucide { width: 20px; height: 20px; }
.step-icon.lucide       { width: 28px; height: 28px; }
.feature-check .lucide  { width: 13px; height: 13px; }
.risk-icon { width: 18px; height: 18px; display: inline-block; vertical-align: middle; margin-right: 6px; color: var(--blue); flex-shrink: 0; }

/* ─── Utility ────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-2  { margin-top: 8px; }
.mt-3  { margin-top: 12px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-2  { margin-bottom: 8px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.flex  { display: flex; align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   Two breakpoints: 900px (tablet) + 680px (mobile)
   Single stylesheet covers all pages automatically.
══════════════════════════════════════════════════════════ */

/* ─── Hamburger button — hidden on desktop ───────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 8px;
  color: #fff;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  flex-shrink: 0;
  margin-left: 10px;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.10); }
.nav-hamburger svg   { width: 22px; height: 22px; stroke: #fff; display: block; }

/* ─── Tablet — 900px ─────────────────────────────────────── */
@media (max-width: 900px) {

  :root { --section-pad: 64px; }

  /* Hero — keep 2-col but tighten gap */
  .hero-inner { gap: 40px; }

  /* Grids — 3-col → 2-col */
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Use-case strip — 3 across at tablet */
  .use-case-strip-inner { grid-template-columns: repeat(3, 1fr); }
  .use-case-tile:nth-child(3) { border-right: none; }
  .use-case-tile:nth-child(4),
  .use-case-tile:nth-child(5) { border-top: 1px solid var(--border); }
  .use-case-tile:nth-child(5) { border-right: none; }

  /* How We Work — stack at tablet */
  .how-we-work-inner { grid-template-columns: 1fr; }
  .hww-step { border-right: none; border-bottom: 1px solid var(--border); }
  .hww-step:last-child { border-bottom: none; }

  /* Page hero — single col at tablet */
  .page-hero-inner { grid-template-columns: 1fr; gap: 0; }
  .page-hero-visual { display: none; }

  /* Stat bar — tighten numerals */
  .stat-num { font-size: 30px; }

  /* Footer — 2-col, brand spans full width */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }

}

/* ─── Mobile — 680px ─────────────────────────────────────── */
@media (max-width: 680px) {

  :root { --section-pad: 52px; }

  /* Container — tighter side padding */
  .container { padding: 0 20px; }

  /* ── Nav ── */
  /* Links collapse into absolute dropdown */
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 18px;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
    z-index: 199;
  }
  .nav-links a {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.80);
  }
  /* Show dropdown when nav-open class is toggled */
  .nav.nav-open .nav-links { display: flex; }

  /* Dropdowns become inline, indented sub-lists on mobile */
  .nav-item.has-dropdown { flex-direction: column; align-items: stretch; height: auto; position: static; }
  .nav-caret { display: none; }
  .nav-dropdown {
    position: static; display: flex; min-width: 0;
    background: transparent; border: none; box-shadow: none;
    padding: 0 0 4px 12px; gap: 0;
  }
  .nav-dropdown a { padding: 10px 16px; font-size: 14px; color: rgba(255,255,255,0.66); }

  /* Hamburger visible, Sign In hidden */
  .nav-hamburger { display: flex; }
  .nav-cta .btn-ghost { display: none; }

  /* ── Hero ── */
  .hero { padding: 68px 0 56px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* City image provides the visual on mobile — hide the right-col placeholder */
  .hero-visual { display: none; }
  .hero h1    { font-size: clamp(28px, 8vw, 40px); letter-spacing: -0.8px; }
  .hero-sub   { font-size: 16px; }

  /* ── Stat bar — 2×2 grid ── */
  .stat-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Hide the vertical divider lines between cells */
  .stat-bar-item + .stat-bar-item::before { display: none; }
  .stat-bar-item { padding: 14px 8px; }
  .stat-num      { font-size: 28px; }
  .stat-label    { font-size: 12px; }

  /* ── Grids → single column ── */
  .card-grid-3,
  .card-grid-2 { grid-template-columns: 1fr; }

  /* ── Feature rows → stack, content first ── */
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
  /* Ensure visual always comes after content when stacked */
  .feature-row.reverse .feature-content { order: -1; }

  /* ── Page heroes ── */
  .page-hero { padding: 52px 0 44px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 38px); }
  .page-hero-visual { display: none; }

  /* ── Use-case strip — 2-col on mobile ── */
  .use-case-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .use-case-tile { border-right: 1px solid var(--border); border-top: none; }
  .use-case-tile:nth-child(2),
  .use-case-tile:nth-child(4) { border-right: none; }
  .use-case-tile:nth-child(3),
  .use-case-tile:nth-child(4),
  .use-case-tile:nth-child(5) { border-top: 1px solid var(--border); }
  .use-case-tile:nth-child(5) { grid-column: 1 / -1; border-right: none; }

  /* ── Mission band ── */
  .mission-statement { font-size: 20px; }
  .mission-sub { font-size: 14px; }

  /* ── Assessment band ── */
  .assessment-band-inner { flex-direction: column; gap: 20px; }
  .assessment-band-cta { align-items: flex-start; }
  .assessment-time { text-align: left; }

  /* ── Section headers ── */
  .section-header { margin-bottom: 36px; }
  .section-header p { font-size: 15px; }

  /* ── Typography ── */
  h2 { font-size: clamp(22px, 6vw, 32px); }

  /* ── Step cards ── */
  .card-grid-3 .step-card { padding: 24px; }

  /* ── Forms ── */
  .form-row { grid-template-columns: 1fr; }

  /* ── Footer → stack ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-brand    { grid-column: auto; }
  .footer-bottom   { flex-direction: column; gap: 10px; text-align: center; }
  .footer-legal    { flex-wrap: wrap; justify-content: center; }

  /* ── CTA band ── */
  .cta-band { padding: 64px 0; }
  .cta-band h2 { font-size: clamp(22px, 6vw, 32px); }

}

/* ═══════════════════════════════════════════════════════════
   LEGAL / POLICY PROSE — shared template for every /legal/* page
   Body text is verbatim from source; only this shell is styled.
════════════════════════════════════════════════════════════ */
.legal-breadcrumb { margin-bottom: 26px; }
.legal-breadcrumb a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none;
}
.legal-breadcrumb a:hover { text-decoration: underline; }
.legal-breadcrumb i { width: 15px; height: 15px; }

.legal-prose { max-width: 780px; }
.legal-kicker { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.9px; color: var(--blue); margin-bottom: 10px; }
.legal-prose > p, .legal-prose > ul, .legal-prose > ol { margin-bottom: 18px; }
.legal-prose p  { font-size: 15.5px; line-height: 1.85; color: var(--text-muted); }
.legal-prose h2 {
  font-size: 20px; font-weight: 800; color: var(--navy);
  letter-spacing: -0.3px; line-height: 1.3;
  margin: 42px 0 14px; padding-top: 34px; border-top: 1px solid var(--border);
}
.legal-prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-prose p strong { color: var(--navy); font-weight: 700; }
.legal-prose ul { padding-left: 22px; list-style: disc; }
.legal-prose ol { padding-left: 22px; list-style: decimal; }
.legal-prose li {
  font-size: 15.5px; line-height: 1.8; color: var(--text-muted);
  margin-bottom: 8px; padding-left: 4px;
}
.legal-prose li::marker { color: var(--cyan); }
.legal-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-prose a:hover { color: var(--navy); }

.legal-address {
  border-left: 3px solid var(--cyan);
  padding: 4px 0 4px 18px; margin: 14px 0 4px;
  font-size: 15.5px; line-height: 1.75; color: var(--text-muted);
}
.legal-address strong { color: var(--navy); }

.legal-meta {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-light); font-style: italic;
}

/* Pre-footer — contact + last-edited + copyright/patent.
   Closes every /legal/* page identically; only the date changes. */
.legal-prefooter {
  margin-top: 50px;
  padding: 30px 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.legal-prefooter h2 {
  font-size: 17px; font-weight: 800; color: var(--navy);
  letter-spacing: -0.2px; margin: 0 0 8px; padding-top: 0; border-top: none;
}
.legal-prefooter > p { font-size: 15px; }
.legal-prefooter .legal-address { margin: 14px 0 0; }
.legal-prefooter-legal {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 12.5px; line-height: 1.7; color: var(--text-light);
}
.legal-prefooter-legal p { margin: 0 0 5px; }
.legal-prefooter-legal p:last-child { margin-bottom: 0; }
.legal-prefooter-legal .legal-lastedit {
  font-style: italic; color: var(--text-muted); margin-bottom: 10px;
}

/* Legal tabbed layout (Warranty — two product tabs) */
.legal-tablist {
  display: flex; gap: 4px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border); margin-bottom: 34px;
}
.legal-tab {
  appearance: none; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 700; color: var(--text-light);
  padding: 12px 20px; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.legal-tab:hover { color: var(--navy); }
.legal-tab.is-active { color: var(--navy); border-bottom-color: var(--cyan); }
.legal-tabpanel[hidden] { display: none; }

/* Simple table for policy bodies (e.g. SLA service credits) */
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 14.5px; }
.legal-table th, .legal-table td { border: 1px solid var(--border); padding: 9px 14px; text-align: left; color: var(--text-muted); line-height: 1.5; }
.legal-table th { background: var(--bg-alt); color: var(--navy); font-weight: 700; }

@media (max-width: 680px) {
  .legal-prose h2 { font-size: 18px; padding-top: 28px; margin-top: 32px; }
  .legal-prefooter { padding: 24px 22px; }
  .legal-tab { padding: 10px 14px; font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════
   ACADEMY — blog hub (data-driven cards, featured + filters)
════════════════════════════════════════════════════════════ */
.academy-intro { max-width: 640px; margin-bottom: 40px; }
.academy-intro p { font-size: 16px; color: var(--text-muted); line-height: 1.7; }

/* Category accent colors */
.cat-life     { color: #E8942B; }              /* POTS & Life-Safety — amber */
.cat-failover { color: #1f9fd0; }              /* Failover — cyan-blue */
.cat-fwa      { color: var(--blue); }          /* Fixed Wireless & 5G */
.cat-ucaas    { color: #FF3E62; }              /* VoIP & UCaaS — red */
.academy-cat  { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.9px; }

/* Featured */
.academy-featured {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-md); margin-bottom: 46px; text-decoration: none;
}
.academy-featured-img { min-height: 340px; background: var(--bg-alt) center/cover no-repeat; }
.academy-featured-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.academy-featured-flag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--cyan); margin-bottom: 14px; }
.academy-featured-body h2 { font-size: 27px; font-weight: 800; color: var(--navy); line-height: 1.22; letter-spacing: -0.5px; margin: 8px 0 14px; }
.academy-featured-body p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; }

/* Filter chips */
.academy-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.academy-chip {
  padding: 8px 17px; border-radius: 100px; border: 1px solid var(--border); background: #fff;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text-muted); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.academy-chip:hover { border-color: var(--blue); color: var(--navy); }
.academy-chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Grid + cards */
.academy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.academy-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none;
  box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.academy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.academy-card-img { aspect-ratio: 16 / 10; background: var(--bg-alt) center/cover no-repeat; }
.academy-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.academy-card h3 { font-size: 16.5px; font-weight: 700; color: var(--navy); line-height: 1.35; letter-spacing: -0.2px; }
.academy-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.academy-card .card-link { margin-top: auto; padding-top: 4px; }
.academy-empty { grid-column: 1 / -1; text-align: center; color: var(--text-light); padding: 40px 0; }

@media (max-width: 900px) {
  .academy-grid { grid-template-columns: repeat(2, 1fr); }
  .academy-featured { grid-template-columns: 1fr; }
  .academy-featured-img { min-height: 220px; }
  .academy-featured-body { padding: 32px; }
}
@media (max-width: 680px) {
  .academy-grid { grid-template-columns: 1fr; }
  .academy-featured-body h2 { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════════
   ACADEMY — article (post) pages
════════════════════════════════════════════════════════════ */
.article-head { max-width: 780px; margin: 0 auto 22px; }
.article-head .legal-breadcrumb { margin-bottom: 18px; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.article-readtime { font-size: 12.5px; font-weight: 600; color: var(--text-light); }
.article-readtime::before { content: "•"; margin-right: 14px; color: var(--border); }
.article-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; letter-spacing: -0.6px; line-height: 1.18; color: var(--navy); margin-bottom: 18px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tag { font-size: 11px; font-weight: 700; color: var(--text-muted); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 100px; padding: 4px 11px; }
.article-hero-img { display: block; width: 100%; max-width: 780px; height: auto; margin: 0 auto 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article-prose { margin-left: auto; margin-right: auto; }
.legal-prose h3 { font-size: 17px; font-weight: 800; color: var(--navy); letter-spacing: -0.2px; margin: 26px 0 10px; padding: 0; border: none; }

.article-related { max-width: 1000px; margin: 60px auto 0; }
.article-related h4 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 20px; }
.article-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.article-cta { max-width: 1000px; margin: 46px auto 0; background: var(--grad-navy-h); border-radius: var(--radius-lg); padding: 40px 44px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.article-cta h3 { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 8px; }
.article-cta p { color: rgba(255,255,255,0.75); font-size: 14.5px; line-height: 1.65; max-width: 540px; }
.article-cta .btn { flex-shrink: 0; }

@media (max-width: 900px) {
  .article-related-grid { grid-template-columns: 1fr 1fr; }
  .article-cta { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .article-related-grid { grid-template-columns: 1fr; }
  .article-cta { padding: 30px 26px; }
}

/* ═══════════════════════════════════════════════════════════
   USE-CASE BIG CARD — skyline band + one floating card
   (hero row + challenge + solution + who-it's-for)
   Product accent via .uc-connect / .uc-voicelink / .uc-contact
   Risk (default red) vs benefit (.is-benefit green) framing
════════════════════════════════════════════════════════════ */
.uc-skyhero {
  background: var(--grad-hero-img), url('assets/photography/city-skyline-new-2.jpg') center / cover no-repeat;
  background-color: var(--navy);
  height: 400px;
}
.uc-herocard-wrap { position: relative; z-index: 2; margin-top: -352px; margin-bottom: 64px; }
.uc-bigcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 64px rgba(20,30,60,0.30);
  overflow: hidden;
}
.uc-bigcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 3;
  background: var(--grad-connect);
}
.uc-bigcard.uc-voicelink::before { background: var(--grad-voicelink); }
.uc-bigcard.uc-contact::before   { background: var(--grad-contact); }
/* hero row inside the card — image bleeds to top/right/bottom edges */
.uc-card-hero { display: grid; grid-template-columns: 5fr 3fr; align-items: stretch; }
.uc-card-hero-text { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 56px 44px 56px 56px; }
.uc-card-hero-text h1 { font-size: 40px; line-height: 1.1; color: var(--navy); letter-spacing: -0.8px; margin: 0; }
.uc-card-hero-text p  { font-size: 17px; color: var(--text-muted); line-height: 1.75; margin: 0; }
.uc-card-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.uc-card-hero-media { display: block; }
.uc-card-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* stacked bands inside the card */
.uc-card-band { border-top: 1px solid var(--border); padding: 46px 56px; }
.uc-card-band.is-alt { background: var(--bg-alt); }
/* challenge: expanded copy + impact panel */
.uc-challenge { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.uc-challenge-text .tag { margin-bottom: 14px; }
.uc-challenge-text h2 { font-size: 27px; line-height: 1.22; color: var(--navy); letter-spacing: -0.4px; margin: 0 0 16px; }
.uc-challenge-text p { font-size: 15.5px; color: var(--text-muted); line-height: 1.8; margin: 0 0 14px; }
.uc-challenge-text p:last-child { margin-bottom: 0; }
.uc-impact { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px 26px; }
.uc-impact::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #C22743; }
.uc-impact-head { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.9px; color: #C22743; margin-bottom: 18px; }
.uc-impact-head i { width: 16px; height: 16px; }
.uc-impact-list { display: flex; flex-direction: column; gap: 12px; }
.uc-impact-item { display: flex; align-items: center; gap: 12px; }
.uc-impact-item .ii-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-light); flex-shrink: 0; }
.uc-impact-item .ii-label { font-size: 14px; font-weight: 700; color: var(--navy); display: block; line-height: 1.3; }
.uc-impact-item .ii-sub { font-size: 12.5px; color: var(--text-light); line-height: 1.35; }
/* summary footer inside the impact panel (cost / payoff) */
.uc-impact-cost { margin: 20px -26px -26px; padding: 18px 26px 20px; background: rgba(255,62,98,0.06); border-top: 1px solid rgba(255,62,98,0.22); }
.uc-impact-cost .uic-lead { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: var(--navy); margin: 0 0 12px; }
.uc-impact-cost .uic-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; color: #C22743; margin-bottom: 9px; }
.uc-impact-cost .uic-item:last-child { margin-bottom: 0; }
.uc-impact-cost .uic-item i { width: 16px; height: 16px; flex-shrink: 0; }
/* benefit variant — positive green treatment (inverse of red risk) */
.uc-impact.is-benefit::before { background: #1a8a4a; }
.uc-impact.is-benefit .uc-impact-head { color: #1a8a4a; }
.uc-impact-cost.is-benefit { background: rgba(26,138,74,0.07); border-top-color: rgba(26,138,74,0.25); }
.uc-impact-cost.is-benefit .uic-item { color: #1a8a4a; }
/* who-it's-for: industry tiles, mirrors product-page use-case strip */
.uc-icp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 26px; }
.uc-icp-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.uc-icp-tile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-connect); }
.uc-bigcard.uc-voicelink .uc-icp-tile::before { background: var(--grad-voicelink); }
.uc-bigcard.uc-contact   .uc-icp-tile::before { background: var(--grad-contact); }
.uc-icp-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: rgba(35,195,243,0.10); color: #0fa8d4; flex-shrink: 0; }
.uc-bigcard.uc-voicelink .uc-icp-icon { background: rgba(255,181,71,0.12); color: #c47f00; }
.uc-bigcard.uc-contact   .uc-icp-icon { background: rgba(255,62,98,0.10); color: #d4233f; }
.uc-icp-tile h4 { font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.3; margin: 0; }
.uc-icp-tile p  { font-size: 12px; color: var(--text-light); line-height: 1.5; margin: 0; }
@media (max-width: 820px) {
  .uc-icp-grid { grid-template-columns: 1fr 1fr; }
  .uc-challenge { grid-template-columns: 1fr; gap: 28px; }
  .uc-skyhero { height: 280px; }
  .uc-herocard-wrap { margin-top: -180px; }
  .uc-card-hero { grid-template-columns: 1fr; }
  .uc-card-hero-text { padding: 32px 26px; }
  .uc-card-hero-text h1 { font-size: 30px; }
  .uc-card-hero-media img { height: auto; aspect-ratio: 16/10; }
  .uc-card-band { padding: 34px 26px; }
}
/* solution: green benefit panel (left) + copy (right) — mirror of challenge */
.uc-solution { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
/* who-it's-for intro line */
.uc-icp-intro { max-width: none; margin: 4px auto 0; text-align: center; font-size: 15.5px; color: var(--text-muted); line-height: 1.7; text-wrap: balance; }
/* ICP header: let the title use the card width so it fits one line, and tighten the gap to the intro */
.uc-card-band .section-header { max-width: none; margin-bottom: 16px; }
.uc-card-band .section-header h2 { text-wrap: balance; }
/* in-card CTA closer — dark band that finishes the card */
.uc-card-cta { background: var(--grad-navy-blue); color: #fff; text-align: center; padding: 74px 56px 94px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.uc-card-cta h2 { color: #fff; font-size: 28px; line-height: 1.15; letter-spacing: -0.4px; margin: 14px 0 10px; }
.uc-card-cta p { color: rgba(255,255,255,0.8); font-size: 15.5px; line-height: 1.7; max-width: 560px; margin: 0 auto 22px; }
.uc-card-cta .brand-dots { justify-content: center; margin-bottom: 22px; }
.uc-card-cta .cta-actions { justify-content: center; }
@media (max-width: 820px) {
  .uc-solution { grid-template-columns: 1fr; gap: 28px; }
  .uc-solution .uc-challenge-text { order: -1; }
  .uc-card-cta { padding: 54px 26px 68px; }
}

/* ═══════════════════════════════════════════════════════════
   TOOL CAPTURE — shared "Get My Results" gated block
   (used by every Tool Shed tool + the Needs Assessment)
════════════════════════════════════════════════════════════ */
.tool-capture { max-width: 620px; margin: 30px auto 0; }
.tc-inner { position: relative; overflow: hidden; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 32px 32px 26px; }
.tc-inner::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-blue-cyan); }
.tc-head { text-align: center; margin-bottom: 20px; }
.tc-eyebrow { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: #0A6E87; margin-bottom: 7px; }
.tc-head h3 { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -0.3px; margin: 0 0 6px; }
.tc-head p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.tc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tc-field { display: flex; flex-direction: column; gap: 5px; }
.tc-field.tc-span { grid-column: 1 / -1; }
.tc-field label { font-size: 12.5px; font-weight: 700; color: var(--navy); }
.tc-field label span { color: #C22743; }
.tc-field input { padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; font-family: inherit; background: #fff; color: var(--text); }
.tc-field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(35,195,243,0.15); }
.tc-consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 2px; font-size: 12.5px; color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.tc-consent input { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--navy); cursor: pointer; }
.tc-error { background: rgba(255,62,98,0.08); border: 1px solid rgba(255,62,98,0.30); color: #C22743; font-size: 13px; font-weight: 600; padding: 10px 12px; border-radius: var(--radius); margin-top: 12px; }
.tc-submit { width: 100%; justify-content: center; margin-top: 14px; }
.tc-submit i { width: 16px; height: 16px; }
.tc-fine { text-align: center; font-size: 11.5px; color: var(--text-light); margin: 10px 0 0; }
.tc-success { text-align: center; padding: 10px 0 4px; }
.tc-success-icon { width: 54px; height: 54px; border-radius: 50%; background: rgba(26,138,74,0.10); color: #1a8a4a; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.tc-success-icon i { width: 26px; height: 26px; }
.tc-success h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin: 0 0 6px; }
.tc-success p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0 auto 16px; max-width: 420px; }
@media (max-width: 560px) { .tc-grid { grid-template-columns: 1fr; } .tc-inner { padding: 26px 22px 22px; } }
/* capture block inside the assessment modal (narrow) — single column, tighter */
.sa-body .tool-capture { max-width: none; margin: 22px 0 0; }
.sa-body .tc-inner { padding: 24px 22px 22px; }
.sa-body .tc-grid { grid-template-columns: 1fr; }
