/* ============================================================================
   Volunteer Tracker — marketing landing page stylesheet (landing.css)
   Self-contained on purpose: the app stylesheet (/app/css/app.css) is owned by
   the product shell and changes with it; the landing page must never break
   when the app restyles. Tokens are copied from the same soft system: warm
   cream canvas, deep teal identity, muted rust accent, Manrope + Source Sans 3.
   No frameworks, no build step.
   ============================================================================ */

:root {
  --vc-primary: #0F766E;
  --vc-primary-dark: #0B5F58;
  --vc-primary-soft: #E2F0ED;
  --vc-navy: #102A43;
  --vc-accent: #B64932;        /* TEXT-SAFE rust (≈5.3:1 on white) */
  --vc-accent-deco: #C24A2E;   /* decorative rust — never text */
  --vc-accent-soft: #F8E7DE;
  --vc-bg: #F8F5EE;
  --vc-surface: #FFFFFF;
  --vc-surface-muted: #F3EFE7;
  --vc-border: #E3DDD2;
  --vc-text: #17231F;
  --vc-text-soft: #5A6B63;   /* nudged darker for small-text contrast (design review) */
  --vc-eyebrow: #A74732;     /* restrained rust, brand emphasis only */
  --vc-danger: #B3473D;
  --vc-danger-soft: #F8ECEA;
  --vc-radius: 18px;
  --vc-radius-sm: 10px;
  --vc-shadow: 0 1px 2px rgba(28, 39, 35, .04), 0 16px 40px rgba(28, 39, 35, .07);
  --vc-shadow-lift: 0 2px 4px rgba(28, 39, 35, .06), 0 22px 48px rgba(28, 39, 35, .1);
  --vc-font: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --vc-display: 'Manrope', 'Source Sans 3', system-ui, sans-serif;
  font-size: 17px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--vc-font);
  background: var(--vc-bg);
  color: var(--vc-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;   /* belt-and-suspenders against decorative bleed */
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--vc-display); line-height: 1.18; margin: 0 0 .55rem; }
a { color: var(--vc-primary); }

.balance { text-wrap: balance; }

/* honeypot field — visually hidden, still in the form for bots to find */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ---- shared layout -------------------------------------------------------- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
section[id], #screenshots { scroll-margin-top: 84px; }   /* anchors land below the sticky header */
.section { padding: 5rem 0; }
.section--tight { padding: 3.4rem 0; }
.section--alt { background: var(--vc-surface); border-top: 1px solid var(--vc-border); border-bottom: 1px solid var(--vc-border); }

/* eyebrows: small + restrained, major sections only (design review #4) */
.eyebrow {
  display: block;
  font-size: 11px; font-weight: 800;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--vc-eyebrow);
  margin-bottom: .8rem;
}
.section-title {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
  max-width: 24ch;
}
.section-title .hl { color: var(--vc-primary); }
.section-lead {
  color: var(--vc-text-soft);
  font-size: 17px; line-height: 1.65;
  max-width: 60ch;
  margin: 0 0 2.2rem;
}
.center { text-align: center; }
.center .section-title, .center .section-lead { margin-left: auto; margin-right: auto; }

