:root {
  --paper: #c9ccd0;
  --surface: #f8f9fa;
  --surface-muted: #e7e9ec;
  --ink: #252830;
  --muted: #49505a;
  --line: #a9afb7;
  --graphite: #30343a;
  --on-dark: #f5f6f8;
  --muted-on-dark: #c6cbd2;
  --line-on-dark: #666c75;
  --orange: #a93d0b;
  --orange-hover: #873108;
  --orange-light: #ff9c61;
  --orange-tint: #fbe8dc;
  --green: #236047;
  --red: #a63135;
  --heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --panel-shadow: 0 5px 16px #1018200d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.55 var(--heading);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 5px;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.site-header {
  min-height: 76px;
  padding: 0 max(28px, calc((100% - 1260px) / 2 + 28px));
  background: var(--graphite);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #202329;
  gap: 24px;
}
.brand {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.brand-icon {
  display: inline-grid;
  place-items: center;
  background: var(--orange-light);
  color: var(--graphite);
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}
.brand-period {
  color: var(--orange);
  margin-left: -9px;
}
.site-header nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
}
.nav-link {
  color: var(--muted-on-dark);
  font-size: 13px;
  font-weight: 600;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--on-dark);
}
.nav-link.active:after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange-light);
}
.account-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.button {
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border: 0;
  border-radius: 5px;
  padding: 14px 21px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.button span {
  font-size: 20px;
  line-height: 1;
}
.button:hover {
  background: var(--orange-hover);
}
.button.small {
  padding: 10px 16px;
  gap: 17px;
}
.text-button {
  border: 0;
  background: none;
  color: var(--ink);
  padding: 7px 0;
  font-weight: 600;
  font-size: 12px;
}
.text-button:hover,
.quiet-link:hover {
  color: var(--orange);
}
main {
  max-width: 1260px;
  margin: auto;
  padding: 0 44px;
}
.hero {
  margin: 26px 0 20px;
  padding: clamp(32px, 5vw, 64px);
  background: linear-gradient(115deg, #272a30, #3b4048);
  border: 1px solid #30353b;
  border-top: 3px solid var(--orange-light);
  border-radius: 12px;
  color: var(--on-dark);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.9px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.green-dot,
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
h1 {
  font-family: var(--heading);
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  font-weight: 680;
  line-height: 1.06;
  letter-spacing: -0.048em;
  margin: 24px 0 21px;
}
h1 span {
  color: var(--orange);
}
.hero p {
  color: var(--muted-on-dark);
  line-height: 1.8;
  font-size: 14px;
}
.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
}
.quiet-link {
  font-size: 12px;
  font-weight: 600;
}
.hero-note {
  background: #434850;
  border: 1px solid var(--line-on-dark);
  padding: 25px 27px 18px;
  position: relative;
  border-radius: 9px;
}
.note-kicker {
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: bold;
}
.hero-note h2 {
  font: 620 30px/1.12 var(--heading);
  letter-spacing: -1px;
  margin: 29px 0 15px;
}
.hero-note p {
  font-size: 12px;
}
.note-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-on-dark);
  padding-top: 15px;
  margin-top: 24px;
  font-size: 10px;
  font-weight: bold;
}
.note-footer span:last-child {
  color: var(--orange);
  font-size: 18px;
}
.market-status {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.market-status > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.status-dot {
  background: var(--orange);
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 18px;
}
.section-top h2 {
  font-family: var(--heading);
  font-size: 29px;
  letter-spacing: -0.8px;
  font-weight: 650;
  margin: 0;
}
.section-top h2 span {
  color: var(--orange);
}
.section-top .muted {
  font-size: 11px;
}
.muted {
  color: var(--muted);
}
.index-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.index-card {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 17px 17px 13px;
  text-align: left;
  transition: background 0.15s;
}
.index-card:hover,
.index-card.selected {
  background: var(--orange-tint);
  border-color: #c8835e;
}
.index-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  gap: 10px;
}
.index-label span:last-child {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}
.index-value {
  font-size: 23px;
  letter-spacing: -0.8px;
  margin: 10px 0 5px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.index-value small {
  font-size: 10px;
  letter-spacing: 0;
}
.index-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.change {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.change.negative {
  color: var(--red);
}
.leaders {
  margin-top: 52px;
}
.leaders .section-top {
  align-items: flex-end;
}
.leaders .eyebrow {
  margin-bottom: 10px;
  font-size: 9px;
}
.leaders h2 {
  font-size: 36px;
}
.search {
  border: 1px solid var(--line);
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  gap: 9px;
  background: var(--surface);
}
.search span {
  font-size: 22px;
  color: var(--muted);
  line-height: 1;
}
.search input {
  border: 0;
  background: none;
  outline: none;
  width: 218px;
  font-size: 11px;
}
.leader-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-top: 10px;
  gap: 15px;
}
.tabs {
  display: flex;
  gap: 26px;
}
.tabs button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 12px 0 15px;
  font-size: 12px;
  border-bottom: 2px solid transparent;
  font-weight: 600;
}
.tabs button.active {
  color: var(--ink);
  border-color: var(--orange);
}
.tabs button span {
  margin-left: 5px;
}
.leader-toolbar select {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 25px 7px 10px;
  font-size: 11px;
  max-width: 180px;
}
.coverage {
  font-size: 10px;
  color: var(--muted);
  margin: 11px 0;
}
.table-scroll {
  position: relative;
  overflow: auto;
  max-width: 100%;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th,
td {
  padding: 13px 14px;
}
thead th {
  background: var(--graphite);
  border-bottom: 2px solid var(--orange-light);
  color: var(--on-dark);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.035em;
}
tbody tr {
  background: var(--surface);
}
tbody tr:nth-child(even) {
  background: #eef0f3;
}
tbody tr:hover,
tbody tr:focus-within {
  background: #fff0e6;
}
tbody td,
tbody th {
  border-bottom: 1px solid var(--card-edge);
  font-size: 12px;
}
tbody tr:last-child > * {
  border-bottom: 0;
}
tbody th {
  font-weight: 650;
}
tbody a:hover {
  color: var(--orange);
}
thead .numeric,
tbody .numeric {
  text-align: right;
}
.company-cell {
  display: flex;
  gap: 12px;
  align-items: center;
}
.company-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e5e7eb;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.company-logo.c1 {
  background: #dce0e5;
  color: #414a56;
}
.company-logo.c2 {
  background: #eceef0;
  color: #39414c;
}
.company-logo.c3 {
  background: var(--orange-tint);
  color: var(--orange);
}
.company-name {
  font-size: 12px;
  font-weight: 600;
}
.company-symbol {
  font-size: 10px;
  color: var(--muted);
  margin-top: 1px;
}
.rank-cell {
  width: 32px;
  color: var(--muted);
  font-size: 10px;
}
.index-tag {
  font-size: 9px;
  border: 1px solid #c8cdd3;
  background: var(--surface-muted);
  border-radius: 3px;
  padding: 3px 5px;
  color: var(--muted);
  margin-right: 4px;
}
.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.price {
  font-weight: 600;
}
.price small {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}
.change-badge {
  display: inline-block;
  min-width: 65px;
  background: #e8f3ed;
  border-radius: 3px;
  padding: 4px 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
}
.change-badge.negative {
  background: #faebeb;
  color: var(--red);
}
.watch-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 21px;
  line-height: 1;
}
.watch-button.saved {
  color: var(--orange);
}
.table-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: var(--muted);
  padding: 17px 0;
}
.perspective {
  margin: 55px 0;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 31px;
}
.perspective h2 {
  font: 650 29px/1.2 var(--heading);
  letter-spacing: -0.7px;
}
.perspective .eyebrow {
  font-size: 8px;
}
.perspective-item > span {
  color: var(--orange);
  font: 19px var(--heading);
}
.perspective h3 {
  font-size: 12px;
  margin-top: 12px;
}
.perspective p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.newsletter {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 39px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  margin: 36px 0 56px;
}
.newsletter .eyebrow {
  font-size: 8px;
  letter-spacing: 1.5px;
}
.newsletter h2 {
  font: 650 38px/1.12 var(--heading);
  letter-spacing: -1.3px;
  margin: 17px 0;
}
.newsletter p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.newsletter form {
  align-self: center;
}
.newsletter label:not(.consent) {
  font-size: 11px;
  font-weight: 600;
  display: block;
  margin-bottom: 9px;
}
.email-field {
  display: flex;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px;
  gap: 4px;
}
.email-field input {
  min-width: 0;
  width: 100%;
  background: none;
  border: 0;
  outline: none;
  padding: 7px;
  font-size: 12px;
}
.email-field .button {
  background: var(--orange);
  gap: 14px;
  padding: 10px 15px;
}
.consent {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.consent input {
  margin: 3px 0 0;
  accent-color: var(--ink);
  flex-shrink: 0;
}
.small-copy {
  font-size: 10px !important;
  color: var(--muted);
  line-height: 1.7;
}
.newsletter-signature {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}
.newsletter-signature .brand-icon {
  width: 22px;
  height: 22px;
  font-size: 21px;
  background: var(--graphite);
}
.newsletter-signature small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}
footer {
  padding: 26px max(24px, calc((100% - 1260px) / 2 + 28px)) 36px;
  background: var(--graphite);
  color: var(--on-dark);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
footer .brand {
  font-size: 18px;
}
footer .brand-icon {
  width: 22px;
  height: 22px;
  font-size: 21px;
}
footer p,
footer > span {
  font-size: 10px;
  color: var(--muted-on-dark);
}
footer .disclaimer {
  order: 5;
  width: 100%;
  font-size: 9px;
  max-width: 800px;
  margin: 0;
}
footer > span {
  margin-left: auto;
}
.notice {
  padding: 14px 18px;
  border: 1px solid #e6cc96;
  background: #fff6e4;
  border-radius: 5px;
  font-size: 12px;
}
.hidden {
  display: none !important;
}
.loading,
.empty {
  text-align: center;
  padding: 45px;
  color: var(--muted);
}
dialog {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
  width: 440px;
  max-width: calc(100vw - 30px);
  box-shadow: 0 20px 90px #161b2638;
}
dialog::backdrop {
  background: #191c2475;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--muted);
}
dialog .brand {
  font-size: 22px;
  margin-bottom: 32px;
}
dialog h2 {
  font: 650 34px var(--heading);
  letter-spacing: -1px;
  margin: 12px 0 4px;
}
dialog .eyebrow {
  font-size: 8px;
}
dialog form > label:not(.consent) {
  display: block;
  margin: 17px 0 6px;
  font-size: 12px;
  font-weight: 600;
}
dialog form > input {
  width: 100%;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.full {
  width: 100%;
  margin-top: 12px;
  justify-content: space-between;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin: 21px 0;
}
.auth-links a:hover {
  text-decoration: underline;
}
.error {
  color: var(--red);
  font-size: 12px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 14px 24px;
  border-radius: 7px;
  font-size: 12px;
  box-shadow: 0 4px 24px #0002;
  z-index: 10;
  max-width: 90vw;
}
.page-hero {
  padding: 55px 0 25px;
}
.page-hero h1 {
  font-size: 54px;
}
.page-panel {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  box-shadow: var(--panel-shadow);
  padding: 28px;
  margin-bottom: 40px;
}
.page-panel label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  margin: 15px 0 7px;
}
.page-panel input,
.page-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
}
.page-panel textarea {
  min-height: 240px;
  resize: vertical;
}
.campaign {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.campaign h3 {
  font-size: 14px;
  margin: 0;
}
.campaign p {
  font-size: 11px;
  color: var(--muted);
}
.campaign-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.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;
}
@media (min-width: 1450px) {
  main {
    padding: 0 25px;
  }
}
@media (max-width: 950px) {
  .brand {
    font-size: 21px;
  }
  .account-nav {
    gap: 15px;
  }
  main {
    padding: 0 26px;
  }
  .hero {
    grid-template-columns: 1fr 235px;
    gap: 30px;
  }
  h1 {
    font-size: 55px;
  }
  .hero-note {
    padding: 23px;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .quiet-link {
    display: none;
  }
  .index-cards {
    gap: 8px;
  }
  .index-card {
    padding: 13px;
  }
  .index-value {
    font-size: 20px;
  }
  .index-label {
    font-size: 10px;
  }
  .index-label span:last-child {
    display: none;
  }
  .perspective {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .newsletter {
    padding: 28px;
    gap: 25px;
  }
  .newsletter h2 {
    font-size: 35px;
  }
  .email-field .button {
    padding: 9px;
  }
  .email-field .button span {
    display: none;
  }
}
@media (max-width: 640px) {
  .site-header .brand {
    font-size: 21px;
  }
  .site-header .nav-link {
    font-size: 11px;
  }
  .account-nav .button {
    display: none;
  }
  .account-nav .text-button {
    font-size: 11px;
  }
  main {
    padding: 0 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 30px 22px;
    gap: 0;
  }
  h1 {
    font-size: clamp(2.25rem, 8.5vw, 3.05rem);
    letter-spacing: -0.045em;
  }
  .hero p {
    font-size: 12px;
  }
  .hero-note {
    display: none;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-actions {
    margin-top: 23px;
  }
  .market-status {
    font-size: 9px;
    align-items: center;
  }
  .market-status > span {
    max-width: 105px;
    text-align: right;
  }
  .section-top {
    margin: 22px 0 14px;
  }
  .section-top h2 {
    font-size: 27px;
  }
  .section-top .muted {
    font-size: 9px;
  }
  .index-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .index-value {
    font-size: 22px;
  }
  .index-label {
    font-size: 10px;
  }
  .index-label span:last-child {
    display: block;
    font-size: 8px;
  }
  .leaders {
    margin-top: 35px;
  }
  .leaders .section-top {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
  .leaders h2 {
    font-size: 32px;
  }
  .search input {
    width: 100%;
  }
  .search {
    width: 100%;
  }
  .tabs {
    gap: 16px;
  }
  .tabs button {
    font-size: 10px;
  }
  .leader-toolbar {
    gap: 10px;
  }
  .leader-toolbar select {
    max-width: 123px;
    font-size: 10px;
    padding-right: 5px;
  }
  .tabs button span {
    display: none;
  }
  th,
  td {
    padding: 12px 8px;
  }
  .stock-table .volume-col {
    display: none;
  }
  .company-cell {
    gap: 8px;
  }
  .company-logo {
    width: 27px;
    height: 27px;
    font-size: 10px;
  }
  .company-name {
    max-width: 140px;
    white-space: normal;
    line-height: 1.3;
    font-size: 11px;
  }
  .index-tag {
    font-size: 8px;
  }
  .rank-cell {
    display: none;
  }
  .table-bottom {
    font-size: 9px;
    flex-wrap: wrap;
  }
  .table-bottom > .muted {
    width: 100%;
  }
  .perspective {
    margin: 35px 0;
    gap: 23px;
  }
  .perspective h2 {
    font-size: 26px;
  }
  .perspective h3 {
    font-size: 12px;
  }
  .perspective p {
    font-size: 10px;
  }
  .perspective .eyebrow {
    font-size: 7px;
  }
  .newsletter {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 23px;
    margin: 28px 0;
  }
  .newsletter h2 {
    font-size: 39px;
  }
  .newsletter p {
    font-size: 11px;
  }
  .newsletter .eyebrow {
    font-size: 7px;
  }
  .email-field .button {
    font-size: 12px;
    padding: 10px 12px;
  }
  .newsletter-signature {
    margin-top: 18px;
  }
  footer {
    padding: 23px 18px;
    gap: 12px;
  }
  footer p {
    font-size: 9px;
  }
  footer > span {
    margin: 0;
    font-size: 9px;
  }
  footer .disclaimer {
    font-size: 8px;
  }
  .page-hero h1 {
    font-size: 43px;
  }
  .page-panel {
    padding: 20px;
  }
  .campaign {
    flex-direction: column;
    gap: 10px;
  }
  .desktop {
    display: none;
  }
}
.campaign-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px/1.8 Arial,
    sans-serif;
  max-width: 700px;
}
.campaign details {
  font-size: 11px;
  color: var(--muted);
}
@media (max-width: 640px) {
  .stock-table .index-col {
    display: none;
  }
  .company-symbol span {
    display: none;
  }
  .company-name {
    max-width: 115px;
  }
  .price small {
    display: block;
    margin: 0;
  }
  .watch-button {
    font-size: 19px;
    padding: 2px;
  }
  .numeric {
    padding-left: 5px;
    padding-right: 5px;
  }
  .change-badge {
    min-width: 60px;
  }
}

.brand-period {
  margin-left: -9px;
}
@media (max-width: 640px) {
  .site-header .brand {
    font-size: 19px;
  }
}

.stock-link {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.stock-link:hover {
  text-decoration-thickness: 2px;
}
.stock-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}
.stock-heading small {
  font-size: 0.65em;
}
.stock-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.stock-metrics dt {
  margin-bottom: 8px;
  font-size: 0.85rem;
}
.stock-metrics dd {
  margin: 0;
  font-weight: 700;
}
.stock-peers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 0;
  list-style: none;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.member-features {
  padding-left: 20px;
}
.member-features p {
  margin: 6px 0 16px;
}
.member-price strong {
  font-size: 2rem;
}
.member-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 16px 0;
}
.member-navigation {
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  padding: 4px;
}
.member-navigation > * {
  flex: none;
}
.member-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
  margin-bottom: 16px;
}
.member-fields select {
  margin: 4px 0 0;
  min-height: 40px;
  width: 100%;
}
.member-projection {
  display: block;
  margin-bottom: 16px;
}
.member-alert,
.member-issue {
  padding: 16px 0 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.member-alert {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.member-alert p {
  margin: 5px 0;
}
.research-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 800px) {
  .member-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}
.account-panel {
  max-width: 510px;
}
.account-panel .button {
  margin-top: 16px;
}
.account-panel .consent {
  display: flex;
  align-items: center;
  gap: 8px;
}
.account-panel .consent input {
  width: auto;
}

.member-rankings table {
  min-width: 0;
}
.member-rankings th,
.member-rankings td {
  padding: 10px 11px;
}
.member-rankings tbody th {
  white-space: normal;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  font-size: 12px;
}
.member-rankings tbody small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  margin-top: 3px;
}

.member-tool-table tbody th {
  text-transform: none;
  letter-spacing: normal;
  font-size: 12px;
  text-align: left;
}
.member-tool-table td,
.member-tool-table th {
  white-space: normal;
  min-width: 95px;
}
.member-tool-table th small {
  display: block;
  font-weight: 400;
  margin-top: 4px;
}
.member-tool-table meter {
  width: 72px;
}
.member-movers {
  list-style: none;
  margin: 0;
  padding: 0;
}
.member-movers li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.member-issue summary {
  cursor: pointer;
  font-weight: 700;
}
.member-issue .member-grid {
  margin-top: 16px;
}
.member-search input {
  max-width: 340px;
}

.article-section {
  margin: 48px 0;
}
.article-section .section-top {
  flex-wrap: wrap;
  gap: 8px 20px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.article-card > :last-child {
  margin-bottom: 0;
}
.article-topic {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.8rem;
}
.article-card h3 {
  font-family: var(--heading);
  font-weight: 680;
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 8px 0 12px;
}
.article-card h3 a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.article-detail {
  max-width: 740px;
  margin: 0 auto;
}
.article-detail .article-topic {
  margin: 22px 0 8px;
}
.article-detail h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}
.article-detail h2 {
  font-family: var(--heading);
  font-size: 1.6rem;
}
.article-intro {
  font-size: 1.15rem;
  color: var(--muted);
}
.article-detail section {
  margin: 0 0 24px;
}

.member-research-article {
  max-width: 780px;
}
.member-research-article section {
  margin-top: 24px;
}

.page-panel.research-card {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(22px, 4vw, 44px);
  color: var(--on-dark);
  background: var(--graphite);
  border-color: var(--graphite);
}
.research-card-heading h2 {
  font: 660 clamp(2rem, 4vw, 3.1rem) / 1.06 var(--heading);
  margin: 0 0 24px;
}
.research-card-library {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-on-dark);
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 700;
}
.research-card-library:hover {
  background: var(--on-dark);
  color: var(--graphite);
}
.research-card-articles h3 {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--muted-on-dark);
}
.research-card-articles ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.research-card-articles li {
  border-top: 1px solid var(--line-on-dark);
}
.research-card-articles li a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 8px 14px;
  padding: 13px 0;
}
.research-card-articles li a:hover > :first-child {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.research-card-articles time {
  font-size: 0.8rem;
  color: var(--muted-on-dark);
  white-space: nowrap;
}
.research-card-arrow {
  color: var(--orange-light);
}
@media (max-width: 640px) {
  .page-panel.research-card {
    grid-template-columns: 1fr;
  }
  .research-card-articles li a {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .research-card-articles time {
    grid-row: 2;
  }
  .research-card-arrow {
    grid-column: 2;
    grid-row: 1;
  }
}

.index-card .index-value {
  display: block;
}
.index-card .index-unavailable {
  font-size: 16px;
  letter-spacing: normal;
}
.index-coverage {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}
.member-indexes {
  margin-bottom: 32px;
}

#crypto-snapshot {
  margin: 40px 0;
}
.crypto-table tbody th {
  font-size: 13px;
  letter-spacing: normal;
  text-transform: none;
}
.crypto-table tbody small {
  color: var(--muted);
  margin-left: 6px;
}
.crypto-table tr:target > * {
  background: var(--orange-tint);
}
#commodity-snapshot {
  margin: 32px 0;
}
.commodity-grid .page-panel {
  margin-bottom: 16px;
}
.commodity-grid h3 {
  margin: 0 0 12px;
}
.commodity-table tbody th {
  font-size: 12px;
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
}
.commodity-table time {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.commodity-table small {
  color: var(--muted);
}

.article-card-featured {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--on-dark);
}
.article-card-featured .article-topic {
  color: var(--muted-on-dark);
}
.article-card-featured h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}
@media (min-width: 700px) {
  .article-card-featured {
    grid-column: span 2;
  }
}

