/* Vẽ Tay Studio — website vetay.drshop.store
   Theo giao diện phần mềm: nền slate tối, panel xanh đêm, nút xanh dương chuyển sắc,
   ô icon màu indigo/teal/rose/amber, xanh cốm #A8E63A cho trạng thái đang hoạt động.
   Trang được sinh bởi website/build_site.py — sửa nội dung ở đó, không sửa HTML trực tiếp. */

:root {
  --bg: #0B1220;
  --bg-2: #0F172A;
  --panel: #151E38;
  --panel-2: #1A2546;
  --field: #0F172A;
  --line: #243050;
  --line-2: #32406A;
  --text: #E8EDF7;
  --muted: #9AA8C0;
  --blue: #3B82F6;
  --blue-600: #2563EB;
  --blue-text: #6EA8FF;
  --lime: #A8E63A;
  --danger: #F87171;
  --danger-bg: rgba(248, 113, 113, 0.1);
  --warn: #FBBF24;
  --tile-indigo: #312E81; --ink-indigo: #A5B4FC;
  --tile-teal: #115E59;   --ink-teal: #5EEAD4;
  --tile-rose: #881337;   --ink-rose: #FDA4AF;
  --tile-amber: #78350F;  --ink-amber: #FCD34D;
  --radius: 16px;
  --radius-sm: 10px;
  --sans: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--sans); }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--blue-text); text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.375rem); }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
