:root {
  color-scheme: dark;
  --bg: #07090c;
  --bg-soft: #0b0e13;
  --surface: #0e1116;
  --surface-raised: #141820;
  --surface-gold: #19150d;
  --border: #29303a;
  --border-soft: #1b2129;
  --border-gold: #765716;
  --gold: #ffb000;
  --gold-light: #ffd36a;
  --orange: #ff8a00;
  --pink: #f80b68;
  --text: #f6f7fa;
  --muted: #9ba6b7;
  --muted-strong: #bec5d0;
  --success: #2bdc72;
  --danger: #ff6570;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --shadow: 0 22px 70px rgb(0 0 0 / 42%);
  font-family: "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

html { overflow-x: hidden; scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 82% -5%, rgb(255 176 0 / 14%), transparent 29rem),
    radial-gradient(circle at 5% 40%, rgb(248 11 104 / 5%), transparent 23rem),
    var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; color: #111; background: var(--gold); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgb(255 176 0 / 18%);
  background: rgb(7 9 12 / 87%);
  backdrop-filter: blur(18px);
}

.header-inner { min-width: 0; min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; flex: 0 1 auto; text-decoration: none; }
.brand img { width: 50px; aspect-ratio: 1; border: 1px solid var(--border-gold); border-radius: 13px; box-shadow: 0 0 24px rgb(255 176 0 / 13%); }
.brand strong { display: block; color: var(--gold); font-size: 18px; letter-spacing: -.02em; line-height: 1.2; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .09em; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 42px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: var(--surface); flex: 0 0 44px; cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { padding: 10px 12px; color: var(--muted-strong); border-radius: 9px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-raised); }
.site-nav .nav-cta { margin-left: 8px; color: #151006; background: linear-gradient(135deg, var(--gold-light), var(--orange)); box-shadow: 0 0 26px rgb(255 176 0 / 15%); }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { color: #151006; background: linear-gradient(135deg, #ffe09a, var(--gold)); }

main { overflow: hidden; }
.hero { position: relative; padding: 84px 0 72px; }
.hero::after { position: absolute; right: -120px; top: 75px; width: 350px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); content: ""; transform: rotate(-35deg); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--gold-light); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 1px; background: var(--gold); content: ""; }
h1, h2, h3 { margin-top: 0; line-height: 1.22; letter-spacing: -.025em; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(40px, 6vw, 72px); overflow-wrap: anywhere; }
h1 .gold, h2 .gold { color: var(--gold); }
.hero-copy { max-width: 640px; margin: 0 0 32px; color: var(--muted-strong); font-size: clamp(18px, 2.3vw, 22px); overflow-wrap: anywhere; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 20px; border: 1px solid var(--border); border-radius: 11px; color: var(--text); background: var(--surface); font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { border-color: var(--border-gold); transform: translateY(-1px); }
.button.primary { border-color: var(--gold); color: #171106; background: linear-gradient(135deg, var(--gold-light), var(--orange)); box-shadow: 0 12px 36px rgb(255 160 0 / 18%); }
.button.disabled { color: #6f7785; border-color: #252b33; background: #111419; cursor: not-allowed; box-shadow: none; }
.micro-note { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.micro-note .dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--success); border-radius: 50%; }

.product-stage { position: relative; min-height: 520px; }
.product-glow { position: absolute; inset: 12% 8%; background: rgb(255 176 0 / 15%); border-radius: 50%; filter: blur(70px); }
.product-window { position: absolute; overflow: hidden; border: 1px solid var(--border-gold); border-radius: 19px; background: #090b0e; box-shadow: var(--shadow); }
.product-window img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.product-window.main { inset: 10px 0 100px 45px; transform: rotate(1.2deg); }
.product-window.secondary { left: 0; bottom: 12px; width: 46%; height: 190px; border-color: #444c58; transform: rotate(-2.5deg); }
.product-label { position: absolute; right: 14px; bottom: 14px; padding: 7px 10px; border: 1px solid rgb(255 176 0 / 35%); border-radius: 999px; color: var(--gold-light); background: rgb(7 9 12 / 86%); font-size: 11px; font-weight: 700; }

.trust-strip { border-block: 1px solid var(--border-soft); background: rgb(14 17 22 / 70%); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 23px 24px; border-right: 1px solid var(--border-soft); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 17px; }
.trust-item span { color: var(--muted); font-size: 13px; }

.section { padding: 88px 0; }
.section.compact { padding: 64px 0; }
.section.dark { border-block: 1px solid var(--border-soft); background: rgb(9 12 16 / 74%); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 34px; }
.section-heading > div { max-width: 720px; }
.section-heading h2 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 46px); }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.text-link { color: var(--gold-light); font-weight: 750; text-decoration: none; white-space: nowrap; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm); background: linear-gradient(145deg, rgb(20 24 32 / 96%), rgb(12 15 20 / 96%)); }
.feature-card { min-height: 220px; padding: 26px; }
.feature-card::after { position: absolute; right: -45px; bottom: -45px; width: 120px; aspect-ratio: 1; border: 1px solid rgb(255 176 0 / 14%); border-radius: 50%; content: ""; }
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border: 1px solid var(--border-gold); border-radius: 12px; color: var(--gold); background: var(--surface-gold); font-size: 20px; }
.feature-card h3 { margin-bottom: 8px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: steps; }
.step { position: relative; min-height: 168px; padding: 20px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); counter-increment: steps; }
.step::before { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 26px; border: 1px solid var(--border-gold); border-radius: 50%; color: var(--gold); content: counter(steps, decimal-leading-zero); font-size: 11px; font-weight: 800; }
.step:not(:last-child)::after { position: absolute; top: 37px; right: -11px; z-index: 2; width: 11px; height: 1px; background: var(--gold); content: ""; }
.step strong { display: block; margin-bottom: 5px; font-size: 15px; }
.step span { color: var(--muted); font-size: 13px; }

