/* ============================================================
   Dependable IT Services — Assessment Landing Page
   Design tokens + styles
   Font: Plus Jakarta Sans
   ============================================================ */

:root {
  /* Brand */
  --navy:        #0B1F3A;
  --navy-bg:     #20497C;   /* lighter navy for dark section backgrounds */
  --navy-700:    #122a4d;
  --navy-600:    #16335c;
  --navy-glow:   #2a548c;
  --slate:       #1F2937;
  --slate-600:   #475569;
  --slate-500:   #64748B;
  --slate-400:   #94A3B8;
  --bg:          #F5F7FA;
  --bg-soft:     #EDF1F8;
  --white:       #FFFFFF;
  --border:      #E3E8F0;
  --border-strong:#D2DAE6;

  /* Accents */
  --orange:      #B01E1C;   /* brand red (from logo) */
  --orange-600:  #8E1715;
  --orange-50:   #FBEAEA;
  --brand:       #B01E1C;
  --brand-600:   #8E1715;
  --brand-50:    #FBEAEA;
  --blue:        #1E5EFF;
  --blue-600:    #1648D6;
  --blue-50:     #EAF0FF;
  --green:       #1FA971;
  --green-50:    #E6F6EF;

  /* Risk scale */
  --risk-strong: #1FA971;
  --risk-moderate:#1E5EFF;
  --risk-attention:#E8920C;
  --risk-high:   #E1483B;

  /* Type */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', 'JetBrains Mono', Menlo, Consolas, monospace;

  /* Radius + shadow */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(11,31,58,.06), 0 1px 3px rgba(11,31,58,.05);
  --shadow-md: 0 4px 16px rgba(11,31,58,.07), 0 2px 6px rgba(11,31,58,.05);
  --shadow-lg: 0 18px 48px rgba(11,31,58,.14), 0 6px 16px rgba(11,31,58,.08);
  --shadow-orange: 0 8px 22px rgba(176,30,28,.30);

  --container: 1200px;
  --ease: cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; color: var(--navy); font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Section rhythm ---------- */
.section { padding: 92px 0; }
.section--tight { padding: 72px 0; }
.section--navy { background: var(--navy-bg); color: #DCE6F5; position: relative; overflow: hidden; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--soft { background: var(--bg); }
.section--bgsoft { background: var(--bg-soft); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-50);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 18px;
}
.section--navy .eyebrow { color: #FFB1A9; background: rgba(176,30,28,.20); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
h2.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.section-sub { margin-top: 18px; font-size: 18px; color: var(--slate-600); line-height: 1.6; }

/* Justified body copy (with hyphenation so lines stay even, no rivers) */
.pain-copy .section-sub,
.trust-grid .section-sub,
.privacy-wrap .section-sub,
.hero-sub,
.as-prose p {
  text-align: justify;
  -webkit-hyphens: auto;
          hyphens: auto;
  text-wrap: pretty;
}
.section--navy .section-sub, .assess-section .section-sub { color: #AFC2DE; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: 16.5px;
  border: none; border-radius: 12px; cursor: pointer;
  padding: 16px 26px; min-height: 54px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  white-space: nowrap; text-align: center;
}
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(176,30,28,.42); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--border-strong); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--navy); background: rgba(11,31,58,.03); }
.section--navy .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.section--navy .btn--ghost:hover, .hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.07); }
.btn--lg { font-size: 18px; padding: 19px 34px; min-height: 60px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.cta-micro { margin-top: 14px; font-size: 14.5px; color: var(--slate-500); display: flex; align-items: center; gap: 8px; }
.cta-micro svg { width: 16px; height: 16px; color: var(--green); flex: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 56px; width: auto; display: block; }
.footer-brand .brand-logo { height: 50px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(150deg, var(--navy), var(--navy-glow));
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.brand-mark svg { width: 22px; height: 22px; color: #fff; }
.brand-mark .spark { color: var(--orange); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 18px; color: var(--navy); letter-spacing: -.02em; }
.brand-tag { font-size: 11.5px; font-weight: 600; color: var(--slate-500); letter-spacing: .01em; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; font-size: 15.5px; font-weight: 700; color: var(--navy); border: 1.5px solid var(--border-strong); border-radius: 11px; padding: 10px 18px; min-height: 46px; transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease); }
.header-phone svg { width: 18px; height: 18px; color: var(--brand); }
.header-phone:hover { border-color: var(--brand); background: var(--brand-50); transform: translateY(-1px); }
.header-cta .btn { padding: 11px 20px; min-height: 46px; font-size: 15px; }
@media (max-width: 800px) {
  .brand-tag { display: none; }
  .header-phone { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--navy-bg); color: #fff; position: relative; overflow: hidden; padding: 76px 0 96px; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(900px 500px at 78% -8%, rgba(30,94,255,.30), transparent 60%),
    radial-gradient(700px 420px at 8% 110%, rgba(255,122,26,.10), transparent 60%);
}
.hero-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 580px; }
.hero .eyebrow { color: #FFB1A9; background: rgba(176,30,28,.22); }
.hero h1 {
  color: #fff; font-weight: 800; font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -.025em; line-height: 1.06; margin-top: 20px;
}
.hero h1 .hl { color: #F4A199; }
.hero-sub { margin-top: 22px; font-size: 19px; line-height: 1.6; color: #B7C7E0; max-width: 540px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .cta-micro { color: #93A6C4; margin-top: 18px; }
.hero .cta-micro svg { color: #5FD3A0; }
.hero-trustrow {
  margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-wrap: wrap; gap: 22px 30px;
}
.hero-trustrow .ti { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #AEC0DC; }
.hero-trustrow .ti svg { width: 18px; height: 18px; color: #5FD3A0; flex: none; }

/* ---------- Hero dashboard mockup ---------- */
.hero-visual { position: relative; }
.dash {
  position: relative; background: #fff; color: var(--slate);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: 22px; border: 1px solid rgba(255,255,255,.6);
}
.dash::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255,255,255,.5), transparent 40%); pointer-events: none;
}
.dash-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.dash-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.dash-bar .dot:nth-child(1) { background: #FF5F57; }
.dash-bar .dot:nth-child(2) { background: #FEBC2E; }
.dash-bar .dot:nth-child(3) { background: #28C840; }
.dash-bar .tab { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--slate-400); letter-spacing: .02em; }
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dash-head > div:first-child { min-width: 0; }
.dash-head .label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-500); }
.dash-head .title { font-size: 18px; font-weight: 800; color: var(--navy); margin-top: 3px; letter-spacing: -.02em; }
.gauge { position: relative; width: 96px; height: 96px; flex: none; }
.gauge svg { transform: rotate(-90deg); width: 96px; height: 96px; }
.gauge .gv { position: absolute; inset: 0; display: grid; place-items: center; }
.gauge .gv b { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; }
.gauge .gv > span { font-size: 10px; font-weight: 700; color: var(--slate-500); letter-spacing: .04em; }
.dash-tier {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: var(--risk-attention); background: #FCF1DF; padding: 6px 12px; border-radius: 100px; margin-bottom: 16px;
}
.dash-tier .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dash-cats { display: flex; flex-direction: column; gap: 13px; }
.catrow { display: grid; grid-template-columns: 116px 1fr 46px; align-items: center; gap: 12px; }
.catrow .cname { font-size: 13.5px; font-weight: 600; color: var(--slate); }
.catrow .ctrack { display: block; height: 8px; border-radius: 100px; background: var(--bg-soft); overflow: hidden; }
.catrow .cfill { display: block; height: 100%; border-radius: 100px; }
.catrow .cval { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--slate-500); text-align: right; }
.dash-foot { margin-top: 18px; padding-top: 15px; border-top: 1px dashed var(--border-strong); display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--slate-500); font-weight: 600; }
.dash-foot svg { width: 15px; height: 15px; color: var(--green); flex: none; }
.dash-float {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  border: 1px solid var(--border); padding: 12px 15px; display: flex; align-items: center; gap: 11px;
}
.dash-float .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.dash-float .ic svg { width: 18px; height: 18px; }
.dash-float .ft b { display: block; font-size: 14px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.dash-float .ft span { font-size: 11.5px; color: var(--slate-500); font-weight: 600; }
.dash-float--tl { top: -20px; left: -30px; }
.dash-float--br { bottom: -18px; right: -24px; }
@media (prefers-reduced-motion: no-preference) {
  .dash .gauge svg circle:last-of-type { animation: dashGauge 1.3s var(--ease) .35s both; }
  @keyframes dashGauge { from { stroke-dashoffset: 264; } to { stroke-dashoffset: 47; } }
}
@media (max-width: 1080px) { .dash-float--tl, .dash-float--br { display: none; } }

/* ============================================================
   VALUE CARDS
   ============================================================ */
.cards-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.cards-grid .vcard { flex: 0 1 calc((100% - 44px) / 3); }
.vcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.vicon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; }
.vicon svg { width: 26px; height: 26px; }
.ic-blue { background: var(--blue-50); color: var(--blue); }
.ic-orange { background: var(--orange-50); color: var(--orange-600); }
.ic-green { background: var(--green-50); color: var(--green); }
.ic-navy { background: #E8EDF5; color: var(--navy); }
.vcard h3 { font-size: 19px; font-weight: 700; margin-bottom: 9px; }
.vcard p { font-size: 15.5px; color: var(--slate-600); line-height: 1.58; }

/* ============================================================
   PAIN POINT (split)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.painlist { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.painlist li {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 16px 18px; font-size: 15.5px; font-weight: 600; color: var(--slate); box-shadow: var(--shadow-sm);
}
.painlist .x { width: 24px; height: 24px; border-radius: 7px; background: #FDECEA; color: var(--risk-high); display: grid; place-items: center; flex: none; margin-top: 1px; }
.painlist .x svg { width: 14px; height: 14px; }
.pain-copy .section-sub { margin-top: 20px; }
.pain-copy .btn { margin-top: 30px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 36px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step-num {
  width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 20px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-md);
  display: grid; place-items: center; position: relative;
}
.step-num span { font-size: 26px; font-weight: 800; color: var(--navy); }
.step-num .badge {
  position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 8px;
  background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-orange);
}
.step-num .badge svg { width: 14px; height: 14px; }
.step h3 { font-size: 19px; margin-bottom: 9px; }
.step p { font-size: 15.5px; color: var(--slate-600); max-width: 320px; margin: 0 auto; line-height: 1.58; }
@media (max-width: 820px) { .steps::before { display: none; } }

/* ============================================================
   TRUST (navy)
   ============================================================ */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.trust-points { display: grid; gap: 14px; }
.tpoint {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md); padding: 18px 20px;
}
.tpoint .ck { width: 26px; height: 26px; border-radius: 8px; background: rgba(95,211,160,.16); color: #5FD3A0; display: grid; place-items: center; flex: none; margin-top: 1px; }
.tpoint .ck svg { width: 15px; height: 15px; }
.tpoint b { color: #fff; font-size: 16px; font-weight: 700; display: block; margin-bottom: 3px; }
.tpoint span { color: #A9BCD8; font-size: 14.5px; line-height: 1.5; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1140px; margin: 0 auto; }
.quote {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.quote .stars { display: flex; gap: 3px; margin-bottom: 16px; color: #F5A623; }
.quote .stars svg { width: 18px; height: 18px; }
.quote blockquote { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--slate); font-weight: 500; flex: 1; }
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }
.quote .who { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1; font-weight: 800; font-size: 15px; letter-spacing: .01em; color: #fff !important; flex: none; }
.quote .who b { font-size: 15.5px; color: var(--navy); display: block; line-height: 1.2; }
.quote .who span { font-size: 13px; color: var(--slate-500); display: inline-flex; align-items: center; gap: 5px; }
.quote .who span svg { width: 13px; height: 13px; }
.review-note { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--slate-500); }

/* ============================================================
   PRIVACY
   ============================================================ */
.privacy-wrap {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); padding: 48px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; max-width: 980px; margin: 0 auto;
}
.privacy-shield { width: 96px; height: 96px; border-radius: 24px; background: var(--green-50); color: var(--green); display: grid; place-items: center; flex: none; }
.privacy-shield svg { width: 48px; height: 48px; }
.privacy-bullets { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 20px; }
.pchip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--slate); background: var(--bg); border: 1px solid var(--border); border-radius: 100px; padding: 8px 14px; }
.pchip svg { width: 15px; height: 15px; color: var(--green); }
@media (max-width: 680px) { .privacy-wrap { grid-template-columns: 1fr; text-align: center; padding: 34px 26px; } .privacy-shield { margin: 0 auto; } .privacy-bullets { justify-content: center; } }

/* ============================================================
   ASSESSMENT SECTION (on-page launch / embed)
   ============================================================ */
.assess-section { background: var(--navy-bg); position: relative; overflow: hidden; padding-bottom: 56px; }
.assess-section + .section--navy { padding-top: 56px; }
.assess-panel {
  position: relative; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  max-width: 880px; margin: 0 auto; overflow: hidden; min-height: 540px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta { text-align: center; }
.finalcta h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; max-width: 760px; margin: 0 auto; }
.finalcta p { margin: 20px auto 0; max-width: 620px; font-size: 18px; color: #B7C7E0; }
.finalcta .btn { margin-top: 34px; }
.finalcta .cta-micro { justify-content: center; color: #93A6C4; }
.finalcta .cta-micro svg { color: #5FD3A0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #EEF2F8; color: var(--slate-600); padding: 54px 0 30px; border-top: 3px solid var(--brand); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.footer-brand { max-width: 360px; }
.footer-statement { margin-top: 16px; font-size: 14.5px; line-height: 1.6; color: var(--slate-600); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--slate-600); background: #fff; transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease); }
.footer-social a:hover { color: #fff; background: var(--navy); border-color: var(--navy); transform: translateY(-2px); }
.footer-social svg { width: 21px; height: 21px; }
.footer-contact { display: grid; gap: 12px; font-size: 14.5px; }
.footer-contact a, .footer-contact div { display: inline-flex; align-items: center; gap: 9px; color: var(--slate-600); font-weight: 600; }
.footer-contact svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.footer-contact a:hover { color: var(--navy); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13.5px; color: var(--slate-500); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--slate-600); font-weight: 600; }
.footer-links a:hover { color: var(--navy); }
.footer-disclaimer { margin-top: 18px; font-size: 12px; color: var(--slate-400); line-height: 1.55; max-width: 760px; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none; box-shadow: 0 -6px 24px rgba(11,31,58,.08);
}
.sticky-cta .btn { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .split, .trust-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards-grid .vcard { flex-basis: calc((100% - 22px) / 2); }
  .quotes { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
}
@media (max-width: 620px) {
  .quotes { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 52px 0; }
  .cards-grid .vcard { flex-basis: 100%; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .header-cta .btn { display: none; }
  .sticky-cta { display: block; }
  .hero { padding: 52px 0 64px; }
  body.has-sticky { padding-bottom: 84px; }
}
@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .privacy-wrap { padding: 26px 18px; }
}

/* ============================================================
   ASSESSMENT APP
   ============================================================ */
.as-wrap { display: flex; flex-direction: column; min-height: 540px; }
.as-progress { padding: 22px 36px 0; }
.as-progress-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.as-step { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--slate-500); }
.as-pct { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--blue); }
.as-track { height: 7px; border-radius: 100px; background: var(--bg-soft); overflow: hidden; }
.as-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--blue), #4d80ff); transition: width .4s var(--ease); }

.as-body { flex: 1; padding: 30px 36px 12px; }
.as-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 36px 30px; }
.as-nav .spacer { flex: 1; }
.btn--back { background: transparent; color: var(--slate-600); border: 1.5px solid var(--border); box-shadow: none; min-height: 50px; }
.btn--back:hover { border-color: var(--slate-400); background: var(--bg); }
.btn--back[hidden] { display: none; }

/* Intro */
.as-intro { text-align: center; max-width: 560px; margin: 0 auto; padding: 18px 0; }
.as-intro .ic-badge { width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 22px; background: linear-gradient(150deg, var(--navy), var(--navy-glow)); display: grid; place-items: center; box-shadow: var(--shadow-md); }
.as-intro .ic-badge svg { width: 38px; height: 38px; color: #fff; }
.as-intro h3 { font-size: 27px; font-weight: 800; }
.as-intro p { margin-top: 12px; font-size: 16.5px; color: var(--slate-600); }
.as-secgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0; text-align: left; }
.as-secgrid li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 600; color: var(--slate); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.as-secgrid .n { width: 24px; height: 24px; border-radius: 7px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
.as-intro-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 24px; }
.as-intro-meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--slate-500); }
.as-intro-meta svg { width: 16px; height: 16px; color: var(--green); }

