/* ============================================================
   BLD PULSE — Construction & Development Intelligence
   Brand: Slate Navy #37404D  •  Orange #F26722
   ============================================================ */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.3vw, 0.9375rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.55vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1.2rem + 4vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.875rem;
  --radius-xl: 1.25rem; --radius-full: 9999px;

  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 680px;
  --content-default: 1000px;
  --content-wide: 1240px;

  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;

  /* Brand constants */
  --brand-slate: #37404d;
  --brand-slate-deep: #2b3340;
  --brand-slate-darker: #222932;
  --brand-orange: #f26722;
  --brand-orange-hover: #e0540f;
}

/* LIGHT MODE */
:root, [data-theme='light'] {
  --color-bg: #f6f7f9;
  --color-surface: #ffffff;
  --color-surface-2: #fbfcfd;
  --color-surface-offset: #eef1f4;
  --color-border: #dde2e8;
  --color-divider: #e7ebef;

  --color-text: #232a33;
  --color-text-muted: #5d6672;
  --color-text-faint: #9aa3b0;
  --color-text-inverse: #f6f7f9;

  --color-primary: #f26722;
  --color-primary-hover: #e0540f;
  --color-primary-soft: #fff1e9;

  --color-ink: #37404d;          /* slate brand for headings/structure */
  --color-ink-soft: #4a5562;

  --shadow-sm: 0 1px 2px rgba(34,41,50,0.06), 0 1px 3px rgba(34,41,50,0.05);
  --shadow-md: 0 4px 16px rgba(34,41,50,0.08);
  --shadow-lg: 0 18px 48px rgba(34,41,50,0.14);

  --hero-overlay: linear-gradient(180deg, rgba(34,41,50,0.55) 0%, rgba(34,41,50,0.78) 60%, rgba(34,41,50,0.92) 100%);
}

/* DARK MODE */
[data-theme='dark'] {
  --color-bg: #181c22;
  --color-surface: #20252d;
  --color-surface-2: #242a33;
  --color-surface-offset: #2a313b;
  --color-border: #343c47;
  --color-divider: #2c333d;

  --color-text: #e4e8ed;
  --color-text-muted: #9aa3b0;
  --color-text-faint: #6b7480;
  --color-text-inverse: #181c22;

  --color-primary: #f97e3c;
  --color-primary-hover: #fb9356;
  --color-primary-soft: #36241a;

  --color-ink: #e4e8ed;
  --color-ink-soft: #c2c9d2;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 18px 48px rgba(0,0,0,0.55);

  --hero-overlay: linear-gradient(180deg, rgba(20,24,29,0.55) 0%, rgba(20,24,29,0.82) 60%, rgba(20,24,29,0.95) 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #181c22; --color-surface: #20252d; --color-surface-2: #242a33;
    --color-surface-offset: #2a313b; --color-border: #343c47; --color-divider: #2c333d;
    --color-text: #e4e8ed; --color-text-muted: #9aa3b0; --color-text-faint: #6b7480;
    --color-text-inverse: #181c22; --color-primary: #f97e3c; --color-primary-hover: #fb9356;
    --color-primary-soft: #36241a; --color-ink: #e4e8ed; --color-ink-soft: #c2c9d2;
    --hero-overlay: linear-gradient(180deg, rgba(20,24,29,0.55) 0%, rgba(20,24,29,0.82) 60%, rgba(20,24,29,0.95) 100%);
  }
}

/* ---------------- Base ---------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  min-height: 100dvh; line-height: 1.6;
  font-family: var(--font-body); font-size: var(--text-base);
  color: var(--color-text); background: var(--color-bg);
  transition: background var(--transition), color var(--transition);
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.1; font-family: var(--font-display); color: var(--color-ink); letter-spacing: -0.01em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(242,103,34,0.22); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

a, button, input, select, textarea {
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms!important; transition-duration: .01ms!important; scroll-behavior: auto!important; }
}

/* ---------------- Layout ---------------- */
.wrap { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-6); }
.wrap-narrow { max-width: var(--content-narrow); }
.wrap-default { max-width: var(--content-default); }
section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-primary);
  font-family: var(--font-body);
}
.eyebrow::before { content:''; width: 22px; height: 2px; background: var(--color-primary); border-radius: 2px; }
.section-title { font-size: var(--text-2xl); font-weight: 700; margin-top: var(--space-3); }
.section-lead { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 56ch; margin-top: var(--space-4); line-height: 1.55; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm);
  padding: 0.8rem 1.4rem; border-radius: var(--radius-md); border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 6px 18px rgba(242,103,34,0.28); }
