/* ── Self-hosted Raleway (eliminates Google Fonts CDN dependency) ─── */
/* Separate 400/700 blocks mirror Google Fonts' own CSS — Safari requires
   discrete weight values rather than a range for correct variable-font axis mapping. */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/raleway-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/raleway-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/raleway-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/raleway-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', Arial, sans-serif;
  background: #fff;
  color: #194F72;
  overflow-x: hidden;
}

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --ocean:      #194F72;
  --ocean-dk:   #0F3349;
  /* Brand Silver. Fills, dividers, and dots only — as TEXT it is 2.49:1 on white
     and fails WCAG AA. Use --silver-text / --silver-hd for anything readable. */
  --silver:     #A4A4A4;
  --silver-text: #6B6B6B;  /* muted body text — 5.33:1 on white, 4.63:1 on --silver-bg */
  --silver-hd:   #7A7A7A;  /* silver accent, LARGE headings only — 3.73:1 on --silver-bg (the
                              hero's actual background; measuring it against white overstates it) */
  --field-border: #828282; /* form control boundary — 3.46:1 vs the #F3F3F3 fill, 3.84:1 vs white.
                              WCAG 1.4.11 needs 3:1; a transparent border gave 1.11:1. */
  --silver-bg:  #EFEFEF;
  --card-bg:    #F3F3F3;
}

/* ── Section pill label (Revenuee-style) ─────────────────── */
.pill-label {
  display: inline-block;
  border: 1.5px solid #6B6B6B;
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6B6B6B;
  margin-bottom: 18px;
}
.pill-label.on-dark {
  border-color: rgba(255,255,255,0.70);
  color: rgba(255,255,255,0.70);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-solid {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ocean); color: #fff;
  padding: 14px 30px; border-radius: 50px;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 700; font-size: 14px; border: none;
  cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-solid:hover { background: var(--ocean-dk); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ocean);
  padding: 13px 30px; border-radius: 50px;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 700; font-size: 14px;
  border: 2px solid var(--ocean);
  cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
}
.btn-outline:hover { background: var(--ocean); color: #fff; transform: translateY(-2px); }

/* ── Navbar (Revenuee floating pill) ─────────────────────── */
#nav {
  position: fixed; top: 20px;
  left: 50%; transform: translateX(-50%);
  width: calc(100% - 48px); max-width: 1160px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 60px;
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 9999;
  box-shadow: 0 2px 24px rgba(25,79,114,0.10);
  transition: box-shadow .3s;
}
#nav.scrolled { box-shadow: 0 4px 36px rgba(25,79,114,0.16); }

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo svg { height: 28px; width: auto; display: block; }

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  text-decoration: underline; color: var(--ocean);
  text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: rgba(25,79,114,0.30);
  font-weight: 600; font-size: 14px;
  position: relative; transition: opacity .2s, text-decoration-color .2s;
}
.nav-links a:hover { text-decoration-color: var(--ocean); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--silver); border-radius: 2px;
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--ocean); color: #fff;
  padding: 10px 22px; border-radius: 50px;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 700; font-size: 13px; text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: var(--ocean-dk); }

/* hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ocean); border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.nav-drawer {
  display: none; position: fixed;
  top: 80px; left: 24px; right: 24px;
  background: rgba(255,255,255,0.98);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(25,79,114,0.14);
  padding: 24px 28px; z-index: 9998;
  flex-direction: column; gap: 4px;
  /* The drawer is `fixed`, so without a bound it overflows the viewport and its lower links
     become unreachable — at the 320x256 reflow target (WCAG 1.4.10, 400% zoom) the last three
     were off-screen and would not scroll. dvh second, so it wins where supported. */
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  text-decoration: none; color: var(--ocean);
  font-weight: 600; font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #F0F0F0;
}
.nav-drawer a:last-child { border-bottom: none; }

