/* Shared stylesheet for the static /guide/<role>.html fact-sheet pages.
   These pages are plain static HTML outside the Vite/Tailwind build, so the
   values here are hand-copied from src/theme.ts (colors) and the actual
   Tailwind classes the rest of the app uses for the equivalent element —
   e.g. h1 mirrors CareerDetailScreen.tsx's "font-prose text-4xl" (2.25rem /
   2.5rem line-height), section labels mirror the shared H2 convention
   ("text-[0.7rem] uppercase tracking-[0.3em] text-ink-faint"), and the CTA
   button mirrors the outline-button convention used on /unlock and
   elsewhere (border + accent text, filling solid only on hover — NOT a
   solid-filled button, which is a different visual language than the rest
   of the app uses). Keep in sync with theme.ts / the component it mirrors
   if either ever changes.
*/

:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #0d0f12; /* ink.bg */
  color: #e6e8ea; /* ink.text */
  font-family: Georgia, Cambria, serif; /* fontFamily.prose */
  line-height: 1.625; /* leading-relaxed, the app's default body copy line-height */
}

.top {
  padding: 1rem 1.5rem; /* py-4 px-6, matching ShellLayout's header */
  border-bottom: 1px solid #232a33; /* ink.line */
}

.brand {
  font-family: ui-sans-serif, system-ui, sans-serif; /* fontFamily.ui */
  font-size: 0.875rem; /* text-sm, matching ShellLayout's brand mark */
  letter-spacing: 0.3em; /* tracking-[0.3em] */
  text-transform: uppercase;
  color: #c9a24b; /* ink.accent — ShellLayout's brand link is accent-colored */
  text-decoration: none;
}

.brand:hover {
  color: #e6e8ea;
}

main {
  max-width: 42rem; /* max-w-2xl, matching CareerDetailScreen's content width */
  margin: 0 auto;
  padding: 2.5rem 1.5rem; /* py-10 px-6, matching ShellLayout's <main> */
}

.eyebrow {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem; /* text-xs */
  letter-spacing: 0.3em; /* tracking-[0.3em] */
  text-transform: uppercase;
  color: #c9a24b; /* ink.accent — matches CareerDetailScreen's "A week in the life" eyebrow tag */
  margin: 0 0 0.5rem;
}

h1 {
  font-size: 2.25rem; /* text-4xl */
  line-height: 2.5rem;
  margin: 0.5rem 0 1.25rem;
  color: #e6e8ea;
  font-weight: 400; /* the app never bolds font-prose headings */
}

.hook {
  font-size: 1.125rem; /* text-lg */
  line-height: 1.625; /* leading-relaxed */
  color: #e6e8ea;
  border-left: 3px solid #c9a24b;
  padding-left: 1rem;
  margin: 0 0 1.5rem;
}

/* Outline button — matches the app's actual CTA convention (e.g. "Start
   free" on the landing page, "See plans" on /me): a bordered accent
   outline that fills solid only on hover. The earlier version here was a
   permanently solid-filled button, a different visual language than the
   rest of the site. */
.cta {
  display: inline-block;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem; /* text-sm */
  text-transform: uppercase;
  letter-spacing: 0.1em; /* tracking-widest */
  color: #c9a24b;
  background: transparent;
  border: 1px solid #c9a24b;
  padding: 0.75rem 1.5rem; /* py-3 px-6 */
  border-radius: 0.25rem; /* rounded */
  text-decoration: none;
  margin-bottom: 2rem;
  transition: background-color 0.15s, color 0.15s;
}

.cta:hover {
  background: #c9a24b;
  color: #0d0f12;
}

/* A two-column grid with gaps, no dividing borders — matches
   CareerDetailScreen's actual facts markup ("grid gap-6 sm:grid-cols-2"),
   not a bordered vertical list. */
.facts {
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .facts {
    grid-template-columns: 1fr 1fr;
  }
}

.fact {
  padding: 0;
}

.fact dt {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.7rem; /* text-[0.7rem] */
  letter-spacing: 0.2em; /* tracking-[0.2em] */
  text-transform: uppercase;
  color: #5b636e; /* ink.faint */
  margin: 0 0 0.35rem;
}

.fact dd {
  margin: 0;
  line-height: 1.625; /* leading-relaxed */
  color: #9aa2ad; /* ink.dim */
}

.window {
  font-size: 0.875rem; /* text-sm */
  line-height: 1.625;
  color: #9aa2ad;
  font-style: italic;
  margin: 0 0 2rem;
}

.back {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem; /* text-sm */
  margin-top: 1rem;
}

.back a {
  color: #c9a24b; /* matches the app's "Start with a free one →" accent-colored text link */
}

.back a:hover {
  color: #e6e8ea;
}

.contact {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem; /* text-xs — deliberately quieter than .back, this isn't the main CTA */
  color: #5b636e; /* ink.faint */
  margin-top: 0.75rem;
}

.contact a {
  color: #5b636e;
}

.contact a:hover {
  color: #9aa2ad;
}

a.cta, .back a, .contact a, .brand {
  transition: color 0.15s, background-color 0.15s;
}

.index-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.index-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid #232a33;
}

.index-list li:first-child {
  border-top: 1px solid #232a33;
}

.index-list a {
  color: #e6e8ea;
  text-decoration: none;
  font-size: 1.125rem; /* text-lg */
}

.index-list a:hover {
  color: #c9a24b;
}

.index-job {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem; /* text-xs */
  color: #9aa2ad;
}

/* Flat sections, no boxed background/border — the app doesn't box its
   content sections (see CareerDetailScreen's facts, MeScreen's tabs);
   separation comes from the small-caps H2 label + spacing alone. */
.day,
.faq {
  margin: 0 0 2rem;
}

.day h2,
.faq h2 {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.7rem; /* text-[0.7rem] */
  letter-spacing: 0.3em; /* tracking-[0.3em] — the shared H2 convention across the app */
  text-transform: uppercase;
  color: #5b636e; /* ink.faint */
  margin: 0 0 1rem;
}

.day p {
  margin: 0 0 1rem;
  line-height: 1.625;
  color: #9aa2ad; /* ink.dim */
}

.day .cta {
  margin-bottom: 0;
}

/* space-y-6 style spacing between items, no divider lines — matches the
   landing page's own FAQ (a plain <dl> with vertical gaps, no borders). */
.faq-item + .faq-item {
  margin-top: 1.5rem;
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 400;
  color: #e6e8ea;
}

.faq-item p {
  margin: 0;
  font-size: 0.875rem; /* text-sm */
  line-height: 1.625;
  color: #9aa2ad; /* ink.dim */
}
