/* Shared styles for the UpShift Fit public pages (holding page has its own inline copy) */
:root {
  --bg: #eef1f4; --surface: #ffffff; --ink: #131c2b; --muted: #4f5a6d; --line: #d8dee6;
  --navy: #13213a; --on-navy: #eef1f4; --brand: #3b8c87; --accent: #2f7773; --soft: #d5e8e6;
  --display: 'Newsreader', Georgia, serif; --text: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0d1524; --surface: #152036; --ink: #e8ecf2; --muted: #a3aec0; --line: #26334d; --accent: #5fb3ad; --soft: #1b3440; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--text); }
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.top { background: var(--navy); color: var(--on-navy); padding: 18px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--on-navy); text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.logo .fit { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--brand); margin-left: 3px; letter-spacing: 0; }
header.top nav a { color: var(--on-navy); text-decoration: none; font-size: .92rem; margin-left: 14px; opacity: .85; }
header.top nav a:hover { opacity: 1; text-decoration: underline; }
main { padding: 36px 0 64px; }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1; margin: 0 0 6px; }
h2 { font-family: var(--display); font-weight: 600; font-size: 1.45rem; margin: 32px 0 8px; }
h3 { font-size: 1.05rem; margin: 20px 0 6px; }
.updated { color: var(--muted); font-size: .92rem; margin: 0 0 24px; }
.note { background: var(--soft); border-radius: 14px; padding: 16px 18px; margin: 20px 0; font-size: .95rem; }
table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: .95rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
ul { padding-left: 22px; }
li { margin: 6px 0; }
footer { border-top: 1px solid var(--line); padding: 22px 0 44px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { margin-right: 14px; }