/* ---- two-tone wordmark ------------------------------------------------------ */
.wordmark { font-family: var(--vc-display); font-weight: 800; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.wordmark .wm-a { color: var(--vc-primary); }
.wordmark .wm-b { color: var(--vc-accent); }

/* ---- buttons ---------------------------------------------------------------- */
.btn {
  font: inherit; font-weight: 600;
  border-radius: 12px;
  border: 1.5px solid transparent;
  padding: .62rem 1.35rem;
  min-height: 2.75rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s, color .12s, filter .12s;
}
.btn-primary {
  background: linear-gradient(180deg, #137C72 0%, #0B625B 100%);
  color: #fff;
  border: 1px solid rgba(8, 77, 71, .35);
  box-shadow: 0 10px 20px rgba(15, 118, 110, .20), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #0F756B 0%, #0A5750 100%);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 118, 110, .28), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:active { transform: translateY(1px) scale(.99); box-shadow: 0 4px 10px rgba(15, 118, 110, .18); }
.btn-ghost { background: #fff; border-color: var(--vc-border); color: var(--vc-text); }
.btn-ghost:hover { color: var(--vc-primary-dark); border-color: var(--vc-primary); }
.btn-big { font-size: 1.1rem; padding: .9rem 1.9rem; min-height: 3.35rem; border-radius: 14px; }
/* inverted button for the deep-teal band */
.btn-cream { background: #FDFBF6; color: var(--vc-primary-dark); border: 1px solid rgba(255, 255, 255, .5); box-shadow: 0 12px 26px rgba(5, 32, 29, .35); }
.btn-cream:hover { background: #fff; transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(15, 118, 110, .45);
  outline-offset: 2px;
}
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---- sticky header ---------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(227, 221, 210, .65);
}
.site-head-in {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.1rem;
  padding: .85rem 28px;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand .wordmark { font-size: 1.32rem; }
.site-nav { display: flex; gap: .15rem; margin-left: .9rem; }
.site-nav a {
  text-decoration: none; color: var(--vc-text-soft);
  font-weight: 600; font-size: .98rem;
  padding: .48rem .9rem; border-radius: 999px;
  transition: color .12s, background-color .12s;
}
.site-nav a:hover { color: var(--vc-primary-dark); background: rgba(23, 35, 31, .05); }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: .65rem; }
.head-cta .btn { min-height: 2.7rem; padding: .55rem 1.25rem; font-size: .98rem; }

/* ---- hero -------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 5.2rem 0 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(15, 118, 110, .10), transparent 36%),
    radial-gradient(circle at 86% 8%, rgba(16, 42, 67, .07), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(194, 74, 46, .05), transparent 26%),
    linear-gradient(180deg, #FBF8F2 0%, var(--vc-bg) 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(16, 42, 67, .035) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800; letter-spacing: -.035em; line-height: .98;
  margin: 0 0 1.15rem;
}
.hero h1 .hl { color: var(--vc-primary); }
.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  color: var(--vc-text-soft);
  max-width: 56ch; margin: 0 auto 1.9rem;
}
.hero-cta { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: .4rem 1.5rem; justify-content: center; flex-wrap: wrap;
  margin: 1.35rem 0 0; padding: 0; list-style: none;
  font-size: .93rem; font-weight: 600; color: #4E6058;
}
.hero-trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust svg { color: var(--vc-primary); flex: 0 0 auto; }

/* hero screenshot — showcase, bleeding into the next section */
.hero-shot { position: relative; margin: 3.2rem auto -1px; max-width: 1080px; padding: 0 28px; }
.hero-shot::before {
  /* faint teal glow behind the showcase shot (design review #3) */
  content: '';
  position: absolute; left: 4%; right: 4%; top: -5%; height: 72%;
  background: radial-gradient(closest-side, rgba(15, 118, 110, .17), transparent 72%);
  filter: blur(16px);
  z-index: 0; pointer-events: none;
}
.hero-shot .shot-frame { position: relative; z-index: 1; }

/* ---- framed screenshots ------------------------------------------------------ */
.shot-frame {
  background: #fff;
  border: 1px solid #DCD4C6;
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(29, 42, 38, .14), 0 2px 8px rgba(29, 42, 38, .07);
  overflow: hidden;
}
.shot-frame .shot-bar {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  background: var(--vc-surface-muted);
  border-bottom: 1px solid var(--vc-border);
  min-height: 32px;
}
.shot-frame .shot-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #D7CFC1; display: inline-block;
}
.shot-frame .shot-bar .shot-url {
  position: absolute; left: 50%; transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--vc-border);
  border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .01em;
  color: var(--vc-text-soft);
  line-height: 1;
  padding: 4px 14px;
  white-space: nowrap;
}
.shot-frame img { width: 100%; }
/* plain frame (no browser bar) for tight UI crops */
.shot-plain {
  border: 1px solid #DCD4C6;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(29, 42, 38, .12), 0 2px 8px rgba(29, 42, 38, .06);
  overflow: hidden;
  background: #fff;
}

/* ---- EMR comparison ----------------------------------------------------------- */
.emr-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
  align-items: stretch;
  margin-bottom: 1.4rem;
}
.emr-card {
  background: var(--vc-surface);
  border: 1px solid var(--vc-border);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(29, 42, 38, .07), 0 2px 8px rgba(29, 42, 38, .04);
  padding: 1.9rem 2rem 1.8rem;
}
.emr-card h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .9rem; }
.emr-card .emr-tag {
  font-family: var(--vc-font); font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  border-radius: 99px; padding: .14rem .65rem;
}
.emr-card--them .emr-tag { background: var(--vc-surface-muted); color: var(--vc-text-soft); }
.emr-card--us { border-color: rgba(15, 118, 110, .4); position: relative; overflow: clip; }
.emr-card--us::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: var(--vc-primary); }
.emr-card--us .emr-tag { background: var(--vc-primary-soft); color: var(--vc-primary-dark); }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .5rem 0; font-size: 1.08rem; font-weight: 600;
}
.tick-list svg { flex: 0 0 auto; margin-top: .18rem; color: var(--vc-primary); }
.emr-card--them .tick-list svg { color: #A89F8D; }
.emr-card--them .tick-list li { font-weight: 400; color: #45554E; }
.phi-banner {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--vc-primary-soft);
  border: 1px solid rgba(15, 118, 110, .25);
  border-radius: var(--vc-radius);
  padding: 1.15rem 1.4rem;
  font-size: 1rem;
}
.phi-banner svg { flex: 0 0 auto; color: var(--vc-primary); margin-top: .15rem; }
.phi-banner strong { color: var(--vc-primary-dark); }

/* ---- feature tour rows --------------------------------------------------------- */
.feat-row {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 3rem; align-items: center;
  padding: 2.6rem 0;
}
.feat-row + .feat-row { border-top: 1px solid var(--vc-border); }
.feat-row.rev .feat-copy { order: 2; }
.feat-row.rev .feat-shot { order: 1; }
.feat-copy h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.025em; }
.feat-copy p.feat-lead { color: var(--vc-text-soft); font-size: 1.02rem; line-height: 1.65; margin: 0 0 .9rem; }
.feat-points { list-style: none; margin: 0; padding: 0; }
.feat-points li { display: flex; gap: .6rem; align-items: flex-start; padding: .36rem 0; font-size: 1rem; }
.feat-points svg { flex: 0 0 auto; margin-top: .24rem; color: var(--vc-primary); }
.feat-points b { font-weight: 700; }

