/*
  Sensynapse landing - styles
  ---------------------------
  Minimalist, professional single-page look. Light theme, generous
  whitespace, one indigo accent. Organised as: tokens, base, layout,
  components (nav / hero / cards / contact / footer), responsive.
*/

/* ===== Design tokens ===== */
:root {
  --accent: #5457e6;          /* indigo accent - nods to "synapse" */
  --accent-dark: #3f42c9;     /* hover state */
  --ink: #14151a;             /* primary text */
  --ink-muted: #5b616e;       /* secondary text */
  --bg: #ffffff;              /* page background */
  --bg-muted: #f6f7f9;        /* alternating section background */
  --border: #e6e8ec;          /* hairline borders */
  --radius: 12px;             /* card / button rounding */
  --maxw: 1080px;             /* content max width */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;    /* smooth jump to #contact */
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--ink-muted);
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

/* Accent dot after the wordmark. */
.brand__dot {
  color: var(--accent);
}

/* ===== Section scaffolding ===== */
.section {
  padding: 5rem 1.5rem;
}

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

.section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* Narrower column for reading-heavy blocks (about / contact). */
.section__inner--narrow {
  max-width: 640px;
}

.section__title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.prose {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* ===== Hero ===== */
.hero {
  padding: 6rem 1.5rem 5rem;
}

.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--ink-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

/* ===== Cards (How I help) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.card__body {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* ===== Contact ===== */
.contact__turnstile {
  margin: 1.75rem 0 1rem;
}

.contact__slot,
.hero__contact {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.email-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
}

.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.footer__muted {
  color: var(--ink-muted);
}

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .cards {
    grid-template-columns: 1fr;   /* stack cards on mobile */
  }

  .section {
    padding: 3.5rem 1.5rem;
  }
}
