/* Signal Brief - editorial financial publishing skin.
   Ink on warm paper, one accent (deep financial green), no gradients.
   Fonts (Lora, Inter, IBM Plex Mono) load via <link> tags in each page's
   <head>. Keep those in sync if the font list changes. */

:root {
  /* Surfaces */
  --paper: #fcfaf6;
  --paper-band: #f4f0e8;
  --paper-raised: #ffffff;

  /* Ink */
  --ink: #14181b;
  --ink-panel: #14181b;
  --muted: #5b6360;
  /* --whisper is still used at 11px (mono ranks), so it has to clear 4.5:1
     on paper, not just look light. #6b716d = 4.8:1. */
  --whisper: #6b716d;
  --rule: #e3ddd1;
  --rule-strong: #cfc7b6;

  /* One accent: deep financial green.
     #0b5d3b on --paper = 7.6:1. White on #0b5d3b = 7.9:1.
     --accent-light on --ink = 9.6:1 (dark surfaces only). */
  --accent: #0b5d3b;
  --accent-hover: #084a2f;
  --accent-light: #6fd19b;
  --accent-wash: rgba(11, 93, 59, 0.06);
  --accent-line: rgba(11, 93, 59, 0.22);

  /* Semantic status */
  --danger: #a12617;
  --danger-on-dark: #f3b5ac;

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --max: 1120px;

  /* Broadsheet-tight radii. No pills. */
  --radius-sm: 2px;
  --radius-lg: 4px;
  --radius-xl: 6px;

  --shadow-soft: 0 1px 3px rgba(20, 24, 27, 0.05), 0 8px 24px -18px rgba(20, 24, 27, 0.25);
  --shadow-panel: 0 2px 6px rgba(20, 24, 27, 0.08), 0 24px 48px -32px rgba(20, 24, 27, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Accent text. Was a gradient; now a single calibrated ink-green.
   On dark panels it flips to the light counterpart. */
.accent-text {
  color: var(--accent);
}

.ink-panel .accent-text,
.tier-featured .accent-text,
.plus-upgrade .accent-text {
  color: var(--accent-light);
}

/* ── Recurring dark panel ─────────────────────────────────────────────────
   The dark surface is a deliberate, repeating device: feature card, featured
   tier, Plus band, and the ticker strip all share it, each marked by the same
   hairline accent rule on top. */

.ink-panel,
.plus-upgrade {
  position: relative;
  background: var(--ink-panel);
  color: var(--paper);
  border: 1px solid var(--ink-panel);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-panel);
}

.ink-panel::before,
.plus-upgrade::before,
.tier-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent-light);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* Nav */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 246, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--accent-light);
  font-size: 0.8125rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

/* Text links (everything but the CTA): tighter hit area plus a rule that
   draws in on hover/focus. */
.nav-links a:not(.nav-cta) {
  position: relative;
  padding: 0.4rem 0.3rem;
  border-radius: 0;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  right: 0.3rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--ink);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

/* Selector includes `.nav-links a` so it outranks `.nav-links a:hover`,
   which would otherwise swap the fill and leave the label invisible. */