.site-header .brand-period,
footer .brand-period,
.hero h1 span,
.hero .note-footer span:last-child {
  color: var(--orange-light);
}
.site-header .account-nav .muted {
  color: var(--muted-on-dark);
}
.site-header .text-button {
  color: var(--on-dark);
}
.site-header .text-button:hover,
.hero .quiet-link:hover {
  color: var(--orange-light);
}
.site-header .button,
.hero .button {
  background: var(--orange-light);
  color: #24180f;
}
.site-header .button:hover,
.hero .button:hover {
  background: #ffb883;
}
.email-field .button:hover {
  background: var(--orange-hover);
}
.hero .green-dot {
  background: var(--orange-light);
}
.hero .eyebrow {
  color: var(--muted-on-dark);
}
.page-panel select,
.leader-toolbar select {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
}
.member-fields select {
  padding: 8px 10px;
}
:focus-visible {
  outline: 2px solid var(--orange);
}
.site-header :focus-visible,
.hero :focus-visible,
footer :focus-visible,
.research-card :focus-visible,
.article-card-featured :focus-visible {
  outline-color: var(--orange-light);
}
.search:focus-within,
.email-field:focus-within {
  box-shadow: 0 0 0 2px var(--orange);
}
@media (max-width: 960px) {
  .site-header {
    min-height: 0;
    height: auto;
    padding: 12px 20px 0;
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 0;
    padding: 5px 3px 6px;
    gap: clamp(14px, 3vw, 24px);
  }
  .site-header .nav-link {
    flex: none;
    white-space: nowrap;
    padding: 3px 0;
  }
  .site-header .nav-link.active:after {
    bottom: 0;
    height: 2px;
  }
}
@media (max-width: 480px) {
  .site-header nav {
    gap: clamp(6px, 2.5vw, 10px);
  }
  .site-header .account-nav .muted {
    display: none;
  }
  .page-hero h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}

