/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; }
ul { list-style: none; }

/* ── Design tokens ── */
:root {
  --terracotta:       #C4654A;
  --terracotta-light: #F3E0DA;
  --terracotta-dark:  #8B3D2A;
  --sage:             #7A9B7E;
  --sage-light:       #E4EDE5;
  --sage-dark:        #4A6B4E;
  --ivory:            #FAF8F5;
  --sand:             #F0EDE8;
  --charcoal:         #2C2A28;
  --warm-gray:        #6B6560;
  --light-gray:       #D4D0CB;

  --nav-h:      72px;
  --max-w:      1120px;
  --r-card:     20px;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
}

/* ── Shared ── */
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow-light { color: rgba(250, 248, 245, 0.6); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--charcoal);
  margin-bottom: 56px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 14px;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 14px;
  padding: 14px 28px;
  border: 1.5px solid var(--light-gray);
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }

.btn-large  { font-size: 16px; padding: 16px 36px; }
.btn-ivory  { background: var(--ivory); color: var(--terracotta); }
.btn-ivory:hover { background: var(--sand); transform: translateY(-1px); }

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--terracotta);
}
.nav-logo svg { width: 28px; height: 25px; color: var(--terracotta); }
.nav-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--terracotta); }

.btn-nav-signin {
  font-size: 14px;
  font-weight: 600;
  color: var(--terracotta);
  border: 1.5px solid var(--terracotta);
  border-radius: 99px;
  padding: 8px 22px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn-nav-signin:hover { background: var(--terracotta); color: var(--ivory); }

/* ── Hero ── */
.hero {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 48px;
  min-height: calc(100svh - var(--nav-h));
}

.hero-body {
  flex: 1;
  max-width: 520px;
}
.hero-body h1 {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5vw, 64px);
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-body h1 em { color: var(--terracotta); font-style: italic; }

.hero-lead {
  font-size: 17px;
  color: var(--warm-gray);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 12px;
  color: var(--light-gray);
}

/* ── Phone mockup ── */
.hero-visual {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 288px;
  background: #1A1A1A;
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 0 0 1px #333,
    0 40px 80px rgba(0, 0, 0, 0.28),
    0 20px 40px rgba(0, 0, 0, 0.14);
}

.phone-screen {
  background: var(--ivory);
  border-radius: 38px;
  overflow: hidden;
  height: 576px;
  display: flex;
  flex-direction: column;
}

.app-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 4px;
  flex-shrink: 0;
}
.app-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--charcoal);
}
.app-status-icons {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--charcoal);
}

.app-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 12px;
  border-bottom: 1px solid var(--sand);
  flex-shrink: 0;
}
.app-logo-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.app-logo-row svg { width: 20px; height: 18px; }
.app-brand-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--terracotta);
}
.app-icon-row { display: flex; gap: 6px; }
.app-icon-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sand);
}

.app-greeting { padding: 14px 16px 0; }
.app-greeting-sub {
  font-size: 11px;
  color: var(--warm-gray);
  margin-bottom: 3px;
}
.app-greeting-sub strong { color: var(--terracotta); font-weight: 600; }
.app-greeting-main {
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}

.app-chips {
  display: flex;
  gap: 6px;
  padding: 10px 16px 0;
}
.app-chip {
  font-size: 10px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 99px;
}
.app-chip-sage  { background: var(--sage-light); color: var(--sage-dark); }
.app-chip-terra { background: var(--terracotta-light); color: var(--terracotta-dark); }

.app-section-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--terracotta);
  text-transform: uppercase;
  padding: 16px 16px 8px;
}

