/* MPLS Backup — OAuth consent screen website */
/* No external dependencies. System fonts only. */

/* ── Custom properties ──────────────────────────────── */
:root {
  --c-primary:       #1d4ed8;
  --c-primary-dark:  #1e40af;
  --c-text:          #1e293b;
  --c-text-muted:    #475569;
  --c-link:          #1d4ed8;
  --c-bg:            #ffffff;
  --c-bg-alt:        #f8fafc;
  --c-border:        #e2e8f0;
  --c-success:       #16a34a;
  --c-pending:       #64748b;
  --font:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
           'Helvetica Neue', Arial, sans-serif;
  --max-w: 800px;
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
}

/* ── Accessibility ──────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.5rem 1rem;
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  z-index: 200;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Links ──────────────────────────────────────────── */
a { color: var(--c-link); }
a:hover { text-decoration-thickness: 2px; }

/* ── Layout ─────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Header / Nav ───────────────────────────────────── */
.site-header {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  padding: 0.875rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo {
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.9375rem;
  color: var(--c-text-muted);
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--c-primary);
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  background: var(--c-primary);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 9999px;
  padding: 0.25rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 38rem;
  margin: 0 auto;
}

/* ── Main content ───────────────────────────────────── */
main { padding: 2.5rem 0 3rem; }

.content-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--c-border);
}
.content-section:last-of-type { border-bottom: none; }

h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 0.875rem;
  margin-top: 2.5rem;
}
h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* First h2 needs less top margin inside a section */
.content-section > h2:first-child { margin-top: 0; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0.75rem 0 1rem 1.5rem; }
li { margin-bottom: 0.375rem; }

/* ── Step list (How It Works) ───────────────────────── */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  counter-reset: step;
}
.steps-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.125rem;
}

/* ── Status list (Development Status) ──────────────── */
.status-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
}
.status-list li {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  padding: 0.3rem 0;
}
.status-list .active::before {
  content: '✓';
  color: var(--c-success);
  font-weight: 700;
  font-size: 1rem;
}
.status-list .pending::before {
  content: '○';
  color: var(--c-pending);
  font-size: 1rem;
}

/* ── Callout box ────────────────────────────────────── */
.callout {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--c-primary);
  border-radius: 0 0.375rem 0.375rem 0;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-size: 0.9375rem;
}
.callout p { margin-bottom: 0; }

/* ── Page header (for privacy page) ────────────────── */
.page-header {
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-border);
  padding: 2.5rem 0;
}
.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}
.page-meta {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--c-text-muted);
  font-size: 0.875rem;
}
.site-footer a { color: var(--c-text-muted); }
.site-footer a:hover { color: var(--c-primary); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 2.5rem 0; }
  .hero h1 { font-size: 2rem; }
  .nav-links { gap: 1rem; }
  h2 { font-size: 1.25rem; }
}