.btn-primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242,103,34,0.34); }
.btn-ghost { background: transparent; color: var(--color-ink); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-light { background: #fff; color: var(--brand-slate); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 1rem 1.8rem; font-size: var(--text-base); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--color-divider);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: var(--space-6); }
.brand-logo { height: 30px; width: auto; }
.brand-logo.dark-logo { display: var(--logo-dark, none); }
.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav a.navlink { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); }
.nav a.navlink:hover { color: var(--color-primary); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius-md); border: 1px solid var(--color-border); color: var(--color-text-muted); }
.theme-toggle:hover { color: var(--color-primary); border-color: var(--color-primary); }
.menu-btn { display: none; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: var(--hero-overlay); }

/* Animated brand pulse line over the hero photo */
.hero-pulse { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); width: 100%; height: 46%; z-index: -1; pointer-events: none; opacity: 0.95; }
#pulsePath {
  stroke-dasharray: var(--pulse-len, 3200);
  stroke-dashoffset: var(--pulse-len, 3200);
  animation: pulse-draw 2.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}
#pulseDot { opacity: 0; animation: pulse-dot-in 0.5s ease-out 2.7s forwards, pulse-dot-throb 2.4s ease-in-out 3.2s infinite; }
@keyframes pulse-draw { to { stroke-dashoffset: 0; } }
@keyframes pulse-dot-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse-dot-throb {
  0%, 100% { r: 6; opacity: 1; }
  50% { r: 8.5; opacity: 0.75; }
}
@media (prefers-reduced-motion: reduce) {
  #pulsePath { animation: none; stroke-dashoffset: 0; }
  #pulseDot { animation: none; opacity: 1; }
}
.hero-inner { padding-block: clamp(var(--space-24), 14vw, 11rem); }
.hero-content { max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 0.85rem; border-radius: var(--radius-full); backdrop-filter: blur(4px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-orange); box-shadow: 0 0 0 3px rgba(242,103,34,0.3); }
.hero h1 { color: #fff; font-size: var(--text-3xl); font-weight: 800; margin-top: var(--space-6); letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--brand-orange); }
.hero-sub { color: rgba(255,255,255,0.86); font-size: var(--text-lg); margin-top: var(--space-6); max-width: 54ch; line-height: 1.55; }
.hero-form { margin-top: var(--space-8); }
.hero-cta-row { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }
.hero-meta { color: rgba(255,255,255,0.7); font-size: var(--text-sm); margin-top: var(--space-5); display: flex; gap: var(--space-5); flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero-meta svg { color: var(--brand-orange); flex-shrink: 0; }

/* inline signup field */
.signup-inline { display: flex; gap: var(--space-3); flex-wrap: wrap; max-width: 520px; }
.signup-inline input[type=email] {
  flex: 1 1 240px; padding: 0.95rem 1.1rem; border-radius: var(--radius-md);
  border: 1.5px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.95);
  color: #232a33; font-size: var(--text-base);
}
.signup-inline input::placeholder { color: #7a828d; }
.signup-inline input:focus { outline: none; border-color: var(--brand-orange); box-shadow: 0 0 0 3px rgba(242,103,34,0.3); }

/* ---------------- Stat strip ---------------- */
.stat-strip { background: var(--brand-slate-deep); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); padding-block: var(--space-12); }
.stat { text-align: center; color: #fff; }
.stat .num { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; color: var(--brand-orange); line-height: 1; }
.stat .lbl { font-size: var(--text-sm); color: rgba(255,255,255,0.72); margin-top: var(--space-2); }

/* ---------------- Coverage / features ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-12); }
.feat-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.feat-card::before { content:''; position:absolute; top:0; left:0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand-orange), transparent 70%); opacity: 0; transition: opacity var(--transition); }
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border)); }
.feat-card:hover::before { opacity: 1; }
.feat-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--color-primary-soft); color: var(--color-primary); margin-bottom: var(--space-5); }
.feat-card h3 { font-size: var(--text-lg); font-weight: 700; }
.feat-card p { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-3); line-height: 1.55; }

/* ---------------- Sample preview ---------------- */
.sample { background: var(--color-surface-offset); }
.sample-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-16); align-items: center; }
.sample-mock {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden;
}
.sample-mock .mock-head { background: var(--brand-slate); padding: var(--space-5) var(--space-6); display: flex; align-items: center; justify-content: space-between; }
.sample-mock .mock-head .mh-title { color:#fff; font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); display:flex; align-items:center; gap: var(--space-2); }
.sample-mock .mock-head .mh-pulse { width: 9px; height: 9px; border-radius:50%; background: var(--brand-orange); }
.sample-mock .mock-head .mh-date { color: rgba(255,255,255,0.6); font-size: var(--text-xs); }
.mock-body { padding: var(--space-6); }
.mock-section-label { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); }
.mock-bullets { list-style: none; margin: var(--space-3) 0 var(--space-5); display: grid; gap: var(--space-2); }
.mock-bullets li { font-size: var(--text-sm); color: var(--color-text-muted); padding-left: var(--space-5); position: relative; }
.mock-bullets li::before { content:''; position:absolute; left:0; top: 0.55em; width:7px; height:7px; border-radius:2px; background: var(--brand-orange); }
.mock-table { width:100%; border-collapse: collapse; font-size: var(--text-xs); margin-top: var(--space-2); }
.mock-table th, .mock-table td { text-align:left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--color-divider); }
.mock-table th { color: var(--color-ink); font-weight:700; background: var(--color-surface-offset); }
.mock-table td { color: var(--color-text-muted); }
.tag { display:inline-block; font-size: 0.7rem; font-weight:700; padding: 0.15rem 0.5rem; border-radius: var(--radius-full); }
.tag-pos { background:#e3f3e8; color:#1f7a3d; } .tag-neu{ background:#eef1f4; color:#5d6672; } .tag-cau{ background:#fdeede; color:#b5680c; } .tag-det{ background:#fbe4e4; color:#b0322c; }
[data-theme='dark'] .tag-pos{background:#1d3324;color:#7cd49a}[data-theme='dark'] .tag-neu{background:#2a313b;color:#9aa3b0}[data-theme='dark'] .tag-cau{background:#3a2c18;color:#e0a657}[data-theme='dark'] .tag-det{background:#3a201f;color:#e08680}
.sample-points { list-style: none; display: grid; gap: var(--space-5); margin-top: var(--space-8); }
.sample-points li { display: flex; gap: var(--space-4); }
.sample-points .sp-ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--color-primary-soft); color: var(--color-primary); display: grid; place-items: center; }
.sample-points h4 { font-size: var(--text-base); font-weight: 700; color: var(--color-ink); }
.sample-points p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 2px; }

