/* Folderite landing page. Light by default, dark under prefers-color-scheme. */
:root {
  --bg0: #f5f6f8;
  --bg1: #ffffff;
  --bg2: #eef0f4;
  --bg3: #e4e7ec;
  --line: rgba(17, 24, 39, .08);
  --line2: rgba(17, 24, 39, .15);
  --text: #15171c;
  --body: #3b414c;
  --sub: #646b77;
  --yellow: #c98a00;          /* folder yellow, darkened for text on light */
  --yellow-fill: #f2b632;
  --amber: #e0670a;
  --blue: #0a6cd6;
  --blue-2: #3d9bff;
  --link: #0a5fc0;
  --link-hover: #084c99;
  --wash: rgba(10, 108, 214, .07);
  --glass: rgba(255, 255, 255, .78);
  --shadow: 0 24px 60px rgba(17, 24, 39, .16), 0 2px 6px rgba(17, 24, 39, .06);
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, .08);
  --dot: rgba(17, 24, 39, .13);
  --orb-y: rgba(242, 182, 50, .42);
  --orb-b: rgba(61, 155, 255, .30);
  --spot: rgba(242, 182, 50, .16);
  --stage: #d9e2ec;           /* backdrop baked into every screenshot */
  --radius: 12px;
  --font: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", Consolas, "Courier New", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg0: #141416;
    --bg1: #1a1b1e;
    --bg2: #222327;
    --bg3: #2c2d32;
    --line: rgba(255, 255, 255, .07);
    --line2: rgba(255, 255, 255, .14);
    --text: #f0f0f0;
    --body: #c8c9ce;
    --sub: #92949a;
    --yellow: #ffcf4a;
    --amber: #ff9f43;
    --blue: #2f8cf5;
    --blue-2: #5aaeff;
    --link: #6cb4ff;
    --link-hover: #a3d0ff;
    --wash: rgba(61, 155, 255, .09);
    --glass: rgba(26, 27, 30, .80);
    --shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 60px rgba(61, 155, 255, .06);
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, .3);
    --dot: rgba(255, 255, 255, .11);
    --orb-y: rgba(242, 182, 50, .30);
    --orb-b: rgba(61, 155, 255, .28);
    --spot: rgba(255, 207, 74, .10);
    --stage: #1f242c;         /* dark capture backdrop, see tools/screenshots/capture.ps1 */
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg0);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
h1, h2, h3, p, figure { margin: 0; }
code, kbd {
  font: 500 .86em var(--mono);
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--bg2);
  border: 1px solid var(--line);
  white-space: nowrap;
}
kbd { border-bottom-width: 2px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 96px; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  padding: 8px 14px; background: var(--blue); color: #fff; border-radius: 6px; font-weight: 600;
}
.skip:focus { left: 8px; }
.sprite { position: absolute; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 10px;
  background: var(--bg1); border: 1px solid var(--line2); color: var(--text);
  font: 600 15px var(--font); white-space: nowrap; text-decoration: none;
  transition: border-color .15s, color .15s, background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { color: var(--text); border-color: var(--blue); background: var(--wash); }
.btn:active { transform: translateY(1px); }
.btn.primary {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--blue-2) 0%, var(--blue) 60%, #0757b0 100%);
  border-color: transparent; color: #fff; font-weight: 700;
  box-shadow: 0 0 0 1px rgba(10, 108, 214, .35), 0 8px 24px rgba(10, 108, 214, .30);
}
.btn.primary::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn.primary:hover {
  color: #fff;
  box-shadow: 0 0 0 1px rgba(10, 108, 214, .55), 0 12px 36px rgba(10, 108, 214, .45);
  transform: translateY(-1px);
}
.btn.primary:hover::after { transform: translateX(120%); }
.btn.big { height: 50px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn .ver { font: 600 12px var(--mono); opacity: .8; }
.btn-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gh-mark { flex: none; }


.eyebrow, .badge, .tagline, .compat li, .strip-label {
  font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase;
}

/* ------------------------------------------------------------ top bar */
.top {
  position: sticky; top: 0; z-index: 50;
  height: 78px; margin-bottom: -78px;
  padding: 12px 20px 0;
  pointer-events: none;
}
.top-inner {
  position: relative; overflow: hidden;
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  height: 62px; padding: 0 10px 0 16px;
  border: 1px solid transparent; border-radius: 16px;
  transition: background .25s, border-color .25s, box-shadow .25s;
  pointer-events: auto;
}
.top.scrolled .top-inner {
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--line2);
  box-shadow: var(--shadow-sm);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font: 800 19px var(--display); letter-spacing: -.02em;
}
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 2px; margin: 0 auto; }
.nav a {
  color: var(--body); text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 8px 14px; border-radius: 10px;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: var(--wash); }
