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

:root {
  --bg: #0a0e1a;
  --bg-surface: #0e1525;
  --bg-card: #111827;
  --accent: #00e5c3;
  --accent-dim: rgba(0, 229, 195, 0.15);
  --accent-warm: #e8e3d9;
  --text: #c8c4bc;
  --text-strong: #f0ece4;
  --text-muted: #6b6760;
  --border: rgba(255,255,255,0.06);
  --red: #ff6b6b;
  --amber: #ffd166;
}

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

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 80px);
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === SECTION COMMON === */
section { padding: clamp(80px, 12vw, 140px) clamp(24px, 5vw, 80px); }
section > * { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.section-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: clamp(32px, 5vw, 56px);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 56px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0,229,195,0.04) 0%, transparent 60%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.7;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--text);
  max-width: 460px;
  margin-bottom: 28px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.meta-sep { color: var(--border); }

/* === HERO VISUAL === */
.hero-visual {
  position: relative;
}
.inbox-stage {
  position: relative;
  height: 360px;
  margin-bottom: 24px;
}
.email-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  width: 260px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03);
}
.email-card--1 {
  top: 0; left: 0;
  animation: float1 4s ease-in-out infinite;
}
.email-card--2 {
  top: 80px; right: 0;
  animation: float2 5s ease-in-out infinite 0.5s;
  width: 240px;
}
.email-card--3 {
  bottom: 20px; left: 20px;
  animation: float3 4.5s ease-in-out infinite 1s;
}
.email-card--4 {
  bottom: 0; right: 20px;
  animation: float1 5.5s ease-in-out infinite 1.5s;
  width: 200px;
}
@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.card-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  flex-shrink: 0;
}
.card-meta { flex: 1; }
.card-sender {
  height: 8px; width: 80px;
  background: var(--text-muted);
  border-radius: 4px;
  margin-bottom: 4px;
  opacity: 0.5;
}
.card-time {
  height: 6px; width: 50px;
  background: var(--text-muted);
  border-radius: 3px;
  opacity: 0.25;
}
.card-badge {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}
.card-badge--reply { background: var(--accent-dim); color: var(--accent); }
.card-badge--escalate { background: rgba(255,107,107,0.15); color: var(--red); }
.card-badge--archived { background: rgba(107,103,96,0.2); color: var(--text-muted); }
.card-body { margin-bottom: 10px; }
.card-line {
  height: 7px;
  background: var(--text-muted);
  border-radius: 4px;
  margin-bottom: 6px;
  opacity: 0.25;
}
.line-1 { width: 90%; }
.line-2 { width: 70%; }
.line-3 { width: 55%; }
.card-ai-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  color: var(--accent);
  opacity: 0.8;
}
.card-ai-indicator--escalate { color: var(--red); }

/* status bars */
.inbox-status-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}
.status-bar-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.status-bars { display: flex; flex-direction: column; gap: 8px; }
.status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bar-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  width: 90px;
  flex-shrink: 0;
}
.bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}
.bar-fill { height: 100%; border-radius: 2px; }
.bar-fill--ai { background: var(--accent); }
.bar-fill--you { background: var(--red); }
.bar-fill--arch { background: rgba(107,103,96,0.5); }
.bar-pct {
  font-size: 0.65rem;
  color: var(--text-muted);
  width: 30px;
  text-align: right;
}

/* === HOW IT WORKS === */
.howitworks {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.howitworks-inner > * { max-width: 1200px; margin: 0 auto; }
.step-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.step {
  display: flex;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--border);
}
.step:nth-child(odd) { border-right: none; }
.step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  flex-shrink: 0;
  line-height: 1;
}
.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 8px;
}
.step p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.65;
}

/* === VOICE === */
.voice { background: var(--bg); }
.voice-desc {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text);
  max-width: 600px;
  margin-bottom: clamp(40px, 5vw, 60px);
  line-height: 1.7;
}
.voice-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.voice-col-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.voice-col--after .voice-col-label { color: var(--accent); }
.voice-email {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-strong);
  margin-bottom: 16px;
}
.voice-col--before .voice-email { opacity: 0.4; }
.voice-col--after .voice-email { border-color: var(--accent-dim); }
.voice-flags {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.voice-flags li {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.voice-flags li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}
.voice-flags--positive li::before { background: var(--accent); }
.voice-flags--positive li { color: var(--accent); opacity: 0.8; }

/* === MANIFESTO === */
.manifesto {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 500;
  color: var(--text-strong);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 820px;
  margin-bottom: 40px;
  border-left: 3px solid var(--accent);
  padding-left: 32px;
}
.manifesto-body {
  font-size: clamp(0.95rem, 1.25vw, 1.0625rem);
  color: var(--text);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.manifesto-body:last-child { margin-bottom: 0; }

/* === PRIVACY === */
.privacy { background: var(--bg); }
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.privacy-item {
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--border);
}
.privacy-item:nth-child(odd) { border-right: none; }
.privacy-item:nth-child(1), .privacy-item:nth-child(2) { border-bottom: 1px solid var(--border); }
.privacy-icon { margin-bottom: 20px; }
.privacy-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 10px;
}
.privacy-item p {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.65;
}

/* === CLOSING === */
.closing {
  background: var(--bg);
  text-align: center;
  padding: clamp(100px, 15vw, 180px) clamp(24px, 5vw, 80px);
}
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: clamp(0.95rem, 1.25vw, 1.125rem);
  color: var(--text);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 80px) 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 60px;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col span { font-size: 0.8rem; color: var(--text-muted); }
.footer-col-head {
  font-weight: 600;
  color: var(--text-strong) !important;
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === CTA BUTTON === */
.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #0a0e1a;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 8px;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}
.cta-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.cta-btn:active {
  filter: brightness(0.95);
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .step-list { grid-template-columns: 1fr; }
  .step:nth-child(odd) { border-right: 1px solid var(--border); }
  .step:nth-child(3), .step:nth-child(4) { border-top: none; }
  .voice-comparison { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .privacy-item:nth-child(3), .privacy-item:nth-child(4) { border-top: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 600px) {
  .footer-links { grid-template-columns: 1fr; }
  .hero-meta { flex-wrap: wrap; }
}