/* ---- coordinator anchor band (soft teal, design review #5) ----------------------- */
.anchor-band {
  background: linear-gradient(180deg, #E9F3F0 0%, #DFEDE8 100%);
  border-top: 1px solid rgba(15, 118, 110, .16);
  border-bottom: 1px solid rgba(15, 118, 110, .16);
}
.anchor-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem;
  align-items: stretch;
  margin-top: 2.4rem;
}
.a-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(29, 42, 38, .08);
}
.a-card .a-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(180deg, #137C72 0%, #0B625B 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(15, 118, 110, .25);
  margin-bottom: .8rem;
}
.a-card h3 { font-size: 1.08rem; font-weight: 800; letter-spacing: -.015em; margin-bottom: .25rem; }
.a-card p { margin: 0; font-size: .95rem; color: var(--vc-text-soft); }

/* ---- slim CTA band (design review #8) --------------------------------------------- */
.cta-slim {
  background: linear-gradient(120deg, #0C5B54 0%, #0F766E 58%, #11534F 100%);
  color: #fff;
  padding: 1.5rem 0;
}
.cta-slim-in { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.cta-slim-copy { margin: 0; font-size: 1.05rem; }
.cta-slim-copy strong { font-family: var(--vc-display); font-weight: 800; letter-spacing: -.015em; font-size: 1.16rem; }
.cta-slim-copy span { color: rgba(244, 249, 247, .82); }
.cta-slim .btn { flex: 0 0 auto; }

/* ---- reports spotlight ---------------------------------------------------------- */
.report-kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.8rem 0 2.6rem; align-items: stretch; }
.report-kind {
  background: rgba(255, 255, 255, .88);
  border: 1px solid #E2D9CC;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(29, 42, 38, .07);
}
.report-kind .rk-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--vc-primary-soft); color: var(--vc-primary-dark);
  border: 1px solid rgba(15, 118, 110, .18);
  margin-bottom: .7rem;
}
.report-kind h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.015em; margin-bottom: .2rem; }
.report-kind p { margin: 0; font-size: .92rem; color: var(--vc-text-soft); }

