/* ============================================================
   Alpha Finance v2: the research hub, the newsletter and the article head
   Loaded after alpha.css (and article.css / blog.css on an article), before
   site.css, which the build appends. Everything is scoped to body.hub,
   body.nl or body.post so nothing here reaches the landing or the terminal.

   Grammar: the same as the landing's sections. A mono kicker, a Space Grotesk
   headline, one line of sub, then lists of hairline rows. No boxes, no tiles,
   no strips, no pills.
   ============================================================ */

/* ---------- page head (shared) ---------- */

body.hub .phead,
body.nl .phead { padding: 44px 0 0; }
body.hub .phead h1,
body.nl .phead h1 {
  font-family: var(--display);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 14em;
}
body.hub .phead-sub,
body.nl .phead-sub {
  margin-top: 18px;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}

/* the kicker is .lsec-k from site.css; restated here so the head does not
   depend on load order */
body.hub .phead .lsec-k,
body.nl .phead .lsec-k,
body.hub .lsec-k,
body.nl .lsec-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime-dim);
  margin-bottom: 14px;
}

/* ============================================================
   Research hub
   ============================================================ */

body.hub .hub-main { padding: 44px 0 88px; }

/* ---------- filter: an underline tab strip ---------- */

body.hub .tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
body.hub .tabs::-webkit-scrollbar { display: none; }
body.hub .tabs button {
  flex-shrink: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  padding: 2px 0 14px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
body.hub .tabs button:hover { color: var(--text-2); }
body.hub .tabs button.on { color: var(--text); border-bottom-color: var(--lime); }
body.hub .tabs button:focus-visible { outline: 1px solid var(--lime); outline-offset: 4px; border-radius: 2px; }

body.hub .phead-hub h1 { font-size: clamp(30px, 3.4vw, 40px); }

/* the landing's newsletter band, a little tighter at the foot of the hub */

/* ============================================================
   Newsletter
   ============================================================ */

/* ============================================================
   Article (body.post)
   The head, the byline, the live panel, and the rail's terminal links.
   The prose, takeaways, featured box, sources, author cards and related
   cards keep blog.css and article.css.
   ============================================================ */

body.post .posthead { padding: 40px 0 0; }
/* the body sits close under the head's rule; the section default is for
   pages that open with a heading, not a rule */
body.post .posthead + .section { padding-top: 32px; }
body.post .posthead-in { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
body.post .post-k {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
body.post .post-k a { color: var(--muted); }
body.post .post-k a:hover { color: var(--text-2); }
body.post .post-k .sep { color: var(--faint); }
body.post .post-k .here { color: var(--lime-dim); }
body.post .posthead h1 {
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.032em;
  color: var(--text);
  max-width: 20em;
}
body.post .posthead .dek { margin-top: 16px; max-width: 40em; font-size: 17px; line-height: 1.55; color: var(--text-2); }

/* one quiet byline: who wrote it, who checked it, when, how long */
body.post .byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; }
body.post .by { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
body.post .by b { color: var(--text-2); font-weight: 500; }
body.post .by > span > a:hover b { color: var(--text); border-bottom: 1px solid var(--lime-dim); }
body.post .by .avatar { width: 22px; height: 22px; }
body.post .by .avatar-fb { font-size: 8.5px; }
/* date and read time: a mark each, the value at the byline's text weight, and
   a hairline that separates "who" from "when" */
body.post .by-meta { gap: 7px; color: var(--muted); }
body.post .by-meta svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--muted); }
body.post .by-meta b,
body.post .by-meta time { color: var(--text-2); font-weight: 500; font-variant-numeric: tabular-nums; }
body.post .by-meta-first { padding-left: 22px; border-left: 1px solid var(--line-2); }
/* standards chips close the byline at the far edge. Same height as the
   avatars so the row keeps one baseline; the mark carries the colour (lime
   for the rulebook, amber for the corrections route), the label stays quiet
   until hover. */
body.post .by-links { margin-left: auto; gap: 8px; }
body.post .std {
  display: inline-flex; align-items: center; gap: 7px;
  height: 26px; padding: 0 11px 0 9px;
  border: 1px solid var(--line-2); border-radius: 13px;
  background: var(--panel);
  font-size: 12px; font-weight: 500; color: var(--text-2);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
body.post .std svg { width: 13px; height: 13px; flex-shrink: 0; }
body.post .std-policy svg { color: var(--lime); }
body.post .std-report svg { color: var(--heat); }
body.post .std:hover { color: var(--text); background: var(--panel-2); }
body.post .std-policy:hover { border-color: color-mix(in srgb, var(--lime) 55%, transparent); }
body.post .std-report:hover { border-color: color-mix(in srgb, var(--heat) 55%, transparent); }
body.post .std:focus-visible { outline: 1px solid var(--lime); outline-offset: 2px; }
body.post .by-fc { position: relative; cursor: help; }
body.post .by-fc .fc-shield { width: 14px; height: 14px; color: var(--lime-dim); }
body.post .by-fc:hover b, body.post .by-fc:focus-within b { border-bottom: 1px solid var(--lime-dim); }
body.post .by-fc:hover .fc-pop, body.post .by-fc:focus-within .fc-pop { opacity: 1; visibility: visible; transform: translateY(0); }

/* the article column fills its grid track, so the gap to the rail is the
   grid gap and nothing more. article.css caps .prose at 760px for the v1
   guides; here that left ~100px of dead space beside the rail. Type goes up
   a step so the longer measure stays readable. */
body.post .prose { max-width: none; }
/* two-column only: below 1080px article.css stacks the grid with its own gap */
@media (min-width: 1081px) {
  body.post .guide-grid { column-gap: 80px; }
}
body.post .prose > p,
body.post .prose > ul > li,
body.post .prose > ol > li { font-size: 16px; line-height: 1.7; }

/* the rail: contents, then the brief */
body.post .rail { position: sticky; top: 24px; align-self: start; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  /* the chips wrap to their own row here, so they start at the left edge with the rest */
  body.post .by-links { margin-left: 0; }
}

@media (max-width: 760px) {
  body.hub .phead,
  body.nl .phead { padding-top: 32px; }
  body.hub .hub-main { padding: 32px 0 56px; }
  body.hub .tabs { gap: 20px; }
  body.hub .lsec.nl { padding: 56px 0; }

  body.post .posthead { padding-top: 28px; }
  body.post .posthead + .section { padding-top: 24px; }
  body.post .rail { position: static; }
  body.post .by-links { margin-left: 0; }
  /* the byline stacks here, so the divider would open a row */
  body.post .by-meta-first { padding-left: 0; border-left: 0; }
}


/* ============================================================
   Trust pages (body.legal): About, Methodology, Editorial policy,
   Affiliate disclosure, Contact, Privacy, Terms. One column of prose
   beside a company card whose facts come from the build.
   ============================================================ */

body.legal { background: var(--bg); }
body.legal .tp-head { padding: 44px 0 36px; border-bottom: 1px solid var(--line); }
body.legal .tp-head .lsec-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime-dim);
  margin-bottom: 14px;
}
body.legal .tp-head h1 {
  font-family: var(--display);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 18em;
}
body.legal .tp-main { padding: 48px 0 96px; }
body.legal .tp-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) 280px;
  justify-content: space-between;
  align-items: start;
  gap: 64px;
}
body.legal .tp-prose { max-width: none; }
body.legal .tp-prose .lead { font-size: 17px; line-height: 1.6; color: var(--text); }
body.legal .tp-prose h2 { font-size: 20px; margin-top: 40px; }
body.legal .tp-prose h3 { margin-top: 28px; }
body.legal .tp-prose li em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-left: 6px; }
body.legal .tp-prose .note {
  margin: 28px 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--lime);
  border-radius: 6px;
  background: var(--panel);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
}