/* ---------------- Pricing ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-12); align-items: stretch; }
.price-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-8); display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--color-primary); box-shadow: 0 12px 36px rgba(242,103,34,0.18); position: relative; }
.price-card.featured::after { content:'Most popular'; position:absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-primary); color:#fff; font-size: var(--text-xs); font-weight:700; padding: 0.3rem 0.9rem; border-radius: var(--radius-full); letter-spacing: 0.04em; }
.price-card .plan { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--color-ink); }
.price-card .price { margin: var(--space-4) 0; display: flex; align-items: baseline; gap: var(--space-2); }
.price-card .price .amt { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; color: var(--color-ink); }
.price-card .price .per { color: var(--color-text-faint); font-size: var(--text-sm); }
.price-card .plan-desc { color: var(--color-text-muted); font-size: var(--text-sm); min-height: 2.6em; }
.price-list { list-style: none; margin: var(--space-6) 0; display: grid; gap: var(--space-3); flex: 1; }
.price-list li { font-size: var(--text-sm); color: var(--color-text); padding-left: var(--space-6); position: relative; line-height: 1.4; }
.price-list li::before { content:'✓'; position:absolute; left:0; color: var(--color-primary); font-weight:800; }
.price-list li.muted { color: var(--color-text-faint); } .price-list li.muted::before { content:'–'; color: var(--color-text-faint); }

/* ---------------- Audience ---------------- */
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-top: var(--space-10); }
.aud-chip { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-5); text-align:center; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.aud-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--brand-slate); position: relative; overflow: hidden; }
.cta-band::before { content:''; position:absolute; inset:0; background:
   radial-gradient(900px 400px at 85% -10%, rgba(242,103,34,0.22), transparent 60%); }
