/* UP↑SCALE website design (2026-10): one stylesheet for every static page.
   - Part 1: shared pieces (header with menu, footer, buttons, call-to-action band), classes start with "site"
   - Part 2: the home page (body.homePage)
   - Part 3: restyle of the older product pages (body.sitePage): the old class names (mainDiv, lighterDiv, darkOne, upScaleDL ...) stay in the
     HTML, only their look changes
   - Part 4: manual and PHP pages (body.manualPage, body.phpPage)
   Fonts: system fonts for text (readable everywhere), Press Start 2P only for the logo and headings. No JavaScript is needed. */

@font-face {font-family: 'PressStart2P'; src: url('PressStart2P-Regular.ttf'); font-display: swap;}

:root {
	--ink: #1f2619;
	--muted: #5d6657;
	--bg: #f6f7f2;
	--card: #ffffff;
	--line: #e1e5d8;
	--brand: #454B1B;
	--brand-dark: #2c3110;
	--brand-soft: #eef3e1;
	--leaf: #3d7a1f;
	--accent: #ffd400;
	--accent-dark: #e6bf00;
	--pixel: 'PressStart2P', 'Courier New', monospace;
	--text: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--header-h: 60px;
}

html {scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%;}
body.sitePage, body.homePage, body.manualPage, body.phpPage {margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg);}
body.sitePage *, body.homePage * {box-sizing: border-box;}