code, kbd { font: 0.9em var(--mono); color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-left: max(var(--gutter), (100% - 1180px) / 2); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--blue-600); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }
.studio { color: var(--blue); }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* Nút */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font: 700 0.9375rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer; color: var(--text);
}
.btn-primary { background: linear-gradient(90deg, var(--blue-600), var(--blue)); color: #fff; box-shadow: 0 8px 24px -10px rgba(59, 130, 246, 0.7); }
.btn-primary:hover { background: linear-gradient(90deg, #1D4ED8, var(--blue-600)); }
.btn-secondary { background: var(--panel); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--blue); }
.btn-quiet { background: none; border-color: var(--line); color: var(--muted); }
.btn-quiet:hover { color: var(--text); border-color: var(--line-2); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Đầu trang */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11, 18, 32, 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.menu { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.menu nav { display: flex; gap: 22px; }
.menu nav a, .signin { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.menu nav a:hover, .signin:hover, .menu nav a[aria-current="page"] { color: var(--text); }
.lang { display: inline-flex; padding: 3px; gap: 2px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; }
.lang a { padding: 3px 9px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--panel-2); color: var(--text); }
.menu-toggle { display: none; margin-left: auto; min-height: 40px; padding: 6px 14px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; color: var(--text); font: 600 0.875rem var(--sans); cursor: pointer; }

/* Ô icon màu như trong phần mềm */
.tile { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; }
.tile svg { width: 22px; height: 22px; }
.tile-indigo { background: var(--tile-indigo); color: var(--ink-indigo); }
.tile-teal { background: var(--tile-teal); color: var(--ink-teal); }
.tile-rose { background: var(--tile-rose); color: var(--ink-rose); }
.tile-amber { background: var(--tile-amber); color: var(--ink-amber); }
.tile-blue { background: #1E3A8A; color: #BFDBFE; }

/* Trang chủ: phần mở đầu giống màn hình đăng nhập của phần mềm */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0; background: url(artwork.webp) center right / cover no-repeat; opacity: 0.55; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 18, 32, 0.94) 38%, rgba(11, 18, 32, 0.55) 70%, rgba(11, 18, 32, 0.8) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-text); }
.hero h1 { margin-top: 14px; font-size: clamp(2.375rem, 1.3rem + 4vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; }
.hero .lede { margin-top: 18px; max-width: 34rem; font-size: 1.125rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.release { margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.features { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; max-width: 40rem; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features li > div strong { display: block; font-size: 1rem; }
.features li > div span { display: block; font-size: 0.875rem; color: var(--muted); }

.device { justify-self: center; width: min(320px, 100%); padding: 12px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 28px; box-shadow: 0 30px 80px -30px rgba(37, 99, 235, 0.55); }
.device video { width: 100%; aspect-ratio: 9 / 16; height: auto; object-fit: cover; border-radius: 18px; background: #fff; }
.device-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 4px 2px; font-size: 0.8125rem; color: var(--muted); }
.device-bar div { display: flex; gap: 6px; }
.chip-btn { white-space: nowrap; min-height: 32px; padding: 4px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: 600 0.8125rem var(--sans); cursor: pointer; }
.chip-btn:hover { border-color: var(--blue); }
.chip-btn[aria-pressed="true"] { background: var(--blue-600); border-color: var(--blue-600); }

/* Khối nội dung */
.band { padding-block: clamp(64px, 9vw, 104px); }
.band + .band { border-top: 1px solid var(--line); }
.band-alt { background: var(--bg-2); }
.section-head { max-width: 40rem; margin-bottom: 40px; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 1.0625rem; }

.formats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.format { grid-column: span 2; margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.format.wide { grid-column: span 3; }
.format img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #fff; }
.format figcaption { padding: 16px 18px 18px; font-size: 0.875rem; color: var(--muted); }
.format figcaption strong { display: block; margin-bottom: 2px; font-size: 1rem; color: var(--text); }

.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: stage; }
.stage { position: relative; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: stage; }
.stage::after { content: counter(stage); position: absolute; top: 18px; right: 20px; font-weight: 800; font-size: 0.875rem; color: var(--line-2); }
.stage h3 { margin-top: 18px; }
.stage p { margin-top: 8px; font-size: 0.9375rem; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.panel-title { font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.keybox { margin-top: 10px; padding: 14px 16px; background: var(--field); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); font: 600 clamp(0.95rem, 0.75rem + 0.9vw, 1.25rem)/1.2 var(--mono); letter-spacing: 0.04em; overflow-wrap: anywhere; }
.facts { margin: 22px 0 0; }
.facts > div { display: flex; gap: 14px; align-items: flex-start; padding-block: 14px; border-top: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 2px 0 0; color: var(--muted); font-size: 0.9375rem; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.faq details > div { padding-bottom: 20px; color: var(--muted); max-width: 44rem; }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 44px); background: linear-gradient(120deg, #172554, var(--panel) 60%); border: 1px solid var(--line-2); border-radius: var(--radius); }
.cta p { margin-top: 8px; color: var(--muted); }

/* Trang nội dung (hướng dẫn, giới thiệu, pháp lý) */
.page-head { padding-block: clamp(48px, 7vw, 80px) 32px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
.page-head p { margin-top: 14px; max-width: 42rem; color: var(--muted); font-size: 1.0625rem; }
.doc { padding-block: 48px 96px; }
.doc h2 { margin-top: 48px; font-size: 1.5rem; }
.doc h3 { margin-top: 28px; }
.doc p, .doc ul, .doc ol { margin-top: 14px; color: #C9D3E4; }
.doc li + li { margin-top: 6px; }
.doc > :first-child { margin-top: 0; }
.note { margin-top: 20px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius-sm); color: var(--muted); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.toc a { padding: 6px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.875rem; text-decoration: none; }
.toc a:hover { color: var(--text); border-color: var(--line-2); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li { position: relative; padding: 0 0 36px 64px; counter-increment: step; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #1E3A8A; color: #BFDBFE; font-weight: 800; }
.steps > li::after { content: ""; position: absolute; left: 19px; top: 48px; bottom: 8px; width: 2px; background: var(--line); }
.steps > li:last-child::after { content: none; }
.steps h2 { margin-top: 6px; font-size: 1.25rem; }
.table-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--panel); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td code { white-space: nowrap; }

/* Trang tải về */
.download-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.download-card img { width: 72px; height: 72px; border-radius: 16px; }
.download-card h2 { font-size: 1.5rem; }
.download-card p { margin-top: 4px; color: var(--muted); }
.checksum { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--muted); }
.checksum code { font-size: 0.8125rem; }

/* Màn hình tài khoản: cùng bố cục với cửa sổ đăng nhập của phần mềm */
.auth { min-height: calc(100vh - 69px); display: grid; place-items: center; padding: clamp(24px, 5vw, 56px) var(--gutter); background: radial-gradient(1200px 600px at 20% 0%, #13224A 0%, transparent 60%), var(--bg); }
.auth-shell { width: min(1040px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8); }
.auth-aside { position: relative; padding: clamp(28px, 4vw, 48px); background: url(artwork.webp) 30% 100% / cover no-repeat; }
.auth-aside::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0.97) 0%, rgba(15, 23, 42, 0.88) 50%, rgba(15, 23, 42, 0.35) 100%); }
.auth-aside > * { position: relative; }
.auth-aside h2 { margin-top: 12px; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); }
.auth-aside > p { margin-top: 12px; color: var(--muted); max-width: 26rem; }
.auth-aside .features { grid-template-columns: 1fr; margin-top: 28px; gap: 18px; }
.auth-form { margin: 14px; padding: clamp(24px, 3.5vw, 36px); background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; }
.auth-form > img { margin: 0 auto; width: 56px; height: 56px; border-radius: 14px; }
.auth-form h1 { margin-top: 14px; text-align: center; font-size: 1.5rem; }
.auth-form .sub { margin-top: 6px; text-align: center; color: var(--muted); font-size: 0.9375rem; }
form { margin-top: 26px; }
.field + .field { margin-top: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.input { position: relative; }
.input svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input input { width: 100%; min-height: 50px; padding: 12px 44px; background: var(--field); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); font: 1rem var(--sans); }
.input input::placeholder { color: #66748F; }
.input input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); }
.input input[aria-invalid="true"] { border-color: var(--danger); }
.reveal { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; background: none; border: 0; border-radius: 8px; color: var(--muted); cursor: pointer; }
.reveal svg { position: static; transform: none; }
.reveal:hover { color: var(--text); }
.hint { margin-top: 6px; font-size: 0.8125rem; color: var(--muted); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 0.875rem; }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-msg { margin-top: 16px; padding: 10px 12px; border-radius: 8px; font-size: 0.875rem; }
.form-msg.error { background: var(--danger-bg); color: #FCA5A5; }
.form-msg.ok { background: rgba(168, 230, 58, 0.1); color: var(--lime); }
form .btn-primary { margin-top: 22px; }
.or { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 0.8125rem; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Bảng điều khiển tài khoản */
.dash { padding-block: 40px 96px; }
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.dash-head h1 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem); }
.dash-head p { margin-top: 6px; color: var(--muted); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 24px; margin-top: 32px; align-items: start; }
.profile { display: grid; gap: 14px; }
.avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--blue-600), #7C3AED); font-weight: 800; font-size: 1.25rem; color: #fff; }
.profile dl { margin: 0; }
.profile dl div { padding-block: 10px; border-top: 1px solid var(--line); }
.profile dt { font-size: 0.8125rem; color: var(--muted); }
.profile dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.licenses { display: grid; gap: 16px; }
.license-card { padding: 22px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.license-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.license-key { font: 600 1.0625rem var(--mono); letter-spacing: 0.03em; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-active { background: rgba(168, 230, 58, 0.12); color: var(--lime); }
.status-expired { background: rgba(251, 191, 36, 0.12); color: var(--warn); }
.status-blocked { background: var(--danger-bg); color: var(--danger); }
.license-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 18px 0 0; }
.license-meta dt { font-size: 0.8125rem; color: var(--muted); }
.license-meta dd { margin: 2px 0 0; font-weight: 600; }
.devices { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.devices h3 { font-size: 0.9375rem; }
.devices > p.muted { margin-top: 8px; font-size: 0.875rem; }
.device-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.device-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.device-list span { font-size: 0.875rem; color: var(--muted); }
.empty { padding: 32px; text-align: center; color: var(--muted); background: var(--panel); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 1.0625rem; }
.loading { padding: 48px 0; text-align: center; color: var(--muted); }

/* Trạng thái hệ thống */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.checks strong { display: block; }
.checks .muted { font-size: 0.875rem; }
.status-wait { background: rgba(154, 168, 192, 0.12); color: var(--muted); }

/* 404 */
.lost { padding-block: clamp(80px, 14vw, 160px); text-align: center; }
.lost .code { font-size: clamp(4rem, 2rem + 8vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(90deg, var(--blue-600), #8B5CF6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost h1 { margin-top: 16px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.lost p { margin: 12px auto 0; max-width: 32rem; color: var(--muted); }
.lost .actions { justify-content: center; }

/* Chân trang */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 48px 40px; font-size: 0.875rem; color: var(--muted); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot h2 { font-size: 0.875rem; color: var(--text); letter-spacing: 0; }
.foot ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot address { margin-top: 12px; font-style: normal; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .device { justify-self: start; }
  .formats .format, .formats .format.wide { grid-column: span 3; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .dash-grid { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .license-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .menu { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: 74px; flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; }
  .menu.open { display: flex; }
  .menu nav { flex-direction: column; gap: 14px; }
  .site-header .wrap { position: relative; }
  .header-dl { display: none; }
  .features { grid-template-columns: 1fr; }
  .formats .format, .formats .format.wide { grid-column: 1 / -1; }
  .stages { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
  .auth-form { margin: 0; border: 0; border-radius: 0; }
  .auth-shell { border-radius: 16px; }
  .steps > li { padding-left: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
