/* ============================================================
   Psychedelic Invest — site-wide design system
   Palette drawn from the original site (#210B3A / #321153 / #FD9175)
   ============================================================ */

:root {
  --purple-950: #17082b;
  --purple-900: #210B3A;
  --purple-800: #321153;
  --purple-700: #4A2A78;
  --purple-100: #EFE9F7;
  --purple-50: #F8F5FC;
  --coral-500: #FD9175;
  --coral-600: #E8846B;
  --coral-700: #D66B52;
  --ink: #241833;
  --muted: #6F6580;
  --line: #E5DFEE;
  --white: #ffffff;
  --green: #4C9A2A;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(33, 11, 58, 0.10);
  --shadow-sm: 0 3px 12px rgba(33, 11, 58, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--purple-900);
  line-height: 1.2;
  font-weight: 600;
}

a { color: var(--coral-700); }
a:hover { color: var(--coral-600); }

img { max-width: 100%; height: auto; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 2.5rem); }

.section { padding: 4rem 0; }
.section--tint { background: var(--purple-50); }

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  background: var(--purple-900); color: #fff;
  padding: .5rem 1rem; border-radius: 8px;
}

/* ---------- header ---------- */
.site-header {
  background: var(--purple-900);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 14px rgba(23, 8, 43, .35);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text {
  font-family: var(--font-head);
  color: #fff; font-size: 1.05rem; letter-spacing: .01em; line-height: 1.1;
}
.brand-text strong { color: var(--coral-500); font-weight: 700; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: .6rem; border-radius: 8px;
}
.nav-toggle-bar {
  display: block; width: 24px; height: 2px; background: #fff;
  margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-list {
  display: flex; align-items: center; gap: .25rem; list-style: none;
}
.nav-link {
  display: inline-block; padding: .55rem .85rem;
  color: rgba(255,255,255,.88); text-decoration: none;
  font-weight: 500; font-size: .95rem;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  border-radius: 8px;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }

.has-dropdown { position: relative; }
.dropdown-toggle::after {
  content: ""; display: inline-block; margin-left: .45em;
  border: 4px solid transparent; border-top-color: currentColor;
  transform: translateY(2px);
}
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  list-style: none; padding: .5rem; display: none; z-index: 50;
}
.has-dropdown.is-open .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
@media (hover: hover) {
  .has-dropdown:hover .dropdown { display: block; }
}
.dropdown a {
  display: block; padding: .55rem .8rem; border-radius: 8px;
  color: var(--purple-900); text-decoration: none; font-size: .93rem;
}
.dropdown a:hover { background: var(--purple-50); color: var(--purple-800); }

.nav-cta {
  background: var(--coral-500); color: var(--purple-950) !important;
  font-weight: 700; margin-left: .5rem;
}
.nav-cta:hover { background: var(--coral-600) !important; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--purple-900);
    border-top: 1px solid rgba(255,255,255,.12);
    padding: .75rem 1.25rem 1.25rem;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav-link { width: 100%; text-align: left; }
  .dropdown {
    position: static; box-shadow: none; background: rgba(255,255,255,.06);
    display: none; margin: .2rem 0 .4rem;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .dropdown a { color: rgba(255,255,255,.85); }
  .dropdown a:hover { background: rgba(255,255,255,.1); color: #fff; }
  .nav-cta { margin-left: 0; text-align: center; }
}

/* ---------- hero ---------- */
.hero {
  background: var(--purple-900);
  background-image: radial-gradient(ellipse at 15% 10%, rgba(253,145,117,.18), transparent 45%),
    radial-gradient(ellipse at 85% 90%, rgba(74,42,120,.6), transparent 55%);
  color: #fff;
  padding: 5.5rem 0;
  text-align: center;
}
.hero h1 {
  color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700;
  max-width: 830px; margin: 0 auto 1.25rem;
}
.hero .highlight { color: var(--coral-500); }
.hero-sub {
  color: #E9E2F3; font-size: 1.15rem; max-width: 620px; margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- buttons & badges ---------- */
.btn {
  display: inline-block; padding: .7rem 1.4rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: .95rem;
  transition: transform .12s ease, background .12s ease;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--coral-500); color: var(--purple-950); }
.btn--primary:hover { background: var(--coral-600); color: var(--purple-950); }
.btn--ghost {
  border: 2px solid var(--purple-100); color: var(--purple-800);
  background: #fff;
}
.btn--ghost:hover { border-color: var(--purple-700); color: var(--purple-900); }
.btn--ghost-light { border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }

.badge {
  display: inline-block; background: var(--purple-800); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  padding: .28rem .75rem; border-radius: 999px; text-decoration: none;
}
a.badge:hover { background: var(--purple-700); color: #fff; }
.badge--outline {
  background: transparent; color: var(--purple-800);
  border: 1.5px solid var(--line);
}
a.badge--outline:hover { border-color: var(--purple-700); background: var(--purple-50); color: var(--purple-900); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 700; color: var(--coral-700); margin-bottom: .5rem;
}

/* ---------- index promo ---------- */
.index-promo-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center;
}
.index-promo h2 { font-size: 2rem; margin-bottom: 1rem; }
.index-promo p { color: var(--muted); margin-bottom: 1.6rem; max-width: 48ch; }
.index-promo-art {
  background: var(--purple-50); border-radius: var(--radius);
  padding: 2.5rem; display: flex; justify-content: center;
}
.chart-bars { display: flex; align-items: flex-end; gap: 12px; height: 170px; }
.chart-bars span {
  width: 26px; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--coral-500), var(--purple-800));
  animation: rise 1s ease both;
}
.chart-bars span:nth-child(1) { height: 42%; }
.chart-bars span:nth-child(2) { height: 58%; }
.chart-bars span:nth-child(3) { height: 45%; }
.chart-bars span:nth-child(4) { height: 72%; }
.chart-bars span:nth-child(5) { height: 60%; }
.chart-bars span:nth-child(6) { height: 88%; }
.chart-bars span:nth-child(7) { height: 100%; }
@keyframes rise { from { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 820px) {
  .index-promo-inner { grid-template-columns: 1fr; }
}

/* ---------- stats band ---------- */
.stats-band {
  background: var(--coral-500);
  background-image: linear-gradient(100deg, var(--coral-500), var(--coral-600));
  padding: 3.25rem 0;
}
.stats-title {
  color: var(--purple-950); text-align: center; font-size: 1.5rem; margin-bottom: 2rem;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem; text-align: center;
}
.stat-number {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4rem); color: var(--purple-950); line-height: 1;
}
.stat-label {
  display: block; margin-top: .4rem; font-weight: 700;
  color: var(--purple-900); font-size: 1.05rem;
}

