/* ============================================================
   AFFINITY SOFTWARE SOLUTIONS — Enterprise Design System v2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --orange: #E85C33;
  --navy: #0d1e3d;
  --navy-mid: #1a3260;
  --navy-hover: #162f5e;
  --ink: #0f172a;
  --muted: #516073;
  --muted-light: #8899aa;
  --bg: #ffffff;
  --bg2: #f4f6fa;
  --border: rgba(13,30,61,.10);
  --border-strong: rgba(13,30,61,.18);
  --shadow-sm: 0 2px 8px rgba(13,30,61,.07);
  --shadow: 0 8px 28px rgba(13,30,61,.10);
  --shadow-lg: 0 20px 60px rgba(13,30,61,.14);
  --radius: 14px;
  --nav-h: 72px;
  /* CTA button = deep navy everywhere */
  --btn: #0d1e3d;
  --btn-hover: #162f5e;
  --btn-shadow: rgba(13,30,61,.28);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box }
html, body { margin: 0; padding: 0 }
body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block }
a { color: inherit; text-decoration: none }
.container { width: min(1160px, 92%); margin: 0 auto }

/* ── Skip link ── */
.skip-link {
  position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 16px; top: 16px; width: auto; height: auto;
  background: #fff; border: 1px solid var(--border);
  padding: 10px 14px; border-radius: 10px; z-index: 9999;
}

/* ================================================================
   HEADER / NAV
   ================================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(13,30,61,.10);
}

/* Logo left, nav pushed far right */
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.brand { display: flex; align-items: center; flex-shrink: 0 }
.brand-logo { height: 52px; width: auto }

/* Nav group — sits at far right */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  font-size: 15px; font-weight: 700;
  color: var(--navy);
  padding: 8px 14px; border-radius: 8px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.nav-link:hover { background: rgba(13,30,61,.06) }
.nav-link.active { color: var(--orange) }

/* CTA — deep navy pill */
.nav-cta {
  margin-left: 16px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--btn);
  color: #fff;
  font-weight: 800; font-size: 14px;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 14px var(--btn-shadow);
}
.nav-cta:hover {
  background: var(--btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--btn-shadow);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle:hover { background: rgba(13,30,61,.06) }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
}

/* ── Dropdown ── */
.nav-dropdown { position: relative }

.nav-link-btn {
  display: flex; align-items: center; gap: 5px;
  background: transparent; border: 0; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--navy);
  padding: 8px 14px; border-radius: 8px;
  transition: background .15s ease;
  white-space: nowrap;
}
.nav-link-btn:hover { background: rgba(13,30,61,.06) }
.nav-link-btn.active { color: var(--orange) }

.chev { transition: transform .2s ease; opacity: .65 }
.nav-dropdown.open .chev { transform: rotate(180deg) }

.dropdown-panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  animation: dropIn .18s ease;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px) }
  to   { opacity: 1; transform: translateY(0) }
}
.nav-dropdown.open .dropdown-panel { display: block }

.dropdown-panel a {
  display: block;
  padding: 9px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 700;
  color: var(--navy);
  transition: background .12s ease, color .12s ease;
}
.dropdown-panel a:hover { background: rgba(13,30,61,.06); color: var(--navy) }
.dropdown-panel a.active { color: var(--orange) }

/* Advisory + Academy nested group */
.dd-item-label {
  display: block;
  padding: 9px 12px 4px;
  font-size: 13px; font-weight: 900;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted);
  cursor: default;
}
.dd-sub-link {
  padding: 8px 12px 8px 22px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--muted) !important;
  display: flex !important;
  align-items: center;
  gap: 7px;
}
.dd-sub-link::before {
  content: '';
  display: block;
  width: 12px; height: 1px;
  background: var(--muted-light);
  flex-shrink: 0;
}
.dd-sub-link:hover {
  background: rgba(13,30,61,.06) !important;
  color: var(--navy) !important;
}
.dd-sub-link:hover::before { background: var(--navy) }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px) }
.btn:active { transform: translateY(0) }

/* Primary = deep navy */
.btn-primary {
  background: var(--btn);
  color: #fff;
  box-shadow: 0 6px 20px var(--btn-shadow);
}
.btn-primary:hover {
  background: var(--btn-hover);
  box-shadow: 0 10px 30px var(--btn-shadow);
}