.guide-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.guide-card { min-height: 330px; padding: 28px; }
.guide-card.large { grid-row: span 2; }
.guide-card h3 { margin-bottom: 10px; font-size: 26px; }
.guide-card p { color: var(--muted); }
.guide-card .guide-image { overflow: hidden; margin-top: 24px; border: 1px solid var(--border); border-radius: 12px; background: #050607; }
.guide-card.large .guide-image { aspect-ratio: 1.42; }
.guide-card:not(.large) { display: grid; grid-template-columns: 1fr 150px; gap: 20px; align-items: center; min-height: 208px; }
.guide-card:not(.large) .guide-image { margin-top: 0; }
.guide-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.guide-card a { color: var(--gold-light); font-weight: 750; text-decoration: none; }

.callout { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; padding: 38px; border: 1px solid var(--border-gold); border-radius: var(--radius); background: linear-gradient(115deg, #18130b, #0d1015 67%); box-shadow: 0 20px 60px rgb(0 0 0 / 25%); }
.callout::before { position: absolute; top: 0; left: 40px; width: 140px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); content: ""; }
.callout h2 { margin-bottom: 8px; font-size: clamp(27px, 4vw, 40px); }
.callout p { max-width: 680px; margin: 0; color: var(--muted-strong); }

.page-hero { padding: 74px 0 52px; border-bottom: 1px solid var(--border-soft); }
.page-hero h1 { max-width: 850px; margin-bottom: 16px; font-size: clamp(38px, 5vw, 60px); }
.page-hero p { max-width: 760px; margin: 0; color: var(--muted-strong); font-size: 19px; }
.breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--gold-light); text-decoration: none; }