.nav-links a.nav-cta {
  color: var(--paper);
  font-weight: 600;
  border: 1px solid var(--accent);
  background: var(--accent);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-links a.nav-cta:hover {
  color: var(--paper);
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Hero */

.hero {
  text-align: center;
  padding: 4.5rem 0 3.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 5.5vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 17ch;
  margin: 0 auto 1.25rem;
}

.hero-lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.005em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

/* Focus visibility */

.btn:focus-visible,
.nav-links a.nav-cta:focus-visible,
.form-inline input:focus-visible,
.footer-links a:focus-visible,
.sample-tabs button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.tier-featured .btn:focus-visible,
.btn-plus:focus-visible,
.ink-panel a:focus-visible,
.plus-upgrade a:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

/* The pill clips outlines (overflow: hidden), so draw the input's focus ring
   inset. The :focus-within lift still applies on top. */
.plus-upgrade-pill input:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: -4px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

.btn-primary {
  color: var(--paper);
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 2.5rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  max-width: 52rem;
  margin: 0 auto;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-row svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* Feature card - one instance of the recurring dark panel */

.feature-card {
  max-width: 44rem;
  margin: 0 auto 5rem;
  padding: 2.5rem 2.25rem;
  position: relative;
  background: var(--ink-panel);
  color: var(--paper);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-panel);
  text-align: center;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent-light);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.feature-card p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.4;
  margin: 0 0 0.75rem;
}

.feature-card .accent-text {
  color: var(--accent-light);
}

.feature-card .sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(252, 250, 246, 0.72);
  margin: 0;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */

.section {
  padding: 4.5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 2.5rem;
}

.section-intro,
.section-body {
  text-align: center;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 44ch;
  margin: -1.5rem auto 2.5rem;
}

.section-intro {
  max-width: 50ch;
}

.section-body em {
  font-style: italic;
  color: var(--ink);
}

.shell.narrow {
  max-width: 40rem;
}

/* Briefs */

.section-soft {
  background: var(--paper-band);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

#briefs.section-soft {
  padding-top: 5rem;
}

#briefs .section-intro {
  margin-bottom: 3rem;
}

/* Brief delivery diagram */

.brief-delivery {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 0.25rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 900px) {
  .brief-delivery {
    display: grid;
    grid-template-columns: 1fr auto 1.15fr;
    gap: 1rem 0.75rem;
    padding: 2rem;
    align-items: center;
  }
}

.delivery-mobile-note {
  margin: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--accent);
}

@media (min-width: 900px) {
  .delivery-mobile-note {
    display: none;
  }
}

.brief-delivery-source {
  text-align: center;
}

@media (min-width: 900px) {
  .brief-delivery-source {
    text-align: left;
  }
}

.delivery-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.delivery-tags {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.delivery-tag {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  background: var(--paper);
  text-align: left;
}

.delivery-tag-co {
  border-left: 3px solid var(--ink);
}

.delivery-tag-inv {
  border-left: 3px solid var(--accent);
}

.tag-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}

.tag-detail {
  font-size: 0.8125rem;
  color: var(--muted);
}

.brief-delivery-flow {
  position: relative;
  display: none;
  width: 4.5rem;
  height: 8rem;
  align-self: center;
}

@media (min-width: 900px) {
  .brief-delivery-flow {
    display: block;
  }
}

.flow-line {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 2.25rem;
  background: var(--rule-strong);
  transform: translateX(-50%);
}

.flow-line-1 { top: 0.5rem; }
.flow-line-2 { top: 2.85rem; }
.flow-line-3 { top: 5.2rem; }

.flow-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.inbox-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.inbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--paper-raised);
  border-bottom: 1px solid var(--rule);
}

.inbox-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}

.inbox-meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--paper-band);
  border: 1px solid var(--rule);
}

.inbox-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.inbox-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-lg);
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-left-width: 3px;
}

.inbox-item-pulse { border-left-color: var(--ink); }
.inbox-item-watch { border-left-color: var(--accent); }
.inbox-item-insider { border-left-color: var(--rule-strong); }

.inbox-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--paper);
  flex-shrink: 0;
}

.inbox-item-pulse .inbox-icon { background: var(--ink); }
.inbox-item-watch .inbox-icon { background: var(--accent); }
.inbox-item-insider .inbox-icon { background: var(--muted); }

.inbox-copy strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.inbox-copy span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.brief-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .brief-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.brief-card {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.brief-card-pulse { border-top: 3px solid var(--ink); }
.brief-card-watch { border-top: 3px solid var(--accent); }
.brief-card-insider { border-top: 3px solid var(--rule-strong); }

.brief-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.brief-num {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-sm);
  background: var(--paper-band);
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.6875rem;
  color: var(--ink);
}

.brief-card:hover {
  border-color: var(--rule-strong);
  box-shadow: var(--shadow-soft);
}

.brief-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 0.65rem;
}

.brief-card > p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.brief-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}

.brief-card li {
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}

.brief-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

/* Quote */

