/* Relay design system — dark-mode-first, Linear/Arc/GitHub lineage.
   High information density, elegant type, subtle gradients, premium motion. */

:root {
  --bg: #0a0b0f;
  --bg-1: #0e1016;
  --bg-2: #14161f;
  --bg-3: #1a1d28;
  --line: #23262f;
  --line-2: #2c3040;
  --text: #f4f5f8;
  --text-2: #c3c8d4;
  --text-3: #8b91a1;
  --accent: #7c8cff;
  --accent-2: #9d7cff;
  --accent-3: #ff6ec7;   /* magenta — the energy marketers respond to */
  --accent-cyan: #5ad1ff;
  --accent-glow: rgba(124, 140, 255, 0.22);
  --accent-grad: linear-gradient(110deg, #5ad1ff 0%, #7c8cff 38%, #9d7cff 64%, #ff6ec7 100%);
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Living aurora — a slow-drifting gradient mesh behind the black. */
body::before {
  content: "";
  position: fixed; inset: -20%;
  background:
    radial-gradient(680px 520px at 18% 12%, rgba(90, 209, 255, 0.14), transparent 60%),
    radial-gradient(760px 600px at 82% 0%, rgba(124, 140, 255, 0.18), transparent 62%),
    radial-gradient(720px 620px at 65% 78%, rgba(255, 110, 199, 0.12), transparent 60%),
    radial-gradient(640px 560px at 8% 88%, rgba(157, 124, 255, 0.14), transparent 58%);
  filter: blur(8px);
  pointer-events: none; z-index: 0;
  animation: aurora 26s ease-in-out infinite alternate;
}
/* Fine grain for tactile, premium depth. */
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.025; pointer-events: none; z-index: 0; mix-blend-mode: overlay;
}
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, -1%, 0) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent-glow); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(10, 11, 15, 0.72);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.02em; font-size: 19px; }
.logo .mark { width: 30px; height: 28px; }

/* ====================================================================
   The Relay mark — a lead square handing off to a trail of squares.
   The relay: knowledge passed forward, builder to builder.
   Animated in the product; the static "print" version is the trail frozen.
   ==================================================================== */
.relay-mark {
  position: relative; display: inline-block; vertical-align: middle;
  width: 30px; height: 28px;
}
.relay-mark i {
  position: absolute; top: 50%; border-radius: 5px; display: block;
  background: var(--accent-grad); background-size: 220% auto;
  transform: translateY(-50%);
}
/* lead square (the baton) */
.relay-mark i:nth-child(1) { right: 0;  width: 20px; height: 20px; border-radius: 6px; box-shadow: 0 0 16px var(--accent-glow); }
/* the trail — shrinking, fading, to the left */
.relay-mark i:nth-child(2) { right: 14px; width: 13px; height: 13px; opacity: 0.7; }
.relay-mark i:nth-child(3) { right: 24px; width: 8px;  height: 8px;  opacity: 0.45; }
.relay-mark i:nth-child(4) { right: 31px; width: 5px;  height: 5px;  opacity: 0.22; }

/* the handoff: each square pulses in sequence, left→right, like a baton passing */
@keyframes relay-pass {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50%      { transform: translateY(-50%) scale(1.22); }
}
.relay-mark i { animation: relay-pass 2.8s ease-in-out infinite; }
.relay-mark i:nth-child(4) { animation-delay: 0s; }
.relay-mark i:nth-child(3) { animation-delay: 0.18s; }
.relay-mark i:nth-child(2) { animation-delay: 0.36s; }
.relay-mark i:nth-child(1) { animation-delay: 0.54s; }
@media (prefers-reduced-motion: reduce) { .relay-mark i { animation: none; } }
.nav-links { display: flex; gap: 6px; margin-left: 14px; }
.nav-links a {
  padding: 10px 15px; border-radius: var(--radius-sm); font-size: 15.5px; font-weight: 500; color: var(--text-2);
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--bg-2); color: var(--text); }
.nav-links a.active { color: var(--text); background: var(--bg-2); }
.nav-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 500;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text);
  transition: transform .12s ease, border-color .15s, background .15s, box-shadow .2s;
}
.btn:hover { border-color: #3a3f52; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--accent-grad); background-size: 160% auto;
  border: none; color: #0a0b0f; font-weight: 600;
  box-shadow: 0 4px 22px rgba(124,140,255,0.35), 0 2px 8px rgba(255,110,199,0.18);
  transition: background-position .5s ease, box-shadow .25s, transform .12s;
}
.btn-primary:hover { background-position: 100% center; box-shadow: 0 8px 30px rgba(124,140,255,0.45), 0 4px 14px rgba(255,110,199,0.28); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--bg-2); color: var(--text); }
.btn-sm { padding: 6px 11px; font-size: 12.5px; }

