/* Flik — shared styles for the public legal & support pages.
   On-brand with the app: warm cream paper, warm charcoal ink, brick-red accent.
   Self-contained; safe to host as static files on GitHub Pages, Netlify, etc. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --bg: #f5efe6;          /* warm paper cream */
  --surface: #fffdf9;     /* near-white card */
  --ink: #2b2520;         /* warm charcoal — never pure black */
  --ink-soft: #6b6256;    /* muted charcoal */
  --ink-faint: #9a9081;   /* faintest text */
  --accent: #c75444;      /* brick red — links, primary */
  --accent-warm: #d3884a; /* orange — subtle accents */
  --divider: #e7decf;     /* pale cream hairline */
  --radius: 14px;
  --maxw: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Header ---- */
.site-header {
  border-bottom: 1px solid var(--divider);
  background: rgba(245, 239, 230, 0.9);
  backdrop-filter: saturate(140%) blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.wordmark:hover { text-decoration: none; }
.site-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
}
.site-nav a { color: var(--ink-soft); }
.site-nav a.active { color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* ---- Layout ---- */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 22px 24px;
}

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin: 0 0 10px;
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 21px;
  font-weight: 600;
  margin: 36px 0 10px;
  letter-spacing: -0.005em;
}
h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 22px 0 6px;
}
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

.updated {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  color: var(--ink-faint);
  margin: 0 0 28px;
}

.lede {
  font-size: 18.5px;
  color: var(--ink-soft);
}

/* Card used to emphasize the zero-tolerance clause and key callouts. */
.callout {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 22px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--accent); }

/* Landing-page document links. */
.doc-grid { display: grid; gap: 14px; margin-top: 28px; }
.doc-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.doc-card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-1px); }
.doc-card .title { font-weight: 600; font-size: 18px; }
.doc-card .desc { color: var(--ink-soft); font-size: 15px; margin-top: 2px; }

/* FAQ blocks on the support page. */
.faq { border-top: 1px solid var(--divider); padding-top: 18px; margin-top: 18px; }
.faq:first-of-type { border-top: 0; }

.mail-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  margin: 6px 0 12px;
}
.mail-btn:hover { text-decoration: none; opacity: 0.92; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--divider);
  margin-top: 48px;
}
.site-footer .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 22px 40px;
  font-size: 14px;
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--ink-soft); }
.site-footer nav { display: flex; gap: 16px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 27px; }
  main { padding-top: 30px; }
  .site-header .inner { padding: 14px 18px; }
}
