/* ============================================================
   Trade2Swing — shared stylesheet
   Modern-fintech design system. Portable, no build step.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #ffffff;
  --bg-soft:   #f6f5fb;
  --bg-dark:   #0e0a1f;
  --bg-dark-2: #1a1338;

  --ink:       #15112b;
  --ink-soft:  #4a4660;
  --ink-mute:  #7b7790;
  --on-dark:   #ece9fb;
  --on-dark-mute: #a59fc4;

  --line:      #e8e7f1;
  --line-dark: #2c2452;

  --brand:     #6366f1;
  --brand-2:   #8b5cf6;
  --brand-deep:#4f46e5;
  --up:        #10b981;
  --down:      #ef4444;
  --amber:     #f59e0b;

  --grad:      linear-gradient(120deg, #6366f1 0%, #8b5cf6 55%, #a855f7 100%);
  --grad-soft: linear-gradient(160deg, #f3f1ff 0%, #f6f5fb 100%);

  --shadow-sm: 0 1px 2px rgba(20,16,40,.05);
  --shadow:    0 2px 4px rgba(20,16,40,.04), 0 10px 30px rgba(20,16,40,.07);
  --shadow-lg: 0 8px 50px rgba(76,70,229,.16);

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1140px;

  --font-head: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--bg-dark); color: var(--on-dark); }

.eyebrow {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.section.dark .eyebrow { color: #c4b5fd; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; }
h2 { font-size: clamp(27px, 3.4vw, 38px); color: var(--ink); }
.section.dark h2 { color: #fff; }
h3 { font-size: 19px; }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 640px; }
.section.dark .lead { color: var(--on-dark-mute); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(99,102,241,.35); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(99,102,241,.45); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.section.dark .btn-ghost { color: #fff; border-color: var(--line-dark); }
.section.dark .btn-ghost:hover { border-color: #c4b5fd; color: #fff; }
.hero .btn-ghost { color: #fff; border-color: var(--line-dark); }
.hero .btn-ghost:hover { color: #fff; border-color: #c4b5fd; }
.page-head .btn-ghost { color: #fff; border-color: var(--line-dark); }
.page-head .btn-ghost:hover { color: #fff; border-color: #c4b5fd; }
.btn-light { background: #fff; color: var(--brand-deep); }

/* ---------- Top navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand b { color: var(--brand-deep); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 13px; border-radius: 9px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.nav-links a.active { color: var(--brand-deep); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-sub {
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  padding: 9px 18px; border-radius: 999px; background: var(--grad); color: #fff;
}
.nav-sub:hover { text-decoration: none; transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; width: 42px; height: 38px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 16px 18px; display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 12px 12px; font-size: 16px; }
  .nav-cta { margin-top: 10px; }
  .nav-sub { text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg-dark);
  color: var(--on-dark);
  padding: 96px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 380px at 78% 8%, rgba(139,92,246,.40), transparent 70%),
    radial-gradient(560px 420px at 12% 92%, rgba(99,102,241,.34), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}
.hero-inner { position: relative; max-width: 760px; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; font-family: var(--font-head);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line-dark);
  color: var(--on-dark); margin-bottom: 22px;
}
.hero .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px rgba(16,185,129,.2); }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  color: #fff; letter-spacing: -0.03em; line-height: 1.07;
}
.hero h1 .grad {
  background: linear-gradient(100deg,#a78bfa,#c4b5fd 60%,#818cf8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { font-size: 19px; color: var(--on-dark-mute); margin-top: 22px; max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-meta .item .n { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: #fff; }
.hero-meta .item .l { font-size: 13px; color: var(--on-dark-mute); margin-top: 2px; }

/* ---------- Generic cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d9d7ec; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Pillar (approach) cards ---------- */
.pillar { position: relative; }
.pillar .num {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  color: var(--brand); letter-spacing: 1px;
}
.pillar .ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft); border: 1px solid #e7e3ff;
}
.pillar .ic svg { width: 23px; height: 23px; }
.pillar .tag {
  display: inline-block; margin-top: 14px; font-size: 11.5px; font-weight: 600;
  font-family: var(--font-head); letter-spacing: .5px; text-transform: uppercase;
  color: var(--brand-deep); background: #efeefe; padding: 4px 10px; border-radius: 6px;
}