.quote-wrap {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.quote-wrap blockquote {
  margin: 0;
}

.quote-wrap blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 1.5rem;
}

.quote-wrap footer {
  font-size: 0.875rem;
  color: var(--muted);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: inline-block;
}

.quote-wrap cite {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 0.2rem;
}

/* Pricing */

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 52rem;
  margin: 0 auto;
}

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

.tier {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

/* Declared after `.tier` on purpose: same specificity, so source order is what
   flips the featured card to the dark panel. Keep it below `.tier`. */
.tier-featured {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  background: var(--ink-panel);
  color: var(--paper);
  border: 1px solid var(--ink-panel);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-panel);
}

.tier-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.tier-featured .tier-name {
  color: var(--paper);
}

.tier-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.85rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1;
}

.tier-price span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.tier-featured .tier-price span {
  color: rgba(252, 250, 246, 0.65);
}

.tier-price .tier-was {
  font-family: var(--font-body);
  text-decoration: line-through;
  color: var(--muted);
  margin-right: 0.35rem;
  font-size: 1.35rem;
}

.tier-featured .tier-price .tier-was {
  color: rgba(252, 250, 246, 0.55);
}

.tier-note {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 1rem;
}

.tier-featured .tier-note {
  color: var(--accent-light);
}

.tier-copy {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.tier-featured .tier-copy {
  color: rgba(252, 250, 246, 0.8);
}

.tier-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.9375rem;
  flex: 1;
}

.tier-list li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--rule);
}

.tier-featured .tier-list li {
  border-color: rgba(252, 250, 246, 0.18);
  color: rgba(252, 250, 246, 0.92);
}

.tier-featured .btn-primary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.tier-featured .btn-primary:hover {
  color: var(--ink);
  background: var(--accent-light);
  border-color: var(--accent-light);
}

/* Standard model book - the signature section */

.section-model-book {
  background: var(--paper);
  padding-bottom: 4rem;
}

.model-book-stage {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 960px) {
  .model-book-stage {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.model-book-foot {
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 46ch;
  margin: 0 auto;
}

/* Full-bleed ticker strip - dark ink tape, mono symbols. Reuses the panel
   device so the dark surface reads as a system, not a one-off. */

.ticker-strip-full {
  width: 100%;
  margin: 2.5rem 0;
  background: var(--ink-panel);
  border-top: 1px solid var(--ink-panel);
  border-bottom: 1px solid var(--ink-panel);
}

.ticker-tape {
  overflow: hidden;
  background: var(--ink-panel);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ticker-tape-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 38s linear infinite;
}

.ticker-tape span {
  flex-shrink: 0;
  padding: 0.9rem 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--paper);
  border-right: 1px solid rgba(252, 250, 246, 0.14);
}

/* Every third symbol picks up the accent, so the tape reads like a live
   quote board rather than a flat word list. */
.ticker-tape span:nth-child(3n) {
  color: var(--accent-light);
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* Model book cards */

.model-book-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.roster-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
}

.roster-header h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.roster-header p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.holdings-list,
.investor-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.holdings-list li,
.investor-list li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0.4rem;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s ease, transform 0.2s ease;
}

.holdings-list li:last-child,
.investor-list li:last-child {
  border-bottom: none;
}

.holdings-list li:hover,
.investor-list li:hover {
  background: var(--accent-wash);
  transform: translateX(3px);
}

.list-rank,
.investor-rank {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--whisper);
  min-width: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.holdings-symbol {
  min-width: 3.5rem;
  height: 1.85rem;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--paper-band);
  border: 1px solid var(--rule-strong);
  flex-shrink: 0;
}

.holdings-list li:hover .holdings-symbol {
  background: var(--ink);
  color: var(--accent-light);
  border-color: var(--ink);
}

.investor-avatar {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.6875rem;
  color: var(--paper);
  background: var(--ink);
  flex-shrink: 0;
}

.investor-list li:hover .investor-avatar {
  background: var(--accent);
}

.list-copy,
.investor-copy {
  min-width: 0;
}

.list-copy strong,
.investor-copy strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
  color: var(--ink);
}