/* ── Shared layout ───────────────────────────────────────── */
.wrap { max-width: 1160px; margin: 0 auto; }
.section-hd { text-align: center; margin-bottom: 64px; }
.section-hd.left { text-align: left; }
.section-h2 {
  font-size: clamp(30px, 4vw, 50px); font-weight: 700;
  color: var(--ocean); line-height: 1.1;
  letter-spacing: -0.5px; margin-bottom: 14px;
}
.section-h2.on-dark { color: #fff; }
.section-sub {
  font-size: 16px; color: #6B6B6B;
  max-width: 540px; margin: 0 auto; line-height: 1.7;
}
.section-sub.left { margin: 0; }
.section-sub.on-dark { color: rgba(255,255,255,0.70); }

/* ── Hero ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; background: var(--silver-bg);
  display: flex; align-items: center;
  padding: 140px 24px 80px; position: relative; overflow: hidden;
}
.hero-wm {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  width: 52vw; max-width: 620px; opacity: 0.055; pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid #C8C8C8; border-radius: 20px;
  padding: 6px 14px 6px 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  color: #6B6B6B; margin-bottom: 26px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ocean); flex-shrink: 0;
}
.hero-h1 {
  font-size: clamp(40px, 5.5vw, 72px); font-weight: 700;
  color: var(--ocean); line-height: 1.05;
  letter-spacing: -1.5px; margin-bottom: 22px;
}
.hero-h1 span { color: var(--silver-hd); }
.hero-p {
  font-size: 17px; color: #6B6B6B; line-height: 1.7;
  max-width: 460px; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* hero card */
.hero-card {
  background: #fff; border-radius: 24px; padding: 32px;
  box-shadow: 0 14px 56px rgba(25,79,114,0.11);
  position: relative; z-index: 1;
}
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px;
}
.hero-stat {
  background: var(--silver-bg); border-radius: 16px; padding: 18px 14px; text-align: center;
}
.hero-stat-n { font-size: 30px; font-weight: 700; color: var(--ocean); line-height: 1; margin-bottom: 5px; }
.hero-stat-l { font-size: 10px; font-weight: 600; color: #6B6B6B; letter-spacing: 0.5px; text-transform: uppercase; }
.hero-icon-row { display: flex; gap: 10px; margin-bottom: 16px; }
.h-tile {
  flex: 1; border-radius: 14px; padding: 14px 0;
  display: flex; align-items: center; justify-content: center;
}
.h-tile svg { width: 28px; height: 28px; display: block; }
.h-tile-ocean  { background: var(--ocean); }
.h-tile-silver { background: var(--silver); }
.h-tile-light  { background: var(--silver-bg); }
.hero-card-foot {
  text-align: center; font-size: 10px; font-weight: 600;
  color: #6B6B6B; letter-spacing: 1.2px; text-transform: uppercase;
}

/* ── Trust bar ───────────────────────────────────────────── */
#trust {
  background: #fff; padding: 26px 24px;
  border-top: 1px solid #EBEBEB; border-bottom: 1px solid #EBEBEB;
}
/* No overflow:hidden — it silently clipped the longest label (e.g. "MITRE ATT&CK") at 375px. Let it wrap. */
.trust-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-lbl { font-size: 10px; font-weight: 700; color: #6B6B6B; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }
.trust-sep { width: 1px; height: 22px; background: #E8E8E8; flex-shrink: 0; }
.trust-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-logos span { font-size: 13px; font-weight: 700; color: #6B6B6B; white-space: nowrap; }

/* ── Services ────────────────────────────────────────────── */
#services { background: #fff; padding: 100px 24px; }
.svc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.svc-card {
  background: var(--card-bg); border-radius: 22px; padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 18px 48px rgba(25,79,114,0.10); }
.svc-card::after {
  content: ''; position: absolute; bottom: -24px; right: -24px;
  width: 96px; height: 96px; border-radius: 50%;
  background: rgba(25,79,114,0.05);
}
.svc-icon {
  width: 56px; height: 56px; background: #fff; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(25,79,114,0.07);
}
.svc-icon svg { width: 28px; height: 28px; display: block; }
.svc-title { font-size: 20px; font-weight: 700; color: var(--ocean); margin-bottom: 10px; }
.svc-desc  { font-size: 14px; color: #6B6B6B; line-height: 1.7; }

/* ── Process ─────────────────────────────────────────────── */
#process {
  background: var(--silver-bg); padding: 100px 24px;
  position: relative; overflow: hidden;
}
.process-wm {
  position: absolute; left: -5%; bottom: -10%;
  width: 50vw; max-width: 580px; opacity: 0.055; pointer-events: none;
}
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.process-cards { display: flex; flex-direction: column; gap: 16px; }
.p-card {
  background: #fff; border-radius: 18px; padding: 24px 24px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: transform .2s, box-shadow .2s;
}
.p-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(25,79,114,0.08); }
.p-num {
  flex-shrink: 0; width: 38px; height: 38px;
  background: var(--ocean); color: #fff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.p-title { font-size: 15px; font-weight: 700; color: var(--ocean); margin-bottom: 5px; }
.p-text  { font-size: 13px; color: #6B6B6B; line-height: 1.65; }

/* ── Stats ───────────────────────────────────────────────── */
#stats { background: #fff; padding: 100px 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stat-card {
  background: var(--card-bg); border-radius: 22px; padding: 36px 28px; text-align: center;
  transition: transform .2s;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-n {
  display: inline-block; font-size: 44px; font-weight: 700; color: var(--ocean);
  background: #fff; border-radius: 14px; padding: 8px 20px;
  margin-bottom: 16px; line-height: 1;
}
.stat-t { font-size: 15px; font-weight: 700; color: var(--ocean); margin-bottom: 8px; }
.stat-d { font-size: 13px; color: #6B6B6B; line-height: 1.6; }

/* ── Why ─────────────────────────────────────────────────── */
#why {
  background: var(--ocean); padding: 100px 24px;
  position: relative; overflow: hidden;
}
.why-wm {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  width: 50vw; max-width: 580px; opacity: 0.07; pointer-events: none;
  z-index: 0;
}
#why .wrap { position: relative; z-index: 1; }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 64px; }
.why-item { text-align: center; }
.why-icon {
  width: 68px; height: 68px;
  background: rgba(255,255,255,0.10); border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; transition: background .2s;
}
.why-item:hover .why-icon { background: rgba(255,255,255,0.18); }
.why-icon svg { width: 32px; height: 32px; display: block; }
.why-t { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.why-d { font-size: 13px; color: rgba(255,255,255,0.80); line-height: 1.7; }

/* ── FAQ ─────────────────────────────────────────────────── */
#faq { background: #fff; padding: 100px 24px; }
.faq-list { max-width: 780px; margin: 64px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--ocean); border-radius: 16px; overflow: hidden; }
/* A real <button>: native Enter/Space, focus, and role — no ARIA or keydown shim needed.
   These first two lines are the button reset; keep them if you restyle. */
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  font-family: 'Raleway', Arial, sans-serif;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; color: #fff; font-size: 15px; font-weight: 700;
  user-select: none; gap: 16px;
}
.faq-icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 300; line-height: 1;
  transition: transform .3s, background .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(255,255,255,0.24); }
/* Animating grid-template-rows 0fr->1fr has NO height ceiling. A max-height cap does:
   a prior 500px cap silently clipped the longest answer on narrow phones, which wrap
   taller than any fixed cap, with no scrollbar. Never reintroduce a fixed cap.
   visibility pairs with the collapse so hidden answers leave the accessibility tree,
   which aria-expanded already claims; its .35s delay must outlast the row transition. */
.faq-a {
  display: grid; grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .35s ease, visibility 0s linear .35s;
}
/* padding-bottom must be 0 while closed. A 0fr track zeroes the CONTENT height, but padding
   still occupies the item's box — leaving every collapsed answer 22px tall (154px of dead
   space across the seven questions). Animate it open alongside the row. */
.faq-a-inner {
  min-height: 0; overflow: hidden;
  padding: 0 24px; font-size: 14px; color: rgba(255,255,255,0.70); line-height: 1.75;
  transition: padding-bottom .35s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s ease, visibility 0s; }
.faq-item.open .faq-a-inner { padding-bottom: 22px; }

/* ── Contact ─────────────────────────────────────────────── */
#contact { background: var(--silver-bg); padding: 100px 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-h { font-size: clamp(28px,3.5vw,44px); font-weight: 700; color: var(--ocean); line-height: 1.15; letter-spacing: -.5px; margin-bottom: 16px; }
.contact-sub { font-size: 15px; color: #6B6B6B; line-height: 1.7; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ocean); }
.c-dot { width: 8px; height: 8px; background: var(--silver); border-radius: 50%; flex-shrink: 0; }
.form-card { background: #fff; border-radius: 24px; padding: 40px; box-shadow: 0 4px 36px rgba(25,79,114,0.07); }
.fg { margin-bottom: 18px; }
.fg label { display: block; font-size: 10px; font-weight: 700; color: var(--ocean); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.fg-optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--silver-text); }
/* Shown only when scripting is off, where the form cannot work (see the CSP note in index.html) */
.noscript-note {
  background: #fff8e1; border: 1.5px solid #f9a825; border-radius: 10px;
  padding: 14px 18px; margin-bottom: 20px;
  font-size: 13px; font-weight: 600; color: #7a5700; line-height: 1.6;
}
.fg input,
.fg textarea,
.fg select {
  width: 100%; background: #F3F3F3; border: 2px solid var(--field-border); border-radius: 12px;
  padding: 13px 16px; font-family: 'Raleway', Arial, sans-serif;
  font-size: 14px; color: var(--ocean); outline: none;
  transition: border-color .2s, background .2s; resize: none;
  -webkit-appearance: none; appearance: none;
}
/* #767676 is only 4.09:1 against the #F3F3F3 input fill — must be measured against the
   field background, not the page background. --silver-text gives 4.80:1. */
.fg input::placeholder, .fg textarea::placeholder { color: var(--silver-text); }
/* appearance:none strips the native dropdown arrow, leaving selects looking like text
   inputs. Restore an affordance with a data: URI chevron (permitted by img-src 'self' data:). */
.fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23194F72' d='M1.4 1.4 6 6l4.6-4.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 40px;
}
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--ocean); background: #fff; }
.fg textarea { height: 110px; }
.btn-full { width: 100%; margin-top: 4px; }

/* ── Form validation feedback ─────────────────────────────── */
.form-error {
  color: #c0392b; font-size: 12px; font-weight: 600;
  margin-top: 5px; line-height: 1.4;
}
#form-success {
  margin-top: 16px; padding: 14px 18px;
  background: #eaf7f0; border: 1.5px solid #2ecc71;
  border-radius: 10px; font-size: 14px; font-weight: 600;
  color: #1a7a4a; text-align: center;
}
#form-success[hidden] { display: none; }

