/* Bravery — interview-prep console.
   Dark stage-aware console: charcoal ground, mint signal, amber move.
   Structure is timeline-first (the four-stage arc, section dots) — deliberately
   unlike the light, ruled, square-cornered look of sibling sites. */

:root {
  --bg: #0d1418;
  --panel: #131f24;
  --panel-2: #17272d;
  --line: #223539;
  --line-soft: #1b2b30;
  --text: #dbe7e4;
  --muted: #8aa1a4;
  --mint: #37d6a5;
  --amber: #ffb454;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  background-image:
    radial-gradient(900px 380px at 12% -8%, rgba(55, 214, 165, .10), transparent 62%),
    radial-gradient(700px 320px at 100% 0%, rgba(255, 180, 84, .07), transparent 60%);
  background-repeat: no-repeat;
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 40; background: var(--mint); color: #06201a; padding: 8px 14px; text-decoration: none; }

a { color: var(--mint); }

/* ---------------- top bar ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 20, 24, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  max-width: 1060px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.logo-dot {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 4px rgba(55, 214, 165, .16);
  flex: none;
}
.logo-word { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.logo-sub {
  font-family: var(--mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--amber); margin-left: 2px;
}
.topnav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.topnav a {
  font-size: 13.5px; text-decoration: none; color: var(--muted);
  padding: 6px 11px; border-radius: 999px; border: 1px solid transparent;
}
.topnav a:hover { color: var(--text); background: var(--panel); }
.topnav a.is-current { color: var(--mint); border-color: rgba(55, 214, 165, .35); background: rgba(55, 214, 165, .08); }

/* ---------------- shell ---------------- */
.wrap { max-width: 1060px; margin: 0 auto; padding: 40px 24px 70px; }

/* ---------------- hero ---------------- */
.hero { max-width: 760px; margin: 12px 0 46px; }
.kicker {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 14px;
}
.kicker a { color: var(--amber); text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.hero h1, .article-head h1 {
  font-size: 40px; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px;
  color: #fff;
}
.hero-lede { font-size: 18px; color: var(--muted); margin: 0; max-width: 640px; }
.hero-small { margin-bottom: 24px; }

/* ---------------- the arc ---------------- */
.arc { margin: 0 0 52px; }
.arc-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
.arc-track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 2px solid var(--line);
}
.arc-track li {
  position: relative; padding: 22px 16px 0 0;
}
.arc-track li::before {
  content: ""; position: absolute; top: -8px; left: 0;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--mint);
}
.arc-num {
  display: block; font-family: var(--mono); font-size: 11px; color: var(--amber);
  letter-spacing: .1em; margin-bottom: 5px;
}
.arc-name { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.arc-hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------------- chapter blocks ---------------- */
.chapter-block { margin: 0 0 50px; }
.chapter-head { max-width: 700px; margin-bottom: 20px; }
.chapter-head h2 { font-size: 25px; margin: 0 0 8px; letter-spacing: -.01em; }
.chapter-head h2 a { color: var(--text); text-decoration: none; }
.chapter-head h2 a:hover { color: var(--mint); }
.chapter-head p { margin: 0; color: var(--muted); font-size: 15px; }

.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 12px;
}
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: rgba(55, 214, 165, .5); transform: translateY(-2px); }
.card-link { display: block; padding: 16px 17px 18px; text-decoration: none; color: inherit; }
.card h3 { font-size: 16.5px; line-height: 1.3; margin: 11px 0 8px; color: var(--text); font-weight: 600; }
.card-move { margin: 0; font-size: 13.5px; color: var(--mint); }
.card-focus {
  display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

.chip {
  display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .11em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}
.chip-stage { color: var(--amber); border-color: rgba(255, 180, 84, .4); background: rgba(255, 180, 84, .08); }

/* ---------------- article head ---------------- */
.briefing, .chapter, .legal { max-width: 760px; }
.article-head { margin-bottom: 30px; }
.article-head h1 { font-size: 36px; }
.standfirst { font-size: 18px; color: var(--muted); margin: 0 0 16px; }
.stamp { margin: 0; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.stamp-date { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }

/* ---------------- facts ---------------- */
.facts {
  display: grid; grid-template-columns: 140px 1fr; gap: 0; margin: 0 0 38px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  font-size: 14.5px;
}
.facts dt {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--line-soft);
  background: var(--panel-2); display: flex; align-items: center;
}
.facts dd { margin: 0; padding: 11px 16px; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.facts dt:nth-last-of-type(1), .facts dd:nth-last-of-type(1) { border-bottom: 0; }
.facts dd:nth-last-of-type(1) { color: var(--mint); font-weight: 600; }

/* ---------------- article body as a timeline ---------------- */
.briefing-body { counter-reset: step; position: relative; }
.briefing-body h2 {
  counter-increment: step;
  position: relative;
  font-size: 21px; letter-spacing: -.01em; color: #fff;
  margin: 44px 0 14px; padding: 0 0 0 34px;
}
.briefing-body h2::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font-family: var(--mono); font-size: 12px; color: var(--amber);
  width: 24px; height: 24px; line-height: 22px; text-align: center;
  border: 1px solid var(--line); border-radius: 50%; background: var(--panel);
}
.briefing-body h2::after {
  content: ""; position: absolute; left: 12px; top: 26px; bottom: -44px;
  width: 1px; background: var(--line);
}
.briefing-body h2:nth-of-type(7)::after { display: none; }
.briefing-body p { margin: 0 0 17px; padding-left: 34px; color: #c4d3d0; }
.briefing-body h2 + p { color: var(--muted); }

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

/* ---------------- chapter stage groups ---------------- */
.stage-group { margin: 0 0 34px; }
.stage-heading {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 6px; font-weight: 600;
}
.stage-heading .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); flex: none; }
.rows { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 1px solid var(--line); }
.row a {
  display: block; padding: 11px 0; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--line-soft);
}
.row:last-child a { border-bottom: 0; }
.row a:hover .row-title { color: var(--mint); }
.row-title { display: block; font-size: 16px; font-weight: 600; color: var(--text); }
.row-meta { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.row-meta em { color: var(--mint); font-style: normal; }

/* ---------------- related ---------------- */
.related { margin: 52px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.related h2 {
  font-family: var(--mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.related a {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  text-decoration: none; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 9px;
  padding: 13px 16px;
}
.related a:hover { border-color: rgba(55, 214, 165, .5); }
.related a span:first-child { font-weight: 600; }
.rel-move { font-size: 13px; color: var(--mint); white-space: nowrap; }

/* ---------------- legal ---------------- */
.legal-prose { color: #c4d3d0; }
.legal-prose p { margin: 0 0 16px; }
.legal-prose strong { color: var(--text); }

/* ---------------- footer ---------------- */
.foot { border-top: 1px solid var(--line); margin-top: 30px; }
.foot-in {
  max-width: 1060px; margin: 0 auto; padding: 26px 24px 46px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.foot-brand { margin: 0; }
.foot-links { margin: 0; display: flex; gap: 16px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--mint); }

/* ---------------- responsive ---------------- */
@media (max-width: 720px) {
  .wrap { padding: 28px 18px 54px; }
  .hero h1, .article-head h1 { font-size: 30px; }
  .arc-track { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .facts { grid-template-columns: 112px 1fr; }
  .topnav { margin-left: 0; width: 100%; }
  .related a { flex-direction: column; gap: 3px; }
  .rel-move { white-space: normal; }
}
