/* Nocotine public legal + support pages.
   Matches the app's Cal-AI black-and-white look. No dependencies — these pages
   must stay reachable forever, so nothing here loads from a CDN. */

:root {
  --ink: #101114;
  --text: #1c1e22;
  --muted: #5f6672;
  --faint: #8b929e;
  --bg: #f6f6f8;
  --surface: #ffffff;
  --rule: #e5e7ec;
  --accent: #e5484d;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4f5f7;
    --text: #e7e9ee;
    --muted: #a2aab8;
    --faint: #79818f;
    --bg: #0f1114;
    --surface: #16181d;
    --rule: #262a31;
    --accent: #ff6b6f;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 48px 22px 80px; }

header.site {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 22px; margin-bottom: 34px;
  border-bottom: 1px solid var(--rule);
}
header.site .mark { font-size: 30px; line-height: 1; }
header.site .name {
  font-size: 17px; font-weight: 700; color: var(--ink);
  letter-spacing: -.01em; text-decoration: none;
}
header.site .by { font-size: 13px; color: var(--faint); }

h1 {
  font-size: clamp(28px, 5vw, 36px); line-height: 1.15; letter-spacing: -.02em;
  font-weight: 800; color: var(--ink); margin: 0 0 8px;
}
.updated {
  font-size: 13px; color: var(--faint); margin: 0 0 26px;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
}
.intro {
  font-size: 17px; color: var(--text); margin: 0 0 34px;
  padding-bottom: 26px; border-bottom: 1px solid var(--rule);
}

h2 {
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin: 34px 0 8px; letter-spacing: -.005em;
}
p { margin: 0 0 14px; color: var(--muted); }
ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted); }
li { margin-bottom: 6px; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.card {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: 14px; padding: 22px 24px; margin: 0 0 18px;
}
.card h2 { margin-top: 0; }

.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.links a {
  display: inline-block; text-decoration: none; font-size: 14.5px; font-weight: 600;
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--rule); border-radius: 999px; padding: 9px 17px;
}

footer.site {
  margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--rule);
  font-size: 13.5px; color: var(--faint);
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
}
footer.site a { color: var(--muted); }
