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

:root {
  --bg: #FAF7F2;
  --bg-warm: #F5EFE6;
  --fg: #1E1B17;
  --fg-muted: #6B6358;
  --accent: #C17D3C;
  --accent-warm: #D4A843;
  --border: rgba(30, 27, 23, 0.12);
  --card: #FFFFFF;
  --mock-bg: #0F0E0C;
  --mock-surface: #1A1814;
  --mock-border: rgba(255,255,255,0.07);
  --stat-done: #4ADE80;
  --stat-active: #F59E0B;
}

html { font-size: 16px; }

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

/* ─── HEADER ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wordmark {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.header-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--bg-warm);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}

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

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--fg);
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

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

/* ─── DASHBOARD MOCK ─────────────────────────────────── */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.dashboard-mock {
  background: var(--mock-bg);
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 32px 80px rgba(30, 27, 23, 0.25), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--mock-border);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mock-dot.red    { background: #FF5F57; }
.mock-dot.yellow { background: #FEBC2E; }
.mock-dot.green  { background: #28C840; }

.mock-title {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-left: 0.4rem;
}

.mock-body { padding: 1.1rem 1.1rem 1.2rem; }

.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.mock-stat {
  background: var(--mock-surface);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--mock-border);
}

.stat-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.mock-log { display: flex; flex-direction: column; gap: 0; }

.log-entry {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.log-entry:last-child { border-bottom: none; }

.log-time {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  flex-shrink: 0;
  width: 3rem;
}

.log-text {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

.log-entry.done .log-text { color: rgba(255,255,255,0.55); }

.log-entry.active {
  background: rgba(245, 158, 11, 0.08);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  margin-top: 0.2rem;
}
.log-entry.active .log-text { color: #F59E0B; }

/* ─── PROBLEM ─────────────────────────────────────────── */
.problem {
  background: var(--fg);
  color: #FAF7F2;
  padding: 5rem 2rem;
}

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.problem-number {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.problem-stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.45);
  margin-bottom: 0.5rem;
}

.problem-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: #FAF7F2;
  margin-bottom: 1.25rem;
}

.problem-body {
  font-size: 1rem;
  color: rgba(250,247,242,0.6);
  line-height: 1.7;
  max-width: 520px;
}

/* ─── WHAT / FEATURES ─────────────────────────────────── */
.what { padding: 6rem 2rem; }

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

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.what-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 3rem;
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.what-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow 0.2s ease;
}

.what-card:hover {
  box-shadow: 0 8px 32px rgba(30,27,23,0.08);
}

.what-icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.what-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.what-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.what-footer {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
}

.availability-dot {
  width: 8px;
  height: 8px;
  background: var(--stat-done);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.1); }
}

/* ─── BENEFITS ─────────────────────────────────────────── */
.benefits {
  padding: 6rem 2rem;
  background: var(--bg);
}

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

.benefits-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 2.5rem;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.5;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.benefits-list li:last-child { border-bottom: none; }

.benefits-list strong {
  color: var(--fg);
  font-weight: 600;
}

.benefit-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(193, 125, 60, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 0.1rem;
}

/* ─── HOW IT WORKS ────────────────────────────────────── */
.how {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 2rem;
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.how-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 2.5rem;
}

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

.setup-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.setup-step:last-child { border-bottom: none; }

.step-num {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.setup-step strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  display: block;
  margin-bottom: 0.3rem;
}

.setup-step p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ─── REPORT SAMPLE ───────────────────────────────────── */
.report-sample {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(30,27,23,0.06);
}

.report-header {
  background: var(--fg);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.report-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #FAF7F2;
  letter-spacing: 0.02em;
}

.report-time {
  font-size: 0.72rem;
  color: rgba(250,247,242,0.4);
}

.report-items {
  padding: 0.5rem 0;
}

.report-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.report-item:last-child { border-bottom: none; }

