:root {
  --bg: #F9F6F1;
  --bg-alt: #F1EDE6;
  --surface: #FFFFFF;
  --fg: #1A1A2E;
  --fg-muted: #5A5A6E;
  --accent: #F4622A;
  --accent-light: #FFF0EA;
  --border: #E0D9D0;
  --green: #2D7A4F;
  --green-bg: #EAF5EE;
  --red: #C0392B;
  --red-bg: #FBEAE9;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249,246,241,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
}

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 420px;
}

/* Client Panel (hero visual) */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.client-panel {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(26,26,46,0.07), 0 1px 4px rgba(26,26,46,0.04);
  overflow: hidden;
}

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

.panel-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}

.panel-count {
  font-size: 12px;
  color: var(--fg-muted);
  background: var(--border);
  padding: 2px 8px;
  border-radius: 20px;
}

.client-list {
  padding: 4px 0;
}

.client-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}

.client-row:last-child { border-bottom: none; }

.client-row--overdue {
  background: var(--red-bg);
}

.client-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg);
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.client-avatar--alert {
  background: var(--red-bg);
  color: var(--red);
}

.client-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.client-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.client-service {
  font-size: 11px;
  color: var(--fg-muted);
}

.client-status {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot--green { background: var(--green); }
.status-dot--red { background: var(--red); }

.status-label {
  font-size: 10px;
  color: var(--fg-muted);
  white-space: nowrap;
}

.status-label--red {
  color: var(--red);
  font-weight: 500;
}

.alert-banner {
  padding: 10px 20px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}

/* Workflow */
.workflow {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 32px;
}

.workflow-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--fg);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--fg-muted);
}

.workflow-steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-connector {
  flex-shrink: 0;
  width: 48px;
  height: 1px;
  background: var(--border);
  margin-bottom: 48px;
}

/* Features */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}

.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  background: var(--fg);
  padding: 80px 32px;
}

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

.testimonials .section-title {
  color: #fff;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 12px;
}

.testimonials .section-sub {
  color: rgba(255,255,255,0.6);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 56px;
}

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

.testimonial {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-text {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

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

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.author-role {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Pricing Manifesto */
.pricing-manifesto {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 80px 32px;
}

.manifesto-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.manifesto-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 16px;
}

.manifesto-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 48px;
}

.pricing-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}

.pricing-tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  flex: 1;
  max-width: 280px;
  text-align: left;
}

.pricing-tier--featured {
  border-color: var(--accent);
  position: relative;
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.tier-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-price {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.tier-period {
  font-size: 16px;
  font-weight: 400;
  color: var(--fg-muted);
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-features li {
  font-size: 14px;
  color: var(--fg-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tier-features li::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7l3 3 5-5' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Closing */
.closing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
  text-align: center;
}

.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  flex: 1;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px 56px;
  }

  .hero-visual { justify-content: flex-start; }
  .client-panel { max-width: 100%; }

  .workflow-steps {
    flex-direction: column;
    gap: 0;
  }

  .step-connector {
    width: 1px;
    height: 32px;
    margin: 0 auto;
    margin-bottom: 0;
  }

  .features-grid { grid-template-columns: 1fr; gap: 24px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .pricing-options { flex-direction: column; align-items: center; }
  .pricing-tier { max-width: 320px; }

  .footer-inner { flex-wrap: wrap; }
}