@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ════════════════════════════════════════════════════════════
   GERALD — Swiss Grid Design System
   B&W + Electric Blue · IBM Plex Sans
   ════════════════════════════════════════════════════════════ */

:root {
  --black:    #0b0b0b;
  --white:    #ffffff;
  --blue:     #1455FF;
  --blue-dk:  #0a3acc;
  --cream:    #f2ede4;
  --g50:      #f7f7f7;
  --g100:     #efefef;
  --g200:     #dcdcdc;
  --g400:     #999999;
  --g600:     #555555;
  --g800:     #222222;
  --line:     1px solid #dcdcdc;
  --line-dk:  1px solid #0b0b0b;
  --font:     'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --mono:     'IBM Plex Mono', monospace;
  --ease:     cubic-bezier(.22,1,.36,1);
  --green:    #16a34a;
  --red:      #dc2626;
  --g300:     #c4c4c4;
  --sh-md:    0 4px 20px rgba(0,0,0,.08);
  --page-pad: 40px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font-family: var(--font); }

/* ── Keyframes ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Typography scale ─────────────────────────────────────── */
.t-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--g400);
}
.t-eyebrow--blue { color: var(--blue); }
.t-eyebrow--white { color: rgba(255,255,255,.45); }
.t-eyebrow--cream { color: rgba(242,237,228,.55); }

.t-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ── Containers ───────────────────────────────────────────── */
.wrap   { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.wrap--sm { max-width: 680px;  margin: 0 auto; padding: 0 40px; }

/* ══════════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: var(--line);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  animation: fadeIn .4s ease both;
}
.nav--dark {
  background: rgba(11,11,11,.92);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--black);
}
.nav--dark .nav__logo { color: var(--white); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  font-size: 12px;
  font-weight: 500;
  color: var(--g600);
  padding: 6px 14px;
  transition: color .15s;
}
.nav__link:hover { color: var(--black); }
.nav--dark .nav__link { color: rgba(255,255,255,.5); }
.nav--dark .nav__link:hover { color: var(--white); }

/* ══════════════════════════════════════════════════════════
   BUTTONS — sharp, Swiss
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s, transform .18s var(--ease);
  white-space: nowrap;
}
.btn--blue {
  background: var(--blue);
  color: var(--white);
}
.btn--blue:hover { background: var(--blue-dk); transform: translateY(-1px); }
.btn--black {
  background: var(--black);
  color: var(--white);
}
.btn--black:hover { background: var(--g800); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--black);
  border: var(--line-dk);
}
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.4);
}
.btn--outline-white:hover { background: rgba(255,255,255,.1); }
.btn--cream {
  background: var(--cream);
  color: var(--black);
}
.btn--cream:hover { background: #e8e3da; }
.btn--lg { font-size: 13px; padding: 14px 32px; }
.btn--sm { font-size: 11px; padding: 8px 16px; }
.btn--full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════════════════
   ONBOARDING — Dark dramatic screens
   ══════════════════════════════════════════════════════════ */
.onboard {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Atmospheric background layers */
.onboard::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(20,85,255,.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(255,255,255,.025) 0%, transparent 60%),
    linear-gradient(180deg, rgba(11,11,11,1) 0%, rgba(16,16,28,1) 50%, rgba(11,11,14,1) 100%);
  pointer-events: none;
}

/* Landscape silhouette — CSS cliff/horizon */
.onboard::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40vh;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5,5,10,.6) 40%, rgba(5,5,10,.9) 100%);
  pointer-events: none;
}

/* Grain overlay */
.onboard__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* Cliff silhouette via clip-path */
.onboard__cliff {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 38vh;
  z-index: 1;
  pointer-events: none;
}
.onboard__cliff svg { width: 100%; height: 100%; }

.onboard__content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 60px;
}

/* Progress bar */
.onboard__progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--blue);
  transition: width .5s var(--ease);
  z-index: 300;
}

/* Step indicator */
.step-track {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  animation: fadeIn .5s ease both;
}
.step-dot {
  width: 6px; height: 6px;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  transition: background .3s, border-color .3s;
}
.step-dot--active {
  background: var(--blue);
  border-color: var(--blue);
}
.step-dot--done {
  background: rgba(255,255,255,.3);
  border-color: rgba(255,255,255,.3);
}
.step-line {
  width: 24px; height: 1px;
  background: rgba(255,255,255,.1);
}

/* Onboard card */
.onboard__card {
  width: 100%;
  max-width: 560px;
  animation: fadeUp .6s var(--ease) .1s both;
}
.onboard__eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.onboard__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 14px;
}
.onboard__sub {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  margin-bottom: 44px;
}

/* Choice grid */
.choice-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 36px;
}
.choice-grid--2 { grid-template-columns: 1fr 1fr; }
.choice-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.choice-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--white);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  text-align: left;
}
.choice-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
}
.choice-btn.selected {
  background: rgba(20,85,255,.15);
  border-color: var(--blue);
}
.choice-btn__icon { font-size: 20px; margin-bottom: 4px; }
.choice-btn__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.choice-btn__desc {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  line-height: 1.5;
}

/* Disclaimer block */
.disclaimer-block {
  border: 1px solid rgba(255,255,255,.12);
  padding: 32px;
  margin-bottom: 36px;
  position: relative;
}
.disclaimer-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--blue);
}
.disclaimer-text {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  font-weight: 400;
}
.disclaimer-text strong {
  color: var(--white);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
}
.disclaimer-text p { margin-bottom: 12px; }
.disclaimer-text p:last-child { margin-bottom: 0; }

/* Accept row */
.accept-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

/* Onboard footer */
.onboard__footer {
  position: relative;
  z-index: 10;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.06);
}
.onboard__footer-logo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
}
.onboard__footer-note {
  font-size: 10px;
  color: rgba(255,255,255,.18);
  letter-spacing: .06em;
}

/* ══════════════════════════════════════════════════════════
   HOME — Three column Swiss grid
   ══════════════════════════════════════════════════════════ */
.home-wrap {
  padding-top: 56px;
  background: var(--white);
}

/* Header band */
.home-header {
  border-bottom: var(--line-dk);
  padding: 48px 0 40px;
}
.home-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.home-header__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.home-header__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--black);
}
.home-header__meta {
  text-align: right;
}
.home-header__date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--g400);
  margin-bottom: 6px;
}
.home-header__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--black);
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22,163,74,.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(22,163,74,.18); }
  50%      { box-shadow: 0 0 0 6px rgba(22,163,74,.08); }
}

/* Three column grid */
.swiss-grid {
  display: grid;
  grid-template-columns: 28fr 42fr 30fr;
  border-bottom: var(--line-dk);
  min-height: calc(100vh - 160px);
}
.swiss-col {
  border-right: var(--line-dk);
  display: flex;
  flex-direction: column;
}
.swiss-col:last-child { border-right: none; }

/* Column header */
.col-head {
  padding: 22px 28px;
  border-bottom: var(--line-dk);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.col-head--blue { background: var(--blue); border-bottom-color: var(--blue); }
.col-head__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--black);
}
.col-head__label--white { color: rgba(255,255,255,.65); }
.col-head__num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--g400);
}
.col-head__num--white { color: rgba(255,255,255,.35); }

/* Column body */
.col-body { padding: 28px; flex: 1; }
.col-body--blue {
  background: var(--blue);
  padding: 28px;
}

/* Architectural image placeholder (B&W) */
.arch-img {
  width: 100%;
  aspect-ratio: 4/3;
  background:
    linear-gradient(160deg,
      rgba(0,0,0,0.02) 0%,
      rgba(0,0,0,0.0) 100%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0px, transparent 8px,
      rgba(0,0,0,0.025) 8px, rgba(0,0,0,0.025) 9px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px, transparent 20px,
      rgba(0,0,0,0.02) 20px, rgba(0,0,0,0.02) 21px
    );
  background-color: #e8e4de;
  margin-bottom: 24px;
  border: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.arch-img__inner {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #d0ccc4 0%, #b8b4ad 30%, #ccc9c2 60%, #e0ddd6 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.arch-img__caption {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.4);
}

/* Value entries */
.value-entry {
  padding: 18px 0;
  border-bottom: var(--line);
}
.value-entry:last-child { border-bottom: none; }
.value-entry__heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.value-entry__body {
  font-size: 12px;
  color: var(--g600);
  line-height: 1.65;
}

/* Insight list */
.insight-list { list-style: none; }
.insight-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  padding: 20px 0;
  border-bottom: var(--line);
  animation: fadeUp .5s var(--ease) both;
}
.insight-item:last-child { border-bottom: none; }
.insight-item__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  padding-top: 2px;
  font-weight: 500;
}
.insight-item__content {}
.insight-item__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 4px;
}
.insight-item__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.4;
}
.insight-item__body {
  font-size: 12px;
  color: var(--g600);
  line-height: 1.6;
}

/* Subscription panel (inverted blue) */
.sub-panel { display: flex; flex-direction: column; gap: 0; }
.sub-panel__tier {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.sub-panel__tier:last-child { border-bottom: none; }
.sub-panel__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.sub-panel__name--cream { color: var(--cream); }
.sub-panel__price {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,.4);
  margin-bottom: 12px;
}
.sub-panel__desc {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: 18px;
}
.sub-panel__features { list-style: none; margin-bottom: 20px; }
.sub-panel__feature {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  padding: 5px 0;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sub-panel__feature:last-child { border-bottom: none; }
.sub-panel__feature::before {
  content: '→';
  color: rgba(255,255,255,.25);
  flex-shrink: 0;
}
.sub-panel__feature--active { color: var(--cream); }
.sub-panel__feature--active::before { color: var(--cream); }

/* Marquee ticker */
.ticker-bar {
  background: var(--black);
  border-top: var(--line-dk);
  border-bottom: var(--line-dk);
  padding: 10px 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.3);
  letter-spacing: .1em;
  border-right: 1px solid rgba(255,255,255,.08);
}
.ticker-item span { color: rgba(255,255,255,.55); }

/* ══════════════════════════════════════════════════════════
   LANDING PAGE
   ══════════════════════════════════════════════════════════ */
.land-wrap { padding-top: 56px; }
.land-hero {
  border-bottom: var(--line-dk);
  padding: 88px 0 72px;
}
.land-hero__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.land-hero__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px;
  animation: fadeUp .5s var(--ease) both;
}
.land-hero__title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--black);
  margin-bottom: 22px;
  animation: fadeUp .55s var(--ease) .08s both;
}
.land-hero__title em {
  font-style: normal;
  color: var(--blue);
}
.land-hero__body {
  font-size: 15px;
  color: var(--g600);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 36px;
  max-width: 440px;
  animation: fadeUp .6s var(--ease) .15s both;
}
.land-hero__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  animation: fadeUp .6s var(--ease) .2s both;
}
.land-hero__note {
  font-size: 11px;
  color: var(--g400);
  margin-top: 14px;
  letter-spacing: .04em;
  animation: fadeUp .6s var(--ease) .25s both;
}
.land-hero__right {
  animation: fadeUp .7s var(--ease) .15s both;
}