.list-copy span,
.investor-copy span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 0.15rem;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-tape-track {
    animation: none;
  }

  .holdings-list li:hover,
  .investor-list li:hover {
    transform: none;
  }
}

/* Plus upgrade CTA - recurring dark panel */

.plus-upgrade {
  margin: 2.5rem auto 3rem;
  max-width: calc(var(--max) - 3rem);
  overflow: hidden;
}

.plus-upgrade-inner {
  display: flex;
  flex-direction: column;
  padding: 3rem 2rem;
  gap: 0;
}

@media (min-width: 900px) {
  .plus-upgrade-inner {
    padding: 3.5rem;
  }
}

.plus-upgrade-pitch {
  max-width: 600px;
  padding-bottom: 2.5rem;
}

.plus-upgrade-action {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(252, 250, 246, 0.18);
  flex-wrap: wrap;
}

.plus-upgrade-form {
  flex: 1;
  min-width: 280px;
}

.plus-upgrade-pill {
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(252, 250, 246, 0.3);
  background: rgba(252, 250, 246, 0.08);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.plus-upgrade-pill:focus-within {
  border-color: var(--accent-light);
  background: rgba(252, 250, 246, 0.12);
}

.plus-upgrade-pill input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1.1rem;
  background: transparent;
  border: none;
  outline: none;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.plus-upgrade-pill input[type="email"]::placeholder {
  color: rgba(252, 250, 246, 0.45);
}

.plus-upgrade-pill .btn-plus {
  margin: 4px;
  flex-shrink: 0;
  padding: 0.75rem 1.35rem;
  font-size: 0.9375rem;
}

.plus-upgrade-pitch h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  max-width: 22ch;
}

.plus-upgrade-pitch > p {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(252, 250, 246, 0.86);
  max-width: 48ch;
}

.plus-upgrade-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0;
}

.plus-upgrade-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(252, 250, 246, 0.92);
  border-bottom: 1px solid rgba(252, 250, 246, 0.14);
}

.plus-upgrade-list li:last-child {
  border-bottom: none;
}

.plus-upgrade-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 7px;
  height: 1px;
  background: var(--accent-light);
}

.btn-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--paper);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-plus:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}

/* Sentence case, no letter-spaced uppercase label. */
.plus-early-badge {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: transparent;
  border: 1px solid rgba(252, 250, 246, 0.3);
  color: var(--accent-light);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.plus-upgrade-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 1.25rem 0 1.5rem;
  flex-wrap: wrap;
}

.plus-upgrade-was {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 500;
  /* 0.55 alpha keeps the struck-through price readable (5.9:1 on ink). */
  color: rgba(252, 250, 246, 0.55);
  text-decoration: line-through;
}

.plus-upgrade-price-now {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.6rem;
  color: var(--paper);
  letter-spacing: -0.02em;
  line-height: 1;
}

.plus-upgrade-price-mo {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(252, 250, 246, 0.68);
}

.plus-upgrade-launch {
  flex-basis: 100%;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(252, 250, 246, 0.68);
}

.plus-upgrade-status {
  font-size: 0.875rem;
  color: rgba(252, 250, 246, 0.78);
  min-height: 1.25em;
  margin-top: 0.5rem;
}

.plus-upgrade-status[data-kind="error"] {
  color: var(--danger-on-dark);
  font-weight: 600;
}

/* CTA band */

#faq.section-soft {
  padding-bottom: 5.5rem;
}

.cta-band {
  margin: 4rem auto 5rem;
  max-width: calc(var(--max) - 3rem);
  padding: 3.5rem 2rem;
  border-radius: var(--radius-xl);
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin: 0 auto 1rem;
  line-height: 1.2;
}

.cta-band p {
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.cta-band .fine {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.form-status {
  min-height: 1.25rem;
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
}

.form-status[data-kind="ok"] {
  color: var(--accent);
  font-weight: 600;
}

.form-status[data-kind="error"] {
  color: var(--danger);
  font-weight: 600;
}

.form-inline {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 28rem;
  margin: 0 auto;
}

.form-inline input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule-strong);
  background: var(--paper-raised);
  color: var(--ink);
}