/* ---------- section head ---------- */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.section-head h2 { font-size: 1.9rem; }
.section-head p { color: var(--muted); }

/* ---------- post cards ---------- */
.post-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.5rem;
}
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card-media { display: block; aspect-ratio: 16 / 9; background: var(--purple-100); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-placeholder {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--purple-800), var(--purple-900) 55%, var(--coral-700));
}
.post-card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; }
.post-card-meta {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted);
}
.post-card-cat {
  color: var(--coral-700); font-weight: 700; text-decoration: none;
  text-transform: uppercase; letter-spacing: .06em; font-size: .74rem;
}
.post-card-title { font-size: 1.02rem; line-height: 1.35; }
.post-card-title a { color: var(--purple-900); text-decoration: none; }
.post-card-title a:hover { color: var(--coral-700); }
.post-card-excerpt { color: var(--muted); font-size: .93rem; }

.post-card--featured .post-card-title { font-size: 1.45rem; }

.latest-grid { display: grid; grid-template-columns: 1.1fr 2fr; gap: 1.5rem; }
.latest-featured .post-card { height: 100%; }
@media (max-width: 980px) {
  .latest-grid { grid-template-columns: 1fr; }
}

/* ---------- landscape cards ---------- */
.landscape-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.landscape-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.landscape-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.landscape-icon { font-size: 1.9rem; display: block; margin-bottom: .8rem; }
.landscape-card h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.landscape-card p { color: var(--muted); font-size: .93rem; }

