/* Self-hosted fonts (SIL Open Font License, see /fonts/*-OFL.txt) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/inter-latin.c9407645.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: "JetBrains Mono"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("/fonts/jetbrains-mono-latin.2c32b9b3.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; }

/* Layout: a sticky nav bar with every project, a centred hero, then either a 2x2 grid of app tiles (home)
   or a product page per app: hero, animated stage, feature grid, details, closing call to action. */
:root {
  --bg: #f5f5f7;
  --tile: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --link: #0066cc;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --on-blue: #ffffff;
  --nav: rgba(245, 245, 247, .8);
  --f: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --tile: #1d1d1f; --ink: #f5f5f7; --muted: #a1a1a6; --line: #424245;
    --link: #2997ff; --blue: #0071e3; --blue-hover: #0077ed; --on-blue: #ffffff;
    --nav: rgba(22, 22, 23, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --tile: #1d1d1f; --ink: #f5f5f7; --muted: #a1a1a6; --line: #424245;
  --link: #2997ff; --blue: #0071e3; --blue-hover: #0077ed; --on-blue: #ffffff;
  --nav: rgba(22, 22, 23, .8);
  color-scheme: dark;
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.gutter {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Nav bar */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--nav);
}
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  background: var(--nav);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.nav-in {
  max-width: 1024px; margin: 0 auto; min-height: 48px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "home links gh";
  align-items: center; gap: 16px;
}
.nav a { color: var(--ink); font-size: 12px; letter-spacing: -.01em; opacity: .8; }
.nav a:hover { opacity: 1; text-decoration: none; }
.nav .home { grid-area: home; display: inline-flex; align-items: center; opacity: 1; width: fit-content; }
.nav .home .logo { display: block; width: 28px; height: 30px; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.nav .home:hover .logo { transform: rotate(-8deg) scale(1.08); }
.logo-cream circle { fill: #fff7ee; stroke: #e7cdb9; stroke-width: 1.1; }
.nav .links {
  grid-area: links; display: flex; justify-content: center; gap: 30px;
  min-width: 0; overflow-x: auto; scrollbar-width: none;
}
.nav .links::-webkit-scrollbar { display: none; }
.nav .links a { white-space: nowrap; padding-block: 4px; }
.nav .links a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav .tools { grid-area: gh; display: flex; align-items: center; gap: 6px; }
.nav .gh, .theme-toggle { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink); opacity: .8; }
.nav .gh:hover, .theme-toggle:hover { opacity: 1; background: color-mix(in srgb, var(--line) 45%, transparent); }
.nav .gh svg { width: 19px; height: 19px; }
.theme-toggle { appearance: none; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; font: inherit; transition: background-color .2s ease; }
.theme-toggle svg { width: 18px; height: 18px; }
/* Show the icon of the mode you would switch to: a moon in light mode, a sun in dark mode */
.theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
html:not(.theme-ready) .theme-toggle { visibility: hidden; }

/* Shared type and buttons */
.pill {
  display: inline-block; padding: 11px 22px; border-radius: 980px;
  background: var(--blue); color: var(--on-blue);
  font-size: 17px; line-height: 1.17; font-weight: 400; letter-spacing: -.02em;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.pill:hover { background: var(--blue-hover); text-decoration: none; }
.more { font-size: 17px; white-space: nowrap; }
.more::after { content: " ›"; }
.cta { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }

/* Home hero */
.hero { text-align: center; padding-block: 88px 64px; }
h1 {
  margin: 0;
  font-size: clamp(48px, 10vw, 96px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.045em;
  text-wrap: balance;
}

/* Footer */
.foot { max-width: 1024px; margin: 0 auto; padding-block: 40px 48px; font-size: 12px; color: var(--muted); letter-spacing: -.01em; }
.foot-in { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot a { color: var(--ink); }

/* Product page */
.p-hero { text-align: center; padding-block: 72px 48px; }
.p-icon { display: block; width: 112px; height: 112px; margin: 0 auto 22px; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.p-icon img, .p-icon svg { width: 100%; height: 100%; display: block; }
.p-hero h1 { font-size: clamp(34px, 10.5vw, 96px); animation: rise .9s .08s cubic-bezier(.2,.8,.2,1) both; }
.p-hero .headline {
  margin: 10px auto 0; max-width: 22ch;
  font-size: clamp(26px, 4.4vw, 40px); line-height: 1.12; font-weight: 600; letter-spacing: -.03em;
  text-wrap: balance;
  animation: rise .9s .16s cubic-bezier(.2,.8,.2,1) both;
}
.p-hero .intro { margin: 18px auto 0; max-width: 54ch; font-size: 19px; color: var(--muted); animation: rise .9s .24s cubic-bezier(.2,.8,.2,1) both; }
.p-hero .cta { margin-top: 28px; animation: rise .9s .32s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

.stage-wrap { max-width: 1024px; margin: 0 auto; }
.stage {
  position: relative; overflow: hidden;
  border-radius: 28px;
  height: clamp(380px, 52vw, 540px);
  isolation: isolate;
}

.section { max-width: 1024px; margin: 0 auto; padding-block: 96px 0; }
.section h2 { margin: 0 0 32px; font-size: clamp(32px, 5vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -.035em; text-align: center; text-wrap: balance; }
.feats { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feats.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feats.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat { background: var(--tile); border-radius: 18px; padding: 28px 26px; min-width: 0; }
.feat h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.feat p { margin: 0; color: var(--muted); font-size: 16px; }
.feat .dot { display: block; width: 10px; height: 10px; border-radius: 50%; margin-bottom: 18px; background: var(--blue); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line); padding-top: 32px; }
.facts h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: -.01em; }
.facts p { margin: 0; font-size: 17px; }

.closer { text-align: center; padding-block: 112px 24px; }
.closer h2 { margin: 0 0 24px; font-size: clamp(32px, 5vw, 48px); font-weight: 700; letter-spacing: -.035em; }

/* Shared stage pieces */
.cursor { position: absolute; width: 22px; height: 22px; z-index: 5; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); }
.menubar {
  position: absolute; inset: 0 0 auto; height: 30px; padding-inline: 18px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.85); background: rgba(255,255,255,.07);
}
.menubar span:first-child { font-weight: 600; }
/* Captions naming the feature on screen (timings generated per stage) */
.cap { position: absolute; left: 16px; right: 16px; bottom: 14px; height: 30px; pointer-events: none; z-index: 6; }
.cap span {
  position: absolute; left: 0; bottom: 0; max-width: 100%;
  padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 12.5px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0;
}
.cap span b { color: #ffd60a; font-weight: 600; }

@media (max-width: 900px) {
  .feats.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  .nav-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "home gh" "links links"; gap: 0 16px; padding-top: 10px; }
  .nav .links { justify-content: flex-start; gap: 22px; padding-block: 8px 10px; }
  .hero { padding-block: 56px 44px; }
  .p-hero { padding-block: 48px 36px; }
  .p-icon { width: 92px; height: 92px; }
  .stage { border-radius: 20px; height: 440px; }
  .section { padding-block: 64px 0; }
  .feats, .feats.cols-2, .feats.cols-4 { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .closer { padding-block: 72px 16px; }
  .cap span { white-space: normal; border-radius: 14px; }
  .cap { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Accessibility helpers ---------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); top: calc(env(safe-area-inset-top, 0px) + 8px); z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg);
  font-size: 15px; font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip:focus, .skip:focus-visible { transform: none; text-decoration: none; outline: 2px solid var(--blue); outline-offset: 2px; }
main:focus { outline: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Product stages: pause control and off-screen pausing (stage.js) ---------- */
.stage-frame { position: relative; }
.stage-toggle {
  position: absolute; right: 14px; bottom: 14px; z-index: 8;
  display: none; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .58); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
}
html.stage-js .stage-toggle { display: grid; }
.stage-toggle:hover { background: rgba(0, 0, 0, .72); }
.stage-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.stage-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.stage-toggle .i-play { display: none; }
.stage-toggle[aria-pressed="true"] .i-play { display: block; }
.stage-toggle[aria-pressed="true"] .i-pause { display: none; }
.cap { right: 64px; }
.stage.is-paused, .stage.is-paused *, .stage.is-paused *::before, .stage.is-paused *::after,
.stage.is-off, .stage.is-off *, .stage.is-off *::before, .stage.is-off *::after { animation-play-state: paused !important; }

/* ---------- 404 ---------- */
.nf-apps { list-style: none; margin: 36px auto 0; padding: 0; max-width: 720px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; text-align: left; }
.nf-apps a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--tile); color: var(--ink); }
.nf-apps a:hover { text-decoration: none; box-shadow: 0 0 0 1px var(--line); }
.nf-apps img, .nf-apps svg { width: 48px; height: 48px; display: block; }
.nf-apps b { display: block; font-size: 17px; }
.nf-apps small { display: block; font-size: 13px; color: var(--muted); }
.nf-lede { margin: 14px auto 0; max-width: 46ch; color: var(--muted); font-size: 19px; }
@media (max-width: 734px) { .nf-apps { grid-template-columns: minmax(0, 1fr); } }


@media (prefers-reduced-motion: reduce) {
  .skip { transition: none; }
  .stage .cursor, .ghost { display: none; }
}

/* ================= Navigation (Phase 2) ================= */
/* Global bar: logo | Apps menu | tools */
.nav-in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "home links gh"; }
.nav .links { display: none; }
.apps-menu { grid-area: links; justify-self: center; position: static; }
.apps-btn {
  appearance: none; border: 0; background: none; cursor: pointer; font: inherit;
  display: inline-flex; align-items: center; gap: 5px;
  height: 32px; padding: 0 12px; border-radius: 16px;
  color: var(--ink); font-size: 13px; letter-spacing: -.01em; opacity: .85;
}
.apps-btn:hover, .apps-menu.open .apps-btn, .apps-btn[aria-expanded="true"] { opacity: 1; background: color-mix(in srgb, var(--line) 45%, transparent); }
.apps-btn svg { width: 10px; height: 10px; transition: transform .25s ease; }
.apps-menu.open .apps-btn svg { transform: rotate(180deg); }
.apps-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--nav); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  padding: 22px max(16px, env(safe-area-inset-right, 0px)) 28px max(16px, env(safe-area-inset-left, 0px));
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.apps-panel ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1024px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.apps-panel a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; color: var(--ink); opacity: 1; }
.apps-panel a:hover, .apps-panel a:focus-visible { text-decoration: none; background: color-mix(in srgb, var(--line) 40%, transparent); }
.apps-panel img, .apps-panel svg { width: 48px; height: 48px; display: block; }
.apps-panel b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.apps-panel small { display: block; font-size: 12px; line-height: 1.35; color: var(--muted); margin-top: 2px; }
.apps-panel .panel-foot { max-width: 1024px; margin: 14px auto 0; padding: 12px 12px 0; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); display: flex; gap: 24px; font-size: 12px; }
.apps-panel .panel-foot a { display: inline; padding: 0; color: var(--link); background: none; }
/* Without JavaScript the menu still opens on hover and keyboard focus */
html:not(.nav-js) .apps-menu:hover .apps-panel, html:not(.nav-js) .apps-menu:focus-within .apps-panel,
.apps-menu.open .apps-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .22s ease, visibility 0s; }
.nav-scrim { position: fixed; inset: 0; z-index: 8; background: rgba(0, 0, 0, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility 0s linear .22s; }
.nav-scrim.on { opacity: 1; visibility: visible; transition: opacity .22s ease, visibility 0s; }

/* Hamburger + full-screen menu (phones) */
.menu-btn { display: none; }
.mnav { display: none; }
@media (max-width: 734px) {
  .nav-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "home gh"; gap: 16px; padding-top: 0; min-height: 48px; }
  .apps-menu { display: none; }
  .menu-btn {
    display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
    color: var(--ink); opacity: .85;
  }
  .menu-btn:hover { opacity: 1; text-decoration: none; background: color-mix(in srgb, var(--line) 45%, transparent); }
  .menu-btn svg { width: 18px; height: 18px; }
  .mnav {
    display: block; position: fixed; inset: 0; z-index: 60; overflow-y: auto;
    background: var(--bg);
    padding: calc(env(safe-area-inset-top, 0px) + 8px) max(20px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 28px) max(20px, env(safe-area-inset-left, 0px));
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .mnav:target, .mnav.open { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s; }
  .mnav-top { display: flex; justify-content: space-between; align-items: center; min-height: 40px; }
  .mnav-close { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink); }
  .mnav-close:hover { text-decoration: none; background: color-mix(in srgb, var(--line) 45%, transparent); }
  .mnav-close svg { width: 18px; height: 18px; }
  .mnav ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 4px; }
  .mnav li { opacity: 0; transform: translateY(-10px); }
  .mnav:target li, .mnav.open li { animation: mnavIn .42s cubic-bezier(.2,.8,.2,1) forwards; }
  .mnav li:nth-child(2) { animation-delay: .04s !important; }
  .mnav li:nth-child(3) { animation-delay: .08s !important; }
  .mnav li:nth-child(4) { animation-delay: .12s !important; }
  .mnav li:nth-child(5) { animation-delay: .16s !important; }
  .mnav li:nth-child(6) { animation-delay: .2s !important; }
  .mnav li:nth-child(7) { animation-delay: .24s !important; }
  .mnav li:nth-child(8) { animation-delay: .28s !important; }
  @keyframes mnavIn { to { opacity: 1; transform: none; } }
  .mnav li a { display: flex; align-items: center; gap: 14px; padding: 12px 4px; color: var(--ink); font-size: 26px; font-weight: 600; letter-spacing: -.02em; border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
  .mnav li a:hover { text-decoration: none; color: var(--link); }
  .mnav li img, .mnav li svg { width: 40px; height: 40px; flex: none; }
  .mnav li.sub a { font-size: 17px; font-weight: 500; color: var(--muted); }
  html.menu-open, html.menu-open body { overflow: hidden; }
}

