/* Landing-only: framed hero composition */

body.landing {
  background: #fff;
}

.shell {
  width: var(--frame-width);
  margin: 1.75rem auto 0;
}

.landing .topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0.85rem 0 1.5rem;
  min-height: 4.75rem;
  z-index: 5;
}

.landing .site-menu {
  top: 5.25rem;
  right: 0;
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7.2;
  min-height: 320px;
  max-height: 520px;
  overflow: hidden;
  background: #eef2f4;
  animation: media-in 0.9s ease both;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "title-l title-r"
    "lede    .";
  column-gap: clamp(1.5rem, 8vw, 6rem);
  pointer-events: none;
}

.hero-overlay > * { pointer-events: auto; }

.hero-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.7vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #111;
  max-width: 16ch;
  text-wrap: balance;
  animation: rise-in 0.75s ease both;
}

.hero-title-left {
  grid-area: title-l;
  align-self: start;
  justify-self: start;
  animation-delay: 0.1s;
}

.hero-title-right {
  grid-area: title-r;
  align-self: start;
  justify-self: end;
  text-align: right;
  font-size: clamp(1.2rem, 2.35vw, 2.05rem);
  animation-delay: 0.18s;
}

.hero-lede {
  grid-area: lede;
  align-self: start;
  justify-self: start;
  margin: 0.85rem 0 0;
  max-width: 28ch;
  font-size: clamp(0.82rem, 1.2vw, 0.98rem);
  line-height: 1.4;
  font-weight: 500;
  color: #1a1a1a;
  animation: rise-in 0.75s ease 0.24s both;
}

.feature-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  background: #0a0a0a;
  color: #fff;
  padding: 1.35rem 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.35vw, 1.15rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: opacity 0.2s ease, transform 0.2s ease;
  animation: rise-in 0.6s ease both;
}

.feature:nth-child(1) { animation-delay: 0.28s; }
.feature:nth-child(2) { animation-delay: 0.34s; }
.feature:nth-child(3) { animation-delay: 0.4s; }
.feature:nth-child(4) { animation-delay: 0.46s; }

.feature:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.feature-icon {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
}

.explore {
  width: 100%;
  margin: 0;
  padding: 3.5rem 0 0;
  background: #fff;
}

.explore-page {
  padding-top: 1.5rem;
}

.explore-intro {
  width: var(--frame-width);
  margin: 0 auto 1.5rem;
}

.explore-intro h1,
.explore-intro h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.explore-empty {
  width: var(--frame-width);
  margin: 0 auto 3rem;
}

.home-cta {
  width: 100%;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.home-cta-alt {
  background: #f3f3f3;
}

.home-cta-inner {
  width: var(--frame-width);
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.home-cta-inner h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

.home-cta-inner .lede {
  margin: 0;
  max-width: 42ch;
}

.home-cta-inner .sector-more {
  margin-top: 0.5rem;
}

.sector-jump {
  width: var(--frame-width);
  margin: 0 auto 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 0.65rem 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #eee;
  backdrop-filter: blur(8px);
}

.sector-jump a {
  border: 1px solid #ddd;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font: 650 0.82rem/1 Outfit, sans-serif;
  padding: 0.55rem 0.75rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sector-jump a:hover,
.sector-jump a.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.sector-rows {
  display: flex;
  flex-direction: column;
  width: var(--frame-width);
  margin: 0 auto;
}

.sector-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(52vh, 460px);
  background: #fff;
  scroll-margin-top: 4.5rem;
}

.sector-row:nth-child(even) {
  background: #f3f3f3;
}

.sector-row:nth-child(even) .sector-media {
  order: 2;
}

.sector-row:nth-child(even) .sector-copy {
  order: 1;
}

/* Sectors hub: logos only — no product/service still */
.sectors-hub .sector-row-logos {
  grid-template-columns: 1fr;
  min-height: 0;
}

.sectors-hub .sector-row-logos .sector-copy {
  max-width: 52rem;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}

.sectors-hub .sector-row-logos .sector-blurb {
  max-width: 48ch;
}

.sectors-hub .sector-row-logos .sector-logos {
  gap: 0.65rem;
}

.sectors-hub .sector-row-logos .sector-logos li {
  width: 3.6rem;
  height: 3.6rem;
  padding: 0.35rem;
}

.sector-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #111;
}

.sector-stage {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  color: inherit;
  text-decoration: none;
}

.sector-media img,
.sector-stage img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.sector-row:hover .sector-stage img {
  transform: scale(1.02);
}

.sector-stage-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.9rem 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font: 650 0.88rem/1.25 Outfit, sans-serif;
}

.sector-stage-caption .sym {
  display: inline-block;
  margin-right: 0.4rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.sector-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 4rem);
}

/* When copy sits on the left (even rows), flush text to the wordmark */
.sector-row:nth-child(even) .sector-copy {
  padding-left: 0;
}

.sectors-hub .sector-heading {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.15;
}

.sector-heading {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.sector-label {
  display: inline;
  font-weight: 800;
}

.sector-blurb {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  line-height: 1.55;
  color: #333;
  font-weight: 450;
}

.sector-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}

.sector-logos li {
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 0.28rem;
  box-sizing: border-box;
}

.sector-logos .sector-logo-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.sector-logos .sector-logo-link:focus-visible {
  outline: 2px solid #0a2540;
  outline-offset: 2px;
}

.sector-logos img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  display: block;
  transform: none !important;
}

.sector-logos-meta {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 550;
  color: #666;
}

.sector-more {
  align-self: flex-start;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid #111;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  background: #0a0a0a;
  color: #fff;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.sector-more:hover {
  background: #222;
  color: #fff;
  transform: translateY(-1px);
}

.explore-exit {
  width: var(--frame-width);
  margin: 2.5rem auto 3.5rem;
  padding-top: 1.5rem;
  border-top: 3px solid var(--ink);
}

.explore-exit h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.explore-exit .lede {
  margin: 0 0 1rem;
  max-width: 42ch;
  color: var(--muted);
}

.explore-exit .goal-result-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.risk-eyebrow {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.risk-heading {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-transform: none;
}

.read-more {
  align-self: flex-start;
  margin-top: 0.35rem;
  display: inline-flex;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}

.read-more:hover { transform: translateY(-1px); }

.read-more-label,
.read-more-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  background: #fff;
  transition: background 0.15s ease, color 0.15s ease;
}

.read-more-label { padding: 0.7rem 1.15rem; }

.read-more-arrow {
  width: 2.6rem;
  border-left: 0;
  font-size: 1.05rem;
}

.read-more:hover .read-more-label,
.read-more:hover .read-more-arrow {
  background: #111;
  color: #fff;
}

.risk-detail-hero {
  width: var(--frame-width);
  margin: 0 auto 1.75rem;
  overflow: hidden;
  background: #e8e8e8;
  aspect-ratio: 16 / 8;
}

