/* Shared CSS for Meetwisely static pages (Privacy, Terms, Contact, Blog) */
:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --surface-2: #f3efe5;
  --ink: #1f1a16;
  --ink-soft: #55504a;
  --ink-muted: #8a847c;
  --rule: #e5dfd1;
  --accent: #c75146;
  --accent-deep: #a33a31;
  --accent-soft: #f7e3df;
  --sage: #5a7a5a;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg); color: var(--ink);
  line-height: 1.6; font-size: 15px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }
a { color: var(--accent); }
.container { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header[role="banner"] {
  padding: 20px 0; border-bottom: 1px solid var(--rule); background: var(--bg);
}
.header-inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600; font-size: 20px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 28px; height: 28px; background: var(--accent);
  border-radius: 6px; display: grid; place-items: center; color: #fff;
  flex-shrink: 0;
}
.logo-mark svg { width: 16px; height: 16px; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }

main { padding: 60px 0 80px; }
.page-header { margin-bottom: 40px; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 12px;
}
h1.page-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
h1.page-title em { font-style: italic; color: var(--accent); font-weight: 400; }
.page-sub { color: var(--ink-soft); font-size: 17px; max-width: 560px; }

.prose h2 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 500;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 500;
  margin: 28px 0 10px;
}
.prose p { margin: 0 0 16px; color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 16px 20px; color: var(--ink-soft); }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); }
.prose a:hover { color: var(--accent-deep); }
.prose code {
  background: var(--surface-2); padding: 2px 6px;
  border-radius: 4px; font-size: 0.9em;
}
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 16px; margin: 20px 0;
  color: var(--ink-soft); font-style: italic;
}
.prose hr {
  border: 0; border-top: 1px solid var(--rule);
  margin: 32px 0;
}

.meta-row {
  display: flex; gap: 10px; align-items: center;
  color: var(--ink-muted); font-size: 13px;
  margin-bottom: 12px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.btn {
  padding: 11px 20px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 8px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--rule);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--ink-muted); color: var(--ink); }

.input, .textarea, .select {
  width: 100%;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-family: inherit; font-size: 14px;
  color: var(--ink);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(199, 81, 70, 0.12);
}
.textarea { min-height: 200px; resize: vertical; font-family: 'Inter', sans-serif; }
.field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field { margin-bottom: 16px; }

footer {
  padding: 32px 0; border-top: 1px solid var(--rule);
  margin-top: 60px;
  font-size: 13px; color: var(--ink-muted);
  text-align: center;
}
footer a { color: var(--ink-soft); text-decoration: none; margin: 0 10px; }
footer a:hover { color: var(--accent); }

.toast {
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: var(--bg);
  padding: 10px 18px; border-radius: 999px;
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 100; opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