/* Section + questions */
.as-sec-head { margin-bottom: 24px; }
.as-sec-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); }
.as-sec-head h3 { font-size: 24px; font-weight: 800; margin-top: 6px; }
.as-sec-head p { margin-top: 8px; font-size: 15.5px; color: var(--slate-600); }

.as-q { border: none; margin: 0 0 24px; padding: 0; }
.as-q legend { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.4; padding: 0; margin-bottom: 14px; display: flex; gap: 10px; }
.as-q legend .qn { color: var(--blue); font-weight: 800; flex: none; }
.as-options { display: grid; gap: 10px; }
.as-q[data-cols="2"] .as-options { grid-template-columns: 1fr 1fr; }
.as-opt { position: relative; display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1.6px solid var(--border); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease); min-height: 52px; }
.as-opt:hover { border-color: var(--blue); background: var(--blue-50); }
.as-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.as-opt .mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; display: grid; place-items: center; transition: border-color .15s, background .15s; }
.as-opt .mark svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.as-opt .lbl { font-size: 15.5px; font-weight: 600; color: var(--slate); }
.as-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); }
.as-opt:has(input:checked) .mark { border-color: var(--blue); background: var(--blue); }
.as-opt:has(input:checked) .mark svg { opacity: 1; transform: scale(1); }
.as-opt:has(input:focus-visible) { outline: 3px solid rgba(30,94,255,.4); outline-offset: 2px; }
.as-q.err legend { color: var(--risk-high); }
.as-q.err .as-options { outline: 2px solid rgba(225,72,59,.25); outline-offset: 8px; border-radius: 14px; }
.as-err-msg { color: var(--risk-high); font-size: 13.5px; font-weight: 600; margin-top: 9px; display: none; }
.as-q.err .as-err-msg { display: block; }

