/* Shared styles for the simple pages (privacy, terms, 404). Matches the home page: black & white with cobalt accents. */
:root {
  --bg: #eef0f3; --ink: #0a0c10; --muted: #565c66; --line: #d8dce2; --accent: #1d4ed8; --accent-ink: #1e40af;
  --font-display: "Unbounded", "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 var(--font-body); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.top .wrap { max-width: 1120px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand-logo { display: block; height: 54px; width: auto; }
@media (max-width: 420px) { .brand-logo { height: 42px; } .top .btn { padding: 11px 16px; font-size: .9rem; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: 700 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap; border: 2px solid transparent; }
.btn-book, .btn-answer { background: var(--accent); border-color: var(--accent); color: #fff; animation: glow 2.6s ease-out infinite; }
.btn-book::after { content: "\2192"; transition: transform .2s ease; }
.btn-book:hover::after { transform: translateX(3px); }
.btn-book:hover, .btn-answer:hover, .btn-ghost:hover { animation: softbuzz .6s ease-in-out infinite; }
.btn-ghost { border-color: var(--accent); color: var(--ink); }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(29,78,216,.45); } 70% { box-shadow: 0 0 0 12px rgba(29,78,216,0); } 100% { box-shadow: 0 0 0 0 rgba(29,78,216,0); } }
@keyframes softbuzz { 0%, 100% { transform: translate(0,0) rotate(0); } 25% { transform: translate(-.4px,0) rotate(-.15deg); } 50% { transform: translate(.4px,0) rotate(.15deg); } 75% { transform: translate(-.3px,0) rotate(-.1deg); } }
main { padding-block: 56px 88px; }
h1 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 10px; }
h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; margin: 44px 0 10px; padding-top: 22px; border-top: 2px solid var(--line); position: relative; }
h2::before { content: ""; position: absolute; left: 0; top: -2px; width: 36px; height: 2px; background: var(--accent); }
.updated { color: var(--muted); margin: 0 0 32px; font-size: 0.95rem; }
p, li { max-width: 68ch; }
li { margin-bottom: 6px; }
li::marker { color: var(--accent); }
ul { padding-left: 1.2em; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
.note { background: #fbfcfd; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 16px 20px; color: var(--muted); }
/* soft fade-in, line by line, no blur */
main h1, main .updated, main .wrap > :not(h1):not(.updated) { opacity: 0; transform: translateY(3px); animation: fadein 1.6s cubic-bezier(.16,1,.3,1) forwards; }
main .updated { animation-delay: .24s; }
main .wrap > :not(h1):not(.updated) { animation-delay: .5s; }
@keyframes fadein { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { main h1, main .updated, main .wrap > * { opacity: 1; transform: none; animation: none !important; } .btn { animation: none !important; } }
footer { background: #0b0b0b; font-size: 0.9rem; }
footer .wrap { max-width: 1120px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; padding-block: 28px; }
footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
footer .foot-copy, footer nav a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s ease; }
footer nav a:hover { color: var(--accent); }
@media (max-width: 640px) { footer .wrap { justify-content: center; text-align: center; } footer nav { justify-content: center; gap: 8px 22px; } footer .foot-mail { flex-basis: 100%; } }
.center { text-align: center; }
.center p { margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
