/* Kinta's own tokens — the same paper, ink and terracotta the app uses.
   Kept as one stylesheet rather than a framework: five static pages do not need a build. */
:root {
  --surface: #e8e7e3;
  --surface-card: #ffffff;
  --ink: #1a1815;
  --ink-muted: #696560;
  --ink-faint: #a8a59e;
  --accent: #b4552e;
  --line: #d9d6d0;
  /* Fixed in both themes — the brand and Kit himself, as the app holds them: the icon's
     terracotta (IconTerracotta), the cream written on it, and Kit's ink, eyes and moods
     (KitInk, KitEye, KitCalm/Holding/Glad). His everyday body on the site is the icon's
     terracotta, not the app's cream (owner, 13.10.2026). */
  --brand: #c96a3f;
  --on-brand: #f3e3c8;
  --kit-ink: #1a1815;
  --kit-eye: #ffffff;
  --kit-calm: #7fb5e8;
  --kit-holding: #e58fb5;
  --kit-glad: #7ed492;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #141210;
    --surface-card: #22201c;
    --ink: #f2f0ec;
    --ink-muted: #9a968e;
    --ink-faint: #6b645c; /* not the app's #4a4742: here it sets real text (footer, notes) */
    --accent: #c96a3f;
    --line: #2e2823;
  }
}

/* Our own copies of the brand fonts (OFL, from the app's bundle). Loaded from Google they
   would send every visitor's IP to Google before any consent — on a site about quitting porn,
   betting or drinking, the visit itself is sensitive (owner, 13.10.2026). */
@font-face { font-family: Fraunces; src: url("/fonts/Fraunces-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Geologica; src: url("/fonts/Geologica-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geologica; src: url("/fonts/Geologica-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Sansation; src: url("/fonts/Sansation-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 24px 96px;
  background: var(--surface);
  color: var(--ink);
  font-family: Geologica, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 680px; margin: 0 auto; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 48px;
}

/* The logo: the app icon's face beside the name, the same face as on the home screen
   (owner, 12.10.2026). The name is the app's, Kit; the site stays getkinta.app — his home. */
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Geologica, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.mark svg { display: block; overflow: visible; }
/* A blink: each eye folds shut around its own middle and opens again (see kit.js). */
.kit-face .eye { transform-box: fill-box; transform-origin: center; transition: transform 70ms ease-in; }
.kit-face.blink .eye { transform: scaleY(0.08); }

nav a {
  color: var(--ink-muted);
  text-decoration: none;
  margin-left: 20px;
  font-size: 15px;
  white-space: nowrap;
}

nav a:hover { color: var(--accent); }

h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
  margin: 48px 0 12px;
}

.updated { color: var(--ink-faint); font-size: 15px; margin: 0 0 40px; }

p, li { color: var(--ink); }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }

strong { font-weight: 600; }

a { color: var(--accent); }

.card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px;
  margin: 0 0 24px;
}

.lede { font-size: 19px; color: var(--ink-muted); margin-bottom: 32px; }

footer {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

footer a { color: var(--ink-muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

@media (max-width: 520px) {
  h1 { font-size: 34px; }
  body { font-size: 16px; }
  /* The logo is wider than the old wordmark: on a phone the links go under it, on one
     line of their own, instead of breaking "Legal notice" in two beside it. */
  header { padding: 24px 0 32px; flex-wrap: wrap; row-gap: 16px; }
  nav { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 18px; }
  nav a { margin-left: 0; font-size: 14px; }
}
