/*
 * cleo.dating — shared tokens, header and footer.
 * From "Cleo Landing v2" (Claude Design, 2026-09-12): Instrument Serif for
 * headings, Geist for everything else, cream page, near-black ink, one warm
 * terracotta accent. index.html adds its own section styles inline; the
 * legal pages use only this file plus a small article style.
 */
:root {
  --page: #FDF8F1;
  --ink: #1B1512;
  --muted: #6E625A;
  --muted-2: #5F544C;
  --body-2: #4A4A4A;
  --body-3: #3B322C;
  --accent: oklch(0.58 0.13 35);
  --accent-fill: oklch(0.62 0.13 35);
  --accent-soft: oklch(0.78 0.11 35);
  --alt: #F7EFE4;
  --footer: #F2E7D8;
  --line: #EDE6DA;
  --line-2: #E2D7C6;
  --line-3: #E4D7C4;
  --btn-hover: oklch(0.42 0.05 40);
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--page); color: var(--ink); }
body { font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 em, h2 em, h3 em { font-style: italic; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: var(--page); padding: 15px 30px; border-radius: 14px; font-size: 16.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 12px 30px rgba(27,21,18,0.18); border: 0; cursor: pointer; transition: background 0.2s ease; }
.btn:hover { background: var(--btn-hover); color: var(--page); }
.pill { display: inline-flex; align-items: center; background: var(--ink); color: var(--page); padding: 9px 17px; border-radius: 999px; font-weight: 500; font-size: 14px; white-space: nowrap; transition: background 0.2s ease; }
.pill:hover { background: var(--btn-hover); color: var(--page); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: transparent; border-bottom: 1px solid transparent; transition: background 0.25s ease, border-color 0.25s ease; }
.site-header.scrolled, .site-header.open { background: rgba(253,248,241,0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { padding-top: 12px; padding-bottom: 12px; padding-left: 18px; padding-right: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.wordmark { font-family: var(--serif); font-size: 25px; line-height: 1; color: var(--ink); }
.wordmark:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.nav > a { color: var(--muted); padding: 8px 6px; display: none; }
.nav > a:hover { color: var(--accent); }
.nav > a.pill { color: var(--page); padding: 9px 17px; }
.nav > a.pill:hover { color: var(--page); }
.menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; background: transparent; border: 0; cursor: pointer; }
.menu-btn span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.menu { background: rgba(253,248,241,0.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 18px 14px; display: flex; flex-direction: column; }
.menu[hidden] { display: none; }
.menu a { color: var(--ink); font-size: 17px; padding: 14px 4px; border-bottom: 1px solid #EFE7DA; min-height: 44px; }
.menu a:last-child { border-bottom: 0; }
@media (min-width: 860px) {
  .nav > a { display: inline-flex; }
  .menu-btn { display: none; }
  .menu { display: none !important; }
}

/* Footer */
.site-footer { background: var(--footer); overflow: hidden; }
.footer-grid { padding-top: 44px; padding-bottom: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.footer-col .label { font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--accent); }
.footer-line { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line-3); font-size: 12.5px; color: var(--muted); }
.footer-line span { padding-top: 16px; }
.footer-mark { display: flex; justify-content: flex-start; padding: 14px 20px 96px; }
.footer-mark div { font-family: var(--serif); font-size: clamp(96px, 30vw, 300px); line-height: 0.9; letter-spacing: -0.03em; color: var(--ink); user-select: none; }
@media (min-width: 860px) { .footer-mark { padding: 14px 20px 22px; } }

/* Legal / article pages */
.article { padding-top: 48px; padding-bottom: 80px; max-width: 760px; }
.article h1 { font-size: clamp(36px, 7vw, 56px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 8px; }
.article .meta, .article .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.article h2 { font-size: clamp(24px, 4vw, 30px); line-height: 1.15; letter-spacing: -0.02em; margin: 40px 0 10px; }
.article h3 { font-size: 21px; margin: 26px 0 8px; }
.article p, .article li { font-size: 16px; line-height: 1.65; color: var(--body-3); }
.article ul, .article ol { padding-left: 22px; }
.article a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.article a:hover { color: var(--accent); }
.article strong { color: var(--ink); font-weight: 600; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.article table { border-collapse: collapse; width: 100%; font-size: 15px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

.article .links { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.article .links a { font-family: var(--serif); font-size: 26px; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
