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

:root {
  --bg: #faf9f7;
  --bg-alt: #f2f0ec;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --accent: #b44d2d;
  --accent-hover: #963e23;
  --border: #e0ddd8;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-dot {
  color: var(--accent);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff;
}

/* Hero */

.hero {
  padding: 10rem 0 3rem;
  text-align: center;
}

.hero-image {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--accent-hover);
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

.prose p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.kicker {
  color: var(--text) !important;
  font-weight: 500;
  font-style: italic;
}

/* Card grid (How I'm using it) */

.card-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 720px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA / Download section */

.section-cta {
  background: var(--bg-alt);
  text-align: center;
  padding: 5rem 0 6rem;
}

.section-cta .prose {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

/* Footer */

.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section h2 {
    font-size: 1.6rem;
  }
}
