/* ============================================================
   Sentryfolio — public site, shared stylesheet
   The 2026-07-21 design language, site-wide: charcoal canvas,
   one scarce gold, Newsreader serif + IBM Plex Mono. Gold is
   jewellery, not wallpaper. The night watch is the atmosphere.
   Homepage-only sections live in home.css (index loads both).
   ============================================================ */

/* ---- FONTS (latin subsets, self-hosted: this site loads nothing
   from anyone else's servers, and the build fails if it ever does) ---- */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibmplexmono-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibmplexmono-normal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/newsreader-italic-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* one variable file carries every roman weight the site uses */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/newsreader-normal-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- TOKENS ----------------------------------------------------------- */
:root {
  --bg:        #0A0A0C;
  --bg-alt:    #0C0C0F;
  --card:      #101013;
  --readout:   #0D0D10;
  --frame:     #121216;
  --frame-bar: #0E0E11;

  --text:      #EAE6DC;
  --body:      #B8B2A4;
  --muted:     #9B968A;
  --dim:       #837D6F;   /* lifted from the handoff's #6E695E: WCAG AA */
  --diamond:   #3A382F;

  --gold:      #C8A24B;
  --gold-lt:   #E3C87A;

  --hair:        rgba(234,230,220,0.09);
  --hair-soft:   rgba(234,230,220,0.05);
  --card-border: rgba(234,230,220,0.08);
  --gold-line:   rgba(200,162,75,0.15);
  --gold-border: rgba(200,162,75,0.30);

  --gain: #00A87E;
  --loss: #E06A33;

  --serif: 'Newsreader', Georgia, serif;
  --mono:  'IBM Plex Mono', ui-monospace, monospace;

  --maxw: 1200px;

  /* legacy aliases: pre-redesign names still referenced by the icon
     sprite and any rule not yet migrated. Same palette, new skin. */
  --canvas: var(--bg);
  --panel: var(--card);
  --panel-hover: #16161B;
  --hairline: var(--hair);
  --hairline-2: rgba(234,230,220,0.14);
  --ink: var(--text);
  --ink-muted: var(--body);
  --micro: var(--muted);
  --gold-deep: #A98A3F;
  --gold-dim: rgba(200,162,75,0.12);
  --display: var(--serif);
}

/* ---- BASE ------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-lt); }
::selection { background: rgba(200,162,75,0.3); }
/* the gold-italic emphasis is a marketing accent; long-form journal prose
   keeps its emphasis plain so gold stays jewellery, not wallpaper */
em { font-style: italic; color: var(--gold-lt); }
.art-body em, .guide-content em, .prose em { color: inherit; }

/* links inside running text must not rely on colour alone (WCAG 1.4.1) */
.prose a, .section-more a, .art-body a, .empty-state a, .disclaimer a,
.legal a, .note a, .a a, ol.steps a, .timeline a, .guide-content p a,
.form-privacy a, .form-flash a, .news-item p a, .standfirst a {
  text-decoration: underline; text-underline-offset: 3px;
}

/* one gold ring for every keyboard stop */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* keyboard users jump past the nav; invisible until focused */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: #16120A; font-weight: 600;
  font-family: var(--mono); font-size: 14px; padding: 10px 18px;
}
.skip-link:focus { left: 0; text-decoration: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, rgba(200,162,75,0.25), transparent); }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--gold-line); }

/* ---- NAV -------------------------------------------------------------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 26px; height: 26px; object-fit: contain; }
.wordmark { font-family: var(--mono); font-size: 15px; letter-spacing: 0.14em; color: var(--text); }
.wordmark .io { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: flex-end; font-family: var(--mono); font-size: 13px; }
.nav-links a { color: var(--muted); white-space: nowrap; padding: 10px 0; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--gold); }
.nav-links a.terminal { color: var(--gold); border: 1px solid rgba(200,162,75,0.45); padding: 8px 16px; border-radius: 3px; }
.nav-links a.terminal:hover { border-color: var(--gold); color: var(--gold-lt); }

/* the disclosure-menu button: hidden on desktop; menu.js reveals it */
.nav-menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 auto;
  background: none; border: 1px solid var(--hair); border-radius: 3px;
  color: var(--muted); cursor: pointer;
}
.nav-menu-btn svg { width: 22px; height: 22px; }
.nav-menu-btn[aria-expanded="true"] { border-color: var(--gold-border); color: var(--gold); }

