/* Keepsake — shared site styles
 * Navy (trust) + Coral (heart) + White background
 * Lora for headlines (matches app), Nunito for body
 */

:root {
  --navy: #243A5E;
  --navy-dark: #1A2C48;
  --coral: #FF6B6B;
  --coral-dark: #E55A5A;
  --action: #F59E0B;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --background: #FFFFFF;
  --surface: #F9FAFB;
  --border: #E5E7EB;
  --max-width: 640px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(36, 58, 94, 0.2);
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom-color: var(--navy);
}

h1, h2, h3 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 40px 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lora', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  border: none;
  letter-spacing: -0.01em;
}

.brand:hover {
  border: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
}

/* Hero */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero .lead {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 36px;
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--navy);
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
}

.coming-soon:hover {
  background: var(--navy-dark);
  border: none;
}

.coming-soon .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

/* Features */
.features {
  padding: 40px 0 72px;
}

.feature {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.feature:last-child {
  border-bottom: 1px solid var(--border);
}

.feature h3 {
  font-size: 24px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--text-secondary);
  font-size: 17px;
}

/* Closing */
.why {
  padding: 72px 0 56px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.why h2 {
  font-size: 32px;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.why p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.closing {
  padding: 72px 0 56px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing h2 {
  font-size: 32px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.closing p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer .links {
  display: flex;
  gap: 20px;
}

.site-footer a {
  color: var(--text-secondary);
  border: none;
}

.site-footer a:hover {
  color: var(--navy);
  border: none;
}

/* Legal pages (privacy + terms) */
.legal {
  padding: 48px 0 72px;
  max-width: 680px;
}

.legal h1 {
  font-size: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal p {
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal ul {
  margin: 0 0 16px 20px;
  color: var(--text-primary);
}

.legal li {
  margin-bottom: 8px;
}

.legal strong {
  color: var(--navy);
  font-weight: 700;
}

.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 15px;
  color: var(--text-secondary);
  border: none;
}

.back-link:hover {
  color: var(--navy);
  border: none;
}

/* Mobile */
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero .lead {
    font-size: 18px;
  }

  .feature h3 {
    font-size: 20px;
  }

  .closing h2 {
    font-size: 26px;
  }

  .legal h1 {
    font-size: 32px;
  }
}