/* Ghost on dark backgrounds */
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.40);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.65) }

/* Ghost on light backgrounds */
.btn-ghost-dark {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--navy);
}
.btn-ghost-dark:hover { background: var(--bg2); border-color: var(--navy) }

/* ClauseLens CTA — keeps the product's own feel */
.btn-clauselens {
  background: linear-gradient(135deg, #6c4de6, #4f3abf);
  color: #fff;
  box-shadow: 0 6px 24px rgba(108,77,230,.35);
}
.btn-clauselens:hover {
  background: linear-gradient(135deg, #7c5df6, #5f4acf);
  box-shadow: 0 10px 32px rgba(108,77,230,.45);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 54vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(13,30,61,.85) 0%, rgba(13,30,61,.55) 45%, rgba(13,30,61,.20) 100%),
    radial-gradient(ellipse 800px 600px at 8% 30%, rgba(46,49,146,.40), transparent 60%),
    radial-gradient(ellipse 700px 500px at 85% 75%, rgba(232,92,51,.18), transparent 60%);
  background-color: var(--navy);
}
.hero-bg-img {
  position: absolute; inset: 0;
  background: url('../images/home-hero.jpg') center/cover no-repeat;
  opacity: .40;
  transform: scale(1.04);
}
.hero-inner { position: relative; padding: 72px 0 64px }
.hero-copy { max-width: 680px; color: #fff }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.20);
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.dark { color: var(--muted); border-color: var(--border) }

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900; line-height: 1.10; letter-spacing: -.025em;
}
.hero h1 em { font-style: normal; color: var(--orange) }

.lead {
  font-size: 17px; font-weight: 500;
  color: rgba(255,255,255,.82);
  max-width: 58ch; line-height: 1.7; margin: 0 0 28px;
}
.lead.dark { color: var(--muted) }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px }

.hero-badges { display: flex; gap: 10px; flex-wrap: wrap }
.badge {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.88);
  padding: 7px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
}

/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding: 80px 0 }
.section-muted { background: var(--bg2) }
.section-dark { background: var(--navy); color: #fff }

.section-head { margin-bottom: 44px }
.section-head .overline {
  display: block; font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 900; letter-spacing: -.025em; line-height: 1.15;
  color: var(--navy);
}
.section-dark .section-head h2 { color: #fff }
.section-head p { margin: 0; color: var(--muted); font-size: 16px; max-width: 68ch; font-weight: 500 }

/* ================================================================
   ABOUT SPLIT
   ================================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center }
.split-media-wrap { position: relative }
.split-media-wrap::before {
  content: '';
  position: absolute; inset: -12px -12px 12px 12px;
  background: linear-gradient(135deg, rgba(46,49,146,.10), rgba(232,92,51,.08));
  border-radius: 22px; z-index: 0;
}
.split-media-wrap img {
  position: relative; z-index: 1;
  width: 100%; height: 420px;
  object-fit: cover; border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.split-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 900; letter-spacing: -.025em; line-height: 1.15; color: var(--navy);
}
.split-copy p { margin: 0 0 14px; color: var(--muted); font-size: 16px; font-weight: 500 }

.stats { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px }
.stat {
  flex: 1; min-width: 140px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}
.stat-num { font-weight: 900; font-size: 22px; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 4px }
.stat-label { color: var(--muted); font-weight: 600; font-size: 13px }

/* ================================================================
   SERVICE CARDS
   ================================================================ */
.cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px }
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-left-color .18s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--navy);
}
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(13,30,61,.08), rgba(46,49,146,.08));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--navy) }
.card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; font-weight: 500; flex: 1 }
.card-link {
  color: var(--navy); font-weight: 800; font-size: 13px;
  display: flex; align-items: center; gap: 4px;
  transition: gap .15s ease;
}
.card:hover .card-link { gap: 8px }

/* ================================================================
   PANELS
   ================================================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px }
.panel {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.panel h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; color: var(--navy) }
.panel p { margin: 0 0 12px; color: var(--muted); font-weight: 500 }

/* ================================================================
   LOGO / CERT TILES
   ================================================================ */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 12px; align-items: center }
