/* Colors mirror lib/theme/app_theme.dart (AppColors). */
:root {
  --primary: #005644;
  --secondary: #5D91A0;
  --link: #2E7194;
  --sage: #A8C7B5;
  --sunshine: #FFD447;
  --mist: #F3F7F5;
  --cream: #FBF8F1;
  --border: #DDE7E1;
  --text-primary: #263735;
  --text-body: #4A5A57;
  --text-secondary: #7A8C88;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
  background: #fff;
}

a { color: var(--link); }
h1, h2, h3 { color: var(--text-primary); line-height: 1.25; }
h1 { font-size: 2.4rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.6rem; margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 0.4rem; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

header { border-bottom: 1px solid var(--border); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); font-weight: 800; font-size: 1.25rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav a { margin-left: 20px; text-decoration: none; color: var(--text-body); font-weight: 600; }
nav a:hover { color: var(--primary); }

.hero { background: var(--cream); padding: 72px 0; text-align: center; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1); }
.tagline { font-family: "Lora", Georgia, serif; font-style: italic; font-size: 1.3rem; color: var(--secondary); margin: 0 0 1.5rem; }
.hero p { max-width: 620px; margin: 0 auto 1.5rem; }
.pill { display: inline-block; background: var(--sunshine); color: var(--text-primary); font-weight: 700; font-size: 0.9rem; padding: 6px 14px; border-radius: 999px; }

section { padding: 64px 0; }
section.alt { background: var(--mist); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.card h3 { margin-top: 0; color: var(--primary); }
.card p { margin: 0; }

.founders { display: flex; justify-content: center; gap: 48px; margin: 36px 0; text-align: center; }
.founder h3 { margin: 12px 0 0; }
.founder p { margin: 0; color: var(--text-secondary); }
.headshot { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; margin: 0 auto; background: var(--sage); color: var(--primary); font-size: 2.4rem; font-weight: 800; }

.button { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 24px; border-radius: 999px; }

.legal { padding: 48px 0 64px; }
.legal .effective { color: var(--text-secondary); font-style: italic; }
.legal li { margin-bottom: 0.4rem; }
.legal .caps { font-size: 0.92rem; }

footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: 0.92rem; color: var(--text-secondary); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--text-secondary); margin-left: 16px; }

@media (max-width: 560px) {
  h1 { font-size: 1.9rem; }
  nav a { margin-left: 12px; font-size: 0.95rem; }
  .hero { padding: 48px 0; }
}
