/* ============================================================
   Layered Export Toolkit — product landing page
   Sections: nav · hero · split stage · live examples · tutorials
             · download band · footer
   Tokens follow HomePage.html / colors_and_type.css.
   ============================================================ */
:root {
  --c-fg: #FAF9F8;
  --c-fg-2: rgba(250,249,248,0.74);
  --c-fg-3: rgba(250,249,248,0.62);
  --accent: #FF3D00;
  --accent-ink: #D63300;
  --ink: #1A1A1A;
  --ink-2: #5B5B5B;
  --line: #E2E2E2;
  --dark: #141414;
  --gutter: 32px;
  --maxw: 1180px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --f-display: 'Barlow Condensed', sans-serif;
  --f-body: 'Barlow', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #F5F5F5; color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.ms-lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section[id], div[id="download"] { scroll-margin-top: 58px; }

/* ── Nav (existing) ─────────────────────────────────────────── */
.ms-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.ms-nav-in { display: flex; align-items: center; gap: 24px; height: 58px; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.ms-nav-brandlink { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ms-nav-brandlink img { width: 28px; height: 28px; object-fit: contain; display: block; }
.ms-nav-brand { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.ms-nav-brand strong { font-family: var(--f-display); font-size: 16px; font-weight: 800; letter-spacing: 0.04em; }
.ms-nav-brand span { font-family: var(--f-display); font-size: 9px; font-weight: 700; letter-spacing: 0.14em; color: var(--accent); text-transform: uppercase; }
.ms-nav-div { width: 1px; height: 20px; background: #CBCBCB; }
.ms-nav-sub { font-family: var(--f-display); font-size: 16px; font-weight: 800; letter-spacing: 0.04em; color: var(--ink-2); text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }
.ms-nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.ms-nav-links a { font-family: var(--f-display); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); padding: 8px 14px; border-radius: 6px; white-space: nowrap; transition: all .2s var(--ease); }
.ms-nav-links a:hover { color: var(--ink); background: #EBECEC; }
.ms-nav-cta { font-family: var(--f-display); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; padding: 10px 18px; border-radius: 6px; white-space: nowrap; flex-shrink: 0; transition: all .2s var(--ease); }
.ms-nav-install { background: var(--accent); box-shadow: 0 2px 12px rgba(255,61,0,0.18); }
.ms-nav-install:hover { background: #CC3100; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,61,0,0.18); }
.ms-nav-buy { background: #1F1F1F; }
.ms-nav-buy:hover { background: #000; transform: translateY(-2px); }
@media (max-width: 1150px) { .ms-nav-buy { display: none; } }

/* ── Hero (existing, unchanged) ─────────────────────────────── */
.wrap-hero { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.ms-hero a:hover { color: var(--accent); }
@keyframes msDrift { 0% { transform: translate(0,0); } 50% { transform: translate(34px,22px); } 100% { transform: translate(0,0); } }
@keyframes msDrift2 { 0% { transform: translate(0,0); } 50% { transform: translate(-26px,-18px); } 100% { transform: translate(0,0); } }
@keyframes msRise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hxLayer { 0%, 9% { transform: translateZ(0); } 30%, 72% { transform: translateZ(var(--pz)); } 92%, 100% { transform: translateZ(0); } }
@keyframes hxTag { 0%, 15% { opacity: 0; } 33%, 70% { opacity: 1; } 84%, 100% { opacity: 0; } }
@keyframes hxScan { 0% { left: 4%; opacity: 0; } 1.5% { opacity: 1; } 8% { left: 93%; opacity: 1; } 9.5% { opacity: 0; } 100% { left: 93%; opacity: 0; } }
.hx-layer { position: absolute; inset: 0; background: rgba(255,255,255,0.38); border: 1px solid rgba(26,26,26,0.09); border-radius: 3px; box-shadow: 0 2px 14px rgba(26,26,26,0.06); animation: hxLayer 12s cubic-bezier(0.34,1.2,0.44,1) infinite; }
.hx-tag { position: absolute; left: 101.5%; white-space: nowrap; display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; opacity: 0; animation: hxTag 12s ease infinite; }
@media (max-width: 980px) { .hx-tag { display: none !important; } }

/* ── Bands, heads, type (home page language) ────────────────── */
.band { position: relative; padding: 128px 0; background-color: #F5F5F5; }
.band.alt { background-color: #EBECEC; }
.band:not(.dark)::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(26,26,26,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(26,26,26,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%); }
.band.dark { background-color: var(--dark); color: var(--c-fg);
  background-image: radial-gradient(60% 46% at 78% 8%, rgba(255,61,0,0.16) 0%, rgba(255,61,0,0) 70%); }
.band > .wrap { position: relative; display: flex; flex-direction: column; gap: 56px; }
.band-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 56px; }
.band-head-main { flex: 1 1 520px; min-width: 0; }
.band-head-side { flex: 1 1 340px; min-width: 0; max-width: 440px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--accent); flex-shrink: 0; }
.dark .eyebrow { color: var(--accent); }
.heading { font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 5.4vw, 68px); line-height: 0.96; letter-spacing: -0.01em; text-transform: uppercase; margin: 0; color: var(--ink); text-wrap: balance; }
.dark .heading { color: var(--c-fg); }
.heading .accent { color: var(--accent); }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); margin: 0; text-wrap: pretty; }
.dark .lede { color: var(--c-fg-2); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; border-radius: var(--radius); padding: 6px 11px; white-space: nowrap; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

/* reveal-on-scroll */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .rv.in-view { opacity: 1; transform: none; }
}

/* tool-dependent copy */
body[data-tool="pdf"] [data-for="cad"], body[data-tool="cad"] [data-for="pdf"] { display: none !important; }

/* PDF / CAD switch */
.tool-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--radius); border: 1px solid #C9C9C9; background: rgba(255,255,255,0.9); }
.tool-switch button { min-height: 44px; padding: 0 18px; border: none; border-radius: 4px; cursor: pointer; background: transparent; color: var(--ink-2); font-family: var(--f-display); font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; transition: background .25s ease, color .25s ease; }
.tool-switch button[aria-pressed="true"] { background: var(--ink); color: var(--c-fg); }
.dark .tool-switch { border-color: rgba(255,255,255,0.22); background: rgba(20,18,16,0.38); }
.dark .tool-switch button { color: var(--c-fg-2); }
.dark .tool-switch button[aria-pressed="true"] { background: var(--accent); color: #10141A; }

/* ── Section 1 · split stage ────────────────────────────────── */
@property --split { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@keyframes msSplit { 0%, 100% { --split: 30%; } 50% { --split: 70%; } }
.split { --split: 50%; position: relative; aspect-ratio: 3866 / 1680; max-height: 560px; width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid #2A2A2A; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.6); cursor: ew-resize; background: #14181D; touch-action: pan-y; animation: msSplit 10s ease-in-out infinite; }
.split.is-manual { animation: none; }
.split-side { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 3.2% 2.4% 2%; }
.split-side img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; user-select: none; -webkit-user-drag: none; }
.split-cad { background: #14181D; background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px); background-size: 24px 24px; }
.split-cad img { filter: invert(1) hue-rotate(180deg) saturate(1.25); mix-blend-mode: screen; }
.split-pdf { background: #FFFFFF; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.split .chip { position: absolute; top: 18px; }
.split-pdf .chip { left: 18px; color: var(--ink); border: 1px solid #C9C9C9; background: rgba(255,255,255,0.92); }
.split-pdf .chip i { background: var(--accent); }
.split-cad .chip { right: 18px; color: var(--c-fg); border: 1px solid rgba(255,255,255,0.22); background: rgba(20,18,16,0.7); }
.split-cad .chip i { background: #5CC8F5; }
.split-handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: var(--accent); box-shadow: 0 0 18px rgba(255,61,0,0.6); pointer-events: none; }
.split-handle span { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--accent); color: #10141A; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 26px rgba(0,0,0,0.45); }

/* ── Section 2 · viewer window ──────────────────────────────── */
.vw { --chrome: #262C35; --chrome2: #1B2027; --bar: #161A20; --vline: #3B4450; --vline2: #303844; --canvas: #59616D; --vtext: #DDE2E8; --vmut: #9BA5B2;
  position: relative; display: flex; flex-direction: column; background: var(--chrome); border: 1px solid var(--vline); border-radius: var(--radius); overflow: hidden; color: var(--vtext);
  box-shadow: 0 50px 110px -40px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.03); }
.vw[data-kind="cad"] { --chrome: #2C3038; --chrome2: #21252B; --bar: #1A1D22; --vline: #454C57; --vline2: #383E48; --canvas: #191D22; --vtext: #D9DDE2; --vmut: #9BA2AC; }
.vw.is-max { position: fixed; inset: 20px; z-index: 1000; }
.vw-backdrop { position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,0.78); border: none; padding: 0; cursor: zoom-out; }
.vw-bar { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 6px 0 14px; background: var(--bar); border-bottom: 1px solid var(--vline); }
.vw-dots { display: flex; gap: 6px; flex-shrink: 0; }
.vw-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--vline); }
.vw-title { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vmut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; padding-left: 8px; }
.vw-tools { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.vw-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: none; border-radius: 6px; background: transparent; color: var(--vtext); cursor: pointer; transition: background .2s ease; }
.vw-btn:hover { background: rgba(255,255,255,0.08); }
.vw-btn.vw-max { background: var(--accent); color: #10141A; }
.vw-btn.vw-max:hover { background: #FF5A26; }
.vw-zoom { font-family: var(--f-mono); font-size: 12px; min-width: 48px; text-align: center; }
.vw-sep { width: 1px; height: 22px; background: var(--vline); margin: 0 6px; }
.vw .ico-min, .vw.is-max .ico-max, .tut-stage .ico-min, .tut-stage.is-max .ico-max { display: none; }
.vw.is-max .ico-min, .tut-stage.is-max .ico-min { display: block; }
.vw-tabs { display: flex; align-items: flex-end; gap: 2px; padding: 6px 8px 0; background: var(--chrome2); border-bottom: 1px solid var(--vline); overflow-x: auto; scrollbar-width: none; }
.vw-tabs::-webkit-scrollbar { display: none; }
.vw-tab { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 12px; flex-shrink: 0; border-radius: 6px 6px 0 0; background: transparent; border: 1px solid transparent; border-bottom: none; border-top: 2px solid transparent; margin-bottom: -1px; color: var(--vmut); cursor: pointer; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.01em; white-space: nowrap; transition: background .25s ease, color .25s ease; }
.vw-tab:hover { color: var(--vtext); }
.vw-tab[aria-selected="true"] { background: var(--chrome); border-color: var(--vline); border-top-color: var(--accent); color: #fff; }
.vw-tab svg { flex-shrink: 0; }
.vw-body { display: flex; flex: 1 1 auto; min-height: 0; }
.vw-panel { flex: 0 0 270px; min-width: 0; background: var(--chrome); border-right: 1px solid var(--vline); display: flex; flex-direction: column; min-height: 0; }
.vw-panel-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 14px; border-bottom: 1px solid var(--vline); }
.vw-panel-h span { font-family: var(--f-display); font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.vw-all { min-height: 36px; padding: 0 10px; border: 1px solid var(--vline); border-radius: 4px; background: transparent; color: var(--vmut); cursor: pointer; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.vw-all:hover { color: var(--vtext); border-color: var(--vmut); }
.vw-layers { overflow-y: auto; min-height: 0; }
.vw-layer { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 0 14px; border: none; border-bottom: 1px solid var(--vline2); background: transparent; color: var(--vtext); cursor: pointer; text-align: left; transition: color .25s ease, background .2s ease; }
.vw-layer:hover { background: rgba(255,255,255,0.04); }
.vw-layer svg { flex-shrink: 0; }
.vw-layer .sw { width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.25); }
.vw-layer .nm { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.vw-layer .st { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--vmut); }
.vw-layer[aria-pressed="false"] { color: var(--vmut); }
.vw-layer[aria-pressed="false"] svg { opacity: 0.3; }
.vw-note { margin: 0; padding: 12px 14px; font-family: var(--f-mono); font-size: 11px; line-height: 1.5; color: var(--vmut); }
.vw-stage { position: relative; flex: 1 1 auto; min-width: 0; height: 600px; background: var(--canvas); overflow: hidden; }
.vw.is-max .vw-stage { height: auto; }
.vw[data-kind="cad"] .vw-stage { background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 24px 24px; }
.vw-view { position: absolute; inset: 0; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.vw-view.is-drag { cursor: grabbing; }
.sv-sheet { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.vw[data-kind="pdf"] .sv-sheet { background: #fff; outline: 1px solid rgba(0,0,0,0.25); }
.sv-poster, .sv-base { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.sv-detail { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; display: block; pointer-events: none; }
.vw-busy { position: absolute; right: 14px; bottom: 14px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25); border-top-color: var(--accent); animation: vwSpin .8s linear infinite; pointer-events: none; }
.vw-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; background: var(--canvas); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--vtext); }
.vw-load-txt { max-width: 100%; overflow-wrap: anywhere; line-height: 1.6; }
.vw-load.is-over { background: transparent; pointer-events: none; align-items: flex-start; justify-content: flex-end; padding: 14px; }
.vw-load.is-over .vw-spin { width: 18px; height: 18px; }
.vw-load.is-gate { background: rgba(16,19,23,0.62); align-items: center; justify-content: center; padding: 24px; }
.vw-load.is-gate .vw-load-btn { pointer-events: auto; }
.vw-spin { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); border-top-color: var(--accent); animation: vwSpin .8s linear infinite; }
@keyframes vwSpin { to { transform: rotate(360deg); } }
.vw-load-btn { min-height: 48px; padding: 0 24px; border: none; border-radius: var(--radius); background: var(--accent); color: #10141A; cursor: pointer; font-family: var(--f-display); font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.vw-status { display: flex; align-items: center; gap: 14px; min-height: 34px; padding: 4px 14px; background: var(--bar); border-top: 1px solid var(--vline); font-family: var(--f-mono); font-size: 11px; color: var(--vmut); flex-wrap: wrap; }
.vw-status span:first-child { color: var(--vtext); }
.vw-status span:last-child { margin-left: auto; }

/* ── Section 3 · tutorials ──────────────────────────────────── */
.tut { display: flex; background: var(--dark); border: 1px solid #2A2A2A; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.6); color: var(--c-fg); }
.tut-rail { flex: 0 0 360px; min-width: 0; display: flex; flex-direction: column; border-right: 1px solid #2A2A2A; transition: flex-basis .4s var(--ease); }
.tut.is-collapsed .tut-rail { flex-basis: 72px; }
.tut-toggle { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; border: none; border-bottom: 1px solid #2A2A2A; background: transparent; color: var(--c-fg-3); cursor: pointer; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.tut-toggle:hover { color: var(--c-fg); }
.tut-toggle svg { flex-shrink: 0; transition: transform .3s ease; }
.tut.is-collapsed .tut-toggle svg { transform: rotate(180deg); }
.tut-item { position: relative; display: flex; align-items: flex-start; gap: 16px; width: 100%; padding: 26px; border: none; border-bottom: 1px solid #2A2A2A; background: transparent; color: inherit; cursor: pointer; text-align: left; overflow: hidden; transition: background .3s ease; }
.tut-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .35s var(--ease); }
.tut-item[aria-pressed="true"] { background: rgba(255,61,0,0.09); flex: 1 1 auto; }
.tut-item[aria-pressed="true"]::before { transform: scaleY(1); }
.tut-item:hover { background: rgba(255,255,255,0.04); }
.tut-item[aria-pressed="true"]:hover { background: rgba(255,61,0,0.12); }
.tut-n { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--c-fg-3); padding-top: 5px; flex-shrink: 0; min-width: 22px; }
.tut-item[aria-pressed="true"] .tut-n { color: #FF6A3D; }
.tut-txt { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.tut-t { font-family: var(--f-display); font-size: 24px; font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.02; color: var(--c-fg-2); transition: color .3s ease; }
.tut-item[aria-pressed="true"] .tut-t { color: var(--c-fg); }
.tut-d { font-size: 15px; line-height: 1.5; color: var(--c-fg-2); display: none; }
.tut-now { display: none; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #FF6A3D; margin-top: 4px; }
.tut-now i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tut-item[aria-pressed="true"] .tut-d { display: block; }
.tut-item[aria-pressed="true"] .tut-now { display: inline-flex; }
.tut.is-collapsed .tut-txt, .tut.is-collapsed .tut-toggle span { display: none; }
.tut.is-collapsed .tut-item { padding: 26px 0 26px 25px; }
.tut-main { flex: 1 1 auto; min-width: 0; background: #0C0C0C; display: flex; align-items: center; }
.tut-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0C0C0C; overflow: hidden; }
.tut-stage.is-max { position: fixed; inset: 28px; z-index: 1000; width: auto; aspect-ratio: auto; border-radius: var(--radius); }
.tut-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0C0C0C; display: block; }
.tut-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #0C0C0C; }
.tut-play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border: none; border-radius: 50%; background: var(--accent); color: #10141A; cursor: pointer; display: flex; align-items: center; justify-content: center; animation: msPlayPulse 2.4s ease-out infinite; transition: transform .25s var(--ease); }
.tut-play:hover { transform: scale(1.06); }
@keyframes msPlayPulse { 0% { box-shadow: 0 0 0 0 rgba(255,61,0,0.5); } 70% { box-shadow: 0 0 0 26px rgba(255,61,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,61,0,0); } }
.tut-stage:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.tut-stage video::cue { font-family: 'Barlow', system-ui, sans-serif; font-weight: 500; color: #FAF9F8; background: rgba(12,12,12,0.82); line-height: 1.35; }
/* control bar */
.tut-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 30px 12px 6px; background: linear-gradient(180deg, rgba(8,8,8,0) 0%, rgba(8,8,8,0.9) 62%); color: var(--c-fg); transition: opacity .25s ease; }
.tut-stage.is-idle .tut-bar { opacity: 0; pointer-events: none; }
.tut-stage.is-idle { cursor: none; }
.tb-seek { --p: 0%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 18px; margin: 0; padding: 0; background: transparent; cursor: pointer; }
.tb-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(255,255,255,0.3) var(--p)); }
.tb-seek::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(255,255,255,0.3) var(--p)); }
.tb-seek::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--accent); border: none; box-shadow: 0 0 0 3px rgba(255,61,0,0.25); }
.tb-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: none; box-shadow: 0 0 0 3px rgba(255,61,0,0.25); }
.tb-seek:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tb-row { display: flex; align-items: center; gap: 2px; }
.tb-gap { flex: 1; }
.tb-btn { position: static; min-width: 44px; height: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: none; border-radius: 6px; background: transparent; color: var(--c-fg); cursor: pointer; transition: background .2s ease, color .2s ease; }
.tb-btn:hover { background: rgba(255,255,255,0.12); }
.tb-time { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--c-fg); padding: 0 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tb-speed { position: relative; }
.tb-speed-btn b { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; min-width: 34px; text-align: left; font-variant-numeric: tabular-nums; }
.tb-speed-btn[aria-expanded="true"] { background: rgba(255,255,255,0.16); }
.tb-menu { position: absolute; right: 0; bottom: 50px; min-width: 150px; padding: 6px; border-radius: var(--radius); background: #161616; border: 1px solid #2A2A2A; box-shadow: 0 20px 50px -12px rgba(0,0,0,0.8); display: flex; flex-direction: column; }
.tb-menu button { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 40px; padding: 0 12px; border: none; border-radius: 4px; background: transparent; color: var(--c-fg-2); cursor: pointer; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; text-align: left; }
.tb-menu button i { font-style: normal; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-fg-3); }
.tb-menu button:hover { background: rgba(255,255,255,0.08); color: var(--c-fg); }
.tb-menu button[aria-checked="true"] { color: #FF6A3D; background: rgba(255,61,0,0.12); }
.tut-cc[aria-pressed="true"] { color: #FF6A3D; }
.tut-cc[aria-pressed="false"] { color: var(--c-fg-3); }
.tut-stage .i-pause, .tut-stage.is-paused .i-play { display: inline; }
.tut-stage .i-play, .tut-stage.is-paused .i-pause { display: none; }
.tut-stage.is-paused .i-play { display: inline; }
.tut-stage .i-muted, .tut-stage.is-muted .i-vol { display: none; }
.tut-stage.is-muted .i-muted { display: inline; }
.tut-stage.is-playing .tut-play, .tut-stage.is-playing .tut-poster { display: none; }
.tut-soon { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: clamp(18px, 3vw, 36px);
  background-color: #0C0C0C; background-image: radial-gradient(70% 80% at 72% 30%, rgba(255,61,0,0.22) 0%, rgba(255,61,0,0) 68%), linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: auto, 56px 56px, 56px 56px; }
.tut-soon b { position: absolute; right: 4%; top: 2%; font-family: var(--f-display); font-weight: 800; font-size: clamp(120px, 26vw, 320px); line-height: 0.8; color: rgba(255,255,255,0.06); }
.tut-soon .chip { align-self: flex-start; color: #FF6A3D; border: 1px solid rgba(255,106,61,0.5); background: rgba(20,18,16,0.6); }
.tut-soon strong { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 4vw, 46px); line-height: 0.98; text-transform: uppercase; color: var(--c-fg); }
.tut-soon span.s { font-size: 15px; color: var(--c-fg-2); max-width: 46ch; }

/* ── Download band — animated logo ──────────────────────────── */
.dl-band { position: relative; overflow: hidden; border-top: 3px solid var(--accent); background: #050505; color: var(--c-fg); }
.dl-anim { position: absolute; left: calc(50% - 925px); top: 54%; height: 124%; aspect-ratio: 16 / 9; transform: translateY(-50%); pointer-events: none; container-type: size;
  -webkit-mask-image: radial-gradient(ellipse 62% 78% at 50% 50%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 62% 78% at 50% 50%, #000 52%, transparent 100%); }
.dl-anim canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dl-logo { position: absolute; left: 38.4%; top: 14.4%; width: 23.2%; height: auto; overflow: visible; display: block; }
.dl-fill { fill: #F1EFEC; opacity: 0; }
.dl-stroke { fill: none; stroke: #F3F1EE; stroke-width: 1.3px; vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
.dl-word { position: absolute; left: 50%; top: 46.4%; transform: translateX(-50%); font-family: var(--f-display); font-weight: 800; font-size: 30px; font-size: 5.6cqh; line-height: 1; letter-spacing: 0.17em; margin-right: -0.17em; white-space: nowrap; color: #F1EFEC; opacity: 0; }
.dl-rule { position: absolute; left: 50%; top: 54%; width: 6.3%; height: 2px; height: max(2px, 0.3cqh); background: var(--accent); transform: translateX(-50%) scaleX(0); }
.dl-in { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 34px; min-height: 460px; padding-top: 80px; padding-bottom: 80px; padding-left: calc(var(--gutter) + 440px); }
.dl-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--c-fg-2); margin-bottom: 22px; }
.dl-eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--accent); flex-shrink: 0; }
.dl-h { font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 5vw, 68px); line-height: 0.96; letter-spacing: -0.01em; text-transform: uppercase; color: var(--c-fg); text-shadow: 0 6px 44px rgba(0,0,0,0.6); }
.dl-h span { color: var(--accent); }
.dl-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.dl-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-display); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; border-radius: var(--radius); text-align: center; transition: all .3s cubic-bezier(0.34,1.56,0.64,1); }
.dl-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%); transform: translateX(-100%); transition: transform .7s var(--ease); pointer-events: none; }
.dl-btn:hover::before { transform: translateX(100%); }
.dl-primary { font-size: 15px; background: var(--accent); color: #10141A; padding: 17px 28px; box-shadow: 0 4px 20px rgba(255,61,0,0.18); }
.dl-primary:hover { background: #FF5A26; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255,61,0,0.28); }
.dl-ghost { font-size: 14px; color: var(--c-fg); padding: 16px 22px; border: 1px solid rgba(255,255,255,0.3); background: rgba(20,18,16,0.6); }
.dl-ghost:hover { border-color: var(--accent); color: #FF6A3D; }

/* ── Footer (home page) ─────────────────────────────────────── */
.site-footer {
  background: #111111; border-top: 1px solid rgba(255,255,255,0.08);
  padding: clamp(40px, 6vh, 64px) var(--gutter) 26px; color: rgba(250,249,248,0.62);
}
.site-footer .inner { max-width: var(--maxw); margin: 0 auto; display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(250,249,248,0.62); }
.site-footer a { color: rgba(250,249,248,0.62); text-decoration: none; transition: color .22s ease; }
.site-footer a:hover { color: #FAF9F8; }
.site-footer .f-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.site-footer .f-brand { display: inline-flex; align-items: center; gap: 12px; color: #FAF9F8; }
.site-footer .f-brand img { width: 34px; height: 34px; object-fit: contain; display: block; }
.site-footer .f-brand strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 21px; font-weight: 800; letter-spacing: 0.04em; line-height: 1; color: #FAF9F8; }
.site-footer .f-brand small { display: block; margin-top: 5px; font-size: 10px; letter-spacing: 0.16em; color: #FF6A3D; }
.site-footer .f-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; }
.site-footer .f-links a { display: inline-block; padding: 8px 0; }
.site-footer .f-base { margin-top: clamp(28px, 4vh, 44px); padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer .social-band { margin: 0 0 clamp(32px, 5vh, 48px); padding: 0 0 clamp(28px, 4vh, 40px); border-bottom: 1px solid rgba(255,255,255,0.10); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.site-footer .social-label { font-size: 12px; letter-spacing: 0.18em; color: rgba(250,249,248,0.62); }
.site-footer .contact-links { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer .social { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; border: 1px solid rgba(255,255,255,0.22); border-radius: 6px; padding: 12px 18px; font-size: 12px; letter-spacing: 0.1em; color: #FAF9F8; background: rgba(20,18,16,0.4); transition: border-color .22s ease, background .22s ease, transform .22s ease; }
.site-footer .social svg { width: 17px; height: 17px; flex: none; fill: currentColor; }
.site-footer a.social:hover { border-color: rgba(255,61,0,0.6); background: rgba(255,61,0,0.12); transform: translateY(-2px); color: #FAF9F8; }
@media (max-width: 760px) { .site-footer .social-band { flex-direction: column; align-items: flex-start; } }
.social.is-soon { color: rgba(250,249,248,0.5); border-style: dashed; cursor: default; }
.social.is-soon em { font-style: normal; font-size: 9px; letter-spacing: 0.14em; padding: 2px 6px; border-radius: 3px; border: 1px solid rgba(255,255,255,0.22); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .dl-anim { left: -335px; }
  .dl-in { padding-left: calc(var(--gutter) + 420px); }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .ms-nav-links, .ms-nav-div, .ms-nav-sub { display: none; }
  .ms-nav-install { margin-left: auto; }
  .ms-hero { padding: 52px 0 60px !important; }
  .ms-hero-grid { grid-template-columns: 1fr !important; gap: 44px !important; }
  .ms-hero-h1 { font-size: 46px !important; }
  .ms-hero-sub { font-size: 18px !important; }
  .hx-stagewrap { min-height: 340px !important; }
  .band { padding: 72px 0; }
  .band > .wrap { gap: 32px; }
  .vw-body { flex-direction: column; }
  .vw-panel { flex: 0 0 auto; border-right: none; border-bottom: 1px solid var(--vline); max-height: 190px; }
  .vw.is-max .vw-panel { max-height: 30dvh; }
  .vw-stage { height: 62vw; min-height: 300px; flex: 0 0 auto; }
  .vw.is-max { inset: 0; border-radius: 0; border: none; }
  .vw.is-max .vw-stage { flex: 1 1 auto; height: auto; }
  .vw-title, .vw-dots { display: none; }
  .vw-tools { flex: 1; justify-content: flex-end; }
  .vw-note { display: none; }
  .tut { flex-direction: column; }
  .tut-rail, .tut.is-collapsed .tut-rail { flex: 0 0 auto; border-right: none; border-bottom: 1px solid #2A2A2A; }
  .tut-toggle { display: none; }
  .tut-item { padding: 20px 18px; }
  .tut-t { font-size: 22px; }
  .tut-stage.is-max { inset: 0; border-radius: 0; }
  .tut-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .tut-bar { padding: 22px 6px 2px; }
  .tb-mute { display: none; }
  .tb-speed { position: static; }
  .tb-menu { left: 8px; right: 8px; bottom: 72px; min-width: 0; flex-direction: row; justify-content: space-between; gap: 2px; }
  .tb-menu button { flex: 1; justify-content: center; padding: 0 4px; min-height: 44px; }
  .tb-menu button i { display: none; }
  .tb-btn { padding: 0 8px; }
  .tb-time { padding: 0 4px; font-size: 11px; }
  .dl-anim { position: relative; left: auto; top: auto; transform: none; height: auto; width: 130%; margin: 2% -15% -12%; }
  .dl-in { padding-left: var(--gutter); padding-top: 8px; padding-bottom: 56px; min-height: 0; gap: 28px; }
  .dl-ctas { flex-direction: column; }
}
@media (max-width: 520px) {
  .ms-hero-h1 { font-size: 36px !important; }
  .ms-hero-sub { font-size: 17px !important; }
  .tool-switch button { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