.logo-tile {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); height: 180px;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  transition: box-shadow .15s ease;
}
.logo-tile:hover { box-shadow: var(--shadow) }
.logo-tile img { height: 100px; width: auto; object-fit: contain }

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
  padding: 64px 0 48px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3260 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 5% 50%, rgba(46,49,146,.35), transparent 60%),
    radial-gradient(ellipse 500px 400px at 95% 20%, rgba(232,92,51,.14), transparent 60%);
}
.page-hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 48px; align-items: center;
}
.page-hero-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900; letter-spacing: -.025em; line-height: 1.12; color: #fff;
}
.page-hero-copy .lead { color: rgba(255,255,255,.80); margin-bottom: 24px }
.page-hero-media {
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.page-hero-media img { width: 100%; height: 320px; object-fit: cover; display: block }

/* ================================================================
   OUTCOMES PILLS
   ================================================================ */
.outcomes { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px }
.outcomes span {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  font-weight: 700; font-size: 12px; color: rgba(255,255,255,.90);
  letter-spacing: .02em;
}
.outcomes.dark span {
  background: rgba(13,30,61,.06);
  border-color: var(--border);
  color: var(--navy);
}

/* ================================================================
   BULLETS
   ================================================================ */
.bullets { margin: 0; padding-left: 0; list-style: none }
.bullets li {
  margin: 10px 0; color: var(--muted); font-weight: 500; font-size: 15px;
  display: flex; gap: 10px; align-items: flex-start;
}
.bullets li::before { content: '→'; color: var(--navy); font-weight: 900; flex-shrink: 0; margin-top: 1px }
.bullets li strong { color: var(--ink); font-weight: 800 }

/* ================================================================
   CONTACT
   ================================================================ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px }
.contact-item {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
}
.contact-label { font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px }
.contact-value { color: var(--ink); font-weight: 600; font-size: 15px }
.contact-value a { color: var(--navy); font-weight: 700 }
.contact-value a:hover { text-decoration: underline }

.contact-form {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-lg); display: grid; gap: 16px;
}
.contact-form label { display: grid; gap: 6px; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted) }
input, textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 500;
  color: var(--ink); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,30,61,.10);
}

/* ================================================================
   FOOTER — Apptio style (white, 4-col)
   ================================================================ */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 32px; border-bottom: 1px solid var(--border);
  margin-bottom: 40px; gap: 20px; flex-wrap: wrap;
}
.footer-logo { height: 40px; width: auto }
.footer-social { display: flex; gap: 12px; align-items: center }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 15px;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.footer-social a:hover { background: var(--navy); border-color: var(--navy); color: #fff }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px; padding-bottom: 40px;
}
.footer-brand-text { font-weight: 900; font-size: 15px; color: var(--navy); margin-bottom: 10px }
.footer-desc { color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.65; margin: 0 }
.footer-col-title {
  font-size: 13px; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px }
.footer-links a { color: var(--muted); font-weight: 600; font-size: 14px; transition: color .12s ease }
.footer-links a:hover { color: var(--navy) }
.footer-contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px }
.footer-contacts li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; font-weight: 500 }
.fc-ic { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; font-size: 14px }
.footer-contacts a { color: var(--navy); font-weight: 700 }
.footer-contacts a:hover { color: var(--navy); text-decoration: underline }

.footer-bottom {
  border-top: 1px solid var(--border); padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px; font-weight: 500;
}
.footer-bottom-links { display: flex; gap: 20px }
.footer-bottom-links a { color: var(--muted); font-weight: 600; transition: color .12s ease }
.footer-bottom-links a:hover { color: var(--navy) }

/* ================================================================
   CLAUSELENS PAGE STYLES
   ================================================================ */
.cl-hero {
  background: #0f0f1a;
  padding: 80px 0 72px;
  position: relative; overflow: hidden;
}
.cl-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 10% 50%, rgba(108,77,230,.22), transparent 60%),
    radial-gradient(ellipse 600px 500px at 90% 20%, rgba(79,58,191,.18), transparent 60%);
}
.cl-hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center }
.cl-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,77,230,.18); border: 1px solid rgba(108,77,230,.35);
  padding: 5px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #a78bfa; margin-bottom: 20px;
}
.cl-hero h1 {
  font-size: clamp(32px, 4vw, 52px); font-weight: 900;
  letter-spacing: -.025em; line-height: 1.10;
  color: #fff; margin: 0 0 10px;
}
.cl-hero h1 span { color: #a78bfa }
.cl-tagline {
  font-size: 18px; font-weight: 500; color: rgba(255,255,255,.65);
  margin: 0 0 28px; line-height: 1.6;
}
.cl-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px }
.cl-pills { display: flex; flex-wrap: wrap; gap: 8px }
.cl-pill {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.75);
}
.cl-screenshot {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 32px 80px rgba(0,0,0,.50);
}
.cl-screenshot img { width: 100%; display: block }

