/* =========================================================
   CrewNexus — Stylesheet
   ========================================================= */

:root {
  --navy-950: #071626;
  --navy-900: #0b1f35;
  --navy-800: #103055;
  --navy-700: #17416f;
  --navy-600: #205390;
  --blue-500: #2f6fed;
  --orange-500: #f4791f;
  --orange-600: #dd6710;
  --amber-400: #ffb020;

  --gray-25: #fbfcfd;
  --gray-50: #f6f8fa;
  --gray-100: #eef1f5;
  --gray-200: #e1e6ec;
  --gray-300: #cbd3dc;
  --gray-400: #9aa6b2;
  --gray-500: #5c6672;
  --gray-600: #57626f;
  --gray-700: #3c4650;
  --gray-800: #262e37;
  --gray-900: #171c22;

  --white: #ffffff;
  --success-600: #1c9a5b;
  --success-100: #e2f6ec;
  --danger-600: #d8432c;
  --danger-100: #fbe7e3;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container-w: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 53, 0.06), 0 1px 1px rgba(11, 31, 53, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 31, 53, 0.08), 0 2px 6px rgba(11, 31, 53, 0.06);
  --shadow-lg: 0 20px 50px rgba(11, 31, 53, 0.14), 0 6px 16px rgba(11, 31, 53, 0.08);
  --header-h: 76px;
}

* , *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, p { margin: 0; }

button { font-family: inherit; cursor: pointer; }

input, textarea, select, button { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .container { padding: 0 32px; }
}

section { position: relative; }

.section-pad { padding: 76px 0; }
@media (max-width: 720px) {
  .section-pad { padding: 52px 0; }
}

.section-pad-tight { padding: 48px 0; }

.section-alt { background: var(--gray-50); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-600);
  background: #fff2e7;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500);
}

.section-head {
  max-width: 680px;
  margin: 0 0 44px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--gray-600);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(244, 121, 31, 0.32);
}
.btn-primary:hover { background: var(--orange-600); }

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-800); }

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--gray-300);
}
.btn-ghost:hover { border-color: var(--navy-700); background: var(--gray-50); }

.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 500;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 2px 16px rgba(11,31,53,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950));
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-400);
  flex-shrink: 0;
}
.brand-mark svg { width: 19px; height: 19px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-links a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 8px 0;
  position: relative;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a.active { color: var(--navy-900); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
}

.cta-text-short { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: 10px; }
  .nav-cta .btn-primary { padding: 10px 16px; font-size: 0.85rem; }
}

@media (max-width: 400px) {
  .site-header .container { gap: 10px; }
  .brand { font-size: 1.05rem; gap: 7px; }
  .brand-mark { width: 30px; height: 30px; }
  .cta-text-full { display: none; }
  .cta-text-short { display: inline; }
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 480;
  transform: translateX(100%);
  transition: transform .28s ease;
  overflow-y: auto;
  padding: 8px 20px 40px;
}
.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu a {
  display: block;
  padding: 16px 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
  padding: calc(var(--header-h) + 64px) 0 70px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(244,121,31,0.16), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: calc(var(--header-h) + 40px) 0 48px; text-align: left; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #ffd9b0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber-400); box-shadow: 0 0 0 3px rgba(255,176,32,0.25); }

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--amber-400); }

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-stats div { min-width: 120px; }
.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}
.hero-stats span { font-size: 0.85rem; color: rgba(255,255,255,0.62); }

.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}

.hero-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.hero-card-row:last-child { margin-bottom: 0; }

.hero-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,176,32,0.16);
  color: var(--amber-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.hero-card-row h4 { font-size: 0.92rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.hero-card-row p { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

.hero-card-row .pill {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(28,154,91,0.18);
  color: #6fe3ad;
  white-space: nowrap;
}

/* ---------- Logos / values strip ---------- */

.values-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .values-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .values-strip { grid-template-columns: repeat(2, 1fr); } }

.value-chip {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.value-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gray-200); }

.value-chip .icon-wrap {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--amber-400);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.value-chip .icon-wrap svg { width: 22px; height: 22px; }
.value-chip h4 { font-size: 0.98rem; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; }
.value-chip p { font-size: 0.82rem; color: var(--gray-600); }

/* ---------- Problem / Solution ---------- */

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) { .split-grid { grid-template-columns: 1fr; } }