.cta-inner { position: relative; text-align: center; padding-block: var(--space-24); }
.cta-inner h2 { color:#fff; font-size: var(--text-2xl); font-weight: 800; }
.cta-inner p { color: rgba(255,255,255,0.82); font-size: var(--text-lg); margin-top: var(--space-4); max-width: 50ch; margin-inline: auto; }
.cta-form { margin-top: var(--space-8); display:flex; justify-content:center; }
.cta-note { color: rgba(255,255,255,0.6); font-size: var(--text-xs); margin-top: var(--space-4); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--brand-slate-darker); color: rgba(255,255,255,0.7); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-12); padding-block: var(--space-16); }
.footer-logo { height: 32px; margin-bottom: var(--space-5); }
.footer-blurb { font-size: var(--text-sm); max-width: 38ch; line-height: 1.6; }
.footer-col h4 { color:#fff; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--space-4); }
.footer-col a { display:block; font-size: var(--text-sm); margin-bottom: var(--space-3); color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--brand-orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: var(--space-6); display:flex; justify-content: space-between; align-items:center; flex-wrap:wrap; gap: var(--space-3); font-size: var(--text-xs); color: rgba(255,255,255,0.5); }

/* ---------------- Toast / form states ---------------- */
.form-msg { font-size: var(--text-sm); margin-top: var(--space-3); min-height: 1.2em; }
.form-msg.ok { color: #fff; font-weight: 600; }
.form-msg.err { color: #ffd4c2; font-weight: 600; }
.cta-form .form-msg, .hero-form .form-msg { color: #fff; }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .sample-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .card-grid, .price-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .aud-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .dir-switch { bottom: var(--space-3); }
  .hero-meta { gap: var(--space-3); }
}

/* ============================================================
   SHARED PAGE COMPONENTS (multi-page build)
   ============================================================ */

/* Mobile nav toggle */
.menu-btn { display: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius-md); border: 1px solid var(--color-border); color: var(--color-text-muted); }
.menu-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }
.nav a.navlink.active { color: var(--color-primary); }

/* Page hero (interior pages) */
.page-hero { background: var(--brand-slate); position: relative; overflow: hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background: radial-gradient(900px 420px at 80% -20%, rgba(242,103,34,0.20), transparent 62%); }
.page-hero .wrap { position: relative; padding-block: clamp(var(--space-16), 9vw, var(--space-24)); }
.page-hero .eyebrow { color: var(--brand-orange); }
.page-hero .eyebrow::before { background: var(--brand-orange); }
.page-hero h1 { color: #fff; font-size: var(--text-3xl); font-weight: 800; margin-top: var(--space-4); letter-spacing: -0.02em; max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: var(--text-lg); margin-top: var(--space-5); max-width: 60ch; line-height: 1.55; }

/* Prose blocks */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--text-xl); font-weight: 700; margin-top: var(--space-12); margin-bottom: var(--space-4); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--text-lg); font-weight: 700; margin-top: var(--space-8); margin-bottom: var(--space-3); }
.prose p { color: var(--color-text-muted); margin-bottom: var(--space-4); line-height: 1.7; }
.prose ul { list-style: none; display: grid; gap: var(--space-3); margin: var(--space-4) 0; }
.prose ul li { position: relative; padding-left: var(--space-6); color: var(--color-text-muted); line-height: 1.6; }
.prose ul li::before { content:''; position:absolute; left:0; top:0.6em; width:7px; height:7px; border-radius:2px; background: var(--brand-orange); }
.prose strong { color: var(--color-text); font-weight: 700; }
.prose a.inline-link { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }

/* Two-column value rows (About) */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-12); }
.value-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-sm); }
.value-card .feat-icon { margin-bottom: var(--space-4); }
.value-card h3 { font-size: var(--text-lg); font-weight: 700; }
.value-card p { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-3); line-height: 1.6; }

/* Stat row reusable (About) */
.about-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-6); margin-top: var(--space-12); }
.about-stat { text-align: center; padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.about-stat .num { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; color: var(--color-primary); line-height: 1; }
.about-stat .lbl { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-2); }

/* FAQ accordion */
.faq-list { max-width: var(--content-narrow); margin-inline: auto; margin-top: var(--space-10); display: grid; gap: var(--space-3); }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-6); text-align: left; font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); color: var(--color-ink); }
.faq-q:hover { color: var(--color-primary); }
.faq-q .chev { flex-shrink: 0; transition: transform var(--transition); color: var(--color-primary); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s cubic-bezier(0.4,0,0.2,1); }
.faq-a-inner { padding: 0 var(--space-6) var(--space-5); color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.65; }
.faq-a-inner p { margin-bottom: var(--space-3); }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* FAQ category groups */
.faq-cat { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--color-ink); max-width: var(--content-narrow); margin: var(--space-12) auto var(--space-4); }
.faq-cat:first-of-type { margin-top: var(--space-10); }

/* ============================================================
   SIGNUP / PREFERENCES FORM
   ============================================================ */
.signup-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-16); align-items: start; }
.signup-main {}
.signup-aside { position: sticky; top: 96px; }

/* Progress steps */
.steps { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-8); }
.step-dot { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); font-weight: 600; color: var(--color-text-faint); }
.step-dot .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--color-surface-offset); color: var(--color-text-muted); border: 1.5px solid var(--color-border); font-weight: 700; transition: all var(--transition); }
.step-dot.active .n { background: var(--color-primary); color:#fff; border-color: var(--color-primary); }
.step-dot.active { color: var(--color-text); }
.step-dot.done .n { background: var(--color-primary-soft); color: var(--color-primary); border-color: var(--color-primary); }
.step-line { flex: 1; height: 2px; background: var(--color-border); border-radius: 2px; min-width: 16px; }

/* Form fields */
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); margin-bottom: var(--space-2); }
.field .hint { font-size: var(--text-xs); color: var(--color-text-faint); font-weight: 500; margin-left: var(--space-2); }
.field .req { font-size: var(--text-xs); color: var(--color-text-faint); font-weight: 600; margin-left: var(--space-2); }
.field .req .req-star { color: var(--color-primary); font-weight: 800; }
.field input[type=text], .field input[type=email], .field select {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border); background: var(--color-surface); color: var(--color-text); font-size: var(--text-base);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(242,103,34,0.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

/* Step panels — single-page mode: all visible, stacked with separators */
.step-panel { display: none; }
.step-panel.active { display: block; animation: panel-in 0.35s cubic-bezier(0.16,1,0.3,1); }
.step-panel.active + .step-panel.active { margin-top: var(--space-12); padding-top: var(--space-10); border-top: 1px solid var(--color-divider); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-head { margin-bottom: var(--space-6); }
.step-head h2 { font-size: var(--text-xl); font-weight: 700; }
.step-head p { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-2); }

/* Selectable cards (newsletters, sectors, plan, cadence) */
.choice-grid { display: grid; gap: var(--space-3); }
.choice-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.choice {
  position: relative; display: flex; gap: var(--space-3); align-items: flex-start;
  padding: var(--space-4) var(--space-5); border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md); background: var(--color-surface); cursor: pointer;
}
.choice:hover { border-color: color-mix(in srgb, var(--color-primary) 45%, var(--color-border)); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--color-border); display: grid; place-items: center; color:#fff; transition: all var(--transition); margin-top: 1px; }
.choice .check svg { opacity: 0; transform: scale(0.5); transition: all var(--transition); }
.choice.radio .check { border-radius: 50%; }
.choice input:checked ~ .check { background: var(--color-primary); border-color: var(--color-primary); }
.choice input:checked ~ .check svg { opacity: 1; transform: scale(1); }
.choice input:checked ~ .choice-text .ct-title { color: var(--color-primary); }
.choice:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-soft); }
.choice-text { display: flex; flex-direction: column; gap: 3px; }
.choice-text .ct-title { display: block; font-weight: 700; font-size: var(--text-sm); color: var(--color-ink); }
.choice-text .ct-desc { display: block; font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.5; }