.app-outfit-card {
  margin: 0 12px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  flex: 1;
}
.app-outfit-hero {
  background: linear-gradient(145deg, var(--terracotta-light) 0%, var(--sand) 60%, var(--sage-light) 100%);
  padding: 16px 16px 12px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
}
.app-fresh-tag {
  position: absolute;
  top: 8px; left: 10px;
  background: var(--terracotta);
  color: white;
  font-size: 8px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
}
.app-swatches { display: flex; align-items: flex-end; gap: 8px; }
.app-swatch-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.app-swatch { border-radius: 10px; }
.app-swatch-label {
  font-size: 8px;
  font-weight: 600;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.app-outfit-body { padding: 12px 14px; }
.app-outfit-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.app-outfit-meta {
  font-size: 10px;
  color: var(--warm-gray);
  margin-bottom: 10px;
}
.app-outfit-btn {
  background: var(--terracotta);
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 9px;
  border-radius: 10px;
}

/* ── Features ── */
.features {
  background: var(--sand);
  padding: 96px 48px;
  text-align: center;
}
.features .section-title { margin-left: auto; margin-right: auto; max-width: 480px; }
.features .eyebrow { text-align: center; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.feature-card {
  background: var(--ivory);
  border-radius: var(--r-card);
  padding: 32px;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--terracotta-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--terracotta);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* ── How it works ── */
.how-it-works {
  padding: 96px 48px;
  text-align: center;
}
.how-it-works .section-title { margin-left: auto; margin-right: auto; }

.steps {
  display: flex;
  align-items: flex-start;
  max-width: var(--max-w);
  margin: 0 auto;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
}
.step-num {
  font-family: var(--font-serif);
  font-size: 56px;
  color: var(--terracotta-light);
  line-height: 1;
  margin-bottom: 16px;
  user-select: none;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.step p {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.65;
}

.step-divider {
  width: 1px;
  height: 72px;
  background: var(--light-gray);
  flex-shrink: 0;
  margin-top: 32px;
}

/* ── Contact ── */
.contact {
  background: var(--terracotta);
  padding: 96px 48px;
  text-align: center;
}
.contact-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.contact h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--ivory);
  margin-bottom: 14px;
}
.contact-lead {
  font-size: 16px;
  color: rgba(250, 248, 245, 0.8);
  line-height: 1.6;
  margin-bottom: 28px;
}
.contact-email {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 2px solid rgba(250, 248, 245, 0.45);
  padding-bottom: 2px;
  margin-bottom: 40px;
  transition: border-color 0.15s;
}
.contact-email:hover { border-color: var(--ivory); }

/* ── Footer ── */
.site-footer {
  background: var(--charcoal);
  padding: 48px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.footer-logo svg { color: var(--ivory); width: 24px; height: 22px; }
.footer-logo span {
  font-size: 18px;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 0.5px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  flex: 1;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(250, 248, 245, 0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--ivory); }

.footer-downloads {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 9px 14px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.store-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}
.store-icon {
  width: 22px;
  height: 22px;
  color: var(--ivory);
  flex-shrink: 0;
}
.store-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.store-sub {
  font-size: 9px;
  color: rgba(250, 248, 245, 0.5);
  font-weight: 400;
  line-height: 1;
}
.store-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1;
}

.footer-copy {
  font-size: 12px;
  color: rgba(250, 248, 245, 0.35);
}

/* ── Responsive (768px) ── */
@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }

  .hero {
    flex-direction: column;
    padding: 48px 24px 64px;
    min-height: auto;
    gap: 48px;
    text-align: center;
  }
  .hero-body { max-width: 100%; }
  .hero-lead  { max-width: 100%; }
  .hero-cta-row { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-frame { width: 248px; }
  .phone-screen { height: 496px; }

  .features { padding: 64px 24px; }
  .feature-grid { grid-template-columns: 1fr; }

  .how-it-works { padding: 64px 24px; }
  .steps { flex-direction: column; align-items: stretch; gap: 40px; }
  .step { padding: 0 16px; }
  .step-divider { width: 48px; height: 1px; margin: 0 auto; }

  .contact { padding: 64px 24px; }

  .site-footer { padding: 36px 24px; }
  .footer-inner { gap: 20px; }
  .footer-top   { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-downloads { flex-wrap: wrap; }
}
