/* ==========================================================
   Lefcourt Medical AI — site styles
   Matches the "Helping Doctors Help Kids" deck:
   Bricolage Grotesque + DM Sans, navy / accent blue on cool grey,
   white cards with an offset solid "3D" shadow, soft corner circles.
   ========================================================== */

:root {
  --bg:        #EEF1F6;
  --ink:       #2B3A5C;
  --navy:      #1B2F5E;
  --navy-2:    #2A447F;
  --navy-3:    #142449;
  --blue:      #3D6BE0;
  --blue-lite: #8EAAF5;
  --pale-1:    #D6E0F5;
  --pale-2:    #B0C2EE;
  --block:     #C9D4EA;
  --white:     #FFFFFF;
  --muted:     #525E7A;

  --orange:    #DA7B28;  --orange-bg: #F9EEE2;
  --blue-2:    #2663EA;  --blue-bg:   #E4EBFC;
  --purple:    #7643CC;  --purple-bg: #EEE6FC;
  --green:     #2F6318;  --green-2:   #4B8A33;  --green-bg: #E6F0E0;

  --radius:    20px;
  --lift:      8px;
  --font-head: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mark: "Playfair Display", Georgia, serif;
  --nav-h:     68px;
  --jump-h:    54px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--jump-h) + 16px); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
strong { color: var(--navy); font-weight: 700; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 18px; font-weight: 700; letter-spacing: -0.005em; }
.hl { color: var(--blue); }
.lede { font-size: 19px; color: var(--muted); max-width: 640px; line-height: 1.6; }
.small { font-size: 13px; color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 12px; margin-bottom: 22px;
  position: relative;
}
.eyebrow::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; min-width: 120px; height: 1.5px; background: var(--navy); opacity: .55;
}
.on-dark .eyebrow { color: var(--blue-lite); }
.on-dark .eyebrow::after { background: var(--blue-lite); }

.section-head { margin-bottom: 44px; }
.section-head h2 { margin-bottom: 16px; max-width: 860px; }

