/* StuffRankr public marketing pages (/welcome, /welcome/privacy).
 *
 * Hand-written, static, no build step. Colors and type scale are a manual
 * transcription of lib/constants/stuffrankr_design_tokens.dart (dark
 * palette) — see that file's doc comment for the source of truth. This
 * file is NOT read by the Flutter app; it only styles the two plain HTML
 * pages in this directory, which `flutter build web` copies verbatim
 * (like web/manifest.json, web/favicon.png) into the deployed site.
 */

:root {
  /* Raw palette — StuffRankrColors */
  --navy-950: #0b1116;
  --navy-900: #101820;
  --teal-700: #2e4750;
  --teal-500: #3e7580;
  --teal-300: #45d6c4;
  --teal-200: #7ce8da;
  --white: #f4faf8;
  --slate-400: #8a9ba3;
  --border-dark: #2a3642;
  --surface-card: #1c2733;

  /* StuffRankrSpacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;

  /* Radius scale */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-full: 999px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--white);
  font-family:
    'Manrope',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
}

a {
  color: var(--teal-200);
}

a:hover,
a:focus-visible {
  color: var(--teal-300);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-300);
  color: var(--navy-950);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: 10;
}

.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* -- Header --------------------------------------------------------- */

.site-header {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border-dark);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 880px;
}

.wordmark {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: var(--white);
}

.header-nav a {
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--slate-400);
  margin-left: var(--space-5);
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--teal-200);
}

/* -- Hero ------------------------------------------------------------ */

.hero {
  padding: var(--space-6) 0 var(--space-6);
}

.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-200);
  margin: 0 0 var(--space-4);
}

.hero h1 {
  font-weight: 800;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
}

.hero .lede {
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate-400);
  max-width: 56ch;
  margin: 0;
}

.hero .lede strong {
  color: var(--white);
  font-weight: 700;
}

/* -- How it works ----------------------------------------------------- */

.how-it-works {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--border-dark);
}

.how-it-works h2 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 var(--space-5);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  display: flex;
  gap: var(--space-4);
  background: var(--surface-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.step-number {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--teal-700);
  color: var(--teal-200);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h3 {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 var(--space-2);
  color: var(--white);
}

.step-body p {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-400);
  margin: 0;
}

/* -- Status ------------------------------------------------------------ */

.status {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--border-dark);
}

.status-card {
  background: var(--surface-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: 13px;
  color: var(--teal-200);
  background: rgba(69, 214, 196, 0.12);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  margin: 0 0 var(--space-3);
}

.status-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--teal-300);
}

.status p {
  color: var(--slate-400);
  margin: 0 0 var(--space-3);
}

.status p:last-child {
  margin-bottom: 0;
}

.contact-email {
  font-weight: 700;
  color: var(--teal-200);
}

/* -- Prose (privacy page) --------------------------------------------- */

.prose {
  padding: var(--space-6) 0;
}

.prose h1 {
  font-weight: 800;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
}

.prose .updated {
  color: var(--slate-400);
  font-size: 13px;
  margin: 0 0 var(--space-5);
}

.prose h2 {
  font-weight: 700;
  font-size: 18px;
  margin: var(--space-6) 0 var(--space-3);
}

.prose p,
.prose li {
  color: var(--slate-400);
  font-size: 15px;
  line-height: 1.7;
}

.prose strong {
  color: var(--white);
}

.prose ul {
  padding-left: var(--space-5);
}

.prose a {
  color: var(--teal-200);
}

/* -- Footer ------------------------------------------------------------ */

.site-footer {
  padding: var(--space-5) 0 var(--space-6);
  border-top: 1px solid var(--border-dark);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  max-width: 880px;
}

.legal-line {
  color: var(--slate-400);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-400);
  text-decoration: none;
  margin-left: var(--space-4);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--teal-200);
}

/* -- Responsive --------------------------------------------------------- */

@media (min-width: 640px) {
  .hero h1 {
    font-size: 40px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    flex-direction: column;
  }
}