.split-card {
  border-radius: var(--radius-lg);
  padding: 32px;
}
.split-card.problem {
  background: var(--danger-100);
  border: 1px solid #f6cec3;
}
.split-card.solution {
  background: var(--success-100);
  border: 1px solid #bfe8d2;
}
.split-card .tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.split-card.problem .tag { background: #b73523; color: #fff; }
.split-card.solution .tag { background: #0e6b3a; color: #fff; }
.split-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy-900); margin-bottom: 16px; }
.split-card ul { display: flex; flex-direction: column; gap: 12px; }
.split-card li { display: flex; gap: 10px; font-size: 0.98rem; color: var(--gray-700); }
.split-card li svg { flex-shrink: 0; margin-top: 3px; }
.split-card.problem li svg { color: var(--danger-600); }
.split-card.solution li svg { color: var(--success-600); }

/* ---------- Founder note ---------- */

.founder-note {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--orange-500);
  border-radius: var(--radius-md);
  padding: 28px 30px;
}
.founder-note-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--amber-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.founder-note-icon svg { width: 20px; height: 20px; }
.founder-note h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy-900); margin-bottom: 10px; }
.founder-note p { font-size: 0.94rem; color: var(--gray-700); line-height: 1.65; }
@media (max-width: 640px) {
  .founder-note { flex-direction: column; padding: 22px; }
}

/* ---------- How it works ---------- */

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 900px) { .flow-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow-steps { grid-template-columns: 1fr; } }

.flow-step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
}
.flow-step .num {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--amber-400);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.flow-step h4 { font-size: 1.02rem; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.flow-step p { font-size: 0.88rem; color: var(--gray-600); }

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-card .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #eaf0ff;
  color: var(--blue-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card .icon-wrap svg { width: 21px; height: 21px; }
.feature-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--gray-600); }

/* ---------- Directory / Demo ---------- */

.demo-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.demo-sample-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff8e6;
  color: #8a5a06;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 12px 22px;
  border-bottom: 1px solid #f5e3b3;
}
.demo-sample-banner svg { flex-shrink: 0; width: 16px; height: 16px; }

.demo-tabs {
  display: flex;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
  padding: 8px;
  gap: 6px;
}
.demo-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 9px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.demo-tab.active { background: var(--white); color: var(--navy-900); box-shadow: var(--shadow-sm); }

.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-100);
}

.search-field {
  flex: 1 1 220px;
  position: relative;
}
.search-field svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--gray-400);
  width: 17px; height: 17px;
}
.search-field input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1px solid var(--gray-200);
  border-radius: 9px;
  background: var(--gray-50);
  font-size: 0.92rem;
}
.search-field input:focus { outline: none; border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 3px rgba(47,111,237,0.25); }

.filter-select {
  padding: 11px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 9px;
  background: var(--gray-50);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  min-width: 150px;
}
.filter-select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(47,111,237,0.25); }

.demo-results-meta {
  padding: 14px 22px 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 18px 22px 26px;
}
@media (max-width: 760px) { .demo-grid { grid-template-columns: 1fr; } }

.card-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--white);
  transition: box-shadow .15s ease, border-color .15s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-item:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); }

.card-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card-item h4 { font-size: 1.02rem; font-weight: 700; color: var(--navy-900); }
.card-item .meta-row { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: var(--gray-500); }
.card-item .meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.card-item .meta-row svg { width: 14px; height: 14px; }
.card-item p.desc { font-size: 0.87rem; color: var(--gray-600); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-verified { background: var(--success-100); color: #0e6b3a; }
.badge-emergency { background: #fff1e0; color: #a34d09; }
.badge-rating { background: #fff8e1; color: #7a4a00; }

.tag-chip {
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 4px 10px;
  border-radius: 999px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

.card-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--gray-200);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: var(--gray-500);
}
.no-results svg { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--gray-300); }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(244,121,31,0.14), var(--shadow-md);
}
.price-card .featured-tag {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange-500);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h4 { font-size: 1.05rem; font-weight: 800; color: var(--navy-900); }
.price-card .price-tier-desc { font-size: 0.8rem; color: var(--gray-500); margin: 6px 0 18px; min-height: 32px; }
.price-card .price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}
.price-card .price strong { font-size: 2rem; font-weight: 800; color: var(--navy-900); }
.price-card .price span { font-size: 0.85rem; color: var(--gray-500); }
.price-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; flex: 1; }
.price-card li { display: flex; gap: 8px; font-size: 0.84rem; color: var(--gray-700); }
.price-card li svg { color: var(--success-600); flex-shrink: 0; margin-top: 2px; width: 15px; height: 15px; }

/* ---------- Roadmap ---------- */

