:root {
  --ink: #101828;
  --muted: #5f6c80;
  --subtle: #e6ebf2;
  --surface: #ffffff;
  --surface-strong: #f6f8fb;
  --navy: #0f172a;
  --blue: #2563eb;
  --cyan: #0891b2;
  --green: #0f766e;
  --amber: #b45309;
  --rose: #be123c;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.main-navigation {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav-container {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-logo,
.footer-logo {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.nav-logo::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-menu a,
.nav-cta,
.footer-links a,
.footer-actions a {
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav-menu a:hover,
.footer-links a:hover,
.footer-actions a:hover {
  color: var(--blue);
}

.nav-cta {
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid var(--subtle);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-cta:hover {
  border-color: rgba(37, 99, 235, 0.42);
  transform: translateY(-1px);
}

.hero-section {
  display: flex;
  align-items: center;
  padding: 40px 0 24px;
  background:
    radial-gradient(circle at 80% 10%, rgba(8, 145, 178, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 72%);
}

.hero-grid,
.split-section,
.traction-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.hero-grid > *,
.split-section > *,
.traction-grid > *,
.footer-grid > *,
.intelligence-console > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-lede,
.section-heading p,
.traction-copy p,
.cta-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.2);
}

.btn-secondary {
  color: var(--ink);
  border: 1px solid var(--subtle);
  background: rgba(255, 255, 255, 0.72);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-strip span {
  padding: 8px 10px;
  border: 1px solid var(--subtle);
  border-radius: var(--radius);
  color: var(--muted);
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.platform-card,
.signal-grid div,
.resource-card,
.intelligence-console,
.traction-cards div,
.discussion-section,
.content-card {
  border: 1px solid var(--subtle);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.platform-card {
  padding: 24px;
}

.platform-card-primary {
  color: #ffffff;
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.86), rgba(15, 118, 110, 0.92)),
    var(--navy);
}

.card-kicker {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.platform-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.platform-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.signal-grid div {
  padding: 20px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.signal-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  line-height: 1;
}

.signal-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 90px 0;
}

.section-problem {
  padding-top: 48px;
}

.section-muted {
  background: var(--surface-strong);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

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

.statement-list {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.statement-list p {
  margin-bottom: 0;
}

.intelligence-console {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  padding: 28px;
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.1);
}

.search-module label,
.module-title {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--subtle);
  border-radius: var(--radius);
  padding: 0 12px;
  background: #ffffff;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: inherit;
}

.search-box span {
  color: var(--muted);
  font-size: 1.35rem;
}

.search-results {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.search-result,
.mission-output {
  padding: 16px;
  border: 1px solid var(--subtle);
  border-radius: var(--radius);
  background: #fbfdff;
}

.search-result a {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.search-result p,
.mission-output p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.result-tags span {
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(15, 118, 110, 0.1);
  font-size: 0.76rem;
  font-weight: 700;
}

.mission-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.mission-chip {
  min-height: 38px;
  border: 1px solid var(--subtle);
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--muted);
  background: #ffffff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.mission-chip.is-active {
  color: #ffffff;
  border-color: var(--ink);
  background: var(--ink);
}

.mission-output h3 {
  margin-bottom: 8px;
}

.mission-output ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resource-card {
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}

.resource-card-accent {
  border-color: rgba(15, 118, 110, 0.35);
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.92), #ffffff);
}

.resource-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.resource-card:nth-child(2) .resource-icon {
  background: var(--cyan);
}

.resource-card:nth-child(3) .resource-icon {
  background: var(--amber);
}

.resource-card:nth-child(4) .resource-icon {
  background: var(--blue);
}

.resource-card:nth-child(5) .resource-icon {
  background: var(--rose);
}

.resource-card:nth-child(6) .resource-icon {
  background: var(--green);
}

.resource-card p {
  color: var(--muted);
}

.resource-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.traction-grid {
  align-items: start;
}

.traction-cards {
  display: grid;
  gap: 14px;
}

.traction-cards div {
  padding: 20px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.traction-cards strong {
  display: block;
  margin-bottom: 6px;
}

.traction-cards span {
  color: var(--muted);
}

.section-cta {
  padding-top: 0;
}

.cta-panel {
  padding: 42px;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(15, 118, 110, 0.88)),
    var(--navy);
}

.cta-panel .eyebrow,
.cta-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.cta-panel h2 {
  max-width: 780px;
}

.cta-panel .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--subtle);
  background: #ffffff;
}

.footer-grid {
  grid-template-columns: 1.15fr 0.85fr 0.8fr;
  align-items: start;
  gap: 28px;
}

.site-footer p {
  max-width: 420px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-shell {
  padding: 76px 0 92px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 320px);
}

.page-header {
  max-width: 820px;
  margin-bottom: 34px;
}

.page-header h1 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.page-header p {
  color: var(--muted);
  font-size: 1.08rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-grid + .discussion-section {
  margin-top: 28px;
}

.content-card {
  padding: 22px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}

.content-card p,
.content-card li {
  color: var(--muted);
}

.content-card a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.discussion-section {
  padding: 28px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}

.discussion-section h2,
.discussion-section h3 {
  margin-bottom: 8px;
}

.discussion-section p {
  color: var(--muted);
}

.giscus,
.giscus-frame {
  width: 100% !important;
}

@media (max-width: 920px) {
  .nav-container {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 0;
  }

  .nav-menu {
    width: 100%;
    order: 3;
    flex-wrap: wrap;
    overflow: visible;
    gap: 10px 16px;
    padding-bottom: 3px;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-grid,
  .split-section,
  .traction-grid,
  .footer-grid,
  .intelligence-console {
    grid-template-columns: 1fr;
  }

  .resource-grid,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container,
  .nav-container {
    width: min(100% - 28px, 1120px);
  }

  .hero-section,
  .section,
  .page-shell {
    padding: 54px 0;
  }

  .hero-section {
    padding-top: 42px;
    padding-bottom: 32px;
  }

  .hero-panel {
    display: none;
  }

  .trust-strip {
    display: none;
  }

  .section-problem {
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(2.4rem, 15vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.55rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .signal-grid,
  .resource-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .intelligence-console,
  .cta-panel {
    padding: 20px;
  }

  .resource-card {
    min-height: auto;
  }
}
