/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #FAF8F5;
  --charcoal: #1A1A1A;
  --amber: #C8965A;
  --amber-light: #E8C49A;
  --amber-dark: #9E7040;
  --slate: #6B7280;
  --slate-light: #9CA3AF;
  --white: #FFFFFF;
  --border: rgba(26,26,26,0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--slate);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 80px 80px;
}

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

.hero-geo {
  position: absolute;
  border-radius: 50%;
}

.hero-geo--1 {
  width: 600px;
  height: 600px;
  right: -100px;
  top: -150px;
  background: radial-gradient(circle, rgba(200,150,90,0.08) 0%, transparent 70%);
}

.hero-geo--2 {
  width: 400px;
  height: 400px;
  right: 50px;
  top: 50px;
  border: 1px solid rgba(200,150,90,0.15);
}

.hero-geo--3 {
  width: 250px;
  height: 250px;
  right: 120px;
  top: 130px;
  border: 1px solid rgba(200,150,90,0.1);
}

.hero-geo--4 {
  width: 80px;
  height: 80px;
  right: 220px;
  top: 220px;
  background: rgba(200,150,90,0.15);
}

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

.hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 540px;
  font-weight: 300;
}

.hero-accent {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
}

.accent-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--amber);
}

.accent-ring--1 {
  width: 300px;
  height: 300px;
  right: 0;
  top: 50px;
  opacity: 0.4;
}

.accent-ring--2 {
  width: 200px;
  height: 200px;
  right: 50px;
  top: 100px;
  opacity: 0.2;
}

.accent-ring--3 {
  width: 100px;
  height: 100px;
  right: 100px;
  top: 150px;
  background: rgba(200,150,90,0.1);
  border: none;
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 80px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '02';
  position: absolute;
  top: 40px;
  right: 80px;
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  letter-spacing: -0.04em;
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 48px;
  max-width: 900px;
  align-items: start;
}

.manifesto-number {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--amber);
  padding-top: 6px;
  letter-spacing: 0.05em;
}

.manifesto-text {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 28px;
}

.manifesto-text em {
  font-style: italic;
  color: var(--amber-light);
}

.manifesto-text--secondary {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
}

/* === FEATURES === */
.features {
  padding: 120px 80px;
}

.features-header {
  margin-bottom: 72px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--charcoal);
  max-width: 600px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--cream);
  padding: 44px 40px;
  transition: background 0.2s;
}

.feature-card:hover {
  background: #fff;
}

.feature-icon {
  margin-bottom: 24px;
  height: 28px;
  display: flex;
  align-items: center;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  font-weight: 400;
}

/* === HOW === */
.how {
  padding: 100px 80px;
  background: var(--charcoal);
}

.how-inner .section-label {
  margin-bottom: 64px;
}

.how-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex: 1;
}

.step-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -4px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  font-weight: 300;
}

.step-connector {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
  margin: 0 32px;
  margin-top: 20px;
}

/* === OUTCOMES === */
.outcomes {
  padding: 100px 80px;
}

.outcomes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.outcomes-visual {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-right: 40px;
}

.outcome-stat {
  border-left: 2px solid var(--amber);
  padding-left: 28px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--slate);
  font-weight: 400;
}

.outcomes-copy {
  padding-left: 40px;
  border-left: 1px solid var(--border);
}

.outcomes-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.outcomes-desc {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.8;
  font-weight: 300;
}

/* === CLOSING === */
.closing {
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}

.closing-geo {
  position: absolute;
  right: -200px;
  bottom: -200px;
  width: 700px;
  height: 700px;
}

.closing-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200,150,90,0.2);
}

.closing-ring--1 {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.closing-ring--2 {
  width: 350px;
  height: 350px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.closing-ring--3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(200,150,90,0.06);
  border: none;
}

.closing-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.closing-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  font-weight: 300;
}

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

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

.footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--slate);
}

.footer-note {
  font-size: 12px;
  color: var(--slate-light);
  letter-spacing: 0.02em;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes-inner { grid-template-columns: 1fr; gap: 60px; }
  .outcomes-copy { border-left: none; padding-left: 0; }
  .how-steps { flex-direction: column; gap: 40px; }
  .step-connector { display: none; }
}

