/* ==========================================================================
   Yolanda Van Der Molen — shared site styles
   Design tokens match the approved membership-program mockup:
   warm terracotta/cream palette, Lora (headings) + Karla (body).
   ========================================================================== */

:root {
  --bg: #FAF4EC;
  --bg-alt: #F3E8DA;
  --bg-alt-2: #EFD9C9;
  --text: #3A2E27;
  --text-muted: #6B5B4E;
  --text-muted-2: #8A7A6C;
  --accent: #C1613D;
  --accent-dark: #8A4A2E;
  --white: #FFFFFF;
  --border: #EEE1D2;
  --border-strong: #E7D9C8;
  --shadow-sm: 0 8px 20px rgba(58, 46, 39, 0.08);
  --shadow-md: 0 16px 32px rgba(58, 46, 39, 0.12);
  --shadow-lg: 0 20px 48px rgba(58, 46, 39, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --font-head: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Karla', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
::selection { background: var(--bg-alt-2); }

.wrap { padding-left: 64px; padding-right: 64px; }
.container { max-width: 1180px; margin: 0 auto; }
.container-narrow { max-width: 760px; margin: 0 auto; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-secondary { background: transparent; color: var(--text); border: 2px solid var(--text); padding: 12px 24px; }
.btn-outline { background: var(--white); color: var(--text); border: 1px solid var(--border-strong); padding: 12px 24px; }
.btn-small { padding: 9px 18px; font-size: 13.5px; border-radius: var(--radius-pill); }
.btn-block { display: flex; width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--border-strong);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-name { font-family: var(--font-head); font-size: 17px; font-weight: 600; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; color: var(--text-muted); }
.nav-links a.active { color: var(--text); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang-switch { display: flex; align-items: center; gap: 2px; background: var(--bg-alt); border-radius: var(--radius-pill); padding: 3px; }
.lang-switch button {
  border: none; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 700;
  color: var(--text-muted-2); padding: 6px 10px; border-radius: var(--radius-pill);
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch button.is-active { background: var(--white); color: var(--accent-dark); box-shadow: var(--shadow-sm); }
.signin-link { font-size: 13.5px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.signin-link:hover { color: var(--text); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }

/* ---------- Sections ---------- */
.section { padding-top: 80px; padding-bottom: 80px; }
.section-tight { padding-top: 56px; padding-bottom: 56px; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.section-head p { font-size: 16px; color: var(--text-muted); line-height: 1.6; margin-top: 12px; }
h2.section-title { font-size: 34px; font-weight: 600; }
h1.page-title { font-size: 46px; font-weight: 600; line-height: 1.14; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-alt-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card-body { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700;
}
.badge-accent { background: var(--accent); color: var(--bg); }
.badge-neutral { background: var(--bg-alt); color: var(--text-muted-2); }
.badge-soft { background: var(--bg-alt-2); color: var(--accent-dark); }

/* ---------- Credentials strip ---------- */
.credentials-strip {
  display: flex; flex-wrap: wrap; gap: 28px;
  justify-content: center;
  padding: 28px 0;
}
.credential-item { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border-strong); padding-top: 48px; padding-bottom: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col-title { font-weight: 700; margin-bottom: 4px; font-size: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-muted); }
.footer-contact-row { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 14px; }
.footer-legal { max-width: 1180px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border-strong); font-size: 12.5px; color: var(--text-muted-2); line-height: 1.6; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13.5px; font-weight: 700; }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--text);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--bg-alt-2);
}
.form-note { font-size: 12.5px; color: var(--text-muted-2); margin-top: 6px; }

/* ---------- Misc ---------- */
.disclaimer-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px 26px;
  display: flex; gap: 14px; align-items: flex-start;
}
.disclaimer-box .card-icon { margin-bottom: 0; flex-shrink: 0; }
.cta-band {
  background: var(--accent); border-radius: 28px;
  padding: 56px 48px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.cta-band h2 { color: var(--bg); }
.cta-band p { color: #F8E4D6; max-width: 480px; }

.avatar-circle {
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--bg-alt-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 44px; font-weight: 600; color: var(--accent-dark);
  flex-shrink: 0;
}

table.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
table.compare th, table.compare td { text-align: left; padding: 16px 18px; font-size: 14.5px; border-bottom: 1px solid var(--border); }
table.compare th { background: var(--bg-alt); font-weight: 700; }
table.compare tr:last-child td { border-bottom: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items:center; justify-content:center; }
  /* Only the hamburger stays in the sticky header on small screens;
     language switch / sign in / join move into the mobile-nav drawer. */
  .header-actions { gap: 10px; }
  .header-actions .lang-switch,
  .header-actions .signin-link,
  .header-actions > a.btn { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  h1.page-title { font-size: 34px; }
  h2.section-title { font-size: 27px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  table.compare { display: block; overflow-x: auto; }
  .cta-band { padding: 40px 26px; }
  .btn { white-space: normal; max-width: 100%; text-align: center; }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-bottom: 1px solid var(--border-strong);
  background: var(--bg);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 12px 6px; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav .lang-switch { margin-top: 10px; align-self: flex-start; }