.roadmap-list {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--gray-200);
  margin-left: 10px;
}
.roadmap-item {
  position: relative;
  padding: 0 0 30px 30px;
}
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-item::before {
  content: "";
  position: absolute;
  left: -7px; top: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--navy-700);
}
.roadmap-item.done::before { background: var(--success-600); border-color: var(--success-600); }
.roadmap-item.active::before { background: var(--orange-500); border-color: var(--orange-500); box-shadow: 0 0 0 4px rgba(244,121,31,0.18); }
.roadmap-item h4 { font-size: 0.98rem; font-weight: 700; color: var(--navy-900); margin-bottom: 3px; }
.roadmap-item span.status {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--gray-600);
}
.roadmap-item.done span.status { color: var(--success-600); }
.roadmap-item.active span.status { color: var(--orange-600); }

.roadmap-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .roadmap-wrap { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  padding: 20px 4px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}
.faq-q svg { flex-shrink: 0; transition: transform .2s ease; color: var(--gray-500); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-a-inner { padding: 0 4px 20px; font-size: 0.92rem; color: var(--gray-600); }

/* ---------- Signup ---------- */

.signup-section {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.signup-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 860px) { .signup-wrap { grid-template-columns: 1fr; } }

.signup-copy { padding: 48px; }
.signup-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 16px; }
.signup-copy p { color: rgba(255,255,255,0.72); margin-bottom: 26px; }
.signup-copy ul { display: flex; flex-direction: column; gap: 14px; }
.signup-copy li { display: flex; gap: 10px; font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.signup-copy li svg { color: var(--amber-400); flex-shrink: 0; margin-top: 2px; }

.signup-form-wrap { background: rgba(255,255,255,0.04); padding: 44px 48px; border-left: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 860px) { .signup-form-wrap { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); } }

.role-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.role-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.75);
  border-radius: 9px;
  padding: 10px 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}
.role-btn.active { background: var(--amber-400); color: var(--navy-950); border-color: var(--amber-400); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.85); margin-bottom: 7px; }
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.92rem;
}
.field input::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus { outline: none; border-color: var(--amber-400); background: rgba(255,255,255,0.1); box-shadow: 0 0 0 3px rgba(255,176,32,0.3); }
.field .error-text { display: none; color: #ff9d8a; font-size: 0.78rem; margin-top: 6px; }
.field.invalid input { border-color: #ff8a70; }
.field.invalid .error-text { display: block; }

.form-note { font-size: 0.76rem; color: rgba(255,255,255,0.68); margin-top: 14px; text-align: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px 10px;
}
.form-success.show { display: block; }
.form-success .check-wrap {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(28,154,91,0.18);
  color: #6fe3ad;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.form-success h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.form-success p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

.signup-form.hide-form { display: none; }

/* ---------- Investor card ---------- */

.investor-card {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
}

.investor-card-copy { text-align: center; margin-bottom: 30px; }
.investor-card-copy h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; margin-bottom: 12px; }
.investor-card-copy p { color: rgba(255,255,255,0.72); font-size: 0.96rem; }

.investor-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.investor-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.92rem;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
}
.investor-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.investor-form textarea:focus {
  outline: none;
  border-color: var(--amber-400);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(255,176,32,0.3);
}

.optional-tag { font-weight: 500; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,0.5); }

.form-note a { color: var(--amber-400); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.investor-form.hide-form { display: none; }

@media (max-width: 560px) {
  .investor-form-grid { grid-template-columns: 1fr; }
  .investor-card { padding: 30px 22px; }
}

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7, 22, 38, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 900;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600);
}
.modal-close:hover { background: var(--gray-100); }

.modal-header { margin-bottom: 20px; padding-right: 40px; }
.modal-header h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy-900); margin-bottom: 6px; }
.modal-header p { font-size: 0.88rem; color: var(--gray-500); }

.modal-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.modal-section { margin-bottom: 18px; }
.modal-section h5 {
  font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--gray-600); margin-bottom: 10px;
}
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.modal-grid .k { font-size: 0.78rem; color: var(--gray-500); }
.modal-grid .v { font-size: 0.88rem; color: var(--gray-800); font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; margin-bottom: 16px; }

.footer-col h5 { color: #fff; font-size: 0.85rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.8rem;
}

.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 400;
  border: none;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Focus visibility & motion preferences ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.hero *:focus-visible,
.signup-section *:focus-visible {
  outline-color: var(--amber-400);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy-900);
  color: #fff;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { color: #6fe3ad; }

/* ---------- Small utility classes (kept out of inline style="" for CSP) ---------- */

.eyebrow-on-dark { background: rgba(255,255,255,0.1); color: #ffd9b0; }
.mt-18 { margin-top: 18px; }
.card-meta-note { font-size: 0.8rem; color: var(--gray-500); }
.badge-pending { background: var(--gray-100); color: var(--gray-500); }
.modal-desc-text { font-size: 0.92rem; color: var(--gray-700); }