.content-grid { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; }
.side-nav { position: sticky; top: 104px; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.side-nav a { display: block; padding: 10px 12px; color: var(--muted-strong); border-radius: 8px; font-size: 14px; text-decoration: none; }
.side-nav a:hover { color: var(--text); background: var(--surface-raised); }
.article-stack { display: grid; gap: 24px; }
.article-card { scroll-margin-top: 105px; padding: clamp(24px, 4vw, 38px); }
.article-card h2 { margin-bottom: 10px; font-size: 30px; }
.article-card h3 { margin-top: 30px; font-size: 20px; }
.article-card > p { color: var(--muted-strong); }
.article-card ol, .article-card ul { padding-left: 22px; color: var(--muted-strong); }
.article-card li + li { margin-top: 8px; }
.screenshot { overflow: hidden; margin: 25px 0 18px; border: 1px solid var(--border-gold); border-radius: 15px; background: #050607; box-shadow: 0 18px 50px rgb(0 0 0 / 30%); }
.screenshot img { width: 100%; max-height: 680px; object-fit: contain; }
.screenshot figcaption { padding: 10px 14px; border-top: 1px solid var(--border); color: var(--muted); background: var(--surface); font-size: 12px; }
.numbered-list { display: grid; gap: 11px; padding: 0; list-style: none; counter-reset: note; }
.numbered-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; counter-increment: note; }
.numbered-list li::before { display: grid; place-items: center; width: 28px; height: 28px; color: #171006; background: var(--gold); border-radius: 50%; content: counter(note); font-size: 12px; font-weight: 850; }
.notice { padding: 16px 18px; border-left: 3px solid var(--gold); color: var(--muted-strong); background: var(--surface-gold); border-radius: 0 10px 10px 0; }
.notice strong { color: var(--gold-light); }
.placeholder { padding: 18px; border: 1px dashed #525a66; border-radius: 12px; color: var(--muted); background: rgb(20 24 32 / 55%); text-align: center; }

.download-card { display: grid; grid-template-columns: 1fr 310px; gap: 34px; padding: clamp(28px, 5vw, 50px); border-color: var(--border-gold); }
.download-card h2 { margin-bottom: 10px; font-size: 34px; }
.download-card p { color: var(--muted-strong); }
.download-meta { padding: 22px; border: 1px solid var(--border); border-radius: 13px; background: #0a0c10; }
.download-meta dl { margin: 0; }
.download-meta div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border-soft); }
.download-meta div:last-child { border-bottom: 0; }
.download-meta dt { color: var(--muted); }
.download-meta dd { margin: 0; font-weight: 700; }

.video-grid, .update-grid, .support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.video-card, .update-card, .support-card { min-height: 230px; padding: 22px; }
.video-thumb { position: relative; display: grid; place-items: center; overflow: hidden; width: calc(100% + 14px); aspect-ratio: 16 / 9; margin: -7px -7px 18px; padding: 0; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); background: radial-gradient(circle at 82% 20%, rgb(255 176 0 / 18%), transparent 34%), linear-gradient(135deg, #171a20, #090b0f); font-size: 12px; text-decoration: none; cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, opacity .25s ease; }
.video-thumb::after { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; padding-left: 4px; border: 1px solid rgb(255 211 106 / 70%); border-radius: 50%; color: #171106; background: linear-gradient(135deg, var(--gold-light), var(--orange)); box-shadow: 0 12px 34px rgb(0 0 0 / 45%); content: "▶"; font-size: 20px; }
.video-thumb:hover img { opacity: .76; transform: scale(1.035); }
.video-thumb-title { max-width: 72%; color: var(--muted-strong); font-size: 16px; font-weight: 800; letter-spacing: .01em; text-align: center; }
.video-card { display: flex; flex-direction: column; }
.video-actions { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 18px; }
.video-action { padding: 0; border: 0; color: var(--gold-light); background: transparent; font-weight: 750; text-decoration: none; cursor: pointer; }
.video-action.secondary { color: var(--muted); font-size: 13px; font-weight: 650; }
.video-action:hover { color: var(--text); }

.video-dialog { width: min(1040px, calc(100% - 30px)); padding: 0; border: 1px solid var(--border-gold); border-radius: 18px; color: var(--text); background: #080a0e; box-shadow: 0 30px 110px rgb(0 0 0 / 75%); }
.video-dialog::backdrop { background: rgb(0 0 0 / 82%); backdrop-filter: blur(8px); }
.video-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.video-dialog-header h2 { margin: 0; font-size: clamp(18px, 3vw, 24px); }
.video-dialog-close { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: var(--surface-raised); font-size: 22px; cursor: pointer; }
.video-dialog-close:hover { border-color: var(--gold); color: var(--gold-light); }
.video-player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; color: var(--muted); font-size: 13px; }
.video-dialog-footer a { color: var(--gold-light); font-weight: 750; text-decoration: none; }
.pill { display: inline-flex; padding: 5px 9px; border: 1px solid var(--border-gold); border-radius: 999px; color: var(--gold-light); background: var(--surface-gold); font-size: 11px; font-weight: 700; }
.video-card h3, .update-card h3, .support-card h3 { margin: 13px 0 6px; }
.video-card p, .update-card p, .support-card p { margin: 0; color: var(--muted); }
.release-status { display: inline-flex; align-items: center; gap: 8px; color: var(--success); font-size: 13px; font-weight: 750; }
.release-status::before { width: 8px; height: 8px; background: var(--success); border-radius: 50%; content: ""; box-shadow: 0 0 14px var(--success); }
.release-hidden { display: none; }
.latest-release-card { padding: clamp(26px, 5vw, 46px); border-color: var(--border-gold); background: linear-gradient(125deg, #17130c, #0d1117 70%); }
.latest-release-top { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: start; }
.latest-release-top h2 { margin: 14px 0 8px; font-size: clamp(30px, 4vw, 46px); }
.latest-release-top p { max-width: 720px; margin: 0; color: var(--muted-strong); font-size: 18px; }
.release-date-card { min-width: 210px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: #090b0f; }
.release-date-card span { display: block; color: var(--muted); font-size: 12px; }
.release-date-card strong { display: block; margin-top: 5px; color: var(--gold-light); }
.release-details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.release-detail-section { padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: rgb(8 10 14 / 65%); }
.release-detail-section h3 { margin-bottom: 8px; color: var(--gold-light); font-size: 15px; }
.release-detail-section ul { margin: 0; padding-left: 20px; color: var(--muted-strong); }
.release-detail-section li + li { margin-top: 5px; }
.release-history { display: grid; gap: 12px; }
.release-history-item { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.release-history-item[open] { border-color: var(--border-gold); }
.release-history-item > summary { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 20px 22px; cursor: pointer; list-style: none; }
.release-history-item > summary::-webkit-details-marker { display: none; }
.release-history-item > summary span { display: grid; gap: 3px; }
.release-history-item > summary strong { font-size: 18px; }
.release-history-item > summary small { color: var(--muted); font-size: 13px; }
.release-history-item > summary time { color: var(--gold-light); font-size: 13px; white-space: nowrap; }
.release-history-body { padding: 0 22px 22px; border-top: 1px solid var(--border-soft); }

.editor-layout { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.editor-sidebar { position: sticky; top: 102px; padding: 20px; }
.editor-sidebar-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.editor-sidebar-heading h2 { margin-bottom: 18px; font-size: 21px; }
.editor-release-list { display: grid; gap: 8px; }
.editor-release-item { display: grid; gap: 3px; width: 100%; padding: 13px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: #0a0d12; text-align: left; cursor: pointer; }
.editor-release-item:hover, .editor-release-item[data-active="true"] { border-color: var(--gold); background: var(--surface-gold); }
.editor-release-item span, .editor-release-item small { color: var(--muted); }
.editor-release-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editor-file-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.editor-file-actions .button { min-height: 42px; padding: 8px 10px; font-size: 12px; }
.editor-form { padding: clamp(24px, 4vw, 38px); }
.editor-form-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.editor-form-heading h2 { margin-bottom: 20px; font-size: 30px; }
.editor-status { padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.editor-status[data-tone="success"] { border-color: #277a45; color: var(--success); }
.editor-status[data-tone="error"] { border-color: #8e3139; color: var(--danger); }
.editor-status[data-tone="editing"] { border-color: var(--border-gold); color: var(--gold-light); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { display: grid; gap: 7px; color: var(--muted-strong); font-size: 13px; font-weight: 650; }
.form-grid .form-full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; border: 1px solid #404752; border-radius: 9px; padding: 11px 12px; color: var(--text); background: #090b0f; resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--gold); outline: 2px solid rgb(255 176 0 / 18%); }
.editor-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.editor-form .notice { margin-top: 22px; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.faq summary { padding: 18px 20px; color: var(--text); cursor: pointer; font-weight: 700; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted-strong); }
.text-link { color: var(--gold-light); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { color: var(--gold); }
.policy-list { display: grid; gap: 10px; margin: 22px 0; }
.support-facts { display: grid; gap: 0; margin: 24px 0 12px; border-top: 1px solid var(--border); }
.support-facts div { display: grid; grid-template-columns: minmax(140px, .45fr) 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.support-facts dt { color: var(--muted); }
.support-facts dd { margin: 0; color: var(--text); font-weight: 700; }
.contact-layout { display: grid; grid-template-columns: 1fr 220px; gap: 32px; align-items: center; margin-top: 26px; }
.contact-details { display: grid; gap: 18px; }
.contact-details p { margin: 0; color: var(--muted-strong); }
.contact-details strong { color: var(--text); }
.contact-handle { display: inline-block; margin-top: 5px; font-size: 23px; }
.contact-qr { display: grid; gap: 10px; justify-items: center; padding: 16px; border: 1px solid var(--border-gold); border-radius: 15px; color: var(--muted-strong); background: #fff; text-align: center; text-decoration: none; font-size: 12px; }
.contact-qr img { width: 100%; aspect-ratio: 1; object-fit: contain; image-rendering: crisp-edges; }
.contact-qr span { color: #29220f; font-weight: 750; }

.site-footer { padding: 48px 0 30px; border-top: 1px solid var(--border-soft); background: #07090c; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.footer-intro p { max-width: 360px; color: var(--muted); }
.footer-col h3 { margin-bottom: 12px; color: var(--muted-strong); font-size: 14px; }
.footer-col a { display: block; padding: 4px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--border-soft); color: #707988; font-size: 12px; }
.demo-badge { color: var(--gold-light); }

@media (max-width: 1050px) {
  .site-nav a { padding-inline: 8px; font-size: 13px; }
  .hero-grid { gap: 28px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3)::after { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid, .update-grid, .support-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 850px) {
  .header-inner { position: relative; padding-right: 58px; }
  .nav-toggle { position: absolute; top: 18px; right: 0; z-index: 2; display: inline-grid !important; place-items: center; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-qr { width: min(100%, 240px); }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 20px; left: 20px; display: none; align-items: stretch; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: #0b0e13; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav .nav-cta { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .product-stage { min-height: 460px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border-soft); }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card.large { grid-row: auto; }
  .content-grid { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; gap: 4px; overflow-x: auto; }
  .side-nav a { white-space: nowrap; }
  .download-card { grid-template-columns: 1fr; }
  .editor-layout { grid-template-columns: 1fr; }
  .editor-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: auto; max-width: none; margin-right: 14px; margin-left: 14px; }
  .brand small { display: none; }
  .hero { padding-top: 58px; }
  h1 { max-width: calc(100vw - 28px); font-size: 34px; line-height: 1.3; }
  .hero-copy { max-width: calc(100vw - 28px); }
  .hero-actions .button, .button-row .button { width: 100%; }
  .product-stage { min-height: 350px; }
  .product-window.main { inset: 0 0 70px 12px; }
  .product-window.secondary { width: 48%; height: 130px; }
  .trust-grid, .feature-grid, .steps, .video-grid, .update-grid, .support-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .trust-item:last-child { border-bottom: 0; }
  .step:not(:last-child)::after { display: none; }
  .section { padding: 66px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .guide-card:not(.large) { grid-template-columns: 1fr; }
  .guide-card:not(.large) .guide-image { width: 170px; }
  .callout { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .video-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .video-dialog { width: calc(100% - 20px); }
  .video-dialog-header { padding: 13px 14px; }
  .video-dialog-footer { align-items: flex-start; flex-direction: column; padding: 12px 14px; }
  .latest-release-top, .release-details-grid, .form-grid { grid-template-columns: 1fr; }
  .release-date-card { min-width: 0; }
  .release-history-item > summary { grid-template-columns: 1fr; }
  .form-grid .form-full { grid-column: auto; }
  .editor-form-heading { flex-direction: column; }
}

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