body.legal .tp-side {
  position: sticky;
  top: 24px;
  padding: 18px 20px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
body.legal .tp-side h5 {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
body.legal .tp-side .tp-side-h2 { margin-top: 22px; margin-bottom: 4px; }
body.legal .tp-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}
body.legal .tp-row:first-of-type { border-top: 0; }
body.legal .tp-row span { color: var(--muted); white-space: nowrap; }
body.legal .tp-row b { font-weight: 500; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
body.legal .tp-row b a { color: var(--text); }
body.legal .tp-row b a:hover { color: var(--lime); }
body.legal .tp-nav { display: flex; flex-direction: column; }
body.legal .tp-nav a { padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
body.legal .tp-nav a:first-child { border-top: 0; }
body.legal .tp-nav a:hover { color: var(--text); }

@media (max-width: 900px) {
  body.legal .tp-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  body.legal .tp-side { position: static; }
}
@media (max-width: 760px) {
  body.legal .tp-head { padding-top: 32px; }
}

/* ============================================================
   About (body.about): the Newhedge structure. A head with the live
   frame, then rows of kicker-and-heading on the left, content on the
   right, each row separated by a hairline inside the content box.
   ============================================================ */

body.about { background: var(--bg); }
body.about .ab-head { padding: 44px 0 8px; }
body.about .ab-head .lsec-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime-dim); margin-bottom: 14px; }
body.about .ab-head h1 { font-family: var(--display); font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; color: var(--text); }
body.about .ab-dek { margin-top: 18px; max-width: 42em; font-size: 16.5px; line-height: 1.6; color: var(--text-2); }

body.about .ab-sec { padding: 0; }
body.about .ab-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px 64px;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
body.about .ab-head + .ab-sec .ab-row { margin-top: 56px; }
body.about .ab-lead .lsec-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime-dim); margin-bottom: 14px; }
body.about .ab-lead h2 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: var(--text); max-width: 14em; }
body.about .ab-lead .lsec-more { margin-top: 18px; }
body.about .ab-body p { font-size: 15.5px; line-height: 1.65; color: var(--text-2); }
body.about .ab-body p + p { margin-top: 16px; }
body.about .ab-body a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
body.about .ab-body a:hover { text-decoration-color: var(--lime); }
body.about .ab-body strong { color: var(--text); font-weight: 600; }

