/* CommunityOS — marketing.css
   Shared stylesheet for all marketing pages.
   Extracted from the homepage to enable consistency across /platform, /web3,
   /agencies, /engine, /pricing, /glossary, /case-studies, /compare/*, /about,
   /brand, /blog, /resources, /waitlist. */

:root {
  --signal-black: #07080D;
  --surface: #0F1118;
  --surface-2: #161821;
  --surface-3: #1C1F2A;
  --border: #1E2230;
  --border-strong: #2A2F40;
  --bone: #F5F5F1;
  --bone-dim: #A8ADBA;
  --bone-faint: #6B7080;
  --blue: #4A9EFF;
  --teal: #2DD4BF;
  --gold: #F59E0B;
  --risk: #EF4444;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *{animation:none!important;transition:none!important;} }
body {
  background: var(--signal-black); color: var(--bone);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.5;
}
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
::selection { background: rgba(74,158,255,.25); }
.ic { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* NAV */
nav { position: sticky; top: 0; z-index: 200; background: rgba(7,8,13,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 15px 32px; max-width: 1180px; margin: 0 auto; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo span { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a.nl { font-size: 14px; color: var(--bone-dim); padding: 4px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav-links a.nl:hover { color: var(--bone); }
.nav-links a.nl.active { color: var(--bone); border-bottom-color: var(--blue); }
.nav-links a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { box-shadow: 0 8px 28px rgba(74,158,255,.4); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--bone-dim); }
.btn-nav { padding: 9px 18px; font-size: 13px; }

/* HERO */
.hero { position: relative; overflow: hidden; padding: 88px 0 80px; border-bottom: 1px solid var(--border); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 80% 12%, rgba(74,158,255,.12) 0%, transparent 52%), radial-gradient(ellipse at 8% 92%, rgba(45,212,191,.07) 0%, transparent 48%); }
.hero-inner { position: relative; }
.hero-inner .eyebrow { color: var(--blue); margin-bottom: 24px; display: block; }
.hero-inner h1 { font-size: clamp(40px, 4.8vw, 62px); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 24px; max-width: 920px; }
.hero-inner h1 .a1 { color: var(--blue); }
.hero-inner h1 .a2 { color: var(--teal); }
.hero-lede { font-size: 17px; color: var(--bone-dim); max-width: 720px; margin-bottom: 32px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }
.hero-facts { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 28px; margin-top: 32px; border-top: 1px solid var(--border); }
.fact .n { font-family: 'IBM Plex Mono', monospace; font-size: 28px; font-weight: 600; }
.fact .n.gold { color: var(--gold); } .fact .n.blue { color: var(--blue); } .fact .n.teal { color: var(--teal); }
.fact .l { font-size: 13px; color: var(--bone-dim); margin-top: 5px; }
.hero-note { font-size: 11px; color: var(--bone-dim); margin-top: 16px; letter-spacing: .08em; font-family: 'IBM Plex Mono', monospace; }

/* SECTIONS */
section { padding: 92px 0; border-bottom: 1px solid var(--border); }
section.alt { background: #0A0B12; }
section:last-of-type { border-bottom: none; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head .eyebrow { color: var(--blue); margin-bottom: 18px; display: block; }
.sec-head h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 16px; }
.sec-head p { font-size: 17px; color: var(--bone-dim); line-height: 1.65; }

/* PROSE — for long-form body */
.prose { max-width: 760px; }
.prose p { font-size: 16px; color: var(--bone-dim); line-height: 1.75; margin-bottom: 18px; }
.prose h3 { font-size: 22px; font-weight: 700; color: var(--bone); margin: 32px 0 14px; letter-spacing: -.01em; }
.prose h4 { font-size: 17px; font-weight: 600; color: var(--bone); margin: 26px 0 10px; }
.prose ul { list-style: none; margin: 14px 0 24px; }
.prose ul li { font-size: 15px; color: var(--bone-dim); line-height: 1.7; padding: 5px 0 5px 22px; position: relative; }
.prose ul li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-family: 'IBM Plex Mono', monospace; font-weight: 600; }
.prose a { color: var(--blue); border-bottom: 1px solid rgba(74,158,255,.3); transition: border-color .15s; }
.prose a:hover { border-bottom-color: var(--blue); }
.prose strong { color: var(--bone); font-weight: 600; }
.prose em { color: var(--bone); font-style: italic; }
.prose .lede { font-size: 18px; color: var(--bone); margin-bottom: 26px; line-height: 1.7; }

/* CARDS GRIDS */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
}
.card .k { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .14em; color: var(--blue); margin-bottom: 14px; }
.card .t { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.card .b { font-size: 14px; color: var(--bone-dim); line-height: 1.7; }
.card.accent-blue { border-left: 3px solid var(--blue); }
.card.accent-teal { border-left: 3px solid var(--teal); }
.card.accent-gold { border-left: 3px solid var(--gold); }

/* COMPARISON TABLE */
.cmp-table { width: 100%; border-collapse: collapse; margin: 32px 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.cmp-table th, .cmp-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: top; }
.cmp-table th { background: var(--surface-2); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .14em; color: var(--bone-dim); font-weight: 600; text-transform: uppercase; }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table .us { color: var(--teal); }
.cmp-table .them { color: var(--bone-dim); }
.cmp-table tbody td:first-child { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--bone-dim); letter-spacing: .04em; }

/* PRICING TABLE */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 32px 26px; display: flex; flex-direction: column; }
.tier.featured { border-color: rgba(74,158,255,.5); background: linear-gradient(180deg, rgba(74,158,255,.04), var(--surface)); }
.tier .name { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .14em; color: var(--blue); margin-bottom: 14px; }
.tier .price { font-size: 36px; font-weight: 700; margin-bottom: 4px; letter-spacing: -.02em; }
.tier .price .per { font-size: 14px; color: var(--bone-dim); font-weight: 400; }
.tier .b { font-size: 14px; color: var(--bone-dim); line-height: 1.6; margin-bottom: 22px; }
.tier ul { list-style: none; margin-bottom: 24px; flex-grow: 1; }
.tier ul li { font-size: 13.5px; color: var(--bone-dim); line-height: 1.6; padding: 6px 0 6px 22px; position: relative; }
.tier ul li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 600; }
.tier .btn { width: 100%; justify-content: center; }

/* FAQ / GLOSSARY Q&A */
.faq-list { max-width: 760px; }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--border); }
.faq-item:first-child { padding-top: 0; }
.faq-item .q { font-size: 18px; font-weight: 600; color: var(--bone); margin-bottom: 10px; letter-spacing: -.005em; }
.faq-item .a { font-size: 15px; color: var(--bone-dim); line-height: 1.75; }

