:root {
  color-scheme: dark;
  --pine: #161c19;
  --pine-deep: #111613;
  --pine-raised: #202823;
  --cream: #f8f1df;
  --sand: #e9d9b6;
  --amber: #f2c072;
  --muted: #c8c9b8;
  --ink: #20271f;
  --rule: #3d473e;
  --width: 1120px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--pine); color: var(--cream); line-height: 1.6; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
[id] { scroll-margin-top: 24px; }

.wrap { width: min(var(--width), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; left: 12px; top: 12px; padding: 8px 14px; background: var(--cream); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 1; background: var(--pine-deep); border-bottom: 1px solid #ffffff20; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.045em; font-size: 1.38rem; white-space: nowrap; }
.brand img { border-radius: 8px; }
.site-nav, .footer-inner nav { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; }
.site-nav a, .footer-inner nav a { padding-block: 8px; text-decoration: none; color: var(--muted); font-size: .94rem; font-weight: 600; }
.site-nav a:hover, .footer-inner nav a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 5px; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(600px, 49vw, 760px); background: #22332f; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 62% center; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #131e19de 0%, #15221baf 33%, #15221b3a 64%, transparent 89%),
              linear-gradient(0deg, #111a16a8, transparent 35%);
}
.hero-inner { padding-block: 70px 84px; }
.eyebrow { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; font-size: .875rem; font-weight: 700; letter-spacing: .09em; line-height: 1.4; }
.hero-status { display: flex; align-items: center; gap: 12px; color: var(--amber); }
.hero-status span { display: block; width: 14px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(3.5rem, 7vw, 7rem); line-height: .95; font-weight: 850; letter-spacing: -.061em; margin: 21px 0 28px; }
.hero h1 em { display: inline-block; color: var(--sand); font-style: normal; }
.hero-description { max-width: 475px; color: #eee9db; font-size: clamp(1.1rem, 2.2vw, 1.28rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 31px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid transparent; border-radius: 5px; text-decoration: none; font-weight: 750; }
.button-primary { background: var(--amber); color: #22190e; }
.button-primary:hover { background: #ffd897; }
.button-primary:focus-visible { outline-color: var(--cream); }
.button-outline { color: var(--cream); background: #17241e70; border-color: #f8f1df89; }
.button-outline:hover { background: #17241ee6; border-color: var(--cream); }
.build-meta { display: flex; flex-wrap: wrap; gap: 8px 17px; color: #e0ddce; margin-top: 16px; font-size: .88rem; }
.build-meta a { text-underline-offset: 3px; }
.build-meta span { border-left: 1px solid #f8f1df60; padding-left: 17px; }

.features { border-top: 1px solid #ffffff26; background: var(--pine); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid article { padding: 31px 28px 33px; }
.feature-grid article:first-child { padding-left: 0; }
.feature-grid article + article { border-left: 1px solid var(--rule); }
.feature-grid article:last-child { padding-right: 0; }
.feature-grid h2 { color: var(--sand); font-size: 1.12rem; line-height: 1.2; margin-bottom: 8px; }
.feature-grid p, .site-footer p { color: var(--muted); }

.install-section { color-scheme: light; background: #f1ead9; color: var(--ink); padding-block: clamp(64px, 8vw, 116px); }
.install-grid, .release-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(34px, 7.3vw, 105px); align-items: start; }
.section-label { color: #6d4e25; margin-bottom: 13px; }
.install-section h2, .release-section h2, .missing h1 { font-size: clamp(2.65rem, 5.4vw, 4.7rem); font-weight: 830; letter-spacing: -.073em; line-height: .98; }
.section-intro { margin-top: 18px; font-size: 1.08rem; }
.install-steps { margin: 29px 0 24px; padding-left: 1.6rem; }
.install-steps li { padding-left: .36rem; }
.install-steps li + li { margin-top: 16px; }
.install-steps li::marker { font-family: ui-monospace, monospace; color: #6d4e25; font-weight: 700; }
.install-steps h3 { font-size: 1.07rem; }
.text-link { font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }
.install-aside { align-self: center; }
.folder-panel { background: var(--pine-raised); color: var(--cream); border: 1px solid #3a493e; border-radius: 6px; padding: 23px clamp(16px, 3vw, 28px); }
.folder-panel .eyebrow { color: var(--amber); }
.folder-panel pre { margin: 14px 0 0; overflow-x: auto; line-height: 1.72; }
.folder-panel code { font-size: .875rem; }
.install-aside details { border-bottom: 1px solid #c5bdab; }
.install-aside details:first-of-type { margin-top: 12px; }
.install-aside summary { cursor: pointer; padding: 11px 3px; font-weight: 700; }
.install-aside summary::marker { color: #6d4e25; }
.install-aside details p { padding: 0 4px 14px 21px; }

.release-section { background: var(--pine-raised); padding-block: clamp(64px, 7vw, 96px); }
.release-section .section-label, .release-card .eyebrow { color: var(--amber); }
.release-section .section-intro, .release-card ul { color: var(--muted); }
.release-card { border: 1px solid #566257; background: #19221b; border-radius: 6px; padding: clamp(20px, 3vw, 32px); }
.release-heading { display: flex; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; }
.release-heading h3 { font-size: 2rem; letter-spacing: -.06em; line-height: 1; }
.release-card ul { margin: 18px 0 20px; padding-left: 1.25em; }
.release-card li + li { margin-top: 5px; }
.release-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.release-links a { color: var(--sand); }

.site-footer { border-top: 1px solid var(--rule); background: var(--pine-deep); padding-block: 30px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 19px 40px; }
.footer-inner p { margin-top: 4px; font-size: .92rem; }
.footer-inner nav { gap: 16px 24px; }
.missing { display: grid; align-content: center; justify-items: start; gap: 22px; min-height: 70vh; padding-block: 48px; }

@media (max-width: 850px) {
  .wrap { width: calc(100% - 56px); }
  .hero h1 { font-size: clamp(3.1rem, 9.2vw, 5.5rem); }
  .hero { min-height: 570px; }
  .install-grid, .release-grid { gap: 36px; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { gap: 10px 20px; flex-wrap: wrap; min-height: 68px; padding-block: 8px; }
  .brand { font-size: 1.26rem; }
  .brand img { width: 31px; height: 31px; }
  .site-nav { gap: 4px 14px; }
  .site-nav a { font-size: .875rem; }
  .hero { min-height: 580px; }
  .hero-image { object-position: 68% center; }
  .hero::after { background: linear-gradient(90deg, #101b15dc, #14221b88 74%, #14221b60), linear-gradient(0deg, #131c16b0, transparent 45%); }
  .hero h1 { font-size: clamp(2.45rem, 10.2vw, 4.3rem); margin-bottom: 22px; }
  .hero-inner { padding-block: 55px 64px; }
  .feature-grid, .install-grid, .release-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-grid article { padding: 18px 0; }
  .feature-grid article + article { border-left: 0; border-top: 1px solid var(--rule); }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 355px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: 2.45rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