@media (max-width: 900px) {
  /* No-JS fallback: links wrap onto their own rows, every link whole */
  .js-menu .nav { flex-wrap: nowrap; position: relative; }
  .js-menu .nav-menu-btn { display: inline-flex; margin-left: auto; }
  .js-menu .nav-links {
    display: none; position: absolute; top: 100%; right: 32px; z-index: 50;
    flex-direction: column; align-items: stretch; gap: 0; min-width: 240px;
    background: var(--bg-alt); border: 1px solid var(--hair); border-radius: 5px;
    padding: 8px 0; box-shadow: 0 18px 60px rgba(0,0,0,0.55);
  }
  .js-menu .nav-links.open { display: flex; animation: menu-in 0.16s ease; }
  .js-menu .nav-links a { padding: 12px 20px; border-bottom: 1px solid var(--hair-soft); }
  .js-menu .nav-links a:last-child { border-bottom: none; }
  .js-menu .nav-links a.terminal { margin: 10px 20px 6px; text-align: center; border-radius: 3px; }
}
@media (max-width: 560px) {
  .nav-links { gap: 14px; }
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---- BUTTONS ----------------------------------------------------------
   .btn-primary/.btn-ghost are the design's names; .btn-gold/.btn-ghost on
   the older templates get the identical skin so no page needs re-marking */
.btn, .btn-primary, .btn-ghost {
  display: inline-block; font-family: var(--mono); font-size: 14px;
  font-weight: 500; border-radius: 3px; padding: 14px 26px;
}
.btn:hover { text-decoration: none; }
.btn-primary, a.btn-gold, button.btn-gold {
  background: var(--gold); color: #0A0A0C;
  box-shadow: 0 4px 24px rgba(200,162,75,0.25);
  transition: background .2s, box-shadow .2s;
}
.btn-primary:hover, a.btn-gold:hover, button.btn-gold:hover {
  background: var(--gold-lt); color: #0A0A0C;
  box-shadow: 0 4px 32px rgba(200,162,75,0.45);
}
.btn-ghost, a.btn-ghost {
  color: var(--text); border: 1px solid rgba(234,230,220,0.25);
  background: none; padding: 14px 22px; transition: border-color .2s;
}
.btn-ghost:hover, a.btn-ghost:hover { border-color: rgba(234,230,220,0.6); color: var(--text); }
button.btn { border: 0; cursor: pointer; font-family: var(--mono); }
.cta-row, .hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-cta { margin-top: 26px; justify-content: center; }

/* outbound-link affordance: a small typographic arrow (never an emoji) */
.ext { font-size: 0.8em; opacity: 0.75; }

/* ---- SECTIONS + HEADINGS ---------------------------------------------- */
section { padding: clamp(56px, 8vh, 88px) 0; border-bottom: 1px solid var(--hair); }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); font-weight: 400;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold); flex: 0 0 auto;
}
h2.eyebrow { font-family: var(--mono); }
.cta-band .eyebrow, .empty-state .eyebrow { justify-content: center; }