/* a list of rows with a hairline between them, like the reference's news list */
body.about .ab-list { list-style: none; margin: 0; padding: 0; }
body.about .ab-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 190px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-2);
}
body.about .ab-list li:first-child { border-top: 0; padding-top: 0; }
body.about .ab-list .ic { display: flex; width: 18px; height: 18px; color: var(--muted); }
body.about .ab-list .ic svg { width: 100%; height: 100%; stroke-width: 1.6; }
body.about .ab-list b { font-family: var(--display); font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
body.about .ab-list-plain li { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); align-items: start; padding: 15px 0; }
body.about .ab-list-plain li span { font-size: 14.5px; line-height: 1.6; }

body.about .ab-aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
body.about .ab-aud h3 { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
body.about .ab-aud p { margin-top: 8px; font-size: 14px; line-height: 1.6; }

body.about .ab-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
body.about .ab-facts div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
body.about .ab-facts dt { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
body.about .ab-facts dd { margin: 7px 0 0; font-size: 13.5px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
body.about .ab-facts dd a { text-decoration: none; }

/* facts: six cells, three across */
body.about .ab-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.about .ab-facts dd a:hover { color: var(--lime); }

/* head: text on the left, the pulse on the right. The grid sits on an inner
   element, never on .wrap */
body.about .ab-head-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px 64px; align-items: center; }

/* head chips: who runs it, which company, is it checked. One tone, short labels */
body.about .ab-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
body.about .ab-chips a {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 12px 0 9px;
  border: 1px solid var(--line-2); border-radius: 14px;
  font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums;
  transition: border-color 0.15s, color 0.15s;
}
body.about .ab-chips svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--lime-dim); }
body.about .ab-chips a:hover { color: var(--text); border-color: color-mix(in srgb, var(--lime) 55%, transparent); }

