/* PRISMA landing: same tokens as the console (src/web/styles.css), system fonts only so the page
   needs nothing behind the dashboard login. */
:root {
  --brand-navy: #253550;
  --canvas: oklch(0.979 0.006 262);
  --surface: oklch(1 0 0);
  --ink: oklch(0.235 0.045 262);
  --ink-2: oklch(0.4 0.04 262);
  --muted: oklch(0.515 0.032 262);
  --line: oklch(0.928 0.012 262);
  --line-strong: oklch(0.865 0.02 262);
  --accent: oklch(0.445 0.135 262);
  --accent-hover: oklch(0.385 0.125 262);
  --focus: oklch(0.62 0.14 262);
  --rose: oklch(0.515 0.135 358);
  --info: oklch(0.52 0.09 220);
  --hero: oklch(0.255 0.065 262);
  --hero-2: oklch(0.31 0.085 264);
  --on-hero: oklch(0.975 0.006 262);
  --on-hero-muted: oklch(0.79 0.03 262);
  --accent-on-hero: oklch(0.82 0.08 262);
  --rose-on-hero: oklch(0.76 0.12 358);
  --radius: 12px;
  --display: 'Outfit Variable', 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --text: 'Inter Variable', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono Variable', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.6 var(--text);
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.top,
.foot,
main {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 20px/1 var(--display);
  letter-spacing: 0.04em;
}
.mark {
  width: 28px;
  height: 28px;
}
.mark .facet-a,
.prism .facet-a {
  fill: var(--brand-navy);
}
.mark .facet-b,
.prism .facet-b {
  fill: var(--accent);
}
.mark .facet-c,
.prism .facet-c {
  fill: var(--rose);
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.btn-primary {
  background: var(--on-hero);
  color: var(--hero);
}
.btn-primary:hover {
  background: var(--accent-on-hero);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 32px;
  padding: 64px 56px;
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 100% 0%, oklch(0.515 0.135 358 / 0.28), transparent 60%),
    linear-gradient(160deg, var(--hero), var(--hero-2));
  color: var(--on-hero);
}
.eyebrow {
  margin: 0 0 12px;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero .eyebrow {
  color: var(--accent-on-hero);
}
h1 {
  margin: 0;
  font: 600 clamp(32px, 4.4vw, 52px)/1.1 var(--display);
  letter-spacing: -0.01em;
}
.lead {
  max-width: 56ch;
  margin: 20px 0 0;
  font-size: 18px;
  color: var(--on-hero-muted);
}
.actions {
  margin-top: 32px;
}
.note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--on-hero-muted);
}
.prism {
  width: 100%;
  max-width: 360px;
  justify-self: end;
}
.prism .beam-in,
.prism .beam-a,
.prism .beam-b,
.prism .beam-c {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}
.prism .facet-a {
  fill: oklch(0.42 0.08 262);
}
.prism .facet-b {
  fill: oklch(0.55 0.13 262);
}
.prism .facet-c {
  fill: oklch(0.6 0.15 358);
}
.prism .beam-in {
  stroke: var(--on-hero-muted);
}
.prism .beam-a {
  stroke: var(--accent-on-hero);
}
.prism .beam-b {
  stroke: var(--rose-on-hero);
}
.prism .beam-c {
  stroke: oklch(0.8 0.08 220);
}

.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 48px;
}
.stage {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.stage h2 {
  margin: 0 0 8px;
  font: 600 20px/1.3 var(--display);
}
.stage p:last-child {
  margin: 0;
  color: var(--ink-2);
}

.foot {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
  .prism {
    justify-self: start;
    max-width: 240px;
  }
  .stages {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
