/* ΠAN website v2. Plain CSS, no build step. Dark by default; light when the visitor picks it. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("vendor/inter-5.3.0/inter-latin-wght-normal.woff2") format("woff2-variations"), url("vendor/inter-5.3.0/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("vendor/inter-5.3.0/inter-el-wght-normal.woff2") format("woff2-variations"), url("vendor/inter-5.3.0/inter-el-wght-normal.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

:root {
  --bg: #0a0b0f;
  --bg-2: #0f1117;
  --surface: #14171e;
  --surface-2: #1a1e27;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eeece6;
  --muted: #a3a9b5;
  --accent: #e8bd62;
  --accent-2: #f5d696;
  --accent-ink: #1a1306;
  --accent-soft: rgba(232, 189, 98, 0.12);
  --glow: rgba(232, 189, 98, 0.22);
  --glow-2: rgba(96, 132, 255, 0.14);
  --stage: radial-gradient(120% 90% at 50% 20%, #232838 0%, #12151c 55%, #0b0c10 100%);
  --todo-bg: #3a2f0c;
  --todo-text: #ffe39a;
  --todo-line: #8f7421;
  --ok: #6fd39b;
  --part: #e8bd62;
  --wait: #8fb4ff;
  --plan: #a3a9b5;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: 16px;
  --max: 1200px;
  --hdr: 64px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f6f5f1;
  --bg-2: #efede7;
  --surface: #ffffff;
  --surface-2: #f4f2ec;
  --line: rgba(18, 19, 24, 0.09);
  --line-2: rgba(18, 19, 24, 0.18);
  --text: #121318;
  --muted: #555b67;
  --accent: #8a5d0c;
  --accent-2: #6d4807;
  --accent-ink: #ffffff;
  --accent-soft: rgba(138, 93, 12, 0.09);
  --glow: rgba(214, 160, 60, 0.28);
  --glow-2: rgba(96, 132, 255, 0.12);
  --stage: radial-gradient(120% 90% at 50% 20%, #ffffff 0%, #eeece6 60%, #e4e1d8 100%);
  --todo-bg: #fff3c4;
  --todo-text: #5a4300;
  --todo-line: #e0c24a;
  --ok: #1c7a46;
  --part: #8a5d0c;
  --wait: #2c56b8;
  --plan: #555b67;
  --shadow: 0 20px 50px -24px rgba(30, 30, 40, 0.35);
  color-scheme: light;
}

@media (min-width: 768px) { :root { --gutter: 28px; --hdr: 70px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 56px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
code { font-size: 0.9em; background: var(--surface-2); padding: 0.1em 0.4em; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.025em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.015em; }
h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; margin-top: 0.4em; }
.small { font-size: 0.86rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 12px; min-height: var(--hdr); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; min-width: 0; }
.brand:hover { text-decoration: none; }
.logo {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: #10131a;
  color: #3b82f6; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 700; line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.45), 0 6px 18px -6px rgba(37, 99, 235, 0.55);
}
.brand-name { font-size: 1.12rem; }
.brand-sep { color: var(--muted); margin: 0 -2px; }
.brand-tag { color: var(--muted); font-weight: 500; font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 550; font-size: 0.95rem; padding: 8px 12px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.nav-drop { position: relative; display: flex; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop .caret { width: 10px; height: 6px; opacity: 0.7; transition: transform 0.2s; }
.nav-menu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 4px); z-index: 50;
  display: grid; min-width: 230px; padding: 6px; border-radius: 14px;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -12px rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden; transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-menu a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-radius: 10px; padding: 9px 12px; color: var(--text); white-space: nowrap; }
.nav-menu a span { color: var(--muted); font-size: 0.82rem; font-weight: 500; }
.nav-menu a.all { color: var(--muted); font-size: 0.86rem; border-bottom: 1px solid var(--line); border-radius: 10px 10px 4px 4px; margin-bottom: 4px; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.open .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop:hover .caret, .nav-drop:focus-within .caret, .nav-drop.open .caret { transform: rotate(180deg); }
@media (max-width: 640px) { .nav-menu { left: auto; right: 0; transform: translate(0, 4px); } .nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.open .nav-menu { transform: none; } }
.theme-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--text); cursor: pointer; display: grid; place-items: center; padding: 0; flex: none;
}
.theme-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; grid-area: 1 / 1; transition: opacity 0.25s, transform 0.35s; }
.theme-btn svg:last-child { fill: currentColor; stroke: none; }
:root:not([data-theme="light"]) .theme-btn svg:last-child,
:root[data-theme="light"] .theme-btn svg:first-child { opacity: 0; transform: rotate(-60deg) scale(0.6); }
@media (max-width: 759px) {
  .hdr-in { padding-top: 8px; padding-bottom: 6px; gap: 6px 10px; }
  .theme-btn { margin-left: auto; width: 36px; height: 36px; }
  .nav { order: 3; width: 100%; margin: 0 -8px; justify-content: space-between; }
  .nav a { padding: 6px 10px; font-size: 0.92rem; }
  .brand-tag { font-size: 0.86rem; }
}
@media (max-width: 359px) { .brand-tag, .brand-sep { display: none; } }

/* ---------- buttons, badges, todo ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink);
  font-weight: 650; font-size: 0.97rem; padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 10px 30px -12px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 14px 34px -12px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.sm { padding: 7px 14px; font-size: 0.86rem; }
.btn.disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn small { font-weight: 500; opacity: 0.75; }

.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; vertical-align: middle; border: 1px solid; }
.badge.prototype { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.badge.design { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-soft); }
.badge.concept { color: var(--wait); border-color: color-mix(in srgb, var(--wait) 45%, transparent); background: color-mix(in srgb, var(--wait) 10%, transparent); }
.badge.paper, .badge.soon { color: var(--muted); border-color: var(--line-2); background: var(--surface-2); }

.todo {
  display: inline; background: var(--todo-bg); color: var(--todo-text); border: 1px dashed var(--todo-line);
  border-radius: 8px; padding: 1px 8px; font-size: 0.86em; font-weight: 550; line-height: 1.9;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.todo::before { content: "TODO "; font-weight: 800; letter-spacing: 0.04em; }
.todo-item { list-style: none; margin-left: -1.2em; }

.eyebrow { font-size: 0.8rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 14px; }
.eyebrow a { color: inherit; }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 40em; line-height: 1.55; }

/* ---------- sections ---------- */
.section { padding: clamp(44px, 7vw, 88px) 0 0; }
.section:last-child { padding-bottom: clamp(56px, 8vw, 100px); }
.sec-head { margin-bottom: 26px; max-width: 760px; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.sec-head.row > div { max-width: 700px; }
.sec-head p { margin: 0; }
h3.sub { margin-top: 36px; }
.split { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.grid2, .grid3, .trio { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid2 { grid-template-columns: 1fr 1fr; } .trio { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }

.panel, .pcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px);
}
.pcard h3 { margin-bottom: 8px; }
.pcard p:last-child, .panel > :last-child { margin-bottom: 0; }
.pcard.big h3 { font-size: 1.3rem; }
.pcard .badge { margin-bottom: 14px; }
.panel.glow { position: relative; overflow: hidden; }
.panel.glow::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 140%; background: radial-gradient(closest-side, var(--glow), transparent); opacity: 0.6; pointer-events: none; }
.panel.glow > * { position: relative; }

ul.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
ul.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
ul.ticks.warn li::before { background: var(--muted); box-shadow: 0 0 0 4px var(--surface-2); }
ul.ticks li.todo-item { padding-left: 0; margin-left: 0; }
ul.ticks li.todo-item::before { display: none; }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(48% 60% at 72% 42%, var(--glow), transparent 70%), radial-gradient(40% 50% at 10% 0%, var(--glow-2), transparent 70%); }
.hero-in { position: relative; display: grid; gap: 12px; align-items: center; padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(32px, 6vw, 80px); }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.05fr 1fr; gap: 40px; } }
.hero h1 { margin-bottom: 20px; }
.hero h1 { background: linear-gradient(180deg, var(--text) 30%, color-mix(in srgb, var(--text) 62%, var(--accent))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-art { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 1; display: grid; place-items: center; }
.hero-art img { width: 82%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55)); animation: float 9s ease-in-out infinite; }
.orbit { position: absolute; inset: 4%; border-radius: 50%; border: 1px solid var(--line-2); }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; }
.orbit::before { inset: 9%; border: 1px dashed var(--line); animation: spin 80s linear infinite; }
.orbit::after { width: 10px; height: 10px; background: var(--accent); top: 12%; left: 14%; box-shadow: 0 0 20px 4px var(--glow); }
.hero-tag { position: absolute; right: 2%; bottom: 8%; display: grid; background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 14px; color: var(--text); font-size: 0.85rem; box-shadow: var(--shadow); }
.hero-tag span { color: var(--muted); }
.hero-tag:hover { text-decoration: none; border-color: var(--accent); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.feature { padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); }
.f-ico { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 18px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); }

/* page hero (inner pages) */
.phero { position: relative; border-bottom: 1px solid var(--line); padding: clamp(44px, 8vw, 96px) 0 clamp(32px, 5vw, 60px); overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 0%, var(--glow), transparent 70%); opacity: 0.7; pointer-events: none; }
.phero .wrap { position: relative; }
.phero h1 { max-width: 15em; font-size: clamp(2.1rem, 5.6vw, 3.8rem); }

/* ---------- gear cards ---------- */
.cat { margin-bottom: 44px; }
.cat:last-child { margin-bottom: 0; }
.cat-head { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.cat-head h2 { font-size: 1.35rem; margin: 0; }
.cat-head p { margin: 0; font-size: 0.95rem; }
.dgrid { display: grid; gap: 16px; }
@media (min-width: 640px) { .dgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .dgrid { grid-template-columns: repeat(3, 1fr); } }
.dcard {
  display: flex; flex-direction: column; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.dcard:hover { text-decoration: none; transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.dcard-art { aspect-ratio: 4 / 3; background: var(--stage); display: grid; place-items: center; overflow: hidden; position: relative; }
.dcard-art img { width: 78%; height: 78%; object-fit: contain; transition: transform 0.5s; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.4)); }
.dcard:hover .dcard-art img { transform: scale(1.05); }
.dcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.dcard-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.dcard h3 { font-size: 1.3rem; margin-bottom: 6px; }
.dcard p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 0.92rem; }
.more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.25s; }
.dcard:hover .more svg { transform: translateX(4px); }
.dcard.soon .dcard-art { background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--surface) 14px 28px); }
.soon-art { font-family: Georgia, "Times New Roman", serif; font-size: 88px; color: #3b82f6; opacity: 0.8; line-height: 1; }
ul.labels { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.labels .badge { min-width: 116px; text-align: center; margin-right: 10px; }

/* ---------- device page ---------- */
.dhero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.dhero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 70% at 75% 45%, var(--glow), transparent 70%), radial-gradient(40% 40% at 0% 100%, var(--glow-2), transparent 70%); pointer-events: none; }
.dhero-in { position: relative; display: grid; gap: 12px; align-items: center; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .dhero-in { grid-template-columns: 1fr 1.05fr; gap: 40px; } }
.dhero-text { min-width: 0; }
.dhero-art { order: -1; display: grid; place-items: center; }
@media (min-width: 900px) { .dhero-art { order: 0; } }
.dhero-art img { width: min(100%, 560px); max-height: 520px; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.5)); }
.dhero-art figure { margin: 0; display: grid; justify-items: center; gap: 8px; width: 100%; }
.dhero-art figcaption { color: var(--muted); font-size: 0.8rem; }
.dhero-art.photo img { width: 100%; max-width: 640px; max-height: 560px; object-fit: cover; border-radius: 18px; filter: none; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -24px rgba(0, 0, 0, 0.6); }
.dhero-art.soon { min-height: 260px; }
.dhero-art.soon .soon-art { font-size: 180px; }
.status { margin-bottom: 18px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }

.subnav { position: sticky; top: var(--hdr); z-index: 40; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
@media (max-width: 759px) { .subnav { top: 92px; } }
.subnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; color: var(--muted); font-size: 0.88rem; font-weight: 550; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.subnav a:hover { color: var(--text); text-decoration: none; }
.subnav a.on { color: var(--accent-ink); background: var(--accent); }

.pgrid { display: grid; gap: 14px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pgrid .pcard p { color: var(--muted); font-size: 0.96rem; }

.specs { display: grid; gap: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .specs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .specs:not(.one) { grid-template-columns: repeat(3, 1fr); } }
.specs.one { grid-template-columns: 1fr; }
.specs > div { background: var(--surface); padding: 16px 20px; box-shadow: 0 0 0 0.5px var(--line); }
.specs dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.specs dd { margin: 0; font-weight: 550; }

/* tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 14px; max-width: 100%; }
.tab { font: inherit; font-size: 0.9rem; font-weight: 600; border: 0; border-radius: 999px; padding: 7px 14px; background: transparent; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.cap { font-size: 0.92rem; margin-top: 12px; }

/* 3D viewer */
.viewer3d {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--stage);
  border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer;
}
@media (min-width: 900px) { .viewer3d { aspect-ratio: 16 / 9; } }
.viewer3d .poster { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; opacity: 0.9; transition: opacity 0.4s, filter 0.4s; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45)); }
.viewer3d:hover .poster { opacity: 1; }
.viewer3d model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; --poster-color: transparent; --progress-bar-color: transparent; }
.viewer3d.is-live { cursor: grab; }
.viewer3d.is-live .poster, .viewer3d.is-live .load-btn { opacity: 0; pointer-events: none; }
.load-btn {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: 0.95rem; color: var(--text); background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; cursor: pointer;
  box-shadow: var(--shadow); transition: opacity 0.3s, border-color 0.2s;
}
.load-btn:hover { border-color: var(--accent); }
.load-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.load-btn small { color: var(--muted); font-weight: 500; }
.is-loading .load-btn span::after { content: "\2026"; }
.mv-bar { position: absolute; left: 50%; bottom: 22px; width: 160px; transform: translateX(-50%); transition: opacity 0.4s; }
.mv-bar.done { opacity: 0; }
.mv-progress { display: block; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.mv-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.2s; }
.load-error { position: absolute; left: 16px; right: 16px; bottom: 70px; text-align: center; color: var(--todo-text); background: var(--todo-bg); border-radius: 10px; padding: 8px; margin: 0; font-size: 0.9rem; }

/* KiCanvas */
.kicanvas-box { position: relative; height: min(78vh, 720px); min-height: 440px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--stage); }
.kicanvas-box kicanvas-embed { display: block; width: 100%; height: 100%; }
.kc-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px; cursor: pointer;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; background-position: center; }
.kc-placeholder svg { width: 54px; height: 54px; fill: none; stroke: var(--accent); stroke-width: 1.4; }
.kc-placeholder strong { font-size: 1.2rem; }
.kc-placeholder .load-btn, .kc-placeholder .btn { position: static; transform: none; margin-top: 8px; }

/* parts list */
details.bom { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
details.bom summary { cursor: pointer; padding: 16px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-weight: 650; list-style: none; }
details.bom summary::-webkit-details-marker { display: none; }
details.bom summary::after { content: "+"; color: var(--accent); font-weight: 700; margin-left: auto; }
details.bom[open] summary::after { content: "\2212"; }
details.bom summary span:first-child { flex: 1; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; background: var(--surface-2); border-top: 0; }
td { overflow-wrap: anywhere; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
details.bom table td:first-child { font-weight: 600; white-space: nowrap; }
.status-table, .lic { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.st { font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.st::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: currentColor; vertical-align: 1px; }
.st.ok { color: var(--ok); } .st.part { color: var(--part); } .st.wait { color: var(--wait); } .st.plan { color: var(--plan); }

/* gallery */
.gallery { display: grid; gap: 16px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery .wide { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
figure { margin: 0; }
.shot { background: var(--stage); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.wide .shot { aspect-ratio: auto; }
.shot img, .shot video { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.wide .shot img { padding: 3%; }
.paper .shot { background: #fbfaf7; }
figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 10px; }

/* videos */
.vgrid { display: grid; gap: 16px; }
@media (min-width: 700px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .vgrid { grid-template-columns: repeat(3, 1fr); } }
.video-slot {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(80% 120% at 30% 0%, var(--surface-2), var(--bg-2)); color: var(--text);
  display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 16px; font: inherit;
}
.section > .video-slot { max-width: 760px; margin: 0 auto; }
button.video-slot { cursor: pointer; }
.video-slot .play { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); margin-bottom: 6px; transition: transform 0.25s; }
.video-slot .play svg { width: 24px; height: 24px; fill: var(--accent); margin-left: 3px; }
.video-slot.ready .play { background: var(--accent); }
.video-slot.ready .play svg { fill: var(--accent-ink); }
button.video-slot:hover .play { transform: scale(1.08); }
.v-title { font-weight: 650; }
.v-note { font-size: 0.82rem; color: var(--muted); }
.video-slot > * { position: relative; z-index: 1; }
.video-slot > .v-art, .video-slot > .v-shade { position: absolute; inset: 0; z-index: 0; }
.video-slot img.v-art { width: 100%; height: 100%; object-fit: contain; padding: 8% 20%; opacity: 0.9; }
.video-slot .v-mark { display: grid; place-items: center; font-family: Georgia, "Times New Roman", serif; font-size: clamp(90px, 18vw, 180px); line-height: 1; color: #3b82f6; opacity: 0.3; }
.video-slot .v-shade { background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--bg) 70%, transparent)); }
.video-slot .v-title { text-shadow: 0 1px 12px var(--bg); }
.video-slot.live { padding: 0; display: block; }
.video-slot.live iframe { width: 100%; height: 100%; border: 0; display: block; }

/* downloads */
.dl-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.dl-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.dl-list li > div { display: grid; min-width: 0; }

/* kickstarter */
.ks-band { }
.ks-slot { display: grid; gap: 8px; justify-items: center; }
.ks-frame { width: 100%; max-width: 360px; height: 440px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px; }
.ks-frame iframe { width: 100%; height: 100%; border: 0; }
.ks-slot.live .ks-frame { padding: 0; display: block; }
.ks-logo { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 28px; color: var(--accent-ink); background: var(--accent); }

/* flow diagram */
.flow { display: grid; gap: 0; justify-items: stretch; max-width: 1100px; margin: 0 auto; }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; } }
.fnode { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 2px; text-align: center; }
.fnode.accent { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 0 0 6px var(--accent-soft), var(--shadow); }
.fnode strong { font-size: 1.05rem; }
.fnode span { font-size: 0.86rem; color: var(--muted); }
.fnode .fstep { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.flink { display: grid; place-items: center; padding: 10px 0; position: relative; min-height: 54px; }
.flink::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px dashed var(--line-2); }
.flink span { position: relative; font-size: 0.74rem; color: var(--muted); background: var(--bg); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
@media (min-width: 900px) {
  .flink { padding: 0 6px; min-height: 0; min-width: 96px; }
  .flink::before { left: 0; right: 0; top: 50%; bottom: auto; border-left: 0; border-top: 2px dashed var(--line-2); }
  .flink span { white-space: normal; text-align: center; max-width: 110px; }
}

/* steps, road, timeline */
ol.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 900px) { ol.steps { grid-template-columns: repeat(5, 1fr); } }
ol.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--muted); font-size: 0.95rem; }
ol.steps li::before { content: counter(s, decimal-leading-zero); display: block; color: var(--accent); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 10px; }
ol.steps li strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: 4px; }
ol.road, ol.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
ol.road::before, ol.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; border-left: 2px solid var(--line-2); }
ol.road li, ol.timeline li { position: relative; padding: 0 0 20px 32px; }
ol.road li::before, ol.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
ol.road li.done::before { background: var(--accent); border-color: var(--accent); }
ol.road li.next::before { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
ol.timeline li::before { border-color: var(--accent); }
ol.timeline time { display: block; font-size: 0.78rem; color: var(--accent); font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: clamp(1.08rem, 2.4vw, 1.3rem); font-weight: 650; position: relative; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-75%) rotate(45deg); transition: transform 0.25s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq details > div a { font-weight: 550; }

.cta { text-align: center; max-width: 720px; margin: 0 auto; }
.cta .actions { justify-content: center; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; margin-top: 40px; }
.ftr-grid { display: grid; gap: 28px; }
@media (min-width: 700px) { .ftr-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ftr a { color: var(--muted); }
.ftr a:hover { color: var(--text); }
.ftr .brand { margin-bottom: 14px; }
.ftr-brand p { color: var(--muted); font-size: 0.95rem; max-width: 30em; }
.ftr-base { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; }

/* ---------- motion ---------- */
.js-reveal .reveal, .js-reveal .dcard { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js-reveal .in { opacity: 1 !important; transform: none !important; }
.js-reveal .dcard.in:hover { transform: translateY(-4px) !important; }
@media (max-width: 899px) { .dhero-art img { max-height: 300px; } .hero-art { width: min(100%, 380px); } }

/* ---------- posters, framed renders, full-bleed pictures ---------- */
.ks-frame.poster { color: var(--text); text-decoration: none; background: radial-gradient(80% 90% at 50% 30%, var(--surface-2), var(--surface)); }
.ks-frame.poster img { width: 72%; max-width: 240px; margin-bottom: 10px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45)); transition: transform 0.4s; }
.ks-frame.poster:hover img { transform: translateY(-4px); }
.ks-frame.poster strong { font-size: 1.2rem; }
.bleed .shot { background: #2a313a; }
.bleed .shot img { padding: 0; object-fit: cover; }
.dhero-art.framed img { border-radius: var(--radius); border: 1px solid var(--line); object-fit: cover; aspect-ratio: 3 / 4; width: min(100%, 440px); filter: none; box-shadow: var(--shadow); }
.dcard.bleed .dcard-art img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.dcard-top .kind { font-size: 0.82rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 899px) { .dhero-art.framed img { max-height: 420px; width: auto; max-width: 100%; height: 420px; } }
.video-slot .v-title { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; }
.video-slot.ready .v-note { position: absolute; left: 16px; right: 16px; top: 14px; z-index: 1; }
.video-slot img.v-art { opacity: 0.6; }
