/* LifeRun — Editorial Design System
   Mood: midnight editorial studio, walnut desk, cream letterhead, fountain pen, quiet lamp light.
   Colors locked to Hatch guidelines.
*/

:root {
  --near-black: #111110;
  --cream: #f2ece2;
  --ink: #1a1714;
  --stone: #d8d4cc;
  --stone-dark: #b8b3a8;
  --walnut: #2a2420;
  --lamp: #e8d9c0;
  --success: #3d5a45;
  
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
  
  --max-width: 1120px;
  --radius: 2px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--near-black);
  color: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--cream);
}

h1 { font-size: clamp(2.75rem, 6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.65rem); }

p {
  font-size: 1.05rem;
  color: var(--stone);
  max-width: 58ch;
}

a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--lamp);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(17, 17, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 212, 204, 0.08);
  padding: 1.1rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-mark {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--cream);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--stone);
  font-weight: 450;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
}

.nav-cta {
  background: var(--cream);
  color: var(--near-black) !important;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.875rem !important;
  font-weight: 550 !important;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: var(--lamp) !important;
  color: var(--near-black) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 550;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--cream);
  color: var(--near-black);
}

.btn-primary:hover {
  background: var(--lamp);
  color: var(--near-black);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(242, 236, 226, 0.25);
}

.btn-secondary:hover {
  border-color: var(--cream);
  background: rgba(242, 236, 226, 0.05);
}

.btn-large {
  padding: 1.1rem 2.1rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  padding: 9.5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(232, 217, 192, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--stone);
  max-width: 42ch;
  margin-bottom: 2.75rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--stone-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Letterhead card (signature visual) */
.letterhead {
  background: var(--cream);
  color: var(--ink);
  padding: 2.5rem 2.75rem;
  border-radius: 3px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  max-width: 420px;
  position: relative;
}

.letterhead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2a2420, #4a3f36);
}

.letterhead-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(26, 23, 20, 0.12);
}

.letterhead-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
}

.letterhead-date {
  font-size: 0.75rem;
  color: #6b655c;
  letter-spacing: 0.04em;
}

.letterhead h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.letterhead p {
  font-size: 0.9rem;
  color: #4a453e;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.letterhead-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(26, 23, 20, 0.1);
}

.meta-item label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a746b;
  margin-bottom: 0.2rem;
}

.meta-item span {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}

/* Two column hero layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Features / How it works */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.feature-card {
  background: rgba(242, 236, 226, 0.03);
  border: 1px solid rgba(216, 212, 204, 0.1);
  padding: 2rem 1.75rem;
  border-radius: 3px;
  transition: border-color 0.25s ease;
}

.feature-card:hover {
  border-color: rgba(216, 212, 204, 0.22);
}

.feature-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--stone-dark);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--stone);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
  max-width: 820px;
}

.price-card {
  background: rgba(242, 236, 226, 0.03);
  border: 1px solid rgba(216, 212, 204, 0.12);
  padding: 2.5rem 2.25rem;
  border-radius: 3px;
  position: relative;
}

.price-card.featured {
  border-color: rgba(242, 236, 226, 0.35);
  background: rgba(242, 236, 226, 0.05);
}

.price-card.featured::before {
  content: "Most chosen";
  position: absolute;
  top: -0.7rem;
  left: 1.5rem;
  background: var(--cream);
  color: var(--near-black);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
}

.price-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.price-amount {
  font-size: 2.75rem;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--cream);
  margin: 1rem 0 0.35rem;
}

.price-amount span {
  font-size: 1rem;
  color: var(--stone);
  font-family: var(--font-sans);
}

.price-desc {
  font-size: 0.95rem;
  color: var(--stone);
  margin-bottom: 1.75rem;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
}

.price-features li {
  font-size: 0.95rem;
  color: var(--stone);
  padding: 0.45rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.price-features li::before {
  content: "—";
  color: var(--stone-dark);
  flex-shrink: 0;
}

/* Philosophy / Quote */
.philosophy {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.philosophy blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.philosophy cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--stone-dark);
  letter-spacing: 0.04em;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(216, 212, 204, 0.08);
  padding: 3.5rem 0 2.5rem;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--stone-dark);
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-dark);
  margin-bottom: 1rem;
  font-weight: 550;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--stone);
  display: block;
  padding: 0.3rem 0;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(216, 212, 204, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--stone-dark);
}

/* Utility */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-4 { margin-top: 4rem; }

.section-header {
  max-width: 560px;
  margin-bottom: 1rem;
}

.section-header p {
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none;
  }
  
  .letterhead {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .footer-inner {
    flex-direction: column;
  }
  
  .footer-links {
    gap: 2.5rem;
  }
}