/* Tag/keyword input */
.tag-input { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-3); border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); min-height: 52px; align-items: center; }
.tag-input:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(242,103,34,0.18); }
.tag-input input { flex: 1 1 120px; border: none; outline: none; background: transparent; padding: 0.3rem; font-size: var(--text-sm); min-width: 120px; }
.pill { display: inline-flex; align-items: center; gap: var(--space-2); background: var(--color-primary-soft); color: var(--color-primary); font-size: var(--text-sm); font-weight: 600; padding: 0.3rem 0.6rem 0.3rem 0.7rem; border-radius: var(--radius-full); }
.pill button { color: var(--color-primary); display: inline-flex; line-height: 0; padding: 0; opacity: 0.7; }
.pill button:hover { opacity: 1; }
.tag-suggest { margin-top: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag-suggest .sug { font-size: var(--text-xs); font-weight: 600; padding: 0.35rem 0.7rem; border-radius: var(--radius-full); border: 1px dashed var(--color-border); color: var(--color-text-muted); }
.tag-suggest .sug:hover { border-color: var(--color-primary); color: var(--color-primary); border-style: solid; }

/* Submit button — aligned left under the form, matching the work email field */
.step-actions { display: flex; justify-content: flex-start; gap: var(--space-4); margin-top: var(--space-10); padding-top: var(--space-8); border-top: 1px solid var(--color-divider); }
.step-actions .btn { min-width: 220px; }

/* Aside summary card */
.summary-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.summary-card .sc-head { background: var(--brand-slate); padding: var(--space-5) var(--space-6); }
.summary-card .sc-head .sc-title { color:#fff; font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); display:flex; align-items:center; gap: var(--space-2); }
.summary-card .sc-head .sc-pulse { width: 9px; height: 9px; border-radius:50%; background: var(--brand-orange); animation: pulse-dot-throb 2.4s ease-in-out infinite; }
.summary-card .sc-head .sc-sub { color: rgba(255,255,255,0.6); font-size: var(--text-xs); margin-top: var(--space-1); }
.sc-body { padding: var(--space-6); }
.sc-row { margin-bottom: var(--space-5); }
.sc-row:last-child { margin-bottom: 0; }
.sc-label { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-primary); margin-bottom: var(--space-2); }
.sc-val { font-size: var(--text-sm); color: var(--color-text); }
.sc-val.empty { color: var(--color-text-faint); font-style: italic; }
.sc-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.sc-chips span { font-size: var(--text-xs); font-weight: 600; padding: 0.25rem 0.6rem; border-radius: var(--radius-full); background: var(--color-surface-offset); color: var(--color-text); }

/* Success state */
.signup-success { display: none; text-align: center; max-width: 540px; margin-inline: auto; padding: var(--space-12) 0; }
.signup-success.show { display: block; animation: panel-in 0.4s cubic-bezier(0.16,1,0.3,1); }
.success-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); display: grid; place-items: center; margin: 0 auto var(--space-6); }
.signup-success h2 { font-size: var(--text-2xl); font-weight: 800; }
.signup-success p { color: var(--color-text-muted); font-size: var(--text-lg); margin-top: var(--space-4); }

/* form error inline */
.field-err { color: var(--color-primary); font-size: var(--text-xs); font-weight: 600; margin-top: var(--space-2); display: none; }
.field-err.show { display: block; }

/* ---------------- Responsive (multi-page) ---------------- */
@media (max-width: 980px) {
  .signup-layout { grid-template-columns: 1fr; gap: var(--space-10); }
  .signup-aside { position: static; order: 0; margin-top: var(--space-4); }
  .value-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: var(--space-3) var(--space-6); box-shadow: var(--shadow-md); }
  .nav.open a.navlink { padding: var(--space-3) 0; border-bottom: 1px solid var(--color-divider); }
  .nav.open a.navlink:last-child { border-bottom: none; }
  .choice-grid.cols-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .step-dot .lbl-txt { display: none; }
}
