/* The same tokens as the console (web/src/app/globals.css, design section AB): slate surfaces, one indigo accent. */
:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --sunken: #f1f5f9;
  --line: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-text: #ffffff;
  --accent-soft: #eef2ff;
  --ok: #15803d;
  --radius-card: 12px;
  --radius-control: 8px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --panel: #111827;
    --sunken: #0f172a;
    --line: #1f2937;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --accent: #818cf8;
    --accent-hover: #a5b4fc;
    --accent-text: #0b1120;
    --accent-soft: #1e1b4b;
    --ok: #4ade80;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 700; max-width: 18ch; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.top { border-bottom: 1px solid var(--line); background: var(--panel); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 650; text-decoration: none; }
.brand:hover { color: var(--text); }
.top-nav { display: flex; align-items: center; gap: 16px; font-size: 0.95rem; }
.top-nav a:not(.btn) { color: var(--muted); text-decoration: none; }
.top-nav a:not(.btn):hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: var(--radius-control);
  background: var(--panel); color: var(--text);
  font-weight: 600; text-decoration: none;
}
.btn:hover { color: var(--text); background: var(--sunken); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-text); }
.btn-small { min-height: 36px; padding: 0 14px; font-size: 0.9rem; }

.hero { padding: 72px 0 64px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 1.125rem; max-width: 60ch; margin-top: 16px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.section { padding: 56px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--panel); }
.section h2 { margin-bottom: 24px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; }
.card p { color: var(--muted); margin-top: 8px; font-size: 0.95rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { display: flex; gap: 14px; }
.steps p { color: var(--muted); margin-top: 4px; font-size: 0.95rem; }
.num {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-weight: 700;
}

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 70ch; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 0.45em;
  width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}

.closing { text-align: left; }

.foot { border-top: 1px solid var(--line); padding: 24px 0 32px; color: var(--muted); font-size: 0.9rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-nav a { color: var(--muted); }
.foot-nav a:hover { color: var(--text); }
.fine { margin-top: 16px; font-size: 0.8rem; }

@media (max-width: 480px) {
  .hero { padding: 48px 0 40px; }
  .section { padding: 40px 0; }
  .top-nav { gap: 12px; }
  .cta .btn { flex: 1 1 100%; }
}