.top .btn { height: 42px; }
.progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--yellow-fill), var(--amber), var(--blue-2));
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
  opacity: 0; transition: opacity .25s;
}
.top.scrolled .progress { opacity: 1; }

/* ------------------------------------------------------------ parallax */
/* site.js sets --py on [data-depth] elements; `translate` composes with any `transform`. */
[data-depth] { translate: 0 var(--py, 0px); will-change: translate; }

/* ------------------------------------------------------------ hero */
.hero-wrap { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.layer { position: absolute; inset: -10% 0; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
  animation: drift 26s ease-in-out infinite alternate;
}
.orb-a { width: 560px; height: 560px; left: max(-10%, calc(50% - 760px)); top: 6%; background: var(--orb-y); }
.orb-b { width: 520px; height: 520px; right: max(-12%, calc(50% - 760px)); top: 26%; background: var(--orb-b); animation-duration: 32s; animation-delay: -10s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.1); }
  100% { transform: translate(-40px, 40px) scale(.95); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 900px 55% at 50% 42%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 900px 55% at 50% 42%, #000 15%, transparent 72%);
}
.hero-spot {
  position: absolute; inset: 0;
  background: radial-gradient(460px circle at var(--mx, 70%) var(--my, 40%), var(--spot), transparent 70%);
}
.hero {
  min-height: min(100vh, 900px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
  padding: 128px 32px 80px;
  max-width: 1180px;
  margin: 0 auto;
}
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 12px; border-radius: 99px;
  color: var(--body); background: var(--glass); border: 1px solid var(--line2);
  letter-spacing: .1em;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--yellow-fill);
  box-shadow: 0 0 0 0 rgba(242, 182, 50, .6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 182, 50, .55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(242, 182, 50, 0); }
}
.hero h1 {
  font: 800 clamp(3.4rem, 8vw, 6.4rem)/.95 var(--display);
  letter-spacing: -.045em;
  padding-bottom: .06em;
}
.tagline { color: var(--yellow); font-size: 13px; }
.lede { font-size: 19px; line-height: 1.55; color: var(--body); max-width: 33em; }
.lede strong { color: var(--text); }
.compat {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.compat li { color: var(--sub); letter-spacing: .08em; font-size: 11.5px; display: flex; align-items: center; gap: 8px; }
.compat li + li::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line2); margin-left: -10px;
}

