@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@400;500&display=swap');

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

:root {
  --green: #4caf50;
  --green-dark: #2e7d32;
  --green-light: #e8f5e9;
  --black: #1a1a1a;
  --white: #f5f5f0;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-faint: #9e9e9e;
  --border: rgba(0,0,0,0.1);
  --border-med: rgba(0,0,0,0.18);
  --bg: #ffffff;
  --bg-soft: #f7f7f4;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 100px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--black);
  color: var(--white);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.85; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.1s;
}
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-green { background: var(--green); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-med);
}

/* ── SECTION HELPERS ── */
.section { padding: 4rem 2.5rem; }
.section-sm { padding: 2.5rem 2.5rem; }
.label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 0 2.5rem;
}
h1.display {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
}
h2.display {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h3.display {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}
em.accent { font-style: italic; color: var(--green); }
.muted { color: var(--text-muted); }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--text-muted);
}

/* ── CARDS ── */
.card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card-soft {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card-dark {
  background: var(--black);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--white);
}

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }

/* ── FORM ── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.field input,
.field select,
.field textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 0.5px solid var(--border-med);
  background: var(--bg);
  color: var(--text);
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--green); }
.field textarea { resize: none; height: 110px; }

/* ── FOOTER ── */
footer {
  background: var(--bg-soft);
  border-top: 0.5px solid var(--border);
  padding: 3rem 2.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-head { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-faint); margin-bottom: 0.75rem; }
.footer-copy {
  font-size: 12px;
  color: var(--text-faint);
  border-top: 0.5px solid var(--border);
  padding-top: 1.5rem;
}

/* ── SAVING BADGE ── */
.saving-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* ── SUCCESS STATE ── */
.success-box {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 1.25rem;
  color: var(--green-dark);
}