/* Shared card surfaces and data graphics */
:root {
  --card-border: #b5bac1;
  --card-edge: #d8dce1;
  --card-radius: 12px;
  --chart-track: #dfe2e6;
  --chart-neutral: #666d77;
  --chart-soft: #bf6944;
}

.page-panel,
.article-card,
.index-card {
  border-color: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--panel-shadow);
}
.page-panel > h2,
.commodity-grid h3 {
  margin-top: 0;
  letter-spacing: -0.028em;
}
.page-panel > h2::after,
.commodity-grid h3::after {
  content: '';
  display: block;
  margin-top: 9px;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}
.index-card {
  border-top: 3px solid var(--card-edge);
  transition:
    background-color 0.15s,
    border-color 0.15s;
}
.index-card:hover,
.index-card:focus-visible,
.index-card.selected {
  border-top-color: var(--orange);
}
.index-label {
  min-height: 1.35em;
}
.index-value {
  color: var(--ink);
  line-height: 1.18;
}
.article-card:not(.article-card-featured):hover,
.article-card:not(.article-card-featured):focus-within {
  border-color: var(--orange);
}
.article-card-featured,
.page-panel.research-card {
  border-color: var(--graphite);
  border-top: 3px solid var(--orange-light);
}
.stock-metrics {
  gap: 12px;
}
.stock-metrics > div {
  min-width: 0;
  padding: 14px;
  background: var(--surface-muted);
  border: 1px solid var(--card-edge);
  border-radius: 8px;
}
.stock-metrics dd {
  font-variant-numeric: tabular-nums;
}
.stock-metrics dd .index-tag {
  display: inline-block;
  margin-bottom: 4px;
}
.chart-meter {
  display: inline-block;
  width: 100%;
  height: 7px;
  vertical-align: middle;
  appearance: none;
  border: 0;
  background: var(--chart-track);
  border-radius: 999px;
  overflow: hidden;
  --chart-fill: var(--orange);
}
.chart-meter[data-tone='neutral'] {
  --chart-fill: var(--chart-neutral);
}
.chart-meter[data-tone='soft'] {
  --chart-fill: var(--chart-soft);
}
.chart-meter[data-tone='negative'] {
  --chart-fill: var(--red);
}
.chart-meter::-webkit-meter-bar {
  border: 0;
  background: var(--chart-track);
}
.chart-meter::-webkit-meter-optimum-value {
  background: var(--chart-fill);
  border-radius: 999px;
}
.chart-meter::-moz-meter-bar {
  background: var(--chart-fill);
  border-radius: 999px;
}
.member-tool-table .breadth-meter {
  width: clamp(55px, 8vw, 104px);
  margin-right: 5px;
}
.ranking-meter {
  display: block;
  max-width: 120px;
  min-width: 48px;
  margin: 4px 0 0 auto;
}
.projection-chart {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--surface-muted);
  border: 1px solid var(--card-edge);
  border-radius: 8px;
}
.projection-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}
.projection-row .chart-meter {
  grid-column: 1 / -1;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.calendar-toolbar h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.035em;
}
.calendar-toolbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.calendar-control {
  display: inline-flex;
  align-items: center;
  column-gap: 4px;
  padding: 6px 10px;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 650;
}
.calendar-control:hover {
  background: var(--orange-tint);
  border-color: var(--orange);
}
.calendar-note {
  color: var(--muted);
  font-size: 0.85rem;
}
.earnings-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: 8px;
}
.calendar-weekday {
  padding: 8px 6px;
  background: var(--surface-muted);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
}
.calendar-day {
  min-width: 0;
  min-height: 88px;
  padding: 6px;
  background: #fff;
}
.calendar-outside {
  background: var(--surface-muted);
}
.calendar-date {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  min-height: 22px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}
.calendar-today .calendar-date {
  background: var(--orange);
  color: #fff;
  border-radius: 5px;
  font-weight: 700;
}
.calendar-day ul,
.earnings-day-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.calendar-event {
  display: flex;
  align-items: baseline;
  min-width: 0;
  gap: 5px;
  padding: 3px 5px;
  margin-bottom: 3px;
  border-radius: 4px;
  background: var(--orange-tint);
  color: #732b10;
  font-size: 0.7rem;
}
.calendar-event:hover {
  background: #f4d3bf;
}
.calendar-event span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.earnings-day-list h3 {
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 6px;
  margin: 18px 0 0;
}
.earnings-day-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
}
.earnings-day-list small,
.earnings-timing {
  color: var(--muted);
}
@media (max-width: 800px) {
  .calendar-event span {
    display: none;
  }
}
@media (max-width: 480px) {
  .earnings-panel {
    padding: 12px;
  }
  .calendar-day {
    min-height: 56px;
    padding: 3px;
  }
  .calendar-weekday {
    padding-inline: 0;
  }
  .calendar-event {
    padding: 2px 1px;
    font-size: 0.59rem;
    justify-content: center;
  }
  .calendar-control-month {
    display: none;
  }
}