/* the pulse */
body.about .ab-pulse svg { display: block; width: 100%; height: auto; overflow: visible; }
body.about .abp-grid path { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; }
body.about .abp-base { stroke: color-mix(in srgb, var(--lime) 22%, var(--line-2)); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
body.about .abp-run {
  stroke: var(--lime); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 170 1000; stroke-dashoffset: 170;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--lime) 70%, transparent));
  animation: abp-run 5.2s linear infinite;
}
@keyframes abp-run { to { stroke-dashoffset: -830; } }
body.about .abp-core { fill: var(--lime); }
body.about .abp-halo { fill: var(--lime); opacity: 0.18; transform-box: fill-box; transform-origin: center; animation: abp-halo 1.3s ease-in-out infinite; }
@keyframes abp-halo { 50% { opacity: 0.05; transform: scale(1.7); } }
body.about .ab-pulse p {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 6px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
  body.about .abp-run, body.about .abp-halo { animation: none; }
  body.about .abp-run { stroke-dasharray: none; opacity: 0.85; }
  body.about .abp-dot { display: none; }
}

body.about .ab-lead-sub { margin-top: 14px; max-width: 30em; font-size: 14px; line-height: 1.6; color: var(--muted); }
body.about .ab-lead-sub em { font-style: normal; color: var(--text-2); }

/* standards: four linked cards, a mark each */
body.about .ab-std { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.about .ab-body a.ab-std-c {
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
body.about .ab-body a.ab-std-c:hover { border-color: var(--lime-dim); transform: translateY(-2px); }
body.about .ab-std-c .ic {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-bottom: 4px;
  border: 1px solid var(--line-2); border-radius: 7px; background: var(--bg); color: var(--lime);
}
body.about .ab-std-c .ic svg { width: 15px; height: 15px; }
body.about .ab-std-c b { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
body.about .ab-std-c > span:not(.ic) { font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
body.about .ab-std-c i { margin-top: auto; padding-top: 6px; font-style: normal; font-size: 12.5px; color: var(--muted); transition: color 0.15s; }
body.about .ab-std-c:hover i { color: var(--lime); }

/* team: one card per accountable person */
body.about .ab-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.about .ab-person {
  display: flex; flex-direction: column;
  padding: 20px 20px 18px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
  scroll-margin-top: 90px;
}
body.about .ab-person:target { border-color: var(--lime-dim); }
body.about .ab-person header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
body.about .ab-ava {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 1px solid var(--line-2); background: var(--bg);
}
body.about .ab-ava-fb {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--lime);
  background: color-mix(in srgb, var(--lime) 8%, var(--bg));
  border-color: color-mix(in srgb, var(--lime) 30%, var(--line-2));
}
body.about .ab-person h3 { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.015em; color: var(--text); }
body.about .ab-role { margin-top: 5px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-dim); }
body.about .ab-body .ab-person p { font-size: 14px; line-height: 1.6; }
body.about .ab-body .ab-person .ab-role { font-size: 9.5px; line-height: 1; }
body.about .ab-person dl { margin: 16px 0 0; border-top: 1px solid var(--line); }
body.about .ab-person dl > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
body.about .ab-person dt { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
body.about .ab-person dd { margin: 0; font-size: 13px; color: var(--text); text-align: right; }
body.about .ab-body a.ab-in {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: auto; padding-top: 14px;
  font-size: 12.5px; color: var(--muted); text-decoration: none; transition: color 0.15s;
}
/* two links share the card's foot; the row takes over the push-to-bottom */
body.about .ab-ins { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: auto; }
body.about .ab-body .ab-ins a.ab-in { margin-top: 0; }
body.about .ab-in svg { width: 14px; height: 14px; color: var(--lime-dim); }
body.about .ab-body a.ab-in:hover { color: var(--lime); }
body.about .ab-body .ab-team-foot { margin-top: 16px; font-size: 13px; color: var(--muted); }
body.about #company, body.about #team { scroll-margin-top: 70px; }

body.about .ab-cta { padding: 0 0 80px; }
body.about .ab-cta-in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  padding: 36px 0 0; border-top: 1px solid var(--line);
}
body.about .ab-cta-in p { max-width: 40em; font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
body.about .ab-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 900px) {
  body.about .ab-row { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 48px 0; }
  body.about .ab-aud { grid-template-columns: minmax(0, 1fr); }
  body.about .ab-facts { grid-template-columns: 1fr 1fr; }
  body.about .ab-head-in { grid-template-columns: minmax(0, 1fr); }
  body.about .ab-pulse { max-width: 460px; }
  body.about .ab-list li { grid-template-columns: 22px minmax(0, 1fr); }
  body.about .ab-list li span:not(.ic) { grid-column: 2; }
}

@media (max-width: 620px) {
  body.about .ab-team, body.about .ab-std { grid-template-columns: minmax(0, 1fr); }
  body.about .ab-head { padding-top: 32px; }
}

/* ============================================================
   Brand kit (body.brand). About's grammar: a head, then rows with the
   label on the left and the goods on the right. Logos sit on stages in the
   background they are made for.
   ============================================================ */

body.brand { background: var(--bg); }
body.brand .bk-head { padding: 44px 0 0; }
body.brand .bk-head-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
body.brand .lsec-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime-dim); margin-bottom: 14px; }
body.brand .bk-head h1 { font-family: var(--display); font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; color: var(--text); }
body.brand .bk-dek { margin-top: 16px; max-width: 40em; font-size: 16.5px; line-height: 1.6; color: var(--text-2); }