.risk-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.risk-detail-body {
  width: min(800px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0 0 4rem;
  display: grid;
  gap: 1rem;
}

.risk-panel h2 { margin-bottom: 0.55rem; }
.risk-note { margin: 0.5rem 0 0.25rem; }
.risk-detail-body .read-more { margin-top: 0.75rem; }
.explore-intro .back { margin-bottom: 0.85rem; }

.future-intro {
  padding-bottom: 2rem;
}

.mover-list {
  list-style: none;
  margin: 0 auto 1.5rem;
  padding: 0;
  width: var(--frame-width);
}

.mover-list li + li .mover-row {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mover-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto;
  gap: 0.95rem 1.25rem;
  align-items: center;
  padding: 1rem 0;
  text-decoration: none;
  color: inherit;
}

.mover-row:hover .mover-symbol {
  text-decoration: underline;
}

.mover-logo {
  width: 6.5rem;
  height: 6.5rem;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.45rem;
  box-sizing: border-box;
}

.mover-id {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.mover-symbol {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mover-name,
.mover-sector {
  font-size: 0.92rem;
  color: #444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mover-change {
  justify-self: end;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  min-width: 5.5rem;
  text-align: right;
}

.mover-change.up { color: #0b7a3b; }
.mover-change.down { color: #9b1c1c; }

.mover-moves {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  min-width: 6.5rem;
}

.mover-moves .mover-change {
  min-width: 0;
  font-size: 1rem;
}

.mover-moves .mover-ytd {
  font-size: 0.9rem;
  font-weight: 700;
}

.mover-move-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #666;
  margin-left: 0.2rem;
}

.mover-follow {
  padding-bottom: 3.5rem;
}

.streak-panels {
  width: var(--frame-width);
  margin: 0 auto 1rem;
  display: grid;
  gap: 2.5rem;
}

/* Author display:grid beats the UA [hidden] rule — force hide on tab switch. */
.streak-panels[hidden] {
  display: none;
}

.streak-tabs {
  width: var(--frame-width);
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.streak-tab {
  appearance: none;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.1rem;
  border-radius: 0;
  cursor: pointer;
}

.streak-tab.is-active {
  background: var(--ink);
  color: #fff;
}

.streak-panel .mover-list {
  width: 100%;
}

.movers-band-head {
  margin: 0 0 1rem;
}

.movers-band-head h3 {
  margin: 0.15rem 0 0.4rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

[data-movers-page] .explore-intro h1 {
  max-width: 36ch;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.25;
}

[data-movers-page] .lede-follow {
  margin: 0.55rem 0 0;
  max-width: 46ch;
  font-size: var(--text-follow);
  line-height: 1.45;
  color: #555;
}

[data-movers-page] .meta,
[data-movers-page] .streak-nest,
[data-movers-page] .explore-empty {
  font-size: var(--text-follow);
}

.streak-panels > .mover-list,
.streak-panels > .empty {
  width: 100%;
}

.streak-row {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.95rem 1.35rem;
}

.streak-main {
  display: flex;
  align-items: center;
  gap: 0.95rem 1.15rem;
  min-width: 0;
}

.streak-days {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  text-align: center;
  line-height: 1.1;
  width: max-content;
  max-width: 100%;
}

.streak-days-num,
.streak-days-label,
.streak-days-range {
  text-align: center;
  width: 100%;
}

.streak-days-num {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.streak-days-label {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.streak-days-range {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.streak-days.up .streak-days-num { color: #0b7a3b; }
.streak-days.down .streak-days-num { color: #9b1c1c; }

.streak-row .mover-change {
  justify-self: end;
}

.discover-movers .mover-logo {
  object-fit: contain;
  background: #fff;
}

.home-page .explore-intro h1 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 700;
}

.home-page .explore-intro { margin-bottom: 0.35rem; }

.home-page .topbar {
  align-items: center;
}

/* —— Guided home landing —— */
.home-lead {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.home-lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: var(--frame-width);
  margin: 0 auto;
  min-height: min(72vh, 580px);
  background: #f3f3f3;
}

.home-lead-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.35rem;
  /* Left flush with wordmark; keep right gap before media */
  padding: clamp(1.75rem, 4.5vw, 3rem) clamp(1.25rem, 3.5vw, 2.75rem) clamp(1.75rem, 4.5vw, 3rem) 0;
}

.home-lead-block { max-width: 34rem; }

.home-lead-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #e8e8e8;
}

.home-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.home-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.1rem, 4.5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.home-hero .lede {
  margin: 1rem 0 0;
  max-width: 42ch;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--muted);
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
  align-items: center;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--ink);
}

.home-btn-primary {
  background: var(--ink);
  color: #fff;
}

.home-btn-ghost {
  background: transparent;
  color: var(--ink);
}

.home-familiarity h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.home-familiarity .lede {
  margin: 0 0 1.15rem;
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.45;
}

.home-section {
  width: var(--frame-width);
  margin: 0 auto;
  padding: 3rem 0 0.5rem;
}

.home-section > h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.home-section > .lede {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.45;
}

.home-clarity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.home-clarity article,
.home-clarity a.home-action {
  background: #fff;
  border-top: 3px solid var(--ink);
  /* Left flush with wordmark / section titles */
  padding: 1.25rem 1.1rem 1.4rem 0;
}

.home-clarity a.home-action {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease;
}

.home-clarity a.home-action:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.home-clarity h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.home-clarity p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.home-action-go {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--ink);
}

.home-actions > h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.home-actions .path-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-clarity a.home-action.path-primary {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.journey-crumbs {
  width: var(--frame-width, min(1120px, calc(100% - 2.5rem)));
  margin: 0.85rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.journey-crumbs a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.journey-crumbs strong {
  color: var(--ink);
  font-weight: 700;
}

.journey-crumbs-sep {
  opacity: 0.45;
}

.plan-exit {
  margin: 2rem 0 1rem;
  padding: 1.35rem 0 0;
  border-top: 3px solid var(--ink);
  max-width: 48rem;
}

/* Direct children of explore pages sit in the logo frame (not viewport-left). */
.explore-page > .plan-exit {
  width: var(--frame-width);
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  box-sizing: border-box;
  padding-bottom: 3rem;
}

.plan-exit h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-exit .lede {
  margin: 0 0 1rem;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.45;
}

.plan-exit-company {
  width: min(720px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.home-pillars-cta {
  margin-top: 1.5rem;
}

.equity-detail-cta {
  margin-top: 1.25rem;
}

.about-mission {
  padding-top: 0.5rem;
}

.about-cta-row {
  margin-top: 1.75rem;
}

/* Keep About blocks on the same frame as the logo / explore-intro. */
.about > .about-hero,
.about > .about-block {
  width: var(--frame-width);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.about-hero .about-mission-quote {
  margin: 0.15rem 0 0;
  max-width: 52ch;
}

.about-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6e6e6;
}

.about-block h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-block-lede {
  margin: 0;
  max-width: 48ch;
  color: #444;
  line-height: 1.5;
}

.about-mission-quote {
  margin: 0;
  padding: 0;
  border: 0;
  max-width: 52ch;
}

.about-mission-quote p {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink, #0a0a0a);
  letter-spacing: -0.015em;
}

.about-means {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.about-means li {
  margin: 0 0 1rem;
  padding: 0;
  max-width: 48ch;
}

.about-means strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.about-means span {
  display: block;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.45;
}

.about-block-quiet h2 {
  font-size: 1.05rem;
}

.about-block-end {
  margin-bottom: 0.5rem;
}

/* Dividends supporting read */
.dividends > .dividends-hero,
.dividends > .div-block,
.dividends > .div-footnote {
  width: var(--frame-width);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.dividends-hero-lede {
  max-width: 48ch;
}

.div-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6e6e6;
}

.div-block h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.div-block-lede {
  margin: 0 0 0.75rem;
  max-width: 52ch;
  color: #444;
  line-height: 1.5;
}

.div-metrics,
.div-goal-steps {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: div-step;
}

.div-metrics li,
.div-goal-steps li {
  counter-increment: div-step;
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  column-gap: 0.85rem;
  margin: 0 0 1.15rem;
  align-items: start;
}

.div-metrics li::before,
.div-goal-steps li::before {
  content: counter(div-step);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink, #0a0a0a);
}

.div-metric-body {
  min-width: 0;
  max-width: 52ch;
}

.div-metric-body strong {
  display: block;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.div-metric-body p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.45;
}

.div-target {
  display: inline;
  margin-left: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #555;
  white-space: nowrap;
}

.div-table-wrap {
  margin: 0.85rem 0 0.55rem;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.div-table-wrap.div-screen-scroll {
  max-height: min(70vh, 40rem);
  overflow: auto;
}

.div-screen-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  box-shadow: 0 1px 0 #e8e8e8;
}

.div-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: 0.92rem;
  table-layout: fixed;
}

.div-table th,
.div-table td {
  padding: 0.7rem 0.85rem 0.7rem 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e8e8e8;
  line-height: 1.4;
}

.div-table thead th {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
  border-bottom: 2px solid var(--ink, #0a0a0a);
}

.div-table thead th:nth-child(1),
.div-table tbody th {
  width: 22%;
}

.div-table thead th:nth-child(2),
.div-table tbody td:nth-child(2) {
  width: 32%;
}

.div-table thead th:nth-child(3),
.div-table tbody td:nth-child(3) {
  width: 16%;
}

.div-table thead th:nth-child(4),
.div-table tbody td:nth-child(4) {
  width: 30%;
}

.div-table tbody th {
  font-weight: 700;
  color: var(--ink, #0a0a0a);
  white-space: normal;
}

.div-table td {
  color: #444;
}

.div-table-note {
  margin: 0.65rem 0 0;
  max-width: 52ch;
}

.affordable-div-table thead th:nth-child(2),
.affordable-div-table tbody td:nth-child(2),
.affordable-div-table thead th:nth-child(3),
.affordable-div-table tbody td:nth-child(3),
.affordable-div-table thead th:nth-child(4),
.affordable-div-table tbody td:nth-child(4),
.affordable-div-table thead th:nth-child(5),
.affordable-div-table tbody td:nth-child(5),
.affordable-div-table thead th:nth-child(6),
.affordable-div-table tbody td:nth-child(6) {
  width: auto;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.affordable-div-table thead th:nth-child(6),
.affordable-div-table tbody td:nth-child(6) {
  text-align: left;
  white-space: normal;
}

.affordable-div-table .mover-change {
  font-weight: 650;
}

.div-screen-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 0.85rem 0 0.5rem;
}

.div-screen-mode {
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
}

.div-screen-mode:hover {
  color: var(--ink, #0a0a0a);
}

.div-screen-mode.is-active {
  color: var(--ink, #0a0a0a);
  border-bottom-color: var(--ink, #0a0a0a);
}

.div-screen-meta {
  margin: 0 0 0.75rem;
}

.div-screen-table tbody th {
  font-weight: 600;
}

.div-screen-co {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.div-screen-co:hover .div-screen-sym {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.div-screen-logo {
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.25rem;
  box-sizing: border-box;
}

.div-screen-co-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.div-screen-sym {
  font-weight: 700;
  line-height: 1.2;
}

.div-screen-name {
  font-weight: 400;
  color: #555;
  font-size: 0.88rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 28ch;
}

/* Rising this year aisle — logo-first, Format A band */
.div-gain-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.15rem 0 0;
  list-style: none;
  padding: 0;
}
.div-gain-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.div-gain-tile:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}
.div-gain-tile:hover .div-gain-sym {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.div-gain-logo-wrap {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid #ececec;
  display: grid;
  place-items: center;
  padding: 0.85rem 0.85rem 4.1rem;
  box-sizing: border-box;
  overflow: hidden;
}
.div-gain-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.div-gain-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.55rem 0.55rem;
  background: rgba(255, 255, 255, 0.82);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
  color: #333;
  letter-spacing: -0.01em;
}
.div-gain-band .div-gain-sym {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0a0a0a;
  line-height: 1.15;
  margin-bottom: 0.05rem;
}
.div-gain-band .div-gain-up {
  color: #1a6b3c;
  font-weight: 750;
}
.div-gain-meta {
  margin: 0.85rem 0 0;
}
.div-gain-foot {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.div-gain-foot a {
  color: inherit;
  border-bottom: 1px solid var(--ink, #0a0a0a);
  text-decoration: none;
}
@media (max-width: 820px) {
  .div-gain-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .div-gain-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
  .div-gain-logo-wrap { padding: 0.65rem 0.65rem 3.85rem; }
  .div-gain-band { font-size: 0.72rem; padding: 0.45rem 0.45rem 0.5rem; }
  .div-gain-band .div-gain-sym { font-size: 0.82rem; }
}

.div-block .home-cta-row {
  margin-top: 1.15rem;
}

.div-footnote {
  margin: 2rem auto 0.5rem;
}

.home-edu-note {
  margin: 1.25rem 0 0;
  max-width: 48ch;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.home-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.75rem 0 0;
}

.home-pillar {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 1.35rem 1.25rem 1.45rem;
  transition: border-color 0.15s ease;
}

.home-pillar:hover { border-color: var(--ink); }

.home-pillar-num {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-pillar h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.home-pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.home-pillar-go {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--ink);
}

.home-explore .discover-block { margin-top: 2.35rem; }

/* Stay full-width of .home-section — do not re-apply --frame-width
   (that uses calc(100% - gutter) and double-indents nested blocks). */
.home-explore .discover-block,
.home-explore .home-tape-cta,
.home-explore .home-learn,
.home-explore .home-entry,
.home-explore .home-track-nudge {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.home-search { max-width: 36rem; }

.home-pulse-more { margin-top: 0.85rem; }

.home-tape-cta {
  margin-top: 2.35rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e8e8e8;
}

.home-tape-cta > h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.home-tape-cta > .lede {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.45;
}

.home-tape-cta .home-cta-row {
  margin-top: 1.25rem;
}

.home-learn {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  margin: 2.25rem 0 3rem;
  padding: 1.15rem 0 2.5rem;
  border-top: 1px solid #e8e8e8;
}

.home-learn a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.home-learn a:hover { border-color: var(--ink); }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes media-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 820px) {
  :root { --frame-width: min(100% - 1.5rem, 1120px); }
  .shell { margin-top: 1.1rem; }
  .landing .topbar {
    padding: 0.55rem 0 1.15rem;
    min-height: 0;
  }
  .landing .site-menu { top: 4.75rem; }
  .home-lead-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .home-lead-copy { padding: 1.75rem 0 2rem; }
  .home-lead-media {
    min-height: 240px;
    order: -1;
  }
  .goal-lead-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .goal-lead-copy {
    padding: 1.75rem 0 2rem;
  }
  .goal-lead-media {
    min-height: 240px;
    order: -1;
  }
  .home-clarity { grid-template-columns: 1fr; }
  .home-pillars { grid-template-columns: 1fr; }
  .hero {
    aspect-ratio: auto;
    min-height: 420px;
    max-height: none;
  }
  .hero-photo { object-position: center 20%; }
  .hero-overlay {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "title-l"
      "lede"
      "title-r";
    row-gap: 0.85rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.2) 40%, rgba(255,255,255,0.55) 100%);
  }
  .hero-title-right {
    justify-self: start;
    text-align: left;
  }
  .feature-bar { grid-template-columns: 1fr 1fr; }
  .risk-detail-hero { aspect-ratio: 16 / 10; }
  .sector-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .sector-row:nth-child(even) .sector-media,
  .sector-row:nth-child(even) .sector-copy {
    order: unset;
  }
  .sector-media,
  .sector-stage,
  .sector-stage img { min-height: 220px; aspect-ratio: 16 / 10; }
  .sector-copy { padding: 1.5rem 0 2rem; }
  .sectors-hub .sector-row-logos .sector-copy {
    padding: 1.5rem 0 2rem;
  }
  .sectors-hub .sector-row-logos .sector-logos li {
    width: 3.15rem;
    height: 3.15rem;
  }
  .sector-jump { top: 0; }
  .mover-row {
    grid-template-columns: 5rem minmax(0, 1fr) auto;
  }
  .mover-logo {
    width: 5rem;
    height: 5rem;
  }
  .streak-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.75rem 0.85rem;
  }
  .streak-days-num {
    font-size: 1.55rem;
  }
  .streak-days-range {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .feature-bar { grid-template-columns: 1fr; padding: 1.1rem 0; }
}

/* —— Find your goal wizard —— */
.goal-lead {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.goal-lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: var(--frame-width);
  margin: 0 auto;
  min-height: min(68vh, 540px);
  background: #f3f3f3;
}

.goal-lead-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Left flush with wordmark; keep right gap before media */
  padding: clamp(1.75rem, 4.5vw, 3rem) clamp(1.25rem, 3.5vw, 2.75rem) clamp(1.75rem, 4.5vw, 3rem) 0;
  box-sizing: border-box;
}

.goal-lead-copy .eyebrow {
  margin: 0 0 0.65rem;
}

.goal-lead-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}

.goal-lead-copy .lede {
  margin: 1rem 0 0;
  max-width: 38ch;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--muted);
}

.goal-lead-media {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: #e8e8e8;
  isolation: isolate;
}

.goal-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.goal-lead-media.is-sync .goal-media-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.55s ease;
  z-index: 0;
}

.goal-lead-media.is-sync .goal-media-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.goal-lead-media.is-sync .goal-media-slide:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
  z-index: 3;
}

.goal-media-caption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  margin: 0;
  padding: 0.35rem 0.55rem;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  max-width: calc(100% - 1.7rem);
  pointer-events: none;
}

.goal-media-status {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  z-index: 2;
  margin: 0;
  padding: 0.3rem 0.5rem;
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.goal-media-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

.goal-lead-media.is-playing .goal-media-progress {
  animation: goal-media-tick var(--goal-media-ms, 10000ms) linear forwards;
}

@keyframes goal-media-tick {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .goal-lead-media.is-sync .goal-media-slide { transition: none; }
  .goal-lead-media.is-playing .goal-media-progress { animation: none; }
}

.goal-wizard {
  padding-top: 2.25rem;
  padding-bottom: 3rem;
  scroll-margin-top: 1rem;
}

.goal-progress,
.goal-glance,
.goal-panel,
.goal-nav,
.goal-match-rail,
.goal-cash-panel,
.goal-matches-page .discover-block-head,
.goal-matches-page .risk-note {
  width: var(--frame-width);
  margin-left: auto;
  margin-right: auto;
}

.goal-progress {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.goal-step-label {
  margin: 0 0 0.65rem;
}

.goal-step-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.goal-glance {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid #e8e8e8;
  padding: 1rem 0 1.15rem;
  margin-bottom: 1.75rem;
  background: #fff;
}

.goal-glance-static {
  margin-bottom: 2rem;
}

.goal-glance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  margin: 0.65rem 0 0;
}

.goal-glance-grid dt {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.goal-glance-grid dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.goal-panel[hidden] {
  display: none !important;
}

.goal-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.goal-choices-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.goal-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
  padding: 1rem 1.1rem;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s ease;
}

.goal-choice:hover,
.goal-choice.is-selected {
  border-color: var(--ink);
}

.goal-choice.is-selected {
  box-shadow: inset 3px 0 0 var(--ink);
}

.goal-carry {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--ink);
  background: #f4f4f4;
  max-width: 46rem;
}

.goal-carry[hidden] {
  display: none;
}

.goal-carry strong {
  display: block;
  margin-bottom: 0.2rem;
}

.goal-carry p {
  margin: 0;
  color: var(--muted, #444);
  font-size: 0.95rem;
}

.goal-carry a {
  font-weight: 700;
}

.goal-from-plan {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
}

.goal-from-plan[hidden] {
  display: none;
}

.goal-plan-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  max-width: 36rem;
}

.goal-plan-compare[hidden] {
  display: none;
}

.goal-plan-compare-card {
  padding: 0.85rem 1rem;
  border: 1px solid #e0e0e0;
  background: #fafafa;
}

.goal-plan-compare-card dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}

.goal-plan-compare-card dd {
  margin: 0.25rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.goal-plan-compare-card p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted, #444);
}

.goal-plan-compare-card a {
  font-weight: 700;
}

@media (max-width: 640px) {
  .goal-plan-compare {
    grid-template-columns: 1fr;
  }
}

.goal-choice-num {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
  font-weight: 600;
}

.goal-choice-title {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.goal-choice-meta {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.35;
}

.goal-fields {
  display: grid;
  gap: 1.15rem;
  margin-top: 0.5rem;
}

.goal-field {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.goal-field input[type="range"] {
  width: 100%;
  accent-color: var(--ink);
}

.goal-money-row {
  display: grid;
  grid-template-columns: 1fr minmax(7rem, 9rem);
  gap: 0.75rem;
  align-items: center;
}

.goal-money-row input[type="number"],
.goal-money-row input[type="text"],
.goal-custom-wrap input[type="text"] {
  border: 1px solid #ccc;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-weight: 600;
  width: 100%;
  background: #fff;
}

.goal-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.92rem;
}

.goal-check input {
  margin-top: 0.2rem;
  accent-color: var(--ink);
}

.goal-warn {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--ink);
  background: var(--soft);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.goal-recommend {
  margin: 0 0 1rem;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.45;
}

.goal-gauge {
  margin: 1rem 0 0.5rem;
}

.goal-gauge-track {
  height: 6px;
  background: #e8e8e8;
  position: relative;
}

.goal-gauge-fill {
  display: block;
  height: 100%;
  width: 58%;
  background: var(--ink);
  transition: width 0.2s ease;
}

.goal-gauge-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: #666;
}

.goal-result-hero {
  margin: 1.25rem 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e8e8e8;
}

.goal-result-monthly {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.goal-result-chart {
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.goal-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.goal-swatch {
  display: inline-block;
  width: 0.85rem;
  height: 3px;
  background: var(--ink);
  margin-right: 0.35rem;
  vertical-align: middle;
}

.goal-swatch-muted {
  background: #888;
}

.goal-actions {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.5;
}

.goal-actions li {
  margin: 0.45rem 0;
}

.goal-actions strong {
  color: var(--ink);
}

.goal-result-cta,
.goal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.goal-nav {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8e8e8;
}

.goal-match-rail {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.goal-cash-panel {
  border-top: 3px solid var(--ink);
  padding: 1.25rem 0 0.5rem;
  max-width: 48ch;
}

.goal-cash-panel h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (max-width: 820px) {
  .goal-glance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .goal-choices,
  .goal-choices-compact {
    grid-template-columns: 1fr;
  }
  .goal-money-row {
    grid-template-columns: 1fr;
  }
}

/* —— Build your plan (wizard) —— */
.build-waterfall {
  list-style: none;
  margin: 1.25rem 0 1rem;
  padding: 0;
  max-width: 40rem;
  counter-reset: waterfall;
}

.build-waterfall > li {
  counter-increment: waterfall;
  position: relative;
  margin: 0 0 0.85rem;
  padding: 0.85rem 1rem 0.85rem 3.25rem;
  border-left: 3px solid var(--ink);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.03), transparent 70%);
}

.build-waterfall > li::before {
  content: counter(waterfall, decimal-leading-zero);
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.build-waterfall-rest {
  border-left-color: #bbb;
}

.build-waterfall-rest strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.build-waterfall-rest em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.build-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
}

.build-check input {
  margin-top: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--ink);
  flex-shrink: 0;
}

.build-check strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.build-check em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.build-mix-bars {
  margin: 1.5rem 0 0.75rem;
  max-width: 36rem;
  display: grid;
  gap: 0.75rem;
}

.build-mix-row {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr auto;
  gap: 0.65rem 0.85rem;
  align-items: center;
  font-size: 0.9rem;
}

.build-mix-row > span {
  color: var(--muted);
}

.build-mix-row > strong {
  font-variant-numeric: tabular-nums;
  min-width: 2.5rem;
  text-align: right;
}

.build-mix-track {
  height: 0.55rem;
  background: #e8e8e8;
  overflow: hidden;
}

.build-mix-track > i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  transition: width 0.35s ease;
}

.build-mix-drift > i {
  background: #888;
}

.build-toggles {
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
  margin: 1.25rem 0 1.5rem;
}

.build-toggle {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.build-toggle:hover,
.build-toggle:has(input:checked) {
  border-color: var(--ink);
  background: rgba(0, 0, 0, 0.02);
}

.build-toggle input {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--ink);
  flex-shrink: 0;
}

.build-toggle strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
}

.build-toggle em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.build-drift {
  margin: 1.25rem 0 1.75rem;
  max-width: 36rem;
  padding-top: 1rem;
  border-top: 1px solid #e8e8e8;
}

.build-drift .eyebrow {
  margin-bottom: 0.35rem;
}

.build-plan-cta {
  margin-top: 1.5rem;
}

.build-stock-route {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8e8e8;
  max-width: 40rem;
}

.build-stock-route h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.build-stock-route .lede {
  margin: 0 0 0.75rem;
}

@media (max-width: 640px) {
  .build-mix-row {
    grid-template-columns: 1fr auto;
  }
  .build-mix-row > span {
    grid-column: 1 / -1;
  }
}

/* Stock basics guide hub + pillar detail */
.equity-hub .explore-intro { margin-bottom: 0.25rem; }

/* Keep hub blocks on the same frame as the logo / explore-intro. */
.equity-hub > .equity-payoff,
.equity-hub > .equity-path,
.equity-hub > .equity-pillar-grid,
.equity-hub > .equity-practice,
.equity-hub > .support-reads,
.equity-hub > .equity-glossary,
.equity-hub > .equity-hub-note,
.equity-hub > .plan-exit {
  width: var(--frame-width);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.equity-payoff {
  margin-top: 1.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  max-width: none;
}

.equity-payoff h2 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.equity-payoff ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.45;
}

.equity-path {
  margin-top: 1.5rem;
  padding: 1.25rem 0 0;
  border-top: 3px solid var(--ink);
  max-width: none;
}

.equity-path h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.equity-path > p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 48ch;
}

.equity-path-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.equity-path-steps li {
  font: 600 0.82rem/1 Outfit, sans-serif;
  padding: 0.45rem 0.7rem;
  border: 1px solid #ddd;
  background: #fff;
}

.equity-path-steps li.optional {
  color: #777;
  border-style: dashed;
}

.equity-pillar-grid { margin-top: 1.5rem; max-width: none; }

.equity-optional-tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
  border: 1px solid #ccc;
  padding: 0.12rem 0.4rem;
}

.equity-practice {
  margin-top: 2.25rem;
  max-width: none;
}

.equity-practice .discover-block-head .lede {
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.45;
}

.equity-practice .discover-rail { margin-top: 1rem; }

.equity-glossary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
}

.equity-glossary span,
.equity-glossary .term-tip {
  font: 600 0.78rem/1 Outfit, sans-serif;
  padding: 0.4rem 0.55rem;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  border-bottom: 1px solid #ddd;
}
.equity-glossary .term-tip:hover,
.equity-glossary .term-tip:focus {
  border-color: #bbb;
  color: #111;
}

.equity-hub-note { margin-top: 1rem; }

.equity-hub > .plan-exit {
  margin-top: 2rem;
  padding-bottom: 3rem;
  max-width: none;
}

/* Detail try-rails + nav stay inside the reading column. */
.equity-detail .equity-try,
.equity-detail .equity-pillar-nav {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.equity-progress {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.equity-callout {
  margin: 0.85rem 0 0;
  padding: 0.85rem 1rem;
  background: #f7f7f7;
  border-left: 3px solid #bbb;
  max-width: 48ch;
}

.equity-callout strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
}

.equity-callout p {
  margin: 0;
  color: #444;
  font-size: 0.92rem;
  line-height: 1.45;
}

.equity-checklist {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 46ch;
}

.equity-try {
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px dashed var(--ink);
  max-width: 48rem;
}

.equity-try h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.equity-try .lede {
  margin: 0 0 0.85rem;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.45;
}

.equity-try-rail { margin-bottom: 0.85rem; }

.equity-pillar-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid #e8e8e8;
  max-width: 48rem;
}

.equity-detail .risk-detail-hero { display: none; }

/* Track / My companies (learning shelf) */
.track-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.85rem;
}

.track-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted, #666);
  max-width: 36ch;
  line-height: 1.35;
}

