/* Healthusiasm Magazine site: style C. Courier New, plain white, brand navy. */
:root { --ink: #000542; --paper: #ffffff; --fs: 17px; --fs-s: 14px; --line: 1.5px solid var(--ink); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: 'Courier New', Courier, monospace; font-size: var(--fs); line-height: 1.6; }
a { color: inherit; }
a:hover, button.btn:hover, [data-logout]:hover { opacity: 0.6; }
p, h1, h2, ul { margin: 0; }
[hidden] { display: none !important; }
h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; font-weight: 700; }
h2.h3 { font-size: 20px; line-height: 1.3; }
mark { background: var(--ink); color: var(--paper); padding: 0 6px; }
.small { font-size: var(--fs-s); }
.tiny { font-size: 12px; letter-spacing: 0.08em; }
.caps { letter-spacing: 0.08em; text-transform: uppercase; }
.label { font-size: var(--fs-s); letter-spacing: 0.14em; text-transform: uppercase; }
.go { text-decoration: none; }
.btn { font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.btn[disabled] { opacity: 0.4; cursor: default; }

/* menu bar and footer */
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 20px 5vw; border-bottom: var(--line); }
.bar.slim { padding: 12px 5vw; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0.1em; font-size: var(--fs-s); }
.brand img { height: 22px; width: auto; display: block; }
.bar nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: var(--fs-s); letter-spacing: 0.08em; text-transform: uppercase; }
.bar nav a { text-decoration: none; }
.bar nav [aria-current] { font-weight: 700; }
[data-logout] { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
footer { margin-top: auto; }
.foot { border-top: var(--line); padding: 14px 5vw; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: var(--fs-s); }
.cookie { border-top: var(--line); padding: 14px 5vw; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; font-size: var(--fs-s); position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--paper); }

/* page layouts */
main.wide { width: 100%; max-width: 1120px; margin: 0 auto; padding: 72px 5vw 96px; display: flex; flex-direction: column; gap: 72px; }
main.narrowpage, .narrowpage { width: 100%; max-width: 720px; margin: 0 auto; }
main.narrowpage { padding: 72px 5vw 96px; }
main.edition { flex: 1; display: flex; flex-direction: column; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack.tight { gap: 10px; }
.narrow { max-width: 70ch; }
.row { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.rule { border-top: var(--line); padding-top: 36px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 56px; align-items: start; }
.two.up { margin-top: -40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 32px; }
.grid.rule { padding-top: 24px; }
ul.dash { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }

/* covers and cards */
.cover { aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; text-decoration: none; }
.cover.big { aspect-ratio: auto; flex: 1; min-height: 620px; padding: 5vw; }
.covertitle { font-size: 26px; font-weight: 700; line-height: 1.1; }
.covertitle.large { font-size: 40px; }
.giant { font-size: clamp(48px, 9vw, 120px); line-height: 0.95; }
.lead { font-size: 20px; max-width: 40ch; }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cardtitle { font-size: var(--fs); line-height: 1.4; }
.numbers { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 14px 0; border-top: var(--line); border-bottom: var(--line); }
.numbers a { text-decoration: none; font-weight: 700; }
.numbers .off { opacity: 0.35; }
.figure { font-size: 44px; font-weight: 700; line-height: 1; }

/* about */
.who { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: flex-start; }
.who > .stack { flex: 999 1 360px; }
.books { display: flex; gap: 16px; }
.book { width: 96px; height: 140px; border: var(--line); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; padding: 6px; }
.faq { border-top: var(--line); }
.faq details { border-bottom: var(--line); padding: 16px 0; }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; display: flex; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .minus, .faq details[open] .plus { display: none; }
.faq details[open] .minus { display: inline; }
.faq .answer { padding: 14px 0 6px 68px; max-width: 70ch; }

/* forms */
.form.short { max-width: 420px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-s); letter-spacing: 0.08em; text-transform: uppercase; }
.field input { font: inherit; font-size: var(--fs); letter-spacing: 0; text-transform: none; padding: 11px 0; border: 0; border-bottom: var(--line); border-radius: 0; background: transparent; color: inherit; }
.field input:focus { outline: 0; border-bottom-width: 3px; padding-bottom: 9.5px; }
.small.up { margin-top: -12px; }
.error { color: #a40000; font-size: var(--fs-s); }
.error:empty { display: none; }
@media (max-width: 600px) { main.wide, main.narrowpage { padding-top: 44px; padding-bottom: 64px; } .faq .answer { padding-left: 0; } .cover.big { min-height: 440px; } }