h2, h1.page-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.01em;
  line-height: 1.15; text-wrap: balance; margin-bottom: 18px;
}
h1.page-title { font-size: clamp(30px, 5vw, 44px); }
/* the gold accent inside headings reads italic, per the design */
h2 b, h1.page-title b {
  color: var(--gold-lt); font-style: italic; font-weight: inherit;
}
.prose { color: var(--body); max-width: 62ch; text-wrap: pretty; }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--text); font-weight: 600; }
.section-more { margin-top: 18px; font-family: var(--mono); font-size: 13px; }
.section-more a { display: inline-block; padding: 6px 0; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.split-top { align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---- PAGE HEADERS ----------------------------------------------------- */
.guide-head { position: relative; overflow: hidden; padding: clamp(48px, 7vh, 76px) 0 clamp(28px, 4vh, 44px); border-bottom: 1px solid var(--hair); }
.guide-head .wrap { position: relative; }
.head-beacon {
  position: absolute; right: 3%; bottom: -34px; width: 230px; height: 230px;
  opacity: 0.09; pointer-events: none;
}

/* ---- SCREENSHOT FRAMES (subpages use the shot macro) ------------------ */
.shot-frame {
  margin: 30px 0 8px; background: var(--frame);
  border: 1px solid var(--gold-border); border-radius: 6px;
  padding: 0; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.shot-narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.shot-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-bottom: 1px solid rgba(200,162,75,0.18); background: var(--frame-bar); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%;
  background: rgba(200,162,75,0.2); }
.shot-bar i:first-child { background: rgba(200,162,75,0.9); }
.shot-bar i:nth-child(2) { background: rgba(200,162,75,0.4); }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-frame figcaption { padding: 10px 14px; font-family: var(--mono);
  font-size: 11px; color: var(--dim); border-top: 1px solid var(--hair); }

/* ---- ILLUSTRATIONS + ICONS -------------------------------------------- */
.illus { display: block; max-width: 720px; margin: 22px 0 10px; }
.gi {
  display: inline-block; width: 19px; height: 19px;
  fill: none; stroke: var(--gold); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -3.5px; margin-right: 7px;
}

/* ---- CARDS ------------------------------------------------------------ */
.cards {
  /* the 290px floor yields on very narrow screens (320px phones) */
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 14px; margin-top: 40px;
}
.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 5px; padding: 26px 24px;
  transition: border-color 0.2s ease;
}
.card:hover { border-color: var(--gold-border); }
.card-icon {
  width: 42px; height: 42px; border-radius: 5px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; text-wrap: pretty; }
.card-icon svg {
  width: 24px; height: 24px; fill: none; stroke: var(--gold);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* ---- THREE STEPS (how-it-works) --------------------------------------- */
.step-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 40px;
}
@media (max-width: 820px) { .step-grid { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--card);
  border: 1px solid var(--card-border); border-radius: 5px; padding: 26px 24px;
}
.step-icon {
  position: absolute; top: 24px; right: 22px; width: 26px; height: 26px;
  fill: none; stroke: var(--gold); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; opacity: 0.85;
}
.step-n {
  display: block; font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.1em; color: var(--gold); margin-bottom: 10px;
}
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; text-wrap: pretty; }

/* ---- CLOSING CALL ----------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .cta-line { color: var(--body); max-width: 46ch; margin: 0 auto; text-wrap: pretty; }

/* ---- THE INVITATION FORM ---------------------------------------------- */
.invite-form { background: var(--card); border: 1px solid var(--card-border);
  border-radius: 6px; padding: 28px 26px; }
.purpose { border: 0; padding: 0; margin: 0 0 20px; }
.purpose legend { font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--muted); margin-bottom: 10px; }
.purpose label { display: inline-block; margin: 0 8px 8px 0; cursor: pointer; }
.purpose input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.purpose span { display: inline-block; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--hairline-2); color: var(--muted);
  font-family: var(--mono); font-size: 13px; }
.purpose input:checked + span { border-color: var(--gold); color: var(--gold);
  background: var(--gold-dim); }
.purpose input:focus-visible + span { outline: 2px solid var(--gold);
  outline-offset: 3px; }
.js-menu .invite-form:not(:has(input[value="file"]:checked)) .field-file {
  display: none; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted);
  margin-bottom: 7px; }
.field .req { color: var(--gold); letter-spacing: 0.1em; margin-left: 6px; }
.field input, .field textarea { width: 100%; background: var(--readout);
  border: 1px solid var(--hairline-2); border-radius: 3px; color: var(--text);
  font: inherit; font-size: 16px; padding: 11px 14px; }