.report-status {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.report-status.done {
  background: rgba(74, 222, 128, 0.12);
  color: #16A34A;
}

.report-status.action {
  background: rgba(193, 125, 60, 0.12);
  color: var(--accent);
}

.report-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.report-footer {
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* ─── CLOSING ─────────────────────────────────────────── */
.closing {
  padding: 7rem 2rem 6rem;
  text-align: center;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.closing-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.closing-big {
  font-family: 'Instrument Serif', serif;
  font-size: 3.5rem;
  color: var(--fg);
  line-height: 1;
}

.closing-small {
  font-size: 1.2rem;
  color: var(--fg-muted);
}

.closing-detail {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-left: 0.5rem;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(193, 125, 60, 0.35);
  margin-bottom: 1.5rem;
}

.cta-button:hover {
  background: #b06d2f;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(193, 125, 60, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

.closing-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ─── FOOTER ──────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}

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

.footer-wordmark {
  font-family: 'Instrument Serif', serif;
  font-size: 1rem;
  color: var(--fg);
}

.footer-links {
  display: flex;
  gap: 2rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* ─── INBOX APP STYLES ────────────────────────────────── */
.inbox-wrap { max-width: 900px; margin: 0 auto; padding: 2rem 2rem 4rem; }

.inbox-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; }
.inbox-header h1 { font-family: 'Instrument Serif', serif; font-size: 1.8rem; font-weight: 400; }

.connect-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; margin-bottom: 2rem; }
.connect-card h3 { font-weight: 600; margin-bottom: 0.5rem; }
.connect-card p { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 1rem; }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.2rem; border-radius: 8px; font-size: 0.85rem; font-weight: 500; cursor: pointer; border: none; text-decoration: none; transition: all 0.15s; }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: #333; }
.btn-secondary { background: var(--bg-warm); color: var(--fg); border: 1px solid var(--border); }
.btn-ghost { background: none; color: var(--fg-muted); border: 1px solid var(--border); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.78rem; }

.connected-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 500; color: #16A34A; background: rgba(74,222,128,0.1); padding: 0.3rem 0.8rem; border-radius: 100px; }
.connected-dot { width: 8px; height: 8px; background: #16A34A; border-radius: 50%; }

.email-list { display: flex; flex-direction: column; gap: 0; }

.email-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; transition: box-shadow 0.15s; }
.email-card:hover { box-shadow: 0 4px 16px rgba(30,27,23,0.07); }

.email-meta { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.5rem; }
.email-from { font-size: 0.85rem; font-weight: 600; color: var(--fg); flex: 1; }
.email-subject { font-size: 0.85rem; font-weight: 600; color: var(--fg); }
.email-time { font-size: 0.72rem; color: var(--fg-muted); flex-shrink: 0; }
.email-snippet { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.5; }

.classification-badge { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 4px; flex-shrink: 0; }
.classification-badge.urgent { background: rgba(239,68,68,0.1); color: #DC2626; }
.classification-badge.routine { background: rgba(74,222,128,0.1); color: #16A34A; }
.classification-badge.pending { background: rgba(245,158,11,0.1); color: var(--accent); }

.draft-box { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.85rem 1rem; margin-top: 0.75rem; font-size: 0.82rem; color: var(--fg-muted); line-height: 1.5; }
.draft-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }

.process-btn { background: var(--accent); color: white; border: none; padding: 0.65rem 1.4rem; border-radius: 8px; font-size: 0.85rem; font-weight: 500; cursor: pointer; }
.process-btn:hover { background: #a86830; }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; text-align: center; }
.stat-card .val { font-size: 1.8rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--fg); }
.stat-card .lbl { font-size: 0.72rem; color: var(--fg-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.2rem; }

.settings-form { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.settings-form label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.3rem; }
.settings-form textarea, .settings-form input { width: 100%; padding: 0.6rem 0.8rem; border: 1px solid var(--border); border-radius: 8px; font-size: 0.85rem; font-family: inherit; margin-bottom: 1rem; background: var(--bg); }
.settings-form textarea { resize: vertical; min-height: 80px; }
.settings-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.toggle { width: 40px; height: 22px; background: var(--border); border-radius: 11px; position: relative; cursor: pointer; transition: background 0.2s; }
.toggle.on { background: var(--accent); }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: white; border-radius: 50%; transition: transform 0.2s; }
.toggle.on::after { transform: translateX(18px); }

/* ─── PRODUCT SCREENSHOT ──────────────────────────────── */
.product-screenshot {
  margin: 2.5rem auto 0;
  max-width: 820px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(30,27,23,0.18), 0 0 0 1px rgba(30,27,23,0.08);
}

.screenshot-browser {
  background: #FAF7F2;
  overflow: hidden;
}

.screenshot-browser-bar {
  background: #F5EFE6;
  border-bottom: 1px solid rgba(30,27,23,0.10);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.screenshot-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(30,27,23,0.15);
  display: inline-block;
}

.screenshot-title {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(30,27,23,0.4);
  letter-spacing: 0.04em;
  margin-left: 0.5rem;
}

.screenshot-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 340px;
}

.screenshot-sidebar {
  background: #F5EFE6;
  border-right: 1px solid rgba(30,27,23,0.08);
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sidebar-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #6B6358;
  font-weight: 500;
}

.sidebar-item.active {
  background: #fff;
  color: #1E1B17;
  box-shadow: 0 1px 4px rgba(30,27,23,0.06);
}

.sidebar-count {
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(30,27,23,0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  color: #6B6358;
}

.sidebar-count.urgent { background: rgba(220,38,38,0.1); color: #DC2626; }
.sidebar-count.routine { background: rgba(22,163,74,0.1); color: #16A34A; }
.sidebar-count.pending { background: rgba(245,158,11,0.1); color: var(--accent); }

.screenshot-emails {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.email-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  gap: 0.5rem;
  transition: background 0.15s;
}

.email-row:hover { background: rgba(30,27,23,0.03); }

.email-row-left {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}

.email-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #D4A843;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.email-info { flex: 1; min-width: 0; }

.email-row-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.email-sender {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1E1B17;
}

.badge-urgent, .badge-routine, .badge-pending {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.badge-urgent { background: rgba(220,38,38,0.1); color: #DC2626; }
.badge-routine { background: rgba(22,163,74,0.1); color: #16A34A; }
.badge-pending { background: rgba(245,158,11,0.1); color: var(--accent); }

.email-subject-row {
  font-size: 0.75rem;
  color: #1E1B17;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.1rem;
}

.email-preview {
  font-size: 0.7rem;
  color: #6B6358;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-time {
  font-size: 0.65rem;
  color: #6B6358;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.draft-panel {
  margin-top: 0.6rem;
  background: #fff;
  border: 1px solid rgba(30,27,23,0.10);
  border-radius: 8px;
  overflow: hidden;
}

.draft-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(30,27,23,0.06);
  background: rgba(193,125,60,0.04);
}

.draft-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

.draft-text {
  padding: 0.75rem 0.85rem;
  font-size: 0.75rem;
  color: #6B6358;
  line-height: 1.6;
  font-family: 'DM Sans', sans-serif;
}

.draft-voice {
  font-style: italic;
  color: rgba(30,27,23,0.35);
}

.draft-actions {
  padding: 0.5rem 0.75rem;
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid rgba(30,27,23,0.06);
}

.draft-btn {
  flex: 1;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.draft-btn.approve {
  background: #16A34A;
  color: #fff;
}

.draft-btn.approve:hover { background: #15803d; }

.draft-btn.edit {
  background: rgba(30,27,23,0.06);
  color: #6B6358;
  border: 1px solid rgba(30,27,23,0.10);
}

.draft-btn.edit:hover { background: rgba(30,27,23,0.10); }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .dashboard-mock { max-width: 100%; }
  .problem-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .what-grid { grid-template-columns: 1fr; }
  .how-inner { grid-template-columns: 1fr; gap: 3rem; }
  .closing-stat { flex-wrap: wrap; justify-content: center; }
  .footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
}