/* Ghatika's reading pages (privacy, contact): the app's own calm look, one accent. */
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('fonts/hanken-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('fonts/hanken-600.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
:root {
  --bg: #F2F1EE; --card: #F8F7F4; --ink: #1F1E1C; --muted: #5E5B56; --line: #DCD9D2; --line-2: #CFCBC3;
  --accent: #85650C; --accent-ink: #6F540A; --accent-soft: rgba(133, 101, 12, .10); --on-accent: #fff; --late: #A33B2B;
  --display: 'Cormorant Garamond', Georgia, serif; --body: 'Hanken Grotesk', system-ui, sans-serif; color-scheme: light;
}
:root[data-theme="dark"], :root.auto-dark {
  --bg: #121314; --card: #18191B; --ink: #ECEAE6; --muted: #A19E98; --line: #2E3032; --line-2: #3A3C3F;
  --accent: #A18436; --accent-ink: #B89A4C; --accent-soft: rgba(161, 132, 54, .13); --on-accent: #121314; --late: #E07A68; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--body); overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
.doc-top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.doc-top-in { max-width: 760px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.doc-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.doc-brand img { width: 34px; height: 34px; border-radius: 9px; }
.doc-brand b { font: 600 24px/1 var(--display); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid transparent; font: 500 15px var(--body); text-decoration: none; cursor: pointer; }
.btn.small { min-height: 36px; font-size: 14px; }
.btn.soft { background: var(--accent-soft); color: var(--accent-ink); }
.btn.primary { background: var(--accent); color: var(--on-accent); font-weight: 600; }
main.doc { max-width: 760px; margin: 0 auto; padding: 24px 20px 40px; }
.doc h1 { font: 600 40px/1.15 var(--display); margin: 10px 0 8px; }
.doc h2 { font: 600 26px/1.25 var(--display); margin: 32px 0 8px; }
.doc a { color: var(--accent-ink); text-underline-offset: 2px; }
.lede { font-size: 18px; color: var(--muted); margin-top: 0; }
.updated { color: var(--muted); font-size: 14px; }
.summary { background: var(--accent-soft); border-radius: 16px; padding: 14px 18px; margin: 20px 0 0; }
.summary p { margin: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 14px 0; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-top: 1px solid var(--line); }
tr:first-child th, tr:first-child td { border-top: 0; }
th { width: 34%; font-weight: 600; }
.muted { color: var(--muted); }
code { font-size: .92em; background: var(--accent-soft); padding: 1px 5px; border-radius: 5px; }
footer.doc-foot { max-width: 760px; margin: 0 auto; padding: 18px 20px 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer.doc-foot a { color: var(--accent-ink); }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--muted); }
.field small { font-weight: 400; }
.input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--ink); font: 400 16px var(--body); }
textarea.input { min-height: 140px; resize: vertical; }
.input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: 14px; color: var(--muted); }
.form-status.bad { color: var(--late); }
.sent h2 { margin-top: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
