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

:root {
  --bg: #F7F4EE;
  --bg-alt: #EFEBE3;
  --fg: #1C1C1C;
  --fg-muted: #6B6560;
  --green: #1C3A2A;
  --green-light: #2A5240;
  --amber: #D4943A;
  --amber-light: #E8B05A;
  --border: #DDD8CF;
  --white: #FFFFFF;
}

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

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

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 32px;
  height: 32px;
  background: var(--green);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.5px;
  border-radius: 6px;
}

.nav-name {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--green);
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* === HERO === */
.hero {
  padding: 5rem 2.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

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

/* Hero Visual — CSS Inbox + Website Mockup */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.inbox-mock {
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(28, 58, 42, 0.08), 0 1px 4px rgba(28, 58, 42, 0.04);
}

.inbox-header {
  background: var(--bg-alt);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.inbox-dots {
  display: flex;
  gap: 5px;
}

.inbox-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

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

.inbox-emails {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.email-item {
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
  background: var(--bg);
  cursor: default;
}

.email-item.email-read {
  opacity: 0.75;
}

.email-item.email-unread {
  background: var(--green);
  opacity: 1;
}

.email-from {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2px;
}

.email-item.email-unread .email-from { color: var(--bg); }

.email-subject {
  font-size: 10px;
  color: var(--fg-muted);
  margin-bottom: 2px;
}

.email-item.email-unread .email-subject { color: rgba(247, 244, 238, 0.7); }

.email-preview {
  font-size: 10px;
  color: var(--fg-muted);
  font-style: italic;
}

.email-item.email-unread .email-preview { color: rgba(247, 244, 238, 0.6); }

/* Website mockup inside inbox */
.website-mock {
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.mock-browser-bar {
  background: var(--bg-alt);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mock-browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.mock-url {
  font-size: 10px;
  color: var(--fg-muted);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: auto;
}

.mock-content {
  padding: 1rem;
}

.mock-hero-block {
  height: 48px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  border-radius: 6px;
  margin-bottom: 0.625rem;
}

.mock-services {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}

.mock-card {
  height: 36px;
  background: var(--bg-alt);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.mock-cta {
  height: 20px;
  background: var(--amber);
  border-radius: 4px;
  opacity: 0.8;
}

/* Hero metrics */
.hero-metric-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-value {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--green);
  line-height: 1;
}

.metric-label {
  font-size: 12px;
  color: var(--fg-muted);
}

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

/* === SHARED SECTION STYLES === */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.section-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 3rem;
  line-height: 1.2;
}

/* === PLAYBOOK === */
.playbook {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.playbook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}

.playbook-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.playbook-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
}

.playbook-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.playbook-icon.wrong {
  background: #FDE8E8;
  color: #C0392B;
}

.playbook-icon.right {
  background: #E8F4EC;
  color: var(--green);
}

/* === PROCESS === */
.process {
  padding: 5rem 0;
}

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

.step {
  flex: 1;
  padding: 0 1.5rem;
}

.step-number {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--amber);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-body h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.step-body p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--fg-muted);
}

.step-connector {
  width: 24px;
  flex-shrink: 0;
  height: 1px;
  background: var(--border);
  margin-top: 24px;
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--border);
  border-top: 2px solid var(--border);
  transform: rotate(45deg);
}

/* === PRICING === */
.pricing {
  padding: 5rem 0;
  background: var(--green);
}

.pricing .section-eyebrow { color: var(--amber-light); }
.pricing .section-headline { color: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.pricing-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.75rem;
}

.pricing-card.featured {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.pricing-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.5);
  margin-bottom: 1rem;
}

.pricing-stats .stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}

.pricing-stats .stat-row span:first-child {
  color: rgba(247, 244, 238, 0.65);
}

.pricing-stats .stat-row span:last-child {
  font-weight: 600;
  color: var(--bg);
}

.pricing-stats .stat-row.highlight span {
  color: var(--amber-light);
  font-weight: 700;
}

.pricing-revenue {
  font-family: 'DM Serif Display', serif;
  font-size: 2.25rem;
  color: var(--amber-light);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.pricing-note {
  font-size: 12px;
  color: rgba(247, 244, 238, 0.55);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.pricing-breakdown .breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 12px;
  color: rgba(247, 244, 238, 0.65);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pricing-breakdown .breakdown-item span:last-child {
  font-weight: 600;
  color: var(--bg);
}

.pricing-cost {
  font-family: 'DM Serif Display', serif;
  font-size: 2.25rem;
  color: var(--bg);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.stack-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.stack-list li {
  font-size: 12px;
  color: rgba(247, 244, 238, 0.6);
  padding-left: 1rem;
  position: relative;
}

.stack-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--amber);
}

/* === OBJECTIONS === */
.objections {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.objections-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}

.objection {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.objection h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.objection p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* === CLOSING === */
.closing {
  padding: 6rem 0;
}

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

.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.closing-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-muted);
}

/* === FOOTER === */
.footer {
  background: var(--green);
  padding: 3rem 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 15px;
  border-radius: 6px;
}

.footer-name {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--bg);
}

.footer-copy {
  font-size: 14px;
  color: rgba(247, 244, 238, 0.7);
  margin-bottom: 0.5rem;
}

.footer-sub {
  font-size: 12px;
  color: rgba(247, 244, 238, 0.4);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-tagline { display: none; }

  .hero { padding: 3rem 1.5rem 2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { justify-content: flex-start; }
  .inbox-mock { max-width: 100%; }
  .hero-metric-row { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .metric-divider { display: none; }

  .playbook-grid,
  .objections-list { grid-template-columns: 1fr; }

  .process-steps { flex-direction: column; gap: 2rem; }
  .step-connector { display: none; }

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

  .section-inner { padding: 0 1.5rem; }

  .closing { padding: 4rem 0; }

  .footer-inner { padding: 0 1.5rem; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.75rem; }
  .playbook-item h3 { font-size: 15px; }
}