.form-inline input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}

.form-row {
  display: grid;
  gap: 0.65rem;
  align-items: stretch;
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr auto;
  }
}

.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;
}

.tier-toggle {
  display: flex;
  gap: 0.35rem;
  margin: 0;
  padding: 0.3rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-raised);
  min-height: 3.1rem;
}

.tier-option {
  flex: 1;
  position: relative;
  cursor: pointer;
}

.tier-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.tier-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
  user-select: none;
}

.tier-option input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tier-option input:checked + span {
  background: var(--ink);
  color: var(--paper);
}

.tier-option:hover span {
  color: var(--ink);
}

.tier-option input:checked + span,
.tier-option input:checked:hover + span {
  color: var(--paper);
}

.form-row .btn-primary {
  white-space: nowrap;
  min-height: 3.1rem;
}

/* Footer */

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
  background: var(--paper-band);
  text-align: center;
}

.disclaimer {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 48rem;
  margin: 0 auto 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-links a {
  color: var(--muted);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

/* Reveal. Content is visible by default. motion.js adds .js-enabled to
   <html> as its first act; only then does the initial hidden state apply, so
   a missing or failed script never leaves the page blank. */

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-enabled [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 640px) {
  /* Keep Pricing (highest-intent link) visible on mobile; hide the
     lower-intent anchor links only. */
  .nav-links .nav-hide-mobile {
    display: none;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .cta-band {
    margin-top: 2.5rem;
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 2.5rem 1.5rem;
  }

  .plus-upgrade {
    margin-top: 2rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

/* ── Prose pages (privacy, terms) ─────────────────────────────────────── */

.page-prose .prose-shell {
  max-width: 44rem;
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
}

.prose-head {
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--ink);
}

.prose-head h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.65rem;
}

.prose-updated {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.85rem;
  color: var(--ink);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.25rem;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 7px;
  height: 1px;
  background: var(--accent);
}

.prose a {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid var(--accent-line);
  transition: border-color 0.2s ease;
}

.prose a:hover {
  border-bottom-color: var(--accent);
}

.prose a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* The advice disclaimer is the load-bearing block on /terms. Give it the
   accent-wash callout treatment so it cannot be skimmed past. */
.prose-callout {
  padding: 1.5rem 1.5rem 1.25rem;
  margin: 0 0 1.5rem;
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
}

.prose-callout h2 {
  margin-top: 0;
}

.prose-callout p:last-child {
  margin-bottom: 0;
}

/* ── Plus intake page (scoped under .page-intake) ─────────────────────── */
.page-intake .intake-shell {
  max-width: 720px;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.page-intake h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
}
.page-intake .intake-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 2.25rem;
}
.intake-block {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.75rem;
  margin: 0 0 1.5rem;
  background: var(--paper-raised);
}
.intake-block legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 0 0.5rem;
}
.intake-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.25rem 0 1rem;
}
.intake-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.intake-field:last-child {
  margin-bottom: 0;
}
.intake-field label {
  font-weight: 600;
  font-size: 0.9rem;
}
.intake-field .opt {
  font-weight: 400;
  color: var(--muted);
}
.intake-rows {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.intake-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.intake-row input,
.intake-row select,
.intake-field input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--paper);
  color: var(--ink);
}
.intake-row input.narrow {
  flex: 0 0 5.5rem;
}
.intake-row select {
  flex: 0 0 7rem;
}
.intake-row input:focus,
.intake-row select:focus,
.intake-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}
.row-remove {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-raised);
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.row-remove:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-add {
  margin-top: 1rem;
}
.intake-submit {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}
.intake-done {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  padding: 1rem 0;
}
@media (max-width: 560px) {
  .intake-row {
    flex-wrap: wrap;
  }
  .intake-row input.narrow,
  .intake-row select {
    flex: 1 1 8rem;
  }
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq {
  margin-top: 1.5rem;
  border-top: 2px solid var(--ink);
}
.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.faq-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