body.brand .bk-row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px 64px;
  padding: 56px 0; border-top: 1px solid var(--line);
}
body.brand .bk-head + .bk-sec .bk-row { margin-top: 56px; }
body.brand .bk-sec:last-of-type .bk-row { padding-bottom: 88px; }
body.brand .bk-sec { scroll-margin-top: 70px; }
body.brand .bk-lead h2 { font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; color: var(--text); }
body.brand .bk-lead p:not(.lsec-k) { margin-top: 12px; max-width: 30em; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }

/* logo cards */
body.brand .bk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.brand .bk-card { margin: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); overflow: hidden; }
body.brand .bk-stage { display: flex; align-items: center; justify-content: center; height: 168px; padding: 24px; }
body.brand .bk-stage img { max-width: 100%; height: auto; }
body.brand .is-dark { background: var(--bg); }
body.brand .is-light { background: #f4f5f6; }
body.brand .bk-stage.is-split { padding: 0; align-items: stretch; }
body.brand .bk-stage.is-split span { flex: 1; display: flex; align-items: center; justify-content: center; }
body.brand .bk-stage.is-split span + span { border-left: 1px solid var(--line); }
body.brand .bk-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
body.brand .bk-card figcaption b { font-size: 13px; font-weight: 500; color: var(--text); }
body.brand .bk-card figcaption span { display: flex; gap: 6px; flex-shrink: 0; }
body.brand .bk-card figcaption a {
  padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 5px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2);
  transition: border-color 0.15s, color 0.15s;
}
body.brand .bk-card figcaption a:hover { color: var(--lime); border-color: color-mix(in srgb, var(--lime) 55%, transparent); }

