:root { color-scheme: dark; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #191713; color: #f5eddf; line-height: 1.6; }
* { box-sizing: border-box; }
body { margin: 0; isolation: isolate; }
body::before { content: ""; position: fixed; inset: -16px; z-index: -2; background: url("background.webp") center / cover no-repeat; filter: blur(6px); pointer-events: none; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; background: rgb(20 17 13 / 80%); pointer-events: none; }
a { color: inherit; }
.site-header, main, footer { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; border-bottom: 1px solid #514332; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.4rem; font-weight: 750; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: linear-gradient(135deg, #f0d49b 0%, #d5aa66 42%, #bb8552 72%, #e2bd7c 100%); box-shadow: inset 0 1px 0 rgb(255 239 202 / 45%), inset 0 -1px 0 rgb(75 43 19 / 45%), 0 3px 12px rgb(0 0 0 / 18%); color: #24190f; border-radius: 10px; font-size: 1.65rem; }
.domain { color: #bfb09a; font-size: .875rem; }
.welcome { padding: 100px 0 92px; max-width: 900px; }
.eyebrow, .address-label { font-size: .875rem; letter-spacing: .12em; font-weight: 650; color: #deb875; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.12; letter-spacing: -.045em; margin: 24px 0; font-weight: 750; }
h1 span { color: #deb875; }
@supports (background-clip: text) {
  h1 span { background: linear-gradient(110deg, #f0d49b, #deb875 45%, #ca9064); background-clip: text; color: transparent; }
}
.intro { max-width: 610px; font-size: 1.125rem; color: #cbbda8; margin-bottom: 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 13px 20px; background: linear-gradient(135deg, #f0d49b 0%, #d5aa66 42%, #bb8552 72%, #e2bd7c 100%); box-shadow: inset 0 1px 0 rgb(255 239 202 / 45%), inset 0 -1px 0 rgb(75 43 19 / 45%), 0 3px 12px rgb(0 0 0 / 18%); border-radius: 6px; color: #24190f; font-weight: 650; text-decoration: none; }
.button:hover { background: linear-gradient(135deg, #f8e0ad, #e4be7d 45%, #ce9966 75%, #eed09a); }
a:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.server { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; border-top: 1px solid #514332; padding: 40px 0 64px; scroll-margin-top: 24px; }
h2 { font-size: 1.8rem; line-height: 1.25; letter-spacing: -.025em; margin: 12px 0; }
.server p:not(.eyebrow) { color: #cbbda8; max-width: 440px; }
.address-panel { background: linear-gradient(145deg, #30291f, #231f1a); box-shadow: inset 0 1px 0 rgb(232 194 132 / 8%); border: 1px solid #68513a; border-radius: 10px; padding: 28px; align-self: center; }
.address-label { display: block; color: #bfb09a; font-size: .875rem; }
code { display: block; font-size: clamp(1rem, 2.2vw, 1.4rem); color: #f5eddf; margin-top: 10px; overflow-wrap: anywhere; user-select: all; }
.address-panel p { font-size: .875rem; margin-bottom: 0; }
footer { border-top: 1px solid #514332; padding-block: 24px; display: flex; justify-content: space-between; gap: 20px; color: #bfb09a; font-size: .875rem; }
@media (max-width: 700px) {
  .site-header, main, footer { width: calc(100% - 40px); }
  .domain { display: none; }
  .welcome { padding-block: 64px; }
  .server { grid-template-columns: 1fr; gap: 20px; padding-bottom: 40px; }
  .address-panel { padding: 22px; }
  footer { flex-direction: column; gap: 4px; }
}

/* Serif lettering inspired by the supplied lettering sheets. */
.brand, h1, h2 { font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-weight: 700; }
.brand { letter-spacing: .035em; color: #e5c58b; }
.brand-icon { display: block; width: 48px; height: 48px; object-fit: contain; border: 1px solid #a27b47; border-radius: 10px; box-shadow: 0 2px 8px rgb(0 0 0 / 35%); flex-shrink: 0; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4.3rem); letter-spacing: .015em; text-transform: uppercase; line-height: 1.18; overflow-wrap: anywhere; color: #e7c78d; text-shadow: 0 2px 0 #4a2e16, 0 4px 8px rgb(0 0 0 / 45%); }
h1 span { text-shadow: none; }
h2 { letter-spacing: .015em; color: #ead5ae; }
.eyebrow, .address-label { font-family: Rockwell, "Courier New", serif; font-weight: 700; letter-spacing: .1em; }

/* Compact landing page. */
body { min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; padding-bottom: 64px; }
.welcome { max-width: none; text-align: center; padding: 64px 0 36px; }
.hero-icon { border-radius: 20px; border: 1px solid #a27b47; box-shadow: 0 4px 24px #0006; }
h1 { font-size: clamp(1.9rem, 5.2vw, 4rem); }
.downloads { text-align: center; }
.downloads .eyebrow { margin: 0 0 20px; font-size: .9rem; }
.server-status { display: flex; align-items: center; justify-content: center; gap: 10px; color: #cbbda8; font-size: .875rem; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #bfb09a; flex-shrink: 0; }
.server-status[data-state="online"] .status-dot { background: #8bc990; box-shadow: 0 0 8px #8bc99060; }
.server-status[data-state="unreachable"] .status-dot { background: #df956b; }
@media (max-width: 700px) { .welcome { padding-top: 40px; } main { padding-bottom: 40px; } }

/* Client patching instructions. */
.patching-guide { max-width: 760px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid #514332; }
.patching-guide p, .patching-guide li { color: #cbbda8; }
.patching-guide ol { padding-left: 1.5rem; }
.patching-guide li { padding-left: .3rem; margin-block: 12px; }
.patching-guide a { color: #e5c58b; text-underline-offset: 3px; }
.patching-addresses { padding: 20px 24px; border: 1px solid #68513a; border-radius: 10px; background: #231f1a; }
.patching-addresses > div + div { margin-top: 20px; }
.patching-addresses dt { color: #deb875; font-weight: 650; }
.patching-addresses dd { margin: 0; }
.patching-addresses code { font-size: clamp(.875rem, 2.2vw, 1.15rem); margin-top: 4px; }
.patching-note { font-size: .875rem; }
