/* Napkin document pages (privacy, terms, guidelines, support).
   Tokens mirror the :root block in site-v2.html; change both together. */
:root {
  color-scheme: light;
  --bone: #F1ECE3;
  --bone-2: #F7F3EC;
  --ink: #17121E;
  --text: #3A3443;
  --muted: rgba(23,18,30,.58);
  --faint: rgba(23,18,30,.4);
  --line: rgba(23,18,30,.08);
  --violet: #8A6BFF;
  --red: #FF4D6A;
  --maxw: 1180px;
  --docw: 760px;
  --logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cg fill='none' stroke='%23000' stroke-width='30' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M96 96H332L416 180V416H96Z'/%3E%3Cpath d='M332 96V180H416'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bone); color: var(--text); font: 16px/1.65 Geist, ui-sans-serif, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }

/* glow behind the header, a quiet echo of the home page aura */
body::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 520px; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 80% at 100% 0%, rgba(138,107,255,.28), transparent 70%), radial-gradient(50% 70% at 0% 10%, rgba(255,77,106,.16), transparent 70%); }

/* top bar */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(241,236,227,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
.bar-inner { max-width: var(--maxw); margin: 0 auto; padding: 14px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 500 23px/1 Geist, sans-serif; letter-spacing: -.045em; }
.mk { display: block; width: 26px; height: 26px; background: var(--ink); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.tabs { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.5); border: 1px solid var(--line); }
.tab { font-size: 13.5px; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.tab:hover { color: var(--ink); background: rgba(23,18,30,.05); }
.tab[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(23,18,30,.08); }
.bar-cta { justify-self: end; font-size: 13.5px; font-weight: 500; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(23,18,30,.16); color: var(--ink); transition: background .2s; }
.bar-cta:hover { background: rgba(255,255,255,.5); }

/* document body (markup carried over verbatim from the previous site) */
.document-shell, .support-shell { max-width: var(--docw); margin: 0 auto; padding: 72px 24px 96px; }
.document-header { padding-bottom: 36px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.document-header h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.02; margin-bottom: 18px; }
.meta { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.company { margin: 0 0 22px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; color: var(--faint); }
.intro { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); }
.legal-section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; }
.legal-section p { margin: 0 0 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: 8px 0 12px; padding-left: 20px; }
.legal-section li { margin: 6px 0; }
.legal-section li::marker { color: var(--red); }
.legal-section strong { color: var(--ink); font-weight: 600; }
.legal-section a, .contact-block a, .intro a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(23,18,30,.25); text-underline-offset: 3px; }
.legal-section a:hover, .contact-block a:hover { text-decoration-color: var(--red); }
.all-caps { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.notice { padding: 16px 18px; border-radius: 16px; background: rgba(255,77,106,.08); border: 1px solid rgba(255,77,106,.22); color: var(--ink); }
.contact-block { margin-top: 12px; }
.contact-block p { margin: 0 0 6px; }

/* support page cards */
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.support-card { padding: 24px; border-radius: 22px; background: rgba(255,255,255,.55); border: 1px solid var(--line); display: flex; flex-direction: column; }
.support-card h2 { font-size: 20px; margin-bottom: 10px; }
.support-card p { margin: 0 0 12px; font-size: 15px; }
.support-card .button-row { margin-top: auto; padding-top: 6px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bone-2); font: 600 14px/1 Geist, sans-serif; transition: transform .2s, opacity .2s; }
.button:hover { transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--ink); border: 1px solid rgba(23,18,30,.18); }

/* footer (same as home page) */
.foot { padding: 10px 0 48px; }
.foot .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { font-size: 14px; color: var(--muted); }
.foot nav a:hover, .foot nav a[aria-current="page"] { color: var(--ink); }
.foot small { font-size: 13px; color: var(--faint); }
.foot .brand { font-size: 20px; } .foot .mk { width: 22px; height: 22px; }

@media (max-width: 760px) {
  .bar-inner { grid-template-columns: 1fr auto; }
  .tabs { grid-column: 1 / -1; grid-row: 2; justify-self: start; overflow-x: auto; max-width: 100%; }
  .support-grid { grid-template-columns: 1fr; }
  .document-shell, .support-shell { padding: 48px 18px 72px; }
}