@media (max-width: 768px) {
  .hero, .manifesto, .features, .how, .outcomes, .closing, .footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .nav { padding: 16px 28px; }
  .hero { padding-top: 100px; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-accent { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* === NAV LINKS === */
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--charcoal);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
}

.btn-primary:hover {
  background: #2a2a2a;
}

.btn-secondary {
  background: rgba(26,26,26,0.08);
  color: var(--charcoal);
}

.btn-secondary:hover {
  background: rgba(26,26,26,0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--slate);
}

.btn-ghost:hover {
  background: rgba(26,26,26,0.05);
  color: var(--charcoal);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* === PIPELINE PAGE === */
.pipeline-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 48px 60px;
}

.pipeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 48px;
}

.pipeline-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.pipeline-subtitle {
  font-size: 16px;
  color: var(--slate);
  font-weight: 400;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.pipeline-column {
  background: rgba(26,26,26,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.pipeline-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.pipeline-column-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
}

.pipeline-column-count {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
  background: rgba(26,26,26,0.06);
  padding: 2px 8px;
  border-radius: 10px;
}

.pipeline-column-cards {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}

.pipeline-column-empty {
  font-size: 13px;
  color: var(--slate-light);
  text-align: center;
  padding: 32px 16px;
}

/* === CLIENT CARD === */
.client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  transition: box-shadow 0.2s;
}

.client-card:hover {
  box-shadow: 0 4px 12px rgba(26,26,26,0.06);
}

.client-card-header {
  margin-bottom: 8px;
}

.client-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.client-card-company {
  font-size: 13px;
  color: var(--slate);
}

.client-card-action {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 12px;
}

.client-card-footer {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.client-card-archive-form {
  display: inline;
}

/* === FORM PAGE === */
.form-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 100px 48px 60px;
}

.form-header {
  margin-bottom: 36px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 16px;
  color: var(--slate);
}

/* === CLIENT FORM === */
.client-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
}

.form-required {
  color: var(--amber);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid rgba(26,26,26,0.15);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200,150,90,0.1);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  padding-top: 12px;
}

/* === DIGEST PAGE === */
.digest-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 48px 60px;
}

.digest-header {
  margin-bottom: 48px;
}

.digest-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.digest-subtitle {
  font-size: 16px;
  color: var(--slate);
}

.digest-sections {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.digest-section {
  background: rgba(26,26,26,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.digest-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(26,26,26,0.01);
}

.digest-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
}

.digest-section-meta {
  font-size: 13px;
  color: var(--slate);
}

.digest-empty {
  font-size: 14px;
  color: var(--slate-light);
  padding: 32px 24px;
  text-align: center;
}

.digest-list {
  display: flex;
  flex-direction: column;
}

.digest-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.digest-item:last-child {
  border-bottom: none;
}

.digest-item-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.digest-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
}

.digest-item-name:hover {
  color: var(--amber-dark);
}

.digest-item-company {
  font-size: 13px;
  color: var(--slate);
}

.digest-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.digest-item-updated {
  font-size: 12px;
  color: var(--slate-light);
}

/* === STAGE BADGES === */
.stage-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  background: rgba(26,26,26,0.06);
  color: var(--slate);
}

.stage-badge-prospect {
  background: rgba(200,150,90,0.15);
  color: var(--amber-dark);
}

.stage-badge-qualified {
  background: rgba(100,149,237,0.15);
  color: #5a7fc4;
}

.stage-badge-engaged {
  background: rgba(60,179,113,0.15);
  color: #3d8b5a;
}

.stage-badge-completed {
  background: rgba(26,26,26,0.08);
  color: var(--charcoal);
}

/* === RESPONSIVE PIPELINE === */
@media (max-width: 1200px) {
  .pipeline-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .pipeline-page, .form-page, .digest-page {
    padding-left: 24px;
    padding-right: 24px;
  }

  .pipeline-header {
    flex-direction: column;
    gap: 20px;
  }

  .pipeline-grid {
    grid-template-columns: 1fr;
  }

  .digest-section-header {
    flex-direction: column;
    gap: 4px;
  }

  .digest-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .digest-item-meta {
    width: 100%;
    justify-content: space-between;
  }
}