:root {
  --bg: #F7F4EF;
  --fg: #1C1B19;
  --accent: #C9622F;
  --accent-light: #E8D5C4;
  --muted: #8C7F72;
  --surface: #FFFFFF;
  --border: #E2DDD6;
  --navy: #2B2A3A;
}

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

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

/* ── NAV ── */
.nav {
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  padding: 5rem 3rem 4rem;
}
.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: #4A453F;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  border-left: 2px solid var(--accent-light);
  padding-left: 1rem;
}

/* ── INBOX SCENE ── */
.inbox-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.inbox-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(28,27,25,0.06), 0 1px 4px rgba(28,27,25,0.04);
}
.inbox-header {
  background: #FAFAF8;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.inbox-dots {
  display: flex;
  gap: 5px;
}
.inbox-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.inbox-title {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.inbox-badge {
  margin-left: auto;
  font-size: 0.7rem;
  background: var(--accent);
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-weight: 500;
}
.email-list {
  padding: 0.5rem 0;
}
.email-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: background 0.15s;
}
.email-item:last-child { border-bottom: none; }
.email-item:hover { background: #FDFCFB; }
.email-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.email-from {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg);
}
.email-time {
  font-size: 0.7rem;
  color: var(--muted);
}
.email-subject {
  font-size: 0.8rem;
  color: var(--muted);
}
.email-status {
  margin-top: 0.3rem;
}
.status-chip {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-weight: 500;
}
.status-chip--done {
  background: #E8F5E9;
  color: #2E7D32;
}
.status-chip--flag {
  background: #FFF3E0;
  color: var(--accent);
  border: 1px solid var(--accent-light);
}
.inbox-footer {
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--border);
  background: #FAFAF8;
}
.ai-badge {
  font-size: 0.7rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ai-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4CAF50;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ai-cursor {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 0.5rem;
}
.cursor-line {
  height: 1.5px;
  width: 80px;
  background: var(--accent);
  border-radius: 2px;
  animation: typing 1.5s ease-in-out infinite;
}
@keyframes typing {
  0%, 100% { width: 40px; opacity: 0.5; }
  50% { width: 90px; opacity: 1; }
}
.cursor-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-style: italic;
}

/* ── MANIFESTO ── */
.manifesto {
  background: var(--navy);
  padding: 5rem 3rem;
}
.manifesto-inner {
  max-width: 680px;
  margin: 0 auto;
}
.manifesto-rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 2rem;
}
.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-style: italic;
  font-weight: 400;
  color: #F0EDE6;
  line-height: 1.45;
  margin-bottom: 1.75rem;
}
.manifesto-body {
  font-size: 0.95rem;
  color: #9A9490;
  line-height: 1.75;
}

/* ── FEATURES ── */
.features {
  padding: 5rem 3rem;
  background: var(--bg);
}
.features-header {
  max-width: 1100px;
  margin: 0 auto 3.5rem;
}
.features-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.features-sub {
  font-size: 1rem;
  color: var(--muted);
}
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: box-shadow 0.2s;
}
.feature-card:hover {
  box-shadow: 0 4px 20px rgba(28,27,25,0.07);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.feature-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.feature-desc {
  font-size: 0.88rem;
  color: #5A5349;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.feature-detail {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.feature-detail span {
  font-size: 0.7rem;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-weight: 500;
}

/* ── THE PROBLEM ── */
.theproblem {
  padding: 5rem 3rem;
  background: #EFEBE4;
}
.theproblem-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.stats-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
.stat {
  flex: 1;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}
.theproblem-conclusion {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
}

/* ── HOW IT WORKS ── */
.howitworks {
  padding: 5rem 3rem;
  background: var(--bg);
}
.howitworks-header {
  max-width: 1100px;
  margin: 0 auto 3.5rem;
}
.hiw-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--fg);
}
.hiw-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hiw-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.hiw-step:last-of-type { border-bottom: none; }
.hiw-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  padding-top: 0.2rem;
}
.hiw-step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.hiw-step-desc {
  font-size: 0.92rem;
  color: #5A5349;
  line-height: 1.7;
}
.hiw-outro {
  max-width: 600px;
  margin: 3rem auto 0;
  text-align: center;
}
.hiw-outro p {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.7;
}

/* ── CLOSING ── */
.closing {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 6rem 3rem;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}
.closing-rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 2rem;
}
.closing-statement {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 2rem;
}
.closing-sub p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── FOOTER ── */
.footer {
  padding: 3rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-copy {
  font-size: 0.75rem;
  color: #B0A89E;
  margin-top: 1rem;
}

/* ── PRICING ── */
.pricing-section {
  padding: 5rem 3rem;
  background: #EFEBE4;
}
.pricing-inner {
  max-width: 680px;
  margin: 0 auto;
}
.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}
.pricing-rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
}
.pricing-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.pricing-sub {
  font-size: 1rem;
  color: var(--muted);
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 20px rgba(28,27,25,0.06);
}
.pricing-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.plan-badge {
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--fg);
}
.price-period {
  font-size: 1rem;
  color: var(--muted);
}
.plan-tagline {
  flex: 1;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #4A453F;
}
.check-icon {
  color: var(--accent);
  font-weight: 500;
  flex-shrink: 0;
}
.plan-cta {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.btn-pricing-primary {
  display: inline-block;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.15s;
  margin-bottom: 0.75rem;
}
.btn-pricing-primary:hover { opacity: 0.85; }
.plan-cta-note {
  font-size: 0.8rem;
  color: var(--muted);
}
.pricing-faq {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.faq-item {}
.faq-q {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--fg);
  margin-bottom: 0.3rem;
}
.faq-a {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .hero { padding: 3rem 1.5rem 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .features { padding: 3rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .theproblem { padding: 3rem 1.5rem; }
  .stats-row { flex-direction: column; gap: 1.5rem; }
  .stat-divider { width: 40px; height: 1px; }
  .manifesto { padding: 3rem 1.5rem; }
  .howitworks { padding: 3rem 1.5rem; }
  .hiw-step { grid-template-columns: 1fr; gap: 0.5rem; }
  .hiw-num { font-size: 1.5rem; }
  .closing { padding: 4rem 1.5rem; }
}
