/* NeuroReps marketing site — standalone static pages for neuroreps.app.
   Mirrors the app's design tokens so the site and the product match. */

:root {
  --ink: #0b0f1a;
  --surface: #141a2a;
  --elevated: #1c2438;
  --hairline: rgba(255, 255, 255, 0.08);
  --focus: #f5a623;
  --memory: #8b7cf6;
  --logic: #2dd4bf;
  --reasoning: #f4726b;
  --brand: #6366f1;
  --brand-soft: #8b7cf6;
  --fg: #eef1f8;
  --fg-muted: #9aa3b8;
  --fg-faint: #5c6579;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  background:
    radial-gradient(80rem 40rem at 50% -10%, rgba(99, 102, 241, 0.12), transparent 60%),
    var(--ink);
  color: var(--fg);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 64rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

a {
  color: inherit;
}

/* ── header ── */
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.125rem;
  font-weight: 800;
  text-decoration: none;
}

.brand em {
  font-style: normal;
  color: var(--brand-soft);
}

nav.site {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--fg);
}

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding-inline: 2rem;
  border-radius: 1rem;
  background: var(--brand);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.25);
  transition: transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn.small {
  min-height: 0;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  box-shadow: none;
}

.btn.ghost {
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--fg-muted);
  box-shadow: none;
}

/* ── hero ── */
.hero {
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.hero .mark {
  filter: drop-shadow(0 12px 30px rgba(99, 102, 241, 0.3));
}

.hero h1 {
  margin: 2rem auto 0;
  max-width: 42rem;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero p {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  color: var(--fg-muted);
}

.hero .ctas {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ── cards ── */
.grid-skills {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.card {
  border: 1px solid var(--hairline);
  border-radius: 1.5rem;
  background: var(--surface);
  padding: 1.5rem;
}

.card .tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
}

.card h2,
.card h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 800;
}

.card p {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* ── sections ── */
section.block {
  padding-top: 4rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 800;
}

.section-sub {
  margin: 0.75rem auto 0;
  max-width: 32rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.chips {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  background: var(--surface);
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.chip .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
}

.grid-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  padding-top: 4rem;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: rgba(99, 102, 241, 0.15);
  color: var(--brand-soft);
  font-weight: 800;
  font-size: 0.875rem;
}

.closing {
  padding: 5rem 0;
  text-align: center;
}

/* ── footer ── */
footer.site {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--hairline);
  padding-block: 2.5rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

footer.site .brand {
  font-size: 0.95rem;
}

footer.site nav {
  display: flex;
  gap: 1.25rem;
}

footer.site a {
  text-decoration: none;
}

footer.site a:hover {
  color: var(--fg);
}

/* ── prose pages (privacy / terms / support) ── */
.prose {
  max-width: 42rem;
  margin-inline: auto;
  padding-bottom: 4rem;
}

.prose h1 {
  margin-top: 2rem;
  font-size: 1.875rem;
  font-weight: 800;
}

.prose .date {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.prose h3 {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.prose p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--fg-muted);
}

.prose a {
  text-decoration: underline;
}
