/* =====================
   FLOW — THEME CSS
   ===================== */

:root {
  --bg: #F7F3EC;
  --bg-card: #FFFFFF;
  --fg: #1A1714;
  --fg-muted: #6B6560;
  --accent: #BF5A2C;
  --accent-warm: #E8A87C;
  --sand: #E9E1D6;
  --sand-dark: #D4C9BA;
  --olive: #4A6741;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Tajawal', 'Helvetica Neue', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  padding: 24px 48px;
  border-bottom: 1px solid var(--sand-dark);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 300;
}

/* HERO */
.hero {
  padding: 80px 48px 96px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 12px;
  border-radius: 2px;
}

/* DEAL CARDS */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.deal-card {
  background: var(--bg-card);
  border: 1px solid var(--sand);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(26,23,20,0.06);
}
.deal-card--dimmed {
  opacity: 0.7;
}
.deal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.deal-badge {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--olive);
  background: rgba(74,103,65,0.1);
  padding: 4px 8px;
  border-radius: 2px;
}
.deal-badge--sold {
  color: var(--accent);
  background: rgba(191,90,44,0.1);
}
.deal-time {
  font-size: 11px;
  color: var(--fg-muted);
}
.deal-item {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.deal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.deal-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}
.deal-match {
  font-size: 11px;
  color: var(--olive);
}
.deal-status {
  font-size: 12px;
  color: var(--fg-muted);
  font-style: italic;
}
.deal-status--done {
  color: var(--olive);
}

/* HOW IT WORKS */
.how {
  padding: 96px 48px;
  background: var(--fg);
  color: #F7F3EC;
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-warm);
  margin-bottom: 56px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: rgba(247,243,236,0.2);
  line-height: 1;
  margin-bottom: 20px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #F7F3EC;
  margin-bottom: 12px;
  line-height: 1.3;
}
.step-desc {
  font-size: 15px;
  color: rgba(247,243,236,0.65);
  line-height: 1.7;
}

/* FEATURES */
.features {
  padding: 96px 48px;
  background: var(--bg);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--sand-dark);
  border: 1px solid var(--sand-dark);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg);
  padding: 40px 36px;
  transition: background 0.2s;
}
.feature-card:hover {
  background: var(--sand);
}
.feature-icon {
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* MANIFESTO */
.manifesto {
  padding: 96px 48px;
  background: var(--sand);
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-mark {
  color: var(--accent);
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}
.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 28px;
}
.manifesto-attr {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* CLOSING */
.closing {
  padding: 96px 48px;
  background: var(--bg);
  border-top: 1px solid var(--sand-dark);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 700px;
}
.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* FOOTER */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--sand-dark);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .nav, .hero, .how, .features, .manifesto, .closing, .footer { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .nav { padding: 16px 24px; }
}