/* ---------- Feature list (why discipline) ---------- */
.feature-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; }
.checklist .ck {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: rgba(16,185,129,.14); color: var(--up);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.section.dark .checklist li b { color: #fff; font-family: var(--font-head); }
.section.dark .checklist li span { color: var(--on-dark-mute); display: block; font-size: 14.5px; }
.checklist li b { color: var(--ink); font-family: var(--font-head); font-size: 16px; }
.checklist li span { color: var(--ink-soft); display: block; font-size: 14.5px; }

.quote-card {
  background: linear-gradient(165deg, var(--bg-dark-2), #120c2b);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 34px; color: var(--on-dark);
}
.quote-card .mk { font-family: var(--font-head); font-size: 44px; color: var(--brand-2); line-height: .6; }
.quote-card blockquote { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: #fff; margin: 14px 0 16px; line-height: 1.4; }
.quote-card cite { font-style: normal; font-size: 13.5px; color: var(--on-dark-mute); }

/* ---------- Education columns ---------- */
.edu-card { display: flex; flex-direction: column; height: 100%; }
.edu-card .badge {
  align-self: flex-start; font-family: var(--font-head); font-weight: 600;
  font-size: 12px; letter-spacing: .6px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.badge.beg { background: #e7f6f0; color: #0d8a5f; }
.badge.int { background: #ece9fe; color: var(--brand-deep); }
.edu-card ul { list-style: none; display: grid; gap: 12px; margin-top: 8px; }
.edu-card li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-soft); }
.edu-card li::before {
  content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px;
  border-radius: 2px; background: var(--grad);
}

/* ---------- Expectation list ---------- */
.expect { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background:#fff; }
.expect .item { display: flex; gap: 18px; padding: 22px 24px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.expect .item:last-child { border-bottom: none; }
.expect .item:hover { background: var(--bg-soft); }
.expect .ic {
  flex: none; width: 42px; height: 42px; border-radius: 11px;
  background: var(--grad-soft); border: 1px solid #e7e3ff;
  display: flex; align-items: center; justify-content: center;
}
.expect .ic svg { width: 21px; height: 21px; }
.expect .txt h3 { font-size: 17px; }
.expect .txt p { color: var(--ink-soft); font-size: 14.5px; margin-top: 2px; }
.expect .soon {
  margin-left: auto; flex: none; align-self: center;
  font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; color: var(--amber); background: #fef3c7;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.expect .live {
  margin-left: auto; flex: none; align-self: center;
  font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; color: var(--up); background: #d1fae5;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius); padding: 52px 48px; background: var(--bg-dark); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 280px at 85% 15%, rgba(139,92,246,.42), transparent 70%);
}
.cta-band .inner { position: relative; max-width: 560px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-mute); margin: 12px 0 26px; font-size: 17px; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  background: var(--bg-dark); color: var(--on-dark);
  position: relative; overflow: hidden; padding: 70px 0 64px;
}
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 320px at 80% 0%, rgba(139,92,246,.36), transparent 70%);
}
.page-head .inner { position: relative; max-width: 720px; }
.page-head h1 { font-size: clamp(30px, 4.2vw, 44px); color: #fff; }
.page-head p { color: var(--on-dark-mute); font-size: 18px; margin-top: 14px; max-width: 620px; }
.crumb { font-size: 13px; color: var(--on-dark-mute); margin-bottom: 16px; font-family: var(--font-head); }
.crumb a { color: #c4b5fd; }

/* ---------- Dashboard embed ---------- */
.embed-shell {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: #fff;
}
.embed-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.embed-bar .dots { display: flex; gap: 6px; }
.embed-bar .dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.embed-bar .dots i:nth-child(1){ background:#f87171; }
.embed-bar .dots i:nth-child(2){ background:#fbbf24; }
.embed-bar .dots i:nth-child(3){ background:#34d399; }
.embed-bar .label { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--ink-soft); }
.embed-bar .open { margin-left: auto; font-size: 13px; font-weight: 600; }
.embed-shell iframe { width: 100%; height: 1180px; border: 0; display: block; background:#f5f6f8; }

/* ---------- "How to read" mini cards ---------- */
.howto { display: grid; gap: 16px; grid-template-columns: repeat(3,1fr); }
.howto .h {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.howto .h .k { font-family: var(--font-head); font-weight:700; font-size:14.5px; color: var(--ink); }
.howto .h .k em { font-style: normal; color: var(--brand-deep); }
.howto .h p { font-size: 14px; color: var(--ink-soft); margin-top: 5px; }

/* ---------- Coming-soon block ---------- */
.soon-block { text-align: center; max-width: 560px; margin: 0 auto; }
.soon-block .glyph {
  width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 20px;
  background: var(--grad-soft); border: 1px solid #e7e3ff;
  display: flex; align-items: center; justify-content: center;
}
.soon-block .glyph svg { width: 34px; height: 34px; }
.soon-block .tag {
  display:inline-block; font-family: var(--font-head); font-size: 12px; font-weight:600;
  letter-spacing: .8px; text-transform: uppercase; color: var(--amber);
  background:#fef3c7; padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}
.soon-block h1 { font-size: clamp(28px,3.6vw,40px); }
.soon-block p { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }
.preview-list { list-style:none; display:grid; gap:10px; margin: 26px auto 30px; max-width: 420px; text-align:left; }
.preview-list li { display:flex; gap:11px; font-size:15px; color: var(--ink-soft); background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 16px; }
.preview-list li::before { content:""; flex:none; width:8px; height:8px; margin-top:8px; border-radius:2px; background: var(--grad); }

/* ---------- Disclaimer strip ---------- */
.disclaimer {
  border: 1px dashed #d6c9f0; background: #faf8ff; border-radius: var(--radius-sm);
  padding: 18px 22px; display: flex; gap: 14px; align-items: flex-start;
}
.disclaimer svg { flex: none; width: 22px; height: 22px; color: var(--brand-deep); margin-top: 1px; }
.disclaimer p { font-size: 14px; color: var(--ink-soft); }
.disclaimer b { color: var(--ink); font-family: var(--font-head); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: var(--on-dark-mute); padding: 60px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.footer .brand { color:#fff; margin-bottom: 14px; }
.footer .brand b { color: #c4b5fd; }
.footer-blurb { font-size: 14.5px; max-width: 320px; }
.footer h4 { font-family: var(--font-head); font-size: 13px; letter-spacing: .8px; text-transform: uppercase; color:#fff; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer ul a { color: var(--on-dark-mute); font-size: 14.5px; }
.footer ul a:hover { color: #fff; }
.footer-disclaimer {
  margin-top: 30px; padding: 20px 22px; border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm); background: rgba(255,255,255,.03);
}
.footer-disclaimer b { color: #fff; font-family: var(--font-head); }
.footer-disclaimer p { font-size: 13px; line-height: 1.7; }
.footer-disclaimer p + p { margin-top: 9px; }
.footer-bottom { display:flex; flex-wrap:wrap; gap: 14px; justify-content: space-between; margin-top: 28px; font-size: 13px; }
.footer-bottom a { color: var(--on-dark-mute); }
.footer-bottom a:hover { color:#fff; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 34px; }
  .howto { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-blurb { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .howto { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
  .cta-band { padding: 38px 26px; }
  .hero { padding: 70px 0 78px; }
  .hero-meta { gap: 20px; }
  .expect .item { flex-wrap: wrap; }
  .expect .soon, .expect .live { margin-left: 56px; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ============================================================
   Print stylesheet
   Applies when the user prints any page (Ctrl+P -> Save as PDF).
   Goal: produce a clean, ink-efficient PDF that reads like a doc.
   ============================================================ */
@media print {
  /* Hide site chrome that does not belong in a printed document */
  .nav, .nav-toggle, .nav-menu,
  .cta-band, .section.tight,
  .footer-bottom { display: none !important; }

  /* Soften the dark hero / page-head / patterns band for ink */
  .hero, .page-head, .section.dark, .footer {
    background: #fff !important;
    color: #15112b !important;
  }
  .hero::before, .hero::after,
  .page-head::before, .cta-band::before { display: none !important; }
  .hero h1, .page-head h1, .section.dark h2 { color: #15112b !important; }
  .hero h1 .grad { -webkit-text-fill-color: #4f46e5 !important; color: #4f46e5 !important; background: none !important; }
  .hero .sub, .hero-meta .item .l, .page-head p,
  .section.dark .lead, .section.dark .checklist li span,
  .hero .pill, .crumb { color: #4a4660 !important; }
  .section.dark .checklist li b,
  .hero-meta .item .n { color: #15112b !important; }
  .section.dark .eyebrow, .page-head .eyebrow,
  .crumb a { color: #4f46e5 !important; }
  .footer h4, .footer .brand, .footer-blurb,
  .footer ul a { color: #15112b !important; }
  .footer-disclaimer { background: #fff !important; border-color: #d6c9f0 !important; }

  /* The Google Sheet iframe will not print usefully -- replace with a note */
  .embed-shell { border: 1px dashed #c4b5fd !important; box-shadow: none !important; }
  .embed-shell iframe { display: none !important; }
  .embed-bar { background: #f6f5fb !important; }
  .embed-shell::after {
    content: "The live cohort tracker is interactive and best viewed online. Open the page on trade2swing.com to explore the sortable, filterable sheet.";
    display: block;
    padding: 26px 24px;
    text-align: center;
    color: #4a4660;
    font-style: italic;
    font-size: 11pt;
  }

  /* Keep figures, cards, and key blocks from breaking across pages */
  figure, .card, .embed-shell, .quote-card, .disclaimer,
  .footer-disclaimer { page-break-inside: avoid; break-inside: avoid; }
  h1, h2, h3 { page-break-after: avoid; break-after: avoid; }
  img { max-width: 100% !important; height: auto !important; }

  /* General print tweaks */
  body { font-size: 11pt; }
  .section, .section.soft { padding: 18px 0 !important; background: #fff !important; }
  .page-head, .hero { padding: 24px 0 !important; }
  .wrap { padding: 0 18px !important; }
  a { color: #4f46e5; }
  /* Show URLs after external links so the PDF carries the references */
  a[href^="http"]:after { content: " (" attr(href) ")"; font-size: 9pt; color: #888; word-break: break-all; }
  a[href^="#"]:after,
  a[href^="mailto:"]:after,
  a[href^="/"]:after { content: ""; }

  /* No purple hover effects on print */
  .btn { display: none !important; }
}

/* ============================================================
   Tabs (used on the Watch/Ready/IPO Lists page)
   ============================================================ */
.tabs { margin-top: 8px; }
.tab-buttons {
  display: flex; gap: 4px; padding: 6px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: 16px;
  flex-wrap: wrap;
}
.tab-button {
  flex: 1 1 auto;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  padding: 10px 18px; border: 0; border-radius: 10px;
  background: transparent; color: var(--ink-soft); cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.tab-button:hover { color: var(--ink); }
.tab-button.active {
  background: #fff; color: var(--brand-deep);
  box-shadow: 0 1px 2px rgba(20,16,40,.06), 0 4px 12px rgba(76,70,229,.10);
}
.tab-button .count {
  font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  background: rgba(99,102,241,.12); color: var(--brand-deep);
}
.tab-button.active .count { background: rgba(99,102,241,.18); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Spotlight card */
.spotlight-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.spotlight-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.spotlight-head .ticker {
  font-family: var(--font-head); font-weight: 800; font-size: 28px;
  color: var(--ink); letter-spacing: -0.5px;
}
.spotlight-head .co { color: var(--ink-soft); font-size: 16px; }
.spotlight-head .tag {
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: #ece9fe; color: var(--brand-deep);
  margin-left: auto;
}
.spotlight-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 14px 0 22px;
}
.spotlight-grid .cell {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px;
}
.spotlight-grid .cell .k {
  font-family: var(--font-head); font-size: 10.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--ink-mute);
}
.spotlight-grid .cell .v {
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  color: var(--ink); margin-top: 3px;
}
.spotlight-grid .cell.up .v { color: var(--up); }
.spotlight-grid .cell.down .v { color: var(--down); }
.spotlight-chart {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; margin-bottom: 18px;
}
.spotlight-chart img { width: 100%; display: block; }
.spotlight-body p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin: 12px 0; }
.spotlight-body p b { color: var(--ink); font-family: var(--font-head); }

.spotlight-empty {
  background: var(--bg-soft); border: 1px dashed #c4b5fd;
  border-radius: var(--radius); padding: 38px 28px; text-align: center;
}
.spotlight-empty .glyph {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 14px;
  background: var(--grad-soft); border: 1px solid #e7e3ff;
  display: flex; align-items: center; justify-content: center;
}
.spotlight-empty .glyph svg { width: 28px; height: 28px; }
.spotlight-empty h3 { font-size: 20px; margin-bottom: 6px; }
.spotlight-empty p { color: var(--ink-soft); font-size: 15px; max-width: 520px; margin: 0 auto; }

@media (max-width: 720px) {
  .spotlight-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-head .tag { margin-left: 0; }
}