/* Alert preview card */
.alert-preview {
  border: var(--line-dk);
  background: var(--white);
}
.alert-preview__header {
  background: var(--black);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.alert-preview__logo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
}
.alert-preview__type {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.alert-preview__body { padding: 20px; }
.alert-preview__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.alert-preview__ticker {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--black);
}
.alert-preview__co {
  font-size: 11px;
  color: var(--g400);
  margin-top: 4px;
  letter-spacing: .04em;
}
.alert-preview__conf-lbl {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g400);
  text-align: right;
}
.alert-preview__conf-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--blue);
  text-align: right;
  line-height: 1;
}
.alert-preview__thesis {
  font-size: 12px;
  color: var(--g600);
  line-height: 1.65;
  padding: 14px;
  background: var(--g50);
  border-top: var(--line);
  margin-bottom: 14px;
}
.alert-preview__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: var(--line);
}
.alert-preview__stat {
  padding: 12px;
  border-right: var(--line);
  text-align: center;
}
.alert-preview__stat:last-child { border-right: none; }
.alert-preview__stat-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 4px;
}
.alert-preview__stat-val {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--black);
}
.alert-preview__stat-val--blue { color: var(--blue); }
.alert-preview__stat-val--red  { color: #dc2626; }

/* Features section */
.features-section {
  padding: 80px 0;
  border-bottom: var(--line-dk);
}
.features-header {
  max-width: 1200px;
  margin: 0 auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: var(--line-dk);
  border-left: var(--line-dk);
}
.feat-card {
  padding: 36px 32px;
  border-right: var(--line-dk);
  border-bottom: var(--line-dk);
  transition: background .2s;
}
.feat-card:hover { background: var(--g50); }
.feat-card__time {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.feat-card__icon { font-size: 22px; margin-bottom: 16px; }
.feat-card__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 10px;
}
.feat-card__body {
  font-size: 13px;
  color: var(--g600);
  line-height: 1.7;
}

/* How it works */
.how-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  border-bottom: var(--line-dk);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  border-top: var(--line-dk);
  border-left: var(--line-dk);
  margin-top: 48px;
}
.how-step {
  padding: 36px 32px;
  border-right: var(--line-dk);
  border-bottom: var(--line-dk);
}
.how-step__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: .1em;
  margin-bottom: 16px;
  font-weight: 500;
}
.how-step__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.how-step__body {
  font-size: 13px;
  color: var(--g600);
  line-height: 1.7;
}

/* CTA strip */
.cta-strip {
  background: var(--black);
  padding: 80px 40px;
  text-align: center;
}
.cta-strip__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-strip__sub {
  font-size: 14px;
  color: rgba(255,255,255,.4);
  margin-bottom: 32px;
  font-weight: 400;
}
.cta-strip__note {
  font-size: 10px;
  color: rgba(255,255,255,.2);
  margin-top: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Footer */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 40px;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__logo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
}
.footer__note {
  font-size: 10px;
  color: rgba(255,255,255,.15);
  letter-spacing: .04em;
}

/* ══════════════════════════════════════════════════════════
   AUTH pages
   ══════════════════════════════════════════════════════════ */
.auth-wrap {
  min-height: 100vh;
  background: var(--g50);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: var(--black);
  display: flex;
  flex-direction: column;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 80%, rgba(20,85,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.auth-left__logo {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  position: relative;
  z-index: 1;
}
.auth-left__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}
.auth-left__quote {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
}
.auth-left__sub {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  line-height: 1.6;
}
.auth-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  animation: fadeIn .5s ease both;
}
.auth-form {
  width: 100%;
  max-width: 380px;
}
.auth-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 13px;
  color: var(--g600);
  margin-bottom: 36px;
  line-height: 1.6;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--g600);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font);
  font-weight: 400;
  background: var(--white);
  border: var(--line);
  border-bottom: 1px solid var(--g200);
  outline: none;
  color: var(--black);
  transition: border-color .15s;
}
.form-input:focus { border-color: var(--blue); }
.form-error {
  background: #fef2f2;
  border-left: 3px solid #dc2626;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 18px;
}
.form-alt {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--g400);
  letter-spacing: .04em;
}
.form-alt a { color: var(--blue); font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════════════════════════ */
.dash-wrap {
  padding-top: 56px;
  min-height: 100vh;
  background: var(--g50);
}
.dash-banner {
  background: var(--black);
  border-bottom: var(--line-dk);
  padding: 40px 0 36px;
}
.dash-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.dash-banner__greet {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 8px;
}
.dash-banner__name {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  line-height: 1;
}
.dash-banner__right { text-align: right; }
.dash-banner__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
  margin-bottom: 6px;
}
.dash-banner__email {
  font-size: 11px;
  color: rgba(255,255,255,.25);
  letter-spacing: .04em;
}
.dash-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: start;
}
.d-card {
  background: var(--white);
  border: var(--line);
}
.d-card__head {
  padding: 14px 20px;
  border-bottom: var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.d-card__head-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--g400);
}
.d-card__body { padding: 20px; }
.d-stat {
  padding: 14px 0;
  border-bottom: var(--line);
}
.d-stat:last-child { border-bottom: none; }
.d-stat__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 4px;
}
.d-stat__val {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}
.d-stat__sub {
  font-size: 11px;
  color: var(--g400);
  margin-top: 2px;
}
.sched-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: var(--line);
  font-size: 12px;
}
.sched-row:last-child { border-bottom: none; }
.sched-row__type {
  font-weight: 600;
  color: var(--g600);
  letter-spacing: .04em;
}
.sched-row__time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--black);
  font-weight: 500;
}
.alert-table { width: 100%; border-collapse: collapse; }
.alert-table thead tr { border-bottom: var(--line-dk); }
.alert-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g400);
}
.alert-table td {
  padding: 14px 16px;
  border-bottom: var(--line);
  font-size: 13px;
}
.alert-table tr:last-child td { border-bottom: none; }
.alert-table tr:hover td { background: var(--g50); }
.alert-link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.run-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--g200);
  color: var(--g600);
}
.run-badge--pre   { border-color: #1455FF; color: #1455FF; }
.run-badge--intra { border-color: #d97706; color: #d97706; }
.run-badge--post  { border-color: var(--g400); color: var(--g400); }
.empty-box {
  padding: 60px 24px;
  text-align: center;
  border-top: var(--line);
}
.empty-box__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.empty-box__body { font-size: 13px; color: var(--g400); }

/* ══════════════════════════════════════════════════════════
   ACCOUNT page
   ══════════════════════════════════════════════════════════ */
.acct-wrap {
  padding-top: 56px;
  min-height: 100vh;
  background: var(--g50);
}
.acct-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 40px;
}
.page-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.a-card {
  background: var(--white);
  border: var(--line);
  margin-bottom: 16px;
  animation: fadeUp .5s var(--ease) both;
}
.a-card__head {
  padding: 14px 20px;
  border-bottom: var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g400);
}
.a-card__body { padding: 20px; }
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: var(--line);
  font-size: 13px;
}
.info-row:last-child { border-bottom: none; }
.info-row__label { color: var(--g600); font-weight: 500; }
.info-row__value { font-weight: 600; font-family: var(--mono); font-size: 12px; }
.msg-success {
  background: #f0fdf4;
  border-left: 3px solid #16a34a;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #166534;
  margin-bottom: 16px;
}
.msg-info {
  background: #eff6ff;
  border-left: 3px solid #1455FF;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 16px;
}

/* ── Reveal animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .swiss-grid { grid-template-columns: 1fr; }
  .swiss-col { border-right: none; border-bottom: var(--line-dk); }
  .land-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .features-grid, .how-grid { grid-template-columns: 1fr; }
  .features-header { grid-template-columns: 1fr; gap: 16px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 80px 40px; }
  .dash-body { grid-template-columns: 1fr; }
  .wrap, .wrap--sm { padding: 0 20px; }
  .nav__link { display: none; }
}

/* ════════════════════════════════════════════════════════
   PREMIUM LAYER — Animations, interactions, micro-polish
   ════════════════════════════════════════════════════════ */

/* ── Page transitions ───────────────────────────────────── */
html { transition: opacity .24s ease; }
html:not(.js-ready) { opacity: 0; }
html.page-leaving { opacity: 0 !important; pointer-events: none; }
body { opacity: 1; }

/* ── Nav scroll state ───────────────────────────────────── */
.nav {
  transition: height .25s var(--ease),
              box-shadow .25s ease,
              background .25s ease;
}
.nav--scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.07);
}
.nav--dark.nav--scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
}

/* ── Logo link ──────────────────────────────────────────── */
a.nav__logo {
  transition: opacity .18s;
  text-decoration: none;
}
a.nav__logo:hover { opacity: .65; }

/* ── Nav link animated underline ───────────────────────── */
.nav__link {
  position: relative;
  transition: color .18s;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--black); font-weight: 600; }
.nav--dark .nav__link.active { color: var(--white); }

/* ── Button: ripple + press ─────────────────────────────── */
.btn {
  overflow: hidden;
  position: relative;
  transform: translateY(0);
  transition: background .18s var(--ease),
              color .18s,
              transform .16s var(--ease),
              box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.ripple {
  position: absolute;
  border-radius: 50%;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: rgba(255,255,255,.28);
  animation: ripple-expand .55s ease-out forwards;
  pointer-events: none;
}
.btn--outline .ripple,
.btn--outline-white .ripple { background: rgba(0,0,0,.08); }
@keyframes ripple-expand {
  to { transform: scale(60); opacity: 0; }
}

/* ── Feature cards ──────────────────────────────────────── */
.feat-card {
  transition: border-color .22s, transform .25s var(--ease),
              box-shadow .25s var(--ease), background .18s;
}
.feat-card:hover {
  border-color: var(--black);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

/* ── Alert preview hover ────────────────────────────────── */
.alert-preview {
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.alert-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.1);
}

/* ── Plan cards ─────────────────────────────────────────── */
.plan-tilt {
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}

/* ── Value entries in home ──────────────────────────────── */
.value-entry {
  transition: border-color .18s;
}
.value-entry:hover {
  border-color: var(--blue);
}
.value-entry:hover .value-entry__heading { opacity: 1; }

/* ── Insight items ──────────────────────────────────────── */
.insight-item {
  transition: background .18s;
}
.insight-item:hover { background: var(--g50); }

/* ── Dashboard alert table rows ────────────────────────── */
.alert-table tbody tr {
  transition: background .15s;
}
.alert-table tbody tr:hover td { background: var(--g50); }

/* ── Auth card ──────────────────────────────────────────── */
.auth-right { animation: fadeUp .55s var(--ease) .05s both; }
.auth-left__quote {
  animation: fadeUp .65s var(--ease) .15s both;
}
.auth-left__sub {
  animation: fadeUp .65s var(--ease) .22s both;
}

/* ── Form group focus animation ─────────────────────────── */
.form-group { transition: transform .15s var(--ease); }
.form-label {
  transition: color .18s, letter-spacing .18s;
}
.form-group.is-focused .form-label {
  color: var(--blue);
  letter-spacing: .1em;
}
.form-input {
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-input:focus {
  box-shadow: 0 0 0 3px rgba(20,85,255,.08);
}

/* ── Onboard choice buttons ─────────────────────────────── */
.choice-btn {
  transition: background .18s, border-color .18s, transform .14s var(--ease);
  user-select: none;
}
.choice-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-2px);
}
.choice-btn.selected {
  animation: choicePop .2s var(--ease);
}
@keyframes choicePop {
  0%  { transform: scale(.97); }
  60% { transform: scale(1.02); }
  100%{ transform: scale(1); }
}

/* ── Section dividers slide in ──────────────────────────── */
.slide-in-line {
  position: relative;
}
.slide-in-line::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.slide-in-line.visible::after { transform: scaleX(1); }

/* ── Stagger variants ───────────────────────────────────── */
.reveal { transition-duration: .6s; }
.reveal.reveal-d1 { transition-delay: .08s; }
.reveal.reveal-d2 { transition-delay: .16s; }
.reveal.reveal-d3 { transition-delay: .24s; }
.reveal.reveal-d4 { transition-delay: .32s; }

/* ── Swiss grid column fade-in ──────────────────────────── */
.swiss-col {
  animation: fadeUp .6s var(--ease) both;
}
.swiss-col:nth-child(1) { animation-delay: .05s; }
.swiss-col:nth-child(2) { animation-delay: .15s; }
.swiss-col:nth-child(3) { animation-delay: .25s; }

/* ── Home header animate ────────────────────────────────── */
.home-header__title {
  animation: fadeUp .6s var(--ease) .1s both;
}
.home-header__label {
  animation: fadeUp .55s var(--ease) .05s both;
}
.home-header__meta {
  animation: fadeUp .55s var(--ease) .15s both;
}

/* ── Ticker bar ─────────────────────────────────────────── */
.ticker-bar {
  animation: fadeIn .5s ease .3s both;
}
.ticker-inner {
  transition: opacity .2s;
}
.ticker-inner:hover { opacity: .7; }

