/* Ever Nest text pages (privacy.html, terms.html, support.html). Self-contained; tokens copied from styles.css. Light theme only. */
:root {
  --ink: #1d1712;
  --ink-2: #5a4d43;
  --ink-3: #85776b;
  --amber: #f2b636;
  --amber-deep: #b8781a;
  --cream: #fae4ca;
  --paper: #fbf4ea;
  --line: rgba(60, 40, 20, 0.14);
  --gutter: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { background: var(--cream); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); background: linear-gradient(180deg, #fae6cc 0%, var(--paper) 420px);
  font: 400 17px/1.55 var(--font); letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; overflow-x: clip;
  overflow-wrap: break-word;
}
a { color: var(--ink); text-decoration-color: var(--amber-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
img { display: block; }

.bar {
  max-width: 68ch; margin: 0 auto; padding: 14px max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  padding-top: max(14px, env(safe-area-inset-top));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 600 17px/1 var(--font-display); letter-spacing: -0.02em; }
.brand img { border-radius: 7px; }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--ink-2); }

main {
  max-width: 68ch; margin: 0 auto; padding: 24px max(var(--gutter), env(safe-area-inset-right)) 56px max(var(--gutter), env(safe-area-inset-left));
}
h1 { margin: 0 0 6px; font: 700 clamp(30px, 8vw, 42px)/1.12 var(--font-serif); letter-spacing: -0.02em; }
h2 { margin: 40px 0 10px; font: 700 clamp(21px, 5.4vw, 25px)/1.22 var(--font-serif); letter-spacing: -0.015em; }
h3 { margin: 22px 0 6px; font: 600 17px/1.35 var(--font); }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 1.3em; }
li { margin: 0 0 6px; padding-left: 2px; }
li::marker { color: var(--amber-deep); }
strong { font-weight: 600; }
.updated { margin: 0 0 22px; color: var(--ink-3); font-size: 15px; }
.lede { font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.short {
  margin: 0 0 8px; padding: 16px 18px 6px; border-radius: 18px; background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px var(--line);
}
.short h2 { margin: 0 0 8px; font-size: 19px; }
.todo { background: #ffe9a8; border-radius: 4px; padding: 0 4px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.foot {
  max-width: 68ch; margin: 0 auto; padding: 20px max(var(--gutter), env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 8px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
.foot p { margin: 0; }

/* support.html: the contact card, then questions that open one at a time (Mobbin 2026-11-03: GetYourGuide, Etsy help pages) */
.contact { margin-bottom: 4px; }
.contact .mail {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--amber);
  color: var(--ink); font-weight: 600; text-decoration: none; box-shadow: inset 0 -2px 0 rgba(120, 70, 0, 0.18);
}
.contact .mail:hover { background: #f5c254; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type, h2 + details { border-top: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 12px 2px; font-weight: 600;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex-shrink: 0; font: 400 24px/1 var(--font); color: var(--amber-deep); transition: transform 0.2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details > :not(summary) { margin-left: 2px; margin-right: 2px; }
details > :last-child { margin-bottom: 18px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
