/* Shared style for the About, Contact and policy pages (matches index.html). */
:root { --ink: #14213d; --sub: #55617a; --blue: #1565c0; --blue-deep: #0d3f80; --sky: #eaf1fb; --line: #d4dcea; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font: 17px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; }
h1, h2, h3 { font-family: "Bricolage Grotesque", system-ui, sans-serif; line-height: 1.15; letter-spacing: -0.015em; }
a { color: var(--blue); }
a:focus-visible { outline: 3px solid #f2a900; outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(860px, 100% - 40px); margin-inline: auto; }

header.site { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); }
header.site .wrap { width: min(1120px, 100% - 40px); display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 20px "Bricolage Grotesque", sans-serif; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.top { display: flex; gap: 20px; align-items: center; font-size: 15px; }
nav.top a { color: var(--ink); text-decoration: none; }
nav.top a:hover, nav.top a[aria-current] { color: var(--blue); }
.btn { display: inline-block; padding: 8px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 14px; background: var(--blue); color: #fff !important; }
.btn:hover { background: var(--blue-deep); }

.page-head { background: var(--sky); padding: 48px 0 40px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; }
.page-head p { color: var(--sub); margin-top: 10px; max-width: 62ch; }
main.doc { padding: 40px 0 72px; }
main.doc h2 { font-size: 24px; font-weight: 800; margin: 36px 0 10px; }
main.doc h2:first-child { margin-top: 0; }
main.doc p { margin: 10px 0; max-width: 72ch; }
main.doc ul { margin: 10px 0 10px 22px; max-width: 70ch; }
main.doc li { margin: 4px 0; }
.note { background: var(--sky); border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 16px 0; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.cards div { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.cards h3 { font-size: 19px; margin-bottom: 6px; }
.cards p { margin: 0; color: var(--sub); font-size: 16px; }

footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--sub); }
footer .wrap { width: min(1120px, 100% - 40px); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 760px) {
  nav.top a:not(.btn) { display: none; }
  .cards { grid-template-columns: 1fr; }
}