/* ── Stat items ─────────────────────────────────────────── */
.stat-item {
  transition: background .2s;
}
.stat-item:hover { background: var(--g50); }

/* ── CTA strip ──────────────────────────────────────────── */
.cta-strip {
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%,
    rgba(20,85,255,.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Dashboard banner ───────────────────────────────────── */
.dash-banner {
  animation: fadeIn .45s ease both;
}
.dash-body > * {
  animation: fadeUp .55s var(--ease) both;
}
.dash-body > *:nth-child(2) { animation-delay: .08s; }

/* ── D-card hover ───────────────────────────────────────── */
.d-card {
  transition: box-shadow .2s, border-color .2s;
}
.d-card:hover {
  border-color: var(--g200);
  box-shadow: var(--sh-md);
}

/* ── Sidebar stat value count-up readiness ──────────────── */
.d-stat__val { transition: color .3s; }

/* ── Sub-panel tier hover ───────────────────────────────── */
.sub-panel__tier {
  transition: background .18s;
}
.sub-panel__tier:hover {
  background: rgba(255,255,255,.04);
}

/* ── Plans page ─────────────────────────────────────────── */
.plans-grid > * {
  animation: fadeUp .6s var(--ease) both;
}
.plans-grid > *:first-child { animation-delay: .08s; }
.plans-grid > *:last-child  { animation-delay: .18s; }

/* Plan row hover */
.plan-row {
  transition: color .15s, padding-left .15s;
}
.plan-row:hover { padding-left: 4px; }
.plan-row--dark:hover { color: rgba(255,255,255,.9) !important; }

/* ── Onboard progress bar ───────────────────────────────── */
.onboard__progress {
  transition: width .5s var(--ease);
}

/* ── Focus ring — keyboard only ─────────────────────────── */
.using-mouse :focus { outline: none !important; box-shadow: none !important; }

/* ── Arch image subtle animation ────────────────────────── */
.arch-img {
  overflow: hidden;
}
.arch-img__inner {
  transition: transform .6s var(--ease);
}
.arch-img:hover .arch-img__inner {
  transform: scale(1.02);
}

/* ── Footer link hover ──────────────────────────────────── */
.footer a {
  transition: color .15s;
}
.footer a:hover { color: var(--white); }

/* ── Mobile keyboard fix ─────────────────────────────────── */
@media (max-width: 900px) {
  .auth-left { display: none; }
  .swiss-col { animation-delay: 0s !important; }
}

/* ── Scroll-locked body during transition ───────────────── */
html.page-leaving body { pointer-events: none; }

/* ══════════════════════════════════════════════════════════
   HOME GREETING
   ══════════════════════════════════════════════════════════ */
.home-header__greeting {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .04em;
  margin-bottom: 8px;
  animation: fadeUp .5s var(--ease) both;
}

/* ══════════════════════════════════════════════════════════
   PICKS PAGE
   ══════════════════════════════════════════════════════════ */
.picks-wrap { padding-top: 56px; }
.picks-header {
  padding: 48px 40px 32px;
  border-bottom: var(--line);
  max-width: 1200px;
  margin: 0 auto;
}
.picks-header__eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.picks-header__title { font-size: 36px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.picks-header__sub { font-size: 13px; color: var(--g600); }

.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  border-left: var(--line);
  border-top: var(--line);
}
@media (max-width: 900px) { .picks-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .picks-grid { grid-template-columns: 1fr; } }

.pick-card {
  border-right: var(--line);
  border-bottom: var(--line);
  padding: 24px;
  transition: background .15s;
  display: flex;
  flex-direction: column;
}
.pick-card:hover { background: var(--g50); }

.pick-card__top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.pick-card__ticker {
  font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 2px;
}
.pick-card__company { font-size: 11px; color: var(--g400); margin-bottom: 12px; }
.pick-card__conf {
  font-size: 22px; font-weight: 800;
}
.pick-card__conf--green { color: #1b7c40; }
.pick-card__conf--orange { color: #c45c00; }
.pick-card__conf--red { color: #b71c1c; }

.pick-card__thesis {
  font-size: 12px; color: var(--g600); line-height: 1.6;
  margin-bottom: 16px; flex: 1;
}
.pick-card__stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: var(--line); padding-top: 12px; margin-bottom: 12px;
  gap: 8px;
}
.pick-stat__label {
  font-size: 9px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--g400); margin-bottom: 4px;
}
.pick-stat__val { font-size: 13px; font-weight: 700; }

.pick-card__live {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0 0; border-top: var(--line);
  font-size: 12px;
}
.pick-card__price { font-family: var(--mono); font-weight: 600; }
.pick-pnl--pos { color: #1b7c40; font-weight: 700; }
.pick-pnl--neg { color: #b71c1c; font-weight: 700; }
.pick-pnl--flat { color: var(--g400); }

/* ══════════════════════════════════════════════════════════
   CHAT PAGE
   ══════════════════════════════════════════════════════════ */
.chat-wrap {
  padding-top: 56px;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.chat-sidebar {
  width: 300px;
  min-width: 300px;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.06);
  overflow-y: auto;
}
.chat-sidebar__head {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.chat-sidebar__name {
  font-size: 18px; font-weight: 700; margin-bottom: 2px;
}
.chat-sidebar__sub {
  font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: .04em;
}
.chat-sidebar__section {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.chat-sidebar__label {
  font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 12px;
}
.chat-sidebar__positions {
  width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: var(--white); font-family: var(--font); font-size: 12px;
  padding: 10px 12px; resize: vertical; min-height: 80px; margin-bottom: 8px;
  line-height: 1.6;
}
.chat-sidebar__positions::placeholder { color: rgba(255,255,255,.2); }
.chat-sidebar__positions:focus { outline: none; border-color: var(--blue); }

.chat-chips { display: flex; flex-direction: column; gap: 6px; }
.chat-chip {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.6); font-size: 11px; padding: 8px 12px;
  cursor: pointer; text-align: left; transition: all .15s; font-family: var(--font);
}
.chat-chip:hover { background: rgba(20,85,255,.15); border-color: var(--blue); color: var(--white); }

.chat-sidebar__footer {
  margin-top: auto; padding: 16px 24px;
  font-size: 10px; color: rgba(255,255,255,.2);
  border-top: 1px solid rgba(255,255,255,.06);
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat-msg {
  display: flex;
  max-width: 680px;
}
.chat-msg--user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg--gerald { align-self: flex-start; }

.chat-bubble {
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.65;
  max-width: 560px;
}
.chat-msg--gerald .chat-bubble {
  background: var(--g50);
  border: var(--line);
  color: var(--black);
}
.chat-msg--user .chat-bubble {
  background: var(--blue);
  color: var(--white);
}

.chat-typing {
  display: flex; gap: 4px; align-items: center; padding: 14px 18px;
  background: var(--g50); border: var(--line);
}
.chat-typing span {
  width: 6px; height: 6px; background: var(--g400);
  animation: typingDot 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
  0%, 80%, 100% { transform: scale(1); opacity: .4; }
  40% { transform: scale(1.3); opacity: 1; }
}

.chat-input-bar {
  border-top: var(--line);
  padding: 16px 40px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  background: var(--white);
}
.chat-input {
  flex: 1;
  border: var(--line);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 14px;
  resize: none;
  min-height: 48px;
  max-height: 140px;
  line-height: 1.5;
  color: var(--black);
}
.chat-input:focus { outline: none; border-color: var(--black); }
.chat-send {
  background: var(--blue); color: var(--white); border: none;
  padding: 12px 20px; font-family: var(--font); font-size: 13px;
  font-weight: 600; cursor: pointer; letter-spacing: .04em;
  white-space: nowrap; align-self: flex-end; height: 48px;
  transition: background .15s;
}
.chat-send:hover { background: var(--blue-dk); }
.chat-send:disabled { background: var(--g200); cursor: not-allowed; }

/* Empty picks state */
.picks-empty {
  max-width: 1200px; margin: 0 auto; padding: 80px 40px;
  text-align: center; color: var(--g400);
}
.picks-empty__title { font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.picks-empty__body { font-size: 14px; }

/* Active nav link */
.nav__link--active { color: var(--blue); }

/* ══════════════════════════════════════════════════
   PORTFOLIO TRACKER
══════════════════════════════════════════════════ */
.port-header {
  background: var(--black);
  color: var(--white);
  padding: 56px var(--page-pad) 40px;
}
.port-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.port-header__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin: 4px 0 0;
  line-height: 1.1;
}
.port-header__sub { font-size: 13px; color: var(--g400); margin-top: 8px; }
.port-stats {
  display: flex;
  gap: 40px;
  flex-shrink: 0;
}
.port-stat { text-align: right; }
.port-stat__val { font-size: 28px; font-weight: 900; }
.port-stat__label { font-size: 10px; color: var(--g400); letter-spacing: 1px; margin-top: 2px; }

.port-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px var(--page-pad) 80px;
}
.port-section {
  margin-bottom: 48px;
}
.port-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px solid var(--black);
  padding-top: 12px;
  margin-bottom: 20px;
}
.port-section__title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--g400);
}
.port-section__count {
  font-size: 12px;
  font-weight: 700;
  color: var(--g400);
}
.port-add-toggle {
  background: none;
  border: 1px solid var(--black);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background .15s;
  font-family: var(--font);
}
.port-add-toggle:hover { background: var(--black); color: var(--white); }

.port-add-form {
  background: var(--cream);
  padding: 24px;
  border: 1px solid var(--g200);
  margin-bottom: 16px;
}
.port-add-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.port-field { display: flex; flex-direction: column; gap: 6px; }
.port-field--full { grid-column: 1 / -1; }
.port-field__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--g400);
}
.port-field__input {
  border: 1px solid var(--g200);
  padding: 8px 10px;
  font-size: 13px;
  font-family: var(--font);
  background: var(--white);
  outline: none;
  transition: border-color .15s;
}
.port-field__input:focus { border-color: var(--blue); }
.port-field__input[type="date"] { font-family: var(--font); }

/* Position cards */
.port-positions { display: flex; flex-direction: column; gap: 16px; }
.port-card {
  border: 1px solid var(--g200);
  padding: 20px 24px;
  background: var(--white);
  transition: box-shadow .2s;
}
.port-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.port-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.port-card__ticker { font-size: 28px; font-weight: 900; letter-spacing: -0.5px; }
.port-card__company { font-size: 12px; color: var(--g400); margin-bottom: 12px; }
.port-card__pnl-block { text-align: right; }
.port-card__pnl { font-size: 26px; font-weight: 900; }
.port-card__pnl-usd { font-size: 13px; font-weight: 600; margin-top: 2px; }
.port-pnl--pos { color: var(--green); }
.port-pnl--neg { color: var(--red); }

.port-card__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border-top: 1px solid var(--g100);
  padding-top: 14px;
  margin-bottom: 14px;
}
.port-stat-cell__label {
  font-size: 9px; font-weight: 700; letter-spacing: 2px; color: var(--g400); margin-bottom: 4px;
}
.port-stat-cell__val { font-size: 15px; font-weight: 700; }

.port-card__notes {
  font-size: 12px; color: var(--g400); margin-bottom: 12px;
  font-style: italic;
}
.port-card__suggestion {
  background: var(--cream);
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.5;
}
.port-sugg__label {
  font-size: 9px; font-weight: 700; letter-spacing: 2px; color: var(--blue); margin-right: 8px;
}
.port-sugg__text { color: #444; }
.port-sugg__text--warn { color: var(--red); font-weight: 600; }

.port-card__actions {
  display: flex; gap: 12px; align-items: center;
}
.port-close-form { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--g100); }
.port-delete-btn {
  background: none; border: none; color: var(--g400); font-size: 13px;
  cursor: pointer; padding: 4px 8px; font-family: var(--font);
}
.port-delete-btn:hover { color: var(--red); }
.port-empty {
  padding: 40px 0;
  color: var(--g400);
  font-size: 14px;
  border: 1px dashed var(--g200);
  text-align: center;
}

