/*
 * The public site's only stylesheet.
 *
 * It is hand-authored and dependency-free on purpose: neurapre.com is a
 * pre-rendered, indexable surface whose whole job is to be readable by a
 * crawler and fast on a phone plan, so it ships no framework, no JavaScript
 * and no font binary. The four canonical Neura brand hex values below are the
 * same literals the app's design tokens (apps/web/src/styles/tokens.css) and
 * brand.mjs declare; they are duplicated here rather than imported because the
 * two bundles are built and served independently.
 */
:root {
  --bg: #071622;
  --surface: #0d2233;
  --primary: #27e7ff;
  --text: #eafbff;
  --text-muted: #9ac9d2;
  --border: #17394a;
  --on-primary: #071622;
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 68rem;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 2rem;
  height: 2rem;
  display: block;
}

.site-nav a {
  margin-left: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--text);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.hero {
  padding: 3rem 0 2rem;
  max-width: 46rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--primary);
  margin: 0 0 0.75rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.cta {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  font-size: 1.05rem;
}

.cta:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 1.5rem 0;
}

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

.card:hover {
  text-decoration: none;
  border-color: var(--primary);
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
}

.card__more {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 1.5rem 0;
}

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

.steps h3 {
  margin-bottom: 0.35rem;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
}

.notice {
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 0.5rem;
  background: var(--surface);
  color: var(--text-muted);
  margin: 1.25rem 0;
}

.day {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  margin-top: 1.75rem;
}

.topics {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topics li {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer nav a {
  margin-right: 1rem;
  color: var(--text-muted);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 0.4rem;
}
