/* Shared public website shell; both pages load this after their page CSS. */
@font-face { font-family: "Coopers Town"; src: url("/css/Coopers%20Town.otf") format("opentype"); font-display: swap; }
:root { color-scheme: dark; --site-width: 1180px; --site-gutter: 64px; --bg: #211c14; --panel: #2b2419; --ink: #fff3d4; --muted: #c9baa0; --lime: #bddb3d; --amber: #ffbc32; --line: #55452b; font-family: system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); --text: var(--ink); --gold: var(--amber); --gold-bright: #ffcf64; --line-soft: #493c28; --panel-2: #33291e; --danger: #e37767; --ok: #80c996; }
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: radial-gradient(ellipse at 78% 12%, #4d3b1c55, transparent 40%), var(--bg); }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--amber); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; }
.wrap { width: min(var(--site-width), calc(100% - var(--site-gutter))); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10; padding: 1rem; background: var(--bg); }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { font-weight: 900; font-size: 18px; color: var(--lime); text-decoration: none; letter-spacing: -.04em; white-space: nowrap; }
.wordmark span { color: var(--amber); }
.site-header nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.site-header nav a, .site-footer nav a { font-size: 14px; font-weight: 650; text-decoration: none; padding-block: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 14px 24px; border: 1px solid #f7cb59; border-bottom: 4px solid #a96716; border-radius: 7px; background: linear-gradient(#ffcb48, #edab23); color: #261c0c; font: inherit; font-weight: 800; text-decoration: none; box-shadow: 0 5px 12px #0003; cursor: pointer; }
.button:hover { color: #261c0c; background: #ffda70; }
.button.secondary { border: 1px solid #796341; border-bottom: 4px solid #493820; color: var(--ink); background: #33291e; box-shadow: none; }
.button.secondary:hover { background: #493a25; color: white; }
.button.small { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; border-top: 1px solid var(--line); }
.site-footer p { font-size: 12px; color: var(--muted); margin: 0; }
.site-footer nav { gap: 20px; }
.site-footer nav a { font-size: 12px; }
.pwa-install-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 1px solid #806739;
  border-radius: 12px;
  color: var(--ink);
  background: #2b2419;
  box-shadow: 0 24px 80px #000a;
}
.pwa-install-dialog::backdrop { background: #080706b8; backdrop-filter: blur(3px); }
.pwa-install-dialog form { position: relative; display: grid; gap: 14px; padding: 28px; }
.pwa-install-dialog h2 { margin: 0; font-family: "Coopers Town", system-ui, sans-serif; font-size: clamp(28px, 6vw, 40px); font-weight: normal; line-height: 1.05; }
.pwa-install-dialog p { margin: 0; color: var(--muted); line-height: 1.55; }
.pwa-install-dialog .eyebrow { color: var(--lime); }
.pwa-install-dialog .button { justify-self: start; margin-top: 4px; }
.pwa-install-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; color: var(--muted); background: transparent; font: 28px/1 system-ui, sans-serif; cursor: pointer; }
.pwa-install-close:hover { color: var(--ink); }

html { scrollbar-gutter: stable; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.site-brand img { display: block; width: 64px; height: 64px; object-fit: contain; }
.site-header a[aria-current="page"] { color: var(--lime); }
.hero h1, .ready h2, .account-title h1 { font-family: "Coopers Town", system-ui, sans-serif; font-weight: normal; letter-spacing: .01em; line-height: 1.2; }
.site-header nav a, .site-footer nav a { font-family: system-ui, sans-serif; }
button:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
@media (max-width: 900px) { .site-header { gap: 16px; } .site-header nav { gap: 18px; } }
@media (max-width: 680px) {
 :root { --site-gutter: 36px; }
 .site-header { flex-direction: column; justify-content: center; padding-block: 16px 14px; gap: 10px; }
 .site-header nav { justify-content: center; column-gap: 18px; row-gap: 0; }
 .site-header nav a { font-size: 12px; }
 .site-brand img { width: 48px; height: 48px; }
 .site-footer { flex-direction: column; align-items: flex-start; }
}