/* Closed positions table */
.port-closed-table {
  border: 1px solid var(--g200);
}
.port-closed-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 40px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--g100);
  font-size: 13px;
  align-items: center;
}
.port-closed-row:last-child { border-bottom: none; }
.port-closed-row--head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--g400);
  background: var(--cream);
}
.port-closed__ticker { font-weight: 700; }

/* ══════════════════════════════════════════════════
   PICKS PAGE UPDATES
══════════════════════════════════════════════════ */
.picks-date-group { margin-bottom: 48px; }
.picks-date-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 2px solid var(--black);
  padding-top: 12px;
  margin-bottom: 20px;
}
.picks-date-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  font-family: var(--mono);
}
.picks-date-count {
  font-size: 11px;
  color: var(--g400);
  margin-left: auto;
}

.portfolio-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--green);
  color: var(--white);
  padding: 3px 8px;
  text-transform: uppercase;
}
.archive-btn {
  background: none;
  border: none;
  color: var(--g300);
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  font-family: var(--font);
  transition: color .15s;
}
.archive-btn:hover { color: var(--red); }

.pick-stat__val--green { color: var(--green); }
.pick-stat__val--red { color: var(--red); }

.btn--enter-trade {
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  background: none;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: var(--font);
  text-transform: uppercase;
  transition: background .15s, color .15s;
  text-align: center;
  display: block;
}
.btn--enter-trade:hover { background: var(--blue); color: var(--white); }
.btn--portfolio-link {
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  background: var(--green);
  border: none;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: var(--font);
  text-transform: uppercase;
  text-align: center;
  display: block;
  text-decoration: none;
}
.btn--portfolio-link:hover { opacity: .88; }

/* ══════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-box {
  background: var(--white);
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--g200);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--g100);
}
.modal-title { font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.modal-close {
  background: none; border: none; font-size: 22px; cursor: pointer;
  color: var(--g400); font-family: var(--font); line-height: 1; padding: 0 4px;
}
.modal-close:hover { color: var(--black); }
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px 24px;
}
.modal-footer {
  display: flex;
  gap: 12px;
  padding: 0 24px 24px;
}
.btn--black {
  background: var(--black); color: var(--white); border: none;
  padding: 10px 20px; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer; font-family: var(--font);
}
.btn--black:hover { opacity: .85; }
.btn--outline {
  background: none; color: var(--black); border: 1px solid var(--black);
  padding: 10px 20px; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer; font-family: var(--font);
}
.btn--outline:hover { background: var(--black); color: var(--white); }

/* ── Chat typing indicator ─────────────────────────── */
.chat-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 16px;
}
.chat-typing span {
  width: 7px;
  height: 7px;
  background: var(--g400);
  border-radius: 50%;
  display: inline-block;
  animation: typing-bounce 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ═══════════════════════════════════════════
   PICKS PAGE — CARD GRID REDESIGN
   ═══════════════════════════════════════════ */

.picks-hero {
  padding: 56px 40px 32px;
  border-bottom: var(--line);
}
.picks-hero__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--blue);
  margin-bottom: 8px;
}
.picks-hero__title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.picks-hero__sub {
  font-size: 14px;
  color: rgba(0,0,0,.5);
  margin: 0;
}

/* Grid */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: var(--black);
  border-top: var(--line);
}

/* Card */
.pick-card {
  background: var(--cream);
  padding: 24px 20px 20px;
  cursor: pointer;
  position: relative;
  transition: background .15s;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 4px solid transparent;
}
.pick-card--bull { border-left-color: #16a34a; }
.pick-card--bear { border-left-color: #dc2626; }
.pick-card:hover { background: #ede9e0; }

/* Star */
.pick-star {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  color: rgba(0,0,0,.2);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color .15s, transform .1s;
}
.pick-star:hover { color: #f59e0b; transform: scale(1.2); }
.pick-star--saved { color: #f59e0b; }

/* Card content */
.pick-card__run {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(0,0,0,.4);
  margin-bottom: 4px;
}
.pick-card__ticker {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}
.pick-card__company {
  font-size: 11px;
  color: rgba(0,0,0,.5);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pick-card__gain {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.pick-card__gain--pos { color: #16a34a; }
.pick-card__gain--neg { color: #dc2626; }

.pick-card__bar-wrap {
  width: 100%;
  height: 3px;
  background: rgba(0,0,0,.1);
  margin: 6px 0 2px;
}
.pick-card__bar-fill {
  height: 100%;
  background: var(--blue);
}
.pick-card__conf-label {
  font-size: 10px;
  color: rgba(0,0,0,.45);
}
.pick-card__entry {
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  color: rgba(0,0,0,.7);
}
.pick-card__in-port {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #16a34a;
  border: 1px solid #16a34a;
  padding: 2px 6px;
  margin-top: 6px;
}

/* Empty */
.picks-empty {
  padding: 80px 40px;
  text-align: center;
}
.picks-empty__icon { font-size: 40px; margin-bottom: 16px; opacity: .3; }
.picks-empty__title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.picks-empty__sub { font-size: 13px; color: rgba(0,0,0,.5); }


/* ── Pick Detail Modal ── */
.pd-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pd-backdrop.active { display: flex; }
.pd-box {
  background: var(--cream);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  border: var(--line);
  position: relative;
}
.pd-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: rgba(0,0,0,.5);
  line-height: 1;
  padding: 4px;
}
.pd-close:hover { color: var(--black); }

.pd-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 28px 20px;
  border-bottom: var(--line);
}
.pd-ticker { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.pd-company { font-size: 13px; color: rgba(0,0,0,.5); margin-top: 2px; }
.pd-header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pd-run-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  background: var(--black);
  color: #fff;
  padding: 3px 8px;
}
.pd-gain-badge { font-size: 20px; font-weight: 700; }
.pd-gain-badge--pos { color: #16a34a; }
.pd-gain-badge--neg { color: #dc2626; }

.pd-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: var(--line);
}
.pd-stat {
  padding: 16px;
  border-right: var(--line);
}
.pd-stat:nth-child(3), .pd-stat:nth-child(6) { border-right: none; }
.pd-stat__lbl { font-size: 9px; font-weight: 700; letter-spacing: .12em; color: rgba(0,0,0,.4); margin-bottom: 4px; }
.pd-stat__val { font-size: 16px; font-weight: 600; }
.pd-stat__val--green { color: #16a34a; }
.pd-stat__val--red { color: #dc2626; }

.pd-section { padding: 20px 28px; border-bottom: var(--line); }
.pd-section__lbl { font-size: 9px; font-weight: 700; letter-spacing: .14em; color: var(--blue); margin-bottom: 10px; }
.pd-section__body { font-size: 13px; line-height: 1.65; color: rgba(0,0,0,.8); }
.pd-section__body--risk { color: #b45309; }

.pd-footer { padding: 20px 28px; }
.btn-save-from-modal {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: opacity .15s;
}
.btn-save-from-modal:hover { opacity: .85; }


/* ── Save to Portfolio Modal ── */
.sv-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sv-backdrop.active { display: flex; }
.sv-box {
  background: var(--cream);
  width: 100%;
  max-width: 420px;
  border: var(--line);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.sv-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: rgba(0,0,0,.5);
  padding: 4px;
  line-height: 1;
}
.sv-close:hover { color: var(--black); }
.sv-header { font-size: 18px; font-weight: 700; padding: 28px 28px 4px; }
.sv-sub { font-size: 12px; color: rgba(0,0,0,.5); padding: 0 28px 16px; border-bottom: var(--line); }
.sv-form { padding: 20px 28px 28px; display: flex; flex-direction: column; gap: 16px; }
.sv-field { display: flex; flex-direction: column; gap: 5px; }
.sv-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: rgba(0,0,0,.5); }
.sv-input {
  border: var(--line);
  background: #fff;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.sv-input:focus { border-color: var(--blue); }
.sv-textarea { resize: vertical; min-height: 72px; }
.sv-submit {
  padding: 13px;
  background: var(--blue);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  margin-top: 4px;
}
.sv-submit:hover { opacity: .85; }


/* ============================================================
   GERALD REDESIGN — G- PREFIX DESIGN SYSTEM
   Black & white minimal, massive typography
   ============================================================ */

/* ── NAV ── */
.g-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid #0a0a0a;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.g-nav__logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #0a0a0a;
  text-decoration: none;
}
.g-nav__links { display: flex; align-items: center; gap: 32px; }
.g-nav__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: #0a0a0a;
  text-decoration: none;
  text-transform: uppercase;
  opacity: .55;
  transition: opacity .2s;
}
.g-nav__link:hover { opacity: 1; }
.g-nav__link--cta {
  opacity: 1;
  border: 1px solid #0a0a0a;
  padding: 7px 16px;
}

/* ── HERO ── */
.g-hero {
  padding: 64px 48px 0;
  background: #fff;
  overflow: hidden;
}
.g-hero__top-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.35);
  margin-bottom: 32px;
}
.g-hero__title {
  font-size: clamp(72px, 11vw, 160px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.03em;
  color: #0a0a0a;
  margin: 0 0 48px;
  text-transform: uppercase;
}
.g-hero__card {
  background: #0a0a0a;
  border-radius: 12px 12px 0 0;
  padding: 32px;
  color: #fff;
  margin: 0 0 0;
}
.g-hero__card-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
.g-hero__card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
}
.g-hero__pick {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.g-hero__pick-ticker {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
  color: #fff;
}
.g-hero__pick-company {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-top: 6px;
  letter-spacing: .04em;
}
.g-hero__pick-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255,255,255,.25);
  margin-top: 8px;
  text-transform: uppercase;
}
.g-hero__pick-conf {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: #1455FF;
  line-height: 1;
}
.g-hero__pick-conf span { font-size: .5em; }
.g-hero__pick-conf-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255,255,255,.25);
  text-align: right;
  margin-top: 4px;
}
.g-hero__pick-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
}
.g-hero__stat { display: flex; flex-direction: column; gap: 4px; }
.g-hero__stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255,255,255,.25);
}
.g-hero__stat-val {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  font-family: var(--mono);
}
.g-hero__stat-val--green { color: #00c47a; }
.g-hero__stat-val--red { color: #ff4444; }
.g-hero__card-caption {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 600px;
}
.g-hero__card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  color: rgba(255,255,255,.3);
  letter-spacing: .06em;
}
.g-hero__card-link {
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  opacity: .6;
  transition: opacity .2s;
}
.g-hero__card-link:hover { opacity: 1; }
.g-hero__empty { padding: 48px 0; }
.g-hero__empty-ticker {
  font-size: 96px;
  font-weight: 900;
  color: rgba(255,255,255,.1);
}
.g-hero__empty-label {
  font-size: 12px;
  color: rgba(255,255,255,.25);
  letter-spacing: .06em;
  margin-top: 16px;
}

/* ── MARQUEE ── */
.g-marquee {
  background: #0a0a0a;
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid #0a0a0a;
}
.g-marquee__track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: gMarquee 28s linear infinite;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}
.g-marquee__sep { color: rgba(255,255,255,.2); }
@keyframes gMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.33%); }
}

/* ── SECTIONS ── */
.g-section { background: #fff; padding: 0 48px 80px; }
.g-section--dark { background: #0a0a0a; padding: 80px 48px; }
.g-rule { height: 1px; background: #0a0a0a; margin-bottom: 48px; }

/* ── ABOUT ── */
.g-about {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.g-about__img { height: 420px; }
.g-about__text { padding: 0 32px; text-align: center; }
.g-about__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(0,0,0,.35);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.g-about__body {
  font-size: 15px;
  line-height: 1.7;
  color: #0a0a0a;
  margin-bottom: 16px;
}

/* ── SERVICES ── */
.g-services-head {
  display: flex;
  align-items: baseline;
  margin-bottom: 32px;
}
.g-services-head__label {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: #0a0a0a;
  text-transform: uppercase;
}
.g-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #0a0a0a;
  border: 1px solid #0a0a0a;
  margin-bottom: 24px;
}
.g-service-card {
  background: #fff;
  padding: 0 0 28px;
}
.g-service-card__img { height: 240px; overflow: hidden; }
.g-service-card__time {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(0,0,0,.35);
  text-transform: uppercase;
  padding: 20px 24px 8px;
}
.g-service-card__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #0a0a0a;
  padding: 0 24px 12px;
  text-transform: uppercase;
}
.g-service-card__desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(0,0,0,.55);
  padding: 0 24px;
}
.g-services-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(0,0,0,.35);
  letter-spacing: .06em;
}