/* ── Footer ──────────────────────────────────────────────── */
footer { background: var(--ocean); color: #fff; padding: 64px 24px 36px; }
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10); margin-bottom: 32px;
}
.footer-logo { margin-bottom: 14px; }
.footer-logo svg { height: 28px; width: auto; display: block; }
.footer-tag { font-size: 13px; color: rgba(255,255,255,0.70); line-height: 1.65; max-width: 240px; margin-bottom: 20px; }
.footer-silver-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(164,164,164,0.15); border: 1px solid rgba(164,164,164,0.30);
  border-radius: 20px; padding: 5px 12px;
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.85); letter-spacing: 0.5px;
}
.footer-col-h { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.70); margin-bottom: 16px; }
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { text-decoration: none; color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 500; transition: color .2s; }
.footer-col-links a:hover { color: #fff; }
.footer-bot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.65); flex-wrap: wrap; gap: 12px; }
.footer-bot a { color: rgba(255,255,255,0.70); text-decoration: none; }
.footer-bot a:hover { color: rgba(255,255,255,0.75); }

/* ── Scroll-in animations ─────────────────────────────────── */
[data-fi] { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
[data-fi].vis { opacity: 1; transform: none; }
/* Several [data-fi] containers wrap links and buttons. Tabbing can reach those descendants
   before the observer reveals the section, leaving the element AND its focus ring invisible.
   :focus-within is the escape hatch — reveal instantly, with no delay, on keyboard entry. */
[data-fi]:focus-within { opacity: 1; transform: none; transition: none; transition-delay: 0s; }
[data-fi][data-d="1"] { transition-delay: .10s; }
[data-fi][data-d="2"] { transition-delay: .20s; }
[data-fi][data-d="3"] { transition-delay: .30s; }
[data-fi][data-d="4"] { transition-delay: .40s; }

/* ── Focus visibility on dark surfaces ──────────────────── *
 * The browser default focus ring (#005FCC in Chrome) is only 1.46:1 against Ocean — all but
 * invisible on the FAQ cards and in the footer. Draw a white ring instead. .faq-item has
 * overflow:hidden, which would CLIP an outward ring, so .faq-q's is inset via a negative
 * offset. forced-colors gets a system-coloured ring, which the OS guarantees is visible.
 * ──────────────────────────────────────────────────────────── */
/* The ring colour must contrast with the surface UNDER it, so it differs per surface:
   white on the Ocean FAQ cards and Ocean footer, but Ocean on the near-white drawer.
   (`footer` is a bare element — there is no .footer class to hook.) */
.faq-q:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;   /* inset: .faq-item has overflow:hidden and clips an outward ring */
}
footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 2px;
}
.nav-drawer a:focus-visible {
  outline: 2px solid var(--ocean);   /* drawer is rgba(255,255,255,0.98) — white would vanish */
  outline-offset: 2px;
  border-radius: 2px;
}
@media (forced-colors: active) {
  .faq-q:focus-visible,
  footer a:focus-visible,
  .nav-drawer a:focus-visible { outline: 3px solid Highlight; }
}