/* Lead capture */
.as-lead { max-width: 600px; margin: 0 auto; }
.as-lead .as-lock { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--green); background: var(--green-50); padding: 6px 13px; border-radius: 100px; margin-bottom: 16px; }
.as-lead .as-lock svg { width: 15px; height: 15px; }
.as-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.as-field { display: flex; flex-direction: column; gap: 7px; }
.as-field.full { grid-column: 1 / -1; }
.as-field label { font-size: 14px; font-weight: 700; color: var(--slate); }
.as-field label .opt { font-weight: 500; color: var(--slate-400); }
.as-field input { font-family: var(--font); font-size: 16px; padding: 13px 15px; border: 1.6px solid var(--border); border-radius: 10px; background: #fff; color: var(--slate); transition: border-color .15s, box-shadow .15s; }
.as-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,94,255,.15); }
.as-field input.err { border-color: var(--risk-high); box-shadow: 0 0 0 3px rgba(225,72,59,.13); }
.as-field .fe { font-size: 12.5px; color: var(--risk-high); font-weight: 600; min-height: 0; }
.as-submit-row { margin-top: 24px; text-align: center; }
.as-submit-row .cta-micro { justify-content: center; margin-top: 14px; }

/* Results */
.as-results { padding: 6px 0 8px; }
.as-res-note { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--green); background: var(--green-50); padding: 9px 15px; border-radius: 100px; margin-bottom: 18px; }
.as-res-note svg { width: 17px; height: 17px; }
.as-res-hero { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: 8px 0 28px; border-bottom: 1px solid var(--border); }
.as-res-gauge { position: relative; width: 150px; height: 150px; flex: none; }
.as-res-gauge svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.as-res-gauge .gv { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.as-res-gauge .gv b { font-size: 44px; font-weight: 800; color: var(--navy); line-height: 1; }
.as-res-gauge .gv b span { font-size: 22px; }
.as-res-gauge .gv small { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--slate-500); text-transform: uppercase; }
.as-res-hero h3 { font-size: 26px; font-weight: 800; }
.as-tierbadge { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700; padding: 8px 15px; border-radius: 100px; margin: 10px 0 12px; }
.as-tierbadge .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.as-res-hero p { font-size: 15.5px; color: var(--slate-600); line-height: 1.55; }
.as-res-block { padding: 26px 0; border-bottom: 1px solid var(--border); }
.as-res-block h4 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 18px; }
.as-catlist { display: grid; gap: 14px; }
.as-catrow { display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 16px; }
.as-catrow .cn { font-size: 15px; font-weight: 600; color: var(--slate); display: flex; align-items: center; gap: 9px; }
.as-catrow .cn svg { width: 18px; height: 18px; color: var(--slate-500); flex: none; }
.as-catrow .ct { display: block; height: 9px; border-radius: 100px; background: var(--bg-soft); overflow: hidden; }
.as-catrow .cf { display: block; height: 100%; border-radius: 100px; transition: width .6s var(--ease); }
.as-catrow .cl { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 100px; white-space: nowrap; }
.as-areas { display: grid; gap: 14px; }
.as-area { display: flex; gap: 15px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.as-area .ai { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.as-area .ai svg { width: 21px; height: 21px; }
.as-area b { font-size: 16px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.as-area .pill { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 100px; }
.as-area p { margin-top: 6px; font-size: 14.5px; color: var(--slate-600); line-height: 1.55; }
.as-res-cta { text-align: center; padding: 28px 0 6px; }
.as-res-cta h4 { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; text-transform: none; margin-bottom: 8px; }
.as-res-cta p { font-size: 15px; color: var(--slate-600); max-width: 460px; margin: 0 auto 20px; }
.as-res-cta .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.as-res-disclaimer { margin-top: 26px; font-size: 12px; color: var(--slate-400); text-align: center; line-height: 1.5; }
.as-startover { display: block; margin: 16px auto 0; background: none; border: none; color: var(--slate-500); font-family: var(--font); font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.as-startover:hover { color: var(--slate); }

/* Section header icon + 0–4 scale options */
.as-sec-head h3 { display: flex; align-items: center; gap: 11px; }
.as-sec-head h3 svg { width: 25px; height: 25px; color: var(--brand); flex: none; }
.as-opt--scale .lbl { display: flex; align-items: center; gap: 11px; line-height: 1.35; }
.as-opt--scale .sv { width: 23px; height: 23px; border-radius: 7px; background: var(--bg-soft); color: var(--slate-500); font-size: 12.5px; font-weight: 800; display: grid; place-items: center; flex: none; transition: background .15s, color .15s; }
.as-opt--scale:has(input:checked) .sv { background: var(--blue); color: #fff; }

/* Results: benchmark + weakest prose */
.as-res-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.as-prose p { font-size: 15px; color: var(--slate-600); line-height: 1.62; margin: 0 0 12px; }
.as-prose p:last-child { margin-bottom: 0; }
.as-res-block h5 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 22px 0 10px; }
.as-checklist { display: grid; gap: 9px; margin: 2px 0 0; }
.as-checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--slate); font-weight: 500; line-height: 1.45; }
.as-checklist li svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 1px; }
.as-scalekey { margin-top: 16px; font-size: 13px; color: var(--slate-500); line-height: 1.5; }
.as-scalekey b { color: var(--slate); }
.as-weak { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.as-weak-flag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: var(--brand-50); padding: 6px 12px; border-radius: 100px; margin-bottom: 14px; }
.as-weak-flag svg { width: 16px; height: 16px; }
.as-weak-title { font-size: 19px; font-weight: 800; color: var(--navy); text-transform: none; letter-spacing: -.01em; margin: 0 0 14px; }

/* Reveal (locked teaser before email) */
.as-locked { margin-top: 12px; }
.as-locked-rows { max-height: 128px; overflow: hidden; filter: blur(6px); opacity: .45; pointer-events: none; user-select: none; -webkit-mask-image: linear-gradient(180deg, #000 32%, transparent); mask-image: linear-gradient(180deg, #000 32%, transparent); }
.as-locked-rows .as-catlist { display: grid; gap: 14px; }
.as-unlock-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px 6px; margin-top: -8px; }
.as-lock-badge { width: 54px; height: 54px; border-radius: 15px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 10px; }
.as-lock-badge svg { width: 26px; height: 26px; }
.as-unlock-card h4 { font-size: 21px; font-weight: 800; color: var(--navy); line-height: 1.25; margin: 0 0 8px; }
.as-unlock-card > p { font-size: 15px; color: var(--slate-600); max-width: 440px; line-height: 1.55; margin: 0 0 18px; }
.as-unlock-micro { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--slate-500); margin-top: 12px; }
.as-unlock-micro svg { width: 15px; height: 15px; color: var(--green); }

/* "What's in your report" strip (assessment section) */
.report-includes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 880px; margin: 0 auto 26px; }
.report-includes li { display: flex; align-items: center; gap: 13px; padding: 15px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.report-includes .ri-ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; flex: none; }
.report-includes .ri-ic svg { width: 20px; height: 20px; }
.report-includes b { display: block; font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.2; }
.report-includes span.ri-sub { font-size: 12.5px; color: #AFC2DE; }
@media (max-width: 760px) { .report-includes { grid-template-columns: 1fr; max-width: 420px; } }

/* Email-step privacy reassurance */
.as-lead-privacy { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; font-size: 13px; color: var(--slate-500); line-height: 1.5; }
.as-lead-privacy svg { width: 15px; height: 15px; color: var(--green); flex: none; margin-top: 2px; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 17px; font-weight: 700; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: var(--r-md); }
.faq-ic { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 21px; font-weight: 700; line-height: 1; flex: none; transition: transform .2s var(--ease); }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { font-size: 15.5px; color: var(--slate-600); line-height: 1.6; margin: 0; }
.faq-a a { color: var(--brand); font-weight: 600; text-decoration: underline; }

@media (max-width: 640px) {
  .as-progress, .as-body, .as-nav { padding-left: 22px; padding-right: 22px; }
  .as-q[data-cols="2"] .as-options, .as-secgrid, .as-fields { grid-template-columns: 1fr; }
  .as-res-hero { grid-template-columns: 1fr; text-align: center; gap: 20px; justify-items: center; }
  .as-res-gauge { width: 130px; height: 130px; } .as-res-gauge svg { width: 130px; height: 130px; }
  .as-catrow { grid-template-columns: 1fr; gap: 7px; }
  .as-catrow .cl { justify-self: start; }
  .as-nav .btn { padding-inline: 18px; }
}