#market-history {
  margin: 30px 0;
}
.chart-periods {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--surface-muted);
  margin-bottom: 16px;
}
.chart-periods button {
  min-width: 48px;
  padding: 6px 10px;
  border: 0;
  border-radius: 5px;
  color: var(--ink);
  background: transparent;
  font-weight: 650;
}
.chart-periods button[aria-pressed='true'] {
  color: #fff;
  background: var(--orange);
}
.market-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.market-chart.page-panel {
  margin: 0;
  padding: clamp(16px, 3vw, 24px);
}
.market-chart h3 {
  margin: 0;
  font-size: 1.12rem;
}
.market-chart figcaption p {
  margin: 4px 0 0;
  font-size: 0.8rem;
}
.market-chart-quote {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 15px 0 0;
  font-variant-numeric: tabular-nums;
}
.market-chart-quote strong {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  letter-spacing: -0.035em;
}
.market-chart-date {
  margin: 2px 0 6px;
  color: var(--muted);
  font-size: 0.75rem;
}
.market-chart canvas {
  display: block;
  width: 100%;
  height: 160px;
}
@media (max-width: 720px) {
  .market-chart-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.brief-intro {
  color: var(--muted);
  margin: 16px 0 22px;
}
.brief-grid {
  align-items: stretch;
  margin-bottom: 30px;
}
.brief-grid .page-panel {
  margin-bottom: 0;
}
.brief-grid .page-panel > :last-child {
  margin-bottom: 0;
}
.brief-list {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}
.brief-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--card-edge);
}
.brief-list li > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.brief-meta {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}
.brief-value {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .brief-grid {
    row-gap: 14px;
  }
}

.ai-research-grid .page-panel {
  margin-bottom: 24px;
}
#ai-research-form select {
  width: 100%;
  min-height: 42px;
}
#ai-research-form textarea {
  min-height: 110px;
}
.ai-question-note {
  font-size: 0.78rem;
}
.ai-examples {
  display: grid;
  justify-items: start;
  gap: 4px;
  border-top: 1px solid var(--card-edge);
  padding-top: 12px;
}
.ai-examples h3 {
  margin: 0;
  font-size: 0.9rem;
}
.ai-examples button {
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ai-answer {
  padding: 14px;
  background: var(--surface-muted);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
}
.ai-answer h3,
.ai-answer p {
  margin: 0;
}
.ai-answer p {
  margin-top: 8px;
}

.premarket-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.premarket-summary p {
  margin: 4px 0;
}
.premarket-summary .member-actions {
  margin: 4px 0;
}
.premarket-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}
.premarket-grid .page-panel {
  margin-bottom: 0;
}
.premarket-table tbody small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
