/* shared/base.css — common styles for all pages */

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1c1b18;
  --text-2: #6b6860;
  --text-3: #aeaca6;
  --border: rgba(28,27,24,0.1);
  --border-md: rgba(28,27,24,0.2);
  --accent: #1c1b18;
  --accent-inv: #f7f6f3;
  --green: #2a7a50;
  --green-bg: #edf6f1;
  --red: #b83232;
  --red-bg: #fdf0f0;
  --mono: 'DM Mono', monospace;
  --r: 10px;
  --rl: 14px;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text); font-family: 'Noto Sans', -apple-system, 'Helvetica Neue', sans-serif; min-height: 100vh; }

/* CTA banner — full-width card, sits above page H1.
   Beta badge overflows the top-left corner like a ribbon. */
.cta-banner {
  position: relative;
  display: block;
  padding: 16px 18px;
  margin: 0 0 24px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.15s, background 0.15s;
}
.cta-banner:hover {
  border-color: var(--border-md);
  background: var(--surface);
}
.cta-banner-text { font-weight: 500; }
.cta-banner-badge {
  position: absolute;
  top: -10px;
  left: -8px;
  font-size: 10px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 3px 9px;
  border-radius: 99px;
}

/* FAQ toggle */
.faq-section { margin-top: 48px; border-top: 1px solid var(--border); padding-top: 32px; }
.faq-title { font-size: 14px; font-weight: 700; font-family: 'Noto Sans Mono', var(--mono); color: var(--text); margin-bottom: 16px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; cursor: pointer; font-size: 13px; color: var(--text); font-weight: 500; gap: 12px; }
.faq-q::after { content: '+'; font-size: 16px; color: var(--text-3); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a { display: none; padding: 0 0 14px; font-size: 13px; color: var(--text-2); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
