/* Shared styles for the secondary pages: about, faq, support, contact, privacy, terms, 404 */
:root { --navy: #0B1B3A; --lime: #D4FF3A; --f-d: "Unbounded", "Arial Black", system-ui, sans-serif; --f-b: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font: 600 17px/1.65 var(--f-b); color: var(--navy); background: linear-gradient(#4FAEFF, #EAF6FF 60%) fixed; padding: clamp(16px, 4vw, 48px); }
.wrap { max-width: 820px; margin: 0 auto; }
.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.logo { font: 900 20px var(--f-d); color: var(--navy); text-decoration: none; letter-spacing: .03em; }
.btn { display: inline-flex; padding: 10px 20px; border-radius: 999px; background: var(--lime); color: var(--navy); border: 2px solid var(--navy); box-shadow: 3px 3px 0 var(--navy); font: 800 14px var(--f-b); text-decoration: none; }
.card { background: #fff; border: 3px solid var(--navy); border-radius: 28px; box-shadow: 8px 8px 0 var(--navy); padding: clamp(22px, 5vw, 48px); }
h1 { margin: 0 0 6px; font: 900 clamp(26px, 5vw, 40px)/1.15 var(--f-d); text-transform: uppercase; }
h2 { margin: 32px 0 8px; font: 900 18px var(--f-d); text-transform: uppercase; }
p, li { margin: 0 0 12px; }
ul { padding-left: 22px; }
.meta { opacity: .7; font-weight: 700; }
mark.todo { background: var(--lime); color: var(--navy); padding: 1px 6px; border-radius: 6px; font-weight: 800; }
a { color: var(--navy); }
.nf { text-align: center; padding: clamp(40px, 10vw, 100px) 20px; }
.nf .big { font: 900 clamp(90px, 22vw, 200px)/1 var(--f-d); margin: 0; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* ===== navigation, footer, FAQ, forms ===== */
.pg-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin: 0 0 24px; }
.pg-top nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pg-top nav a { font: 800 15px var(--f-b); color: var(--navy); text-decoration: none; padding: 6px 2px; border-bottom: 3px solid transparent; }
.pg-top nav a:hover, .pg-top nav a[aria-current="page"] { border-bottom-color: var(--navy); }
@media (max-width: 640px) { .pg-top nav { order: 3; width: 100%; justify-content: center; } }
.pg-foot { margin: 28px auto 0; text-align: center; font: 700 13px/1.8 var(--f-b); }
.pg-foot { line-height: 2.2; }
.pg-foot a { color: inherit; text-underline-offset: 3px; margin: 0 12px; }
.pg-foot a:first-of-type { margin-left: 8px; }
.btn.ghost { background: #fff; }
button.btn { cursor: pointer; font-family: inherit; }
.btn.big { padding: 14px 28px; font-size: 16px; margin-top: 22px; }
.card .btn { margin: 4px 8px 4px 0; }
details { border: 3px solid var(--navy); border-radius: 18px; background: #fff; margin: 0 0 14px; box-shadow: 4px 4px 0 var(--navy); }
summary { cursor: pointer; list-style: none; position: relative; padding: 16px 54px 16px 20px; font: 800 17px var(--f-b); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 900 24px var(--f-d); }
details[open] summary::after { content: "\2013"; }
details .ans { padding: 0 20px 8px; }
summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 14px; }
.mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0; }
@media (max-width: 420px) { .mini { grid-template-columns: 1fr; } }
.back { display: inline-block; margin: 0 0 18px; font: 800 14px var(--f-b); color: var(--navy); text-decoration: none; border-bottom: 3px solid var(--lime); }
.back:hover { border-bottom-color: var(--navy); }
#form-msg { margin: 14px 0 0; font-weight: 800; }
.mini div { border: 3px solid var(--navy); border-radius: 18px; padding: 16px; background: #EAF6FF; }
.mini b { display: block; margin-bottom: 4px; font: 900 15px var(--f-d); text-transform: uppercase; }
label { display: block; margin: 18px 0 6px; font: 800 14px var(--f-b); }
input, select, textarea { width: 100%; padding: 12px 14px; border: 3px solid var(--navy); border-radius: 14px; background: #fff; color: var(--navy); font: 600 16px var(--f-b); }
textarea { min-height: 150px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
pre { margin: 0 0 14px; padding: 14px; border: 3px solid var(--navy); border-radius: 14px; background: #EAF6FF; white-space: pre-wrap; font: 600 14px/1.7 var(--f-b); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