.field input:focus, .field textarea:focus { border-color: var(--gold-border); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; top: -9999px; }
.form-privacy { margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.form-flash { background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: 5px; padding: 14px 18px; margin-bottom: 20px;
  color: var(--text); font-size: 16px; }
.form-flash-err { background: rgba(224, 106, 51, 0.12);
  border-color: rgba(224, 106, 51, 0.4); }

/* ---- THE NEWS WIRE + LOGBOOK ------------------------------------------ */
.news-group { margin-top: 34px; }
.news-group:first-child { margin-top: 0; }
.news-group > .eyebrow { margin-bottom: 4px; }
.news-list { border-top: 1px solid var(--hair); }
.news-item { padding: 18px 2px; border-bottom: 1px solid var(--hair); }
.news-item h3 { font-family: var(--serif); font-weight: 500;
  font-size: 20px; line-height: 1.4; }
.news-item h3 a { color: var(--text); display: inline-block; padding: 4px 0; }
.news-item h3 a:hover { color: var(--gold-lt); }
.news-item p { color: var(--muted); font-size: 15px; max-width: 74ch; text-wrap: pretty; }
.news-meta { margin-top: 5px; font-family: var(--mono); font-size: 12px;
  color: var(--dim); letter-spacing: 0.03em; }

/* ---- THE JOURNAL ------------------------------------------------------ */
.post-list { display: grid; gap: 14px; }
.post-card { display: block; background: var(--card);
  border: 1px solid var(--card-border); border-radius: 5px; padding: 24px 26px;
  color: inherit; transition: border-color 0.2s ease; }
.post-card:hover { border-color: var(--gold-border); color: inherit; }
.post-card h2 { font-family: var(--serif); font-weight: 500;
  font-size: 22px; margin: 6px 0 8px; }
.post-card p { color: var(--muted); font-size: 15px; text-wrap: pretty; }

.article { max-width: 72ch; margin: 0 auto; }
.article h1 { font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.01em;
  line-height: 1.15; text-wrap: balance; margin: 6px 0 14px; }
.standfirst { color: var(--body); font-size: 19px; line-height: 1.6; text-wrap: pretty; }
.art-body { margin-top: 26px; color: var(--body); }
.art-body p + p { margin-top: 1em; }
.art-body h2 { font-size: 24px; margin: 30px 0 10px; }
.art-body strong { color: var(--text); }
.art-sources { margin-top: 34px; padding-top: 20px;
  border-top: 1px solid var(--hair); }
.art-sources ul { list-style: none; padding: 0; }
.art-sources li { padding: 4px 0; font-size: 15px; color: var(--body); }
.art-disclaimer { margin-top: 28px; padding-top: 16px;
  border-top: 1px solid var(--hair); color: var(--dim); font-size: 14px; }

/* ---- EMPTY STATES ----------------------------------------------------- */
.empty-state { background: var(--card); border: 1px solid var(--card-border);
  border-radius: 5px; padding: 44px 28px; text-align: center;
  color: var(--body); max-width: 62ch; margin: 0 auto; }

/* ---- PULL QUOTE (the operator's own words) ---------------------------- */
blockquote.pull {
  margin: 22px 0; padding: 4px 0 4px 18px;
  border-left: 2px solid var(--gold);
  font-style: italic; color: var(--text);
  font-size: 19px; line-height: 1.55; text-wrap: pretty;
}
blockquote.pull cite {
  display: block; margin-top: 8px; font-style: normal;
  font-family: var(--mono); color: var(--muted); font-size: 12px;
}

/* ---- FOOTER ----------------------------------------------------------- */
.foot { border-top: 1px solid var(--gold-line); }
.foot .inner { padding-top: 40px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 24px; }
.foot .top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.foot .brand img { width: 24px; height: 24px; }
.foot .brand .wordmark { font-size: 13px; }
.foot .links { display: flex; gap: 10px 22px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; }
.foot .links a { color: var(--muted); white-space: nowrap; padding: 6px 0; }
.foot .links a:hover { color: var(--gold); }
.foot .legal { font-size: 13px; color: var(--dim); max-width: 90ch; line-height: 1.7; text-wrap: pretty; }

/* ============================================================
   Guide page
   ============================================================ */
.guide-layout { display: grid; grid-template-columns: 230px 1fr; gap: 56px; padding-top: 40px; }
@media (max-width: 960px) { .guide-layout { grid-template-columns: 1fr; gap: 0; } }

.toc { position: sticky; top: 24px; align-self: start; }
@media (max-width: 960px) { .toc { position: static; margin-bottom: 28px; } }
.toc-title {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--gold); margin-bottom: 12px;
}
.toc a {
  display: block; color: var(--muted); font-family: var(--mono); font-size: 13px;
  padding: 7px 12px; border-left: 2px solid var(--hair);
}
.toc a:hover { color: var(--gold); border-left-color: var(--gold); }