/* ── Skip navigation link ───────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--ocean); color: #fff;
  padding: 10px 18px; border-radius: 0 0 10px 10px;
  font-size: 14px; font-weight: 700;
  z-index: 10000; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Forced colors (Windows High Contrast) ──────────────── *
 * In forced-colors mode the OS overrides background/color. Two things break:
 *  1. .hamburger span bars are painted with `background`, which is forced to Canvas —
 *     the bars become invisible against the Canvas nav, so the menu button disappears.
 *     border-top paints with a *border* colour, which forced-colors preserves.
 *  2. .fg select has appearance:none, so there is no system arrow, and our data: URI
 *     chevron keeps its fixed Ocean fill (2.4:1 on black). Hand the select back to the OS.
 * ──────────────────────────────────────────────────────────── */
@media (forced-colors: active) {
  .hamburger span {
    background: none;
    border-top: 2px solid CanvasText;
    height: 0;
  }
  .fg select {
    -webkit-appearance: auto; appearance: auto;
    background-image: none;
    padding-right: 16px;
  }
  /* Reveal animations rely on opacity; keep content visible if the observer never fires. */
  [data-fi] { opacity: 1; transform: none; }
}

/* ── Minimum touch targets ──────────────────────────────── */
.hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.faq-icon  { width: 44px; height: 44px; font-size: 22px; }

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-fi] { opacity: 1; transform: none; transition: none; }
}

