/* base.css: Reset, document defaults, fonts, and the two standard utilities ([hidden], reduced motion).
   Every colour comes from tokens.css (no literals here). Dark mode lives in tokens.css only. */
@font-face { font-family: "Helvetica Neue"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/HelveticaNeue-Light.woff2") format("woff2"); }
@font-face { font-family: "Helvetica Neue"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/HelveticaNeue-Regular.woff2") format("woff2"); }
@font-face { font-family: "Helvetica Neue"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/HelveticaNeue-Medium.woff2") format("woff2"); }
@font-face { font-family: "Helvetica Neue"; font-weight: 500; font-style: italic; font-display: swap; src: url("fonts/HelveticaNeue-MediumItalic.woff2") format("woff2"); }
@font-face { font-family: "Helvetica Neue"; font-weight: 600 700; font-style: normal; font-display: swap; src: url("fonts/HelveticaNeue-Bold.woff2") format("woff2"); }
@font-face { font-family: "Orpheus Pro"; font-weight: 300 500; font-style: normal; font-display: swap; src: url("fonts/OrpheusPro-Medium.woff2") format("woff2"); }
html { background: var(--navy); color-scheme: light dark; scroll-padding-top: env(safe-area-inset-top, 0px); -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--navy); color: var(--white); font: 400 18px/1.5 var(--sans); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); font-size: var(--t-body); line-height: 1.45; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; border-radius: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation-duration: .01ms !important; }
}
@media (max-width: 640px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}
@keyframes acct-spin { to { transform: rotate(360deg); } }
@keyframes shIn { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
/* Visibility utilities: they must beat any component display rule, so they carry !important like [hidden] */
@media (max-width: 640px) { .bd-ph-hide { display: none !important; } }
@media (min-width: 641px) { .bd-ph-only { display: none !important; } }
/* Touch screens: a field under 16px makes Safari zoom in when it is tapped, so every field is 16px there. Pinch-zoom stays (accessibility).
   It must beat each window's own field size, so it carries !important like the utilities above. */
@media (hover: none) and (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select, textarea, [contenteditable="true"] { font-size: 16px !important; }
}
/* Phone: the page never moves sideways under a finger; lists and tabs that scroll sideways keep their own scroll. */
@media (max-width: 640px) { html, body { overflow-x: clip; } }