/* rules */
body.brand .bk-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.brand .bk-rule { padding: 18px 20px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
body.brand .bk-rule h3 { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
body.brand .bk-rule ul { list-style: none; margin: 0; padding: 0; }
body.brand .bk-rule li { position: relative; padding: 8px 0 8px 22px; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
body.brand .bk-rule li:first-child { border-top: 0; }
body.brand .bk-rule li::before { position: absolute; left: 0; top: 8px; font-family: var(--mono); font-size: 12px; font-weight: 600; }
body.brand .is-do li::before { content: "\2713"; color: var(--lime); }
body.brand .is-dont li::before { content: "\00d7"; color: var(--neg-text); }

/* swatches */
body.brand .bk-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
body.brand .bk-sw {
  display: block; padding: 0 0 12px; text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel); overflow: hidden; color: inherit; font: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
body.brand .bk-sw:hover { border-color: var(--line-2); transform: translateY(-2px); }
body.brand .bk-sw:focus-visible { outline: 1px solid var(--lime); outline-offset: 2px; }
body.brand .bk-sw i { display: block; height: 76px; margin-bottom: 11px; background: var(--c); border-bottom: 1px solid var(--line); }
body.brand .bk-sw b { display: block; padding: 0 14px; font-size: 13px; font-weight: 500; color: var(--text); }
body.brand .bk-sw span { display: block; padding: 3px 14px 0; font-family: var(--mono); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* type */
body.brand .bk-type { display: flex; flex-direction: column; }
body.brand .bk-face { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
body.brand .bk-face:first-child { border-top: 0; padding-top: 0; }
body.brand .bk-spec { grid-column: 1 / -1; font-size: 34px; line-height: 1.1; color: var(--text); }
body.brand .bk-use { font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
body.brand .bk-use b { color: var(--text); font-weight: 500; }
body.brand .bk-face a { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
body.brand .bk-face a:hover { color: var(--lime); }

/* press */
body.brand blockquote { margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-left: 2px solid var(--lime); border-radius: 4px; background: var(--panel); font-size: 15px; line-height: 1.65; color: var(--text); }
body.brand .bk-len { margin: 0 0 8px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
body.brand .bk-copy + .bk-len { margin-top: 26px; }
body.brand .bk-copy { margin-top: 10px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 5px; background: none; cursor: pointer; font: inherit; font-size: 12.5px; color: var(--text-2); transition: border-color 0.15s, color 0.15s; }
body.brand .bk-copy:hover { color: var(--lime); border-color: color-mix(in srgb, var(--lime) 55%, transparent); }
body.brand .bk-facts { margin: 24px 0 0; border-top: 1px solid var(--line); }
body.brand .bk-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); font-size: 13.5px; }
body.brand .bk-facts dt { color: var(--muted); }
body.brand .bk-facts dd { margin: 0; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
body.brand .bk-facts dd a:hover { color: var(--lime); }
body.brand .bk-note { margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--muted); }

@media (max-width: 900px) {
  body.brand .bk-row { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 44px 0; }
  body.brand .bk-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  body.brand .bk-grid, body.brand .bk-rules { grid-template-columns: minmax(0, 1fr); }
  body.brand .bk-head { padding-top: 32px; }
}

/* ============================================================
   The Weekly Alpha (/newsletter/)
   The landing's grammar: a kicker, a display headline, bordered cards.
   The hero shows what an issue looks like; the archive is the research
   hub's card grid with one thumbnail per issue.
   ============================================================ */

body.nl { background: var(--bg); border-top: 0; }

/* ---------- hero: copy and form left, a sample issue right ---------- */

body.nl .nlhero { padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
body.nl .nlhero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(320px, 5fr); gap: 32px 64px; align-items: center; }
body.nl .nlhero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 12em;
}
body.nl .nlhero .lsec-k { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime-dim); margin-bottom: 14px; }
body.nl .nlhero .lsec-k .soon { padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--lime) 40%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--lime) 10%, transparent); color: var(--lime); letter-spacing: 0.12em; }
body.nl .phead-sub { margin-top: 18px; max-width: 34em; font-size: 16px; line-height: 1.6; color: var(--text-2); }
body.nl .nlhero .nl-form { max-width: 440px; margin-top: 28px; }
body.nl .phead-proof { margin-top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--faint); }
body.nl .phead-proof b { font-weight: 500; color: var(--muted); }

