/* ==========================================================
   Resume Rhino landing page styles
   Colors: Tokyo Night palette. Change a value here and every
   section of index.html that uses it updates.
   ========================================================== */

/* ---------- Fonts (self-hosted, latin subset, variable weight) ----------
   Served from the app's one assets folder (frontend/public/assets/fonts). */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/app/assets/fonts/manrope-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/app/assets/fonts/archivo-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/app/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
}

/* ---------- Color tokens ---------- */
:root {
  color-scheme: dark;

  /* Backgrounds */
  --bg: #1a1b26;          /* page background, Tokyo Night "bg" */
  --bg-deep: #16161e;     /* darkest bands: job board strip, closing, footer */
  --bg-raised: #1f2335;   /* hero and "Get your time back" sections */
  --surface: #24283b;     /* cards and panels */

  /* Lines and borders */
  --line-soft: #292e42;
  --line: #2f334d;
  --line-strong: #3b4261;

  /* Text */
  --text: #c0caf5;        /* headings and main text */
  --text-soft: #a9b1d6;   /* paragraphs */
  --text-muted: #8b93bf;  /* captions, "Cancel Anytime", code comments */
  --text-faint: #737aa2;  /* filtered-out rows in the sample report */

  /* Brand accents */
  --blue: #7aa2f7;        /* "Ride the Rhino" buttons, RESUME */
  --green: #9ece6a;       /* "Get My First Report" buttons, highlights */
  --green-muted: #769856; /* RHINO in the logo */
  --red: #f7768e;         /* deal killers, filtered-out counts */
  --on-accent: #16161e;   /* text on blue and green buttons */

  /* Tints */
  --blue-tint: rgba(122, 162, 247, 0.14);
  --green-tint: rgba(158, 206, 106, 0.14);
  --red-tint: rgba(247, 118, 142, 0.14);
  --shadow: rgba(0, 0, 0, 0.6);

  /* Light lavender "All while you sleep" band */
  --band: #c0caf5;
  --band-ink: #1a1b26;
  --band-text: #343b58;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
img { max-width: 100%; }
a { color: var(--text); }
a:hover { color: var(--blue); }
a[style*="background"]:hover { filter: brightness(1.08); color: var(--on-accent); }
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Phone width ---------- */
@media (max-width: 560px) {
  header nav { gap: 6px 18px !important; font-size: 14px !important; }
  section { padding-block: 64px !important; }
  section:first-of-type { padding-block: 48px 56px !important; }
}