/*
 * Prajna landing page — the first surface anyone sees.
 *
 * DESIGN.md, applied literally: neutral monochrome base, ONE deep-indigo accent
 * used only for the primary button, links, focus and a single small badge.
 * Generous space, few elements per view, platform-native type, restrained
 * scale, soft radius, shadow sparing. No gradients-as-brand, no decorative
 * colour, no imagery.
 *
 * No motion. DESIGN.md allows exactly one working cue and ties it to REAL
 * agent state; a marketing page has no such state, so animating anything here
 * would be the decorative theatrics the direction rules out.
 *
 * Every colour, radius and type size comes from the skin socket (tokens.css),
 * so light and dark are both first-class and the page follows the same
 * repaint as the rest of the product.
 */

* { box-sizing: border-box; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--prajna-surface-raised);
  color: var(--prajna-text);
  padding: 0.75rem 1rem;
  border-radius: var(--prajna-radius-sm);
}
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

:where(a, button):focus-visible {
  outline: 2px solid var(--prajna-focus-ring);
  outline-offset: 2px;
  border-radius: var(--prajna-radius-sm);
}

/* ---------- chrome ---------- */

.top-inner {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.wordmark {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--prajna-text);
}

nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
nav a {
  color: var(--prajna-text-muted);
  text-decoration: none;
  font-size: var(--prajna-text-body-sm);
}
nav a:hover { color: var(--prajna-text); }

.top { border-bottom: 1px solid var(--prajna-border); }
.foot {
  border-top: 1px solid var(--prajna-border);
  margin-top: 5rem;
  color: var(--prajna-text-muted);
}

/* ---------- hero ---------- */

.hero {
  max-width: 62rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

.eyebrow { margin: 0 0 1.5rem; }

/* The one small badge the accent is allowed on. */
.badge {
  display: inline-block;
  font-size: var(--prajna-text-body-sm);
  font-weight: 500;
  color: var(--prajna-accent);
  background: var(--prajna-accent-tint);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

.hero h1 {
  /* The one place a larger size is justified; still one step, no display face. */
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
  max-width: 20ch;
}

.lede {
  color: var(--prajna-text-muted);
  font-size: 1.0625rem;
  margin: 1.25rem 0 0;
  max-width: 46ch;
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.auth-state { margin-top: 1.25rem; max-width: 46ch; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 500;
  border-radius: var(--prajna-radius-md);
  border: 1px solid transparent;
  padding: 0.625rem 1.125rem;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  color: var(--prajna-text);
}
.btn-lg { padding: 0.8125rem 1.5rem; }

.btn-primary {
  background: var(--prajna-accent);
  color: var(--prajna-accent-contrast);
}
.btn-primary:hover { background: var(--prajna-accent-hover); }

.btn-quiet {
  border-color: var(--prajna-border);
  color: var(--prajna-text);
}
.btn-quiet:hover { background: var(--prajna-surface); }

/* ---------- bands ---------- */

.band {
  max-width: 62rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 2rem;
}

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

.card {
  background: var(--prajna-surface-raised);
  border: 1px solid var(--prajna-border);
  border-radius: var(--prajna-radius-lg);
  padding: 1.5rem;
}
.card h3 { font-size: 1rem; font-weight: 600; margin: 0 0 0.5rem; }
.card p { color: var(--prajna-text-muted); margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.steps li { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-n {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--prajna-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--prajna-text-body-sm);
  font-variant-numeric: tabular-nums;
  color: var(--prajna-text-muted);
}
.steps h3 { font-size: 1rem; font-weight: 600; margin: 0 0 0.25rem; }
.steps p { color: var(--prajna-text-muted); margin: 0; max-width: 52ch; }

.prose { max-width: 56ch; color: var(--prajna-text-muted); }
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }

.closing { padding-bottom: 2rem; }
.closing .actions { margin-top: 1.75rem; }

/* ---------- honest states ---------- */

.notice {
  border: 1px solid var(--prajna-border);
  border-left: 2px solid var(--prajna-accent);
  border-radius: var(--prajna-radius-md);
  background: var(--prajna-surface);
  padding: 0.875rem 1rem;
  font-size: var(--prajna-text-body-sm);
}
.notice strong { display: block; font-weight: 600; color: var(--prajna-text); }
.notice span { display: block; margin-top: 0.25rem; color: var(--prajna-text-muted); }