/* ---------- hero ---------- */
.hero { padding: 90px 0 60px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line-2);
  padding: 5px 12px; border-radius: 100px; background: var(--bg-1); margin-bottom: 26px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.hero h1 {
  font-size: clamp(34px, 5.5vw, 60px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 650;
  max-width: 860px; margin: 0 auto 22px;
  background: linear-gradient(180deg, #fff 30%, #b7bccb); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { font-size: clamp(16px, 2vw, 19px); color: var(--text-2); max-width: 620px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.stat-row { display: flex; gap: 38px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat .n { font-size: 40px; font-weight: 680; letter-spacing: -0.03em; background: linear-gradient(180deg,#fff,#c2c7d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { font-size: 13px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* ---------- section headers ---------- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; gap: 20px; }
.section-head h2 { font-size: 30px; letter-spacing: -0.025em; font-weight: 640; }
.section-head p { color: var(--text-2); font-size: 15.5px; margin-top: 6px; max-width: 640px; }

/* ---------- search bar ---------- */
.searchbar {
  display: flex; align-items: center; gap: 10px; background: var(--bg-1); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 12px 16px; transition: border-color .15s, box-shadow .2s;
}
.searchbar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.searchbar input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 15px; }
.searchbar input::placeholder { color: var(--text-3); }
.searchbar .kbd { font-family: var(--mono); font-size: 11px; color: var(--text-3); border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 6px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 24px; }
.chip {
  font-size: 12.5px; color: var(--text-2); background: var(--bg-1); border: 1px solid var(--line);
  padding: 6px 11px; border-radius: 100px; transition: all .14s; user-select: none;
}
.chip:hover { border-color: var(--line-2); color: var(--text); }
.chip.active { background: var(--accent-glow); border-color: var(--accent); color: #cdd3ff; }

/* ---------- cards ---------- */
/* flex so the last row centers and items fill evenly — never a lonely box hanging left */
.grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.grid > * { flex: 1 1 330px; max-width: 480px; min-width: 300px; }
.card {
  background: linear-gradient(180deg, rgba(20,22,31,0.55), var(--bg-1));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  position: relative; overflow: hidden; transition: transform .18s ease, border-color .18s, box-shadow .3s;
  display: flex; flex-direction: column; min-height: 200px;
}
/* glowing gradient top-edge that lights up on hover */
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--accent-grad); opacity: 0; transition: opacity .3s;
}
.card:hover {
  transform: translateY(-4px); border-color: transparent;
  box-shadow: 0 16px 50px rgba(0,0,0,0.55), 0 0 0 1px rgba(124,140,255,0.35), 0 10px 40px rgba(124,140,255,0.12);
}
.card:hover::before { opacity: 1; }
.card .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.tag {
  font-size: 11px; padding: 3px 8px; border-radius: 6px; background: var(--bg-3); color: var(--text-2);
  border: 1px solid var(--line); font-weight: 500;
}
.tag.fn { color: #cdd3ff; border-color: #353a5a; background: rgba(124,140,255,.08); }
.stage { font-size: 11px; padding: 3px 8px; border-radius: 6px; font-weight: 600; text-transform: capitalize; }
.stage.production, .stage.scaled { color: var(--green); background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.2); }
.stage.pilot { color: var(--amber); background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.2); }
.stage.prototype { color: var(--accent); background: var(--accent-glow); border: 1px solid #353a5a; }
.card h3 { font-size: 16.5px; letter-spacing: -0.01em; font-weight: 600; margin-bottom: 8px; line-height: 1.25; }
.card .problem { font-size: 13.5px; color: var(--text-2); flex: 1; }
.card .problem .label { color: var(--text-3); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 3px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.identity { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #0a0b0f; }
.avatar.anon { background: var(--bg-3); border: 1px dashed var(--line-2); color: var(--text-3); }
.signals { display: flex; gap: 12px; font-size: 11.5px; color: var(--text-3); }
.signals span { display: inline-flex; align-items: center; gap: 4px; }
.lock-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.lock { font-size: 10.5px; color: var(--text-3); border: 1px dashed var(--line-2); border-radius: 5px; padding: 2px 7px; display: inline-flex; gap: 4px; align-items: center; }

/* recognition ribbon */
.recog { font-size: 10.5px; color: var(--amber); display: inline-flex; gap: 4px; align-items: center; }

/* ---------- detail view ---------- */
.detail-head { padding: 36px 0 8px; }
.breadcrumb { font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--text); }
.detail-title { font-size: 30px; letter-spacing: -0.025em; font-weight: 640; margin-bottom: 12px; max-width: 760px; }
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; padding-bottom: 80px; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.panel { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.panel h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 14px; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; font-size: 14px; }
.kv .k { color: var(--text-3); }
.kv .v { color: var(--text); }
.prose { font-size: 14.5px; color: var(--text-2); line-height: 1.7; }
.prose strong { color: var(--text); }
.aside { position: sticky; top: 76px; }
.locked-banner {
  background: linear-gradient(135deg, rgba(124,140,255,.08), rgba(157,124,255,.06));
  border: 1px solid #353a5a; border-radius: var(--radius); padding: 22px; text-align: center;
}
.locked-banner h4 { color: var(--text); font-size: 15px; text-transform: none; letter-spacing: 0; margin-bottom: 6px; }
.locked-banner p { color: var(--text-2); font-size: 13px; margin-bottom: 16px; }

.pill-list { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { font-size: 12px; padding: 4px 10px; border-radius: 100px; background: var(--bg-3); border: 1px solid var(--line); color: var(--text-2); }

/* ---------- ask the community ---------- */
.ask-box { background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; }
.ask-box textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--text); padding: 14px; font-family: inherit; font-size: 15px; resize: vertical; min-height: 84px; outline: none;
}
.ask-box textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.ask-answer { margin-top: 18px; background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 18px; font-size: 14.5px; color: var(--text); line-height: 1.65; }
.ask-meta { font-size: 11.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }

/* ---------- modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(5,6,9,.7); backdrop-filter: blur(6px); z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 40px 24px; opacity: 0; pointer-events: none; transition: opacity .2s; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal-bg.open { opacity: 1; pointer-events: auto; }
.modal { background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 16px; width: 100%; max-width: 460px; padding: 30px; box-shadow: var(--shadow); transform: translateY(8px) scale(.98); transition: transform .2s; margin: auto; }
.modal-bg.open .modal { transform: none; }
.modal h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 6px; }
.modal p.sub { color: var(--text-2); font-size: 13.5px; margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }
.field input, .field select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  color: var(--text); padding: 11px 13px; font-size: 14px; outline: none; font-family: inherit;
}
.field input::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: var(--bg-1); }
.modal-msg { font-size: 13px; padding: 11px 13px; border-radius: var(--radius-sm); margin-bottom: 14px; }
.modal-msg.ok { background: rgba(74,222,128,.1); color: var(--green); border: 1px solid rgba(74,222,128,.2); }
.modal-msg.err { background: rgba(248,113,113,.1); color: var(--red); border: 1px solid rgba(248,113,113,.2); }
.close-x { position: absolute; top: 18px; right: 18px; background: none; border: none; color: var(--text-3); font-size: 20px; }

/* ---------- privacy explainer ---------- */
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 920px) { .privacy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.privacy-card .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--bg-3); display: grid; place-items: center; margin-bottom: 16px; font-size: 20px; }
.privacy-card h4 { font-size: 17px; margin-bottom: 8px; }
.privacy-card p { font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* ---------- analytics ---------- */
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 14px; margin-bottom: 24px; }
.metric { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.metric .n { font-size: 26px; font-weight: 650; letter-spacing: -0.02em; }
.metric .l { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; }
.bar-row .name { width: 150px; color: var(--text-2); flex-shrink: 0; }
.bar-track { flex: 1; height: 8px; background: var(--bg-3); border-radius: 100px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 100px; }
.bar-row .val { width: 30px; text-align: right; color: var(--text-3); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--text-3); font-size: 13px; margin-top: 40px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* ---------- misc ---------- */
.muted { color: var(--text-3); }
.center { text-align: center; }
.fade-in { animation: fade .4s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.spinner { width: 16px; height: 16px; border: 2px solid var(--line-2); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.member-badge { font-size: 11px; color: var(--green); border: 1px solid rgba(74,222,128,.3); background: rgba(74,222,128,.08); padding: 3px 9px; border-radius: 100px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--bg-2); border: 1px solid var(--line-2); padding: 12px 18px; border-radius: var(--radius-sm); font-size: 13.5px; box-shadow: var(--shadow); opacity: 0; transition: all .25s; z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ====================================================================
   Relay additions — cinematic landing, build timeline, the Pledge
   ==================================================================== */

/* ---------- cinematic landing ---------- */
.cinema { position: relative; }
.cinema-hook {
  min-height: 78vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 56px 24px 40px;
}
.cinema-hook { position: relative; min-height: auto; gap: 22px; padding-top: 64px; padding-bottom: 56px; }
.cinema-hook .eyebrow { margin-bottom: 4px; }
/* glow halo behind the hook */
.cinema-hook::before {
  content: ""; position: absolute; top: 14%; left: 50%; transform: translateX(-50%);
  width: 720px; height: 360px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124,140,255,0.24), rgba(255,110,199,0.12), transparent 75%);
  filter: blur(34px); pointer-events: none; z-index: -1;
}
.cinema-hook h1 {
  font-size: clamp(38px, 6vw, 72px); line-height: 1.03; letter-spacing: -0.04em; font-weight: 650;
  max-width: 15ch; margin: 0 auto;
  background: linear-gradient(180deg, #fff 30%, #c2c7d6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hook-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); max-width: 600px; margin: 0 auto; line-height: 1.55; }
.hook-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.btn-lg { padding: 13px 24px; font-size: 15px; }
.hook-trust { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 13.5px; color: var(--text-3); margin-top: 6px; }
.hook-trust b { color: var(--text); font-weight: 600; }
.hook-trust .sep { opacity: .4; }
/* the emotional turn — now glows in the brand gradient instead of fading out */
.cinema-hook .line2 {
  background: var(--accent-grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.cinema-hook .scroll-cue { margin-top: 48px; color: var(--text-3); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cinema-hook .scroll-cue .arrow { width: 1px; height: 34px; background: linear-gradient(180deg, var(--text-3), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%,100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(6px); } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

.manifesto { padding: 56px 0 60px; text-align: center; }
.manifesto .stanza { font-size: clamp(21px, 2.8vw, 30px); line-height: 1.38; letter-spacing: -0.02em; max-width: 680px; margin: 0 auto; color: var(--text); font-weight: 480; }
.manifesto .stanza .dim { color: var(--text-3); display: block; }
.manifesto-rule { margin: 26px auto !important; }
.manifesto .stanza .accent { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
.manifesto-rule { width: 56px; height: 3px; background: var(--accent-grad); margin: 44px auto; border-radius: 3px; box-shadow: 0 0 16px var(--accent-glow); }

.closer { text-align: center; padding: 70px 0 100px; }
.closer h2 {
  font-size: clamp(26px, 4vw, 42px); letter-spacing: -0.03em; margin-bottom: 14px; font-weight: 640;
  background: linear-gradient(180deg, #fff, #c2c7d6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.closer p { color: var(--text-2); max-width: 560px; margin: 0 auto 30px; font-size: 17px; line-height: 1.55; }

/* ---------- build timeline (the build-in-public log) ---------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-2), transparent); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 22px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.tl-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.tl-week { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.tl-label { font-size: 14px; font-weight: 600; color: var(--text); }
.tl-note { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }

/* ---------- the Pledge ---------- */
.pledge { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px 18px 8px; background: var(--bg); margin: 6px 0 16px; }
.pledge h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 12px; }
.pledge ul { list-style: none; display: grid; gap: 8px; margin-bottom: 14px; }
.pledge li { font-size: 13.5px; color: var(--text); display: flex; gap: 9px; align-items: flex-start; }
.pledge li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pledge li.build::before { content: "→"; }
.pledge-agree { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-2); padding: 8px 0 12px; cursor: pointer; }
.pledge-agree input { width: 16px; height: 16px; accent-color: var(--accent); }

/* ---------- "what are you building" first screen ---------- */
.firstrun { text-align: center; padding: 70px 0 40px; }
.firstrun h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.02em; margin-bottom: 10px; }
.firstrun p { color: var(--text-2); margin-bottom: 26px; }
.big-start { font-size: 16px; padding: 16px 32px; }

/* ---------- stage label tweaks for "building" ---------- */
.stage.building { color: var(--accent); background: var(--accent-glow); border: 1px solid #353a5a; }

/* ====================================================================
   Member app shell — left vertical nav (ChatGPT/Claude lineage)
   Public site keeps the top bar; the member workspace lives in the rail.
   ==================================================================== */
.rail {
  position: fixed; top: 0; left: 0; bottom: 0; width: 248px; z-index: 60;
  background: linear-gradient(180deg, rgba(14,16,22,0.96), rgba(10,11,15,0.96));
  border-right: 1px solid var(--line); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; padding: 16px 12px;
}
.rail-brand { display: flex; align-items: center; gap: 11px; padding: 8px 10px 16px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.rail-brand .mark { width: 30px; height: 28px; }

.rail-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 4px 4px 14px; padding: 11px 14px; border-radius: 10px; font-size: 14px; font-weight: 600;
  background: var(--accent-grad); background-size: 160% auto; color: #0a0b0f;
  box-shadow: 0 4px 18px var(--accent-glow); transition: background-position .5s, transform .12s;
}
.rail-cta:hover { background-position: 100% center; transform: translateY(-1px); }

.rail-section { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); padding: 14px 12px 6px; }
.rail-link {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px;
  font-size: 14px; color: var(--text-2); transition: background .14s, color .14s; cursor: pointer;
}
.rail-link:hover { background: var(--bg-2); color: var(--text); }
.rail-link.active { background: var(--accent-glow); color: #cdd3ff; }
.rail-link .ic { width: 18px; text-align: center; opacity: .9; font-size: 15px; }
.rail-spacer { flex: 1; }
.rail-user {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-top: 8px;
  border-top: 1px solid var(--line); cursor: pointer; border-radius: 9px;
}
.rail-user:hover { background: var(--bg-2); }
.rail-user .who { font-size: 13px; line-height: 1.25; }
.rail-user .who .r { color: var(--text-3); font-size: 11.5px; }

/* when the rail is active, hide the top bar and shift content right */
body.member nav { display: none; }
body.member #app { padding-left: 248px; }
body.member footer { padding-left: 272px; }

@media (max-width: 820px) {
  .rail { width: 64px; padding: 14px 8px; }
  .rail-brand span, .rail-section, .rail-link span:not(.ic), .rail-cta span, .rail-user .who { display: none; }
  .rail-cta { padding: 11px 0; }
  body.member #app { padding-left: 64px; }
  body.member footer { padding-left: 88px; }
}

/* ---------- form field affordances (verification) ---------- */
.field .req { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; margin-left: 8px; font-weight: 600; }
.field-hint { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 6px; line-height: 1.4; }
.verified-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--accent-cyan); border: 1px solid rgba(90,209,255,0.3); background: rgba(90,209,255,0.08); padding: 3px 9px; border-radius: 100px; }

/* ---------- marketing-native card: lead with the job ---------- */
.card-job { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.3;
  background: linear-gradient(180deg,#fff,#cdd3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card .problem { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.card .problem .label { display:none; }

/* ---------- animated "relayed" word in the manifesto ---------- */
.relayed {
  background: var(--accent-grad); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 640; animation: shimmer 5s linear infinite;
}

/* ---------- founding team ---------- */
.founder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 18px; }
.founder-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: 16px; padding: 28px; text-align: center; position: relative; overflow: hidden; transition: transform .18s, border-color .2s, box-shadow .3s; }
.founder-card::before { content:""; position:absolute; inset:0 0 auto 0; height:2px; background:var(--accent-grad); opacity:0; transition:opacity .3s; }
.founder-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 16px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,140,255,0.3); }
.founder-card:hover::before { opacity:1; }
.founder-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-size: 22px; font-weight: 700; color: #0a0b0f; background: var(--accent-grad); box-shadow: 0 0 24px var(--accent-glow); }
.founder-card h3 { font-size: 18px; letter-spacing: -0.01em; }
.founder-role { font-size: 13px; color: var(--accent); font-weight: 600; margin: 4px 0 14px; }
.founder-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.founder-focus { margin-top: 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 14px; }

/* rail footer CTA for logged-out app browsing */
.rail-foot-cta { padding: 12px 6px 4px; border-top: 1px solid var(--line); }
@media (max-width: 820px) { .rail-foot-cta { display: none; } }

/* ---------- marketing-native intake: job picker ---------- */
.job-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 600px) { .job-picker { grid-template-columns: repeat(2, 1fr); } }
.job-chip { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 10px; font-size: 13px; text-align: left;
  background: var(--bg); border: 1px solid var(--line); color: var(--text-2); transition: all .14s; }
.job-chip:hover { border-color: var(--line-2); color: var(--text); }
.job-chip.active { border-color: var(--accent); background: var(--accent-glow); color: #cdd3ff; }
.job-chip .ji { font-size: 16px; }
.detail-job { font-size: 18px; font-weight: 600; line-height: 1.35; margin-bottom: 8px;
  background: linear-gradient(180deg,#fff,#cdd3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.repo-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--accent); word-break: break-all; }

/* ---------- endorsements wall ---------- */
.endorse-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.endorse-grid > * { flex: 1 1 280px; max-width: 380px; }
.endorse-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 16px; transition: border-color .2s, box-shadow .3s, transform .18s; }
.endorse-card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 14px 40px rgba(0,0,0,0.45); }
.endorse-quote { font-size: 15px; line-height: 1.6; color: var(--text); flex: 1; }
.endorse-who { display: flex; align-items: center; gap: 10px; }
.endorse-name { font-size: 13px; font-weight: 600; color: var(--text); }
.endorse-co { font-size: 12px; color: var(--text-3); }

/* ---------- platforms: intake picker, card tags, filter ---------- */
.platform-picker { display: flex; flex-direction: column; gap: 14px; }
.platform-group-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); margin-bottom: 7px; }
.platform-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.plat-chip { font-size: 12.5px; padding: 7px 12px; border-radius: 100px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text-2); transition: all .14s; }
.plat-chip:hover { border-color: #3a3f52; color: var(--text); }
.plat-chip.active { background: var(--accent-glow); border-color: var(--accent); color: #dfe3ff; font-weight: 500; }

.plat-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
.plat-tag { font-size: 11.5px; padding: 3px 9px; border-radius: 6px; background: rgba(124,140,255,0.08); border: 1px solid #2c3350; color: #c3c9ff; }
.plat-link { transition: all .14s; }
.plat-link:hover { background: var(--accent-glow); border-color: var(--accent); color: #fff; }
.filter-label { font-size: 12px; color: var(--text-3); align-self: center; }

/* ---------- the Operator ---------- */
.op-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 14px; }
.op-card { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.op-card.live { border-color: rgba(90,209,255,0.35); box-shadow: 0 0 0 1px rgba(90,209,255,0.15), 0 10px 30px rgba(0,0,0,0.4); }
.op-ic { font-size: 22px; }
.op-title { font-size: 14.5px; font-weight: 600; color: var(--text); }
.op-state { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.op-state.on { color: var(--accent-cyan); font-weight: 600; }
.digest-frame { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }

/* ---------- connections ---------- */
.conn-list { display: flex; flex-direction: column; gap: 12px; }
.conn-card { display: flex; gap: 16px; justify-content: space-between; background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.conn-main { flex: 1; }
.conn-from { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--text); }
.conn-build { font-size: 12.5px; color: var(--accent); margin: 4px 0 8px; }
.conn-msg { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.conn-side { flex-shrink: 0; text-align: right; }
.conn-status { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 100px; }
.conn-status.pending { color: var(--amber); background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.25); }
.conn-status.accepted { color: var(--green); background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.25); }
.conn-status.declined { color: var(--text-3); background: var(--bg-3); border: 1px solid var(--line); }

/* ---------- founders: why-hero (problem above the fold) ---------- */
.why-hero { max-width: 760px; margin: 0 auto; text-align: center; padding: 64px 24px 40px; }
.why-headline { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 650; margin: 18px auto 26px; max-width: 16ch;
  background: linear-gradient(180deg,#fff 35%,#c2c7d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-body { text-align: left; max-width: 620px; margin: 0 auto; }
.why-body p { font-size: 16.5px; line-height: 1.65; color: var(--text-2); margin-bottom: 16px; }
.why-body p:first-child { color: var(--text); font-size: 17.5px; }
.why-sign { text-align: left; max-width: 620px; margin: 8px auto 0; font-size: 14px; color: var(--accent); font-weight: 600; }

/* ---------- advisors ---------- */
.advisor-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.advisor-grid > * { flex: 1 1 200px; max-width: 260px; }
.advisor-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-align: center; }
.advisor-card .avatar { margin: 0 auto 12px; }
.advisor-title { font-size: 14px; font-weight: 600; color: var(--text); }
.advisor-co { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.advisor-note { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); margin-top: 10px; }

/* ---------- intake preview + review ---------- */
.preview-banner { display: flex; align-items: center; gap: 16px; justify-content: space-between; background: linear-gradient(120deg, rgba(124,140,255,.12), rgba(255,110,199,.08)); border: 1px solid #353a5a; border-radius: 12px; padding: 16px 18px; margin-bottom: 22px; font-size: 14px; }
.review-note { font-size: 13px; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 12px 14px; margin: 16px 0 4px; line-height: 1.5; }
.review-note strong { color: var(--text); }
.review-row { border-top: 1px solid var(--line); padding: 14px 0; }
.review-field { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); margin-bottom: 6px; }
.review-yours { font-size: 13px; color: var(--text-3); margin-bottom: 4px; }
.review-yours span { color: var(--text-2); }
.review-sugg { font-size: 14px; color: var(--text); }
.review-sugg span { color: #cdd3ff; }

/* ---------- Ask Relay floating launcher + agent modal ---------- */
.ask-fab { position: fixed; bottom: 26px; right: 26px; z-index: 80;
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border: none; border-radius: 100px;
  background: var(--accent-grad); background-size: 160% auto; color: #0a0b0f; font-weight: 600; font-size: 14.5px;
  box-shadow: 0 8px 30px rgba(124,140,255,0.45), 0 4px 14px rgba(255,110,199,0.28);
  transition: background-position .5s, transform .14s, box-shadow .25s; }
.ask-fab:hover { background-position: 100% center; transform: translateY(-2px); box-shadow: 0 12px 38px rgba(124,140,255,0.55); }
.ask-fab-ic { font-size: 16px; }
@media (max-width: 600px) { .ask-fab-label { display: none; } .ask-fab { padding: 14px; } }
body.member .ask-fab { right: 26px; }
.modal .ask-head { display: flex; gap: 14px; align-items: flex-start; }
.ask-orb { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: #0a0b0f;
  background: var(--accent-grad); box-shadow: 0 0 20px var(--accent-glow); }
.modal .ask-box textarea { min-height: 92px; }

/* ---------- Builds view redesign (marketer-first) ---------- */
.builds-hero { margin-bottom: 26px; max-width: 720px; }
.builds-hero h2 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.025em; font-weight: 640; line-height: 1.12;
  background: linear-gradient(180deg,#fff,#c2c7d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.builds-hero p { color: var(--text-2); font-size: 16px; line-height: 1.55; margin-top: 10px; }
.browse-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .browse-grid { grid-template-columns: repeat(2, 1fr); } }
.browse-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left;
  background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; padding: 16px; transition: all .16s; }
.browse-tile:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 10px 28px rgba(0,0,0,0.4); }
.browse-tile.active { border-color: var(--accent); background: var(--accent-glow); box-shadow: 0 0 0 1px var(--accent); }
.browse-ic { font-size: 22px; margin-bottom: 4px; }
.browse-t { font-size: 14px; font-weight: 600; color: var(--text); }
.browse-sub { font-size: 12px; color: var(--text-3); }

/* ---------- builders: connect actions ---------- */
.builder-actions { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- community ---------- */
.community-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.community-grid > * { flex: 1 1 260px; max-width: 360px; }
.community-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: 14px; padding: 24px; transition: transform .16s, border-color .2s, box-shadow .3s; }
.community-card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 14px 40px rgba(0,0,0,0.45); }
.community-ic { width: 44px; height: 44px; border-radius: 11px; background: var(--bg-3); display: grid; place-items: center; font-size: 20px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.community-card h3 { font-size: 17px; margin-bottom: 6px; }
.community-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; margin-bottom: 16px; }
.recap-panel { position: relative; border-color: var(--line-2); background: linear-gradient(120deg, rgba(124,140,255,.08), rgba(255,110,199,.05)); }
.recap-badge { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-cyan); border: 1px solid rgba(90,209,255,.3); background: rgba(90,209,255,.08); padding: 3px 10px; border-radius: 100px; }

/* ---------- Ask Relay side drawer (not a takeover) ---------- */
/* transparent click-catcher only — no dim, no blur on the rest of the screen */
.drawer-scrim { position: fixed; inset: 0; background: transparent; z-index: 90; pointer-events: none; }
.drawer-scrim.show { pointer-events: auto; }
.ask-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 92vw; z-index: 95;
  background: linear-gradient(180deg, var(--bg-1), var(--bg)); border-left: 1px solid var(--line-2);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5); transform: translateX(100%); transition: transform .3s cubic-bezier(.22,.61,.36,1);
  display: flex; flex-direction: column; }
.ask-drawer.open { transform: translateX(0); }
.ask-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.ask-drawer-body { padding: 20px 22px; overflow-y: auto; flex: 1; }
.ask-drawer-body textarea { width: 100%; min-height: 90px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); padding: 13px; font-family: inherit; font-size: 14.5px; outline: none; resize: vertical; }
.ask-drawer-body textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.ask-drawer-body .grid { grid-template-columns: 1fr; }
.ask-drawer-body .card { min-height: 0; }
@media (max-width: 540px) { .ask-drawer { width: 100%; } }

