/* ============================================
   Signal — Landing Page Stylesheet
   Instrument Serif + Instrument Sans
   Warm off-white + near-black + electric green
   ============================================ */

:root {
  --bg: #F7F6F1;
  --fg: #111111;
  --accent: #00C97D;
  --accent-dim: rgba(0, 201, 125, 0.12);
  --muted: #8A8A7A;
  --surface: #EEECE7;
  --border: rgba(17, 17, 17, 0.1);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 96px;
  --space-2xl: 128px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  background: rgba(247, 246, 241, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.nav-tag {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-tag-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: var(--space-2xl) 48px var(--space-xl);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.manifesto-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.manifesto-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse at 70% 30%, rgba(0, 201, 125, 0.06) 0%, transparent 60%);
}

.manifesto-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 80%);
}

.manifesto-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 40px;
}

.manifesto-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.eyebrow-line {
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--accent);
}

.eyebrow-line-light {
  display: block;
  width: 32px;
  height: 1.5px;
  background: rgba(0, 201, 125, 0.6);
}

.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.manifesto-headline em {
  font-style: italic;
  color: var(--accent);
}

.manifesto-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.manifesto-sub {
  font-size: 1.2rem;
  color: #3a3a3a;
  line-height: 1.7;
}

.manifesto-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- DETAIL ---- */
.detail {
  padding: var(--space-xl) 48px;
  background: var(--fg);
  color: #F7F6F1;
}

.detail-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.detail-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.detail-strike {
  text-decoration: line-through;
  text-decoration-color: rgba(247, 246, 241, 0.3);
  text-decoration-thickness: 2px;
}

.detail-underline {
  color: var(--accent);
}

.detail-body {
  font-size: 1.05rem;
  color: rgba(247, 246, 241, 0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}

.detail-visual {
  display: flex;
  justify-content: center;
}

.detail-screen {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}

.screen-header {
  background: #111;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.screen-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.screen-dot.red { background: #ff5f57; }
.screen-dot.yellow { background: #ffbd2e; }
.screen-dot.green { background: #28c840; }

.screen-title {
  margin-left: 8px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
}

.screen-content {
  padding: 20px;
}

.email-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.email-from {
  display: flex;
  align-items: center;
  gap: 10px;
}

.email-avatar {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #111;
}

.email-from-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #F7F6F1;
}

.email-from-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}

.email-time {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
}

.email-line {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  margin-bottom: 10px;
}

.email-line.short { width: 50%; }
.email-line.medium { width: 80%; }
.email-line.long { width: 95%; }

.email-section-label {
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 16px 0 12px;
  font-weight: 600;
}

.tool-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tool-rank {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
  font-weight: 600;
  padding-top: 2px;
  min-width: 24px;
}

.tool-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #F7F6F1;
  margin-bottom: 4px;
}

.tool-desc {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
  line-height: 1.5;
}

.tag-accent {
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* ---- PIPELINE ---- */
.pipeline {
  padding: var(--space-xl) 48px;
  background: var(--bg);
}

.pipeline-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  max-width: 600px;
}

.section-eyebrow.light {
  color: rgba(0, 201, 125, 0.7);
}

.section-headline.light {
  color: #F7F6F1;
}

.pipeline-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 400;
}

.step-icon {
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-body {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.step-connector {
  display: flex;
  align-items: center;
  padding: 0 8px;
  padding-top: 40px;
  flex-shrink: 0;
}

/* ---- REVENUE ---- */
.revenue {
  padding: var(--space-xl) 48px;
  background: var(--fg);
}

.revenue-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.revenue-body {
  color: rgba(247, 246, 241, 0.6);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.revenue-paths {
  display: flex;
  gap: 0;
}

.path {
  flex: 1;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}

.path-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.path-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: #F7F6F1;
  margin-bottom: 16px;
  line-height: 1.2;
}

.path-body {
  font-size: 0.85rem;
  color: rgba(247, 246, 241, 0.6);
  line-height: 1.7;
  margin-bottom: 16px;
}

.path-proof {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(247, 246, 241, 0.4);
  font-style: italic;
}

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

.path-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 24px;
}

/* Chart */
.chart-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
}

.chart-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.chart {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 160px;
  position: relative;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex: 1;
  height: 100%;
}

.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.bar {
  width: 100%;
  background: linear-gradient(to top, var(--accent), rgba(0, 201, 125, 0.4));
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  position: relative;
  transition: opacity 0.3s;
}

.bar-target .bar {
  background: linear-gradient(to top, var(--accent), rgba(0, 201, 125, 0.6));
  box-shadow: 0 0 20px rgba(0, 201, 125, 0.3);
}

.bar-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
  text-align: center;
  white-space: nowrap;
}

.bar-target-label {
  color: var(--accent);
  font-weight: 600;
}

.bar-val {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: rgba(255,255,255,0.4);
}

.chart-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 24px;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.2);
  text-align: right;
  padding-right: 8px;
  min-width: 40px;
}

.chart-note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  margin-top: 12px;
  font-style: italic;
}

/* Niches */
.niches-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

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

.niche-tag {
  padding: 6px 14px;
  border: 1px solid rgba(0, 201, 125, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  color: rgba(0, 201, 125, 0.8);
  background: var(--accent-dim);
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  padding: var(--space-xl) 48px;
  background: var(--bg);
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.testimonial {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.testimonial-accent {
  background: var(--accent-dim);
  border-color: rgba(0, 201, 125, 0.2);
}

.testimonial-quote-mark {
  margin-bottom: 20px;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--fg);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-source {
  display: flex;
  align-items: center;
  gap: 12px;
}

.source-line {
  width: 24px;
  height: 1.5px;
  background: var(--muted);
  flex-shrink: 0;
}

.source-line-accent {
  background: var(--accent);
}

.testimonial-source span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---- CLOSING ---- */
.closing {
  padding: var(--space-xl) 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: center;
}

.signal-rings {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 201, 125, 0.15);
}

.ring-1 { width: 80px; height: 80px; }
.ring-2 { width: 130px; height: 130px; }
.ring-3 { width: 180px; height: 180px; animation: ring-pulse 3s ease-in-out infinite; }

@keyframes ring-pulse {
  0%, 100% { border-color: rgba(0, 201, 125, 0.15); }
  50% { border-color: rgba(0, 201, 125, 0.35); }
}

.ring-center {
  position: relative;
  z-index: 1;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 1.05rem;
  color: #3a3a3a;
  line-height: 1.7;
  margin-bottom: 20px;
}

.closing-vision {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.vision-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.vision-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.6;
}

/* ---- FOOTER ---- */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
}

.footer-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .manifesto-content { grid-template-columns: 1fr; gap: 48px; }
  .detail-inner { grid-template-columns: 1fr; gap: 48px; }
  .revenue-inner { grid-template-columns: 1fr; gap: 48px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .closing-inner { grid-template-columns: 1fr; gap: 48px; }
  .pipeline-steps { flex-direction: column; }
  .step-connector { transform: rotate(90deg); padding: 8px 0; }
  .revenue-paths { flex-direction: column; }
  .path-divider { width: auto; height: 1px; margin: 0 0; }
}

@media (max-width: 768px) {
  :root { --space-xl: 64px; --space-2xl: 80px; }
  .nav, .manifesto, .detail, .pipeline, .revenue, .testimonials, .closing, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nav { padding: 16px 24px; }
  .manifesto-stats { gap: 20px; }
  .stat-num { font-size: 1.5rem; }
  .manifesto { padding-top: 100px; }
}