.sched-band {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 3rem; align-items: center;
  margin-top: 3.2rem; padding-top: 2.8rem;
  border-top: 1px solid var(--vc-border);
}

/* ---- trust strip ------------------------------------------------------------------ */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
.trust-item {
  background: rgba(255, 255, 255, .88);
  border: 1px solid #E2D9CC;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(29, 42, 38, .07);
}
.trust-item .t-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--vc-primary-soft); color: var(--vc-primary-dark);
  border: 1px solid rgba(15, 118, 110, .18);
  margin-bottom: .7rem;
}
.trust-item h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.015em; margin-bottom: .2rem; }
.trust-item p { margin: 0; font-size: .92rem; color: var(--vc-text-soft); }

/* ---- pricing ------------------------------------------------------------------------- */
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem;
  align-items: stretch;
  max-width: 880px;
  margin: 2.4rem auto 0;
}
.plan-card {
  position: relative;
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .88);
  border: 1px solid #E2D9CC;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(29, 42, 38, .07);
}
/* subtle emphasis on Unlimited: white surface + teal hairline + badge (teal = action) */
.plan-card--featured {
  background: #fff;
  border: 1.5px solid rgba(15, 118, 110, .45);
  box-shadow: 0 16px 40px rgba(15, 118, 110, .12), 0 2px 8px rgba(29, 42, 38, .05);
}
.plan-badge {
  position: absolute; top: -12px; right: 22px;
  background: linear-gradient(180deg, #137C72 0%, #0B625B 100%);
  color: #fff;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase;
  border-radius: 999px;
  padding: .28rem .7rem;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(15, 118, 110, .25);
}
.plan-name {
  font-size: .8rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--vc-text-soft);
}
.plan-price {
  display: flex; align-items: baseline; gap: .3rem;
  font-family: var(--vc-display);
  margin: .55rem 0 .1rem;
}
.plan-amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--vc-text); }
.plan-per { font-size: 1rem; font-weight: 700; color: var(--vc-text-soft); }
.plan-tag { margin: .35rem 0 .9rem; font-size: .98rem; color: var(--vc-text-soft); }
.plan-points { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.plan-points li { display: flex; gap: .6rem; align-items: flex-start; padding: .3rem 0; font-size: .97rem; }
.plan-points svg { flex: 0 0 auto; margin-top: .24rem; color: var(--vc-primary); }
.plan-points b { font-weight: 700; }
.plan-cta { margin-top: auto; }
.plan-trial { margin: 0 0 .6rem; font-size: .85rem; font-weight: 600; color: var(--vc-text-soft); }
.plan-cta .btn { width: 100%; }
.pricing-foot {
  text-align: center;
  font-size: .92rem; color: var(--vc-text-soft);
  max-width: 64ch;
  margin: 1.7rem auto 0;
}
/* fallback line shown only when signup is disabled (plan CTAs hide via [data-trial]) */
.pricing-foot--nosignup { display: none; }
.no-signup .pricing-foot--nosignup { display: block; }

/* ---- the 90-day band ---------------------------------------------------------------- */
.trial-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, .07), transparent 40%),
    radial-gradient(circle at 88% 86%, rgba(194, 74, 46, .22), transparent 42%),
    linear-gradient(135deg, #0C5B54 0%, #0F766E 52%, #113E47 100%);
  border-radius: 26px;
  color: #F4F9F7;
  padding: 3.6rem 3.2rem;
  box-shadow: 0 30px 70px rgba(11, 64, 58, .35);
}
.trial-band .eyebrow { color: #F8C9B4; }
.trial-band h2 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.06;
  max-width: 17ch;
  margin-bottom: 1rem;
  color: #fff;
}
.trial-band .trial-lead {
  font-size: 1.12rem; line-height: 1.6;
  color: rgba(244, 249, 247, .92);
  max-width: 56ch;
  margin: 0 0 1.6rem;
}
.trial-points { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .45rem; }
.trial-points li { display: flex; gap: .6rem; align-items: flex-start; font-size: 1rem; color: rgba(244, 249, 247, .92); }
.trial-points svg { flex: 0 0 auto; margin-top: .25rem; color: #9ED9CD; }
.trial-cta { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.trial-cta .quiet { font-size: .92rem; color: rgba(244, 249, 247, .75); }
.trial-cta .quiet a { color: #CDEAE3; }

/* ---- signup ---------------------------------------------------------------------------- */
.signup-card {
  max-width: 540px; margin: 0 auto;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--vc-border);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(23, 35, 31, .10), 0 2px 8px rgba(23, 35, 31, .05);
  padding: 2.1rem 2.1rem 1.9rem;
  position: relative; overflow: clip;
}
.signup-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--vc-primary);
}
.signup-card label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.signup-card .field { margin-bottom: .95rem; }
.signup-card input[type="text"], .signup-card input[type="email"] {
  width: 100%; font: inherit; color: var(--vc-text);
  background: #fff;
  border: 1.5px solid var(--vc-border);
  border-radius: var(--vc-radius-sm);
  padding: .6rem .75rem; min-height: 2.75rem;
  transition: border-color .12s, box-shadow .12s;
}
.signup-card input:focus {
  outline: 3px solid rgba(15, 118, 110, .30); outline-offset: 1px;
  border-color: var(--vc-primary);
  box-shadow: 0 0 0 5px rgba(15, 118, 110, .08);
}
.signup-card input.input-invalid { border-color: var(--vc-danger); }
.signup-card .hint { font-size: .82rem; color: var(--vc-text-soft); margin-top: .3rem; }
.signup-card .hint-invalid { color: var(--vc-danger); font-weight: 600; }
.signup-card .btn { width: 100%; margin-top: .35rem; }
.signup-assure { text-align: center; font-size: .88rem; font-weight: 600; color: var(--vc-text-soft); margin: .85rem 0 0; }
.signup-foot { text-align: center; font-size: .88rem; color: var(--vc-text-soft); margin: 1rem 0 0; }
.signup-trustnote { text-align: center; font-size: .92rem; color: var(--vc-text-soft); max-width: 72ch; margin: 1.4rem auto 0; }
.form-error {
  background: var(--vc-danger-soft); color: var(--vc-danger);
  border-radius: var(--vc-radius-sm);
  padding: .55rem .8rem; margin-bottom: .9rem;
  font-weight: 600; display: none;
}
.form-error.show { display: block; }
.signup-success { text-align: center; padding: 1.4rem 0 .9rem; }
.signup-success .ok-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--vc-primary-soft); color: var(--vc-primary);
  margin-bottom: .9rem;
}
.signup-success h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.signup-success p { color: var(--vc-text-soft); max-width: 40ch; margin: .4rem auto 0; }

