/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Tokens ────────────────────────────────────────── */
:root {
  --black:        #0a0a0a;
  --white:        #fafaf8;
  --cream:        #f5f4ef;
  --accent:       #1a6b3c;
  --accent-dark:  #155c33;
  --accent-light: #e8f5ee;
  --accent-glow:  rgba(26,107,60,0.15);
  --text:         #1a1a1a;
  --muted:        #6b6b6b;
  --border:       rgba(0,0,0,0.08);
  --serif:        'Instrument Serif', Georgia, serif;
  --sans:         'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:       16px;
  --radius-sm:    10px;
  --radius-pill:  100px;
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg:    0 20px 48px rgba(0,0,0,0.12);
}

/* ── Base ──────────────────────────────────────────── */
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Nav ───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(250,250,248,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--black);
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 14px; font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.nav-cta svg { width: 16px; height: 16px; }
.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* ── Buttons ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: white;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.btn-secondary:hover { background: var(--cream); border-color: rgba(0,0,0,0.15); }
.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; color: var(--black);
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* ── Section base ──────────────────────────────────── */
.section { padding: 100px 32px; max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -1.5px; line-height: 1.1;
  color: var(--black); max-width: 600px;
}
.section-title em { font-style: italic; color: var(--accent); }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 100px 32px 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,  rgba(26,107,60,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(26,107,60,0.04) 0%, transparent 60%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-light);
  border: 1px solid rgba(26,107,60,0.2);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
  margin-bottom: 32px;
  position: relative; z-index: 1;
  animation: fadeUp 0.6s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 88px);
  line-height: 1.05; letter-spacing: -2px;
  color: var(--black); max-width: 800px;
  position: relative; z-index: 1;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted); max-width: 520px;
  line-height: 1.6; margin-top: 24px; font-weight: 300;
  position: relative; z-index: 1;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 40px; justify-content: center;
  position: relative; z-index: 1;
  animation: fadeUp 0.6s 0.3s ease both;
}
.hero-stats {
  display: flex; align-items: center; gap: 24px;
  margin-top: 56px;
  position: relative; z-index: 1;
  animation: fadeUp 0.6s 0.4s ease both;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--serif);
  font-size: 28px; letter-spacing: -1px;
  color: var(--black);
}
.stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ── Ticker ────────────────────────────────────────── */
.ticker-wrap {
  background: var(--black);
  padding: 14px 0; overflow: hidden;
  position: relative;
}
.ticker-wrap::before, .ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2;
}
.ticker-wrap::before { left: 0;  background: linear-gradient(to right, var(--black), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(to left,  var(--black), transparent); }
.ticker-track {
  display: flex; gap: 48px;
  animation: ticker 35s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap; font-size: 13px;
  color: rgba(255,255,255,0.65); font-weight: 400;
}
.ticker-item strong { color: white; font-weight: 500; }
.ticker-tag {
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.3px;
}
.tag-order  { background: rgba(26,107,60,0.3);  color: #4ade80; }
.tag-expand { background: rgba(59,130,246,0.3); color: #93c5fd; }
.tag-ma     { background: rgba(168,85,247,0.3); color: #d8b4fe; }
.tag-earn   { background: rgba(245,158,11,0.3); color: #fcd34d; }

/* ── Steps ─────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px; margin-top: 56px;
  background: var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.step {
  background: var(--white);
  padding: 36px 32px;
}
.step-num {
  font-family: var(--serif);
  font-size: 48px; color: var(--accent-light);
  line-height: 1; margin-bottom: 20px;
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.step p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Signal cards ──────────────────────────────────── */
.signal-section { background: var(--cream); padding: 100px 32px; }
.signal-inner   { max-width: 1100px; margin: 0 auto; }
.signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px; margin-top: 56px;
}
.signal-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.25s ease;
  position: relative; overflow: hidden;
}
.signal-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.signal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.signal-card:hover::before { transform: scaleX(1); }
.signal-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  margin-bottom: 14px;
}
.signal-company  { font-size: 15px; font-weight: 600; line-height: 1.3; }
.signal-cat {
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
  background: var(--accent-light); color: var(--accent);
}
.signal-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.signal-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.signal-upside { font-size: 13px; font-weight: 600; color: var(--accent); }
.signal-time   { font-size: 11px; color: var(--muted); }
.signal-blur {
  position: absolute; inset: 0;
  backdrop-filter: blur(6px);
  background: rgba(250,250,248,0.75);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--radius);
  opacity: 0; transition: opacity 0.3s ease;
}
.signal-card:hover .signal-blur { opacity: 1; }
.signal-blur a {
  background: var(--accent); color: white;
  padding: 10px 22px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
  text-decoration: none;
}
.signal-blur span { font-size: 12px; color: var(--muted); }

/* ── Blog cards ────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px; margin-top: 56px;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
  text-decoration: none; color: inherit;
  display: block; background: white;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.blog-card-body { padding: 24px; }
.blog-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-light); color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.blog-title   { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.blog-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; }
.blog-meta {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--muted);
  display: flex; justify-content: space-between; align-items: center;
}

/* ── CTA band ──────────────────────────────────────── */
.cta-band {
  background: var(--black);
  padding: 100px 32px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(26,107,60,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 64px);
  color: white; letter-spacing: -2px; line-height: 1.1;
  max-width: 700px; margin: 0 auto 16px;
  position: relative; z-index: 1;
}
.cta-band h2 em { font-style: italic; color: #4ade80; }
.cta-band p {
  color: rgba(255,255,255,0.5);
  font-size: 17px; margin-bottom: 40px;
  position: relative; z-index: 1;
}

/* ── Page header (inner pages) ─────────────────────── */
.page-header {
  padding: 120px 32px 60px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -2px; line-height: 1.1;
  color: var(--black);
}
.page-header h1 em { font-style: italic; color: var(--accent); }
.page-header p {
  font-size: 18px; color: var(--muted);
  max-width: 500px; margin: 16px auto 0;
  font-weight: 300;
}

/* ── Pagination ────────────────────────────────────── */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 48px;
}
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.pagination a:hover  { background: var(--cream); }
.pagination .active  { background: var(--accent); color: white; border-color: var(--accent); }

/* ── Footer ────────────────────────────────────────── */
footer {
  background: var(--cream);
  padding: 64px 32px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 48px;
  align-items: flex-start; justify-content: space-between;
}
.footer-logo {
  font-family: var(--serif); font-size: 20px;
  letter-spacing: -0.5px; text-decoration: none;
  color: var(--black); display: block; margin-bottom: 12px;
}
.footer-logo span { color: var(--accent); }
.footer-disclaimer {
  font-size: 12px; color: var(--muted);
  max-width: 420px; line-height: 1.7;
}
.footer-links {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-bottom: 24px;
}
.footer-links a {
  font-size: 14px; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 12px; color: var(--muted);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  width: 100%;
}

/* ── Animations ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Mobile ────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 10px 14px; }

  .hero { padding: 88px 20px 60px; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 22px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }

  .section { padding: 72px 20px; }
  .signal-section { padding: 72px 20px; }
  .cta-band { padding: 72px 20px; }
  .page-header { padding: 100px 20px 48px; }
  footer { padding: 48px 20px 32px; }

  .steps { grid-template-columns: 1fr; gap: 1px; }
  .step { padding: 28px 24px; }

  .footer-inner { flex-direction: column; gap: 32px; }
}
@media (max-width: 480px) {
  .signal-grid, .blog-grid { grid-template-columns: 1fr; }
}
