/* Self-hosted fonts (Inter, Space Grotesk; latin and latin-ext subsets). */
/* inter-latin-ext-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/inter-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* inter-latin-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/inter-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* inter-latin-ext-500-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/inter-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* inter-latin-500-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/inter-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* inter-latin-ext-600-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/inter-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* inter-latin-600-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/inter-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* space-grotesk-latin-ext-500-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/space-grotesk-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* space-grotesk-latin-500-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/space-grotesk-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* space-grotesk-latin-ext-600-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/space-grotesk-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* space-grotesk-latin-600-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/space-grotesk-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* space-grotesk-latin-ext-700-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../fonts/space-grotesk-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* space-grotesk-latin-700-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../fonts/space-grotesk-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Continuity Mod guide. One light editorial palette; the home hero keeps its own dark scheme. */
:root {
  color-scheme: light;
  --bg: #fafaf5;
  --surface: #eff4eb;
  --card: #ffffff;
  --green: #17653a;
  --light: #17653a;
  --text: #162f21;
  --muted: #4c6053;
  --line: #cbd9cd;
  --tint: #e8f0e5;
  --heading: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
  --type-small: .875rem;
  --type-body: 1rem;
  --type-reading: 1.0625rem;
  --type-h3: clamp(1.1875rem, 1.1rem + .35vw, 1.5rem);
  --type-h2: clamp(1.625rem, 1.25rem + 1.5vw, 2.75rem);
  --type-h1: clamp(2rem, 1.35rem + 2.8vw, 4rem);
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: var(--type-body); line-height: 1.65; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 600; letter-spacing: -.035em; margin: 0 0 20px; }
h1 { font-size: var(--type-h1); line-height: 1.1; text-wrap: balance; }
h2 { font-size: var(--type-h2); line-height: 1.2; }
h3 { font-size: var(--type-h3); line-height: 1.3; letter-spacing: -.02em; }
p { margin: 0 0 20px; color: var(--muted); }
figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--light); }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; opacity: .6; }
textarea { resize: vertical; }
:focus-visible { outline: 3px solid var(--light); outline-offset: 5px; }
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
::selection { background: #207c42; color: #fff; }

/* Layout primitives */
.container { width: min(1240px, calc(100% - 64px)); margin: auto; }
.section { padding: 88px 0; }
.premium-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(42px, 7vw, 96px); padding: clamp(34px, 5vw, 42px) clamp(28px, 5vw, 36px); margin-top: 42px; border: 1px solid var(--line); border-radius: 24px; background: #f8f9f2; }
.premium-intro-copy { padding: 2px 0 0; }
.premium-intro-copy .eyebrow { color: var(--green); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.premium-intro h2 { color: #173326; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.45rem); letter-spacing: -.035em; margin: 22px 0 18px; }
.premium-intro-lede { max-width: 34ch; color: var(--muted); font-size: 1.12rem; line-height: 1.65; }
.premium-benefits { display: grid; gap: 18px; margin: 26px 0 26px; padding: 0; list-style: none; color: #315244; font-size: 1.08rem; }
.premium-benefits li { display: flex; align-items: center; gap: 12px; }
.premium-benefits li span { display: grid; place-items: center; width: 18px; height: 18px; border: 2px solid var(--green); border-radius: 50%; color: var(--green); font-size: .72rem; font-weight: 700; }
.premium-intro .button { margin-top: 2px; }
.premium-workflow h2 { margin-top: 0; }
.premium-workflow ol { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.premium-workflow li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; min-height: 100px; padding: 17px 18px; border: 1px solid #d8e1d8; border-radius: 18px; background: #fff; }
.premium-step-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: #e7f0e5; color: #167044; font-size: 2rem; line-height: 1; }
.premium-corners { font-size: 1.75rem; }
.premium-workflow h3 { margin: 0 0 5px; color: #18372a; font-size: 1.15rem; }
.premium-workflow p { margin: 0; color: var(--muted); }
.premium-workflow strong { color: #94a69a; font-size: 1.3rem; }
.tinted { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--light); margin-bottom: 20px; line-height: 1.6; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.section-lead { max-width: 750px; margin-bottom: 32px; }
.text-link { color: var(--light); font-size: var(--type-small); font-weight: 600; border-bottom: 1px solid #4a7758; padding-bottom: 4px; width: fit-content; }
.actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.fine, figcaption { font-size: .8125rem; color: var(--muted); line-height: 1.6; }
.fine a, figcaption a { color: var(--light); text-decoration: underline; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--light); padding: 12px; color: var(--bg); }
.skip-link:focus { top: 10px; }

/* Buttons */
.button { min-height: 48px; display: inline-flex; gap: 10px; justify-content: center; align-items: center; padding: 13px 22px; background: var(--green); border: 1px solid var(--green); color: #fff; font-weight: 600; font-size: var(--type-small); border-radius: 5px; line-height: 1.4; transition: background .18s, transform .18s; }
.button:hover { background: #104c2a; color: #fff; transform: translateY(-1px); }
.button.secondary { background: #f4f8f2; border-color: #789984; color: var(--text); }
.button.secondary:hover { background: #e5efe5; }
.button.small { min-height: 42px; padding: 10px 16px; }

/* Header and navigation */
.header { position: sticky; top: 0; z-index: 30; background: #fafaf5f7; border-bottom: 1px solid var(--line); }
.nav-wrap { width: min(1240px, calc(100% - 64px)); height: 84px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--heading); font-size: 1.35rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.brand svg { width: 38px; color: var(--green); }
.brand-mod { color: var(--light); }
.desktop-nav { display: flex; gap: 26px; height: 100%; align-items: center; }
.desktop-nav a { font-size: var(--type-small); color: var(--text); position: relative; height: 100%; display: flex; align-items: center; }
.desktop-nav a[aria-current=page]:after { content: ''; height: 2px; position: absolute; bottom: 0; background: var(--green); left: 0; right: 0; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.icon-button { display: flex; align-items: center; justify-content: center; background: transparent; border: 0; width: 44px; height: 44px; }
.mobile-menu { display: none; }
.mobile-dialog { background: #eaf1e7; border: 1px solid var(--line); color: var(--text); max-width: none; width: min(500px, calc(100% - 24px)); padding: 22px; border-radius: 8px; }
.mobile-dialog::backdrop { background: #000b; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mobile-dialog nav { display: grid; margin-top: 24px; }
.mobile-dialog nav a { padding: 15px 5px; border-bottom: 1px solid var(--line); }

/* Home hero (dark scheme) */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; background: #14241a; color-scheme: dark; --text: #f8fafc; --light: #a7f3bd; --green: #65df92; --line: #52745d; color: var(--text); }
.hero-art { position: absolute; inset: 0 0 0 30%; }
.hero-art img { object-fit: cover; object-position: 62% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #15231b 0%, #15231bf5 25%, #15231bb3 46%, #15231b18 71%), linear-gradient(0deg, #15231b70, transparent 30%); }
.hero-content { position: relative; padding-block: 68px; z-index: 1; }
.hero-eyebrow { display: flex; align-items: center; gap: 9px; }
.little-block { width: 9px; height: 9px; background: var(--green); box-shadow: 3px -3px 0 #6bd68f; }
.hero h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 4.25rem); max-width: 700px; line-height: 1.06; letter-spacing: -.055em; }
.hero-subtitle { display: block; font-size: .84em; margin-top: 10px; line-height: 1.15; }
.hero h1 em { color: var(--light); font-style: normal; }
.hero-content > p { max-width: 510px; font-size: var(--type-reading); line-height: 1.65; color: #becac1; margin: 24px 0 28px; }
.hero .button:not(.secondary) { color: #0c2918; background: #86efac; border-color: #86efac; }
.hero .button:not(.secondary):hover { background: #a7f3bd; color: #0c2918; }
.hero .button.secondary { background: #102019db; color: var(--text); }
.hero .button.secondary:hover { background: #1c3326; }
.hero-checks { display: flex; gap: 23px; margin-top: 28px; font-size: .8rem; color: #b7c5bc; }
.hero-checks span { display: flex; align-items: center; gap: 6px; }
.hero-checks svg { width: 14px; height: 14px; color: var(--green); }
.art-caption { position: absolute; bottom: 20px; right: 32px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #e5ece5; background: #0b120e90; padding: 5px 10px; }

/* Info strip */
.info-strip { border-block: 1px solid var(--line); background: var(--surface); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.25fr 1.8fr; padding-block: 24px; gap: 24px; }
.info-grid > div { border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.info-grid > div:last-child { border: 0; flex-direction: row; align-items: center; gap: 12px; }
.info-grid > div > span { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info-grid strong, .info-grid a { font-weight: 500; font-size: .9rem; letter-spacing: 0; }
.info-grid > div:last-child span { font-size: .8125rem; letter-spacing: 0; text-transform: none; }
.info-grid svg { color: var(--green); width: 26px; }

/* Intro and feature grid */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.intro-grid h3 { font-size: 1.4rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card { display: flex; flex-direction: column; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.feature-card h3 { margin-bottom: 12px; color: var(--text); }
.feature-card p { flex: 1; font-size: var(--type-body); line-height: 1.65; margin: 0; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 8px; background: #e6f0e5; color: var(--green); }
.feature-action { display: block; margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--green); font-size: var(--type-small); font-weight: 600; }
.feature-card:is(:hover, :focus-visible) { border-color: #639373; box-shadow: 0 10px 24px #173e2420; }
.feature-card:is(:hover, :focus-visible) .feature-action { text-decoration: underline; }

/* Before/after comparison */
@property --split { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
.compare-scene { position: relative; overflow: hidden; border: 1px solid #52745d; border-radius: 6px; background: #293d31; }
.compare-scene > img { width: 100%; height: auto; }
.compare-before { position: absolute; inset: 0; }
.compare-before img { width: 100%; height: 100%; }
.compare-label { position: absolute; top: 20px; background: #0b120edb; padding: 7px 11px; border: 1px solid #456a50; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; border-radius: 3px; color: #e8f8eb; }
.compare-label.before { left: 20px; }
.compare-label.after { right: 20px; }
.compare-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--light); pointer-events: none; }
.compare-line span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--light); color: #102019; font-size: 24px; box-shadow: 0 0 0 6px #86efac25; }
.compare-motion { position: absolute; inset: 0; pointer-events: none; }
.compare-motion .compare-before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare-motion .compare-line { left: clamp(21px, var(--split), calc(100% - 21px)); }
.comparison .compare-control { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; }
.compare-scene:focus-within { outline: 3px solid var(--green); outline-offset: 4px; }
.comparison > figcaption { margin-top: 10px; }
.comparison .compare-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; margin-top: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.compare-toolbar p { margin: 0; font-size: .9rem; }
.compare-toolbar .actions { display: grid; grid-template-columns: repeat(2, minmax(96px, 1fr)) minmax(136px, auto); gap: 8px; }
.compare-toolbar .button { min-height: 44px; padding: 9px 14px; border-radius: 6px; transform: none; }
.compare-toolbar .button.secondary { background: var(--card); color: var(--green); border-color: #a5bdab; }
.compare-toolbar .button.secondary:hover { background: #e2eee2; }
.compare-toolbar .button:last-child { box-shadow: 0 2px 4px #15392224; }
@keyframes compare-sweep { 0%, 100% { --split: 50%; } 25% { --split: 100%; } 72% { --split: 0%; } }
.three-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin-top: 40px; }
.three-notes h2, .three-notes h3 { font-size: var(--type-h3); }
.three-notes p { font-size: var(--type-body); line-height: 1.65; margin-bottom: 0; }

/* Forms and release filters */
.filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
.filters label, .contact-form label { font-size: var(--type-small); font-weight: 500; color: var(--muted); display: grid; gap: 8px; }
input, select, textarea { width: 100%; min-height: 46px; background: #fff; border: 1px solid #789984; border-radius: 4px; padding: 10px 13px; color: var(--text); font-size: var(--type-body); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23a1b1a7' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.release-status { font-size: var(--type-small); margin: 17px 0; color: var(--muted); }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; margin-bottom: 20px; }
table { border-collapse: collapse; width: 100%; font-size: var(--type-small); line-height: 1.6; text-align: left; min-width: 700px; }
.compare-table { min-width: 560px; }
th { background: var(--tint); color: var(--muted); font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; padding: 16px 20px; font-weight: 500; }
td { padding: 20px; border-top: 1px solid var(--line); color: var(--muted); vertical-align: top; }
td strong { color: var(--text); font-weight: 500; }
td small { display: block; font-size: .8125rem; margin-top: 6px; color: var(--muted); }
td a { color: var(--light); }
.filename { overflow-wrap: break-word; max-width: 300px; }
.tag { display: inline-block; font-size: .75rem; margin-left: 6px; padding: 2px 6px; background: #213b2a; color: #a9e4ba; border: 1px solid #3a5a44; border-radius: 3px; text-transform: uppercase; letter-spacing: .05em; }
.tag.release { color: #185332; background: #e1efdf; }
.tag.beta, .tag.alpha { color: #f4cd76; background: #332b16; border-color: #675529; }
.empty { padding: 30px; border: 1px dashed var(--line); margin-block: 20px; }
.release-explorer > .fine { margin-top: 22px; }
.release-action-cell { vertical-align: middle; }
.release-actions { display: grid; width: 144px; gap: 8px; }
.release-actions .button { min-height: 44px; padding: 8px 12px; border-radius: 6px; text-align: center; white-space: nowrap; transform: none; }
.release-actions .release-download { color: #fff; }

/* Install steps */
.install-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 100px; }
.install-grid > div > p:not(.eyebrow) { max-width: 380px; }
.callout { display: flex; gap: 14px; padding: 20px; background: var(--tint); border-left: 3px solid var(--green); margin-block: 32px; }
.callout svg { color: var(--green); width: 22px; }
.callout p { margin: 0; font-size: var(--type-small); color: var(--text); }
.steps { list-style: none; counter-reset: steps; margin: 0; padding: 0; }
.steps li { position: relative; padding: 0 0 28px 58px; counter-increment: steps; }
.steps li:before { content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: -3px; width: 35px; height: 35px; border: 1px solid #3b6549; background: var(--tint); color: var(--light); font-family: var(--heading); font-size: .9rem; display: grid; place-items: center; border-radius: 4px; }
.steps li:not(:last-child):after { content: ''; position: absolute; top: 36px; bottom: 5px; left: 17px; width: 1px; background: var(--line); }
.steps h3 { margin-bottom: 10px; }
.steps p { font-size: var(--type-body); line-height: 1.65; margin: 0; }

/* Ecosystem, FAQ, articles, CTA */
.ecosystem { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.ecosystem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ecosystem-grid a { padding: 0 0 26px; border-bottom: 1px solid var(--line); }
.ecosystem-grid p { font-size: var(--type-body); line-height: 1.65; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 110px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-of-type { border-top: 1px solid var(--line); }
.faq-list summary { padding: 22px 40px 22px 0; cursor: pointer; font-weight: 500; position: relative; list-style: none; font-size: .95rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: '+'; position: absolute; right: 5px; font-size: 22px; color: var(--light); top: 16px; }
.faq-list details[open] summary:after { content: '−'; }
.faq-list details p { font-size: var(--type-body); line-height: 1.65; margin-bottom: 24px; }
.help-card { margin-top: 40px; padding: 25px; background: var(--card); border: 1px solid var(--line); border-radius: 5px; }
.help-card p { font-size: var(--type-small); }
.help-card a { font-size: var(--type-small); color: var(--light); text-decoration: underline; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card { border: 1px solid var(--line); background: var(--surface); border-radius: 5px; overflow: hidden; }
.article-image { position: relative; overflow: hidden; height: 190px; background: var(--card); }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-image img { transform: scale(1.04); }
.article-image span { position: absolute; bottom: 12px; left: 14px; background: #0b120eea; border: 1px solid #4a7255; border-radius: 3px; padding: 4px 8px; font-size: .75rem; color: #e8f8eb; }
.article-info { padding: 24px; }
.article-info .eyebrow { color: var(--muted); margin-bottom: 13px; }
.article-info h3 { margin-bottom: 12px; color: var(--text); }
.article-info > p:not(.eyebrow) { font-size: var(--type-body); line-height: 1.65; }
.article-grid + .fine { margin-top: 25px; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 48px; background: var(--tint); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 88px; }
.final-cta .actions { flex-direction: column; gap: 18px; align-items: flex-start; flex-shrink: 0; }
.final-cta p:last-child { margin-bottom: 0; }

/* Footer */
footer { background: #eaf1e7; color: var(--text); border-top: 1px solid var(--line); padding: 60px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 65px; }
.footer-grid > div > p { font-size: .8125rem; margin-top: 20px; max-width: 290px; }
.footer-grid > div:first-child > a:not(:first-child) { color: var(--muted); font-size: var(--type-small); }
.footer-grid > div:not(:first-child) > a { display: block; color: var(--muted); font-size: var(--type-small); padding: 3px 0; margin-bottom: 6px; }
.footer-grid h3 { font-size: .9rem; letter-spacing: 0; margin: 8px 0 22px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 25px; margin-top: 45px; display: flex; justify-content: space-between; gap: 40px; }
.footer-bottom p { font-size: .8125rem; max-width: 850px; margin: 0; }
.footer-bottom a { font-size: .8125rem; white-space: nowrap; color: var(--light); padding: 4px 0; }

/* Page headers and article layout */
.page-heading { padding: 55px 0 45px; }
.page-heading h1 { max-width: 970px; }
.page-heading .lede { max-width: 780px; font-size: var(--type-reading); line-height: 1.65; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: var(--type-small); margin-bottom: 35px; }
.breadcrumbs a { color: var(--light); }
.page-hero { margin-block: 28px 36px; padding: clamp(26px, 5vw, 60px); border-radius: 8px; border: 1px solid var(--line); background: radial-gradient(circle at 95% 10%, #d9ead7, transparent 50%), var(--surface); }
.page-hero h1 { max-width: 19ch; }
.page-hero .lede { max-width: 58ch; }
.page-hero .breadcrumbs { margin-bottom: 22px; }
.page-hero > :last-child { margin-bottom: 0; }
.page-hero .article-hero { margin-top: 28px; }
.hero-topic-install { --page-art: url('../../images/guides/safe-continuity-updates.webp'); }
.hero-topic-repair { --page-art: url('../../images/guides/read-mod-dependency-errors.webp'); }
.hero-topic-packs { --page-art: url('../../images/guides/diagnose-resource-pack-conflicts.webp'); }
.hero-topic-glass { --page-art: url('../../images/guides/enable-built-in-resource-packs.webp'); }
.hero-topic-compare { --page-art: url('../../images/guides/compare-connected-textures-fairly.webp'); }
.hero-topic-woodland { --page-art: url('../../images/woodland.webp'); }
.page-hero:not(.hero-topic-simple, .hero-topic-article) { background: linear-gradient(90deg, #eff4eb 25%, #eff4ebf7 43%, #eff4eb35 100%), var(--page-art) right center / auto 100% no-repeat, var(--surface); }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 780px); gap: 80px; margin-bottom: 80px; justify-content: space-between; }
.toc { position: sticky; top: 115px; align-self: start; border-top: 1px solid var(--line); padding-top: 22px; }
.toc nav { display: grid; gap: 12px; margin-bottom: 28px; }
.toc nav a { font-size: var(--type-small); color: var(--muted); line-height: 1.5; }
.toc nav a:hover { color: var(--light); }
.prose { min-width: 0; }
.prose > section { margin-bottom: 44px; }
.prose h2 { margin-top: 30px; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: var(--muted); font-size: var(--type-reading); line-height: 1.75; }
.prose > p, .prose section > p, .prose li { max-inline-size: 72ch; }
.prose a { color: var(--light); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 25px; margin: 0 0 24px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose code { font-family: monospace; font-size: .9em; background: var(--tint); padding: 3px 5px; overflow-wrap: anywhere; }
.prose blockquote { border-left: 3px solid var(--green); padding-left: 20px; margin-bottom: 24px; }
.article-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .8125rem; color: var(--muted); max-width: 1000px; }
.article-hero { margin: 35px 0 0; }
.article-hero img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 6px; }
.article-hero figcaption { margin-top: 8px; }
.copy-path { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: var(--tint); border: 1px solid var(--line); padding: 14px; margin-block: 12px; }
.copy-path code { word-break: break-all; }
.copy-path button { border: 1px solid #53705c; border-radius: 4px; padding: 5px 10px; background: #fff; color: var(--text); font-size: .8125rem; flex-shrink: 0; }
.related-box { background: var(--card); padding: 25px; border: 1px solid var(--line); margin-top: 40px; }
.related-box h2 { margin-top: 0; }
.related-box a { display: block; margin-bottom: 10px; }
.source-links { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; font-size: .9rem; color: var(--light); text-decoration: underline; }
.category-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 35px; }
.category-nav a { font-size: var(--type-small); padding: 8px 16px; border: 1px solid var(--line); border-radius: 4px; }
.category-nav a[aria-current=page] { color: #185332; background: #e1efdf; border-color: #4a7658; }

/* Contact, search, misc pages */
.contact-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 100px; }
.contact-form { display: grid; gap: 20px; position: relative; }
.contact-form .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .fine { margin: 0; }
.contact-grid aside h2 { font-size: 1.4rem; margin-top: 30px; }
.contact-grid aside h2:first-child { margin-top: 0; }
.contact-grid aside a { color: var(--light); text-decoration: underline; }
.search-page { max-width: 900px; }
.search-label { display: grid; gap: 15px; color: var(--muted); margin: 30px 0 18px; }
.search-label input { font-size: 1.1rem; padding: 18px; }
.search-results > a { display: block; border-bottom: 1px solid var(--line); padding: 26px 0; }
.search-results p { font-size: .9rem; margin: 0; }
.not-found { min-height: 60vh; }
.consent { position: fixed; bottom: 20px; left: 20px; width: min(460px, calc(100% - 40px)); z-index: 40; background: var(--card); padding: 24px; border: 1px solid var(--light); box-shadow: 0 5px 30px #0009; }
.consent p { font-size: var(--type-small); color: var(--text); }
.consent button { padding: 9px 14px; margin-right: 12px; border: 1px solid var(--light); background: var(--bg); border-radius: 4px; }
.privacy-control { background: var(--bg); border: 1px solid var(--line); font-size: .75rem; position: fixed; bottom: 8px; right: 8px; padding: 8px 12px; z-index: 20; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: hero-art-reveal 1.6s ease-out both; }
  .hero-content h1 { animation: hero-title-reveal .65s ease-out both; }
  .feature-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
  .feature-icon { transition: transform .22s ease, background-color .22s ease; }
  .feature-card:is(:hover, :focus-visible) { transform: translateY(-4px); }
  .feature-card:is(:hover, :focus-visible) .feature-icon { transform: scale(1.08); background: #d4ebd7; }
  .compare-motion.is-playing { animation: compare-sweep 2.6s ease-in-out; }
}
@keyframes hero-art-reveal { from { transform: scale(1.045); } to { transform: scale(1); } }
@keyframes hero-title-reveal { from { transform: translateY(12px); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}

/* Responsive */
@media (min-width: 1600px) { .hero { min-height: 710px; } }
@media (max-width: 1150px) {
  .desktop-nav { gap: 16px; }
  .nav-download { display: none; }
  .brand { font-size: 1.15rem; }
  .nav-wrap { gap: 20px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .install-grid, .ecosystem { gap: 55px; }
  .faq-grid { gap: 60px; }
  .footer-grid { gap: 35px; }
  .article-layout { gap: 40px; grid-template-columns: 210px minmax(0, 1fr); }
  .final-cta { padding: 35px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .section { padding: 60px 0; }
  .nav-wrap { width: calc(100% - 32px); height: 72px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: flex; }
  .nav-actions { gap: 4px; }
  .brand { font-size: 1.2rem; }
  .hero { min-height: 620px; align-items: start; }
  .hero-art { inset: 0; opacity: .65; }
  .hero-shade { background: linear-gradient(90deg, #15231bef, #15231b78), linear-gradient(0deg, #15231b, transparent 65%); }
  .hero-content { padding: 65px 0 75px; }
  .hero-content > p { max-width: 490px; }
  .art-caption { right: 20px; bottom: 14px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; padding-block: 25px; }
  .info-grid > div:nth-child(2n) { border: 0; }
  .info-grid > div:last-child { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid var(--line); }
  .intro-grid, .install-grid, .ecosystem, .faq-grid { grid-template-columns: 1fr; gap: 35px; }
  .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .three-notes { gap: 25px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid .article-card:last-child:nth-child(3) { grid-column: 1 / -1; }
  .final-cta { flex-direction: column; align-items: start; gap: 25px; margin-bottom: 60px; }
  .final-cta .actions { align-items: start; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div > p { max-width: 400px; }
  .footer-bottom { flex-direction: column; gap: 15px; }
  .filters { padding: 18px; gap: 12px; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
  .toc nav { grid-template-columns: 1fr 1fr; }
  .article-meta { align-items: start; flex-direction: column; }
  .contact-grid { gap: 50px; grid-template-columns: 1fr; }
  .page-heading { padding-top: 40px; }
  .compare-label { top: 12px; padding: 5px 8px; }
  .compare-label.before { left: 10px; }
  .compare-label.after { right: 10px; }
  .help-card { margin-top: 25px; }
  /* Release table becomes a list of cards so the download buttons stay on screen. */
  .release-table { min-width: 0; }
  .release-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .release-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 16px; border-top: 1px solid var(--line); }
  .release-table tr:first-child { border-top: 0; }
  .release-table td { display: block; padding: 2px 0; border: 0; }
  .release-table td[data-label]::before { content: attr(data-label); display: block; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .release-table td small { margin-top: 3px; }
  .release-table .filename { max-width: none; }
  .release-table .release-action-cell { grid-column: 1 / -1; padding-top: 10px; }
  .release-table .release-actions { width: 100%; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .comparison .compare-toolbar { grid-template-columns: minmax(0, 1fr); }
  .compare-toolbar .actions { width: 100%; }
}
@media (max-width: 720px) {
  .page-hero:not(.hero-topic-simple, .hero-topic-article) { padding-top: 58vw; background: linear-gradient(180deg, #eff4eb00 0%, #eff4eb00 26vw, #eff4eb 54vw), var(--page-art) top center / 100% auto no-repeat, var(--surface); }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .hero { min-height: 650px; }
  .hero-content { padding-top: 50px; }
  .hero .actions { align-items: stretch; flex-direction: column; max-width: 320px; }
  .hero-checks { gap: 12px; flex-wrap: wrap; font-size: .75rem; }
  .hero-checks svg { width: 12px; }
  .hero-subtitle br { display: none; }
  .brand svg { width: 32px; }
  .brand { font-size: 1.05rem; }
  .nav-actions { gap: 0; }
  .icon-button { width: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .three-notes, .ecosystem-grid { grid-template-columns: 1fr; gap: 25px; }
  .filters { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .article-image { height: 205px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child h3 { grid-column: 1 / -1; }
  .final-cta { padding: 26px; }
  .final-cta .button { font-size: .8rem; }
  .compare-line span { width: 30px; height: 30px; font-size: 19px; }
  .toc nav { grid-template-columns: 1fr; }
  .copy-path { align-items: start; flex-direction: column; }
  .compare-toolbar .actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-toolbar .button:last-child { grid-column: 1 / -1; }
  .release-table .release-actions { grid-template-columns: 1fr; }
}

.site-footer { background: #edf3eb; border-top: 1px solid var(--line); padding: 42px 0 22px; }
.site-footer-main { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 70px); }
.site-footer-identity > a { display: inline-flex; }
.site-footer-identity > p { max-width: 36ch; margin: 14px 0 20px; font-size: .9rem; }
.site-footer .site-footer-label { color: var(--text); font-weight: 600; font-size: .9rem; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.site-footer-groups li + li { margin-top: 7px; }
.site-footer nav a { color: var(--muted); font-size: .875rem; text-underline-offset: 3px; }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--green); text-decoration: underline; }
.site-footer-sources { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-footer-sources a, .site-footer-top { display: inline-flex; align-items: center; gap: 5px; }
.site-footer-sources a { padding: 3px 0; }
.site-footer-lower { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px 20px; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; }
.site-footer-top { color: var(--green); font-size: .875rem; white-space: nowrap; grid-column: -2 / -1; justify-self: end; }
.site-footer-lower > p { grid-column: 1 / -1; margin: 0; font-size: .8125rem; }
@media (max-width: 1100px) {
  .site-footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .premium-intro { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .site-footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .premium-intro { padding: 28px 20px; border-radius: 18px; }
  .premium-workflow li { grid-template-columns: 52px 1fr auto; gap: 12px; padding: 14px; }
  .premium-step-icon { width: 52px; height: 52px; }
  .premium-workflow p { font-size: .9rem; }
  .site-footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer-lower { grid-template-columns: 1fr; }
}

.site-footer-lower > p { text-align: center; }
.site-footer-lower > p a, .texture-workflow a, .hero-topic-woodland .lede a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