/* ---- FAQ ------------------------------------------------------------------------------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list details {
  background: var(--vc-surface);
  border: 1px solid var(--vc-border);
  border-radius: 14px;
  margin-bottom: .7rem;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--vc-display);
  font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em;
  padding: 1rem 1.25rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .faq-chev { flex: 0 0 auto; color: var(--vc-text-soft); transition: transform .15s; }
.faq-list details[open] summary .faq-chev { transform: rotate(180deg); }
.faq-list details[open] summary { color: var(--vc-primary-dark); }
.faq-a { padding: 0 1.25rem 1.1rem; color: var(--vc-text-soft); font-size: .97rem; }
.faq-a p { margin: 0 0 .6rem; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---- footer ----------------------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--vc-border); background: var(--vc-surface); padding: 3.6rem 0 2.4rem; }
.foot-grid { display: flex; gap: 2rem; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.foot-brand .wordmark { font-size: 1.45rem; }
.foot-brand p { margin: .5rem 0 0; color: var(--vc-text-soft); font-size: .95rem; max-width: 52ch; }
.foot-links { display: flex; gap: .2rem 1.4rem; flex-wrap: wrap; list-style: none; margin: .35rem 0 0; padding: 0; }
.foot-links a { color: var(--vc-text-soft); text-decoration: none; font-weight: 600; font-size: .92rem; }
.foot-links a:hover { color: var(--vc-primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom {
  margin-top: 2.2rem; padding-top: 1.4rem;
  border-top: 1px solid var(--vc-border);
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  font-size: .85rem; color: var(--vc-text-soft);
}

/* MortonApps product-family badge (same pattern as the app's login footer) */
.ma-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid var(--vc-border);
  color: var(--vc-text-soft);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(23, 35, 31, .05);
  transition: color .12s, border-color .12s, background-color .12s;
}
.ma-badge:hover { color: var(--vc-primary-dark); border-color: #D5CEC0; background: rgba(255, 255, 255, .85); }
.ma-badge .ma-dot { display: inline-flex; flex: 0 0 auto; }

/* ---- signup-disabled mode (GET /api/auth/signup → enabled:false or fetch fail) ---- */
.no-signup [data-trial] { display: none !important; }

/* ---- legal pages (/privacy, /terms) — shared prose column --------------------------- */
.legal-main { padding: 3.4rem 0 5rem; }
.legal-prose { max-width: 740px; margin: 0 auto; }
.legal-title {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.04;
  margin-bottom: .55rem;
}
.legal-updated {
  font-size: .9rem; font-weight: 600; color: var(--vc-text-soft);
  margin: 0 0 1.7rem; padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--vc-border);
}
.legal-prose h2 {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em;
  margin: 2.5rem 0 .6rem;
  scroll-margin-top: 84px;
}
.legal-prose p, .legal-prose li { font-size: 1rem; line-height: 1.7; }
.legal-prose p { margin: 0 0 1rem; }
.legal-prose ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal-prose li { margin: .35rem 0; }
.legal-prose li::marker { color: var(--vc-primary); }
.legal-prose a { font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-callout { margin: 1.8rem 0; }   /* reuses .phi-banner surface */
.legal-crosslink {
  margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: 1px solid var(--vc-border);
  font-weight: 600; color: var(--vc-text-soft);
}
/* quiet data-stewardship line in the home-page footer */
.foot-trust { font-size: .88rem; }
@media (max-width: 720px) {
  /* legal pages have no trial CTA — keep Sign in visible in the header on phones */
  .legal-page .head-cta .btn-ghost { display: inline-flex; }
}

/* ---- reveal-on-scroll (motion-gated) ------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .rv { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
  .rv.in { opacity: 1; transform: none; }
}

/* ---- responsive --------------------------------------------------------------------- */
@media (max-width: 980px) {
  .feat-row, .sched-band { grid-template-columns: 1fr; gap: 1.6rem; }
  .feat-row.rev .feat-copy { order: 1; }
  .feat-row.rev .feat-shot { order: 2; }
  .report-kinds { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .emr-grid { grid-template-columns: 1fr; }
  .trial-band { padding: 2.6rem 2rem; }
}
@media (max-width: 880px) {
  .anchor-cards { grid-template-columns: 1fr; }
  .cta-slim-in { flex-direction: column; text-align: center; }
}
@media (max-width: 900px) {
  .site-nav { display: none; }   /* anchor nav can't fit beside both CTAs below ~900px */
}
@media (max-width: 720px) {
  .site-head-in { padding: .6rem 18px; gap: .6rem; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  .brand { gap: .5rem; }
  .brand .wordmark { font-size: 1.12rem; }
  .head-cta .btn { min-height: 2.5rem; padding: .5rem 1rem; font-size: .92rem; }
  .head-cta .btn-ghost { display: none; }    /* keep one clear CTA on phones; Sign In stays in hero + footer */
  .no-signup .head-cta .btn-ghost { display: inline-flex; }  /* …unless signup is off — then Sign In is the CTA */
  .wrap { padding: 0 18px; }
  .section { padding: 3.4rem 0; }
  .hero { padding-top: 3.2rem; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 42px); }
  .hero-shot { padding: 0 14px; margin-top: 2.4rem; }
  .shot-frame { border-radius: 10px; }
  .shot-frame .shot-bar .shot-url { display: none; }   /* pill collides with dots on narrow shots */
  .report-kinds { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .trial-band { border-radius: 18px; padding: 2.2rem 1.4rem; }
  .signup-card { padding: 1.6rem 1.3rem 1.4rem; }
  .foot-grid { flex-direction: column; }
}