.guide-content { max-width: 68ch; min-width: 0; }
.guide-content section { border-bottom: none; padding: 0 0 56px; }
.guide-content h2 { font-size: 26px; margin-top: 8px; }
.guide-content h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 26px 0 10px; }
.guide-content p, .guide-content li { color: var(--body); }
.guide-content strong { color: var(--text); font-weight: 600; }
.guide-content ul { padding-left: 22px; margin: 10px 0; }
.guide-content li + li { margin-top: 6px; }

/* numbered steps (scoped to the guide's ordered list — the homepage has a
   .steps SECTION of its own) */
ol.steps { list-style: none; counter-reset: step; margin: 18px 0; padding: 0; }
ol.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 22px 54px; margin: 0;
}
ol.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em;
  color: var(--gold); padding-top: 3px;
}
ol.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 12px; top: 30px; bottom: 4px;
  width: 1px; background: var(--hair);
}

/* callouts */
.note {
  background: var(--card); border: 1px solid var(--card-border);
  border-left: 2px solid var(--gold); border-radius: 0 5px 5px 0;
  padding: 14px 18px; margin: 18px 0; font-size: 15px; color: var(--body);
}
.note strong { color: var(--gold); }
.note a, .disclaimer a, .form-privacy a { padding: 5px 0; }

/* signal reference table */
.sig-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.sig-table th {
  text-align: left; font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold);
  font-weight: 400; padding: 10px 14px; border-bottom: 1px solid var(--hairline-2);
}
.sig-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--hair);
  vertical-align: top; color: var(--body);
}
.sig-table td:first-child { white-space: nowrap; font-weight: 600; color: var(--text); }
.sig-table .tag {
  display: inline-block; font-family: var(--mono); font-size: 11px;
  font-weight: 500; border-radius: 999px; padding: 2px 10px; letter-spacing: 0.04em;
}
.tag-drop { background: rgba(224, 106, 51, 0.15); color: var(--loss); }
.tag-up { background: rgba(200, 162, 75, 0.16); color: var(--gold); }
.tag-info { background: rgba(74, 144, 217, 0.15); color: #4A90D9; }
.table-scroll { overflow-x: auto; }

/* timeline (the nightly rhythm) */
.timeline { list-style: none; margin: 22px 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 1px; background: var(--hairline-2);
}
.timeline li { position: relative; padding: 0 0 24px 34px; color: var(--body); }
.timeline li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold);
}
.timeline time {
  font-family: var(--mono); font-weight: 500; color: var(--gold);
  font-variant-numeric: tabular-nums; margin-right: 10px;
}

/* FAQ (the guide's details/summary) */
details {
  border-bottom: 1px solid var(--hair); margin: 0; padding: 0;
}
details:first-of-type { border-top: 1px solid var(--hair); }
details summary {
  cursor: pointer; list-style: none; padding: 18px 4px;
  font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--text);
}
details summary::-webkit-details-marker { display: none; }
details summary::before {
  content: "+"; color: var(--gold); font-family: var(--mono);
  font-weight: 500; margin-right: 14px;
}
details[open] summary::before { content: "−"; }
details .a { padding: 0 4px 20px 30px; color: var(--muted); font-size: 16px; }

/* ---- MOBILE ----------------------------------------------------------- */
@media (max-width: 640px) {
  .eyebrow { font-size: 12px; }
  .toc-title { font-size: 11px; }
  .hero-cta .btn, .hero-cta .btn-primary, .hero-cta .btn-ghost,
  .cta-row .btn { width: 100%; text-align: center; }

  /* signals table becomes stacked cards on phones */
  .sig-table, .sig-table tbody, .sig-table tr, .sig-table td { display: block; width: 100%; }
  .sig-table tr {
    background: var(--card); border: 1px solid var(--card-border);
    border-radius: 5px; padding: 14px 16px; margin: 12px 0;
  }
  .sig-table tr:first-child { display: none; }   /* the header row */
  .sig-table td { padding: 3px 0; border-bottom: none; }
  .sig-table td:first-child { white-space: normal; font-size: 17px; padding-bottom: 6px; }
}

/* honour the OS request everywhere: no animation, no movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