/* ================= Product pages: sticky local nav ================= */
.lnav {
  position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h, 49px)); z-index: 7;
  background: var(--nav); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
:root { --nav-h: 49px; }
html.nav-js .lnav:not(.show) { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.lnav-in { max-width: 1024px; margin: 0 auto; min-height: 52px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.lnav-title { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.lnav-title:hover { text-decoration: none; }
.lnav-title img, .lnav-title svg { width: 28px; height: 28px; display: block; }
.lnav-links { display: flex; justify-content: center; gap: 26px; }
.lnav-links a { color: var(--ink); font-size: 13px; opacity: .72; padding: 6px 0; border-bottom: 2px solid transparent; }
.lnav-links a:hover { opacity: 1; text-decoration: none; }
.lnav-links a[aria-current="true"] { opacity: 1; border-bottom-color: var(--accent, var(--blue)); }
.pill.small { padding: 6px 14px; font-size: 13px; }
.lnav-more { display: none; }
[id="overview"], [id="features"], [id="specs"], [id="faq"] { scroll-margin-top: calc(var(--nav-h, 49px) + 64px); }
@media (max-width: 734px) {
  .lnav-in { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; min-height: 48px; }
  .lnav-title { font-size: 17px; }
  .lnav-links { display: none; }
  .lnav-more {
    display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
    background: none; color: var(--ink); cursor: pointer;
  }
  .lnav-more svg { width: 12px; height: 12px; transition: transform .25s ease; }
  .lnav.expanded .lnav-more svg { transform: rotate(180deg); }
  .lnav.expanded .lnav-links {
    display: grid; grid-column: 1 / -1; justify-content: stretch; gap: 0; padding-bottom: 8px;
  }
  .lnav.expanded .lnav-links a { font-size: 17px; padding: 12px 2px; border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
  .lnav.expanded .lnav-links a[aria-current="true"] { color: var(--link); }
  html:not(.nav-js) .lnav-more { display: none; }
  html:not(.nav-js) .lnav-links { display: flex; grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .apps-panel, .nav-scrim, .mnav, .lnav { transition: none; }
  .mnav li { opacity: 1; transform: none; }
}
@media (max-width: 734px) {
  .lnav .lnav-title, .lnav .pill, .lnav-more { grid-row: 1; }
  .lnav.expanded .lnav-links { grid-row: 2; }
}
.mnav-top .home { display: inline-flex; align-items: center; }
.mnav-top .home .logo { display: block; width: 28px; height: 30px; }

/* ================= Footer (Phase 7) ================= */
.foot { max-width: 1024px; margin: 0 auto; padding-block: 56px 40px; font-size: 12px; color: var(--muted); letter-spacing: -.01em; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 220px)); gap: 24px; padding-bottom: 28px; border-top: 1px solid var(--line); padding-top: 28px; }
.foot-col h2 { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: var(--muted); font-size: 12px; }
.foot-col a:hover { color: var(--ink); }
.foot-in { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.foot-in span { max-width: 70ch; }
@media (max-width: 734px) {
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}

/* Cross-page view transitions: a short fade, and the app icon moves between the home tile and the product hero */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
.vt-notchevsr { view-transition-name: icon-notchevsr; }
.vt-claudenotchev { view-transition-name: icon-claudenotchev; }
.vt-vinylev { view-transition-name: icon-vinylev; }
.vt-quickroulettespin { view-transition-name: icon-quickroulettespin; }