/* ---------- typography: prevent orphan words on a second line ---------- */
h1, h2, h3, .why-headline, .cinema-hook h1, .builds-hero h2, .detail-title, .closer h2 { text-wrap: balance; }
p, .hook-sub, .builds-hero p, .why-body p, .section-head p, .prose { text-wrap: pretty; }

/* ---------- Intelligence: trends-forward ---------- */
.intel-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 4px; }
@media (max-width: 700px) { .intel-hero-grid { grid-template-columns: 1fr; } }
.intel-hero-card { background: linear-gradient(135deg, rgba(124,140,255,.12), rgba(255,110,199,.06)); border: 1px solid #353a5a; border-radius: 14px; padding: 22px; }
.intel-hero-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.intel-hero-big { font-size: 26px; font-weight: 680; letter-spacing: -0.02em; margin: 8px 0 6px;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intel-hero-sub { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.trend { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 100px; margin-right: 8px; }
.trend.up { color: var(--green); background: rgba(74,222,128,.1); }
.trend.flat { color: var(--text-3); }
.intel-gap { border-color: #353a5a; background: linear-gradient(135deg, rgba(255,110,199,.05), transparent); }

/* ---------- featured spotlight Build ---------- */
.featured-card { display: grid; grid-template-columns: 1fr 200px; gap: 0; margin-bottom: 16px; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-1), var(--bg-2)); transition: transform .18s, box-shadow .3s, border-color .2s; position: relative; }
.featured-card::before { content:""; position:absolute; inset:0 0 auto 0; height:3px; background:var(--accent-grad); }
.featured-card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 18px 54px rgba(0,0,0,0.55), 0 0 0 1px rgba(124,140,255,0.4); }
.featured-left { padding: 26px 28px; }
.featured-left h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; margin: 12px 0 6px; }
.featured-job { font-size: 16px; font-weight: 600; background: linear-gradient(180deg,#fff,#cdd3ff); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.featured-sum { font-size: 14.5px; color: var(--text-2); line-height: 1.55; max-width: 56ch; }
.featured-foot { display: flex; align-items: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.featured-right { background: linear-gradient(180deg, rgba(124,140,255,.10), rgba(255,110,199,.05)); border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; padding: 22px; }
.featured-spot-label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--accent-cyan); font-weight: 600; }
.featured-cta { font-size: 15px; font-weight: 600; color: var(--text); }
@media (max-width: 720px) { .featured-card { grid-template-columns: 1fr; } .featured-right { flex-direction: row; align-items: center; border-left: none; border-top: 1px solid var(--line); } }

/* ---------- Intelligence locked teaser (show the power, blurred) ---------- */
.intel-locked { position: relative; }
.intel-blur { filter: blur(5px); opacity: .55; pointer-events: none; user-select: none; }
.intel-unlock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.intel-unlock h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.intel-unlock p { color: var(--text-2); max-width: 480px; font-size: 14.5px; line-height: 1.55; margin-bottom: 20px; }

/* ---------- builder card: company logo + identity ---------- */
.builder-head { display: flex; align-items: center; gap: 13px; }
.co-logo { width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -0.02em; box-shadow: 0 4px 14px rgba(0,0,0,0.35); }
.co-logo.co-anon { background: var(--bg-3); border: 1px solid var(--line-2); font-size: 18px; }
.builder-id { min-width: 0; }
.builder-name { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.builder-co { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }

/* ---------- founders: wide "why" hero using the black space ---------- */
.why-hero-wide { max-width: 1000px; margin: 0 auto; text-align: center; padding: 70px 24px 48px; }
.why-headline-wide { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 660; margin: 20px auto 28px; max-width: 22ch;
  background: linear-gradient(180deg,#fff 35%,#c2c7d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-body-wide { max-width: 840px; margin: 0 auto; }
.why-body-wide p { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.65; color: var(--text-2); margin-bottom: 18px; }
.why-body-wide p:first-child { color: var(--text); font-size: clamp(18px, 1.9vw, 21px); }
.why-hero-wide .why-sign { text-align: center; max-width: none; color: var(--accent); font-weight: 600; font-size: 15px; }

/* founder highlighted within the people grid */
.advisor-founder { position: relative; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 10px 30px rgba(124,140,255,0.15); }
.advisor-founder .avatar { background: var(--accent-grad) !important; box-shadow: 0 0 18px var(--accent-glow); }
.founder-tag { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-cyan); border: 1px solid rgba(90,209,255,.3); background: rgba(90,209,255,.08); padding: 2px 8px; border-radius: 100px; }

/* ---------- ROI result chip on Build cards ---------- */
.roi-chip { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 7px 12px; border-radius: 9px; font-size: 13px; font-weight: 600; color: #cdffe0;
  background: linear-gradient(135deg, rgba(74,222,128,.12), rgba(90,209,255,.08)); border: 1px solid rgba(74,222,128,.28); }
.roi-ic { font-size: 13px; }
.roi-label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--green); font-weight: 700; }

/* ---------- Community Q&A (upvote-ranked) ---------- */
.qa-list { display: flex; flex-direction: column; gap: 10px; }
.qa-row { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; transition: border-color .16s, box-shadow .25s; }
.qa-row:hover { border-color: var(--line-2); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.qa-vote { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 48px; padding: 8px 6px; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text-2); transition: all .14s; }
.qa-vote:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.qa-vote:disabled { opacity: .5; cursor: not-allowed; }
.qa-vote.voted { background: var(--accent-glow); border-color: var(--accent); color: #cdd3ff; }
.qa-arrow { font-size: 11px; }
.qa-count { font-size: 15px; font-weight: 700; }
.qa-body { flex: 1; min-width: 0; padding-top: 2px; }
.qa-q { font-size: 15.5px; font-weight: 600; color: var(--text); line-height: 1.4; }
.qa-meta { font-size: 12.5px; color: var(--text-3); margin-top: 5px; }

/* ---------- Q&A composer (always-visible entry point) ---------- */
.qa-composer { display: flex; align-items: center; gap: 12px; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 16px; margin-bottom: 16px; cursor: text; transition: border-color .15s, box-shadow .2s; }
.qa-composer:hover { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.qa-orb { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: 13px; color: #0a0b0f; background: var(--accent-grad); box-shadow: 0 0 14px var(--accent-glow); }
.qa-composer-ph { flex: 1; color: var(--text-3); font-size: 14.5px; }

/* ---------- Operator dashboard: membership requests ---------- */
.app-card { margin-bottom: 14px; }
.app-decided { opacity: 0.62; }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.app-meta { margin: 8px 0 4px; }
.app-actions { display: flex; gap: 8px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.rec { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.rec-approve { color: var(--green); background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.25); }
.rec-review { color: #fbbf24; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.25); }
.rec-reject { color: var(--red); background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.25); }
.flag-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 5px; }
.flag { font-size: 13px; line-height: 1.45; padding-left: 2px; }
.flag-ok { color: var(--text-2); }
.flag-bad { color: #fca5a5; }
.app-actions code, .flag code { background: var(--bg-3); padding: 2px 7px; border-radius: 6px; font-size: 12px; }
