/* ============================================================
   SightLift.ai shared stylesheet for SUB-PAGES (/score,
   /how-it-works, /capabilities). Extracted from index.html's
   inline styles — index.html does NOT load this file; if you
   change a shared component there, mirror it here (and vice
   versa). Page-specific styles live in each page's own
   <style> block.
   ============================================================ */

:root {
  --purple: #A8590F;        /* PRIMARY: logo, headline accents, key CTAs (deep amber) */
  --purple-deep: #8B4A0C;   /* CTA hover */
  --purple-tint: #FCE9D6;   /* amber fills / icon wells (apricot) */
  --cyan: #2E6E66;          /* accent: opportunity / visibility / .ai mark (teal) */
  --teal: #2F7D4F;          /* accent: pricing, positive outcomes, success (leaf) */
  --coral: #B23A2A;         /* accent, sparing: alerts / warnings (brick) */
  --clay: #4C5C8A;          /* decorative accent: chips / variety */
  --plum: #7A4E68;          /* score dimension: governance */
  --leaf2: #3F8F52;         /* score dimension: efficiency (matches /score PDF palette) */
  --blue2: #3F5AA0;         /* score dimension: reuse */
  --ink: #2B2722;           /* primary text, headings, dark surfaces (espresso) */
  --muted: #6B6357;         /* body copy, secondary text (stone) */
  --lavender: #FBF8F2;      /* default page canvas (cream) */
  --tint: #E7DFD0;          /* dividers, subtle fills (sand) */
  --offwhite: #F4EFE6;      /* text on dark (cream) */
  --white: #FFFFFF;         /* cards / surfaces */
  --line: #E7DFD0;          /* hairline borders on light (sand) */
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  background: var(--lavender);
  color: var(--ink);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h2 { line-height: 1.32; letter-spacing: -0.012em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Wordmark ---------- */
.wm { font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.wm .s  { color: var(--purple); }
.wm .ai { color: var(--muted); font-weight: 600; }

/* ---------- Eyebrow / section label ---------- */
.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  margin: 0 0 14px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(168, 89, 15, 0.28);
}
.btn-primary:hover { background: var(--purple-deep); transform: translateY(-1px); text-decoration: none; box-shadow: 0 12px 30px rgba(168, 89, 15, 0.36); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid rgba(43, 39, 34, 0.18); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); text-decoration: none; }

/* ---------- Nav: transparent on load, frosts in on scroll.
   Sub-pages set data-solid on <header> so it's always frosted. ---------- */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
header.nav.scrolled {
  background: rgba(251, 248, 242, 0.86);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 2px rgba(43,39,34,.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-size: 22px; display: inline-flex; align-items: center; gap: 8px; }
.logo-mark { color: var(--ink); flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
/* .link covers both <a> nav items and the Product dropdown <button> */
.nav-links .link { color: var(--muted); font-size: 14px; font-weight: 600; position: relative; background: none; border: 0; padding: 0; font-family: var(--sans); cursor: pointer; }
.nav-links .link:hover { color: var(--ink); text-decoration: none; }
.nav-links .link::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--purple); border-radius: 2px; transition: width .25s ease; }
.nav-links .link:hover::after { width: 100%; }
.nav-links .signin { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-links .signin:hover { color: var(--ink); text-decoration: none; }

/* ---------- Product dropdown ---------- */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 6px; }
.nav-dd-btn .chev { width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.nav-dd.open .nav-dd-btn .chev { transform: rotate(225deg) translateY(-2px); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: -14px; min-width: 190px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 36px rgba(43,39,34,.12); padding: 8px; display: none; z-index: 60;
}
/* invisible hover bridge so the pointer can travel from button to menu */
.nav-dd-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-dd:hover .nav-dd-menu, .nav-dd.open .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: block; }
.nav-dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-dd-menu a:hover { color: var(--ink); background: var(--lavender); text-decoration: none; }

/* ---------- Mobile: hamburger + slide-down panel ---------- */
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px 8px; margin-left: 4px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: transform .2s ease, opacity .2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  display: none;
  background: rgba(251, 248, 242, 0.96);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(43,39,34,.08);
  padding: 8px 24px 18px;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; font-size: 16px; font-weight: 600; color: var(--ink); padding: 12px 0; }