/* ---------- 1. header + menu ---------- */
.siteHeader {position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 8px rgba(30, 40, 10, 0.06); font-family: var(--text); font-size: 16px; line-height: 1.3;}
.siteHeader * {box-sizing: border-box;}
.siteHeader .navToggle {position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px;}
.siteBar {max-width: 1100px; margin: 0 auto; padding: 0 20px; height: var(--header-h); display: flex; align-items: center; gap: 24px;}
.siteLogo {font-family: var(--pixel); font-size: 15px; color: var(--brand); text-decoration: none; white-space: nowrap; letter-spacing: 0; line-height: 1;}
.siteLogo b {color: var(--leaf); font-weight: normal;}
.navBurger {display: none; margin-left: auto; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 20px; line-height: 1; color: var(--brand); user-select: none;}
.siteNav {display: flex; align-items: center; gap: 4px; margin-left: auto;}
.siteNav a {color: var(--ink); text-decoration: none; padding: 9px 13px; border-radius: 8px; font-weight: 500; white-space: nowrap;}
.siteNav a:hover, .siteNav a:focus-visible {background: var(--brand-soft); color: var(--brand-dark);}
.siteNav a[aria-current] {color: var(--brand-dark); background: var(--brand-soft); font-weight: 600;}
.siteNav .navShop {background: var(--accent); color: #2a2600; font-weight: 700; margin-left: 8px; padding: 9px 18px; box-shadow: 0 1px 0 var(--accent-dark);}
.siteNav .navShop:hover, .siteNav .navShop:focus-visible {background: var(--accent-dark); color: #1a1700;}
.siteNav .navApp {background: var(--brand); color: #fff; font-weight: 700; margin-left: 8px; padding: 9px 16px;}
.siteNav .navApp:hover, .siteNav .navApp:focus-visible {background: var(--brand-dark); color: var(--accent);}
.siteNav .navApp + .navShop {margin-left: 4px;}
.navItem {position: relative;}
.navItem > a::after {content: "\25BE"; margin-left: 6px; font-size: 0.8em; color: var(--muted);}
.subNav {display: none; position: absolute; top: 100%; left: 0; min-width: 330px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(30, 40, 10, 0.16);}
.navItem:hover .subNav, .navItem:focus-within .subNav {display: block;}
.subNav a {display: block; padding: 10px 12px; white-space: normal;}
.subNav a span {display: block; font-size: 0.85em; font-weight: 400; color: var(--muted); margin-top: 2px;}
.subNav a:hover span {color: var(--brand);}

@media (max-width: 860px) {
	.navBurger {display: block;}
	.siteNav {display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(30, 40, 10, 0.12); max-height: calc(100vh - var(--header-h)); overflow-y: auto;}
	.navToggle:checked ~ .siteBar .siteNav {display: flex;}
	.siteNav a {padding: 12px 10px; border-radius: 8px;}
	.siteNav .navApp, .siteNav .navShop {margin: 8px 0 0; text-align: center;}
	.navItem > a::after {content: none;}
	.navItem > a {font-weight: 700; color: var(--brand);}
	.subNav {display: block; position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 0 10px; background: transparent;}
	.subNav a {padding: 9px 10px;}
}

/* ---------- 1b. buttons, call to action, footer ---------- */
.siteBtn {display: inline-block; padding: 13px 24px; border-radius: 10px; font-family: var(--text); font-size: 1rem; font-weight: 700; text-decoration: none; line-height: 1.2; text-align: center; border: 2px solid transparent; cursor: pointer;}
.siteBtn.primary {background: var(--accent); color: #2a2600; box-shadow: 0 2px 0 var(--accent-dark);}
.siteBtn.primary:hover {background: var(--accent-dark);}
.siteBtn.second {background: #fff; color: var(--brand-dark); border-color: var(--brand);}
.siteBtn.second:hover {background: var(--brand-soft);}
.siteBtn.onDark {background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55);}
.siteBtn.onDark:hover {background: rgba(255, 255, 255, 0.12);}

.siteCta {background: var(--brand); color: #fff; font-family: var(--text); margin-top: 56px;}
.siteCta .inner {max-width: 880px; margin: 0 auto; padding: 44px 20px; text-align: center;}
.siteCta h2 {font-family: var(--pixel); font-size: 16px; line-height: 1.7; color: #fff; margin: 0 0 12px; font-weight: normal; text-transform: none; background: none; padding: 0; border: 0;}
.siteCta p {margin: 0 auto 22px; max-width: 640px; color: #e3ead0; padding: 0; text-align: center;}
.siteCta .btnRow {display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;}

.siteFooter {background: #1d2210; color: #c9d1b6; font-family: var(--text); font-size: 15px; line-height: 1.6;}
.siteFooter * {box-sizing: border-box;}
.siteFooter a {color: #e8efd6; text-decoration: none;}
.siteFooter a:hover {text-decoration: underline;}
.siteFooter .cols {max-width: 1100px; margin: 0 auto; padding: 44px 20px 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;}
.siteFooter h4 {font-family: var(--pixel); font-size: 10px; line-height: 1.6; color: #fff; margin: 0 0 14px; font-weight: normal; text-transform: uppercase; border: 0; padding: 0; display: block;}
.siteFooter ul {list-style: none; margin: 0; padding: 0;}
.siteFooter li {margin: 0 0 7px; padding: 0;}
.siteFooter li::before {content: none;}
.siteFooter .about p {margin: 0 0 10px; padding: 0; color: #aeb89a;}
.siteFooter .logoF {font-family: var(--pixel); font-size: 14px; color: #fff; display: block; margin-bottom: 12px;}
.siteFooter .legal {max-width: 1100px; margin: 0 auto; padding: 16px 20px 32px; border-top: 1px solid #343b22; font-size: 13px; color: #8f9a79;}
.siteFooter .legal p {margin: 0 0 6px; padding: 0;}
@media (max-width: 860px) {.siteFooter .cols {grid-template-columns: 1fr 1fr;} .siteFooter .about {grid-column: 1 / -1;}}
@media (max-width: 520px) {.siteFooter .cols {grid-template-columns: 1fr;}}

/* ---------- 2. home page ---------- */
.homePage a {color: var(--leaf);}
.homePage .wrap {max-width: 1100px; margin: 0 auto; padding: 0 20px;}
.hero {background: linear-gradient(180deg, #ffffff 0%, var(--brand-soft) 100%); border-bottom: 1px solid var(--line);}
.hero .wrap {padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center;}
.hero .eyebrow {font-family: var(--pixel); font-size: 11px; color: var(--leaf); margin: 0 0 18px; line-height: 1.6;}
.hero h1 {font-family: var(--pixel); font-size: 30px; line-height: 1.35; color: var(--brand-dark); margin: 0 0 20px; font-weight: normal;}
.hero h1 em {font-style: normal; color: var(--leaf);}
.hero .lead {font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; max-width: 34em;}
.hero .leadBig {color: var(--brand-dark); margin-top: -14px;}
.hero .btnRow {display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px;}
.hero .fine {font-size: 0.9rem; color: var(--muted); margin: 0;}
.heroCard {background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(40, 55, 10, 0.12); padding: 28px; text-align: center;}
.heroCard .scaleIcon {font-size: 56px; line-height: 1; margin-bottom: 8px;}
.heroCard .readout {font-family: var(--pixel); font-size: 24px; color: var(--brand-dark); background: var(--brand-soft); border-radius: 10px; padding: 18px 8px; margin: 10px 0 14px; letter-spacing: 1px;}
.heroCard .readout small {font-size: 12px;}
.heroCard p {margin: 0; font-size: 0.95rem; color: var(--muted);}
.heroCard ul {list-style: none; margin: 16px 0 0; padding: 0; text-align: left; font-size: 0.97rem;}
.heroCard li {padding: 5px 0 5px 28px; position: relative; margin: 0;}
.heroCard li::before {content: "\2713"; position: absolute; left: 4px; color: var(--leaf); font-weight: 700; padding: 0;}

.scanRow {display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 18px;}
.scanBtn {font: 600 0.85rem var(--text); padding: 7px 14px; border-radius: 8px; border: 1px solid var(--brand); background: #fff; color: var(--brand-dark); cursor: pointer;}
.scanBtn:hover {background: var(--brand-soft);}
.infoBtn {width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--brand); background: #fff; color: var(--brand-dark); font: italic 700 0.95rem Georgia, serif; cursor: pointer; padding: 0; line-height: 1;}
.infoBtn:hover {background: var(--brand-soft);}
.scanInfo {margin-top: 14px; padding: 12px 14px; background: var(--brand-soft); border-radius: 10px; text-align: left; font-size: 0.88rem;}
.scanInfo p {margin: 0 0 8px; color: var(--ink);}
.scanInfo p:last-child {margin-bottom: 0;}
.scanInfo code {font-size: 0.85em; background: #fff; padding: 1px 4px; border-radius: 4px; word-break: break-all;}
.scanInfo[hidden] {display: none;}
.section {padding: 64px 0 8px;}
.section h2 {font-family: var(--pixel); font-size: 18px; line-height: 1.6; color: var(--brand-dark); margin: 0 0 10px; font-weight: normal;}
.section .sub {color: var(--muted); margin: 0 0 32px; max-width: 42em; font-size: 1.08rem;}
.cards {display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;}
.card {background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(40, 55, 10, 0.05);}
.card .tag {align-self: flex-start; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 4px 11px; margin-bottom: 14px;}
.card .tag.hot {background: var(--accent); color: #2a2600;}
.card h3 {font-family: var(--pixel); font-size: 13px; line-height: 1.7; color: var(--brand-dark); margin: 0 0 12px; font-weight: normal;}
.card p {margin: 0 0 14px; color: #3c4533; font-size: 0.98rem;}
.card .price {font-size: 1.5rem; font-weight: 800; color: var(--brand-dark); margin: 4px 0 2px;}
.card .priceNote {font-size: 0.88rem; color: var(--muted); margin: 0 0 16px;}
.card .more {margin-top: auto; padding-top: 6px;}
.card .more a {font-weight: 700; text-decoration: none;}
.card .more a:hover {text-decoration: underline;}
.card .siteBtn {width: 100%;}

.steps3 {display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: st;}
.step {background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 22px; position: relative;}
.step::before {counter-increment: st; content: counter(st); font-family: var(--pixel); font-size: 14px; display: inline-block; width: 40px; height: 40px; line-height: 40px; text-align: center; background: var(--brand); color: var(--accent); border-radius: 50%; margin-bottom: 14px;}
.step h3 {margin: 0 0 8px; font-size: 1.1rem; color: var(--brand-dark);}
.step p {margin: 0; color: #3c4533; font-size: 0.98rem;}

.chipsBlock {background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; margin-bottom: 20px;}
.chipsBlock h3 {margin: 0 0 14px; font-size: 1.05rem; color: var(--brand-dark);}
.chips {list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px;}
.chips li {margin: 0; padding: 0;}
.chips li::before {content: none;}
.chips a {display: inline-block; padding: 6px 13px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); text-decoration: none; font-size: 0.93rem; font-weight: 500; border: 1px solid transparent;}
.chips a:hover {border-color: var(--brand); background: #fff;}
.chipsBlock .foot {margin: 14px 0 0; color: var(--muted); font-size: 0.95rem;}

.quick {display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;}
.quick a {display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-decoration: none; color: var(--ink);}
.quick a:hover {border-color: var(--brand); box-shadow: 0 6px 18px rgba(40, 55, 10, 0.1);}
.quick b {display: block; font-size: 1.05rem; color: var(--brand-dark); margin-bottom: 4px;}
.quick span {font-size: 0.92rem; color: var(--muted);}

@media (max-width: 900px) {
	.hero .wrap {grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 44px;}
	.hero h1 {font-size: 22px;}
	.cards, .steps3 {grid-template-columns: 1fr;}
	.quick {grid-template-columns: 1fr 1fr;}
	.section {padding-top: 48px;}
}
@media (max-width: 520px) {.quick {grid-template-columns: 1fr;} .hero h1 {font-size: 19px;}}

/* free band on the start page */
.freeBand {display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; background: #fff; border: 2px solid var(--accent); border-radius: 18px; padding: 32px; box-shadow: 0 10px 30px rgba(40, 55, 10, 0.08);}
.freeBand .tag {display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--accent); color: #2a2600; border-radius: 999px; padding: 4px 11px; margin-bottom: 12px;}
.freeBand h2 {font-size: 17px; margin-bottom: 14px;}
.freeBand p {margin: 0 0 10px; color: #3c4533;}
.freeNum {text-align: center; background: var(--brand-soft); border-radius: 14px; padding: 24px 16px;}
.freeNum b {display: block; font-family: var(--pixel); font-size: 26px; color: var(--brand-dark); line-height: 1.3;}
.freeNum span {display: block; color: var(--muted); margin: 6px 0 16px;}
@media (max-width: 900px) {.freeBand {grid-template-columns: 1fr; padding: 22px;}}

/* why-page + start page "why" cards */
.cards.why {grid-template-columns: repeat(3, 1fr);}
.cards.why .card h3 {font-size: 12px;}
.narrowWrap {max-width: 860px;}
.pageHead {background: linear-gradient(180deg, #ffffff 0%, var(--brand-soft) 100%); border-bottom: 1px solid var(--line);}
.pageHead .wrap {padding-top: 56px; padding-bottom: 44px;}
.pageHead .eyebrow {font-family: var(--pixel); font-size: 11px; color: var(--leaf); margin: 0 0 16px;}
.pageHead h1 {font-family: var(--pixel); font-size: 26px; line-height: 1.4; color: var(--brand-dark); margin: 0 0 18px; font-weight: normal;}
.pageHead .lead {font-size: 1.2rem; color: var(--muted); margin: 0 0 24px;}
.pageHead .btnRow {display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px;}
.jump {list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px;}
.jump li {margin: 0; padding: 0;}
.jump a {display: inline-block; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--brand-dark); text-decoration: none; font-size: 0.9rem;}
.jump a:hover {border-color: var(--brand);}
.ticks {list-style: none; margin: 0 0 16px; padding: 0;}
.ticks li {position: relative; padding: 6px 0 6px 30px; margin: 0;}
.ticks li::before {content: "\2713"; position: absolute; left: 4px; top: 6px; color: var(--leaf); font-weight: 700;}
.usually {background: #fff; border: 1px dashed #c3ccb0; border-radius: 10px; padding: 10px 14px; color: var(--muted); margin: 0 0 8px; font-size: 0.97rem;}
.fine2 {font-size: 0.88rem; color: var(--muted); margin: 10px 0 0;}
.tableWrap {overflow-x: auto;}
.priceTable {width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: 0.95rem;}
.priceTable th {background: var(--brand); color: #fff; text-align: left; padding: 10px 12px;}
.priceTable td {border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top;}
.priceTable tr.us td {background: var(--brand-soft);}
@media (max-width: 900px) {.cards.why {grid-template-columns: 1fr;} .pageHead h1 {font-size: 19px;}}

/* ---------- 3. the older product pages: same HTML, new look ---------- */
body.sitePage .mainDiv {max-width: 900px; margin: 0 auto; padding: 36px 20px 8px; text-align: left;}
body.sitePage .mainDiv p, body.sitePage .lighterDiv p {text-align: left;}
body.sitePage .aScale {display: none;}
body.sitePage .mainDiv p.upscaleTop {font-family: var(--pixel); font-size: 11px; line-height: 1.6; color: var(--leaf); text-shadow: none; opacity: 1; margin: 0 0 12px; text-align: left; text-transform: uppercase;}
body.sitePage .mainDiv p.upscaleTop a {color: inherit;}
body.sitePage .mainDiv h1 {font-family: var(--pixel); font-size: 24px; line-height: 1.5; color: var(--brand-dark); text-shadow: none; opacity: 1; margin: 0 0 18px; text-align: left;}
body.sitePage .mainDiv h1.nextH2s {font-size: 24px; text-shadow: none;}
body.sitePage .mainDiv h2, body.sitePage .mainDiv h2.nextH2s {font-family: var(--pixel); font-size: 15px; line-height: 1.6; color: var(--brand-dark); text-shadow: none; opacity: 1; text-align: left; margin: 52px 0 6px; padding: 0 0 12px; position: relative; background: none; border-radius: 0; text-transform: none;}
body.sitePage .mainDiv h2::after {content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--accent);}
body.sitePage .mainDiv h3 {font-size: 1.05rem; color: var(--brand-dark); text-shadow: none; opacity: 1;}
body.sitePage .pressStartSmall, body.sitePage p.pressStartSmall {font-family: var(--text); font-size: 1rem; line-height: 1.65; padding: 0;}
body.sitePage p.rawP {width: auto; margin: 0 0 14px; color: var(--muted); font-size: 1.08rem;}
body.sitePage .biggah {font-size: 1.12rem; color: var(--ink);}
body.sitePage .mainDiv > p.pressStartSmall:first-of-type {font-size: 1.1rem; color: #3c4533;}

body.sitePage .lighterDiv {background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin: 14px 0; padding: 22px 24px; box-shadow: 0 2px 10px rgba(40, 55, 10, 0.05); overflow-x: auto;}
body.sitePage .lighterDiv p {color: var(--ink); padding: 0; margin: 0 0 12px;}
body.sitePage .lighterDiv p:last-child {margin-bottom: 0;}
body.sitePage .justi {text-align: left;}
body.sitePage .smaller {font-size: 0.88rem; color: var(--muted);}
body.sitePage .mainDiv a {color: var(--leaf);}

/* the pills: inline links become soft chips, the big banners stay dark */
body.sitePage .darkOne, body.sitePage span.darkOne {background: var(--brand-soft); color: var(--brand-dark); border-radius: 6px; padding: 1px 7px; font-weight: 600; opacity: 1; text-decoration: none;}
body.sitePage a.darkOne {text-decoration: none; color: var(--brand-dark) !important; border-bottom: 1px solid #b9c79a; white-space: normal;}
body.sitePage a.darkOne:hover {background: #e1ebc9;}
body.sitePage span.darkOne a {color: var(--brand-dark) !important;}
body.sitePage .lighterDiv p.darkOne {display: block; background: var(--brand); color: #fff; border-radius: 14px; padding: 22px 20px; text-align: center !important; font-weight: normal; line-height: 1.8em;}
body.sitePage .lighterDiv p.darkOne a {color: var(--accent) !important; border: 0; background: none; padding: 0;}
body.sitePage .lighterDiv p.darkOne span {color: #dfe8c8 !important;}
body.sitePage .lighterDiv p.darkOne.pressStart {font-size: 14px !important; line-height: 2em !important;}
body.sitePage .lighterDiv p.darkOne a[href*="order"] {display: inline-block !important; background: var(--accent); color: #2a2600 !important; padding: 16px 28px; border-radius: 10px; font-size: 13px !important; line-height: 1.9em; box-shadow: 0 3px 0 var(--accent-dark);}
body.sitePage .lighterDiv p.darkOne a[href*="order"]:hover {background: var(--accent-dark);}

body.sitePage dl.upScaleDL {padding: 0; margin: 0; text-align: left;}
body.sitePage dl.upScaleDL dt {padding: 0; margin: 0; font-weight: 700; font-size: 1rem; border-radius: 0; text-align: left;}
body.sitePage dl.upScaleDL dt.smallDarkDt {background: none; color: var(--brand); width: auto; margin: 22px 0 4px; padding: 0 0 0 12px; border-radius: 0; border-left: 4px solid var(--accent); font-size: 1.05rem;}
body.sitePage dl.upScaleDL dt.smallDarkDt:first-child {margin-top: 0;}
body.sitePage dl.upScaleDL dt.darkOne.fullLong {background: var(--brand-soft); color: var(--brand-dark); border-radius: 10px; padding: 11px 14px; margin: 18px 0 8px; font-size: 1.05rem;}
body.sitePage dl.upScaleDL dt.darkOne.fullLong:first-child {margin-top: 0;}
body.sitePage dt.isAScale::before, body.sitePage dt.isAScale::after {content: none; padding: 0;}
body.sitePage dl.upScaleDL dd {margin: 0 0 8px; padding: 0;}
body.sitePage dd.hasDot::before {color: var(--leaf);}

body.sitePage table {border-collapse: collapse; max-width: 100%;}
body.sitePage table.freePro {width: 100%; font-size: 0.93rem; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;}
body.sitePage table.freePro th, body.sitePage table.freePro td {border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top;}
body.sitePage table.freePro th {background: var(--brand); color: #fff; font-weight: 600;}
body.sitePage table.freePro tr:nth-child(even) td {background: #fafbf6;}
body.sitePage ol.steps {padding-left: 1.4em;}
body.sitePage ol.steps li {margin: 0.5em 0;}
body.sitePage input, body.sitePage button, body.sitePage select, body.sitePage textarea {font-family: var(--text);}

/* old page footers + old sticky bits are replaced by the site footer */
body.sitePage .bottomDiv {display: none;}
body.sitePage .siteCta {margin-top: 64px;}

/* ---------- 4. manual and PHP pages ---------- */
body.sitePage, body.manualPage, body.homePage {max-width: none !important; margin: 0 !important; padding: 0 !important; background: var(--bg) !important;}
body.manualPage .pageMain {max-width: 800px; margin: 0 auto; padding: 28px 20px 8px;}
body.manualPage p.upscaleTop {text-align: left;}
body.manualPage #manNav {top: var(--header-h);}
body.manualPage #manNavBtn, body.manualPage #manTopBtn {z-index: 900;}
body.manualPage div.manPart {background-color: var(--brand);}
body.manualPage a {color: var(--leaf);}
body.manualPage a.intLink {color: var(--brand-dark);}
body.manualPage .siteCta {margin-top: 48px;}

body.phpPage {text-align: left; max-width: none !important; margin: 0 !important; padding: 0 !important; background: var(--bg) !important;}
body.phpPage .pageMain {max-width: 900px; margin: 0 auto; padding: 32px 20px 40px;}
body.phpPage .pageMain h1, body.phpPage .pageMain h2.pressStart {font-family: var(--pixel); line-height: 1.5; color: var(--brand-dark);}
body.phpPage .pageMain a {color: var(--leaf);}
body.phpPage .pageMain input, body.phpPage .pageMain select, body.phpPage .pageMain textarea, body.phpPage .pageMain button {font-family: var(--text);}
body.phpPage .pageMain .box {background: #fff; border-color: var(--line) !important; box-shadow: 0 2px 10px rgba(40, 55, 10, 0.05);}
/* update page */
body.phpPage .pageMain h1 {font-size: 22px; margin: 0 0 16px;}
body.phpPage .pageMain h2.pressStart {font-size: 14px;}
body.phpPage .pageMain h3.pressStart {font-size: 13px; line-height: 1.6; margin: 0 0 12px; text-decoration: none;}
body.phpPage .updHint {background: var(--brand-soft); border-left: 4px solid var(--leaf); border-radius: 8px; padding: 12px 16px; margin: 16px 0; color: var(--brand-dark);}
body.phpPage .updBox {background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin: 16px 0; box-shadow: 0 2px 10px rgba(40, 55, 10, 0.05);}
body.phpPage .updBox summary {cursor: pointer; padding: 14px 0; font-family: var(--pixel); font-size: 12px; line-height: 1.6; color: var(--brand-dark); list-style: none;}
body.phpPage .updBox summary::-webkit-details-marker {display: none;}
body.phpPage .updBox summary::before {content: "\25B8"; display: inline-block; margin-right: 10px; color: var(--leaf); transition: transform 0.15s;}
body.phpPage .updBox[open] summary::before {transform: rotate(90deg);}
body.phpPage .updBox[open] summary {border-bottom: 1px solid var(--line); margin-bottom: 12px;}
body.phpPage .updBox > :last-child {margin-bottom: 16px;}
body.phpPage #versionsDiv h2.pressStart {margin: 28px 0 12px;}
body.phpPage .verCard {background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 12px 0; box-shadow: 0 2px 10px rgba(40, 55, 10, 0.05);}
body.phpPage .verCard.latestVersion {border: 2px solid var(--accent);}
body.phpPage .verCard h3.latestVersion {color: var(--leaf);}
body.phpPage .installBtn {font-size: 13px; line-height: 1.5; background: var(--accent); color: #2a2600; border: 0; border-radius: 10px; padding: 14px 22px; font-weight: 700; cursor: pointer; box-shadow: 0 3px 0 var(--accent-dark);}
body.phpPage .installBtn:hover {background: var(--accent-dark);}
body.phpPage select {font-size: 1rem; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); max-width: 100%;}
@media print {.siteHeader, .siteCta, .siteFooter {display: none;}}
