/* ========================================
   BRIEF PAGE — APEX QUANT
   ======================================== */

/* ========================================
   NAV
   ======================================== */
.brief-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-brand { display: flex; align-items: center; gap: 10px; }
.logo-mark { font-size: 20px; color: var(--accent); }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; color: var(--text); }
.nav-links { display: flex; gap: 24px; }
.nav-link { font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: var(--text); }

/* ========================================
   HERO
   ======================================== */
.brief-hero {
  position: relative;
  padding: 100px 80px 80px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: #F7B73115;
  border: 1px solid #F7B73130;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 28px;
}

.badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.06;
}

.hero-sub {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--accent);
  background: #F7B73112;
  border: 1px solid #F7B73125;
  padding: 5px 12px;
  border-radius: 4px;
}

/* ========================================
   SECTION COMMON
   ======================================== */
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 28px;
}

/* ========================================
   EXECUTIVE SUMMARY
   ======================================== */
.summary-section {
  padding: 72px 80px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 60% 40% at 50% 0%, #F7B73106 0%, transparent 70%);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.summary-item {
  display: flex;
  gap: 20px;
  padding: 28px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.2s;
}

.summary-item:hover { background: var(--surface2); }

.summary-item:nth-child(2n) { border-right: none; }
.summary-item:nth-child(n+3) { border-bottom: none; }

.summary-marker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
  padding-top: 2px;
}

.summary-item > div {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.summary-item strong { color: var(--text); }

/* ========================================
   THESIS CARDS
   ======================================== */
.thesis-section {
  padding: 72px 80px;
  border-bottom: 1px solid var(--border);
}

.thesis-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 0;
}

.thesis-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.thesis-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px #00000025;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}

.card-fund {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.fund-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent);
  color: #0C0F14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.conviction-badge {
  font-size: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
}

.conviction-high { background: #F7B73128; color: var(--accent); }
.conviction-medium { background: #F7B73115; color: #c4900a; }

.card-thesis {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
}

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.card-positions {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
}

.positions-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.position-list { display: flex; flex-direction: column; gap: 6px; }

.pos-row {
  display: grid;
  grid-template-columns: 52px 1fr 60px 48px;
  gap: 0;
  align-items: center;
  font-size: 13px;
  padding: 8px 12px;
  background: var(--surface2);
  border-radius: 6px;
}

.pos-ticker {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--text);
  font-size: 12px;
}

.pos-name { color: var(--muted); }

.pos-weight {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}

.pos-action {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 3px;
  text-align: center;
}

.action-add { background: #22c55e18; color: #22c55e; }
.action-cut { background: #ef444418; color: #ef4444; }
.action-hold { background: var(--surface); color: var(--muted); }

.card-signals {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: #0C0F14;
}

.signals-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.signals-list { display: flex; flex-direction: column; gap: 8px; }

.signal-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
  opacity: 0.7;
}

.card-verdict {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  background: var(--surface2);
}

.verdict-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.verdict-badge {
  font-size: 11px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

.verdict-yes { background: #22c55e20; color: #22c55e; }
.verdict-no { background: #ef444420; color: #ef4444; }

.verdict-reason {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ========================================
   SIGNALS WE'RE WATCHING
   ======================================== */
.signals-section {
  padding: 72px 80px;
  border-bottom: 1px solid var(--border);
}

.signals-inner { max-width: 900px; }

.signals-header { margin-bottom: 40px; }

.signals-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
}

.watch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.watch-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.watch-category {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.watch-category::before {
  content: '';
  display: block;
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--accent);
}

.watch-items { display: flex; flex-direction: column; gap: 10px; }

.watch-items > div {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.watch-items > div::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.5;
  font-size: 11px;
}

/* ========================================
   EMAIL CTA
   ======================================== */
.cta-section {
  padding: 80px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 60% 60% at 50% 0%, #F7B73106 0%, transparent 70%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.cta-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cta-sub { font-size: 16px; color: var(--muted); line-height: 1.65; max-width: 480px; }

.cta-form-wrap { flex-shrink: 0; min-width: 380px; }

.cta-form { display: flex; flex-direction: column; gap: 12px; }

.form-row { display: flex; gap: 8px; }

.email-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.email-input:focus { border-color: var(--accent); }

.cta-btn {
  padding: 12px 24px;
  background: var(--accent);
  color: #0C0F14;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
}

.cta-btn:hover:not(:disabled) { opacity: 0.85; }
.cta-btn:active:not(:disabled) { transform: scale(0.98); }
.cta-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.form-note { font-size: 12px; color: var(--muted); }

.form-success {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #22c55e;
  padding: 12px 16px;
  background: #22c55e12;
  border: 1px solid #22c55e30;
  border-radius: 6px;
}

/* ========================================
   BOTTOM CTA
   ======================================== */
.bottom-cta {
  padding: 100px 80px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}

.bottom-cta-inner { max-width: 600px; margin: 0 auto; }

.bottom-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 28px;
}

.badge-dot-sm {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: live-pulse 2s ease-in-out infinite;
}

.bottom-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.bottom-sub { font-size: 16px; color: var(--muted); line-height: 1.65; margin-bottom: 36px; }

.bottom-form-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.bottom-form-wrap .form-row { max-width: 420px; width: 100%; }

.bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
}

.bottom-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.bottom-link:hover { opacity: 0.7; }
.bottom-sep { color: var(--muted); }

/* ========================================
   FOOTER
   ======================================== */
.brief-footer {
  padding: 40px 80px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-tagline { font-size: 13px; color: var(--muted); margin-left: 8px; }

.footer-powered {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.powered-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: live-pulse 2s ease-in-out infinite;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1100px) {
  .brief-nav { padding: 16px 40px; }
  .brief-hero { padding: 80px 40px 60px; }
  .summary-section { padding: 56px 40px; }
  .thesis-section { padding: 56px 40px; }
  .signals-section { padding: 56px 40px; }
  .cta-section { padding: 64px 40px; }
  .cta-inner { flex-direction: column; gap: 40px; }
  .cta-form-wrap { min-width: 100%; width: 100%; }
  .bottom-cta { padding: 80px 40px; }
  .brief-footer { padding: 32px 40px; }
}

@media (max-width: 768px) {
  .summary-grid { grid-template-columns: 1fr; }
  .summary-item { border-right: none; }
  .summary-item:nth-child(n+3) { border-bottom: 1px solid var(--border); }
  .summary-item:last-child { border-bottom: none; }
  .thesis-cards { gap: 16px; }
  .watch-grid { grid-template-columns: 1fr; }
  .pos-row { grid-template-columns: 48px 1fr 52px; }
  .pos-action { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
}

@media (max-width: 640px) {
  .brief-nav { padding: 12px 24px; }
  .brief-hero { padding: 60px 24px 48px; }
  .summary-section { padding: 48px 24px; }
  .thesis-section { padding: 48px 24px; }
  .signals-section { padding: 48px 24px; }
  .cta-section { padding: 60px 24px; }
  .bottom-cta { padding: 60px 24px; }
  .brief-footer { padding: 24px; }
  .hero-tags { gap: 6px; }
  .form-row { flex-direction: column; }
  .bottom-links { flex-direction: column; gap: 8px; }
  .bottom-sep { display: none; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--rule); }