/* ---------- page title band ---------- */
.page-title-band {
  background: var(--purple-900);
  background-image: radial-gradient(ellipse at 90% 10%, rgba(253,145,117,.15), transparent 50%);
  color: #fff; padding: 3.25rem 0;
}
.page-title-band h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.band-description { color: #E9E2F3; margin-top: .7rem; max-width: 68ch; }
.band-count { color: rgba(255,255,255,.65); margin-top: .5rem; font-size: .9rem; }
.band-filters { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.band-filters .badge--outline { color: #fff; border-color: rgba(255,255,255,.35); }
.band-filters .badge--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

.page-container { padding: 3rem 0 4.5rem; }

/* ---------- article ---------- */
.article-hero {
  background: var(--purple-900);
  background-image: radial-gradient(ellipse at 90% 0%, rgba(253,145,117,.16), transparent 55%);
  padding: 3.5rem 0; color: #fff; margin-bottom: 2.5rem;
}
.article-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.article-meta .badge { background: rgba(255,255,255,.14); }
.article-meta .badge:hover { background: var(--coral-600); }
.article-title { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
.article-byline { color: rgba(255,255,255,.75); font-size: .95rem; display: flex; gap: .6rem; }
.article-featured { margin-bottom: 2rem; }
.article-featured img { border-radius: var(--radius); width: 100%; }
.article-body { padding-bottom: 1rem; }
.article-tags { margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { color: var(--muted); font-size: .85rem; }
.article-footer-nav {
  display: flex; gap: .8rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 2.5rem; padding: 2rem 0 3.5rem;
}

/* ---------- WordPress content compatibility ---------- */
.wp-content { font-size: 1.05rem; }
.wp-content > * + * { margin-top: 1.15em; }
.wp-content h1, .wp-content h2, .wp-content h3, .wp-content h4 { margin-top: 1.6em; }
.wp-content ul, .wp-content ol { padding-left: 1.4em; }
.wp-content img { border-radius: 10px; height: auto; }
.wp-content figure { margin: 1.6em 0; }
.wp-content figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .5em; }
.wp-content .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.wp-content .alignleft { float: left; margin: 0 1.4em 1em 0; max-width: 50%; }
.wp-content .alignright { float: right; margin: 0 0 1em 1.4em; max-width: 50%; }
.wp-content blockquote {
  border-left: 4px solid var(--coral-500); padding: .4em 0 .4em 1.2em;
  color: var(--muted); font-style: italic;
}
.wp-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.wp-content iframe { max-width: 100%; border: 0; }
.wp-content .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.wp-content table {
  width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto;
}
.wp-content table th, .wp-content table td {
  border: 1px solid var(--line); padding: .6em .8em; text-align: left;
}
.wp-content table th { background: var(--purple-50); }
.wp-content .wp-block-columns { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.wp-content .wp-block-column { flex: 1 1 240px; min-width: 0; }
.wp-content .wp-block-button__link, .wp-content .btn, .wp-content .button {
  display: inline-block; background: var(--coral-500); color: var(--purple-950);
  padding: .65rem 1.3rem; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.wp-content .wp-block-button__link:hover { background: var(--coral-600); }
.wp-content .has-text-align-center { text-align: center; }
.wp-content .wp-block-spacer { margin: 0; }
.wp-content .card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.wp-content .row { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.wp-content .row > [class*="col"] { flex: 1 1 280px; min-width: 0; }

/* ---------- pagination ---------- */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; margin-top: 3rem; flex-wrap: wrap;
}
.page-btn {
  padding: .6rem 1.2rem; border-radius: 999px; border: 2px solid var(--line);
  text-decoration: none; color: var(--purple-800); font-weight: 700; font-size: .92rem;
}
.page-btn:hover { border-color: var(--purple-700); }
.page-btn.is-disabled { opacity: .4; pointer-events: none; }
.page-status { color: var(--muted); font-size: .92rem; }

/* ---------- companies ---------- */
.company-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.company-logo {
  background: #fff; border-radius: var(--radius); padding: .8rem;
  max-width: 190px; max-height: 110px; object-fit: contain;
}
.company-links { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.company-links .badge--outline { color: #fff; border-color: rgba(255,255,255,.35); }
.company-chart { margin-top: 2.5rem; }
.company-chart h2 { margin-bottom: 1rem; }
.company-chart .tradingview-widget-container { max-width: 100%; overflow-x: auto; }

.table-tools { margin-bottom: 1.25rem; }
.filter-input {
  width: min(420px, 100%); padding: .7rem 1.1rem; font: inherit;
  border: 2px solid var(--line); border-radius: 999px; outline: none;
}
.filter-input:focus { border-color: var(--purple-700); }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td {
  padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left;
}
.data-table th {
  background: var(--purple-900); color: #fff; font-family: var(--font-head);
  font-size: .85rem; letter-spacing: .04em; text-transform: uppercase;
}
.data-table tr:hover td { background: var(--purple-50); }
.data-table a { color: var(--purple-800); text-decoration: none; }
.data-table a:hover { color: var(--coral-700); }
.status { font-size: .8rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.status--active { background: #E7F3DE; color: var(--green); }
.status--inactive { background: #F3E7E4; color: var(--coral-700); }
.section-note { margin-top: 1.5rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--purple-950); color: rgba(255,255,255,.78); margin-top: 4rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
.footer-brand p { margin-top: 1rem; font-size: .92rem; max-width: 34ch; }
.footer-col h3 {
  color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: .5rem; }
.footer-col a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .93rem; }
.footer-col a:hover { color: var(--coral-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.4rem 0; font-size: .85rem; color: rgba(255,255,255,.5);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- stock index (/index/) ---------- */
.gpi { padding-top: 2rem; }
.gpi-sponsor { text-align: center; margin-bottom: 2rem; }
.gpi-sponsor img { border-radius: 10px; }

.gpi-top {
  display: grid; grid-template-columns: minmax(300px, 1fr) 2fr;
  gap: 1.5rem; align-items: stretch; margin-bottom: 1.5rem;
}
.gpi-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}
.gpi-name { font-size: 1.15rem; margin-bottom: .75rem; }
.gpi-symbol { color: var(--muted); font-weight: 500; font-size: .95rem; }
.gpi-price-row { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.gpi-price {
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 700;
  color: var(--purple-900); line-height: 1.1;
}
.gpi-change { font-weight: 700; font-size: 1.05rem; }
.gpi-up { color: var(--green); }
.gpi-down { color: #C0392B; }
.gpi-flat { color: var(--muted); }
.gpi-asof { color: var(--muted); font-size: .85rem; margin: .35rem 0 1.1rem; }

.gpi-stats { width: 100%; border-collapse: collapse; font-size: .92rem; }
.gpi-stats th, .gpi-stats td { padding: .42rem 0; border-bottom: 1px solid var(--line); }
.gpi-stats th { text-align: left; font-weight: 500; color: var(--ink); }
.gpi-stats td { text-align: right; font-variant-numeric: tabular-nums; }
.gpi-stats tr:last-child th, .gpi-stats tr:last-child td { border-bottom: 0; }

.gpi-chart-card { position: relative; display: flex; flex-direction: column; }
.gpi-chart-toolbar {
  display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.gpi-range {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--purple-800);
}
.gpi-range:hover { border-color: var(--purple-700); }
.gpi-range.is-active { background: var(--purple-800); border-color: var(--purple-800); color: #fff; }
.gpi-chart-caption { margin-left: auto; color: var(--muted); font-size: .82rem; }
.gpi-chart { flex: 1; min-height: 280px; }
.gpi-chart svg { display: block; max-width: 100%; }
.gpi-chart-empty { color: var(--muted); padding: 3rem 1rem; text-align: center; }
.gpi-tooltip {
  position: absolute; z-index: 5; pointer-events: none;
  background: var(--purple-900); color: #fff; border-radius: 10px;
  padding: .55rem .8rem; font-size: .82rem; line-height: 1.5;
  box-shadow: var(--shadow); white-space: nowrap;
}
.gpi-tooltip strong { display: block; }
.gpi-tooltip span { display: block; }
.gpi-tooltip .gpi-up { color: #9ED97C; }
.gpi-tooltip .gpi-down { color: #FFB4A4; }

.gpi-table-card { padding: 0; overflow: hidden; }
.gpi-table { font-size: .9rem; }
.gpi-table th { cursor: pointer; user-select: none; white-space: nowrap; }
.gpi-table th.num, .gpi-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.gpi-table th.is-sorted::after { content: " ▲"; font-size: .7em; }
.gpi-table th.is-sorted.is-desc::after { content: " ▼"; }
.gpi-table td { white-space: nowrap; }
.gpi-ticker { font-weight: 700; color: var(--purple-800); }
.gpi-stale {
  font-size: .68rem; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line); border-radius: 4px; padding: 0 .25rem;
  text-decoration: none; cursor: help; vertical-align: middle;
}
.gpi-more { margin: 1.1rem 1.5rem; }
.gpi-footnote { color: var(--muted); font-size: .82rem; padding: 0 1.5rem 1.25rem; }

.gpi-note { margin: 2.5rem auto; color: var(--muted); font-size: .92rem; }
.gpi-note p + p { margin-top: 1rem; }

.gpi-cta { background: var(--purple-800); color: #fff; padding: 4.5rem 0; }
.gpi-cta-inner { text-align: center; max-width: 720px; }
.gpi-cta h2 { color: #fff; font-size: 2rem; margin-bottom: 1rem; }
.gpi-cta p { font-size: 1.1rem; opacity: .9; margin-bottom: 2rem; }

@media (max-width: 960px) {
  .gpi-top { grid-template-columns: 1fr; }
}