/* the sample issue: an email, drawn as the desk would send it */
body.nl .nlmail {
  padding: 18px 20px 20px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
body.nl .nlmail-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
body.nl .nlmail-from { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); }
body.nl .nlmail-from .logo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
body.nl .nlmail-h { margin-top: 14px; font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); }
body.nl .nlmail-nums { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; }
body.nl .nlmail-nums li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
body.nl .nlmail-nums li:first-child { border-top: 0; }
body.nl .nlmail-nums b { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
body.nl .nlmail-nums b.up { color: var(--pos-text); }
body.nl .nlmail-nums b.dn { color: var(--neg-text); }
body.nl .nlmail-chart { margin-top: 12px; padding: 10px 12px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
body.nl .nlmail-chart svg { display: block; width: 100%; height: 56px; }
body.nl .nlmail-chart span { display: block; margin-top: 7px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.04em; color: var(--muted); }
body.nl .nlmail-take { margin-top: 12px; font-size: 12.5px; line-height: 1.55; color: var(--text-2); }
body.nl .nlmail-take b { color: var(--text); font-weight: 600; }

/* ---------- the format, four flat notes in one row ---------- */

body.nl .nlfmt { border-bottom: 1px solid var(--line); }
body.nl .nlfmt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.nl .nlfmt-grid > div { padding: 22px 22px 22px 0; border-left: 1px solid var(--line); padding-left: 22px; }
body.nl .nlfmt-grid > div:first-child { border-left: 0; padding-left: 0; }
body.nl .nlfmt-grid b { display: block; font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
body.nl .nlfmt-grid span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- the archive: the hub's card grid, one thumbnail an issue ---------- */

body.nl .issues { padding: 56px 0 72px; }
body.nl .issues-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
body.nl .issues-head .lsec-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime-dim); margin-bottom: 10px; }
body.nl .issues-head h2 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; color: var(--text); }
body.nl .issues-n { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--faint); white-space: nowrap; padding-bottom: 6px; }
body.nl .nl-grid { margin-top: 22px; }
body.nl .nl-grid .pc-cat { color: var(--lime-dim); }
body.nl .issues-note { margin-top: 22px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--faint); }

/* ---------- questions ---------- */

body.nl .nlfaq { padding: 56px 0 80px; border-top: 1px solid var(--line); }
body.nl .nlfaq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 64px; align-items: start; }
body.nl .nlfaq .lsec-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime-dim); margin-bottom: 10px; }
body.nl .nlfaq h2 { font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; color: var(--text); }

@media (max-width: 1080px) {
  body.nl .nlhero-grid { grid-template-columns: 1fr; }
  body.nl .nlhero-side { max-width: 520px; }
  body.nl .nlfmt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.nl .nlfmt-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  body.nl .nlfaq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body.nl .nlhero { padding: 40px 0 40px; }
  body.nl .nlfmt-grid { grid-template-columns: 1fr; }
  body.nl .nlfmt-grid > div { border-left: 0; padding-left: 0; padding: 14px 0; border-top: 1px solid var(--line); }
  body.nl .nlfmt-grid > div:first-child { border-top: 0; }
  body.nl .issues { padding: 40px 0 56px; }
  body.nl .issues-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  body.nl .nlmail { padding: 16px 16px 18px; }
  body.nl .nlmail-nums li { grid-template-columns: 72px minmax(0, 1fr); }
}

/* ---------- coming soon: one screen over a live backdrop ---------- */

body.nl .nlsoon {
  position: relative;
  min-height: min(calc(100vh - 56px), 720px);
  display: flex; align-items: center;
  /* weighted to the bottom: the copy sits higher, clear of the price line */
  padding: 40px 0 150px;
  overflow: hidden;
  text-align: center;
}
/* the ground: a fine grid, a lime glow behind the copy, and seven days of
   Bitcoin drawn faint along the bottom from the terminal's own feed */
