:root {
  --dark: #15170f;
  --dark-2: #1c2016;
  --line-dark: #363c2e;
  --paper: #f1eee3;
  --paper-2: #e8e3d3;
  --line-paper: #cfc4ad;
  --ink: #23271c;
  --ink-soft: #5d6252;
  --lime: #a8d26d;
  --green-ink: #43681f;
  --amber: #e0a23a;
  --muted: #aeb3a2;
  --display: "Rubik", "Segoe UI", Arial, sans-serif;
  --font: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--dark); color: #f4f3ea; font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand { font-family: var(--display); }
h2 { font-size: clamp(40px, 4.3vw, 60px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
h3 { font-weight: 700; letter-spacing: -.01em; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.container { width: min(100% - 56px, 1180px); margin: 0 auto; }
.skip-link { position: absolute; top: -70px; left: 16px; z-index: 100; padding: 12px 16px; background: var(--lime); color: var(--ink); }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid #333828; background: var(--dark); }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 31px; margin-left: auto; color: #b8bcac; font-size: 14px; font-weight: 500; }
.site-nav a:hover, .footer-main a:hover { color: var(--lime); }
.header-link { display: inline-flex; align-items: center; padding: 10px 14px; border: 1px solid #6a7a52; border-radius: 5px; color: var(--lime); font-size: 13px; font-weight: 600; white-space: nowrap; }
.header-link:hover { background: #262c1f; }
.menu-button { display: none; }

.hero { overflow: hidden; background: var(--dark); }
.hero-copy { padding: 104px 0 60px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--green-ink); font: 500 13px/1.5 var(--mono); }
.hero .eyebrow { color: #c3d6a4; }
.status-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px #e0a23a26; }
.hero h1 { max-width: 1020px; margin: 24px 0 26px; font-size: clamp(50px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -.025em; font-weight: 800; }
.hero h1 span { color: var(--lime); }
.hero-lede { max-width: 620px; color: #c2c5b5; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 47px; padding: 0 18px; border-radius: 5px; font-size: 15px; font-weight: 600; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: #b9df80; }
.button-quiet { border: 1px solid #575c49; color: #ebeadf; }
.button-quiet:hover { background: #262a1f; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 48px; padding-top: 17px; border-top: 1px solid #333a2b; color: #969b8a; font: 12px/1.5 var(--mono); }
.preview-stage { position: relative; margin-bottom: 91px; }
.product-preview { position: relative; z-index: 1; overflow: hidden; border: 1px solid #454c3b; border-radius: 8px; background: #141611; box-shadow: 0 30px 80px #0005; }
.preview-label { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 17px; border-bottom: 1px solid #454c3b; color: #a3a897; font: 12px/1.3 var(--mono); }
.preview-label a { color: var(--lime); }
.preview-label a:hover { color: var(--amber); }
.product-preview img { width: 100%; height: auto; }
/* The tour: the panel's tabs under the label, one screenshot at a time in a frame that keeps the
   desktop shape, so the phone shot sits centred in it instead of stretching the page. */
.preview-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 9px 11px; border-bottom: 1px solid #454c3b; background: #111311; }
.preview-tab { border: 1px solid transparent; border-radius: 4px; padding: 7px 12px; background: transparent; color: #a3a897; cursor: pointer; font: 12px var(--mono); transition: color .15s, background .15s; }
.preview-tab:hover { color: #e6ead9; background: #1c2018; }
.preview-tab[aria-selected="true"] { border-color: #5a6a4c; background: #232a1f; color: var(--lime); }
.preview-screen { aspect-ratio: 16 / 10; background: #0b0b0d; }
.preview-panel { height: 100%; }
.preview-panel[hidden] { display: none; }
.preview-panel img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.mob-peek { position: absolute; z-index: 0; top: -81px; right: 35px; transform: rotate(9deg); }
.creeper-face { display: block; width: 44px; height: 44px; flex: none; }
.mob-peek .creeper-face { width: 128px; height: 128px; filter: drop-shadow(8px 10px 0 #0c180d66); }

.server-types { border-top: 1px solid #363c2c; background: #1b1f15; }
.server-types-inner { display: flex; align-items: center; gap: 40px; padding: 27px 0; }
.server-types strong { flex: none; font-size: 13px; font-weight: 600; color: #c9ccbb; }
.server-types ul { display: flex; align-items: center; justify-content: space-between; flex: 1; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.server-types li { color: var(--lime); font-size: 15px; font-weight: 500; }

/* Each section below the hero starts with a strip of the block you'd hit at
   that depth, going down: grass, cobblestone, deepslate, bedrock, then the
   Nether under the footer. The strip lives inside the section so it never
   covers the content above it. */
.section-pad { padding: 152px 0 112px; }
.features, .backups, .install, .faq { position: relative; scroll-margin-top: 0; }
.features::before, .backups::before, .install::before, .faq::before, .site-footer::before { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 40px; box-sizing: border-box; border-top: 3px solid var(--terrain-border); border-bottom: 3px solid var(--terrain-border); background: var(--terrain) repeat-x left top / 40px 40px; filter: drop-shadow(0 4px 3px #0004); image-rendering: pixelated; pointer-events: none; content: ""; }
.features::after, .backups::after, .install::after, .faq::after, .site-footer::after { position: absolute; z-index: 2; top: 9px; right: 24px; padding: 2px 8px; border-radius: 3px; background: #111411d9; color: #e6e9d9; font: 500 11px/18px var(--mono); pointer-events: none; content: var(--depth); }
.features { background: var(--paper); color: var(--ink); --terrain: url('/assets/terrain/grass.svg'); --terrain-border: #49633b; --depth: "Y = 63"; }
.features-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; }
.section-intro h2 { margin: 0 0 21px; }
.section-intro > p { max-width: 360px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.feature-list { border-top: 1px solid var(--line-paper); }
.feature-row { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 24px 0 26px; border-bottom: 1px solid var(--line-paper); }
.feature-marker { display: block; width: 48px; height: 48px; margin-top: -8px; }
.feature-row h3 { margin: 0 0 7px; font-size: 20px; line-height: 1.2; }
.feature-row p { max-width: 580px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

.backups { background: #1a2118; color: #eef1e4; --terrain: url('/assets/terrain/stone.svg'); --terrain-border: #26332e; --depth: "Y = 12"; }
.backups-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 13%; }
.backups .eyebrow { color: #a9bf86; }
.backup-eyebrow-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.backup-eyebrow-line .eyebrow { margin: 0; }
.creeper-tag { display: inline-flex; align-items: center; gap: 11px; color: #91ba70; font: 12px var(--mono); }
.backups h2 { max-width: 720px; margin: 22px 0 25px; }
.backup-lede { max-width: 570px; margin-bottom: 29px; color: #c0c8b4; font-size: 16px; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 600; transition: border-color .2s; }
.text-link:hover { border-bottom-color: var(--amber); }
.backups .text-link { color: var(--lime); }
.backup-facts { border-top: 1px solid #4a5443; }
.backup-facts > div { padding: 24px 0; border-bottom: 1px solid #4a5443; }
.backup-facts h3 { margin: 0 0 8px; font-size: 19px; }
.fact-icon { display: block; width: 56px; height: 56px; margin: 0 0 10px -6px; }
.backup-facts p { margin: 0; color: #bbc3ae; font-size: 14px; line-height: 1.65; }

.install { background: var(--paper-2); color: var(--ink); --terrain: url('/assets/terrain/deepslate.svg'); --terrain-border: #182127; --depth: "Y = -58"; }
.install-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 9%; }
.install h2 { margin: 0 0 22px; }
.install-grid > div:first-child > p { max-width: 395px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.install .text-link { margin-top: 14px; color: var(--green-ink); }
.terminals { display: grid; gap: 22px; min-width: 0; }
.terminal-foot a { color: var(--lime); border-bottom: 1px solid currentColor; }
.terminal-foot a:hover { color: var(--amber); }
.terminal { min-width: 0; overflow: hidden; border: 1px solid #3a4235; border-radius: 7px; background: #121410; color: #dbe0cf; box-shadow: 0 22px 55px #1e2b1f28; }
.terminal-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 20px; border-bottom: 1px solid #30362b; color: #a3a897; font: 12px var(--mono); }
.copy-button { border: 1px solid #5a6a4c; border-radius: 4px; padding: 6px 9px; background: #232a1f; color: var(--lime); cursor: pointer; font: 12px var(--mono); }
.copy-button:hover { background: #313c2b; }
.copy-button.is-copied { color: var(--amber); border-color: #7a6238; }
.terminal pre { margin: 0; padding: 28px 21px; overflow-x: auto; font: 13px/1.9 var(--mono); white-space: pre; scrollbar-color: #53684b #121410; scrollbar-width: thin; }
.terminal pre::-webkit-scrollbar { height: 7px; }
.terminal pre::-webkit-scrollbar-track { background: #121410; }
.terminal pre::-webkit-scrollbar-thumb { border-radius: 7px; background: #53684b; }
.terminal pre code { font: inherit; }
.terminal-foot { display: grid; gap: 8px; padding: 15px 20px; border-top: 1px solid #30362b; color: #a3a897; font: 12px/1.6 var(--mono); }
.terminal-foot p { margin: 0; }
.terminal-foot code { color: #e6ead9; }

/* The install generator, right under the hero: choices on the left, the commands they make on the right. */
.installer { padding: 24px 0 112px; background: var(--dark); color: #eef1e4; scroll-margin-top: 0; }
.installer [hidden] { display: none !important; }
.installer-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 6%; align-items: start; }
.installer .eyebrow { color: #c3d6a4; }
.installer h2 { margin: 14px 0 18px; font-size: clamp(34px, 3.6vw, 50px); }
.installer-lede { max-width: 520px; margin-bottom: 30px; color: #c2c5b5; font-size: 16px; line-height: 1.7; }
.choice { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.choice legend { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 0; color: #f4f3ea; font: 700 17px var(--display); }
.choice legend span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 4px; background: #2a3322; color: var(--lime); font: 600 12px var(--mono); }
.choice-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-options label { display: flex; gap: 10px; align-items: flex-start; padding: 12px 13px; border: 1px solid #3a4235; border-radius: 6px; background: #181b13; cursor: pointer; transition: border-color .15s, background .15s; }
.choice-options label:hover { border-color: #5a6a4c; }
.choice-options label:has(input:checked) { border-color: var(--lime); background: #222a1b; }
.choice-options label:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.choice-options label:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 2px; }
.choice-options input { margin: 3px 0 0; accent-color: var(--lime); flex: none; }
.choice-options strong { display: block; font-size: 14px; font-weight: 600; color: #f4f3ea; }
.choice-options small { display: block; margin-top: 2px; color: #a3a897; font-size: 12px; line-height: 1.45; }
.choice-options code, .choice-note code, .installer-next code { font: 12px var(--mono); color: #e6ead9; }
.choice-field { display: grid; gap: 6px; margin-top: 10px; }
.choice-field label { color: #c9ccbb; font-size: 13px; font-weight: 600; }
.choice-field input { padding: 10px 12px; border: 1px solid #4a5443; border-radius: 5px; background: #121410; color: #f4f3ea; font: 14px var(--mono); }
.choice-field input:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
.choice-note { margin: 10px 0 0; color: #b8bcac; font-size: 13px; line-height: 1.6; }
.choice-note a { color: var(--lime); border-bottom: 1px solid currentColor; }
.installer-more { margin-top: 6px; border-top: 1px solid #333a2b; padding-top: 16px; }
.installer-more summary { cursor: pointer; color: var(--lime); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.installer-more .choice legend { font-size: 15px; }
.installer-result { position: sticky; top: 24px; display: grid; gap: 16px; min-width: 0; }
.installer-result .terminal { box-shadow: 0 30px 80px #0006; }
.installer-result .terminal pre { max-height: 560px; font-size: 12.5px; line-height: 1.8; }
.installer-problems { margin: 0; padding: 11px 14px; border: 1px solid #7a6238; border-radius: 6px; background: #2b2414; color: #f0d08e; font-size: 13px; line-height: 1.55; }
.installer-problems a { color: var(--lime); }
.installer-next h3 { margin: 0 0 8px; font-size: 16px; }
.installer-next ol { margin: 0; padding-left: 20px; color: #c2c5b5; font-size: 14px; line-height: 1.65; }
.installer-next li + li { margin-top: 6px; }

/* A quiet band with no strip: a note from a person, not another feature. */
.maintainer { padding: 96px 0; background: var(--dark-2); color: #eef1e4; border-top: 1px solid #2a2f22; }
.maintainer-inner { max-width: 640px; }
.maintainer h2 { margin: 0 0 22px; font-size: clamp(30px, 3vw, 40px); }
.maintainer p { color: #c0c8b4; font-size: 17px; line-height: 1.7; }
.maintainer p + p { margin-top: 0; }
.maintainer-sign { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.maintainer-sign strong { display: block; font-size: 15px; font-weight: 600; color: #f4f3ea; }
.maintainer-sign span { display: block; margin-top: 2px; color: #969b8a; font: 12px/1.5 var(--mono); }
.maintainer-sign svg { flex: none; }

.faq { background: var(--paper); color: var(--ink); --terrain: url('/assets/terrain/bedrock.svg'); --terrain-border: #182022; --depth: "Y = -64"; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 12%; }
.faq h2 { margin: 0 0 19px; }
.faq-grid > div:first-child > p { max-width: 300px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.faq-list { border-top: 1px solid var(--line-paper); }
.faq details { border-bottom: 1px solid var(--line-paper); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--amber); font-size: 24px; font-weight: 300; line-height: 1; transition: transform .2s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 640px; margin: 0; padding: 0 28px 23px 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }

.site-footer { position: relative; padding-top: 40px; background: var(--dark); color: #adb1a1; --terrain: url('/assets/terrain/netherrack.svg'); --terrain-border: #3d2023; --depth: "The Nether"; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 51px 0 42px; }
.footer-main .brand { color: #f4f3ea; }
.footer-main > div { display: flex; flex-wrap: wrap; gap: 27px; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 8px; border-top: 1px solid #333a2b; color: #8a8f7e; font: 12px/1.6 var(--mono); }
.footer-note { margin: 0 auto; padding: 18px 0 30px; text-align: center; color: #a3a897; font-size: 14px; line-height: 1.6; }
.footer-mobs { display: flex; justify-content: center; gap: 6px; padding-top: 22px; }
.footer-mobs img { width: 36px; height: 36px; }

@media (max-width: 900px) {
  .container { width: min(100% - 40px, 1180px); }
  .header-inner { gap: 22px; }
  .site-nav { gap: 18px; }
  .hero-copy { padding-top: 84px; }
  .server-types-inner { align-items: flex-start; flex-direction: column; gap: 16px; }
  .server-types ul { justify-content: flex-start; gap: 11px 24px; }
  .features-grid, .backups-grid, .install-grid, .faq-grid, .installer-grid { gap: 6%; }
  .section-pad { padding: 126px 0 86px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 34px, 1180px); }
  .header-inner { min-height: 65px; }
  .brand { font-size: 19px; }
  .header-link { margin-left: auto; padding: 9px 11px; font-size: 12px; }
  .menu-button { display: flex; flex-direction: column; justify-content: center; gap: 4px; order: 3; width: 37px; height: 37px; padding: 0 9px; border: 1px solid #50624c; border-radius: 5px; background: #1e271c; cursor: pointer; }
  .menu-button span { height: 1px; width: 100%; background: #e4eee0; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 17px 18px; border-bottom: 1px solid #50624c; background: #1a1e14; box-shadow: 0 15px 25px #0005; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 5px; font-size: 15px; }
  .hero-copy { padding: 70px 0 45px; }
  .hero h1 { margin: 20px 0 22px; font-size: clamp(44px, 11vw, 68px); line-height: 1.02; }
  .hero-lede { font-size: 16px; }
  .hero-meta { margin-top: 38px; }
  .preview-stage { margin-bottom: 64px; }
  .mob-peek { top: -48px; right: 16px; }
  .mob-peek .creeper-face { transform: scale(.6); transform-origin: top right; }
  .preview-label { padding: 10px 11px; font-size: 10px; }
  .preview-tabs { gap: 2px; padding: 6px 7px; }
  .preview-tab { padding: 6px 9px; font-size: 11px; }
  .section-pad { padding: 106px 0 66px; }
  .features-grid, .backups-grid, .install-grid, .faq-grid, .installer-grid { display: block; }
  .installer-result { position: static; margin-top: 30px; }
  .choice-three { grid-template-columns: 1fr; }
  h2 { font-size: clamp(36px, 8.6vw, 54px); }
  .section-intro { margin-bottom: 32px; }
  .section-intro > p { max-width: 500px; }
  .backup-facts, .terminals, .faq-list { margin-top: 38px; }
  .backup-facts > div { padding: 21px 0; }
  .terminal pre { padding: 20px 13px; font-size: 11px; }
  .faq-grid > div:first-child > p { max-width: 500px; }
  .footer-main { align-items: flex-start; flex-direction: column; padding: 42px 0 28px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

@media (max-width: 390px) {
  .header-link { display: none; }
  .menu-button { margin-left: auto; }
  .hero h1 { font-size: 42px; }
  .button { width: 100%; }
  .preview-label span:last-child { display: none; }
  .features::after, .backups::after, .install::after, .faq::after, .site-footer::after { right: 16px; }
  .maintainer { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
