:root {
  color-scheme: dark;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --sky-500: #0ea5e9;
  --sky-400: #38bdf8;
  --rose-500: #f43f5e;
  --rose-400: #fb7185;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --fuchsia-400: #e879f9;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--slate-950); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--slate-950); color: var(--slate-300); font-family: var(--font-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--sky-500); outline-offset: 3px; }
#app { min-height: 100vh; display: flex; flex-direction: column; }
#main-content { flex: 1 0 auto; }
.icon { display: inline-block; flex: none; vertical-align: middle; }
.icon-xs { width: 16px; height: 16px; }
.icon-sm { width: 20px; height: 20px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 32px; height: 32px; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 23, 42, .95); border-bottom: 1px solid var(--slate-800); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.header-row { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; padding: 0; border: 0; background: transparent; cursor: pointer; color: white; }
.brand-icon { display: inline-flex; align-items: center; justify-content: center; padding: 6px; border-radius: 8px; background: #0284c7; color: white; }
.brand-icon .icon { width: 20px; height: 20px; }
.brand-name { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; border: 0; border-radius: 6px; padding: 8px 12px; color: var(--slate-400); background: transparent; font-size: 14px; line-height: 20px; font-weight: 500; cursor: pointer; transition: color .16s ease, background .16s ease; }
.nav-link:hover, .nav-link.active { color: white; background: var(--slate-800); }
.nav-link.active { color: var(--sky-400); }
.more-menu { position: relative; }
.more-trigger { gap: 5px; }
.dropdown-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; width: 192px; padding: 4px 0; border: 1px solid var(--slate-800); border-radius: 9px; background: var(--slate-900); box-shadow: 0 20px 35px rgba(0,0,0,.42); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; }
.more-menu:hover .dropdown-menu, .more-menu:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu .nav-link { display: flex; width: 100%; text-align: left; border-radius: 0; padding: 8px 16px; }
.mobile-menu-button { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 7px; background: transparent; color: var(--slate-400); cursor: pointer; }
.mobile-menu-button:hover { background: var(--slate-800); }
.mobile-nav { display: none; border-top: 1px solid var(--slate-800); background: var(--slate-900); }
.mobile-nav-inner { padding: 8px; }
.mobile-nav-link { display: flex; width: 100%; align-items: center; gap: 12px; padding: 9px 12px; border: 0; border-radius: 6px; color: var(--slate-400); background: transparent; text-align: left; font-size: 16px; font-weight: 500; cursor: pointer; }
.mobile-nav-link:hover { background: var(--slate-800); color: white; }
.mobile-nav-link.active { background: var(--slate-800); color: var(--sky-400); }
.mobile-nav-link .nav-icon { color: var(--slate-500); }
.mobile-nav.is-open { display: block; }

/* Shared page structure */
.page-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 64px 16px; }
.wide-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); }
.page-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 48px; }
.page-heading-icon { width: 56px; height: 56px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid var(--slate-800); border-radius: 9px; background: var(--slate-900); color: var(--slate-400); }
.page-heading h1 { margin: 0; color: white; font-size: 30px; line-height: 1.25; font-weight: 500; letter-spacing: -.02em; }
.page-heading p { margin: 4px 0 0; color: var(--slate-400); font-size: 16px; }
.center-heading { margin: 0 auto 48px; text-align: center; }
.center-heading h1 { margin: 0; color: white; font-size: 36px; line-height: 1.2; font-weight: 500; letter-spacing: -.025em; }
.center-heading p { max-width: 760px; margin: 16px auto 0; color: var(--slate-400); font-size: 18px; line-height: 1.65; }
.two-column-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.tone-sky { color: var(--sky-400); }
.tone-amber { color: var(--amber-400); }
.tone-green { color: var(--emerald-400); }
.tone-rose { color: var(--rose-400); }
.tone-fuchsia { color: var(--fuchsia-400); }
.tone-muted { color: var(--slate-500); }
.tone-purple { color: #e879f9; }
.mono { font-family: var(--font-mono); }
.full-width { width: 100%; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px; padding: 10px 18px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 500; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-light { color: var(--slate-900); background: var(--slate-100); }
.button-light:hover { background: #fff; }
.button-dark { color: white; background: var(--slate-800); border-color: var(--slate-700); }
.button-dark:hover { background: #334155; }
.button-sky { color: white; background: var(--sky-500); }
.button-sky:hover { background: #38bdf8; }
.button-amber { color: var(--slate-950); background: var(--amber-500); font-weight: 600; }
.button-amber:hover { background: var(--amber-400); }
.button-amber-soft { color: #fcd34d; background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.3); }
.button-amber-soft:hover { background: rgba(245,158,11,.2); }
.button-outline { color: white; background: transparent; border-color: var(--slate-700); }
.button-outline:hover { background: var(--slate-800); }
.button-subdued { color: var(--slate-400); background: rgba(30,41,59,.6); border-color: rgba(51,65,85,.6); }
.button-subdued:hover { background: var(--slate-800); }
.button-icon { transition: transform .16s ease; }
.button-light:hover .button-icon { transform: translateX(4px); }

/* Home */
.hero { position: relative; display: flex; min-height: 600px; align-items: center; overflow: hidden; padding: 96px 16px; color: white; background: var(--slate-950); border-bottom: 1px solid #0f172a; }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.announcement-pill { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; margin-bottom: 32px; padding: 8px 16px; border: 1px solid var(--slate-800); border-radius: 999px; color: var(--amber-400); background: var(--slate-900); font-size: 14px; font-weight: 500; cursor: pointer; transition: background .16s ease; }
.announcement-pill:hover { background: var(--slate-800); }
.announcement-pill .icon { color: var(--amber-400); }
.hero h1 { max-width: 1000px; margin: 0 0 32px; color: white; font-size: clamp(44px, 6vw, 72px); font-weight: 300; line-height: 1.08; letter-spacing: -.045em; }
.desktop-break { display: initial; }
.hero-copy { max-width: 700px; margin: 0 auto 40px; color: var(--slate-400); font-size: 20px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hero-actions .button { min-height: 56px; padding: 15px 32px; font-size: 16px; }
.features-section { padding: 96px 0; background: var(--slate-950); }
.section-intro { margin: 0 auto 64px; max-width: 760px; text-align: center; }
.section-intro h2 { margin: 0 0 16px; color: white; font-size: 30px; line-height: 1.2; font-weight: 500; }
.section-intro p { margin: 0; color: var(--slate-400); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; }
.feature-card { display: block; padding: 24px; border: 1px solid var(--slate-800); border-radius: 12px; color: var(--slate-300); background: var(--slate-900); text-align: left; cursor: pointer; transition: background .16s ease, border-color .16s ease; }
.feature-card:hover { background: var(--slate-800); border-color: var(--slate-700); }
.feature-card > .icon { margin-bottom: 16px; }
.feature-card h3 { margin: 0 0 8px; color: white; font-family: var(--font-body); font-size: 18px; font-weight: 500; }
.feature-card p { margin: 0; color: var(--slate-400); font-size: 14px; line-height: 1.6; }

/* Downloads */
.notice-card { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border-radius: 12px; }
.notice-card p { margin: 0; color: var(--slate-400); font-size: 14px; line-height: 1.65; }
.notice-card strong { color: var(--slate-200); }
.notice-icon { flex: none; margin-top: 2px; }
.neutral-notice { margin-bottom: 48px; border: 1px solid var(--slate-800); background: var(--slate-900); align-items: center; }
.neutral-notice .notice-icon { color: var(--slate-400); }
.neutral-notice p { color: var(--slate-300); }
.notice-card code { padding: 1px 4px; border-radius: 4px; color: var(--slate-200); background: var(--slate-800); font-family: var(--font-mono); }
.download-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.download-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--slate-800); border-radius: 12px; background: var(--slate-900); }
.download-card.primary-release { border-color: rgba(7,89,133,.55); }
.release-badge { position: absolute; top: 16px; right: 16px; padding: 4px 12px; border: 1px solid rgba(14,165,233,.2); border-radius: 999px; color: var(--sky-400); background: rgba(14,165,233,.1); font-size: 12px; font-weight: 500; }
.download-card-main { flex: 1; padding: 32px; }
.download-card-main h2 { margin: 0; padding-right: 120px; color: white; font-size: 24px; font-weight: 500; }
.download-card-main > p { margin: 8px 0 0; color: var(--slate-400); line-height: 1.65; }
.icon-list { display: flex; flex-direction: column; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.icon-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--slate-300); font-size: 14px; line-height: 1.6; }
.list-icon { margin-top: 2px; }
.list-icon.sky { color: var(--sky-400); }
.list-icon.muted { color: var(--slate-500); }
.download-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border-top: 1px solid var(--slate-800); background: var(--slate-950); }
.file-meta { color: var(--slate-500); font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.button-download { min-height: 42px; padding-left: 24px; padding-right: 24px; }
.older-versions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--slate-900); color: var(--slate-400); }
.older-versions h3 { margin: 0; color: white; font-family: var(--font-body); font-size: 18px; font-weight: 500; }
.older-versions p { margin: 4px 0 0; font-size: 14px; }
.older-versions .button { white-space: nowrap; }

/* Store */
.store-heading { margin-bottom: 64px; }
.license-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; align-items: stretch; }
.license-card { position: relative; display: flex; flex-direction: column; padding-top: 32px; border: 1px solid var(--slate-800); border-radius: 12px; color: white; background: var(--slate-900); }
.license-card.popular { z-index: 1; border-color: var(--slate-700); background: var(--slate-800); box-shadow: 0 25px 50px rgba(0,0,0,.28); transform: scale(1.025); }
.popular-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%,-50%); padding: 4px 16px; border-radius: 999px; color: white; background: var(--sky-500); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.license-main { flex: 1; padding: 0 32px 32px; }
.license-main h3 { margin: 0; color: var(--slate-300); font-family: var(--font-body); font-size: 20px; font-weight: 500; }
.license-card.popular .license-main h3 { color: white; }
.price-line { display: flex; align-items: baseline; margin-top: 16px; }
.price { color: white; font-family: var(--font-display); font-size: 38px; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.price-caption { margin-left: 8px; color: var(--slate-500); font-size: 14px; }
.license-description { min-height: 66px; margin: 16px 0 0; color: var(--slate-400); font-size: 14px; line-height: 1.65; }
.license-card.popular .license-description { color: var(--slate-300); }
.check-list { display: flex; flex-direction: column; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--slate-300); font-size: 14px; line-height: 1.5; }
.check-muted { color: var(--slate-500); }
.check-sky { color: var(--sky-400); }
.license-footer { margin-top: auto; padding: 32px; border-top: 1px solid rgba(30,41,59,.5); }
.license-footer .button { min-height: 48px; }

/* Support */
.support-wrap { max-width: 768px; margin: 0 auto; }
.support-title { margin: 0; color: white; font-size: 36px; font-weight: 500; text-align: center; letter-spacing: -.025em; }
.search-wrap { position: relative; margin-top: 32px; }
.search-wrap > .icon { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); color: var(--slate-500); pointer-events: none; }
.search-wrap input { display: block; width: 100%; padding: 16px 16px 16px 44px; border: 1px solid var(--slate-800); border-radius: 12px; color: white; background: var(--slate-900); transition: box-shadow .15s ease, border-color .15s ease; }
.search-wrap input::placeholder { color: var(--slate-500); }
.search-wrap input:focus { outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 2px rgba(14,165,233,.25); }
.error-section { margin-top: 64px; }
.error-section > h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: white; font-size: 24px; font-weight: 500; }
.error-heading-icon { color: var(--rose-500); }
.accordion-list { display: flex; flex-direction: column; gap: 16px; }
.error-item { overflow: hidden; border: 1px solid var(--slate-800); border-radius: 12px; background: var(--slate-900); transition: border-color .2s ease; }
.error-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 24px; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.error-trigger:hover { background: rgba(30,41,59,.5); }
.error-code { display: inline-flex; align-items: center; padding: 4px 8px; border: 1px solid rgba(244,63,94,.2); border-radius: 5px; color: var(--rose-400); background: rgba(244,63,94,.1); font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.error-trigger h3 { margin: 8px 0 0; color: var(--slate-200); font-family: var(--font-body); font-size: 18px; font-weight: 500; }
.accordion-chevron { color: var(--slate-500); }
.error-content { display: none; padding: 8px 24px 24px; border-top: 1px solid var(--slate-800); background: rgba(15,23,42,.5); }
.error-content.open { display: block; }
.error-content-inner { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
.error-content h4 { margin: 0; color: var(--slate-500); font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.error-content p { margin: 6px 0 0; color: var(--slate-300); font-size: 14px; line-height: 1.65; }

/* Archive */
.table-card { overflow: hidden; margin-bottom: 64px; border: 1px solid var(--slate-800); border-radius: 12px; background: var(--slate-900); }
.table-scroll { overflow-x: auto; }
.archive-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.archive-table thead { color: var(--slate-500); background: rgba(2,6,23,.5); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.archive-table th, .archive-table td { padding: 16px 24px; }
.archive-table th { border-bottom: 1px solid var(--slate-800); }
.archive-table tbody tr { border-bottom: 1px solid rgba(30,41,59,.5); transition: background .15s ease; }
.archive-table tbody tr:last-child { border-bottom: 0; }
.archive-table tbody tr:hover { background: rgba(30,41,59,.5); }
.archive-table td { font-size: 14px; }
.archive-table .version-cell { color: var(--slate-300); font-family: var(--font-mono); }
.archive-table .muted-cell { color: var(--slate-500); }
.archive-table .name-cell { color: var(--slate-400); font-weight: 500; }
.archive-table .right { text-align: right; }
.status-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.status-badge.supported { border: 1px solid rgba(14,165,233,.2); color: var(--sky-400); background: rgba(14,165,233,.1); }
.status-badge.eol { border: 1px solid rgba(244,63,94,.2); color: var(--rose-400); background: rgba(244,63,94,.1); }
.text-action { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0; color: var(--slate-400); background: transparent; font-size: 14px; font-weight: 500; cursor: pointer; }
.text-action:hover { color: white; }
.subsection-title { margin: 0 0 24px; color: white; font-size: 24px; font-weight: 500; }
.tool-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin-bottom: 32px; }
.tool-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--slate-800); border-radius: 12px; background: var(--slate-900); }
.tool-card > .icon { margin-bottom: 16px; }
.tool-card h3 { margin: 0; color: white; font-family: var(--font-body); font-size: 16px; font-weight: 500; }
.tool-card p { flex: 1; margin: 8px 0 16px; color: var(--slate-400); font-size: 14px; line-height: 1.6; }
.danger-notice { gap: 24px; border: 1px solid rgba(244,63,94,.2); background: rgba(244,63,94,.1); }
.danger-notice .notice-icon { color: var(--rose-400); }
.danger-notice h4 { margin: 0 0 4px; color: var(--rose-400); font-family: var(--font-body); font-size: 16px; font-weight: 500; }

/* Apps */
.apps-heading { margin-bottom: 40px; }
.ecosystem-callout { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; padding: 24px; border: 1px solid rgba(14,165,233,.2); border-radius: 12px; background: rgba(12,74,110,.12); }
.ecosystem-callout h3 { margin: 0 0 4px; color: var(--sky-400); font-family: var(--font-body); font-size: 16px; font-weight: 500; }
.ecosystem-callout p { margin: 0; color: var(--slate-400); font-size: 14px; line-height: 1.65; }
.ecosystem-callout strong { color: var(--slate-200); }
.ecosystem-callout .sky-emphasis { color: #7dd3fc; }
.apps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.app-card { display: flex; flex-direction: column; min-height: 270px; padding: 24px; border: 1px solid var(--slate-800); border-radius: 12px; background: var(--slate-900); transition: border-color .16s ease; }
.app-card:hover { border-color: var(--slate-700); }
.app-icon { display: flex; width: 56px; height: 56px; align-items: center; justify-content: center; margin-bottom: 24px; border-radius: 9px; color: white; }
.app-icon-slate { background: #334155; }
.app-icon-sky { background: #0ea5e9; }
.app-icon-rose { background: #f43f5e; }
.app-icon-fuchsia { background: #c026d3; }
.app-icon-dark { border: 1px solid var(--slate-700); background: #0f172a; }
.app-icon-emerald { background: #059669; }
.app-icon-blue { background: #3b82f6; }
.app-icon-amber { background: #f59e0b; }
.app-icon-slate-light { background: #1e293b; }
.app-card h3 { margin: 0; color: var(--slate-200); font-size: 20px; font-weight: 500; }
.app-category { display: block; margin: 2px 0 12px; color: var(--slate-500); font-size: 14px; font-weight: 500; }
.app-card > p { flex: 1; margin: 0; color: var(--slate-400); font-size: 14px; line-height: 1.65; }
.store-promo { justify-content: center; text-align: center; border-style: dashed; background: rgba(15,23,42,.5); }
.store-promo > .promo-icon { margin: 0 auto 16px; color: var(--slate-600); }
.store-promo h3 { color: var(--slate-300); }
.store-promo p { margin: 8px 0 24px; color: var(--slate-500); }

/* Beta */
.beta-intro { display: flex; flex-direction: column; align-items: center; margin-bottom: 48px; text-align: center; }
.beta-icon { display: flex; width: 64px; height: 64px; align-items: center; justify-content: center; margin-bottom: 24px; border: 1px solid var(--slate-800); border-radius: 9px; color: var(--fuchsia-400); background: var(--slate-900); }
.beta-intro h1 { margin: 0; color: white; font-size: 36px; font-weight: 500; }
.beta-intro p { max-width: 680px; margin: 16px auto 0; color: var(--slate-400); font-size: 18px; }
.beta-warning { max-width: 768px; margin: 0 auto 48px; gap: 24px; border: 1px solid rgba(244,63,94,.2); background: rgba(244,63,94,.1); }
.beta-warning .notice-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 10px; border-radius: 999px; color: var(--rose-400); background: rgba(244,63,94,.2); }
.beta-warning h2 { margin: 0 0 4px; color: var(--rose-400); font-family: var(--font-body); font-size: 16px; font-weight: 500; }
.beta-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; max-width: 896px; margin: 0 auto; }
.beta-card { position: relative; display: flex; min-height: 330px; flex-direction: column; overflow: hidden; padding: 32px; border: 1px solid var(--slate-800); border-radius: 12px; background: var(--slate-900); }
.build-badge { position: absolute; top: 0; right: 0; padding: 4px 12px; border-bottom: 1px solid; border-left: 1px solid; border-radius: 0 0 0 8px; font-size: 12px; font-weight: 500; }
.build-fuchsia { border-color: rgba(217,70,239,.2); color: var(--fuchsia-400); background: rgba(217,70,239,.1); }
.build-sky { border-color: rgba(14,165,233,.2); color: var(--sky-400); background: rgba(14,165,233,.1); }
.beta-card h3 { margin: 0 0 4px; color: white; font-size: 20px; font-weight: 500; }
.release-time { margin: 0 0 24px; color: var(--slate-500); font-family: var(--font-mono); font-size: 14px; }
.beta-issues { flex: 1; margin-bottom: 24px; }
.beta-issues h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--slate-300); font-family: var(--font-body); font-size: 14px; font-weight: 500; }
.issue-icon { color: var(--rose-400); }
.beta-issues ul { margin: 0; padding-left: 20px; color: var(--slate-400); font-size: 14px; line-height: 1.55; }
.beta-issues li + li { margin-top: 8px; }

/* Info and requirements */
.info-card, .requirements-card { position: relative; overflow: hidden; padding: 32px; border: 1px solid var(--slate-800); border-radius: 12px; background: var(--slate-900); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.info-card-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--slate-800); }
.info-card-heading h2 { margin: 0; color: white; font-size: 20px; font-weight: 500; }
.info-card > p { margin: 0 0 16px; color: var(--slate-400); font-size: 14px; line-height: 1.65; }
.definition-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; color: var(--slate-500); font-size: 14px; list-style: none; }
.definition-list strong { color: var(--slate-300); font-weight: 600; }
.requirements-grid { align-items: stretch; }
.requirements-card { padding: 32px; }
.requirements-card > h2 { margin: 0 0 24px; padding-bottom: 16px; border-bottom: 1px solid var(--slate-800); color: white; font-size: 24px; font-weight: 500; }
.spec-list { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 0; list-style: none; }
.spec-list li { display: flex; align-items: flex-start; gap: 16px; }
.spec-list li > .icon { margin-top: 2px; }
.spec-list dt { color: var(--slate-300); font-weight: 500; }
.spec-list dd { margin: 4px 0 0; color: var(--slate-500); font-size: 14px; line-height: 1.6; }
.warning-inline { color: rgba(251,191,36,.9); font-weight: 500; }
.recommended-card { border-color: rgba(7,89,133,.55); }
.recommended-card > h2 { position: relative; z-index: 1; border-color: rgba(12,74,110,.5); color: var(--sky-400); }
.recommended-card .spec-list { position: relative; z-index: 1; }
.recommended-card .spec-list dt { color: var(--slate-200); }
.recommended-card .spec-list dd { color: rgba(125,211,252,.7); }
.background-check { position: absolute; top: -30px; right: -18px; color: rgba(56,189,248,.05); pointer-events: none; }
.background-check .icon { width: 192px; height: 192px; }

/* News */
.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-card { display: flex; gap: 24px; padding: 32px; border: 1px solid var(--slate-800); border-radius: 12px; background: var(--slate-900); }
.news-meta { width: 128px; flex: none; }
.news-date { display: block; margin-bottom: 8px; color: var(--slate-500); font-family: var(--font-mono); font-size: 12px; }
.news-type { display: inline-block; padding: 4px 10px; border: 1px solid rgba(51,65,85,.5); border-radius: 999px; color: var(--slate-300); background: rgba(30,41,59,.5); font-size: 12px; font-weight: 500; }
.news-card h3 { margin: 0 0 12px; color: var(--slate-200); font-family: var(--font-body); font-size: 20px; font-weight: 500; line-height: 1.35; }
.news-card p { margin: 0; color: var(--slate-400); font-size: 14px; line-height: 1.65; }

/* History */
.timeline { position: relative; margin-left: 24px; padding-left: 32px; border-left: 1px solid var(--slate-800); }
.timeline-item { position: relative; margin-bottom: 48px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; top: 6px; left: -41px; width: 16px; height: 16px; border: 2px solid #d946ef; border-radius: 50%; background: var(--slate-900); }
.timeline-item h3 { margin: 0 0 4px; color: white; font-size: 24px; font-weight: 500; }
.timeline-item h3 span { margin-left: 12px; color: var(--slate-500); font-family: var(--font-mono); font-size: 14px; font-weight: 400; }
.timeline-name { margin: 0 0 12px; color: var(--sky-400); font-weight: 500; }
.timeline-desc { max-width: 768px; margin: 0; color: var(--slate-400); font-size: 14px; line-height: 1.65; }

/* Partners */
.closed-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: -34px; margin-bottom: 24px; padding: 4px 12px; border: 1px solid rgba(244,63,94,.2); border-radius: 999px; color: var(--rose-400); background: rgba(244,63,94,.1); font-size: 12px; font-weight: 600; }
.selection-banner { position: relative; overflow: hidden; margin-bottom: 64px; padding: 32px; border: 1px solid rgba(245,158,11,.3); border-radius: 16px; background: linear-gradient(125deg, rgba(69,26,3,.42), var(--slate-900) 58%, var(--slate-900)); box-shadow: 0 24px 48px rgba(0,0,0,.22); }
.banner-glow { position: absolute; top: -48px; right: -48px; width: 256px; height: 256px; border-radius: 50%; background: rgba(245,158,11,.1); filter: blur(42px); pointer-events: none; }
.selection-kicker { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--amber-400); font-family: var(--font-mono); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.selection-kicker .icon { animation: gentle-pulse 2s infinite; }
@keyframes gentle-pulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
.selection-banner h2 { position: relative; margin: 0 0 16px; color: white; font-size: 30px; font-weight: 600; line-height: 1.25; }
.amber-text { color: var(--amber-400); }
.sky-text { color: var(--sky-400); }
.white-text { color: white; }
.selection-banner > p { position: relative; max-width: 896px; margin: 0 0 24px; color: var(--slate-300); font-size: 16px; line-height: 1.65; }
.selection-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding-top: 16px; border-top: 1px solid rgba(30,41,59,.8); }
.selection-facts > div { display: flex; align-items: flex-start; gap: 12px; }
.selection-facts .icon { flex: none; margin-top: 2px; }
.selection-facts h4 { margin: 0; color: white; font-family: var(--font-body); font-size: 14px; font-weight: 500; }
.selection-facts p { margin: 2px 0 0; color: var(--slate-400); font-size: 12px; }
.featured-system > h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: white; font-size: 20px; font-weight: 500; }
.supersigeon-card { position: relative; padding: 32px; border: 2px solid rgba(245,158,11,.4); border-radius: 12px; background: var(--slate-900); box-shadow: 0 18px 35px rgba(0,0,0,.2); transition: border-color .16s ease; }
.supersigeon-card:hover { border-color: rgba(245,158,11,.6); }
.selected-base { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid rgba(245,158,11,.3); border-radius: 999px; color: #fcd34d; background: rgba(245,158,11,.2); font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.supersigeon-card h4 { margin: 0; color: white; font-size: 24px; font-weight: 600; }
.supersigeon-card .creator { margin: 4px 0 0; color: var(--sky-400); font-size: 14px; font-weight: 500; }
.supersigeon-desc { max-width: 768px; margin: 20px 0 24px; color: var(--slate-300); font-size: 14px; line-height: 1.65; }
.preview-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }

/* Footer */
.site-footer { margin-top: auto; padding: 48px 0; border-top: 1px solid var(--slate-900); color: var(--slate-500); background: var(--slate-950); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.legal-box { max-width: 896px; margin: 0 auto 32px; padding: 24px; border: 1px solid var(--slate-800); border-radius: 12px; background: rgba(15,23,42,.5); text-align: center; font-size: 12px; line-height: 1.65; }
.legal-box p { margin: 0; }
.legal-box p + p { margin-top: 16px; }
.important-disclaimer { color: rgba(251,113,133,.8); }
.legal-secondary { color: #475569; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--slate-400); font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--slate-400); font-family: var(--font-display); font-weight: 500; }
.footer-brand .icon { color: var(--sky-500); opacity: .5; }
.footer-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; }
.footer-links button { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; transition: color .15s ease; }
.footer-links button:hover { color: var(--slate-300); }

/* Simulated action modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(2,6,23,.8); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.simulation-modal { position: relative; width: 100%; max-width: 448px; overflow: hidden; border: 1px solid var(--slate-700); border-radius: 12px; background: var(--slate-900); box-shadow: 0 25px 60px rgba(0,0,0,.45); }
.modal-main { padding: 24px; border-bottom: 1px solid var(--slate-800); }
.modal-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.modal-title-wrap { display: flex; align-items: center; gap: 12px; min-width: 0; }
.modal-title-wrap h3 { margin: 0; color: white; font-size: 20px; font-weight: 500; }
.modal-icon { display: flex; flex: none; align-items: center; justify-content: center; padding: 8px; border-radius: 8px; }
.modal-icon-sky { color: var(--sky-400); background: rgba(14,165,233,.2); }
.modal-icon-green { color: var(--emerald-400); background: rgba(16,185,129,.2); }
.modal-icon-purple { color: #e879f9; background: rgba(192,38,211,.2); }
.modal-x { display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; color: var(--slate-500); background: transparent; cursor: pointer; transition: color .15s ease; }
.modal-x:hover { color: white; }
.modal-item-name { margin: 0 0 4px; color: var(--slate-300); font-family: var(--font-body); font-size: 16px; font-weight: 500; }
.modal-status { margin: 0; color: var(--slate-500); font-size: 14px; }
.progress-track { width: 100%; height: 10px; overflow: hidden; margin-top: 16px; border-radius: 999px; background: var(--slate-800); }
.progress-fill { height: 100%; border-radius: 999px; transition: width .3s ease-out; }
.progress-sky { background: var(--sky-500); }
.progress-green { background: var(--emerald-500); }
.modal-warning { display: flex; align-items: flex-start; gap: 16px; padding: 24px; background: rgba(2,6,23,.5); }
.modal-warning-icon { flex: none; margin-top: 2px; color: var(--rose-500); }
.modal-warning h4 { margin: 0 0 4px; color: var(--rose-400); font-family: var(--font-body); font-size: 14px; font-weight: 500; }
.modal-warning p { margin: 0; color: var(--slate-400); font-size: 12px; line-height: 1.65; }
.modal-warning strong { color: var(--slate-300); }
.close-simulation { margin-top: 16px; font-size: 14px; }

@media (min-width: 640px) {
  .header-inner, .wide-container, .footer-inner { padding-left: 24px; padding-right: 24px; }
  .download-card-footer { flex-direction: row; }
}
@media (min-width: 1024px) {
  .header-inner, .wide-container, .footer-inner { padding-left: 32px; padding-right: 32px; }
  .tool-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 1100px) {
  .license-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 32px; }
  .license-card.popular { transform: none; }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .apps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .download-grid { grid-template-columns: 1fr; }
  .download-card-main h2 { padding-right: 120px; }
}
@media (max-width: 767px) {
  .desktop-nav { display: none; }
  .mobile-menu-button { display: inline-flex; }
  .page-container { padding-top: 48px; padding-bottom: 48px; }
  .page-heading { gap: 16px; margin-bottom: 36px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading p { font-size: 14px; }
  .center-heading h1, .support-title, .beta-intro h1 { font-size: 30px; }
  .center-heading p, .beta-intro p { font-size: 16px; }
  .two-column-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero { min-height: auto; padding: 88px 16px; }
  .hero h1 { font-size: clamp(42px, 10vw, 60px); }
  .hero-copy { font-size: 18px; }
  .hero-actions { width: 100%; max-width: 420px; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .desktop-break { display: none; }
  .feature-grid { gap: 20px; }
  .news-card { flex-direction: column; gap: 16px; }
  .news-meta { width: auto; }
  .selection-facts { grid-template-columns: 1fr; gap: 16px; }
  .selected-base { position: static; margin-bottom: 16px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 560px) {
  .header-inner, .footer-inner { padding-left: 16px; padding-right: 16px; }
  .page-container { padding-left: 16px; padding-right: 16px; }
  .page-heading { align-items: flex-start; }
  .page-heading-icon { width: 48px; height: 48px; }
  .page-heading h1 { font-size: 23px; }
  .page-heading p { line-height: 1.5; }
  .center-heading { margin-bottom: 36px; }
  .center-heading h1, .support-title, .beta-intro h1 { font-size: 28px; }
  .feature-grid, .apps-grid, .license-grid, .beta-grid, .tool-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 22px; }
  .features-section { padding: 72px 0; }
  .section-intro { margin-bottom: 40px; }
  .download-card-main { padding: 24px; }
  .download-card-main h2 { padding-right: 0; }
  .release-badge { position: static; align-self: flex-start; margin: 16px 16px 0; }
  .download-card-footer { align-items: stretch; flex-direction: column; padding: 20px 24px; }
  .download-card-footer .button { width: 100%; }
  .older-versions { align-items: stretch; flex-direction: column; margin-top: 48px; padding-top: 40px; }
  .older-versions .button { width: 100%; }
  .license-card { padding-top: 28px; }
  .license-main, .license-footer { padding-left: 24px; padding-right: 24px; }
  .license-description { min-height: 0; }
  .beta-card { padding: 28px 24px 24px; }
  .info-card, .requirements-card { padding: 24px; }
  .news-card { padding: 24px; }
  .selection-banner, .supersigeon-card { padding: 24px; }
  .selection-banner h2 { font-size: 26px; }
  .selection-kicker { font-size: 12px; }
  .preview-actions { align-items: stretch; flex-direction: column; }
  .preview-actions .button { width: 100%; }
  .file-meta { white-space: normal; }
  .closed-badge { margin-top: -22px; }
  .archive-table th, .archive-table td { padding: 14px 16px; }
  .legal-box { padding: 20px; }
  .footer-links { gap: 12px 20px; }
  .modal-title-wrap h3 { font-size: 18px; }
}
.partners-heading .closed-badge { margin: 0 0 8px; }
