/* My Life History — Marketing Landing Page */
/* Warm memoir tone: stone neutrals, serif headings, generous whitespace */

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

:root {
  --stone-50:  #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;

  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-50:  #fffbeb;

  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--stone-50);
  color: var(--stone-800);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Layout ── */

.site-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
}

/* ── Nav ── */

.site-nav {
  width: 100%;
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0 0;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: normal;
  color: var(--stone-700);
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav-sign-in {
  font-size: 0.9rem;
  color: var(--stone-600);
  text-decoration: none;
  border-bottom: 1px solid var(--stone-300, #d6d3d1);
  padding-bottom: 1px;
  transition: color 0.15s;
}

.nav-sign-in:hover {
  color: var(--amber-700);
  border-bottom-color: var(--amber-700);
}

/* ── Hero ── */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 700px;
  padding: 5rem 0 4rem;
  gap: 2rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-600);
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: normal;
  line-height: 1.15;
  color: var(--stone-900);
  letter-spacing: -0.01em;
}

.hero-subheading {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--stone-600);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  margin-top: 0.5rem;
}

.cta-primary {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background-color: var(--amber-600);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: background-color 0.15s, transform 0.1s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.cta-primary:hover {
  background-color: var(--amber-700);
  transform: translateY(-1px);
}

.cta-primary:active {
  transform: translateY(0);
}

.cta-note {
  font-size: 0.82rem;
  color: var(--stone-500);
}

/* ── Features strip ── */

.features {
  width: 100%;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
  padding: 3rem 0 4.5rem;
  border-top: 1px solid var(--stone-200);
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--stone-800);
  font-weight: normal;
}

.feature-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--stone-500);
}

/* ── Footer ── */

.site-footer {
  width: 100%;
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--stone-200);
  font-size: 0.8rem;
  color: var(--stone-500);
}

/* ── Responsive ── */

@media (max-width: 480px) {
  .hero {
    padding: 3.5rem 0 3rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 3rem;
  }
}