/* ── Pricing ─────────────────────────────────────────────── */
#pricing { background: var(--silver-bg); padding: 100px 24px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pricing-card {
  background: #fff; border-radius: 22px; padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 18px 48px rgba(25,79,114,0.10); }
.pricing-subtitle { font-size: 12px; font-weight: 600; color: #6B6B6B; letter-spacing: 0.3px; margin-bottom: 20px; }
.pricing-card .svc-title { margin-bottom: 10px; }
.pricing-card .svc-desc { flex-grow: 1; margin-bottom: 28px; }
.pricing-card .btn-solid { display: block; text-align: center; }

/* ── Approach ────────────────────────────────────────────── */
#approach { background: #fff; padding: 100px 24px; position: relative; overflow: hidden; }
.approach-wm {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  width: 50vw; max-width: 580px; opacity: 0.06; pointer-events: none; z-index: 0;
}
#approach .wrap { position: relative; z-index: 1; }
.approach-cred {
  font-size: 15px; color: #6B6B6B; line-height: 1.75;
  max-width: 780px; margin: 0 auto 64px; text-align: center;
}
.approach-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.approach-item { text-align: center; }
.approach-icon {
  width: 56px; height: 56px; background: var(--ocean); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; transition: background .2s;
}
.approach-item:hover .approach-icon { background: #2a6591; }
.approach-icon svg { width: 28px; height: 28px; display: block; }
.approach-t { font-size: 14px; font-weight: 700; color: var(--ocean); margin-bottom: 6px; }
.approach-d { font-size: 12px; color: #6B6B6B; line-height: 1.65; }

/* ── Sample links ────────────────────────────────────────── */
.svc-sample-link { color: var(--ocean); text-decoration: underline; font-weight: 600; }
.svc-sample-link:hover { color: var(--silver-text); }
.contact-schedule-link { text-align: center; margin-top: 16px; font-size: 13px; color: var(--silver-text); }

/* ── Legal pages (privacy.html, terms.html) ──────────────── */
.legal-wrap { max-width: 740px; margin: 0 auto; padding: 120px 24px 80px; }
.legal-wrap h1 { font-size: clamp(28px,4vw,44px); font-weight: 700; color: var(--ocean); margin-bottom: 8px; }
.legal-wrap .meta { font-size: 13px; color: #6B6B6B; margin-bottom: 48px; }
.legal-wrap h2 { font-size: 18px; font-weight: 700; color: var(--ocean); margin: 36px 0 10px; }
.legal-wrap p, .legal-wrap li { font-size: 15px; color: #6B6B6B; line-height: 1.75; margin-bottom: 12px; }
.legal-wrap ul { padding-left: 20px; margin-bottom: 12px; }
.legal-wrap p a, .legal-wrap li a { color: var(--ocean); }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ocean); text-decoration: none; margin-bottom: 40px; }
.back-link:hover { text-decoration: underline; }
/* Amber is deliberately off-palette: a functional warning on placeholder legal copy.
   Delete .draft-notice (and its divs in privacy/terms) once counsel-reviewed text lands. */
.draft-notice { background: #fff8e1; border: 1.5px solid #f9a825; border-radius: 10px; padding: 14px 18px; font-size: 13px; color: #7a5700; margin-bottom: 36px; font-weight: 600; }

/* ── Responsive ──────────────────────────────────────────── */
/* Nav switches to the drawer at 820px, EARLIER than the 680px content breakpoint: between
   ~820px and 680px the logo, links, and CTA collide with almost no gap and the bar grows to
   ~85px tall. script.js uses the IDENTICAL query — if you change 820 here, change it there. */
@media (max-width: 820px) {
  #nav { width: calc(100% - 32px); padding: 12px 20px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 960px) {
  .hero-grid     { grid-template-columns: 1fr; }
  .hero-card     { display: none; }
  .process-grid  { grid-template-columns: 1fr; gap: 48px; }
  .why-grid      { grid-template-columns: repeat(2,1fr); }
  .approach-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hero-h1 { letter-spacing: -0.5px; }
  .svc-grid   { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr 1fr; }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bot { flex-direction: column; text-align: center; }
}