/* Layered screenshots: the parallax showpiece. */
.hero-art {
  position: relative;
  aspect-ratio: 1100 / 860;
  perspective: 1400px;
}
.shot {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--stage);
  border: 1px solid var(--line2);
  box-shadow: var(--shadow);
}
.shot img { width: 100%; }
/* Trim the backdrop baked into menu.png so the window reads larger. */
.shot-front img { width: 110%; max-width: none; margin: -3% -5.5% -5%; }
.shot-back {
  width: 64%; right: -4%; top: -2%;
  opacity: .9;
  transform: rotate(3deg);
}
.shot-front {
  width: 92%; left: 0; bottom: 0;
  transform: rotateY(calc(-7deg + var(--ry, 0deg))) rotateX(calc(3deg + var(--rx, 0deg)));
  transition: transform .6s var(--ease);
}
.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 99px;
  font: 600 14px var(--font); color: var(--text);
  background: var(--glass); border: 1px solid var(--line2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.chip i {
  width: 22px; height: 22px; border-radius: 7px; flex: none;
  display: grid; place-items: center; font-style: normal; font-size: 12px; color: #fff;
}
.chip-1 { left: -4%; top: 12%; }
.chip-1 i { background: var(--yellow-fill); color: #5a3d00; }
.chip-2 { right: 2%; top: 46%; }
.chip-2 i { background: var(--blue); }
.chip-3 { left: 6%; bottom: -5%; }
.chip-3 i { background: #7c5cff; }
.chip-4 { right: -2%; bottom: 8%; }
.chip-4 i { background: #18a058; }

/* ------------------------------------------------------------ strip */
.strip {
  max-width: 1180px; margin: 0 auto; padding: 8px 32px 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px;
}
.strip-label { color: var(--sub); margin-right: 6px; }
.strip ul { list-style: none; margin: 0; padding: 0; display: contents; }
.strip li {
  padding: 6px 14px; border-radius: 99px;
  background: var(--bg1); border: 1px solid var(--line);
  color: var(--body); font-size: 14.5px; font-weight: 600;
}

/* ------------------------------------------------------------ sections */
.section {
  max-width: 1120px; margin: 0 auto;
  padding: 96px 32px;
  border-top: 1px solid var(--line);
}
.section-head { text-align: center; margin-bottom: 56px; display: grid; gap: 12px; justify-items: center; }
.eyebrow { color: var(--yellow); }
.section h2 {
  font: 700 clamp(1.8rem, 3.8vw, 2.5rem)/1.12 var(--display);
  letter-spacing: -.025em;
}
.section-head p.sub { color: var(--sub); max-width: 36em; font-size: 17px; }

/* features */
.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px; align-items: center;
}
.feature + .feature { margin-top: 104px; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 14px; }
.feature h3 { font: 800 clamp(1.5rem, 2.6vw, 1.95rem)/1.15 var(--display); letter-spacing: -.025em; }
.feature p { color: var(--body); font-size: 17px; }
.feature p.feature-sub { color: var(--sub); font-size: 15px; }
.feature-num {
  font: 700 12px var(--mono); color: var(--sub); letter-spacing: .1em;
  display: flex; align-items: center; gap: 10px;
}
.feature-num::after { content: ""; height: 1px; width: 44px; background: var(--line2); }

.feature-media { position: relative; }
.tilt {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.tilt.tilting { transition: transform .08s linear; }
.frame {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  background: var(--stage);
  border: 1px solid var(--line2);
  box-shadow: var(--shadow);
}
.frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .22), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.tilt.tilting .frame::after, .tilting.frame::after { opacity: 1; }
.feature-media .glow {
  position: absolute; inset: 10% 6%; z-index: -1; border-radius: 50%;
  filter: blur(60px); opacity: .5;
  background: radial-gradient(circle, var(--orb-b), transparent 70%);
}
.feature.flip .feature-media .glow { background: radial-gradient(circle, var(--orb-y), transparent 70%); }

/* frecency mock */
.recent {
  padding: 22px; display: grid; gap: 14px;
  background: var(--bg1);
}
.recent-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.recent-head b { font: 700 15px var(--font); }
.recent-head span { font: 500 12px var(--mono); color: var(--sub); }
.recent ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.recent li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) 96px;
  align-items: center; gap: 4px 12px;
  padding: 9px 10px; border-radius: 8px;
}
.recent li:first-child { background: var(--wash); }
.recent .name { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent .path { color: var(--sub); font: 400 12.5px var(--mono); margin-left: 8px; }
.folder {
  width: 20px; height: 15px; position: relative; border-radius: 2px 3px 3px 3px;
  background: linear-gradient(#ffd966, #f2b632);
}
.folder::before {
  content: ""; position: absolute; left: 0; top: -3px; width: 8px; height: 4px;
  border-radius: 2px 2px 0 0; background: #e8a317;
}
.bar { height: 6px; border-radius: 99px; background: var(--bg3); overflow: hidden; }
.bar i {
  display: block; height: 100%; width: var(--w); border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow-fill), var(--amber));
}
.recent li.excluded { opacity: .55; }
.recent li.excluded .name { text-decoration: line-through; }
.recent li.excluded .tag {
  justify-self: end; font: 600 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--sub); border: 1px dashed var(--line2); border-radius: 99px; padding: 1px 8px;
}
.multipliers {
  display: flex; flex-wrap: wrap; gap: 6px 8px; padding-top: 12px; border-top: 1px solid var(--line);
}
.multipliers span {
  font: 500 12px var(--mono); color: var(--sub);
  padding: 2px 8px; border-radius: 6px; background: var(--bg2);
}
.multipliers b { color: var(--text); }