/* CTA BLOCK */
.cta-block { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; padding: 48px; text-align: center; margin-top: 48px; }
.cta-block .eyebrow { color: var(--teal); display: block; margin-bottom: 14px; }
.cta-block h3 { font-size: 28px; font-weight: 700; margin-bottom: 14px; letter-spacing: -.02em; }
.cta-block p { font-size: 16px; color: var(--bone-dim); margin-bottom: 22px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 56px 0 44px; background: #0A0B12; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.foot-brand p { font-size: 13px; color: var(--bone-dim); margin-top: 14px; max-width: 280px; line-height: 1.6; }
.fcol .h { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .14em; color: var(--bone-faint); margin-bottom: 16px; text-transform: uppercase; }
.fcol a { display: block; font-size: 14px; color: var(--bone-dim); padding: 5px 0; transition: color .15s; }
.fcol a:hover { color: var(--bone); }
.foot-base { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 14px; }
.foot-base .c { font-size: 13px; color: var(--bone-faint); }
.foot-base .tag { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .12em; color: var(--bone-faint); }

/* WAITLIST FORM */
.wl-section { padding: 80px 0; }
.wl-box { max-width: 640px; margin: 0 auto; text-align: center; }
.wl-box .eyebrow { color: var(--teal); display: block; margin-bottom: 18px; }
.wl-box h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.025em; margin-bottom: 14px; }
.wl-box p { font-size: 16px; color: var(--bone-dim); margin-bottom: 32px; line-height: 1.65; }
.wl-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.wl-form input { flex: 1; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 8px; padding: 13px 16px; color: var(--bone); font-size: 14px; font-family: inherit; }
.wl-form input::placeholder { color: var(--bone-faint); }
.wl-form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.wl-msg { font-family: 'IBM Plex Mono', monospace; font-size: 12px; margin-top: 16px; min-height: 18px; letter-spacing: .02em; }
.wl-msg.ok { color: var(--teal); }
.wl-msg.err { color: var(--gold); }

/* BREADCRUMBS */
.breadcrumb { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em; color: var(--bone-faint); margin-bottom: 24px; }
.breadcrumb a { color: var(--bone-dim); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--bone); border-bottom-color: var(--bone-dim); }
.breadcrumb .sep { margin: 0 10px; color: var(--bone-faint); }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a.nl { display: none; }
  section { padding: 60px 0; }
}
@media (max-width: 640px) {
  .tier-grid { grid-template-columns: 1fr; }
  .cmp-table th, .cmp-table td { padding: 12px 14px; font-size: 13px; }
}