/* question-style label pill (from the deck) */
.qpill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple-bg); color: var(--purple);
  font-size: 13px; font-style: italic; font-weight: 500;
  padding: 5px 12px 5px 6px; border-radius: 8px; margin-bottom: 18px;
}
.qpill i {
  font-style: normal; width: 20px; height: 20px; border-radius: 50%;
  background: var(--purple); color: #fff; font-size: 12px; font-weight: 700;
  display: inline-grid; place-items: center;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(238, 241, 246, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(27, 47, 94, .08);
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 33px; object-fit: contain; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand span { font-family: var(--font-mark); font-weight: 600; font-size: 21px; color: var(--navy); letter-spacing: -0.01em; }
.brand span b { font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: .14em; color: var(--blue); margin-left: 4px; vertical-align: 3px; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 15px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--white); color: var(--blue); }
.nav-links a.active { background: var(--navy); color: #fff; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--navy); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 14px; border: 2px solid var(--navy);
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--navy); box-shadow: 5px 5px 0 var(--navy); }
.btn-primary:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--navy); }
.btn-primary:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--navy); }
.btn-ghost { background: var(--white); color: var(--navy); box-shadow: 5px 5px 0 var(--block); border-color: var(--navy); }
.btn-ghost:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--block); }
.on-dark .btn-ghost { box-shadow: 5px 5px 0 var(--navy-3); }
.on-dark .btn-primary { box-shadow: 5px 5px 0 var(--navy-3); border-color: var(--navy-3); }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 12px; box-shadow: 4px 4px 0 var(--navy); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Jump nav (in-page) ---------- */
.jump {
  position: sticky; top: var(--nav-h); z-index: 90;
  height: var(--jump-h);
  background: rgba(238, 241, 246, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 47, 94, .08);
}
.jump .wrap { height: 100%; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.jump .wrap::-webkit-scrollbar { display: none; }
.jump-label { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); white-space: nowrap; margin-right: 6px; }
.jump a {
  white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 600;
  color: var(--navy); padding: 6px 14px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--block);
  transition: all .2s;
}
.jump a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.jump a.current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Sections & decoration ---------- */
.section { position: relative; padding: 110px 0; overflow: hidden; }
.section.tight { padding: 80px 0; }
.section.white { background: var(--white); }
.section.dark, .hero-dark { background: var(--navy); color: #DCE4F7; }
.section.dark h2, .section.dark h3, .section.dark h4, .hero-dark h1 { color: #fff; }
.section.dark .lede, .hero-dark .lede { color: #B9C7EA; }
.section > .wrap { position: relative; z-index: 1; }

.blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.blob.p1 { background: var(--pale-1); }
.blob.p2 { background: var(--pale-2); opacity: .55; }
.blob.d1 { background: var(--navy-2); }
.blob.d2 { background: var(--blue); }
.blob.tr { top: -140px; right: -140px; width: 360px; height: 360px; }
.blob.bl { bottom: -160px; left: -160px; width: 380px; height: 380px; }
.blob.tl { top: -120px; left: -120px; width: 300px; height: 300px; }
.blob.br { bottom: -130px; right: -130px; width: 320px; height: 320px; }

/* playful divider between sections */
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 24px; height: 0; position: relative; z-index: 2; }
.divider span { width: 54px; height: 54px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 4px 4px 0 var(--block); transform: translateY(0); border: 2px solid var(--bg); }
.divider img { width: 24px; height: 27px; object-fit: contain; }

/* ---------- Cards (the 3D pop) ---------- */
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--lift) var(--lift) 0 var(--block);
  transition: transform .28s cubic-bezier(.2,.9,.3,1.2), box-shadow .28s cubic-bezier(.2,.9,.3,1.2);
  transform-style: preserve-3d;
  will-change: transform;
}
.pop:hover {
  transform: translate(-6px, -6px);
  box-shadow: 16px 16px 0 var(--block);
}
.pop.tilting { transition: transform .08s linear, box-shadow .28s ease; }
.card.navy { background: var(--navy); color: #DCE4F7; box-shadow: var(--lift) var(--lift) 0 var(--pale-2); }
.card.navy h3, .card.navy h4 { color: #fff; }
.card.navy.pop:hover { box-shadow: 16px 16px 0 var(--pale-2); }
.on-dark .card { box-shadow: var(--lift) var(--lift) 0 var(--navy-3); }
.on-dark .card.pop:hover { box-shadow: 16px 16px 0 var(--navy-3); }
.card p { color: var(--muted); }
.card.navy p { color: #B9C7EA; }

.icon-bubble {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; font-size: 26px; margin-bottom: 18px;
  transform: translateZ(30px);
}
.ib-blue   { background: var(--blue-bg); }
.ib-orange { background: var(--orange-bg); }
.ib-purple { background: var(--purple-bg); }
.ib-green  { background: var(--green-bg); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 999px;
  background: var(--blue-bg); color: var(--blue-2);
}
.chip.orange { background: var(--orange-bg); color: var(--orange); }
.chip.purple { background: var(--purple-bg); color: var(--purple); }
.chip.green  { background: var(--green-bg); color: var(--green); }
.chip.navy   { background: var(--navy); color: #fff; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.grid { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 120px; }
.hero-dark { padding: 100px 0 130px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 26px; }
.hero-dark h1 .hl { color: var(--blue-lite); }
.hero .lede { margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-kicker { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: 22px; color: var(--blue-lite); margin-bottom: 18px; }

/* floating card stage on home hero */
.stage { position: relative; height: 470px; perspective: 1200px; }
.stage .float { position: absolute; }
.xray-card { width: 300px; padding: 18px; }
.xray-card .xray-img { border-radius: 14px; background: var(--navy-3); }
.xray-card .xray-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.xray-card .xray-meta b { font-family: var(--font-head); color: var(--navy); font-size: 18px; }
.ann { position: absolute; background: #fff; color: var(--navy); font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 10px; box-shadow: 4px 4px 0 var(--block); white-space: nowrap; }
.ann .tick { color: var(--green-2); }
.ann.a1 { left: -34px; top: 128px; }
.ann.a2 { right: -64px; top: 196px; background: var(--orange-bg); color: var(--orange); box-shadow: 4px 4px 0 #EBCFB0; }
.stat-float { width: 230px; }
.stat-float .num { font-family: var(--font-head); font-weight: 800; font-size: 54px; color: var(--blue); line-height: 1; }
.stat-float p { color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.45; }
.bob { animation: bob 6s ease-in-out infinite; }
.bob.slow { animation-duration: 7.5s; animation-delay: -2s; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- Stats ---------- */
.big-stat { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.big-num { font-family: var(--font-head); font-weight: 800; color: var(--blue); line-height: .95; font-size: clamp(64px, 9vw, 112px); letter-spacing: -0.04em; }
.stat .num { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: clamp(40px, 4.6vw, 56px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 10px; }
.stat .num.orange { color: var(--orange); }
.stat .num.purple { color: var(--purple); }
.stat p { font-size: 15px; line-height: 1.5; }
.card.navy .num { color: var(--blue-lite); }
.sources { margin-top: 28px; font-size: 12.5px; color: var(--muted); }

ul.ticks { list-style: none; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
ul.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--blue-bg); color: var(--blue-2);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}

/* ---------- Mission band ---------- */
.quote {
  font-family: var(--font-head); font-style: italic; font-weight: 700;
  font-size: clamp(30px, 4.6vw, 56px); line-height: 1.12; color: #fff; letter-spacing: -0.02em;
  max-width: 980px;
}
.quote .hl { color: var(--blue-lite); }
.quote-mark { font-family: var(--font-head); font-size: 120px; line-height: .6; color: var(--blue); display: block; margin-bottom: 10px; }

/* ---------- Product cards ---------- */
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.product-visual { background: linear-gradient(160deg, var(--blue-bg), var(--pale-1)); padding: 34px; display: flex; justify-content: center; align-items: center; gap: 14px; position: relative; min-height: 260px; }
.product-visual img, .product-visual svg { width: 190px; height: auto; filter: drop-shadow(8px 8px 0 rgba(27,47,94,.18)); transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.product-card:hover .product-visual img, .product-card:hover .product-visual svg { transform: translateZ(40px) rotate(-3deg) scale(1.05); }
.product-visual .chip { position: absolute; top: 18px; left: 18px; }
.product-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--navy); letter-spacing: -0.02em; }
.product-name span { color: var(--blue); }
.product-sub { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin: 4px 0 14px; }
.more { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--blue); }
.more::after { content: " →"; display: inline-block; transition: transform .2s; }
.product-card:hover .more::after { transform: translateX(5px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.step { text-align: left; }
.step-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 19px;
  display: grid; place-items: center; margin-bottom: 18px; box-shadow: 3px 3px 0 var(--navy);
}
.step-emoji { font-size: 40px; margin-bottom: 12px; display: block; transform: translateZ(30px); }
.step h4 { margin-bottom: 8px; }
.step p { font-size: 15px; }
.steps .step:not(:last-child)::after {
  content: "›"; position: absolute; right: -24px; top: 50%; translate: 0 -50%;
  width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 16px; line-height: 1; z-index: 2;
}

/* ---------- Audience ---------- */
.audience { display: flex; gap: 20px; align-items: flex-start; }
.audience img { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.audience .tag { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }

/* ---------- Milestones ---------- */
.milestone { display: flex; gap: 16px; align-items: center; padding: 22px 24px; }
.milestone .check { width: 38px; height: 38px; border-radius: 50%; background: #2E9E5B; color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; box-shadow: 3px 3px 0 #1E6B3D; }
.milestone .num { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 30px; line-height: 1; }
.milestone p { font-size: 14px; line-height: 1.35; margin-top: 4px; }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; display: grid; gap: 26px; padding-left: 46px; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: repeating-linear-gradient(to bottom, var(--pale-2) 0 10px, transparent 10px 18px); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -38px; top: 30px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); border: 4px solid var(--bg); box-shadow: 0 0 0 2px var(--blue); }
.tl-item.next::before { background: var(--bg); }
.tl-year { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }

/* ---------- Product detail ---------- */
.detail-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.detail-art { padding: 40px; display: grid; place-items: center; background: linear-gradient(160deg, var(--blue-bg), var(--pale-1)); }
.detail-art img, .detail-art svg { width: 100%; max-width: 300px; filter: drop-shadow(10px 10px 0 rgba(27,47,94,.18)); }
.status-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pill {
  background: var(--white); border-radius: 14px; padding: 14px 16px; font-weight: 600; color: var(--navy); font-size: 15px;
  display: flex; align-items: center; gap: 10px; box-shadow: 4px 4px 0 var(--block);
  transition: transform .2s, box-shadow .2s;
}
.pill:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--block); }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.pill.live .dot { background: #2E9E5B; box-shadow: 0 0 0 4px #DDF3E5; }
.pill em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: #2E9E5B; background: #DDF3E5; padding: 2px 8px; border-radius: 999px; }
.sub-head { font-size: 13px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--blue); margin: 56px 0 22px; }

/* ---------- Team ---------- */
.person { text-align: center; padding: 40px 32px 34px; }
.avatar { position: relative; width: 190px; height: 190px; margin: 0 auto 26px; }
.avatar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue); transform: translate(10px, 10px); transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
.avatar img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 5px solid var(--white); background: var(--pale-1); transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
.person:hover .avatar img { transform: translate(-4px, -4px) translateZ(40px); }
.person:hover .avatar::before { transform: translate(14px, 14px); }
.avatar.orange::before { background: var(--orange); }
.avatar.purple::before { background: var(--purple); }
.avatar.sm { width: 140px; height: 140px; }
.person h3 { font-size: 26px; margin-bottom: 6px; }
.role { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.person p { text-align: left; font-size: 15.5px; }
.person .chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.advisor { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; text-align: left; padding: 34px; }
.advisor .avatar { margin: 0; }

/* ---------- Logos / supporters ---------- */
.supporters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.supporter { text-align: center; padding: 26px; }
.supporter b { display: block; font-family: var(--font-head); font-size: 20px; color: var(--navy); margin-bottom: 4px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin: 0 auto 18px; max-width: 760px; }
.cta-band .lede { margin: 0 auto 34px; }
.cta-band .hero-btns { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-3); color: #9FB0D8; padding: 64px 0 34px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; position: relative; z-index: 1; }
.footer .brand span { color: #fff; }
.footer p { font-size: 14.5px; margin-top: 14px; max-width: 340px; }
.footer h5 { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-family: var(--font-body); }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: #C3D0F0; text-decoration: none; font-size: 15px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; position: relative; z-index: 1; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step:nth-child(2)::after { display: none; }
  .hero-grid, .detail-grid { grid-template-columns: 1fr; }
  .stage { height: 440px; max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 820px) {
  :root { --nav-h: 62px; --jump-h: 50px; }
  .nav-links, .nav .btn { display: none; }
  .nav-burger { display: block; }
  .mobile-menu { display: none; position: sticky; top: var(--nav-h); z-index: 99; background: var(--white); border-bottom: 1px solid var(--block); padding: 12px 24px 20px; }
  .mobile-menu.open { display: grid; gap: 4px; }
  .mobile-menu a { padding: 12px 4px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--bg); }
  .mobile-menu a.active { color: var(--blue); }
  .mobile-menu .btn { margin-top: 12px; justify-content: center; color: #fff; border-bottom: 2px solid var(--navy); }
  .g2, .g3, .supporters, .footer-grid { grid-template-columns: 1fr; }
  .pills { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .big-stat { grid-template-columns: 1fr; gap: 12px; }
  .advisor { grid-template-columns: 1fr; text-align: center; }
  .advisor .avatar { margin: 0 auto; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .g4, .steps, .pills { grid-template-columns: 1fr; }
  .steps .step::after { display: none; }
  .hero, .hero-dark { padding: 64px 0 90px; }
  .stage { height: 400px; }
  .xray-card { width: 240px; left: 10px; }
  .ann.a1 { left: -6px; }
  .ann.a2 { right: -40px; }
  .stat-float { width: 190px; }
  .stat-float .num { font-size: 42px; }
  .card { padding: 22px; }
  .avatar { width: 160px; height: 160px; }
  .lede { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 820px) {
  #growing-card { grid-template-columns: 1fr !important; padding: 28px !important; }
  .stage .float[style*="left:40px"] { left: 0 !important; }
}

/* contrast fixes */
.section.dark .card:not(.navy) h3, .section.dark .card:not(.navy) h4 { color: var(--navy); }
.card.navy h2 { color: #fff; }
.card.navy ul.ticks li { color: #C9D4EA; }
.card.navy ul.ticks li::before { background: var(--navy-2); color: #fff; }
@media (max-width: 1020px) { .hide-sm { display: none; } }

/* accent bar in place of card icons */
.icon-bubble { width: 44px; height: 8px; border-radius: 999px; margin-bottom: 20px; font-size: 0; }
.ib-blue   { background: var(--blue); }
.ib-orange { background: var(--orange); }
.ib-purple { background: var(--purple); }
.ib-green  { background: var(--green-2); }
.card.navy .ib-blue { background: var(--blue-lite); }