/* supported apps */
.apps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
}
.apps li {
  position: relative;
  padding: 22px; border-radius: var(--radius);
  background: var(--bg1); border: 1px solid var(--line);
  display: grid; gap: 8px; align-content: start;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.apps li:hover { border-color: var(--line2); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.apps h3 { font: 700 17px var(--font); display: flex; align-items: center; gap: 10px; }
.apps p { color: var(--sub); font-size: 15px; }
.app-ico {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  background: var(--wash); color: var(--blue);
}
.app-ico svg { width: 17px; height: 17px; }

/* install */
.steps {
  list-style: none; margin: 0 auto; padding: 0; max-width: 780px;
  display: grid; gap: 14px; counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 18px; align-items: start;
  padding: 22px 24px; border-radius: var(--radius);
  background: var(--bg1); border: 1px solid var(--line);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.steps li:hover { transform: translateX(4px); box-shadow: inset 4px 0 0 var(--yellow-fill), var(--shadow-sm); }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font: 800 18px var(--display); color: #4a3200;
  background: linear-gradient(135deg, #ffd966, var(--yellow-fill));
  box-shadow: 0 0 0 5px rgba(242, 182, 50, .18);
}
.steps h3 { font: 700 18px var(--font); padding-top: 2px; }
.steps p { color: var(--body); }
.note {
  max-width: 780px; margin: 22px auto 0; color: var(--sub); font-size: 15px; text-align: center;
}

/* faq */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq-q {
  border-radius: var(--radius); background: var(--bg1); border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}
.faq-q[open] {
  border-color: rgba(242, 182, 50, .55);
  background: linear-gradient(180deg, rgba(242, 182, 50, .07), transparent 70%), var(--bg1);
}
.faq-q summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 700; font-size: 17px;
}
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line2);
  background:
    linear-gradient(var(--sub), var(--sub)) center / 10px 2px no-repeat,
    linear-gradient(var(--sub), var(--sub)) center / 2px 10px no-repeat;
  transition: transform .3s var(--ease), background-color .2s, border-color .2s;
}
.faq-q[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--yellow-fill);
  background-color: rgba(242, 182, 50, .15);
}
.faq-q summary:hover::after { border-color: var(--yellow-fill); }
.faq-a { padding: 0 22px 20px; color: var(--body); display: grid; gap: 10px; }
/* Smooth open/close where the browser supports animating to auto height. */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-q::details-content {
    height: 0; overflow: clip;
    transition: height .35s var(--ease), content-visibility .35s allow-discrete;
  }
  .faq-q[open]::details-content { height: auto; }
}

/* closing call to action */
.cta {
  position: relative; text-align: center;
  padding: 120px 32px 128px;
  display: grid; justify-items: center; gap: 26px;
  overflow: hidden; isolation: isolate;
  border-top: 1px solid var(--line);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 320px at 30% 60%, var(--orb-y), transparent 70%),
    radial-gradient(600px 320px at 70% 40%, var(--orb-b), transparent 70%);
  filter: blur(40px); opacity: .7;
}
.cta img { width: 88px; height: 88px; filter: drop-shadow(0 12px 28px rgba(10, 108, 214, .3)); }
.cta h2 {
  font: 700 clamp(2rem, 4.6vw, 3rem)/1.08 var(--display); letter-spacing: -.03em;
  max-width: 14em;
}
.cta p { color: var(--body); font-size: 18px; }

/* footer */
.foot {
  border-top: 1px solid var(--line);
  background: var(--bg1);
  padding: 40px 32px 48px;
  text-align: center; color: var(--sub); font-size: 14.5px;
  display: grid; gap: 14px; justify-items: center;
}
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.foot-brand img { width: 24px; height: 24px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.foot-links a { color: var(--sub); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--blue); }

