/* wwwroot/css/mini.css — shared by the small secondary pages. */
:root {
    --ink: #080706;
    --paper: #f2ede4;
    --dim: rgba(242,237,228,0.55);
    --faint: rgba(242,237,228,0.3);
    --hair: rgba(242,237,228,0.08);
    --red: #b91c1c;
    --red-lit: #ef4444;
    --gold: #d4a017;
    --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    --mono: 'DM Mono', ui-monospace, Menlo, monospace;
    --display: 'Bebas Neue', 'Arial Narrow', sans-serif;
}

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

body {
    margin: 0;
    min-height: 100vh;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
}

a { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.shell { width: 100%; max-width: 40rem; margin: 0 auto; padding: 0 1.5rem; }

.topbar { border-bottom: 1px solid var(--hair); padding: 1.1rem 0; }
.mark { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.mark-block { width: 1.75rem; height: 1.75rem; background: var(--red); display: grid; place-items: center; font-family: var(--display); font-size: .8rem; color: #fff; }
.mark-name { font-family: var(--mono); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }

main { flex: 1; padding: 4rem 0 5rem; }

.eyebrow { font-family: var(--mono); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--red-lit); margin: 0 0 1.25rem; }
h1 { font-family: var(--display); font-size: clamp(2.5rem, 7vw, 3.5rem); line-height: 1; letter-spacing: .02em; font-weight: 400; margin: 0 0 1.5rem; }
h2 { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; margin: 2.25rem 0 .5rem; }
p { color: var(--dim); margin: 0 0 1rem; }
strong { color: var(--paper); font-weight: 400; }
ul { color: var(--dim); padding-left: 1.1rem; margin: 0 0 1rem; }
li { margin-bottom: .35rem; }

.input { width: 100%; background: rgba(242,237,228,.04); border: 1px solid rgba(242,237,228,.14); color: var(--paper); font-family: var(--mono); font-size: .9375rem; padding: .9rem 1.15rem; margin-bottom: .875rem; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,23,.12); }

.btn { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; padding: .95rem 1.9rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s; }
.btn-primary { background: var(--paper); color: var(--ink); }
.btn-primary:hover { background: var(--gold); }
.btn-ghost { border-color: rgba(242,237,228,.22); color: var(--paper); background: none; }
.btn-ghost:hover { border-color: rgba(242,237,228,.55); }

.note { font-family: var(--mono); font-size: .72rem; color: var(--red-lit); margin: 0 0 1rem; }

footer { border-top: 1px solid var(--hair); padding: 1.75rem 0; font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
footer a { color: var(--faint); text-decoration: none; }
footer a:hover { color: var(--dim); }
.foot-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