.mobile-menu a:hover { color: var(--purple); text-decoration: none; }
.mobile-menu a.sub { padding-left: 16px; font-weight: 500; color: var(--muted); }
.mobile-menu .mm-label { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 10px 0 2px; }
.mobile-menu hr { border: none; border-top: 1px solid var(--line); margin: 8px 0; }
@media (max-width: 820px) {
  .nav-links .link, .nav-links .signin, .nav-dd { display: none; }
  .nav-burger { display: block; }
  .nav-inner .btn { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
}
@media (min-width: 821px) { .mobile-menu { display: none !important; } }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.tight { padding: 64px 0; }
section.linen { background: var(--offwhite); }
.section-head { max-width: 1080px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { display: inline-block; color: var(--purple); }
.section-head h2 { font-size: 38px; font-weight: 800; margin: 0 0 16px; }
@media (max-width: 940px) { .section-head h2 { font-size: 30px; } }
.section-head p { font-size: 18px; color: var(--muted); margin: 0 auto; max-width: 720px; }
.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Sub-page hero (text-only, sits under the fixed nav) ---------- */
.page-hero { padding: 140px 0 56px; }
.page-hero h1 { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 18px; max-width: 20ch; }
@media (max-width: 940px) { .page-hero h1 { font-size: 34px; } }
.page-hero h1 .accent { color: #6B3908; }
.page-hero .lede { font-size: 19px; color: var(--muted); margin: 0 0 8px; max-width: 640px; }
.page-hero .lede strong { color: var(--ink); font-weight: 600; }
.page-hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Numbered step cards ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: 0 8px 24px rgba(43,39,34,.04); border-top: 4px solid var(--tint); }
.step.see { border-top-color: var(--cyan); }
.step.learn { border-top-color: var(--purple); }
.step.op { border-top-color: var(--teal); }
.step .num { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--purple); margin-bottom: 10px; }
.step h3 { font-size: 22px; margin: 0 0 10px; font-weight: 800; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Product pillars (cards with dial icons) ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: 0 8px 24px rgba(43,39,34,.04); transition: transform .15s ease, box-shadow .15s ease; }
.pillar:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(168,89,15,.12); }
.pillar .ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: rgba(47,125,79,.10); }
.pillar .ic .pic { width: 30px; height: 30px; display: block; }
.pic-track { stroke: rgba(47,125,79,.22); stroke-width: 1.3; fill: none; }
.pic-comet { stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; fill: none; transform-box: view-box; transform-origin: 20px 20px; }
.pic .glyph { stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; fill: none; }
@keyframes picsweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes icpop { 0% { transform: scale(.9); } 55% { transform: scale(1.06); } 100% { transform: scale(1); } }
.pillar .ic.go .pic-comet { animation: picsweep 1s cubic-bezier(.35,0,.2,1); }
.pillar .ic.go { animation: icpop .5s ease-out; }
@media (prefers-reduced-motion: reduce) { .pillar .ic.go .pic-comet, .pillar .ic.go { animation: none; } }
.pillar h3 { font-size: 22px; margin: 0 0 10px; font-weight: 800; }
.pillar p { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.pillar ul { margin: 0; padding-left: 0; list-style: none; }
.pillar li { color: var(--muted); font-size: 14px; padding: 5px 0 5px 24px; position: relative; }
.pillar li::before { content: "→"; position: absolute; left: 0; color: var(--purple); font-weight: 700; }
.pillar-wide-list { display: flex; flex-wrap: wrap; gap: 18px 28px; }
.pillar-wide-list li { flex: 1 1 220px; padding-left: 24px; }
@media (max-width: 880px) { .pillar-wide-list { flex-direction: column; } .pillar-wide-list li { flex: none; } }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; gap: 9px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 11px 16px; font-size: 14px; font-weight: 700; box-shadow: 0 4px 14px rgba(43,39,34,.04); }
.chip .d { width: 9px; height: 9px; border-radius: 50%; }

/* ---------- Security / small check cards ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 880px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
.sec { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: 0 8px 24px rgba(43,39,34,.04); }
.sec .h { font-weight: 800; font-size: 15px; margin: 0 0 6px; }
.sec .p { color: var(--muted); font-size: 13px; margin: 0; }
.sec .h::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 8px; }

/* ---------- Roadmap / phase strip (timeline) ---------- */
.roadmap { position: relative; }
.roadmap-track { display: flex; align-items: stretch; }
.phase { flex: 1; position: relative; background: var(--white); border: 1px solid var(--line); padding: 26px 28px; box-shadow: 0 8px 24px rgba(43,39,34,.04); }
.phase + .phase { border-left: none; }
.phase:first-child { border-radius: 16px 0 0 16px; }
.phase:last-child { border-radius: 0 16px 16px 0; }
.phase:not(:last-child)::after { content: "›"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 700; font-size: 13px; z-index: 3; }
.phase .pn { font-family: var(--mono); font-size: 11px; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); font-weight: 700; margin: 0 0 10px; }
.phase .pname { font-size: 20px; line-height: 1.2; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.01em; }
.phase .pdesc { font-size: 13px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
@media (max-width: 880px) {
  .roadmap-track { flex-direction: column; }
  .phase { border-left: 1px solid var(--line) !important; border-radius: 14px !important; margin-bottom: 32px; }
  .phase:not(:last-child)::after { right: 50%; top: auto; bottom: -27px; transform: translateX(50%) rotate(90deg); }
}

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(180deg, var(--purple-tint) 0%, var(--lavender) 100%); border-top: 1px solid var(--line); }
.cta h2 { font-size: 33px; font-weight: 800; margin: 0 0 16px; letter-spacing: -0.02em; }
.cta p { color: var(--muted); font-size: 17px; }
.cta .eyebrow { color: var(--purple); }

/* ---------- Footer ---------- */
footer.site { background: var(--offwhite); border-top: 1px solid var(--line); padding: 64px 0 40px; color: var(--muted); }
.fgrid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 820px) { .fgrid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.fcol h5 { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.fcol a:not(.btn) { display: block; font-size: 15px; color: var(--muted); padding: 6px 0; }
.fcol a:not(.btn):hover { color: var(--purple); text-decoration: none; }
.fcol.brandcol p { font-size: 15px; color: var(--muted); max-width: 40ch; margin: 14px 0 20px; line-height: 1.6; }
.fcol.brandcol .logo { font-size: 20px; }
.fbottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
