/*
 * Shared chrome for the plain content pages — privacy, terms, about, contact.
 *
 * The landing page keeps its own inline styles on purpose: it is the one page a
 * first-time visitor sees, and nothing here should be able to change it.
 */

:root {
    --ink: #0E1420;
    --ink-800: #161E2E;
    --ink-600: #2C3A52;
    --saffron: #FFB020;
    --saffron-100: #FFF1D6;
    --sea: #00A67E;
    --danger: #E4572E;
    --bone: #F6F3EC;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Public Sans', system-ui, sans-serif;
    color: var(--ink);
    background-color: var(--bone);
    background-image: radial-gradient(circle at 1px 1px, rgba(14, 20, 32, .045) 1px, transparent 0);
    background-size: 22px 22px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--saffron); color: var(--ink); }

h1, h2, h3 {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

a { color: inherit; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* --- header --- */
header.site {
    background: var(--ink);
    color: #fff;
    border-bottom: 2px solid var(--ink);
}
header.site .nav {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; padding: 14px 20px;
    max-width: 1180px; margin: 0 auto;
}
header.site .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
header.site .logo img { width: 38px; height: 38px; border-radius: 50%; display: block; }
header.site .logo span {
    font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 21px;
}
header.site nav { display: flex; gap: 22px; align-items: center; }
header.site nav a {
    text-decoration: none; font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .7);
}
header.site nav a:hover { color: #fff; }
@media (max-width: 640px) {
    header.site nav a.hide-sm { display: none; }
    header.site .nav { gap: 10px; }
    header.site nav { gap: 14px; }
    header.site .logo img { width: 32px; height: 32px; }
    header.site .logo span { font-size: 18px; }
}

/* --- page head --- */
.page-head { background: var(--ink); color: #fff; padding: 46px 0 52px; }
.page-head h1 { font-size: clamp(34px, 6vw, 56px); }
.page-head p {
    margin-top: 14px; color: rgba(255, 255, 255, .7); font-size: 17px; max-width: 560px;
}
.eyebrow {
    font-size: 13px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .16em; color: rgba(255, 255, 255, .5);
}

/* --- body copy --- */
main.doc { padding: 48px 0 72px; }
main.doc section { margin-top: 34px; }
main.doc section + section { margin-top: 40px; }
main.doc h2 { font-size: 27px; margin-bottom: 12px; }
main.doc h3 { font-size: 19px; margin: 22px 0 8px; }
main.doc p { margin-top: 12px; color: rgba(14, 20, 32, .8); }
main.doc ul, main.doc ol { margin: 12px 0 0 22px; color: rgba(14, 20, 32, .8); }
main.doc li { margin-top: 7px; }
main.doc strong { font-weight: 700; color: var(--ink); }
main.doc a:not(.btn) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
main.doc a:not(.btn):hover { background: var(--saffron); }

.panel { border: 2px solid var(--ink); background: #fff; padding: 24px; }
.panel + .panel { margin-top: 16px; }
.updated {
    display: inline-block; border: 2px solid var(--ink); background: var(--saffron);
    padding: 5px 11px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
}

table.tbl { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
table.tbl th, table.tbl td {
    border: 2px solid var(--ink); padding: 9px 12px; text-align: left; vertical-align: top;
}
table.tbl th { background: var(--saffron-100); font-weight: 700; }

/* --- form --- */
.field {
    width: 100%; border: 2px solid var(--ink); background: #fff;
    padding: 11px 13px; font: inherit; font-size: 15px; color: var(--ink);
}
.field:focus { outline: none; background: var(--saffron-100); }
textarea.field { min-height: 150px; resize: vertical; }
.label {
    display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em; color: rgba(14, 20, 32, .6);
}
.row { margin-top: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    border: 2px solid var(--ink); padding: 13px 22px;
    font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
    background: var(--saffron); color: var(--ink);
    box-shadow: 2px 2px 0 0 var(--ink);
    transition: transform .1s, box-shadow .1s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: 2px 2px 0 0 var(--ink); }

.note { margin-top: 16px; border: 2px solid var(--ink); padding: 12px 14px; font-size: 15px; }
.note.ok { background: #E4F7F1; }
.note.bad { background: #FDE8E1; }

/* --- footer --- */
footer.site {
    background: var(--ink); color: rgba(255, 255, 255, .6);
    padding: 36px 0; font-size: 14px; border-top: 2px solid var(--ink);
}
footer.site .inner {
    max-width: 1180px; margin: 0 auto; padding: 0 20px;
    display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center;
}
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--saffron); }
footer.site .links { display: flex; gap: 20px; flex-wrap: wrap; }
