/* The public landing page. One palette, dark, the same navy ladder as the
   review page (tftuniversity/ui/web/styles.css) with the logo's gold as the
   accent. Every colour is a token here; nothing below declares a raw colour. */
:root {
  color-scheme: dark;
  --bg: #0a0b1a;
  --panel: #12142a;
  --panel-2: #1a1d38;
  --line: #292d4f;
  --text: #eef0ff;
  --dim: #a3aad0;
  --gold: #e7c46a;
  --gold-soft: rgba(231, 196, 106, .12);
  --warn: #f5a868;
  --warn-soft: rgba(240, 140, 60, .16);
  --ink-on-gold: #1a1408;
  --radius: 12px;
  --wrap: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.01em; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

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

section { padding: 64px 0; }
section.wrap { padding-left: 20px; padding-right: 20px; }
.band { background: var(--panel); border-block: 1px solid var(--line); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 1;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.top nav { display: flex; gap: 20px; }
.top nav a { color: var(--dim); text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 80px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.lede { color: var(--dim); font-size: 1.15rem; max-width: 34em; }
.status { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.status p { margin: 8px 0 0; color: var(--dim); }
.pill {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: var(--gold); color: var(--ink-on-gold); font-size: .85rem; font-weight: 700;
}

/* The example finding */
.sample {
  margin: 0; padding: 22px; border-radius: var(--radius);
  background: var(--panel-2); border: 1px solid var(--line);
  border-left: 4px solid var(--warn);
}
.sample-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
.sev { color: var(--warn); background: var(--warn-soft); padding: 1px 8px; border-radius: 6px; font-weight: 600; }
.rounds { color: var(--dim); font-variant-numeric: tabular-nums; }
.sample-title { font-size: 1.25rem; font-weight: 700; margin: 14px 0 8px; }
.sample-body { color: var(--dim); margin-bottom: 14px; }
.sample figcaption { color: var(--dim); font-size: .8rem; border-top: 1px solid var(--line); padding-top: 10px; }

/* Steps and cards */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; padding: 20px; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 30px; height: 30px; margin-bottom: 12px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold); font-weight: 700;
}
.steps p, .cards p { color: var(--dim); margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.cards article { padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }

.facts, .reqs { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 46em; }
.facts li, .reqs li { padding-left: 22px; position: relative; color: var(--dim); }
.facts li::before, .reqs li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--gold);
}
.facts strong, .reqs strong { color: var(--text); }

.section-lede { color: var(--dim); max-width: 46em; }

/* Screenshots of the review page */
.shots { display: grid; gap: 32px; margin-top: 28px; }
.shots figure { margin: 0; }
.shots img {
  display: block; max-width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.shots figcaption { color: var(--dim); font-size: .92rem; margin-top: 10px; max-width: 46em; }

/* Footer */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--dim); }
.foot .meta { color: var(--text); }

@media (max-width: 820px) {
  .hero { padding: 48px 0; }
  .hero-grid, .steps, .cards { grid-template-columns: 1fr; }
  .top nav { display: none; }
  section { padding: 48px 0; }
}