/* ClauseLens features grid */
.cl-features {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.cl-feature {
  background: #fff; border: 1px solid var(--border);
  border-top: 3px solid #6c4de6;
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.cl-feature-icon { font-size: 28px; margin-bottom: 14px }
.cl-feature h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin: 0 0 8px }
.cl-feature p { font-size: 14px; color: var(--muted); font-weight: 500; margin: 0 }

/* Privacy pillars */
.cl-privacy {
  background: #0f0f1a; padding: 72px 0;
}
.cl-privacy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px }
.cl-pillar {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 24px;
}
.cl-pillar-icon { font-size: 24px; margin-bottom: 12px }
.cl-pillar h4 { font-size: 15px; font-weight: 800; color: #fff; margin: 0 0 6px }
.cl-pillar p { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.55); margin: 0; line-height: 1.6 }

/* Who it's for */
.cl-audience { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px }
.cl-audience-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.cl-audience-card h4 { font-size: 15px; font-weight: 800; color: var(--navy); margin: 0 0 8px }
.cl-audience-card p { font-size: 14px; color: var(--muted); font-weight: 500; margin: 0 }

/* Screenshots gallery */
.cl-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px }
.cl-gallery-item { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow) }
.cl-gallery-item img { width: 100%; display: block }
.cl-gallery-item-wide { grid-column: 1 / -1 }
.cl-gallery-caption { font-size: 13px; font-weight: 600; color: var(--muted); padding: 12px 16px; background: var(--bg2); border-top: 1px solid var(--border) }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px }
  .cl-features { grid-template-columns: repeat(2,1fr) }
  .cl-privacy-grid { grid-template-columns: repeat(2,1fr) }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px }
  .cards { grid-template-columns: 1fr }
  .cards-3 { grid-template-columns: 1fr 1fr }
  .two-col { grid-template-columns: 1fr }
  .page-hero-grid { grid-template-columns: 1fr }
  .contact { grid-template-columns: 1fr }
  .cl-hero-inner { grid-template-columns: 1fr }
  .cl-screenshot { display: none }
  .cl-audience { grid-template-columns: 1fr }
  .cl-gallery { grid-template-columns: 1fr }
  .cl-gallery-item-wide { grid-column: auto }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex }
  .nav {
    position: absolute; right: 4%; top: calc(var(--nav-h) + 4px);
    background: #fff; border: 1px solid var(--border);
    border-radius: 16px; box-shadow: var(--shadow-lg);
    padding: 10px; display: none;
    flex-direction: column; align-items: stretch;
    width: min(360px, 92vw);
    margin-left: 0;
  }
  body.nav-open .nav { display: flex }
  .nav-cta { margin-left: 0; text-align: center; border-radius: 10px }
  .dropdown-panel { position: static; border-radius: 10px; box-shadow: none; border: 0; background: var(--bg2); right: auto }
  .nav-dropdown.open .dropdown-panel { display: block }
  .hero-inner { padding: 52px 0 44px }
  .cards { grid-template-columns: 1fr }
  .cards-3 { grid-template-columns: 1fr }
  .cl-features { grid-template-columns: 1fr }
  .cl-privacy-grid { grid-template-columns: 1fr }
  .footer-grid { grid-template-columns: 1fr }
  .footer-top { flex-direction: column; align-items: flex-start }
  .contact-grid { grid-template-columns: 1fr }
  .section { padding: 56px 0 }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px) }
  to   { opacity: 1; transform: translateY(0) }
}
.hero-copy > * { animation: fadeUp .55s ease both }
.hero-copy > *:nth-child(1) { animation-delay: .05s }
.hero-copy > *:nth-child(2) { animation-delay: .12s }
.hero-copy > *:nth-child(3) { animation-delay: .19s }
.hero-copy > *:nth-child(4) { animation-delay: .26s }
.hero-copy > *:nth-child(5) { animation-delay: .33s }

/* Cert rotator */
#cert-rotator { transition: opacity 250ms ease }
