/* Home - Editorial Theme */

/* Layout */
.hero {
  padding: 100px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Typography */
.kicker {
  display: inline-block;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

h1 {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}

.subhead {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
}

/* CTA */
.cta-row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}
.btn.primary {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  font-size: 15px;
}
.btn.secondary {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 15px;
}

.fineprint {
  margin-top: 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Hero Visual - Editorial Mockup */
.hero-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  border: 1px solid var(--border);
  transform: rotate(-2deg);
  transition: all 0.2s ease-in-out;
}
.hero-card:hover {
  transform: translateY(-4px) rotate(-2deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.mock {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Mock Cards */
.mock .card {
  background: white;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  display: flex;
  gap: 16px;
}

.mock .card:nth-child(1) {
  background: var(--accent-sage);
  border-color: transparent;
}
.mock .card:nth-child(2) {
  background: var(--accent-peach);
  border-color: transparent;
}
.mock .card:nth-child(3) {
  background: white;
  border-color: var(--border);
}

.mock .title {
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 4px;
}
.mock .meta {
  font-family: var(--font-sans);
  font-size: 13px;
  opacity: 0.7;
}

/* Features Section */
section {
  padding: 80px 0;
}
.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 16px;
}
.section-sub {
  text-align: center;
  margin: 0 auto 60px;
  max-width: 600px;
  color: var(--text-muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.2s ease-in-out;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: inline-block;
}
.feature h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.feature p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* How it works */
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step {
  padding: 0 20px;
  position: relative;
  transition: all 0.2s ease-in-out;
}
.step:hover {
  transform: translateY(-4px);
}
.step .num {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: -15px;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
  position: relative;
}
.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
}

/* Bottom CTA */
.cta {
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
}
.cta h2 {
  color: white;
  margin-bottom: 16px;
}
.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  margin-left: auto;
  margin-right: auto;
}
.cta .btn.primary {
  background: white;
  color: var(--primary);
}
.cta .btn.secondary {
  color: white;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-row {
    justify-content: center;
  }
  .hero-card {
    margin-top: 40px;
    transform: none;
  }
  .features,
  .how {
    grid-template-columns: 1fr;
  }
  .step .num {
    position: static;
    margin-bottom: 10px;
    display: block;
  }

  /* Footer responsive */
  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
}