.home-btn.is-tracked {
  background: #fff;
  color: var(--ink, #0a0a0a);
  border: 2px solid var(--ink, #0a0a0a);
}

.tracked-price-note {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--ink, #0a0a0a);
  background: #fafafa;
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 40ch;
  display: none;
}

.tracked-price-note.is-on {
  display: block;
}

.tracked-price-note a {
  color: inherit;
  font-weight: 700;
}

.menu-track-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  margin-left: 0.25rem;
  background: var(--ink, #0a0a0a);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  vertical-align: middle;
}

.my-companies .explore-intro {
  margin-bottom: 0.5rem;
}

/* Keep shelf blocks on the same frame as the logo / explore-intro. */
.my-companies > .shelf-status,
.my-companies > .shelf-list,
.my-companies > .since-footnote,
.my-companies > .why-box,
.my-companies > .shelf-empty-cta {
  width: var(--frame-width);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.shelf-status {
  margin-top: 1rem;
  color: var(--muted, #666);
  font-size: 0.95rem;
}

.shelf-list {
  margin-top: 0.25rem;
}

.shelf-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 9.5rem auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid #e8e8e8;
  padding: 1.25rem 1.2rem;
  margin-top: 1rem;
  background: #fff;
}

.shelf-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  background: #111;
}

.shelf-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.shelf-card > div > p {
  margin: 0;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.4;
  max-width: 48ch;
}

.shelf-card .meta-line {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #777;
}

.since-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 88px;
  padding: 0.55rem 0.5rem;
  border-left: 1px solid #ebebeb;
  border-right: 1px solid #ebebeb;
}

.since-strip .when {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #777;
  line-height: 1.3;
}

.since-strip .pct {
  margin: 0.35rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.since-strip .pct.up { color: #0a7a3e; }
.since-strip .pct.down { color: #b42318; }

.since-strip .prices {
  margin: 0.3rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: #888;
  line-height: 1.3;
}

.since-footnote {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: #777;
  line-height: 1.4;
  max-width: 52ch;
}

.shelf-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: stretch;
}

.shelf-actions button,
.shelf-actions a {
  appearance: none;
  text-align: center;
  text-decoration: none;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--ink, #0a0a0a);
  font: 600 0.82rem/1 Outfit, sans-serif;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}

.shelf-actions a.primary {
  background: var(--ink, #0a0a0a);
  color: #fff;
  border-color: var(--ink, #0a0a0a);
}

.why-box {
  margin-top: 1.75rem;
  padding: 1.25rem 0 0;
  border-top: 3px solid var(--ink, #0a0a0a);
}

.why-box h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.why-box p {
  margin: 0 0 0.85rem;
  color: #555;
  line-height: 1.45;
  max-width: 48ch;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip-row span {
  font: 600 0.78rem/1 Outfit, sans-serif;
  padding: 0.4rem 0.55rem;
  border: 1px solid #ddd;
}

.shelf-empty-cta {
  margin-top: 1.5rem;
  padding: 1.25rem 0 0;
  border-top: 3px solid var(--ink, #0a0a0a);
}

.shelf-empty-cta .lede {
  margin: 0 0 0.85rem;
  color: #555;
  line-height: 1.45;
  max-width: 48ch;
}

.shelf-empty-cta h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.shelf-suggest-label {
  margin: 1.1rem 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #666);
}

.shelf-suggest-rail {
  margin-bottom: 0.55rem;
  max-width: 28rem;
}

.shelf-suggest-rail .discover-tile {
  min-height: 0;
}

.shelf-suggest-co {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--muted, #666);
  line-height: 1.25;
}

.shelf-suggest-hint {
  margin: 0 0 1rem;
  max-width: 42ch;
}

.home-track-nudge {
  margin: 1.25rem 0 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid #e5e5e5;
  max-width: 40rem;
  color: #555;
  font-size: 0.98rem;
  line-height: 1.45;
}

.teach-strip {
  width: var(--frame-width);
  margin: 0.85rem auto 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px dashed #ccc;
  background: #fafafa;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #333;
  box-sizing: border-box;
}

.quote-age {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink, #0a0a0a);
}

.quote-age span {
  font-weight: 500;
  color: var(--muted, #666);
}

.dir-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: var(--frame-width);
  margin: 0.85rem auto 0.85rem;
  box-sizing: border-box;
  justify-content: flex-start;
}

.dir-toggle button {
  appearance: none;
  border: 1px solid var(--ink, #0a0a0a);
  background: #fff;
  font: 700 0.85rem/1 Outfit, sans-serif;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  color: var(--ink, #0a0a0a);
}

.dir-toggle button + button {
  border-left-width: 0;
}

.dir-toggle button.is-active {
  background: var(--ink, #0a0a0a);
  color: #fff;
}

[data-dir-panel][hidden] {
  display: none !important;
}

.streak-nest {
  width: var(--frame-width);
  margin: 1rem auto 0;
  padding-top: 0.85rem;
  border-top: 1px solid #e8e8e8;
  font-size: 0.92rem;
  color: #444;
  box-sizing: border-box;
}

.streak-nest a {
  font-weight: 700;
  color: var(--ink, #0a0a0a);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.who-grid article {
  padding: 0.85rem 1rem;
  border: 1px solid #e8e8e8;
}

.who-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.who-grid p {
  margin: 0;
  font-size: 0.88rem;
  color: #444;
  line-height: 1.4;
}

.about-data-note {
  margin: 0 0 1rem;
}

.demo-path {
  margin: 1.25rem 0;
  padding: 1rem 1.05rem;
  border: 1px solid #e5e5e5;
  background: linear-gradient(180deg, #fcfcfc, #fff);
}

.demo-path h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.demo-path ol {
  margin: 0.5rem 0 0.85rem;
  padding-left: 1.2rem;
  color: #333;
  line-height: 1.5;
}

.support-reads {
  margin: 2rem 0 1.25rem;
}

.support-reads > .lede {
  margin: 0.35rem 0 0.75rem;
}

.support-reads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 0.75rem;
}

.support-reads-grid a {
  display: block;
  padding: 0.9rem 1rem;
  border-top: 3px solid var(--ink, #0a0a0a);
  background: #fafafa;
  text-decoration: none;
  color: inherit;
}

.support-reads-grid strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.support-reads-grid span {
  display: block;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .who-grid,
  .support-reads-grid {
    grid-template-columns: 1fr;
  }
}

.home-track-nudge a {
  font-weight: 700;
  color: var(--ink, #0a0a0a);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  margin-right: 0.35rem;
}

.home-entry {
  margin-top: 1.5rem;
  padding: 1.25rem 1.2rem 1.25rem 0;
  border-top: 3px solid var(--ink, #0a0a0a);
  max-width: 40rem;
}

.home-entry h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.home-entry .lede {
  margin: 0 0 0.85rem;
  color: #555;
  line-height: 1.45;
  max-width: 46ch;
}

.mini-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.shelf-view-all {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background: #fafafa;
  border: 1px dashed #ccc;
  text-decoration: none;
  font-weight: 700;
}

.shelf-view-all span {
  padding: 1rem;
}

@media (max-width: 720px) {
  .shelf-card {
    grid-template-columns: 72px 1fr;
  }
  .since-strip {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 0.75rem 0.5rem;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
  }
  .shelf-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .mini-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media print {
  .topbar,
  .site-footer,
  .goal-nav,
  .goal-step-pills,
  [data-back],
  [data-next],
  [data-restart],
  [data-print] {
    display: none !important;
  }
  .goal-panel[hidden] {
    display: none !important;
  }
  .goal-panel[data-panel="5"] {
    display: block !important;
  }
  .build-plan-page .goal-panel[data-panel="4"] {
    display: block !important;
  }
}

/* Calm stock checklist (Learn supporting read) — hybrid C */
.checklist > .checklist-block {
  width: var(--frame-width);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.checklist-sticky-nav {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eee;
  backdrop-filter: blur(6px);
}

.checklist-sticky-nav-inner {
  width: var(--frame-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  padding: 0.65rem 0;
  font-size: 0.82rem;
  font-weight: 700;
  box-sizing: border-box;
}

.checklist-sticky-nav a {
  color: var(--ink, #0a0a0a);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.checklist-sticky-nav a:hover {
  border-bottom-color: var(--ink, #0a0a0a);
}

.checklist-hero-lede {
  max-width: 48ch;
}

.checklist .disclaimer {
  margin: 1.1rem 0 0;
  padding: 0.85rem 1rem;
  border: 2px solid var(--ink, #0a0a0a);
  background: #fafafa;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  max-width: 44rem;
}

.checklist-tool {
  margin-top: 1.25rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  max-width: 32rem;
}

.checklist-tool h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.checklist-tool label {
  display: grid;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0.85rem 0 0.5rem;
}

.checklist-tool input[type="number"] {
  font: inherit;
  font-weight: 500;
  padding: 0.65rem 0.75rem;
  border: 2px solid var(--ink, #0a0a0a);
  background: #fff;
  max-width: 12rem;
}

.checklist-result {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.checklist-note {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.4;
}

.checklist-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6e6e6;
}

.checklist-block h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.checklist-block-lede {
  max-width: 48ch;
  margin: 0 0 1rem;
}

.checklist-block-lede a {
  font-weight: 700;
  color: inherit;
}

.checklist-subhead {
  margin: 1.35rem 0 0.45rem;
  font-size: 1rem;
}

.checklist-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (max-width: 800px) {
  .checklist-routes {
    grid-template-columns: 1fr;
  }
}

.checklist-route {
  display: grid;
  gap: 0.35rem;
  text-align: left;
  padding: 1rem 1.1rem;
  border: 1px solid #e8e8e8;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.checklist-route:hover,
.checklist-route.is-selected {
  border-color: var(--ink, #0a0a0a);
  background: #fafafa;
}

.checklist-route-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}

.checklist-route strong {
  font-size: 1rem;
}

.checklist-route > span:last-child {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.4;
}

.checklist-route-hint {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.checklist-ips {
  margin-top: 0.75rem;
  max-width: 36rem;
}

.checklist-ips-list {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.checklist-ips-list li {
  padding: 0.55rem 0.75rem;
  border: 1px dashed #ccc;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
}

.checklist-picker {
  margin: 1rem 0 1.25rem;
  max-width: 28rem;
}

.checklist-picker label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.checklist-picker-field {
  position: relative;
}

.checklist-picker-field input {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--ink, #0a0a0a);
  background: #fff;
}

.checklist-picker-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 30;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-height: 16rem;
  overflow: auto;
}

.checklist-picker-empty {
  padding: 0.65rem 0.85rem;
  color: #666;
  font-size: 0.9rem;
}

.checklist-picker-option {
  display: grid;
  width: 100%;
  text-align: left;
  gap: 0.1rem;
  padding: 0.55rem 0.85rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.checklist-picker-option:hover,
.checklist-picker-option.is-active {
  background: #f3f3f3;
}

.checklist-picker-sym {
  font-weight: 800;
}

.checklist-picker-name {
  font-size: 0.85rem;
  color: #555;
}

.checklist-picked {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: start;
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  max-width: 40rem;
}

.checklist-picked img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eee;
}

.checklist-picked-sym {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
}

.checklist-picked-name {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

.checklist-picked-meta {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: #555;
}

.checklist-trusted {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  margin: 0.85rem 0 0;
}

.checklist-trusted div {
  margin: 0;
}

.checklist-trusted dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #666;
}

.checklist-trusted dd {
  margin: 0.15rem 0 0;
  font-weight: 800;
}

.checklist-company-link {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
}

.checklist-missing {
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.checklist-checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.1rem;
  max-width: 40rem;
  counter-reset: check;
}

.checklist-checks > li {
  padding: 1rem 1.1rem;
  border: 1px solid #e8e8e8;
  background: #fff;
  counter-increment: check;
}

.checklist-check-q {
  margin: 0 0 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.checklist-check-q::before {
  content: counter(check) ". ";
  font-weight: 800;
}

.checklist-answers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.checklist-ans {
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.checklist-ans:hover,
.checklist-ans.is-selected {
  border-color: var(--ink, #0a0a0a);
  background: #f3f3f3;
}

.checklist-outcome {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  max-width: 40rem;
}

.checklist-outcome-label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.checklist-outcome.is-solid {
  background: #eef8f1;
  border-color: #c6e6d0;
}

.checklist-outcome.is-mixed {
  background: #fff8e8;
  border-color: #ead9a0;
}

.checklist-outcome.is-weak {
  background: #fff5f5;
  border-color: #e0b4b4;
}

.checklist-exp-list {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  max-width: 40rem;
  line-height: 1.5;
  color: #333;
}

.checklist-exp-list a {
  font-weight: 700;
  color: inherit;
}

.checklist > .plan-exit {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6e6e6;
}

/* Hybrid C additions */
.checklist-choose.checklist-block {
  border-top: 0;
  margin-top: 0;
  padding-top: 2rem;
}

.checklist-choose h1 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.checklist-choose h2 {
  margin: 1.5rem 0 0.45rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
}

.checklist-recovery {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  border-bottom: 1px solid #eee;
}

.checklist-recovery summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 0;
  color: var(--ink, #0a0a0a);
}

.checklist-recovery summary::-webkit-details-marker { display: none; }
.checklist-recovery summary::before { content: "+ "; font-weight: 800; }
.checklist-recovery[open] summary::before { content: "− "; }

.checklist-tool-plain {
  margin-top: 0;
  padding: 0.35rem 0 0.85rem;
  border: 0;
  background: transparent;
}

.checklist-tool-plain input[type="number"] {
  border: 0;
  border-bottom: 2px solid var(--ink, #0a0a0a);
  background: transparent;
  padding: 0.5rem 0;
}

.checklist-picker-ruled input {
  border: 0;
  border-bottom: 2px solid var(--ink, #0a0a0a);
  background: transparent;
  padding: 0.45rem 0 0.55rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.checklist-picker label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
}

.checklist-logo-rail-label { margin-top: 1.25rem; }

.checklist-logo-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.35rem 0.75rem;
  margin-top: 0.85rem;
}

@media (max-width: 900px) {
  .checklist-logo-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .checklist-logo-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.checklist-logo-tile {
  display: grid;
  gap: 0.4rem;
  justify-items: center;
  text-align: center;
  padding: 0.5rem 0.25rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

.checklist-logo-tile:hover { opacity: 1; }
.checklist-logo-tile.is-selected { opacity: 1; }
.checklist-logo-tile.is-selected .sym {
  border-bottom: 2px solid var(--ink, #0a0a0a);
}

.checklist-logo-tile img {
  width: 5.75rem;
  height: 5.75rem;
  object-fit: contain;
  background: transparent;
  border: 0;
}

.checklist-logo-tile .sym {
  font-weight: 800;
  font-size: 0.95rem;
  padding-bottom: 0.1rem;
}

.checklist-logo-tile .cname {
  font-size: 0.75rem;
  color: #555;
  line-height: 1.25;
  max-width: 7.5rem;
}

.checklist-picked-plain {
  margin-top: 1.5rem;
  padding: 1.25rem 0 0;
  border: 0;
  border-top: 1px solid #eee;
  background: transparent;
  grid-template-columns: 6.5rem 1fr;
  max-width: none;
}

.checklist-picked-plain img {
  width: 6.5rem;
  height: 6.5rem;
  border: 0;
  background: transparent;
}

.checklist-trusted-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 700px) {
  .checklist-trusted-3 { grid-template-columns: 1fr 1fr; }
}

.checklist-why {
  margin: 0.65rem 0 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

.checklist-progress {
  margin: 1.1rem 0 0.25rem;
  max-width: 28rem;
}

.checklist-progress-track {
  height: 3px;
  background: #e8e8e8;
  overflow: hidden;
}

.checklist-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--ink, #0a0a0a);
  transition: width 0.2s ease;
}

.checklist-progress-label {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #555;
  line-height: 1.4;
}

.checklist-progress.is-complete { display: none; }

.checklist-check-group {
  margin-top: 1.75rem;
  max-width: 44rem;
}

.checklist-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
}

.checklist-check-item {
  padding: 1rem 0;
  border-top: 1px solid #f0f0f0;
}

.checklist-check-item:first-of-type { border-top: 0; }

.checklist-check-item .checklist-check-q {
  margin: 0 0 0.45rem;
}

.checklist-check-item .checklist-check-q::before { content: none; }

.checklist-hint {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.4;
}

.checklist-check-item .checklist-ans {
  border: 0;
  border-bottom: 2px solid #ccc;
  background: transparent;
  padding: 0.4rem 0.7rem;
}

.checklist-check-item .checklist-ans:hover,
.checklist-check-item .checklist-ans.is-selected {
  border-bottom-color: var(--ink, #0a0a0a);
  background: transparent;
}

.checklist-stamp {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 800;
}

.checklist-stamp-pass { color: #1f6b3a; }
.checklist-stamp-mixed { color: #8a6a10; }
.checklist-stamp-weak { color: #8b2e2e; }

.checklist-outcome-unlock {
  margin-top: 1.5rem;
  padding: 1.15rem 0 0;
  border: 0;
  border-top: 2px solid var(--ink, #0a0a0a);
  background: transparent;
  max-width: 44rem;
}

.checklist-outcome-unlock.is-solid,
.checklist-outcome-unlock.is-mixed,
.checklist-outcome-unlock.is-weak {
  background: transparent;
  border-color: var(--ink, #0a0a0a);
}

.checklist-outcome-next {
  margin: 0.55rem 0 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #222;
  max-width: 38rem;
}

.checklist-outcome-funds {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.45;
  max-width: 38rem;
}

.checklist-outcome-funds a {
  color: inherit;
  font-weight: 700;
}

.checklist-after {
  padding-bottom: 3rem;
}

.checklist-picker-option {
  grid-template-columns: 2.25rem 1fr;
  align-items: center;
  gap: 0.65rem;
}

.checklist-picker-logo {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

/* —— Business cycle page —— */
.data-legend {
  width: var(--frame-width);
  margin: 0 auto 1.25rem;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.data-legend div {
  border: 1px solid #e6e6e6;
  padding: 0.7rem 0.8rem;
  background: #fff;
  font: 550 0.86rem/1.4 Outfit, sans-serif;
  color: #333;
}
.data-legend strong {
  display: block;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.band-label {
  width: var(--frame-width);
  margin: 2rem auto 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 1rem;
  padding-top: 1.1rem;
  border-top: 3px solid #0a0a0a;
}
.band-label h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.band-note {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.88rem;
  color: #555;
  max-width: 52ch;
}
.cycle-page .cycle-hero {
  width: 100%;
  padding: 1.75rem 0 1.5rem;
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(90, 140, 120, 0.14), transparent 55%),
    radial-gradient(90% 70% at 88% 8%, rgba(210, 190, 150, 0.14), transparent 50%),
    linear-gradient(180deg, #f7f6f3 0%, #fff 78%);
}
.cycle-page .cycle-hero-inner {
  width: var(--frame-width);
  margin: 0 auto;
}
.cycle-page .cycle-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #0a0a0a;
  max-width: 18ch;
}
.cycle-page .cycle-hero > .cycle-hero-inner > .lede {
  margin: 0 0 1.15rem;
  max-width: 42ch;
  color: #3a3a3a;
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 1.45;
}
.cycle-section {
  width: var(--frame-width);
  margin: 0 auto 2rem;
}
.cycle-section .lede {
  margin: 0 0 0.9rem;
  max-width: 68ch;
  color: #444;
  font-size: var(--text-follow);
  line-height: 1.5;
}
.cycle-page .cycle-section-head {
  margin: 0 0 1rem;
  max-width: 42rem;
}
.cycle-page .cycle-section-head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cycle-page .cycle-section-head p {
  margin: 0;
  color: #555;
  line-height: 1.45;
  max-width: 52ch;
}
.cycle-page .cycle-feel {
  padding-top: 0.5rem;
  border-top: 1px solid #e8e8e8;
}
.phase-hub {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}
.phase-hub article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem 1rem;
  align-items: center;
  border: 1px solid #ebebeb;
  background: #fff;
  padding: 1rem 1.05rem;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.phase-hub article:hover {
  border-color: #bdbdbd;
  transform: translateY(-1px);
}
.phase-hub article.is-active {
  border-color: #0a0a0a;
  box-shadow: inset 3px 0 0 #0a0a0a;
}
.phase-hub article.is-tape {
  border-color: #0a0a0a;
  background: linear-gradient(90deg, rgba(90, 140, 120, 0.08), #fff 42%);
}
.phase-hub article.is-tape::before {
  content: "Matches this year’s reading";
  grid-column: 1 / -1;
  font: 750 0.7rem/1 Outfit, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3d6b58;
}
.cycle-reading {
  width: 100%;
  margin: 0 0 1rem;
  border-left: 3px solid #0a0a0a;
  background: #fff;
  padding: 1.1rem 1.15rem 1.2rem;
  scroll-margin-top: 4.5rem;
}
.cycle-reading .detail-kicker {
  margin: 0 0 0.35rem;
  font: 750 0.72rem/1 Outfit, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666;
}
.cycle-reading .reading-view-toggle {
  width: auto;
  margin: 0 0 0.95rem;
}
.cycle-reading [data-reading-panel][hidden] {
  display: none !important;
}
.cycle-reading .cycle-lead-movers {
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0;
}
.cycle-reading .cycle-lead-movers .mover-row {
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  gap: 0.85rem 1rem;
}
.cycle-reading .cycle-lead-movers .mover-logo {
  width: 5rem;
  height: 5rem;
  padding: 0.35rem;
}
.cycle-reading h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cycle-reading .reading-tab {
  margin: 0 0 0.75rem;
  font: 650 0.9rem/1.3 Outfit, sans-serif;
  color: #555;
}
.cycle-reading .detail-blurb {
  margin: 0 0 0.85rem;
  max-width: 52ch;
  color: #333;
  font-size: var(--text-follow);
  line-height: 1.5;
}
.cycle-reading .reading-method {
  margin: 0 0 0.85rem;
  max-width: 70ch;
  color: #666;
}
.reading-leaders {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.reading-leaders li {
  border: 1px solid #d8d8d8;
  background: #fff;
  padding: 0.4rem 0.55rem;
  font: 700 0.84rem/1.15 Outfit, sans-serif;
}
.reading-leaders .tag {
  display: block;
  margin-top: 0.22rem;
  font: 650 0.68rem/1 Outfit, sans-serif;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cycle-disclose {
  width: 100%;
  margin: 0 0 0.25rem;
}
.cycle-disclose summary {
  cursor: pointer;
  list-style: none;
  font: 700 0.92rem/1.3 Outfit, sans-serif;
  color: #0a0a0a;
  padding: 0.55rem 0;
  border-bottom: 1px solid #e4e4e4;
}
.cycle-disclose summary::-webkit-details-marker { display: none; }
.cycle-disclose summary::after {
  content: " +";
  color: #777;
  font-weight: 600;
}
.cycle-disclose[open] summary::after { content: " −"; }
.cycle-disclose-panel {
  padding: 0.85rem 0 0.2rem;
}
.reading-table-wrap {
  overflow-x: auto;
  margin: 0 0 0.35rem;
}
.reading-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.reading-table th,
.reading-table td {
  text-align: left;
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: middle;
}
.reading-table th {
  font: 750 0.72rem/1 Outfit, sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #666;
  white-space: nowrap;
}
.reading-table td.num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}
.reading-table .str,
.pulse-list .str {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  font: 750 0.75rem/1 Outfit, sans-serif;
  border: 1px solid #ddd;
}
.cycle-reading .detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.cycle-reading .detail-actions .home-btn-primary {
  max-width: 100%;
  text-align: left;
  line-height: 1.25;
  white-space: normal;
  height: auto;
}
.cycle-reading .reading-panel-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.85fr);
  gap: 1.15rem 1.35rem;
  align-items: start;
}
.cycle-reading .reading-copy {
  min-width: 0;
}
.cycle-reading-carousel {
  min-width: 0;
}
.cycle-reading-carousel .carousel-note {
  margin: 0 0 0.55rem;
  font: 650 0.78rem/1.35 Outfit, sans-serif;
  color: #666;
}
.cycle-reading-carousel .carousel-viewport {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.35rem;
  align-items: center;
}
.cycle-reading-carousel .carousel-track {
  min-width: 0;
  position: relative;
}
.cycle-reading-carousel .carousel-slide {
  margin: 0;
}
.cycle-reading-carousel .carousel-slide[hidden] {
  display: none !important;
}
.cycle-reading-carousel .carousel-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  background: #f3f3f3;
}
.cycle-reading-carousel .carousel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cycle-reading-carousel-logos .carousel-media {
  aspect-ratio: 1 / 1;
  width: min(100%, 12.5rem);
  margin-inline: auto;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 1.75rem;
  box-sizing: border-box;
}
.cycle-reading-carousel-logos .carousel-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cycle-reading-carousel figcaption {
  margin-top: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.cycle-reading-carousel .carousel-tag {
  font: 750 0.72rem/1 Outfit, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #555;
}
.cycle-reading-carousel .carousel-product {
  font: 700 0.9rem/1.25 Outfit, sans-serif;
  color: #0a0a0a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cycle-reading-carousel .carousel-nav {
  appearance: none;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid #0a0a0a;
  background: #fff;
  color: #0a0a0a;
  font: 700 1.15rem/1 Outfit, sans-serif;
  cursor: pointer;
  padding: 0;
}
.cycle-reading-carousel .carousel-nav:hover {
  background: #0a0a0a;
  color: #fff;
}
.cycle-reading-carousel .carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 0.65rem;
}
.cycle-reading-carousel .carousel-dot {
  appearance: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 0;
  border: 1px solid #0a0a0a;
  background: #fff;
  padding: 0;
  cursor: pointer;
}
.cycle-reading-carousel .carousel-dot.is-active {
  background: #0a0a0a;
}
@media (max-width: 820px) {
  .cycle-reading .reading-panel-split {
    grid-template-columns: 1fr;
  }
  .cycle-reading-carousel {
    order: -1;
    max-width: 28rem;
  }
}
.phase-hub h3 {
  margin: 0 0 0.3rem;
  font-size: 1.12rem;
  font-weight: 800;
}
.phase-hub p {
  margin: 0;
  color: #444;
  font-size: 0.93rem;
  line-height: 1.4;
  max-width: 48ch;
}
.phase-hub .read-more {
  border: 1px solid #0a0a0a;
  background: #fff;
  color: #0a0a0a;
  font: 700 0.8rem/1 Outfit, sans-serif;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  white-space: nowrap;
}
.phase-hub article.is-active .read-more,
.phase-hub .read-more:hover {
  background: #0a0a0a;
  color: #fff;
}
@media (max-width: 720px) {
  .phase-hub article { grid-template-columns: 1fr; }
}
.phase-detail {
  width: var(--frame-width);
  margin: 0.85rem auto 1.5rem;
  border: 1px solid #0a0a0a;
  background: #fff;
  padding: 1.1rem 1.15rem;
  scroll-margin-top: 4.5rem;
}
.phase-detail[hidden] { display: none; }
.phase-detail .detail-kicker {
  margin: 0 0 0.35rem;
  font: 750 0.72rem/1 Outfit, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666;
}
.phase-detail h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.phase-detail .detail-blurb {
  margin: 0 0 0.75rem;
  max-width: 62ch;
  color: #333;
  font-size: var(--text-follow);
  line-height: 1.5;
}
.phase-detail .detail-everyday {
  margin: 0 0 0.85rem;
  max-width: 62ch;
  color: #444;
  line-height: 1.45;
}
.phase-detail .detail-lean {
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.phase-detail .detail-lean li {
  border: 1px solid #ddd;
  background: #f7f7f7;
  padding: 0.35rem 0.6rem;
  font: 650 0.82rem/1 Outfit, sans-serif;
}
.phase-detail .detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.phase-detail .detail-actions .home-btn { margin: 0; }
.grid-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}
.grid-filters button {
  border: 1px solid #ddd;
  background: #fff;
  color: #0a0a0a;
  font: 650 0.82rem/1 Outfit, sans-serif;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}
.grid-filters button.is-active,
.grid-filters button:hover {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}
.sector-grid-wrap {
  overflow-x: auto;
  border: 1px solid #e6e6e6;
}
.sector-grid {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
  font: 550 0.88rem/1.3 Outfit, sans-serif;
}
.sector-grid th,
.sector-grid td {
  border-bottom: 1px solid #eee;
  padding: 0.55rem 0.6rem;
  text-align: left;
}
.sector-grid thead th {
  background: #fafafa;
  font-weight: 750;
}
.sector-grid .group-row td {
  background: #f3f3f3;
  font-weight: 750;
  font-size: 0.8rem;
}
.sector-grid button.sector-name {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 750;
  color: #0a0a0a;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.15em;
}
.sector-grid td.str {
  font-weight: 750;
  white-space: nowrap;
}
.sector-grid tr.is-dim { opacity: 0.28; }
.sector-grid td.is-lead-hi { box-shadow: inset 0 0 0 2px #0a0a0a; }
.strength-Lead { background: #0a0a0a; color: #fff; }
.strength-Strong { background: #2a2a2a; color: #fff; }
.strength-OK { background: #d8d8d8; color: #111; }
.strength-Mixed { background: #f0f0f0; color: #222; }
.strength-Weak { background: #fff; color: #444; }
.why-panel {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid #0a0a0a;
  background: #fafafa;
}
.why-panel[hidden] { display: none; }
.why-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
}
.why-panel p {
  margin: 0;
  max-width: 62ch;
  color: #333;
  line-height: 1.45;
}
.grid-caption {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #666;
  max-width: 70ch;
}
.lead-svg {
  width: 100%;
  max-width: 34rem;
  height: auto;
  display: block;
  margin: 0.5rem 0;
}
.why-box {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e6e6e6;
  background: #fff;
  max-width: 62ch;
  font: 550 0.95rem/1.5 Outfit, sans-serif;
  color: #333;
}
.stage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.stage-list li {
  border: 1px solid #ddd;
  background: #f7f7f7;
  padding: 0.35rem 0.6rem;
  font: 650 0.82rem/1 Outfit, sans-serif;
}
.pulse-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pulse-list li {
  border: 1px solid #e6e6e6;
  padding: 0.65rem 0.7rem;
  background: #fff;
}
.pulse-list .name {
  display: block;
  font-weight: 750;
  font-size: 0.88rem;
}
.pulse-list .ytd {
  display: block;
  margin-top: 0.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
}
.pulse-list .ytd.up { color: #0b7a3b; }
.pulse-list .ytd.down { color: #9b1c1c; }
.pulse-list .ytd.na {
  color: #777;
  font-weight: 650;
  font-size: 0.9rem;
}
.pulse-list .n {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #777;
}
.pulse-list .map-label {
  display: block;
  margin-top: 0.35rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 720px) {
  .phase-hub article { grid-template-columns: 1fr; }
}

/* Sector map interactivity */
.sector-grid td.str.is-clickable {
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}
.sector-grid td.str.is-clickable:hover,
.sector-grid td.str.is-clickable:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: -2px;
  z-index: 1;
  position: relative;
}
.sector-grid td.str.is-muted-col {
  opacity: 0.28;
}
.sector-grid tr.is-selected td:first-child,
.sector-grid tr.is-selected .sector-name {
  font-weight: 800;
}
.sector-grid tr.is-selected {
  background: #f7f7f7;
}
.why-panel {
  margin: 0 0 0.85rem;
}
.why-panel .why-phase {
  margin: 0 0 0.4rem;
  font: 700 0.82rem/1.3 Outfit, sans-serif;
  color: #555;
}

/* Positive YTD in down sectors — keep every block on the explore frame */
.lagging-sectors-page {
  text-align: left;
}
.lagging-sectors-page > .lede,
.lagging-sectors-page > .explore-empty,
.lagging-sectors-page .lagging-sector-blocks {
  width: var(--frame-width);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  box-sizing: border-box;
}
.lagging-sectors-page > .lede {
  margin-top: 0;
  margin-bottom: 1.5rem;
  max-width: none;
}
.lagging-sectors-page .explore-intro,
.lagging-sectors-page .teach-strip {
  text-align: left;
}
.lagging-sectors-page .lagging-sector-blocks {
  display: grid;
  gap: 1rem;
  margin-top: 0.25rem;
  margin-bottom: 3rem;
}
.lagging-sectors-page .lagging-sector-block {
  border: 1px solid #e4e4e4;
  background: #fff;
  padding: 0.95rem 1rem 1rem;
}
.lagging-sectors-page .lagging-sector-head {
  width: 100%;
  margin: 0;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}
.lagging-sectors-page .lagging-sector-title {
  min-width: 0;
  flex: 1 1 14rem;
}
.lagging-sectors-page .lagging-sector-block .discover-block-head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lagging-sectors-page .lagging-sector-block .discover-block-head h2 a {
  color: inherit;
  text-decoration: none;
}
.lagging-sectors-page .lagging-sector-block .discover-block-head h2 a:hover {
  text-decoration: underline;
}
.lagging-sectors-page .lagging-sector-block .discover-block-head .lede {
  margin: 0;
  max-width: none;
}
.lagging-sectors-page .lagging-sector-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.55rem 0.8rem;
  border: 1px solid #0a0a0a;
  background: #fff;
  color: #0a0a0a;
  font: 700 0.88rem/1.2 Outfit, sans-serif;
  cursor: pointer;
  flex: 0 0 auto;
}
.lagging-sectors-page .lagging-sector-toggle:hover {
  background: #0a0a0a;
  color: #fff;
}
.lagging-sectors-page .lagging-sector-toggle:hover .lagging-chevron {
  border-color: #fff;
}
.lagging-sectors-page .lagging-sector-toggle:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 3px;
}
.lagging-sectors-page .lagging-chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.lagging-sectors-page .lagging-sector-block.is-expanded .lagging-chevron {
  transform: rotate(225deg);
}
.lagging-sectors-page .lagging-sector-panel {
  margin-top: 0.85rem;
}
.lagging-sectors-page .lagging-sector-panel[hidden] {
  display: none !important;
}
.lagging-sectors-page .lagging-sector-block .mover-list {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.lagging-sectors-page .lagging-mover-row {
  grid-template-columns: 6.5rem minmax(0, 1fr) minmax(6.5rem, 8rem) minmax(5.5rem, 6.5rem);
  align-items: center;
}
.lagging-sectors-page .mover-price {
  justify-self: center;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  color: #111;
  white-space: nowrap;
}
.lagging-sectors-page .lagging-mover-row .mover-change {
  justify-self: end;
  text-align: right;
}
.lagging-sectors-page .quotes-stamp {
  margin-top: 0.35rem;
  color: #6b6b6b;
  font-size: 0.9rem;
  text-align: left;
}
@media (max-width: 720px) {
  .lagging-sectors-page .lagging-mover-row {
    grid-template-columns: 5rem minmax(0, 1fr) minmax(5.25rem, 6.5rem) minmax(4.75rem, 5.75rem);
    gap: 0.65rem 0.75rem;
  }
}
