@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #4A6FA5;
  --primary-dark: #3A5A87;
  --teal: #5B8A87;
  --bg: #FAF8F5;
  --bg-card: #FFFFFF;
  --text: #2B2D31;
  --text-muted: #6B7280;
  --border: #E8E4DC;
  --amber: #B8860B;
  --green: #5A8F69;
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Nav ---- */
nav {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}
.logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--text-muted); }
.nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--primary); text-decoration: none; }

/* ---- Hero ---- */
.hero {
  padding: 88px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal);
  background: rgba(91, 138, 135, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 44px;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 32px;
}
.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-ghost { color: var(--text); border: 1.5px solid var(--border); background: transparent; }
.btn-ghost:hover { border-color: var(--primary); text-decoration: none; }

/* ---- Checklist signature mock ---- */
.checklist-mock {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px -20px rgba(74, 111, 165, 0.25);
  padding: 24px;
  transform: rotate(1.2deg);
}
.checklist-mock .mock-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mock-row:last-child { border-bottom: none; }
.mock-check {
  width: 20px; height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: white;
}
.mock-check.done { background: var(--green); }
.mock-check.pending { border: 1.5px solid var(--border); background: transparent; }
.mock-text { font-size: 14px; }
.mock-text .label { font-weight: 600; display: block; margin-bottom: 2px; }
.mock-text .sub { color: var(--text-muted); font-size: 13px; }
.mock-emergency {
  background: #FDEEEE;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 14px;
  font-size: 13px;
  color: #9B3B3B;
  font-weight: 500;
}

/* ---- Features ---- */
.features {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.section-head { max-width: 560px; margin-bottom: 48px; }
.section-head h2 { font-size: 32px; margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 16px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(74, 111, 165, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ---- Principles strip ---- */
.principles {
  background: var(--text);
  color: white;
  padding: 64px 0;
  margin: 0;
}
.principles h2 { color: white; font-size: 26px; margin-bottom: 32px; }
.principle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.principle-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  border-left: 2px solid var(--teal);
  padding-left: 14px;
}
.principle-list strong { display: block; color: white; font-size: 15px; margin-bottom: 4px; font-weight: 600; }

/* ---- Footer CTA ---- */
.footer-cta {
  padding: 88px 0;
  text-align: center;
}
.footer-cta h2 { font-size: 32px; margin-bottom: 16px; }
.footer-cta p { color: var(--text-muted); margin-bottom: 32px; }

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
footer .footer-links { display: flex; gap: 20px; }
footer a { color: var(--text-muted); }
footer a:hover { color: var(--primary); }

/* ---- Simple page (privacy/support) ---- */
.page-header {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: 36px; margin-bottom: 8px; }
.page-header p { color: var(--text-muted); font-size: 15px; }
.page-content {
  padding: 48px 0 80px;
  max-width: 720px;
}
.page-content h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p, .page-content li { color: var(--text); font-size: 15px; }
.page-content ul { padding-left: 20px; }
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 24px;
}
.contact-card h3 { font-size: 17px; margin-bottom: 8px; font-family: 'Inter'; font-weight: 700;}
.contact-card p { margin: 0 0 16px 0; color: var(--text-muted); font-size: 14px; }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .principle-list { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .checklist-mock { transform: none; }
}