/* ── MANIFEST (picks list) ── */
.g-manifest-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0;
  padding-bottom: 20px;
}
.g-manifest-head__label {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.g-manifest-head__sub {
  font-size: 11px;
  color: rgba(0,0,0,.35);
  letter-spacing: .06em;
  margin-top: 4px;
}
.g-manifest {
  border-top: 2px solid #0a0a0a;
  border-bottom: 1px solid #0a0a0a;
}
.g-manifest__header {
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr 80px 80px;
  padding: 12px 0;
  border-bottom: 1px solid #0a0a0a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(0,0,0,.35);
  text-transform: uppercase;
}
.g-manifest__row {
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr 80px 80px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
  text-decoration: none;
  color: #0a0a0a;
  transition: background .15s;
}
.g-manifest__row:hover { background: #f8f8f6; }
.g-manifest__ticker { font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.g-manifest__company { font-size: 13px; color: rgba(0,0,0,.55); align-self: center; }
.g-manifest__setup { font-size: 11px; color: rgba(0,0,0,.4); align-self: center; letter-spacing: .02em; }
.g-manifest__gain { font-size: 14px; font-weight: 700; color: #00c47a; align-self: center; }
.g-manifest__conf { font-size: 13px; font-weight: 700; align-self: center; color: #1455FF; }
.g-manifest__hide-sm { display: block; }

/* ── PLACEHOLDERS ── */
.g-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.g-ph--dark { background: #0a0a0a; color: #fff; }
.g-ph--mid { background: #1a1a1a; color: #fff; }
.g-ph--blue { background: #1455FF; color: #fff; }
.g-ph--light { background: #f0f0ee; color: #0a0a0a; }
.g-ph__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  opacity: .3;
}
.g-ph__time {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.02em;
  opacity: .4;
  font-family: var(--mono);
}
.g-ph__label {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.1;
  opacity: .6;
  text-transform: uppercase;
}
.g-ph__sub {
  font-size: 10px;
  letter-spacing: .08em;
  opacity: .3;
}

/* ── BUTTONS ── */
.g-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity .2s, background .2s;
}
.g-btn--black { background: #0a0a0a; color: #fff; }
.g-btn--black:hover { opacity: .8; }
.g-btn--outline { background: transparent; color: #0a0a0a; border: 1.5px solid #0a0a0a; }
.g-btn--outline:hover { background: #0a0a0a; color: #fff; }
.g-btn--white { background: #fff; color: #0a0a0a; }
.g-btn--white:hover { opacity: .85; }
.g-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #0a0a0a;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.2);
  padding-bottom: 2px;
  transition: border-color .2s;
}
.g-link:hover { border-color: #0a0a0a; }

/* ── SUBSCRIBE ── */
.g-subscribe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.g-subscribe__img { height: 420px; }
.g-subscribe__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.g-subscribe__title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 20px;
  line-height: .9;
}
.g-subscribe__body {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin-bottom: 32px;
}
.g-subscribe__form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.g-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding: 12px 0;
  color: #fff;
  font-size: 14px;
  font-family: var(--sans);
  outline: none;
  transition: border-color .2s;
}
.g-input::placeholder { color: rgba(255,255,255,.25); }
.g-input:focus { border-color: rgba(255,255,255,.6); }
.g-subscribe__note {
  font-size: 11px;
  color: rgba(255,255,255,.2);
  letter-spacing: .04em;
}

/* ── FOOTER ── */
.g-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 40px 48px;
}
.g-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.g-footer__logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #fff;
}
.g-footer__links {
  display: flex;
  gap: 28px;
}
.g-footer__links a {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  letter-spacing: .06em;
  transition: color .2s;
}
.g-footer__links a:hover { color: #fff; }
.g-footer__note {
  font-size: 11px;
  color: rgba(255,255,255,.2);
  letter-spacing: .04em;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .g-nav { padding: 16px 24px; }
  .g-nav__links { gap: 16px; }
  .g-hero { padding: 40px 24px 0; }
  .g-hero__card { padding: 24px; }
  .g-hero__pick-stats { flex-wrap: wrap; gap: 20px; }
  .g-section { padding: 0 24px 60px; }
  .g-section--dark { padding: 60px 24px; }
  .g-about { grid-template-columns: 1fr; }
  .g-about__img--2 { display: none; }
  .g-services-grid { grid-template-columns: 1fr; }
  .g-manifest__header,
  .g-manifest__row { grid-template-columns: 80px 1fr 80px 60px; }
  .g-manifest__hide-sm { display: none; }
  .g-subscribe { grid-template-columns: 1fr; }
  .g-subscribe__img { height: 260px; }
  .g-footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ============================================================
   ANIMATIONS, DM SANS, PICKS REDESIGN
   ============================================================ */

/* Font override for headings */
.g-hero__title, .p-hero__title, .g-subscribe__title,
.g-services-head__label, .g-manifest-head__label {
  font-family: 'DM Sans', var(--sans);
}

/* ── FLOATING BACKGROUND SHAPES ── */
.g-hero { position: relative; overflow: hidden; }
.g-float {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
}
.g-float--1 {
  width: 600px; height: 600px;
  background: #0a0a0a;
  top: -200px; right: -100px;
  animation: gFloat1 18s ease-in-out infinite;
}
.g-float--2 {
  width: 300px; height: 300px;
  background: #1455FF;
  top: 60%; left: -80px;
  opacity: 0.06;
  animation: gFloat2 14s ease-in-out infinite;
}
.g-float--3 {
  width: 180px; height: 180px;
  background: #0a0a0a;
  top: 30%; right: 5%;
  animation: gFloat3 20s ease-in-out infinite;
}
.g-float--4 {
  width: 80px; height: 80px;
  background: #1455FF;
  bottom: 10%; right: 20%;
  opacity: 0.08;
  animation: gFloat4 11s ease-in-out infinite;
}
.g-hero > *:not(.g-float) { position: relative; z-index: 1; }

@keyframes gFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-30px, 40px) rotate(5deg); }
  66% { transform: translate(20px, -20px) rotate(-3deg); }
}
@keyframes gFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.1); }
}
@keyframes gFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  40% { transform: translate(-40px, 30px) rotate(20deg); }
  80% { transform: translate(20px, -10px) rotate(-10deg); }
}
@keyframes gFloat4 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 40px); }
}

/* ── HERO TITLE STYLE (mixed case, DM Sans) ── */
.g-hero__title {
  font-family: 'DM Sans', var(--sans);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.04em;
  line-height: .88;
  animation: gTitleIn 1s cubic-bezier(.16,1,.3,1) both;
}
.g-hero__top-label { animation: gFadeUp .8s .1s cubic-bezier(.16,1,.3,1) both; }
.g-hero__card { animation: gFadeUp 1s .3s cubic-bezier(.16,1,.3,1) both; }
.g-marquee { animation: gFadeUp .6s .5s ease both; }

@keyframes gTitleIn {
  from { opacity: 0; transform: translateY(40px) skewY(2deg); }
  to   { opacity: 1; transform: translateY(0) skewY(0deg); }
}
@keyframes gFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SCROLL REVEAL ── */
.g-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.g-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── PICKS PAGE ── */
.p-hero {
  padding: 64px 48px 48px;
  background: #fff;
}
.p-hero__meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(0,0,0,.35);
  margin-bottom: 28px;
}
.p-hero__title {
  font-family: 'DM Sans', var(--sans);
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 900;
  font-style: italic;
  line-height: .88;
  letter-spacing: -.04em;
  color: #0a0a0a;
  margin-bottom: 32px;
}
.p-hero__sub {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(0,0,0,.4);
  letter-spacing: .04em;
}