body.nl .nlsoon-bg { position: absolute; inset: 0; pointer-events: none; }
body.nl .nlsoon-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 20%, transparent 100%);
}
body.nl .nlsoon-bg::after {
  content: ""; position: absolute; left: 50%; top: 32%; width: 720px; height: 400px; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(184,242,75,0.16), rgba(184,242,75,0.05) 40%, transparent 70%);
  filter: blur(10px);
}
body.nl .nlsoon-bg canvas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; display: block; opacity: 0.6; mask-image: linear-gradient(to top, #000 45%, transparent 100%); -webkit-mask-image: linear-gradient(to top, #000 45%, transparent 100%); }
body.nl .nlsoon-tag {
  position: absolute; right: 24px; bottom: 18px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}
body.nl .nlsoon-tag b { font-weight: 500; }
body.nl .nlsoon-tag .up { color: var(--pos-text); }
body.nl .nlsoon-tag .down { color: var(--neg-text); }
body.nl .nlsoon-tag:empty { display: none; }

body.nl .nlsoon-in { position: relative; z-index: 1; width: 100%; }
body.nl .nlsoon .lsec-k { display: flex; justify-content: center; align-items: center; gap: 10px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lime-dim); margin-bottom: 16px; }
body.nl .nlsoon .lsec-k .soon {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 3px 9px 3px 7px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--lime) 45%, transparent);
  background: color-mix(in srgb, var(--lime) 10%, transparent);
  color: var(--lime); letter-spacing: 0.14em;
}
body.nl .nlsoon .lsec-k .soon i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 25%, transparent); animation: nlpulse 2.4s ease-in-out infinite; }
@keyframes nlpulse { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 25%, transparent); } 50% { box-shadow: 0 0 0 7px transparent; } }
body.nl .nlsoon h1 {
  margin: 0 auto; max-width: 16em;
  font-family: var(--display); font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 0%, #cfd4da 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.nl .nlsoon .phead-sub { margin: 16px auto 0; max-width: 34em; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }

/* one pill: the field and the button as a single object */
body.nl .nl-pill {
  display: flex; gap: 0; max-width: 440px; margin: 26px auto 0; padding: 4px;
  border: 1px solid var(--line-2); border-radius: 999px; background: color-mix(in srgb, var(--panel) 85%, transparent);
  box-shadow: 0 30px 80px -30px rgba(184,242,75,0.35), 0 1px 0 rgba(255,255,255,0.04) inset;
  transition: border-color 0.15s, box-shadow 0.15s;
}
body.nl .nl-pill:focus-within { border-color: color-mix(in srgb, var(--lime) 60%, var(--line-2)); box-shadow: 0 30px 80px -26px rgba(184,242,75,0.5); }
body.nl .nl-pill input { border: 0; background: transparent; padding: 9px 16px; font-size: 13.5px; border-radius: 999px; }
body.nl .nl-pill input:focus { outline: none; }
body.nl .nl-pill .btn { border-radius: 999px; padding: 9px 18px; font-size: 13px; white-space: nowrap; }

body.nl .nl-facts { list-style: none; margin: 14px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--muted); }
body.nl .nl-facts li { display: inline-flex; align-items: center; gap: 8px; }
body.nl .nl-facts li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--lime-dim); }

/* the desk behind it: one line of chips into the terminal */
body.nl .nl-from { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
body.nl .nl-from span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-right: 6px; }
body.nl .nl-from a {
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  font-size: 11.5px; font-weight: 500; color: var(--text-2);
  transition: border-color 0.12s, color 0.12s, transform 0.12s;
}
body.nl .nl-from a:hover { border-color: var(--line-2); color: var(--text); transform: translateY(-1px); }

@media (max-width: 760px) {
  body.nl .nlsoon { min-height: 0; padding: 56px 0 72px; }
  body.nl .nl-pill { flex-direction: column; border-radius: 16px; padding: 6px; }
  body.nl .nl-pill input { padding: 12px 14px; }
  body.nl .nl-pill .btn { width: 100%; }
  body.nl .nlsoon-tag { display: none; }
  body.nl .nlsoon-bg canvas { height: 30%; opacity: 0.4; }
  body.nl .nl-from { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) { body.nl .nlsoon .lsec-k .soon i { animation: none; } }

/* 404: the newsletter hero, with two ways out instead of a form */
body.nf .nf-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }

