/* ==========================================================================
   ArtCraft — design system
   Colours, type sizes, spacing steps and content widths are theme tokens
   taken from the original's stylesheet (capture/capture.json + its CSS).
   Utility class names mirror the original markup (bg-bg, hud-label, tick,
   px-6, md:py-20 …) so the page grid lands on the same pixels.
   ========================================================================== */

@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/21ca8f3f56c22ca2.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo Fallback";
  src: local(Arial);
  ascent-override: 88.96%;
  descent-override: 21.28%;
  line-gap-override: 0%;
  size-adjust: 98.7%;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/7ebf22b5a21034f8.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/e41d5df559864f9e.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif Fallback";
  src: local("Times New Roman");
  ascent-override: 117.94%;
  descent-override: 36.93%;
  line-gap-override: 0%;
  size-adjust: 83.94%;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/83afe278b6a6bb3c.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Fallback";
  src: local(Arial);
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/797e433ab948586e.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono Fallback";
  src: local(Arial);
  ascent-override: 74.67%;
  descent-override: 21.92%;
  line-gap-override: 0%;
  size-adjust: 134.59%;
}

/* --- tokens ------------------------------------------------------------- */
:root {
  --bg: #f2f1ee;
  --bg-raised: #faf9f7;
  --bg-sunken: #e9e8e4;
  --ink: #101014;
  --ink-strong: #000;
  --muted: #1010149e;
  --faint: #1010146b;
  --line: #10101429;
  --line-strong: #10101466;
  --accent: #2d81ff;
  --accent-ink: #1659c4;
  --invert-bg: #101014;
  --invert-fg: #f2f1ee;
  --danger: #b3261e;
  --scanline: #10101408;

  --font-archivo: "Archivo", "Archivo Fallback", system-ui, sans-serif;
  --font-instrument: "Instrument Serif", "Instrument Serif Fallback", Georgia, serif;
  --font-inter: Inter, "Inter Fallback", system-ui, sans-serif;
  --font-geist-mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, SFMono-Regular, Menlo,
    monospace;
  --font-display: var(--font-archivo);
  --font-body: var(--font-inter);
  --font-serif: var(--font-instrument);
  --font-mono: var(--font-geist-mono);
  --display-weight: 620;
  --display-stretch: 118%;

  --spacing: 0.25rem;
  --nav-h: 48px;
  --container: 1280px;
  --aspect-video: 16 / 9;
  --leading-relaxed: 1.625;
  --blur-sm: 8px;
  --blur-md: 12px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #121316;
  --bg-raised: #101014;
  --bg-sunken: #060607;
  --ink: #f2f1ee;
  --ink-strong: #fff;
  --muted: #f2f1ee99;
  --faint: #f2f1ee61;
  --line: #f2f1ee26;
  --line-strong: #f2f1ee66;
  --accent-ink: #74aaff;
  --invert-bg: #fff;
  --invert-fg: #0b0b0c;
  --danger: #ff6259;
  color-scheme: dark;
}
[data-theme="dark"] .themed-logo { filter: brightness(0) invert(); }

/* app accents */
.app-photocraft { --app: #2f7bf5; --app-ink: #1a5bc4; }
.app-vectorcraft { --app: #e8573f; --app-ink: #b83a24; }
.app-filmcraft { --app: #8b5cf6; --app-ink: #6a3fd6; }
.app-lightcraft { --app: #f2a516; --app-ink: #8a5800; }
.app-pdfcraft { --app: #e8204f; --app-ink: #b70228; }
.app-effectcraft { --app: #e0368f; --app-ink: #b0206c; }
.app-designcraft { --app: #7bb51c; --app-ink: #457008; }
.app-figcraft { --app: #02da96; --app-ink: #017a54; }
.app-texturecraft { --app: #c2672b; --app-ink: #9c4a15; }
.app-materialcraft { --app: #178a9c; --app-ink: #0e6674; }
.app-wordcraft { --app: #4c6ef5; --app-ink: #253e99; }
.app-soundcraft { --app: #14a9c4; --app-ink: #0b6f82; }
.app-deckcraft { --app: #f26b1d; --app-ink: #ad4306; }
.app-cadcraft { --app: #14a3c7; --app-ink: #09596d; }
.app-gridcraft { --app: #1f9d55; --app-ink: #136938; }
.app-craft-anything { --app: #4e7bfb; --app-ink: #1659c4; }
[data-theme="dark"] .app-photocraft { --app-ink: #7fb0ff; }
[data-theme="dark"] .app-vectorcraft { --app-ink: #ff8a70; }
[data-theme="dark"] .app-filmcraft { --app-ink: #b69cff; }
[data-theme="dark"] .app-lightcraft { --app-ink: #ffc14d; }
[data-theme="dark"] .app-pdfcraft { --app-ink: #f23a62; }
[data-theme="dark"] .app-effectcraft { --app-ink: #ff7ab8; }
[data-theme="dark"] .app-designcraft { --app-ink: #a6e04a; }
[data-theme="dark"] .app-figcraft { --app-ink: #3fe6ae; }
[data-theme="dark"] .app-texturecraft { --app-ink: #e58a4e; }
[data-theme="dark"] .app-materialcraft { --app-ink: #4fc4d6; }
[data-theme="dark"] .app-wordcraft { --app-ink: #8da2fb; }
[data-theme="dark"] .app-soundcraft { --app-ink: #52d1ea; }
[data-theme="dark"] .app-deckcraft { --app-ink: #ff9657; }
[data-theme="dark"] .app-cadcraft { --app-ink: #4cc7e6; }
[data-theme="dark"] .app-gridcraft { --app-ink: #4fdc90; }
[data-theme="dark"] .app-craft-anything { --app-ink: #8fa9ff; }

/* --- reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  background: var(--bg);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
}
html[data-ruler="on"] { scrollbar-width: none; }
html[data-ruler="on"]::-webkit-scrollbar { width: 0; height: 0; display: none; }
html[data-theme-morph] { transition: background-color .2s linear; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { border: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- type helpers ------------------------------------------------------- */
.hud-label {
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  font-weight: 500;
}
.font-display { font-family: var(--font-display); font-weight: 620; font-stretch: 118%; }
.font-mono { font-family: var(--font-mono); }
.font-serif { font-family: var(--font-serif); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.italic { font-style: italic; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.text-muted { color: var(--muted); }
.text-faint { color: var(--faint); }
.text-ink { color: var(--ink); }
.text-ink-strong { color: var(--ink-strong); }
.text-accent-ink { color: var(--accent-ink); }
.text-invert-fg { color: var(--invert-fg); }
.bg-bg { background-color: var(--bg); }
.bg-bg-raised { background-color: var(--bg-raised); }
.bg-bg-sunken { background-color: var(--bg-sunken); }
.bg-line { background-color: var(--line); }
.bg-invert-bg { background-color: var(--invert-bg); }
.border-line { border-color: var(--line); }
.underline { text-decoration: underline; }
.underline:hover { color: var(--ink); }
.leading-relaxed { line-height: 1.625; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.tracking-tight { letter-spacing: -0.025em; }
.text-balance { text-wrap: balance; }
.uppercase { text-transform: uppercase; }
.whitespace-nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --- layout primitives --------------------------------------------------- */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.h-px { height: 1px; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-stretch { align-items: stretch; }
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-1 { flex: 1; }
.shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.mx-auto { margin-left: auto; margin-right: auto; }
.min-w-0 { min-width: 0; }
.overflow-hidden { overflow: hidden; }
.aspect-video { aspect-ratio: 16 / 9; }
.object-cover { object-fit: cover; }
.gap-px { gap: 1px; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.mr-6 { margin-right: 1.5rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.ml-1\.5 { margin-left: 0.375rem; }
.mt-12 { margin-top: 3rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.p-6 { padding: 1.5rem; }
.pl-1\.5 { padding-left: 0.375rem; }
.pt-8 { padding-top: 2rem; }
.pb-14 { padding-bottom: 3.5rem; }
.pt-20 { padding-top: 5rem; }
.mt-3p { margin-top: 0.75rem; }
.border { border: 1px solid var(--line); }
.border-t { border-top: 1px solid var(--line); }
.border-b { border-bottom: 1px solid var(--line); }
.border-y { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.border-x { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.border-l { border-left: 1px solid var(--line); }
.border-r { border-right: 1px solid var(--line); }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xs { max-width: 20rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-1280 { max-width: 1280px; }
.text-center { text-align: center; }
.top-12 { top: 48px; }
.sticky { position: sticky; }

/* type sizes */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }

/* display headings (Archivo 620 / 118%) */
.heading-xl {
  max-width: 48rem;
  font-family: var(--font-display);
  font-weight: 620;
  font-stretch: 118%;
  font-size: 2.25rem;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink-strong);
}
.heading-xl .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.lede {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted);
}
@media (min-width: 640px) { .heading-xl { font-size: 3rem; } }
@media (min-width: 768px) { .heading-xl { font-size: 3.75rem; } }

/* --- responsive helpers -------------------------------------------------- */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:flex-col { flex-direction: column; }
  .sm\:hidden { display: none; }
  .sm\:text-center { text-align: center; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
  .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sm\:py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .sm\:py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .sm\:h-14 { height: 3.5rem; }
  .sm\:w-14 { width: 3.5rem; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-end { align-items: flex-end; }
  .md\:items-center { align-items: center; }
  .md\:justify-between { justify-content: space-between; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .md\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:pt-28 { padding-top: 7rem; }
  .md\:pb-16 { padding-bottom: 4rem; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:min-h-11 { min-height: 2.75rem; }
  .md\:h-16 { height: 4rem; }
  .md\:w-16 { width: 4rem; }
}
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
}
@media (max-width: 639px) {
  .max-sm\:w-full > * { width: 100%; }
}

/* ==========================================================================
   Site navigation
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 95%, transparent);
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
}
.nav-bar { display: flex; height: var(--nav-h); align-items: stretch; justify-content: space-between; }
.nav-left { display: flex; min-width: 0; align-items: stretch; }
.nav-right { display: flex; flex-shrink: 0; align-items: stretch; }
.brand { display: flex; align-items: center; padding: 0 1rem; border-right: 1px solid var(--line); }
.brand:hover { opacity: 0.7; }
@media (min-width: 640px) { .brand { padding: 0 1.25rem; } }
.themed-logo { height: 24px; width: auto; filter: brightness(0); }
.main-menu { display: none; min-width: 0; align-items: stretch; }
.main-menu > ul { display: flex; height: 100%; align-items: stretch; }
.main-menu li { display: flex; align-items: stretch; position: relative; }
.main-menu li.sep { margin-left: 0.375rem; border-left: 1px solid var(--line); padding-left: 0.375rem; }
.nav-link {
  display: flex;
  height: 100%;
  align-items: center;
  padding: 0 0.625rem;
  white-space: nowrap;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  font-weight: 500;
}
.nav-link > span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.125rem 0.375rem;
  transition: background-color 0.12s linear, color 0.12s linear;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover > span { background: var(--invert-bg); color: var(--invert-fg); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"] > span { background: var(--invert-bg); color: var(--invert-fg); }
.nav-link .chev { width: 12px; height: 12px; transition: transform 0.15s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-utility { display: none; align-items: stretch; }
.icon-btn {
  display: flex;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
  color: var(--muted);
  transition: background-color 0.12s linear, color 0.12s linear;
}
.icon-btn:hover { background: var(--invert-bg); color: var(--invert-fg); }
.icon-btn svg { width: 16px; height: 16px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 100%;
  padding: 0 1.25rem;
  border-left: 1px solid var(--line);
  background: var(--invert-bg);
  color: var(--invert-fg);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  font-size: 11px;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.8; }
.burger-wrap { display: flex; align-items: stretch; }
.burger {
  display: flex;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
  color: var(--muted);
  transition: background-color 0.12s linear, color 0.12s linear;
}
.burger:hover { background: var(--invert-bg); color: var(--invert-fg); }
.burger svg { width: 20px; height: 20px; }
.burger .close-ico { display: none; }
.burger[aria-expanded="true"] .open-ico { display: none; }
.burger[aria-expanded="true"] .close-ico { display: block; }
@media (min-width: 768px) { .nav-utility { display: flex; } }
@media (min-width: 1024px) {
  .main-menu { display: flex; }
  .burger-wrap { display: none; }
}

/* Resources dropdown */
.dropdown { position: absolute; top: 100%; left: 0; z-index: 60; min-width: 205px; }
.dropdown[hidden] { display: none; }
.dropdown__panel {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--bg);
  padding: 0.75rem 0 0.5rem;
  min-width: 205px;
}
.dropdown__item {
  display: block;
  padding: 7px 1.5rem;
  line-height: 1.5;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.dropdown__item:hover { color: var(--ink); }

/* Mobile panel */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 1rem 1.5rem 1.5rem;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu .mm-label {
  padding: 0.75rem 0 0.375rem;
  color: var(--faint);
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--ink); }
.mobile-menu .nm-cta { margin-top: 1rem; border: 0; background: var(--invert-bg); color: var(--invert-fg); justify-content: center; height: 44px; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  font-size: 11px;
  transition: opacity 0.15s, border-color 0.15s, background-color 0.12s linear, color 0.12s linear;
  height: 48px;
  padding: 0 1.5rem;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--invert-bg); color: var(--invert-fg); }
.btn--primary:hover { opacity: 0.8; }
.btn--outline { border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); }
.btn--outline:hover { border-color: transparent; background: var(--invert-bg); color: var(--invert-fg); }
.btn--sm { height: auto; padding: 0.375rem 0.75rem; font-size: 11px; font-weight: 500; gap: 0.375rem; }
.btn--sm svg { width: 14px; height: 14px; }
.btn--xs { height: 36px; padding: 0 0.75rem; font-size: 11px; gap: 0.375rem; }
.btn--xs svg { width: 14px; height: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.btn-row > * { width: 100%; }
.btn-row .split { width: 100%; }
@media (min-width: 640px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .btn-row > * { width: auto; }
  .btn-row .split { width: auto; }
}

/* split download control */
.split { position: relative; display: inline-flex; align-items: stretch; width: fit-content; }
.split > .btn { padding-right: 1rem; }
.split__caret {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 0.875rem;
  background: var(--invert-bg);
  color: var(--invert-fg);
  border-left: 1px solid color-mix(in srgb, var(--invert-fg) 20%, transparent);
  transition: opacity 0.15s;
}
.split__caret:hover { opacity: 0.8; }
.split__caret svg { width: 16px; height: 16px; transition: transform 0.15s; }
.split[data-open="true"] .split__caret svg { transform: rotate(180deg); }

/* Linux format picker */
.picker {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 70;
  width: 340px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  box-shadow: 0 24px 60px rgb(16 16 20 / 0.14);
}
.picker[hidden] { display: none; }
.picker__title { padding: 0.75rem 1rem 0.5rem; color: var(--faint); }
.picker__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border-top: 1px solid var(--line);
}
.picker__row:hover { background: color-mix(in srgb, var(--bg-sunken) 70%, transparent); }
.picker__text { display: flex; flex-direction: column; min-width: 0; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 16px; }
.picker__label { display: block; font-weight: 500; color: var(--ink); font-size: 15px; line-height: 1.35; }
.picker__default {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.picker__desc { font-size: 13px; color: var(--muted); line-height: 1.35; }
.picker__file {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.picker__dl { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--muted); }
@media (max-width: 767px) {
  .picker { position: fixed; left: 24px; right: 24px; width: auto; top: auto; }
}

/* ==========================================================================
   Section scaffold: rule, ticks, sticky eyebrow, editorial header
   ========================================================================== */
.section { position: relative; }
.rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.frame { position: relative; margin-inline: auto; max-width: 1280px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.tick { pointer-events: none; width: 11px; height: 11px; position: absolute; }
.tick::before, .tick::after { content: ""; background: var(--line-strong); position: absolute; }
.tick::before { width: 1px; top: 0; bottom: 0; left: 5px; }
.tick::after { height: 1px; top: 5px; left: 0; right: 0; }
.tick-half::before { top: 5px; }
.tick--tl { top: -5px; left: -6px; z-index: 31; }
.tick--tr { top: -5px; right: -6px; z-index: 31; }

.eyebrow {
  position: sticky;
  top: 48px;
  z-index: 30;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 60%, transparent);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
}
.eyebrow__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.5rem; }
.eyebrow__note { display: none; }
@media (min-width: 640px) { .eyebrow__note { display: block; } }
@media (min-width: 768px) { .eyebrow__inner { padding-left: 2.5rem; padding-right: 2.5rem; } }

.section-head { padding: 3.5rem 1.5rem; }
.section-head--tail { padding-bottom: 0; }
@media (min-width: 768px) { .section-head--tail { padding-bottom: 0; } }
.section-head--row { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) {
  .section-head { padding: 5rem 2.5rem; }
  .section-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.section-head h2 { max-width: 48rem; }
.section-head .lede { margin-top: 1.25rem; max-width: 36rem; }
.filter-link {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.375rem;
  color: var(--muted);
}
.filter-link:hover { color: var(--ink); }
.filter-link svg { width: 14px; height: 14px; }

/* ==========================================================================
   Hero: wordmark, orbit collage, copy
   ========================================================================== */
.hero { position: relative; }
.hero__stage { position: absolute; inset: 0; overflow: hidden; }
.hero__stage canvas { width: 100%; height: 100%; display: block; }
.hero__wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 3rem);
}
.hero__inner {
  position: relative;
  z-index: 40;
  pointer-events: none;
  margin-inline: auto;
  display: flex;
  flex: 1;
  width: 100%;
  max-width: 1280px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}
@media (min-width: 768px) { .hero__inner { padding-left: 2.5rem; padding-right: 2.5rem; } }
.hero__stack { position: relative; display: flex; width: 100%; max-width: 42rem; flex-direction: column; align-items: center; text-align: center; }
.hero__scrim {
  position: absolute;
  inset: -88px -128px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--bg) 78%, transparent), transparent);
  pointer-events: none;
}
.hero__wm-wrap { position: relative; z-index: 40; width: 100%; container-type: inline-size; }
.hero__wm-blur {
  position: absolute;
  left: -6%;
  right: -6%;
  top: -34%;
  bottom: -34%;
  pointer-events: none;
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
}
.wordmark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: pre;
  max-width: 100%;
  color: var(--ink-strong);
  font-family: var(--font-archivo);
  font-weight: 750;
  font-stretch: 125%;
  line-height: 1;
  font-size: var(--wm-size, 95.4px);
}
.wm-letter {
  display: inline-block;
  text-align: center;
  will-change: transform, opacity;
  text-shadow:
    0 0 0.6vw color-mix(in srgb, var(--bg) 92%, transparent),
    0 0.25vw 2.4vw color-mix(in srgb, var(--bg) 78%, transparent),
    0 0.4vw 5vw color-mix(in srgb, var(--bg) 55%, transparent);
}
.wm-letter--logo { padding-right: 0.05em; }
.wm-letter--logo svg {
  display: inline-block;
  width: 0.835em;
  height: 0.7em;
  vertical-align: -0.006em;
}
.hero h1 {
  position: relative;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 118%;
  font-size: 1.875rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
}
.hero h1 .serif { color: var(--muted); }
@media (min-width: 640px) { .hero h1 { font-size: 2.25rem; } }
.hero__lede { position: relative; margin-top: 1rem; max-width: 28rem; font-size: 1.125rem; line-height: 1.625; color: var(--muted); }
.hero__actions { pointer-events: auto; position: relative; margin-top: 1.75rem; display: flex; width: 100%; justify-content: center; }
.hero__actions-inner { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; max-width: 24rem; align-items: center; text-align: center; }
@media (min-width: 640px) { .hero__actions-inner { max-width: none; } }
.hero__cta-row { display: flex; width: 100%; flex-direction: column; gap: 0.75rem; }
.hero__cta-row > * { width: 100%; }
@media (min-width: 640px) {
  .hero__cta-row { flex-direction: row; flex-wrap: wrap; align-items: flex-start; justify-content: center; width: auto; }
  .hero__cta-row > * { width: auto; }
}
.hero__meta { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.hero__meta .hud-label { min-height: 16px; }
.hero__meta .link-sm { font-size: 0.875rem; color: var(--muted); text-decoration: underline; }
.hero__meta .link-sm:hover { color: var(--ink); }
.link-underline { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.link-underline:hover { text-decoration-color: currentColor; }
.hero__aside { pointer-events: auto; position: relative; margin-top: 1.25rem; text-wrap: balance; line-height: 1.625; color: var(--muted); }
.hero__aside a { color: var(--ink); }
.hero__badges { pointer-events: auto; position: relative; margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 1.5rem; row-gap: 0.5rem; }
.hero__badges .hud-label { display: flex; align-items: center; gap: 0.375rem; color: var(--faint); }
.hero__badges a.hud-label:hover { color: var(--ink); }
.hero__badges svg { width: 14px; height: 14px; }

/* ==========================================================================
   Apps grid
   ========================================================================== */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}
.app-cell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg);
  padding: 1rem;
}
.app-cell__bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--app);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s;
}
.app-cell:hover .app-cell__bar { transform: scaleX(1); }
.app-cell .art-icon {
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
  transition: transform 0.3s ease-out;
}
.app-cell:hover .art-icon { transform: translateY(-0.25rem); }
.app-cell span.app-name { font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.app-cell:hover span.app-name { color: var(--app-ink); }
.app-cell--all { grid-column: 1 / -1; justify-content: center; text-align: center; gap: 0.75rem; }
.app-cell--all .app-badge {
  display: flex;
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: background-color 0.15s, color 0.15s;
}
.app-cell--all:hover .app-badge { background: var(--invert-bg); color: var(--invert-fg); }
.app-badge svg { width: 20px; height: 20px; }
@media (min-width: 640px) {
  .apps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .app-cell { flex-direction: column; padding: 1.5rem 0.75rem; text-align: center; }
  .app-cell .art-icon, .app-cell--all .app-badge { height: 56px; width: 56px; }
  .app-cell--all { flex-direction: row; padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .app-badge svg { width: 24px; height: 24px; }
}
@media (min-width: 768px) {
  .app-cell { padding-top: 2rem; padding-bottom: 2rem; height: 160px; }
  .app-cell .art-icon, .app-cell--all .app-badge { height: 64px; width: 64px; }
  .app-cell--all { height: 104px; padding-top: 1.25rem; padding-bottom: 1.25rem; }
}
@media (min-width: 1024px) { .apps-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

/* App sticker (placeholder artwork, app-coloured) */
.art-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 22%;
  color: #191a1f;
  background:
    radial-gradient(120% 120% at 30% 14%, color-mix(in srgb, var(--app) 55%, #fff) 0%, transparent 62%),
    linear-gradient(160deg, color-mix(in srgb, var(--app) 88%, #fff), color-mix(in srgb, var(--app) 78%, #101014));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--app) 40%, #101014);
}
.art-icon svg { width: 76%; height: 76%; max-width: 76%; max-height: 76%; }

/* ==========================================================================
   Studio band + marquee
   ========================================================================== */
.studio-band { display: flex; flex-direction: column; align-items: center; padding: 4rem 1.5rem; text-align: center; background: var(--bg-sunken); }
@media (min-width: 768px) { .studio-band { padding: 6rem 2.5rem 5.5rem; } }
.studio-band h2 { margin-top: 1.5rem; text-align: center; text-wrap: balance; margin-inline: auto; }
.studio-band .lede { margin-inline: auto; text-align: center; }
.studio-band__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }

.marquee { display: flex; overflow: hidden; border-top: 1px solid var(--line); min-height: 41px; }
.marquee-track {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  align-items: center;
  animation: marquee-scroll 36s linear infinite;
}
@keyframes marquee-scroll { to { transform: translateX(-100%); } }
.marquee li { display: flex; align-items: center; white-space: nowrap; padding: 0.75rem 1.5rem; color: var(--muted); }
.marquee li span { margin-right: 1.5rem; color: var(--accent-ink); }

/* ==========================================================================
   Feature cards
   ========================================================================== */
.feature-grid { display: grid; gap: 1px; border-top: 1px solid var(--line); background: var(--line); }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--bg); display: flex; flex-direction: column; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.625rem 1.5rem; }
@media (min-width: 768px) { .card__head { padding-left: 2rem; padding-right: 2rem; } }
.card__media { position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; background: var(--bg-sunken); }
.card__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.5rem; }
@media (min-width: 768px) { .card__body { padding: 1.5rem 2rem; } }
.card h3 { font-family: var(--font-display); font-weight: 500; font-stretch: 118%; font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink-strong); }
.card__body p { margin-top: 0.5rem; max-width: 36rem; line-height: 1.625; color: var(--muted); }

.card--pad { padding: 1.5rem; }
@media (min-width: 768px) { .card--pad { padding: 2rem; } }
.card--pad h3 { margin-top: 1.5rem; }
.card--pad p { margin-top: 0.5rem; line-height: 1.625; color: var(--muted); }
.card--pad .btn { margin-top: 1.5rem; }

.card--launch .card__media { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.card--launch .card__media > .square-btn {
  position: static;
  display: flex;
  height: 56px;
  width: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: background-color 0.15s, color 0.15s;
}
.card--launch:hover .square-btn { background: var(--invert-bg); color: var(--invert-fg); }
.card--launch .card__media > .hud-label { position: static; width: auto; height: auto; margin: 0; text-align: center; }
.card--launch .card__media .tick { position: absolute; opacity: 0.6; width: 11px; height: 11px; }
.card--launch .card__media .tick--se { left: auto; right: 8px; top: auto; bottom: 8px; }
.card--launch .card__media .tick--nw { left: 8px; top: 8px; }

/* Placeholder footage */
.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 30% 30%, color-mix(in srgb, var(--s3) 55%, transparent), transparent 70%),
    linear-gradient(150deg, var(--s1) 0%, var(--s2) 60%, #0b0c0e 100%);
}
.scene__dia {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 46%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 8px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--s3) 80%, #fff), color-mix(in srgb, var(--s2) 70%, #000));
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.45);
  opacity: 0.9;
}
.scene__band { position: absolute; left: -10%; right: -10%; bottom: 0; height: 42%; background: linear-gradient(to top, rgb(0 0 0 / 0.65), transparent); }
.scene__grain { position: absolute; inset: 0; opacity: 0.35; background-image: repeating-linear-gradient(0deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 3px); }
.scene__label { position: absolute; left: 12px; top: 10px; color: rgb(255 255 255 / 0.55); font-size: 9px; }

/* Proof tiles */
.proof figure .card__media { aspect-ratio: auto; height: 239px; }
.proof__play { position: absolute; inset: 0; display: block; height: 100%; width: 100%; }
.proof__shade { position: absolute; inset: 0; background: rgb(0 0 0 / 0.2); transition: background-color 0.15s; }
.proof__play:hover .proof__shade { background: rgb(0 0 0 / 0.1); }
.proof__badge { position: absolute; left: 0.75rem; bottom: 0.75rem; display: flex; align-items: center; gap: 0.375rem; background: var(--invert-bg); color: var(--invert-fg); padding: 0.375rem 0.75rem; font-weight: 700; }
.proof__badge svg { width: 14px; height: 14px; }

/* ==========================================================================
   Start cards
   ========================================================================== */
.start-head { display: flex; flex-direction: column; align-items: center; padding: 5rem 1.5rem 3.5rem; text-align: center; }
@media (min-width: 768px) { .start-head { padding-top: 7rem; padding-bottom: 4rem; } }
.start-head h2 {
  margin-top: 1.5rem;
  max-width: 56rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 118%;
  font-size: 3rem;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink-strong);
}
@media (min-width: 640px) { .start-head h2 { font-size: 3.75rem; } }
@media (min-width: 768px) { .start-head h2 { font-size: 4.5rem; } }
.start-head p { margin-top: 1.5rem; max-width: 32rem; font-size: 1.125rem; line-height: 1.625; color: var(--muted); }
.start-cards { display: grid; gap: 1px; border-top: 1px solid var(--line); background: var(--line); }
@media (min-width: 768px) { .start-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.start-card { display: flex; flex-direction: column; background: var(--bg); }
.start-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.625rem 1.5rem; }
@media (min-width: 768px) { .start-card__head { padding-left: 2.5rem; padding-right: 2.5rem; } }
.start-card__head .hud-label:first-child { color: var(--ink); }
.start-card__head .hud-label:last-child { color: var(--faint); }
.start-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
@media (min-width: 768px) { .start-card__body { padding: 2.5rem; } }
.app-strip { display: flex; align-items: center; gap: 0.375rem; }
.app-strip .art-icon { height: 36px; width: 36px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28)); }
.app-strip__more { display: flex; height: 36px; width: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--faint); }
.studio-mark { display: flex; height: 36px; width: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); }
.studio-mark img { height: 20px; width: 20px; filter: brightness(0); }
[data-theme="dark"] .studio-mark img { filter: brightness(0) invert(); }
.start-card h3 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 118%;
  font-size: 1.875rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
}
.start-card__body > p { margin-top: 0.75rem; max-width: 28rem; line-height: 1.625; color: var(--muted); }
.start-card__cta { margin-top: auto; display: flex; flex-direction: column; gap: 0.75rem; padding-top: 2rem; }
@media (min-width: 640px) { .start-card__cta { flex-direction: row; flex-wrap: wrap; align-items: flex-start; } }
.start-card__cta > .btn, .start-card__cta > .split { width: 100%; }
@media (min-width: 640px) { .start-card__cta > .btn, .start-card__cta > .split { width: auto; } }
.start-card__note { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; width: 100%; }
.start-card__note .link-sm { font-size: 0.875rem; color: var(--muted); text-decoration: underline; }
.start-card__note .link-sm:hover { color: var(--ink); }
.start-card__platforms { color: var(--faint); width: 100%; }
@media (min-width: 768px) { .start-card__platforms { min-height: 44px; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 1px; background: var(--line); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } }
.footer-brand { background: var(--bg); padding: 1.5rem; }
@media (min-width: 768px) { .footer-brand { grid-column: span 4; padding: 2.5rem; } }
@media (min-width: 1024px) { .footer-brand { grid-column: span 1; } }
.footer-brand img { height: 32px; width: auto; filter: brightness(0); }
.footer-brand p { margin-top: 1rem; max-width: 20rem; line-height: 1.625; color: var(--muted); }
.footer-brand a { margin-top: 1.5rem; display: inline-block; color: var(--faint); }
.footer-brand a:hover { color: var(--ink); }
.footer-col { background: var(--bg); padding: 1.5rem; }
@media (min-width: 768px) { .footer-col { padding: 2rem; } }
.footer-col > p { color: var(--faint); }
.footer-col ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { color: var(--muted); display: inline-block; line-height: 1.4375; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-direction: column; gap: 0.5rem; border-top: 1px solid var(--line); padding: 1rem 1.5rem; color: var(--faint); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; padding-left: 2.5rem; padding-right: 2.5rem; } }

/* ==========================================================================
   Ruler: fixed scroll-progress rail on the right edge
   ========================================================================== */
.ruler {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 40;
  width: 60px;
  overflow: hidden;
  cursor: crosshair;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ruler[data-ready="true"] { opacity: 1; }
.ruler__frost {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 100%);
  mask-image: linear-gradient(to left, #000 40%, transparent 100%);
  pointer-events: none;
}
.ruler__rail { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.ruler__tick { position: absolute; left: 0; right: 0; height: 0; }
.ruler__tick span { position: absolute; right: 0; top: 0; height: 1px; display: block; background: var(--ink); opacity: 0.35; }
.ruler__tick b {
  position: absolute;
  right: 24px;
  top: 0;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.5;
}
.ruler__sections { position: absolute; inset: 0; pointer-events: none; }
.ruler__section { position: absolute; left: 0; right: 0; top: 0; height: 0; transition: opacity 0.3s; }
.ruler__section::after { content: ""; position: absolute; right: 0; top: 0; width: 34px; height: 1px; background: var(--ink); opacity: 0.55; }
.ruler__section-label {
  position: absolute;
  right: 8px;
  top: 6px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0.45;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.ruler__needle { position: absolute; left: 0; right: 0; top: 0; height: 0; }
.ruler__needle i { position: absolute; left: 0; right: 0; top: 0; display: block; height: 1px; background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.ruler__readout {
  position: absolute;
  right: 2px;
  top: 4px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
}
.ruler__digits { display: inline-flex; height: 1em; line-height: 1; overflow: hidden; vertical-align: top; }
.ruler__digit { display: flex; flex-direction: column; transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1); }
.ruler__digit > span { display: block; height: 1em; }
@media (max-width: 639px) {
  .ruler { width: 40px; }
  .ruler__tick b { display: none; }
  .ruler__section::after { width: 22px; }
  .ruler__section-label { font-size: 7px; right: 5px; }
}

/* ==========================================================================
   Entrance choreography (matches the original's data-reveal)
   ========================================================================== */
[data-reveal-now] { opacity: 1; }
body[data-choreo="on"] [data-reveal-now] { opacity: 0; transition: opacity 0.6s ease; }
body[data-choreo="on"] [data-reveal-now].is-in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  * { scroll-behavior: auto !important; }
}


/* theme icon swap */
[data-theme-toggle] .ico-sun { display: none; }
[data-theme-toggle] .ico-moon { display: block; }
[data-theme="dark"] [data-theme-toggle] .ico-sun { display: block; }
[data-theme="dark"] [data-theme-toggle] .ico-moon { display: none; }
[data-theme-toggle] svg { width: 16px; height: 16px; }

/* ==========================================================================
   Page components (inner pages + app lineup)
   ========================================================================== */

/* --- split download control: label/panel hooks used by site.js ---------- */
.split[data-open="true"] .split__caret svg { transform: rotate(180deg); }

/* --- the launcher caption links ---------------------------------------- */
.link-sm { font-size: 0.875rem; color: var(--muted); text-decoration: underline; }
.link-sm:hover { color: var(--ink); }
.start-card__note .link-sm, .hero__meta .link-sm { line-height: 1.4; }

/* --- /download --------------------------------------------------------- */
.dl-hero { display: flex; flex-direction: column; gap: 3rem; padding: 6.5rem 1.5rem 4.5rem; }
@media (min-width: 768px) { .dl-hero { padding-left: 2.5rem; padding-right: 2.5rem; } }
@media (min-width: 1280px) { .dl-hero { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 2.5rem; } }
.dl-hero__copy { min-width: 0; flex: 1; }
.dl-hero__note { margin-top: 1.25rem; color: var(--faint); }
.dl-aside { margin-top: 0; width: 100%; border: 1px solid var(--line); background: var(--bg-raised); padding: 1.5rem; }
@media (min-width: 1280px) { .dl-aside { width: 384px; flex-shrink: 0; } }
.dl-aside h2 { margin-top: 1.25rem; text-wrap: balance; color: var(--ink-strong); }
.dl-aside p { margin-top: 0.5rem; line-height: 1.625; color: var(--muted); }
.dl-aside .btn { margin-top: 1.5rem; }

.dl-viewport { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg-sunken); }
.mock-editor { position: absolute; inset: 0; background: radial-gradient(120% 90% at 70% -10%, #2a2c33 0%, #1a1b1f 45%, #141518 100%); color: #d9dbe1; font-size: 11px; overflow: hidden; }
.mock-editor__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 14px; background: #0f1013; border-bottom: 1px solid rgb(255 255 255 / 0.06); font-size: 10px; }
.mock-editor__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.mock-editor__group { display: flex; align-items: center; gap: 6px; color: #9aa0ad; }
.mock-editor__pill { padding: 2px 8px; border-radius: 2px; background: rgb(255 255 255 / 0.07); }
.mock-editor__pill--accent { background: #2d81ff; color: #fff; }
.mock-editor__tools { display: flex; align-items: center; gap: 4px; padding: 6px 14px; background: #141519; border-bottom: 1px solid rgb(255 255 255 / 0.06); color: #9aa0ad; }
.mock-editor__tools span { padding: 3px 7px; border-radius: 2px; background: rgb(255 255 255 / 0.05); }
.mock-editor__viewport {
  position: absolute; inset: 62px 0 0 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: center;
}
.mock-editor__prompt { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(420px, 80%); border-radius: 10px; background: rgb(20 21 25 / 0.92); border: 1px solid rgb(255 255 255 / 0.1); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.mock-editor__prompt-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 9px; color: #8a909c; }
.mock-editor__chip { padding: 2px 6px; border-radius: 3px; background: rgb(255 255 255 / 0.08); }

.dl-platform__title { display: flex; align-items: center; gap: 0.75rem; color: var(--ink-strong); }
.dl-platform__title svg { width: 26px; height: 26px; }
.dl-platform__specs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.dl-platform__specs li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.dl-platform__specs svg { width: 14px; height: 14px; flex: none; }
.dl-platform .btn { margin-top: 1.5rem; height: 44px; }
.btn--block { width: 100%; }

/* --- /pricing ---------------------------------------------------------- */
.offer-bar { background: var(--accent); color: #fff; }
.offer-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.375rem 1.5rem; max-width: 1280px; margin-inline: auto; }
@media (min-width: 768px) { .offer-bar__inner { padding-inline: 2.5rem; } }
.offer-bar__tag { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.offer-bar__tag svg { width: 14px; height: 14px; }
.offer-bar__msg { font-size: 0.875rem; }
@media (max-width: 639px) { .offer-bar__msg { font-size: 12px; line-height: 1.4; } }

.billing-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; padding: 1rem 1.5rem 1.25rem; }
@media (min-width: 768px) { .billing-bar { padding-inline: 2.5rem; } }
.billing-toggle { display: flex; border: 1px solid var(--line-strong); }
.billing-toggle button { padding: 0.375rem 0.75rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; font-weight: 700; color: var(--muted); }
.billing-toggle button[data-active="true"] { background: var(--invert-bg); color: var(--invert-fg); }
.offer-chip { background: var(--accent); color: #fff; padding: 0.25rem 0.5rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; font-weight: 700; }
.billing-free { color: var(--accent-ink); }
.billing-usd { display: none; margin-left: auto; color: var(--faint); }
@media (min-width: 640px) { .billing-usd { display: block; } }

.plans { display: grid; gap: 1px; border-top: 1px solid var(--line); background: var(--line); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan { --plan: #00a873; --plan-ink: #007a54; display: flex; flex-direction: column; background: var(--bg); position: relative; }
.plan--basic { --plan: #00a873; --plan-ink: #007a54; }
.plan--pro { --plan: #9d4cff; --plan-ink: #7a2fe0; }
.plan--max { --plan: #d97700; --plan-ink: #b35f00; }
.plan--enterprise { --plan: #3568c9; --plan-ink: #2a55a8; }
.plan__flag { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--plan); color: #fff; padding: 0.5rem 1rem; }
.plan__flag .hud-label:first-child { font-weight: 700; }
.plan__flag .hud-label:last-child { opacity: 0.7; }
.plan__body {
  display: flex; flex: 1; flex-direction: column; padding: 1.25rem 1rem 1.5rem;
  background:
    linear-gradient(to bottom, color-mix(in srgb, var(--plan) 14%, transparent), color-mix(in srgb, var(--plan) 3%, transparent) 50%, transparent 80%),
    var(--bg);
}
.plan--pro .plan__body, .plan--max .plan__body { box-shadow: inset 0 0 0 2px var(--plan); }
.plan__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.plan__title-row h3 { color: var(--ink-strong); }
.plan__badge { background: var(--plan); color: #fff; padding: 2px 6px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; font-weight: 700; }
.plan__sub { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted); }
.plan__price { margin-top: 1rem; display: flex; align-items: baseline; gap: 2px; color: var(--ink-strong); }
.plan__was { font-size: 1rem; color: var(--muted); text-decoration: line-through; margin-right: 0.25rem; }
.plan__amount { font-family: var(--font-display); font-weight: 620; font-stretch: 118%; font-size: 3rem; letter-spacing: -0.03em; line-height: 1; }
.plan__per { font-size: 0.875rem; color: var(--muted); }
.plan__billing { margin-top: 0.5rem; color: var(--faint); }
.plan__cta { margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.375rem; background: var(--plan); color: #fff; height: 40px; font-family: var(--font-mono); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; transition: opacity 0.15s; }
.plan__cta:hover { opacity: 0.85; }
.plan__cta svg { width: 14px; height: 14px; }
.plan__cta-row { display: flex; gap: 1px; margin-top: 1rem; }
.plan__cta-row .plan__cta { margin-top: 0; flex: 1; }
.plan__cta-row .plan__cta--icon { flex: 0 0 40px; margin-left: 1px; }
.plan__what { margin-top: 2.125rem; color: var(--faint); }
.plan__features { margin-top: 0.5rem; display: flex; flex-direction: column; }
.plan__features li { display: flex; align-items: flex-start; gap: 0.5rem; padding: 3px 0; font-size: 0.875rem; color: var(--muted); }
.plan__features svg { width: 14px; height: 14px; flex: none; margin-top: 3px; padding: 1px; background: color-mix(in srgb, var(--plan) 16%, transparent); color: var(--plan-ink); }
.plan-perks { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; padding: 1rem 1.5rem; color: var(--muted); }
@media (min-width: 768px) { .plan-perks { padding-inline: 2.5rem; } }
.plan-perks span { display: flex; align-items: center; gap: 0.375rem; }
.plan-perks svg { width: 14px; height: 14px; color: var(--accent-ink); }

.credits-grid { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .credits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.credits-grid .cell { background: var(--bg); padding: 1.5rem 1.5rem 2rem; }
@media (min-width: 768px) { .credits-grid .cell { padding: 1.5rem 2.5rem 2.5rem; } }
.credits-grid h2 { margin-top: 1rem; color: var(--ink-strong); }
.credits-grid p { margin-top: 0.5rem; max-width: 28rem; line-height: 1.625; color: var(--muted); }
.credits-grid .btn { margin-top: 1.5rem; }
.credits-grid .credits-grid__foot { margin-top: 1rem; max-width: 28rem; }

/* --- /apps ------------------------------------------------------------- */
.btn-row__stack { display: flex; flex-direction: column; gap: 0.5rem; }
.btn-row .start-card__note { align-items: flex-start; }
.apps-note { margin-top: 1rem; max-width: 36rem; font-size: 1rem; line-height: 1.625; color: var(--muted); }
.share-row { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.share-row .hud-label { margin-right: 0.25rem; }
.apps-figure { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 0.75rem; width: fit-content; max-width: 100%; }
@media (min-width: 640px) { .apps-figure { gap: 1.5rem 1.25rem; justify-items: center; } }
@media (min-width: 1280px) { .apps-figure { margin-top: 0; flex-shrink: 0; } }
.app-figure { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; width: 72px; }
@media (min-width: 640px) { .app-figure { width: 80px; } }
.app-figure .art-icon { height: 56px; width: 56px; }
.app-figure__name { font-size: 11px; color: var(--muted); text-align: center; }
.app-figure:hover .app-figure__name { color: var(--ink); }

.app-lineup { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 640px) { .app-lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .app-lineup { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .app-lineup { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.app-tile { position: relative; display: flex; flex-direction: column; background: var(--bg); overflow: hidden; }
.app-tile__bar { position: absolute; left: 0; right: 0; top: 0; z-index: 10; height: 2px; background: var(--app); transform: scaleX(0); transform-origin: left center; transition: transform 0.3s; }
.app-tile:hover .app-tile__bar { transform: scaleX(1); }
.app-tile__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.75rem 1.5rem; }
.app-tile__num { background: var(--app); color: #000; padding: 0.25rem 0.5rem; font-weight: 700; }
.app-tile__cat { color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-tile__shot { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(150deg, color-mix(in srgb, var(--app) 55%, #2b2c33), #14151a); border-bottom: 1px solid var(--line); }
.app-tile__shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(to bottom, transparent, var(--bg)); }
.app-tile__body { position: relative; flex: 1; }
.app-tile__text { position: relative; z-index: 3; margin-top: -88px; padding: 0 1.5rem 1.5rem; }
@media (min-width: 768px) { .app-tile__text { padding: 0 2rem 2rem; } }
.app-tile__text .art-icon { display: inline-flex; height: 72px; width: 72px; border-radius: 16px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28)); transition: transform 0.3s ease-out; }
.app-tile:hover .app-tile__text .art-icon { transform: translateY(-0.25rem); }
.app-tile h3 { margin-top: 1rem; line-height: 1; font-family: var(--font-display); font-weight: 620; font-stretch: 118%; letter-spacing: -0.03em; color: var(--ink-strong); }
.app-tile h3 .craft { color: var(--app-ink); }
.app-tile__pitch { margin-top: 0.75rem; line-height: 1.625; color: var(--muted); }
.app-tile__tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.375rem; }
.tag { display: flex; width: fit-content; align-items: center; border: 1px solid var(--line); background: var(--bg-sunken); padding: 1px 0.375rem; font-family: var(--font-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--app-ink); }
.tag--plain { color: var(--faint); }
.app-tile__more { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.375rem; color: var(--ink); }
.app-tile__more svg { width: 14px; height: 14px; }

.next-up { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 1.5rem; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .next-up { flex-direction: row; align-items: flex-end; justify-content: space-between; padding-inline: 2.5rem; } }
.next-up h3 { margin-top: 1rem; font-family: var(--font-display); font-weight: 620; font-stretch: 118%; font-size: 1.875rem; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink-strong); }
.next-up p { margin-top: 0.75rem; max-width: 36rem; line-height: 1.625; color: var(--muted); }
.next-up .btn { width: fit-content; }
@media (max-width: 767px) { .next-up .btn { width: 100%; } }

/* support channel cards */
.channel { position: relative; }
.channel__icon { display: flex; height: 36px; width: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--ink); }
.channel__icon svg { width: 18px; height: 18px; }
.channel h2 { margin-top: 1.5rem; color: var(--ink-strong); }
.channel p { margin-top: 0.5rem; line-height: 1.625; color: var(--muted); }
.channel__link { margin-top: 1.5rem; }
.channel .card--pad p { max-width: none; }

/* keep phone layouts free of sideways scroll */
html, body { max-width: 100%; }

/* reveal stays off unless site.js turns the choreography on */
[data-reveal-now] { opacity: 1 !important; }
body[data-choreo="on"] [data-reveal-now]:not(.is-in) { opacity: 0 !important; }
body[data-choreo="on"] [data-reveal-now].is-in { opacity: 1 !important; transition: opacity 0.6s ease; }


/* --- corrections: full-bleed hero, reveal groups, launch tile ----------- */
.hero { margin-top: -49px; padding-top: 49px; }
.hero__stage { position: absolute; inset: 0; }
.hero__wrap { min-height: calc(100svh - 3rem); }

body[data-choreo="on"] [data-reveal] { opacity: 0; transform: translateY(14px); }
body[data-choreo="on"] [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* "Launch the studio" tile: square button + caption in the middle */
.card--launch .card__media { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.card--launch .card__media > .hud-label {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  object-fit: initial;
  text-align: center;
}
.card--launch .card__media > .square-btn {
  position: static;
  width: 56px;
  height: 56px;
  flex: none;
}
.card--launch .card__media .tick { position: absolute; }
.card--launch .card__media .tick--nw { left: 8px; top: 8px; }
.card--launch .card__media .tick--se { right: 8px; top: auto; bottom: 8px; left: auto; }

/* hero copy sits above the collage */
.hero__inner { position: relative; z-index: 40; }

/* ==========================================================================
   Support page: channel cards
   ========================================================================== */
.channel-grid { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.channel {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bg);
  transition: background-color 0.15s;
}
@media (min-width: 768px) { .channel { padding: 2rem; } }
.channel:hover { background: var(--bg-raised); }
.channel__icon {
  display: flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink);
}
.channel__icon svg { width: 18px; height: 18px; }
.channel__idx { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--faint); }
@media (min-width: 768px) { .channel__idx { top: 2rem; right: 2rem; } }
.channel h2 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 118%;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}
.channel p { margin-top: 0.5rem; line-height: 1.625; color: var(--muted); }
.channel__link { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.channel__link svg { width: 14px; height: 14px; }
.channel:hover .channel__link { color: var(--ink); }

/* ==========================================================================
   Download page
   ========================================================================== */
.dl-hero { display: flex; flex-direction: column; gap: 3rem; padding: 6.5rem 1.5rem 4.5rem; }
@media (min-width: 768px) { .dl-hero { padding: 7rem 2.5rem 5rem; } }
@media (min-width: 1280px) {
  .dl-hero { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 2.5rem; }
}
.dl-hero__copy { min-width: 0; flex: 1; }
.dl-hero__copy .btn-row { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.dl-note { margin-top: 1.25rem; color: var(--faint); }
.dl-aside {
  border: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 1.5rem;
  width: 100%;
}
@media (min-width: 1280px) { .dl-aside { width: 384px; flex-shrink: 0; } }
.dl-aside h2 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 118%;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  text-wrap: balance;
}
.dl-aside p { margin-top: 0.5rem; line-height: 1.625; color: var(--muted); }
.dl-aside .btn { margin-top: 1.5rem; }

.viewport-section .dl-viewport { position: relative; aspect-ratio: auto; height: 629px; width: 100%; overflow: hidden; background: var(--bg-sunken); border-top: 1px solid var(--line); }
.dl-viewport .mock-editor { position: absolute; inset: 0; }

.card--platform .card__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
@media (min-width: 768px) { .card--platform .card__body { padding: 1.5rem 2rem; } }
.platform-title { display: flex; align-items: center; gap: 0.75rem; }
.platform-icon { display: flex; height: 36px; width: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--ink); flex: none; }
.platform-icon svg { width: 20px; height: 20px; }
.spec-list { margin-top: 1.5rem; display: flex; flex: 1; flex-direction: column; gap: 0.625rem; }
.spec-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.spec-list svg { width: 16px; height: 16px; flex: none; }
.card--platform .btn { margin-top: 1.5rem; }

.steps-grid { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps-grid .cell { background: var(--bg); padding: 1.5rem; }
@media (min-width: 768px) { .steps-grid .cell { padding: 2rem; } }
.steps-grid h3 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 118%;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}
.steps-grid p { margin-top: 0.5rem; line-height: 1.625; color: var(--muted); }

/* editor mock-up */
.mock-editor {
  position: relative;
  background: radial-gradient(120% 90% at 70% -10%, #2a2c33 0%, #1a1b1f 45%, #141518 100%);
  color: #d9dbe1;
  font-size: 11px;
  overflow: hidden;
}
.mock-editor__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 14px; background: #0f1013; border-bottom: 1px solid rgb(255 255 255 / 0.06); font-size: 10px; }
.mock-editor__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.mock-editor__logo { width: 16px; height: 16px; background: #4e7bfb; display: inline-block; clip-path: polygon(0 62%, 38% 0, 100% 0, 62% 100%); }
.mock-editor__group { display: flex; align-items: center; gap: 6px; color: #9aa0ad; }
.mock-editor__pill { padding: 2px 8px; border-radius: 2px; background: rgb(255 255 255 / 0.07); }
.mock-editor__pill--accent { background: #2d81ff; color: #fff; }
.mock-editor__tools { display: flex; align-items: center; gap: 4px; padding: 6px 14px; background: #141519; border-bottom: 1px solid rgb(255 255 255 / 0.06); color: #9aa0ad; }
.mock-editor__tools span { padding: 3px 7px; border-radius: 2px; background: rgb(255 255 255 / 0.05); }
.mock-editor__spacer { flex: 1; }
.mock-editor__viewport {
  position: absolute;
  inset: 62px 0 0 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: center;
  perspective: 600px;
}
.mock-editor__prompt {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(420px, 80%);
  border-radius: 10px;
  background: rgb(20 21 25 / 0.92);
  border: 1px solid rgb(255 255 255 / 0.1);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-editor__prompt-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 9px; color: #8a909c; }

/* ==========================================================================
   Apps page
   ========================================================================== */
.apps-hero { display: flex; flex-direction: column; gap: 3rem; padding: 3.5rem 1.5rem 4rem; }
@media (min-width: 768px) { .apps-hero { padding: 5rem 2.5rem 4rem; } }
@media (min-width: 1280px) {
  .apps-hero { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 2.5rem; padding-top: 4rem; }
}
.apps-hero__copy { min-width: 0; flex: 1; }
.apps-hero__copy .lede { max-width: 36rem; }
.apps-hero__meta { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.25rem; }
.apps-hero__meta .hud-label { color: var(--faint); }
.apps-hero__meta .link-sm { font-size: 0.875rem; color: var(--muted); text-decoration: underline; }
.apps-hero__meta .link-sm:hover { color: var(--ink); }
.apps-hero__note { margin-top: 1rem; max-width: 36rem; line-height: 1.625; color: var(--muted); }
.apps-hero__note a { color: var(--ink); }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.5rem; }
.share-row .hud-label { margin-right: 0.25rem; color: var(--faint); }

.apps-figure { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 0.75rem; width: fit-content; }
@media (min-width: 640px) { .apps-figure { gap: 1.5rem 1.25rem; } }
@media (min-width: 1280px) { .apps-figure { flex-shrink: 0; } }
.app-figure { display: flex; width: 72px; flex-direction: column; align-items: center; gap: 0.5rem; }
@media (min-width: 640px) { .app-figure { width: 80px; } }
.app-figure .art-icon { height: 56px; width: 56px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28)); transition: transform 0.3s ease-out; }
.app-figure:hover .art-icon { transform: translateY(-0.25rem); }
.app-figure span:last-child { font-size: 0.6875rem; color: var(--muted); text-align: center; }
.app-figure:hover span:last-child { color: var(--ink); }

.lineup { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 640px) { .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .lineup { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.app-tile { position: relative; display: flex; flex-direction: column; background: var(--bg); overflow: hidden; }
.app-tile__bar { position: absolute; left: 0; right: 0; top: 0; z-index: 6; height: 2px; background: var(--app); transform: scaleX(0); transform-origin: left center; transition: transform 0.3s; }
.app-tile:hover .app-tile__bar { transform: scaleX(1); }
.app-tile__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.75rem 1.5rem; }
.app-tile__shot { position: relative; height: 198px; overflow: hidden; background: var(--bg-sunken); }
.app-tile__body { position: relative; flex: 1; }
.app-tile__text { position: relative; z-index: 5; margin-top: -36px; padding: 0 1.5rem 1.5rem; }
@media (min-width: 768px) { .app-tile__text { padding: 0 2rem 2rem; } }
.app-tile__text .art-icon { height: 72px; width: 72px; }
.app-tile h3 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 620;
  font-stretch: 118%;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
}
.app-tile__text > p { margin-top: 0.75rem; line-height: 1.625; color: var(--muted); }
.app-tile__tags { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 1rem; }
.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--bg-sunken);
  padding: 1px 0.375rem;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--app-ink);
}
.tag--share { color: var(--faint); }
.app-tile__more { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 1rem; color: var(--ink); }
.app-tile__more svg { width: 14px; height: 14px; }

.next-up { display: flex; flex-direction: column; gap: 1rem; border-top: 1px solid var(--line); padding: 2rem 1.5rem; }
@media (min-width: 768px) { .next-up { flex-direction: row; align-items: flex-end; justify-content: space-between; padding: 2.5rem; } }
.next-up h3 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 118%;
  font-size: 1.875rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
}
.next-up p { margin-top: 0.75rem; max-width: 36rem; line-height: 1.625; color: var(--muted); }
.next-up .btn { width: fit-content; }
@media (max-width: 767px) { .next-up .btn { width: 100%; } }

.principles-grid { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .principles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.principles-grid .cell { position: relative; background: var(--bg); padding: 1.5rem; }
@media (min-width: 768px) { .principles-grid .cell { padding: 2rem; } }
.principle__icon { display: flex; height: 36px; width: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--ink); }
.principle__icon svg { width: 20px; height: 20px; }
.principle__num { position: absolute; top: 1.5rem; right: 1.5rem; }
@media (min-width: 768px) { .principle__num { top: 2rem; right: 2rem; } }
.principles-grid h3 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 118%;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}
.principles-grid .cell > p { margin-top: 0.5rem; line-height: 1.625; color: var(--muted); }

/* ==========================================================================
   Pricing page
   ========================================================================== */
.offer-bar { background: var(--accent); color: #fff; }
.offer-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.375rem 1.5rem;
  max-width: 1280px;
  margin-inline: auto;
}
@media (min-width: 768px) { .offer-bar__inner { padding-left: 2.5rem; padding-right: 2.5rem; } }
.offer-bar__tag { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.offer-bar__tag svg { width: 14px; height: 14px; }
.offer-bar__msg { font-size: 0.875rem; }

.plans-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.25rem;
}
@media (min-width: 768px) { .plans-bar { padding-left: 2.5rem; padding-right: 2.5rem; } }
.billing-toggle { display: flex; border: 1px solid var(--line-strong); }
.billing-toggle button {
  padding: 0.25rem 1rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.billing-toggle button[data-active="true"] { background: var(--invert-bg); color: var(--invert-fg); }
.plans-bar__note { background: var(--accent); color: #fff; padding: 0.25rem 0.5rem; }
.plans-bar__free { color: var(--accent-ink); }
.plans-bar__usd { display: none; margin-left: auto; color: var(--faint); }
@media (min-width: 640px) { .plans-bar__usd { display: block; } }

.plans-grid { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .plans-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan { --plan: #00a873; --plan-ink: #007a54; display: flex; flex-direction: column; background: var(--bg); }
.plan--basic { --plan: #00a873; --plan-ink: #007a54; }
.plan--pro { --plan: #9d4cff; --plan-ink: #7a2fe0; }
.plan--max { --plan: #d97700; --plan-ink: #b35f00; }
.plan--enterprise { --plan: #3568c9; --plan-ink: #2a55a8; }
.plan__flag { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--plan); color: #fff; padding: 0.5rem 1rem; }
.plan__flag .hud-label:first-child { font-weight: 700; }
.plan__flag .hud-label:last-child { opacity: 0.7; font-weight: 500; }
.plan__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1rem 1.5rem;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--plan) 14%, transparent), transparent 50%), var(--bg);
}
.plan--highlight .plan__body { box-shadow: inset 0 0 0 2px var(--plan); }
.plan__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.plan__badge { background: var(--plan); color: #fff; padding: 0.125rem 0.375rem; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.plan h3 { font-family: var(--font-display); font-weight: 500; font-stretch: 118%; font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink-strong); }
.plan__sub { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted); }
.plan__sub--custom { font-family: var(--font-display); font-weight: 620; font-stretch: 118%; font-size: 3rem; line-height: 1; letter-spacing: -0.03em; color: var(--ink-strong); margin-top: 0.5rem; }
.plan__price { margin-top: 1rem; display: flex; align-items: baseline; gap: 2px; color: var(--ink-strong); }
.plan__was { font-size: 1rem; color: var(--muted); text-decoration: line-through; margin-right: 0.25rem; }
.plan__amount { font-family: var(--font-display); font-weight: 620; font-stretch: 118%; font-size: 3rem; letter-spacing: -0.03em; line-height: 1; }
.plan__per { font-size: 0.875rem; color: var(--muted); }
.plan__billing { margin-top: 0.5rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--faint); }
.plan__billing b { color: var(--plan-ink); }
.plan__cta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  background: var(--plan);
  color: #fff;
  height: 48px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  transition: opacity 0.15s;
}
.plan__cta:hover { opacity: 0.85; }
.plan__cta svg { width: 14px; height: 14px; }
.plan__cta-row { display: flex; gap: 1px; margin-top: 1rem; }
.plan__cta-row .plan__cta { margin-top: 0; flex: 1; }
.plan__cta-row .plan__cta--icon { flex: 0 0 48px; border-left: 1px solid rgb(255 255 255 / 0.35); }
.plan__what { margin-top: 2.125rem; color: var(--faint); }
.plan__features { margin-top: 0.5rem; display: flex; flex-direction: column; }
.plan__features li { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.1875rem 0; font-size: 0.875rem; color: var(--muted); }
.plan__features svg { width: 12px; height: 12px; flex: none; margin-top: 4px; padding: 1px; color: var(--plan-ink); background: color-mix(in srgb, var(--plan) 16%, transparent); }

.plan-perks { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; padding: 1rem 1.5rem; color: var(--muted); }
@media (min-width: 768px) { .plan-perks { padding-left: 2.5rem; padding-right: 2.5rem; } }
.plan-perks li { display: flex; align-items: center; gap: 0.375rem; }
.plan-perks svg { width: 14px; height: 14px; color: var(--accent-ink); }

.credits-grid { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .credits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.credits-grid .cell { background: var(--bg); padding: 1.5rem; }
@media (min-width: 768px) { .credits-grid .cell { padding: 1.5rem 2.5rem 2.5rem; } }
.credits-grid h2 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 118%;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}
.credits-grid .cell > p { margin-top: 0.5rem; max-width: 28rem; line-height: 1.625; color: var(--muted); }
.credits-grid__note { margin-top: 1rem !important; }
.credits-grid .btn { margin-top: 1.5rem; }