/* PICKS LIST */
.p-list { padding: 0 48px 80px; }
.p-list__header {
  display: grid;
  grid-template-columns: 140px 1fr 1.5fr 80px 140px 40px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.3);
}
.p-row {
  display: grid;
  grid-template-columns: 140px 1fr 1.5fr 80px 140px 40px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
  cursor: pointer;
  transition: background .15s;
}
.p-row:hover { background: #f8f8f6; margin: 0 -48px; padding: 24px 48px; }
.p-row__ticker-sym {
  font-family: 'DM Sans', var(--sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #0a0a0a;
  display: block;
}
.p-row__badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(0,0,0,.3);
  background: rgba(0,0,0,.05);
  padding: 3px 7px;
  margin-top: 4px;
}
.p-row__company {
  display: block;
  font-size: 13px;
  color: #0a0a0a;
  font-weight: 500;
}
.p-row__hold {
  display: block;
  font-size: 11px;
  color: rgba(0,0,0,.35);
  margin-top: 3px;
  letter-spacing: .04em;
}
.p-row__setup {
  font-size: 11px;
  color: rgba(0,0,0,.4);
  line-height: 1.4;
}
.p-row__gain {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.p-row__gain--high { color: #00c47a; }
.p-row__gain--pos  { color: #00a863; }
.p-row__gain--neg  { color: #ff4444; }
.p-row__conf { display: flex; flex-direction: column; gap: 6px; }
.p-row__conf-bar {
  width: 80px; height: 3px;
  background: rgba(0,0,0,.08);
  border-radius: 2px;
  overflow: hidden;
}
.p-row__conf-fill {
  height: 100%;
  background: #1455FF;
  transition: width .8s cubic-bezier(.16,1,.3,1);
}
.p-row__conf span {
  font-size: 12px;
  font-weight: 700;
  color: #1455FF;
}
.p-row__star {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: rgba(0,0,0,.2);
  transition: color .2s, transform .2s;
  padding: 4px;
}
.p-row__star:hover { color: #0a0a0a; transform: scale(1.2); }
.p-row__star--saved { color: #f5a623 !important; }

/* EMPTY STATE */
.p-empty {
  padding: 120px 48px;
  text-align: center;
}
.p-empty__title {
  font-family: 'DM Sans', var(--sans);
  font-size: 48px;
  font-weight: 800;
  color: rgba(0,0,0,.1);
  margin-bottom: 16px;
}
.p-empty__sub { font-size: 14px; color: rgba(0,0,0,.35); letter-spacing: .04em; }

/* DETAIL MODAL */
.p-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.p-modal-backdrop.active { opacity: 1; pointer-events: all; }
.p-modal {
  background: #fff;
  width: 100%; max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(20px);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.p-modal-backdrop.active .p-modal { transform: translateY(0); }
.p-modal__close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none;
  font-size: 24px; cursor: pointer;
  color: rgba(0,0,0,.3);
  transition: color .2s;
}
.p-modal__close:hover { color: #0a0a0a; }
.p-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.p-modal__ticker {
  font-family: 'DM Sans', var(--sans);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}
.p-modal__company { font-size: 14px; color: rgba(0,0,0,.45); margin-top: 6px; }
.p-modal__conf {
  font-family: 'DM Sans', var(--sans);
  font-size: 48px;
  font-weight: 900;
  color: #1455FF;
  line-height: 1;
  text-align: right;
}
.p-modal__conf-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(0,0,0,.3);
  text-align: right;
  margin-top: 4px;
}
.p-modal__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.p-modal__stat { display: flex; flex-direction: column; gap: 4px; }
.p-modal__stat-l {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(0,0,0,.3);
}
.p-modal__stat-v { font-size: 15px; font-weight: 700; color: #0a0a0a; font-family: var(--mono); }
.p-modal__stat-v--g { color: #00c47a; }
.p-modal__stat-v--r { color: #ff4444; }
.p-modal__section { margin-bottom: 24px; }
.p-modal__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(0,0,0,.3);
  margin-bottom: 10px;
}
.p-modal__body { font-size: 14px; line-height: 1.7; color: rgba(0,0,0,.7); }
.p-modal__footer { padding-top: 24px; border-top: 1px solid rgba(0,0,0,.08); }

/* SAVE MODAL */
.p-save-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.p-save-backdrop.active { opacity: 1; pointer-events: all; }
.p-save {
  background: #fff;
  width: 100%; max-width: 420px;
  padding: 40px;
  transform: translateY(20px);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.p-save-backdrop.active .p-save { transform: translateY(0); }
.p-save__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.35);
  margin-bottom: 8px;
}
.p-save__ticker {
  font-family: 'DM Sans', var(--sans);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 28px;
}
.p-save__field { margin-bottom: 20px; }
.p-save__field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(0,0,0,.4);
  margin-bottom: 8px;
}
.p-save__input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,.15);
  padding: 10px 0;
  font-size: 15px;
  font-family: var(--sans);
  color: #0a0a0a;
  background: transparent;
  outline: none;
  transition: border-color .2s;
}
.p-save__input:focus { border-color: #0a0a0a; }
.p-save__actions { display: flex; gap: 12px; margin-top: 28px; }

@media (max-width: 900px) {
  .p-hero { padding: 40px 24px 32px; }
  .p-list { padding: 0 24px 60px; }
  .p-list__header,
  .p-row { grid-template-columns: 110px 1fr 70px 40px; }
  .p-list__h-setup, .p-row__setup,
  .p-list__h-conf, .p-row__conf { display: none; }
  .p-row:hover { margin: 0 -24px; padding: 24px; }
  .p-modal { padding: 28px 24px; margin: 16px; }
  .p-modal__ticker { font-size: 40px; }
  .p-modal__conf { font-size: 36px; }
}

/* ============================================================
   FONT CONSISTENCY + CHART STYLES
   ============================================================ */

/* Use DM Sans as primary font everywhere for consistency */
body, .g-nav, .g-nav__link, .g-nav__logo,
.p-row__company, .p-row__hold, .p-row__setup,
.g-about__body, .g-service-card__desc, .g-subscribe__body,
.g-manifest__company, .g-manifest__setup,
.p-modal__body, .p-modal__company, .p-save__form {
  font-family: 'DM Sans', sans-serif;
}

/* ── CHART SECTION ── */
.p-modal__chart-wrap {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.p-modal__chart-wrap .p-modal__label { margin-bottom: 12px; }
#tv-chart-container {
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
}

/* ── PRICE LEVELS BAR ── */
.p-levels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 1px;
  border: 1px solid rgba(0,0,0,.08);
  border-top: none;
}
.p-level {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.p-level--stop   { border-right: 1px solid rgba(0,0,0,.08); background: #fff5f5; }
.p-level--entry  { border-right: 1px solid rgba(0,0,0,.08); background: #f5f9ff; }
.p-level--target { background: #f5fff8; }
.p-level__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.35);
}
.p-level--stop   .p-level__label { color: #cc3333; }
.p-level--entry  .p-level__label { color: #1455FF; }
.p-level--target .p-level__label { color: #00a863; }
.p-level__val {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--mono);
  color: #0a0a0a;
}
.p-level--stop   .p-level__val { color: #cc3333; }
.p-level--entry  .p-level__val { color: #1455FF; }
.p-level--target .p-level__val { color: #00a863; }

/* ============================================================
   POSITION INTELLIGENCE PAGE
   ============================================================ */
.pos-page {
  min-height: 100vh;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
}

/* TOP BAR */
.pos-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  border-bottom: 1px solid #0a0a0a;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.pos-back {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(0,0,0,.45);
  text-decoration: none;
  transition: color .2s;
}
.pos-back:hover { color: #0a0a0a; }
.pos-topbar__center { display: flex; align-items: center; gap: 12px; }
.pos-topbar__ticker {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #0a0a0a;
}
.pos-topbar__company { font-size: 13px; color: rgba(0,0,0,.4); }
.pos-topbar__pnl { font-size: 16px; font-weight: 700; }
.pos-topbar__pnl span { font-size: 12px; font-weight: 500; margin-left: 6px; opacity: .7; }
.pos-topbar__pnl--pos { color: #00a863; }
.pos-topbar__pnl--neg { color: #cc3333; }

/* BODY LAYOUT */
.pos-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  min-height: calc(100vh - 57px);
  border-top: none;
}
.pos-left {
  border-right: 1px solid rgba(0,0,0,.08);
  padding-bottom: 60px;
}
.pos-right {
  padding: 24px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* PREDICTION BANNER */
.pos-prediction {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #fafaf8;
}
.pos-prediction__arrow {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  color: rgba(0,0,0,.2);
  transition: color .4s;
}
.pos-prediction__arrow--up { color: #00a863; }
.pos-prediction__arrow--down { color: #cc3333; }
.pos-prediction__target {
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
}
.pos-prediction__conf {
  font-size: 12px;
  color: rgba(0,0,0,.4);
  margin-top: 4px;
  letter-spacing: .04em;
}
.pos-prediction__verdict {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 8px 20px;
  border: 2px solid #0a0a0a;
}
.pos-prediction__verdict--hold { border-color: #0a0a0a; color: #0a0a0a; }
.pos-prediction__verdict--add  { border-color: #00a863; color: #00a863; }
.pos-prediction__verdict--sell { border-color: #cc3333; color: #cc3333; background: #fff5f5; }
.pos-prediction__verdict--watch { border-color: #f5a623; color: #f5a623; }

/* CHART */
.pos-chart-wrap { padding: 24px 32px 0; }
.pos-chart-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(0,0,0,.3);
  margin-bottom: 12px;
}
#pos-tv-chart { border: 1px solid rgba(0,0,0,.08); }
.pos-price-levels {
  display: flex;
  gap: 1px;
  margin-top: 1px;
  background: rgba(0,0,0,.08);
}
.pos-price-level {
  flex: 1;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pos-price-level__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(0,0,0,.35);
}
.pos-price-level__val {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--mono);
}
.pos-price-level--entry  { background: #f5f9ff; }
.pos-price-level--entry .pos-price-level__label { color: #1455FF; }
.pos-price-level--entry .pos-price-level__val   { color: #1455FF; }
.pos-price-level--current { background: #fafaf8; }
.pos-price-level--target  { background: #f5fff8; }
.pos-price-level--target .pos-price-level__label { color: #00a863; }
.pos-price-level--target .pos-price-level__val   { color: #00a863; }
.pos-price-level--stop    { background: #fff5f5; }
.pos-price-level--stop .pos-price-level__label { color: #cc3333; }
.pos-price-level--stop .pos-price-level__val   { color: #cc3333; }
.pos-price-level--pred    { background: #0a0a0a; }
.pos-price-level--pred .pos-price-level__label { color: rgba(255,255,255,.4); }
.pos-price-level--pred .pos-price-level__val   { color: #fff; }

/* NEWS */
.pos-news { padding: 24px 32px; }
.pos-news__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(0,0,0,.3);
  margin-bottom: 16px;
}
.pos-news__item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.pos-news__item:hover { background: #fafaf8; margin: 0 -8px; padding: 14px 8px; }
.pos-news__dot {
  font-size: 10px;
  margin-top: 2px;
  color: rgba(0,0,0,.2);
  flex-shrink: 0;
}
.pos-news__dot--bull { color: #00a863; }
.pos-news__dot--bear { color: #cc3333; }
.pos-news__title { font-size: 13px; color: #0a0a0a; line-height: 1.4; }
.pos-news__meta  { font-size: 11px; color: rgba(0,0,0,.3); margin-top: 4px; letter-spacing: .04em; }
.pos-news__empty { font-size: 13px; color: rgba(0,0,0,.3); padding: 20px 0; }

/* RIGHT PANEL */
.pos-stats-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.08);
}
.pos-stat {
  background: #fff;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pos-stat__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(0,0,0,.3);
}
.pos-stat__val { font-size: 14px; font-weight: 700; color: #0a0a0a; font-family: var(--mono); }
.pos-stat__val--green { color: #00a863; }
.pos-stat__val--red   { color: #cc3333; }

.pos-gameplan {
  border: 1px solid rgba(0,0,0,.08);
  padding: 20px;
}
.pos-gameplan__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(0,0,0,.3);
  margin-bottom: 12px;
}
.pos-gameplan__body {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(0,0,0,.7);
  white-space: pre-wrap;
}
.pos-gameplan__updating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(0,0,0,.35);
}
.pos-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(0,0,0,.1);
  border-top-color: #1455FF;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pos-exit, .pos-counter {
  border: 1px solid rgba(0,0,0,.08);
  padding: 20px;
}
.pos-counter { border-color: #ffdddd; background: #fff8f8; }
.pos-counter__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #cc3333;
  margin-bottom: 12px;
}
.pos-counter__body { font-size: 13px; line-height: 1.7; color: rgba(0,0,0,.65); }

.pos-thesis {
  border: 1px solid rgba(0,0,0,.06);
  padding: 20px;
  background: #fafaf8;
}
.pos-thesis__body {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(0,0,0,.55);
}

.pos-actions { padding-top: 8px; }

@media (max-width: 900px) {
  .pos-body { grid-template-columns: 1fr; }
  .pos-left { border-right: none; }
  .pos-topbar { padding: 14px 20px; }
  .pos-chart-wrap { padding: 16px 20px 0; }
  .pos-news { padding: 16px 20px; }
  .pos-right { padding: 20px; }
  .pos-price-levels { flex-wrap: wrap; }
}

/* ── Portfolio Verdict Badge ────────────────────────────────── */
.port-verdict {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  margin: 12px 0 4px;
  border: 1px solid transparent;
}
.port-verdict--hold {
  background: rgba(20,85,255,.06);
  border-color: rgba(20,85,255,.18);
}
.port-verdict--sell {
  background: rgba(220,38,38,.06);
  border-color: rgba(220,38,38,.22);
}
.port-verdict--watch {
  background: rgba(217,119,6,.07);
  border-color: rgba(217,119,6,.22);
}
.port-verdict--add {
  background: rgba(22,163,74,.07);
  border-color: rgba(22,163,74,.22);
}
.port-verdict--wait {
  background: var(--g50);
  border-color: var(--g200);
}

.port-verdict__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.port-verdict--hold  .port-verdict__badge { background: var(--blue); color: #fff; }
.port-verdict--sell  .port-verdict__badge { background: var(--red);  color: #fff; }
.port-verdict--watch .port-verdict__badge { background: #d97706;     color: #fff; }
.port-verdict--add   .port-verdict__badge { background: var(--green);color: #fff; }
.port-verdict--wait  .port-verdict__badge { background: var(--g400); color: #fff; }

.port-verdict__msg {
  font-size: 11.5px;
  color: var(--g600);
  line-height: 1.4;
  flex: 1;
}
.port-verdict__deep {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  opacity: .8;
  transition: opacity .15s;
}
.port-verdict__deep:hover { opacity: 1; }

/* ── Portfolio Target / Stop level pills ───────────────────── */
.port-card__levels {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 4px 0 8px;
}
.port-level {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  min-width: 64px;
}
.port-level--target { background: rgba(22,163,74,.08); }
.port-level--stop   { background: rgba(220,38,38,.07); }
.port-level--trend  { background: var(--g50); }
.port-level__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--g400);
}
.port-level__val {
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}
.port-level--target .port-level__val { color: var(--green); }
.port-level--stop   .port-level__val { color: var(--red); }

/* ── Real photo images ──────────────────────────────────────── */
.g-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}
.g-about__img, .g-subscribe__img {
  overflow: hidden;
  border-radius: 4px;
}

/* ── Portfolio Timeline ──────────────────────────────────────── */
.port-timeline {
  margin: 16px 0 8px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
}
.port-timeline__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.port-timeline__label {
  font-size: 9px;
  letter-spacing: .14em;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
}
.port-timeline__days {
  font-size: 11px;
  color: rgba(255,255,255,.5);
}
.port-timeline__track {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.port-timeline__fill {
  height: 100%;
  border-radius: 99px;
  background: var(--blue, #4a90d9);
  transition: width .4s ease;
}
.port-timeline__fill--warn  { background: #f5a623; }
.port-timeline__fill--over  { background: var(--red, #e05555); }
.port-timeline__alert {
  margin-top: 8px;
  font-size: 11px;
  color: #f5a623;
  font-weight: 600;
}

/* ── Picks Profile Strip ─────────────────────────────────────── */
.p-profile-strip {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 12px 48px;
  background: rgba(255,255,255,0.02);
}
.p-profile-strip__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.p-profile-strip__label {
  font-size: 9px;
  letter-spacing: .15em;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  margin-right: 4px;
}
.p-profile-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: .03em;
}
.p-profile-pill--risk-aggressive { background: rgba(224,85,85,.15); color: #e05555; border: 1px solid rgba(224,85,85,.25); }
.p-profile-pill--risk-moderate   { background: rgba(74,144,217,.12); color: #4a90d9; border: 1px solid rgba(74,144,217,.2); }
.p-profile-pill--risk-conservative { background: rgba(80,200,120,.12); color: #50c878; border: 1px solid rgba(80,200,120,.2); }
.p-profile-pill--goal { background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.1); }
.p-profile-strip__note {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  margin-left: auto;
}
.p-profile-strip__edit {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  text-decoration: none;
}
.p-profile-strip__edit:hover { color: #fff; }

/* ── Pick Match Score Badge ──────────────────────────────────── */
.p-match {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}
.p-match--high { background: rgba(80,200,120,.18); color: #50c878; }
.p-match--mid  { background: rgba(74,144,217,.15); color: #4a90d9; }
.p-match--low  { background: rgba(255,255,255,.06); color: rgba(255,255,255,.35); }

@media (max-width: 640px) {
  .p-profile-strip { padding: 10px 16px; }
  .p-profile-strip__note { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   MARKET OVERVIEW PAGE  (.mkt-*)
══════════════════════════════════════════════════════════════ */

.mkt-page { max-width: 1200px; margin: 0 auto; padding: 0 32px 80px; }

.mkt-hero { padding: 80px 0 48px; }
.mkt-hero__label { font-size: 11px; letter-spacing: 4px; color: #999; margin-bottom: 16px; }
.mkt-hero__title { font-family: 'DM Sans', sans-serif; font-size: clamp(56px, 8vw, 96px);
  font-weight: 900; font-style: italic; line-height: 1; color: #0a0a0a; margin: 0 0 20px; }
.mkt-hero__sub { font-size: 16px; color: #555; max-width: 520px; line-height: 1.6; }

/* Chart + Legend side by side */
.mkt-chart-section { display: flex; gap: 48px; align-items: flex-start; margin-bottom: 80px; }
.mkt-chart-wrap { flex: 0 0 480px; position: relative; }
#sector-chart { width: 100%; cursor: default; }

.mkt-slice { transition: opacity 0.15s; }
.mkt-slice:hover { opacity: 0.92; }

.mkt-legend { flex: 1; display: flex; flex-direction: column; gap: 4px; padding-top: 24px; }
.mkt-legend-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 6px;
  text-decoration: none; color: inherit; transition: background 0.15s; border: 1px solid transparent; }
.mkt-legend-item:hover { background: #f5f5f5; border-color: #e8e8e8; }
.mkt-legend-item__dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.mkt-legend-item__info { flex: 1; }
.mkt-legend-item__name { font-size: 13px; font-weight: 600; color: #111; line-height: 1.2; }
.mkt-legend-item__conf { font-size: 11px; color: #888; margin-top: 2px; }
.mkt-legend-item__arrow { font-size: 12px; color: #bbb; }
.mkt-legend-item:hover .mkt-legend-item__arrow { color: #111; }

/* Hot takes */
.mkt-section { margin-bottom: 64px; }
.mkt-section__label { font-size: 11px; letter-spacing: 4px; color: #999; margin: 24px 0 32px; }
.mkt-takes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.mkt-take { display: block; padding: 28px; border: 1px solid #e8e8e8; border-radius: 8px;
  text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.mkt-take:hover { border-color: #111; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.mkt-take__emoji { font-size: 28px; margin-bottom: 12px; }
.mkt-take__sector { font-size: 11px; letter-spacing: 3px; color: #888; margin-bottom: 10px; font-weight: 600; }
.mkt-take__text { font-size: 15px; color: #111; line-height: 1.6; font-weight: 500; margin-bottom: 16px; }
.mkt-take__cta { font-size: 12px; color: #999; }
.mkt-take:hover .mkt-take__cta { color: #111; }

/* Ranked sector rows */
.mkt-rows { display: flex; flex-direction: column; }
.mkt-row { display: grid; grid-template-columns: 40px 220px 1fr 200px 70px 32px;
  align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid #f0f0f0;
  text-decoration: none; color: inherit; transition: background 0.15s; border-radius: 4px;
  padding-left: 8px; }
.mkt-row:hover { background: #fafafa; }
.mkt-row__rank { font-size: 11px; color: #bbb; font-weight: 700; font-family: 'DM Sans', sans-serif; }
.mkt-row__name { font-size: 14px; font-weight: 700; color: #111; }
.mkt-row__desc { font-size: 12px; color: #888; line-height: 1.4; }
.mkt-row__bar-wrap { display: flex; align-items: center; gap: 10px; }
.mkt-row__bar { flex: 1; height: 4px; background: #f0f0f0; border-radius: 2px; overflow: hidden; }
.mkt-row__fill { height: 100%; background: #111; border-radius: 2px; transition: width 0.8s ease; }
.mkt-row__conf { font-size: 12px; font-weight: 700; color: #111; white-space: nowrap; min-width: 36px; }
.mkt-row__perf { font-size: 13px; font-weight: 700; text-align: right; }
.mkt-row__arrow { font-size: 14px; color: #ccc; text-align: right; }
.mkt-row:hover .mkt-row__arrow { color: #111; }
.mkt-pos { color: #1a8a3c; }
.mkt-neg { color: #c0392b; }

/* ══════════════════════════════════════════════════════════════
   SECTOR DETAIL PAGE  (.msec-*)
══════════════════════════════════════════════════════════════ */

.msec-page { max-width: 1100px; margin: 0 auto; padding: 0 32px 80px; }

.msec-topbar { display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0 8px; border-bottom: 1px solid #f0f0f0; margin-bottom: 0; }
.msec-back { font-size: 13px; color: #888; text-decoration: none; }
.msec-back:hover { color: #111; }
.msec-topbar__right { display: flex; align-items: center; gap: 16px; }
.msec-topbar__etf { font-size: 12px; letter-spacing: 2px; color: #999; font-weight: 700; }
.msec-conf { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; letter-spacing: 0.5px; }
.msec-conf--high { background: #0a0a0a; color: #fff; }
.msec-conf--mid  { background: #e8e8e8; color: #333; }
.msec-conf--low  { background: #f5f5f5; color: #888; }
.msec-perf { font-size: 13px; font-weight: 700; }

.msec-hero { padding: 56px 0 40px; }
.msec-hero__label { font-size: 11px; letter-spacing: 4px; color: #999; margin-bottom: 12px; }
.msec-hero__title { font-family: 'DM Sans', sans-serif; font-size: clamp(40px, 6vw, 72px);
  font-weight: 900; font-style: italic; line-height: 1; color: #0a0a0a; margin: 0 0 16px; }
.msec-hero__desc { font-size: 16px; color: #666; line-height: 1.6; max-width: 600px; }

.msec-chart-wrap { background: #fafafa; border: 1px solid #e8e8e8; border-radius: 8px;
  overflow: hidden; margin-bottom: 56px; }
.msec-chart-label { font-size: 11px; letter-spacing: 3px; color: #999; padding: 14px 20px; border-bottom: 1px solid #e8e8e8; }
#sector-tv-chart { width: 100%; }

.msec-blog { background: #0a0a0a; color: #fff; padding: 48px 56px; border-radius: 8px; margin-bottom: 56px; }
.msec-blog__tag { font-size: 10px; letter-spacing: 4px; color: #666; margin-bottom: 20px; }
.msec-blog__title { font-family: 'DM Sans', sans-serif; font-size: 28px; font-weight: 700;
  font-style: italic; margin: 0 0 28px; line-height: 1.2; }
.msec-blog__body p { font-size: 15px; color: #bbb; line-height: 1.8; margin-bottom: 16px; }
.msec-blog__verdict { color: #e8e8e8 !important; font-weight: 500; border-left: 3px solid #fff; padding-left: 16px; }

.msec-section { margin-bottom: 56px; }
.msec-section__label { font-size: 11px; letter-spacing: 4px; color: #999; margin: 24px 0 24px; }

.msec-picks { display: flex; flex-direction: column; gap: 1px; }
.msec-pick { display: grid; grid-template-columns: 180px 1fr 160px; align-items: center;
  gap: 24px; padding: 20px 16px; border-bottom: 1px solid #f0f0f0; transition: background 0.15s; }
.msec-pick:hover { background: #fafafa; }
.msec-pick__ticker { font-size: 20px; font-weight: 800; color: #111; font-family: 'DM Sans', sans-serif; }
.msec-pick__company { font-size: 12px; color: #888; margin-top: 3px; }
.msec-pick__type { font-size: 10px; letter-spacing: 2px; color: #bbb; margin-top: 4px; text-transform: uppercase; }
.msec-pick__mid { display: flex; gap: 28px; }
.msec-pick__stat-label { font-size: 10px; letter-spacing: 2px; color: #aaa; margin-bottom: 4px; }
.msec-pick__stat-val { font-size: 14px; font-weight: 700; color: #111; }
.msec-stat--green { color: #1a8a3c !important; }
.msec-stat--red   { color: #c0392b !important; }
.msec-pick__right { text-align: right; }
.msec-conf-bar { height: 3px; background: #f0f0f0; border-radius: 2px; margin-bottom: 8px; overflow: hidden; }
.msec-conf-bar__fill { height: 100%; background: #111; border-radius: 2px; }
.msec-pick__conf { font-size: 12px; font-weight: 700; color: #111; }
.msec-pick__date { font-size: 11px; color: #bbb; margin-top: 3px; }

.msec-empty { padding: 40px; text-align: center; color: #888; font-size: 14px;
  border: 1px dashed #e0e0e0; border-radius: 8px; }

.msec-tickers { display: flex; flex-wrap: wrap; gap: 10px; }
.msec-ticker-chip { padding: 8px 16px; background: #f5f5f5; border-radius: 20px;
  font-size: 13px; font-weight: 700; color: #111; letter-spacing: 0.5px; cursor: default; }

.msec-back-btn { display: inline-block; margin-top: 40px; padding: 14px 28px;
  border: 1px solid #e0e0e0; border-radius: 6px; text-decoration: none; color: #555;
  font-size: 14px; transition: all 0.2s; }
.msec-back-btn:hover { border-color: #111; color: #111; }

/* Responsive */
@media (max-width: 900px) {
  .mkt-chart-section { flex-direction: column; }
  .mkt-chart-wrap { flex: none; width: 100%; }
  .mkt-row { grid-template-columns: 36px 1fr 80px 24px; }
  .mkt-row__desc, .mkt-row__bar-wrap { display: none; }
  .msec-pick { grid-template-columns: 140px 1fr; }
  .msec-pick__right { display: none; }
  .msec-blog { padding: 32px 24px; }
}

/* ══════════════════════════════════════════════════════════════
   WHILE YOU WERE AWAY — catch-up bar
══════════════════════════════════════════════════════════════ */
.catchup-bar { background: #0a0a0a; color: #fff; padding: 0; border-bottom: 1px solid #222; position: sticky; top: 0; z-index: 200; }
.catchup-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 48px; }
.catchup-bar__label { font-size: 10px; letter-spacing: 3px; color: #666; margin-bottom: 4px; }
.catchup-bar__text { font-size: 14px; color: #ddd; line-height: 1.4; max-width: 700px; }
.catchup-bar__right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.catchup-bar__btn { padding: 8px 18px; background: #fff; color: #0a0a0a; font-size: 13px; font-weight: 700; border-radius: 4px; text-decoration: none; white-space: nowrap; }
.catchup-bar__close { background: none; border: none; color: #666; font-size: 20px; cursor: pointer; padding: 0 4px; line-height: 1; }
.catchup-bar__close:hover { color: #fff; }

/* ══════════════════════════════════════════════════════════════
   SENTIMENT BADGES on pick rows
══════════════════════════════════════════════════════════════ */
.p-sentiment-badge { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 10px; letter-spacing: 0.5px; margin-left: 6px; white-space: nowrap; }
.p-sent--bull { background: #e6f4ec; color: #1a8a3c; }
.p-sent--bear { background: #fdecea; color: #c0392b; }
.p-sent--warn { background: #fff3cd; color: #856404; border: 1px solid #ffc107; }

/* ══════════════════════════════════════════════════════════════
   PICK MODAL — sentiment + pro/con + source of truth
══════════════════════════════════════════════════════════════ */
.p-modal__warning { display: flex; align-items: flex-start; gap: 10px; background: #fff3cd; border: 1px solid #ffc107; border-radius: 6px; padding: 12px 16px; margin-bottom: 16px; }
.p-modal__warning-icon { font-size: 16px; flex-shrink: 0; }
.p-modal__warning { font-size: 13px; color: #856404; line-height: 1.5; }

.p-modal__sentiment { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; margin-bottom: 16px; }
.p-modal__sentiment-label { font-size: 10px; letter-spacing: 2px; color: #999; white-space: nowrap; }
.p-modal__sentiment-bar { flex: 1; height: 4px; background: #f0f0f0; border-radius: 2px; overflow: hidden; }
.p-modal__sentiment-fill { height: 100%; border-radius: 2px; transition: width 0.5s ease; }
.p-modal__sentiment-val { font-size: 12px; font-weight: 600; color: #555; white-space: nowrap; min-width: 140px; text-align: right; }

.p-modal__procon { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; padding: 16px; background: #fafafa; border-radius: 6px; }
.p-modal__label--green { color: #1a8a3c; }
.p-modal__label--red   { color: #c0392b; }
.p-modal__list { margin: 8px 0 0 16px; padding: 0; }
.p-modal__list li { font-size: 13px; line-height: 1.6; color: #333; margin-bottom: 4px; }
.p-modal__list--pros li::marker { color: #1a8a3c; }
.p-modal__list--cons li::marker { color: #c0392b; }

.p-modal__sot { margin: 8px 0 0 0; padding: 0; list-style: none; }
.p-modal__sot li { font-size: 12px; color: #666; line-height: 1.5; padding: 6px 0; border-bottom: 1px solid #f5f5f5; padding-left: 12px; position: relative; }
.p-modal__sot li::before { content: '→'; position: absolute; left: 0; color: #bbb; }

/* Broken image fallback — shows dark placeholder if photo file is missing */
.g-real-img { background: #1a1a1a; }
img.g-real-img[src=""] , img.g-real-img:not([src]) { display: none; }

/* ══════════════════════════════════════════════════════════════
   GENERATIVE ART COMPONENTS  (.g-art-*)
══════════════════════════════════════════════════════════════ */

.g-art { width: 100%; height: 100%; background: #0a0a0a; border-radius: 4px;
  display: flex; flex-direction: column; overflow: hidden; position: relative; }
.g-art__label { font-size: 9px; letter-spacing: 4px; color: #333; padding: 16px 20px 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 700; }

/* ── Chart art ── */
.g-art--chart { padding-bottom: 0; }
.g-art__svg { width: 100%; flex: 1; display: block; }

.g-chart__fill {
  fill: url(#chartGrad);
  opacity: 0.15;
}
.g-chart__line {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: chartDraw 2.4s cubic-bezier(.4,0,.2,1) 0.3s forwards;
}
.g-chart__dot {
  fill: #fff;
  opacity: 0;
  animation: chartDot 0.4s ease 2.6s forwards;
}
@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes chartDot {
  to { opacity: 1; }
}
.g-chart__price {
  fill: #333;
  font-size: 9px;
  font-family: 'DM Sans', monospace;
  letter-spacing: 0.5px;
}
.g-art__tickers { display: flex; gap: 12px; padding: 12px 20px 16px; flex-wrap: wrap; }
.g-art__tick { font-size: 11px; font-family: 'DM Sans', sans-serif; font-weight: 700;
  letter-spacing: 0.5px; padding: 4px 10px; border-radius: 12px; }
.g-art__tick--up { color: #1a8a3c; background: rgba(26,138,60,0.12); }
.g-art__tick--dn { color: #c0392b; background: rgba(192,57,43,0.12); }

/* ── Data stream art ── */
.g-art--stream { gap: 0; }
.g-stream__cols { flex: 1; display: flex; overflow: hidden; padding: 4px 16px; gap: 4px; }
.g-stream__col { flex: 1; overflow: hidden; position: relative; }
.g-stream__col::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to bottom, transparent, #0a0a0a);
  pointer-events: none;
}
.g-stream__col::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 20px;
  background: linear-gradient(to top, transparent, #0a0a0a);
  pointer-events: none;
  z-index: 1;
}
.g-stream__inner {
  display: flex; flex-direction: column; gap: 2px;
}
.g-stream__col--1 .g-stream__inner { animation: streamScroll 14s linear infinite; }
.g-stream__col--2 .g-stream__inner { animation: streamScroll 11s linear infinite; animation-delay: -4s; }
.g-stream__col--3 .g-stream__inner { animation: streamScroll 17s linear infinite; animation-delay: -8s; }

@keyframes streamScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.g-stream__inner span {
  display: block;
  font-size: 10px;
  font-family: 'DM Sans', monospace;
  letter-spacing: 0.5px;
  padding: 3px 4px;
  color: #2a2a2a;
  white-space: nowrap;
  line-height: 1.4;
}
.g-stream__inner span:nth-child(3n-2) { color: #555; font-weight: 700; }
.g-stream__inner span:nth-child(3n-1) { color: #888; }
.g-stream__inner span.up { color: #1a8a3c !important; }
.g-stream__inner span.dn { color: #c0392b !important; }

/* Highlight random rows */
.g-stream__inner span:nth-child(6),
.g-stream__inner span:nth-child(15) { color: #fff !important; }

.g-stream__badge { font-size: 9px; letter-spacing: 3px; color: #222; padding: 10px 20px 14px;
  font-family: 'DM Sans', sans-serif; border-top: 1px solid #111; margin-top: auto; }

/* ── Radial art ── */
.g-art--radial { align-items: center; justify-content: center; gap: 0; }
.g-art__radial-svg { width: 85%; max-width: 280px; flex-shrink: 0; }

.g-radial__seg {
  transform-origin: 0 0;
  transition: opacity 0.3s;
  cursor: default;
}
.g-radial__seg:hover { opacity: 1 !important; }

.g-radial__ring { transform-origin: center; }
.g-radial__ring--1 { animation: radialPulse 3s ease-in-out infinite; }
.g-radial__ring--2 { animation: radialPulse 3s ease-in-out infinite; animation-delay: 0.5s; }
.g-radial__ring--3 { animation: radialPulse 3s ease-in-out infinite; animation-delay: 1s; }

@keyframes radialPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.9; transform: scale(1.04); }
}

.g-radial__label {
  fill: #2a2a2a;
  font-size: 8px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 1px;
  font-weight: 700;
}

.g-art__radial-legend { display: flex; align-items: center; gap: 12px; padding: 8px 20px 16px;
  font-size: 10px; color: #333; font-family: 'DM Sans', sans-serif; letter-spacing: 1px; }
.g-art__radial-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; flex-shrink: 0; }

/* ── Trial gate overlay ─────────────────────────────────────── */
.trial-gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(2px);
  padding: 24px;
}
.trial-gate__box {
  background: #111;
  border: 1px solid #222;
  border-radius: 4px;
  padding: 48px 40px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}
.trial-gate__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue, #2563eb);
  margin-bottom: 14px;
}
.trial-gate__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 28px;
}
.trial-gate__btn {
  display: block;
  background: #fff;
  color: #0a0a0a;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-decoration: none;
  border-radius: 2px;
}
.trial-gate__btn:hover { background: #e5e5e5; }

/* ── Stats panel (subscribe section left side) ─────────────── */
.g-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 48px 40px;
}
.g-stats__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.g-stats__item { display: flex; flex-direction: column; gap: 8px; }
.g-stats__num {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.g-stats__num--sm {
  font-size: clamp(32px, 4vw, 48px);
}
.g-stats__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #444;
  line-height: 1.5;
}
.g-stats__divider {
  height: 1px;
  background: #1c1c1c;
  margin: 32px 0;
}
.g-stats__tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-style: italic;
  color: #333;
  line-height: 1.6;
}

/* ── Trial countdown banner ─────────────────────────────────── */
.trial-banner {
  background: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: #aaa;
}
.trial-banner__text strong { color: #fff; }
.trial-banner__btn {
  background: #fff;
  color: #0a0a0a;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  border-radius: 2px;
  white-space: nowrap;
}
.trial-banner__btn:hover { background: #e5e5e5; }

/* ══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS  (@768px and below)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Nav */
  .g-nav, .nav__inner {
    padding: 0 16px;
    height: 52px;
  }
  .g-nav__links, .nav__links {
    gap: 12px;
  }
  .g-nav__link, .nav__link {
    font-size: 11px;
    letter-spacing: .06em;
  }
  /* Hide less important nav links on mobile */
  .g-nav__links .g-nav__link:not(:last-child):not(.g-nav__link--cta),
  .nav__links .nav__link:nth-child(n+4) {
    display: none;
  }

  /* Trial banner */
  .trial-banner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 12px 16px;
  }

  /* Hero */
  .g-hero {
    padding: 80px 20px 40px;
  }
  .g-hero__title {
    font-size: clamp(52px, 14vw, 80px);
  }
  .g-hero__card {
    max-width: 100%;
  }

  /* About section */
  .g-about {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .g-about__img--1,
  .g-about__img--2 {
    display: none;
  }
  .g-about__content {
    padding: 40px 20px;
  }

  /* Subscribe section */
  .g-subscribe {
    grid-template-columns: 1fr;
  }
  .g-subscribe__img {
    display: none;
  }
  .g-subscribe__content {
    padding: 48px 24px;
  }
  .g-stats { display: none; }

  /* Plans grid */
  .plans-grid {
    grid-template-columns: 1fr !important;
  }
  .plans-grid > div:first-child {
    border-right: none !important;
    border-bottom: var(--line-dk);
  }

  /* Auth pages */
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-left {
    display: none;
  }
  .auth-right {
    padding: 40px 24px;
  }

  /* Dashboard */
  .dash-wrap { padding: 0; }
  .dash-banner__inner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .dash-body {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .dash-body aside { display: none; }

  /* Picks grid */
  .picks-grid {
    grid-template-columns: 1fr;
  }

  /* Market page */
  .mkt-sectors {
    grid-template-columns: 1fr 1fr;
  }
  .mkt-hero { padding: 80px 20px 40px; }

  /* Chat */
  .chat-wrap {
    grid-template-columns: 1fr;
  }
  .chat-sidebar { display: none; }

  /* Portfolio */
  .pt-grid {
    grid-template-columns: 1fr;
  }

  /* Trial gate */
  .trial-gate__box {
    padding: 32px 24px;
  }

  /* Footer */
  .g-footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .g-footer__links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .g-hero__pick-stats {
    grid-template-columns: 1fr 1fr;
  }
  .g-stats__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mkt-sectors {
    grid-template-columns: 1fr;
  }
}

/* ── Gerald action badges (BUY / HOLD / SELL etc) ───────────── */
.p-action-badge {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 3px 8px;
  border-radius: 2px;
  cursor: default;
}
.p-action--buy      { background: #0f4c2a; color: #4ade80; }
.p-action--scale    { background: #0f3a4c; color: #38bdf8; }
.p-action--hold     { background: #2a2a2a; color: #aaa; }
.p-action--sellhigh { background: #3a2a00; color: #fbbf24; }
.p-action--sellnow  { background: #3a1a00; color: #fb923c; }
.p-action--stop     { background: #3a0f0f; color: #f87171; }