/* ------------------------------------------------------------ lightbox */
a.zoom { display: block; cursor: zoom-in; color: inherit; }
html:has(.lightbox[open]) { overflow: hidden; }
a.zoom:focus-visible { outline-offset: -3px; }
.lightbox {
  width: fit-content; max-width: min(1320px, 94vw); max-height: 94vh;
  margin: auto; padding: 0; border: 0; background: none; overflow: visible;
  color: var(--text);
}
.lightbox::backdrop {
  background: rgba(10, 12, 16, .72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lightbox img {
  max-width: 100%; max-height: calc(94vh - 56px); width: auto; margin: 0 auto;
  border-radius: var(--radius);
  background: var(--stage);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}
.lightbox-cap { margin-top: 14px; text-align: center; color: #e6e7ea; font-size: 15px; }
.lightbox-close {
  position: absolute; top: -14px; right: -14px; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font: 400 24px/1 var(--font); color: var(--text); cursor: pointer;
  background: var(--bg1); border: 1px solid var(--line2);
  box-shadow: var(--shadow-sm);
}
.lightbox-close:hover { border-color: var(--blue); color: var(--blue); }
.lightbox[open] { animation: lb-in .25s var(--ease); }
.lightbox[open]::backdrop { animation: lb-fade .25s ease; }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
@keyframes lb-fade { from { opacity: 0; } }
@media (max-width: 520px) {
  .lightbox-close { top: auto; bottom: -52px; right: 50%; translate: 50% 0; }
  .lightbox-cap { margin-bottom: 52px; }
}

/* ------------------------------------------------------------ reveal (site.js adds .reveal) */
.reveal {
  opacity: 0; transform: translateY(26px); filter: blur(5px);
  transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms), filter .7s var(--ease) var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; filter: none; }
/* Once in, the cards' own hover transforms take over again. */
.apps li.reveal.in, .steps li.reveal.in { transition: opacity .7s var(--ease) var(--d, 0ms), filter .7s var(--ease) var(--d, 0ms), transform .2s var(--ease), border-color .2s, box-shadow .2s; }

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-depth] { translate: none; }
  .shot-front { transform: none; }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .top { height: 70px; margin-bottom: -70px; padding: 10px 12px 0; }
  .top-inner { height: 56px; gap: 10px; padding: 0 8px 0 12px; }
  .nav { display: none; }
  .brand { margin-right: auto; }
  .top .btn { height: 40px; padding: 0 14px; }
  .top .gh .gh-label { display: none; }
  .top .gh { width: 40px; padding: 0; }

  .hero { grid-template-columns: 1fr; padding: 108px 20px 56px; gap: 56px; min-height: 0; }
  .hero-copy { justify-items: center; text-align: center; }
  .btn-row, .compat { justify-content: center; }
  .hero-art { max-width: 620px; width: 100%; margin: 0 auto; }

  .section { padding: 64px 20px; }
  .section-head { margin-bottom: 40px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-copy { order: 0; }
  .feature + .feature { margin-top: 72px; }
  .strip { padding: 0 16px 32px; }
  .cta { padding: 88px 20px 96px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: clamp(3rem, 16vw, 4rem); }
  .lede { font-size: 17px; }
  .btn.big { width: 100%; }
  .btn-row { width: 100%; }
  .compat { flex-direction: column; align-items: center; gap: 6px; }
  .compat li + li::before { display: none; }
  .chip { font-size: 12.5px; padding: 6px 11px 6px 8px; }
  .chip i { width: 18px; height: 18px; font-size: 10px; }
  .chip-1 { left: -2%; } .chip-4 { right: 0; }
  .shot-back { display: none; }
  .shot-front { width: 100%; position: relative; }
  .hero-art { aspect-ratio: auto; padding: 18px 0 20px; }
  .recent { padding: 14px; }
  .recent li { grid-template-columns: 22px minmax(0, 1fr) 56px; padding: 8px 6px; }
  .recent .path { display: none; }
  .steps li { grid-template-columns: 36px 1fr; padding: 18px; gap: 4px 14px; }
  .steps li::before { width: 36px; height: 36px; font-size: 16px; }
  .section, .foot { padding-left: 16px; padding-right: 16px; }
  .faq-q summary { padding: 16px 18px; font-size: 16px; }
  .faq-a { padding: 0 18px 18px; }
}
