/*
  Home page. Motion is the hook here, and every piece demonstrates the product:
  the hero plays and pauses like the real player, photos open with a rotary
  shutter sweep (the logo's mechanism), and the How section steps through the
  actual workflow. Everything settles to its final state under reduced motion.
*/

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: #0a0a0a; overflow-x: hidden; }

/* Returning users see the shutter loader for a moment while they're sent to the dashboard. */
.is-redirecting body > * { visibility: hidden; }
.is-redirecting body::before,
.is-redirecting body::after {
  content: "";
  position: fixed; left: 50%; top: 50%;
  border-radius: 50%;
}
.is-redirecting body::before { width: 26px; height: 26px; margin: -13px; border: 2px solid #fafafa; }
.is-redirecting body::after {
  width: 14px; height: 14px; margin: -7px;
  background: conic-gradient(#fafafa 0 180deg, transparent 0);
  animation: spin 1s steps(24) infinite;
}

.wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
.nav.is-scrolled { background: rgb(10 10 10 / .94); border-bottom-color: var(--line); }

.logo .blade { transform-origin: 16px 16px; transition: transform .6s cubic-bezier(.65, 0, .25, 1); }
.logo:hover .blade { transform: rotate(180deg); }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: var(--text-2);
  text-decoration: none;
  font-weight: 520;
}
.nav-links a:hover { color: var(--text); }
.nav-end { margin-left: auto; display: flex; gap: 8px; }
.menu-btn { display: none; }
.nav-links .nav-signin { display: none; }

/* Shared type */
.h2 {
  margin: 0;
  max-width: 18ch;
  font: 700 clamp(34px, 5vw, 64px)/1 var(--display);
  font-stretch: 78%;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.section-head { width: min(1240px, calc(100% - 48px)); margin: 0 auto 56px; }

/* Burn-in label and frame lines: every image on the site sits in the player */
.burnin {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgb(0 0 0 / .72);
  color: #fafafa;
  font: 12px/1.4 var(--mono);
  font-variant-numeric: tabular-nums;
}
.burnin a { color: inherit; }
.burnin-credit { margin-left: 14px; color: #bdbdbd; }
.burnin-corner { left: auto; right: 14px; }

.frame-lines { position: absolute; inset: 14px; z-index: 2; pointer-events: none; }
.frame-lines i { position: absolute; width: 20px; height: 20px; border: 0 solid rgb(255 255 255 / .7); }
.frame-lines i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.frame-lines i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.frame-lines i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.frame-lines i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }

/* Rotary shutter reveal */
.js .shutter-reveal {
  -webkit-mask-image: conic-gradient(from 0deg, #000 var(--sweep), transparent 0);
  mask-image: conic-gradient(from 0deg, #000 var(--sweep), transparent 0);
  transition: --sweep 1.15s cubic-bezier(.65, 0, .25, 1);
}
.js .shutter-reveal.is-in { --sweep: 360deg; }

.js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .1, 1); }
.js [data-rise].is-in { opacity: 1; transform: none; }

/* Hero */
.hero {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 140px 0 120px;
}

.hero-title {
  margin: 0;
  font: 760 clamp(48px, 8.6vw, 118px)/.92 var(--display);
  font-stretch: 72%;
  letter-spacing: -0.02em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: block; }
.js .hero-title .line > span { transform: translateY(105%); animation: rise .95s cubic-bezier(.2, .75, .1, 1) forwards; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }

.hero-sub {
  max-width: 58ch;
  margin: 28px 0 0;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.55;
}
.js .hero-sub, .js .hero-ctas { opacity: 0; animation: fade .8s ease .45s forwards; }
.js .hero-ctas { animation-delay: .6s; }
@keyframes fade { to { opacity: 1; } }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Demo player */
.player {
  margin: 64px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
}

.player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font: 12px var(--mono);
  color: var(--text-2);
}
.player-state { color: var(--text); }

.player-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.frame-img, .frame-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame-img img { object-fit: cover; transform: scale(1.06); transition: transform 2.2s cubic-bezier(.2, .6, .2, 1); }
.player.is-paused .frame-img img, .player.is-done .frame-img img { transform: scale(1); }

.demo-marks, .st-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.demo-marks .under, .st-mark .under { fill: none; stroke: rgb(0 0 0 / .7); stroke-width: 5.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .3s ease; }
.demo-marks .over, .st-mark .over { fill: none; stroke: #fff; stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .9s cubic-bezier(.6, 0, .2, 1); }
.m.on .under, [data-step="3"] .st-mark .under { opacity: 1; }
.m.on .over, [data-step="3"] .st-mark .over { stroke-dashoffset: 0; }

.pin {
  position: absolute;
  z-index: 2;
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0a0a0a;
  font: 700 13px/1 var(--font);
  box-shadow: 0 0 0 1.5px rgb(0 0 0 / .7), 0 4px 12px rgb(0 0 0 / .5);
  transform: scale(0);
  transition: transform .45s cubic-bezier(.3, 1.6, .5, 1);
}
.pin.on, [data-step="3"] .st-mark .pin { transform: scale(1); }

.demo-notes {
  list-style: none;
  margin: 0;
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 8px;
  border-left: 1px solid var(--line);
}
.dn {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: var(--r-md);
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .1, 1);
}
.dn.on { opacity: 1; transform: none; }
.dn b {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff; color: #0a0a0a;
  font-size: 12px;
}
.dn-meta { color: var(--text-2); font: 12px var(--mono); }
.dn p { margin: 3px 0 0; font-size: 14px; line-height: 1.45; }

.player-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  padding: 0 16px;
  border-top: 1px solid var(--line);
}
.pb-play { width: 12px; height: 14px; flex: none; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.player.is-playing .pb-play { clip-path: none; background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65%); }
.pb-track { position: relative; flex: 1; height: 3px; border-radius: 2px; background: var(--line-strong); }
.pb-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px; background: #fff; }
.pb-tick { position: absolute; top: -8px; width: 3px; height: 19px; margin-left: -1.5px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 2px var(--panel); opacity: 0; transition: opacity .3s ease; }
.player.is-done .pb-tick, .player.is-paused .pb-tick { opacity: 1; }
.pb-replay {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: none;
  cursor: pointer;
  font-size: 13px;
}
.pb-replay:hover { background: var(--hover); }

/* How it works */
.how { padding: 150px 0 60px; border-top: 1px solid var(--line); }

.how-grid {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 72px;
}

.how-stage { position: sticky; top: 104px; align-self: start; }

.stage-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}
.stage-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, filter .5s ease; }
[data-step="1"] .stage-frame > img { opacity: .18; filter: blur(2px); }
[data-step="4"] .stage-frame > img { opacity: .55; }

.st { position: absolute; inset: 0; z-index: 3; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
[data-step="1"] .st-open, [data-step="2"] .st-park, [data-step="3"] .st-mark, [data-step="4"] .st-hand { opacity: 1; visibility: visible; transition: opacity .45s ease; }

.drop-box {
  position: absolute;
  inset: 12% 14%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  border: 1.5px dashed rgb(255 255 255 / .55);
  border-radius: var(--r-lg);
}
.file-chip {
  display: inline-flex;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: #fff;
  color: #0a0a0a;
  font: 600 14px var(--mono);
  box-shadow: 0 12px 30px rgb(0 0 0 / .5);
  transform: translateY(-46px) rotate(-3deg);
  opacity: 0;
  transition: transform .7s cubic-bezier(.3, 1.4, .5, 1) .15s, opacity .3s ease .15s;
}
.file-chip em { font-style: normal; font-weight: 400; color: #555; }
[data-step="1"] .file-chip { transform: none; opacity: 1; }
.drop-label { color: #d4d4d4; font-size: 14px; }

.park-readout {
  position: absolute;
  left: 18px; bottom: 16px;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: rgb(0 0 0 / .75);
}
.park-tc { font: 600 clamp(20px, 3vw, 30px)/1 var(--mono); font-variant-numeric: tabular-nums; color: #fff; }
.park-frame { font: 12px var(--mono); color: #bdbdbd; }
.park-keys { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 6px; }
.park-keys kbd { font-size: 16px; padding: 8px 10px; background: rgb(0 0 0 / .75); color: #fff; border-color: #6b6b6b; transition: transform .08s ease, background-color .08s ease; }
.park-keys kbd.press { transform: translateY(2px); background: #fff; color: #0a0a0a; border-bottom-width: 1px; }

.tools-mini {
  position: absolute;
  left: 18px; bottom: 18px;
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: var(--r-md);
  background: rgb(0 0 0 / .75);
  font-size: 13px;
}
.tools-mini span { padding: 4px 10px; border-radius: 6px; color: #bdbdbd; }
.tools-mini .on { background: #fff; color: #0a0a0a; }

.export-menu {
  position: absolute;
  right: 6%; bottom: 10%;
  width: min(320px, 70%);
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: var(--r-md);
  background: #191919;
  border: 1px solid #3a3a3a;
  box-shadow: 0 20px 40px rgb(0 0 0 / .6);
  font-size: 14px;
}
.export-menu li { padding: 9px 12px; border-radius: 6px; opacity: 0; transform: translateX(10px); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .1, 1); }
.export-menu li.on { background: #fff; color: #0a0a0a; }
[data-step="4"] .export-menu li { opacity: 1; transform: none; }
[data-step="4"] .export-menu li:nth-child(2) { transition-delay: .06s; }
[data-step="4"] .export-menu li:nth-child(3) { transition-delay: .12s; }
[data-step="4"] .export-menu li:nth-child(4) { transition-delay: .18s; }

.stage-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.stage-steps span { height: 3px; border-radius: 2px; background: var(--line); transition: background-color .3s ease; }
[data-step="1"] .stage-steps span:nth-child(-n+1),
[data-step="2"] .stage-steps span:nth-child(-n+2),
[data-step="3"] .stage-steps span:nth-child(-n+3),
[data-step="4"] .stage-steps span:nth-child(-n+4) { background: #fff; }

.how-steps { list-style: none; margin: 0; padding: 0; }
.step {
  min-height: 72vh;
  padding-top: 14vh;
  opacity: .32;
  transition: opacity .4s ease;
}
.step:first-child { padding-top: 0; }
.step:last-child { min-height: 52vh; }
.step.is-active { opacity: 1; }
.step-n { font: 13px var(--mono); color: var(--text-2); }
.step h3, .step .step-h {
  margin: 8px 0 12px;
  font: 700 clamp(26px, 3vw, 36px)/1.05 var(--display);
  font-stretch: 80%;
}
.step p { margin: 0; max-width: 40ch; color: var(--text-2); font-size: 17px; line-height: 1.6; }
.step p kbd { font-size: 13px; }

/* Footage */
.footage { position: relative; margin-top: 80px; }
.footage-img { position: relative; height: min(90vh, 900px); }
.footage-img img { width: 100%; height: 100%; object-fit: cover; }
.footage-img::after {
  /* Darkens the lower half so the copy reads at 4.5:1 or better over any part of the photo. */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(10 10 10 / .9) 0%, rgb(10 10 10 / .78) 38%, rgb(10 10 10 / 0) 68%),
    linear-gradient(180deg, rgb(10 10 10 / 0) 40%, #0a0a0a 100%);
}
.footage-img .burnin-corner { top: 14px; bottom: auto; }
.footage-copy {
  position: absolute;
  left: max(24px, calc((100vw - 1240px) / 2));
  bottom: 72px;
  max-width: 640px;
  z-index: 2;
}
.footage-copy p { margin: 20px 0 0; max-width: 54ch; color: #d4d4d4; font-size: 18px; line-height: 1.6; }
.footage-copy .aside { color: var(--text-2); font-size: 15px; }

/* Exports */
.exports {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.files { list-style: none; margin: 40px 0 0; padding: 0; }
.files li {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.files li:last-child { border-bottom: 1px solid var(--line); }
.files code { font: 500 14px var(--mono); overflow-wrap: anywhere; }
.files span { color: var(--text-2); }
.js .files li[data-rise]:nth-child(2) { transition-delay: .08s; }
.js .files li[data-rise]:nth-child(3) { transition-delay: .16s; }
.js .files li[data-rise]:nth-child(4) { transition-delay: .24s; }

.exports-img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.exports-img img { width: 100%; height: 100%; object-fit: cover; }

/* Closer */
.closer { position: relative; min-height: 82vh; display: grid; place-items: center; overflow: hidden; }
.closer-img { position: absolute; inset: 0; }
.closer-img img { width: 100%; height: 100%; object-fit: cover; }
.closer-img::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .62); }
.closer-copy { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; padding: 80px 24px; text-align: center; }
.closer-copy .h2 { max-width: 14ch; }
.closer-copy p { margin: 0; color: #d4d4d4; font-size: 18px; }

/* Footer */
.footer {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-small { flex-basis: 100%; margin: 0; color: var(--text-2); font-size: 13px; }
.footer-small a { color: inherit; }

/* The page as a reel: timeline under the nav, burned-in timecode in the corner. */
.reel {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: rgb(255 255 255 / .08);
  pointer-events: none;
}
.reel-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--at, 0) * 100%);
  background: #fafafa;
}
.reel-mark {
  position: absolute;
  bottom: -2px;
  width: 2px;
  height: 7px;
  margin-left: -1px;
  border-radius: 1px;
  background: #fafafa;
  box-shadow: 0 0 0 1px #0a0a0a;
}
.reel-tc {
  position: fixed;
  left: 16px;
  bottom: 14px;
  z-index: 35;
  padding: 3px 7px;
  border-radius: 3px;
  background: rgb(0 0 0 / .78);
  color: #fafafa;
  font: 12px/1.4 var(--mono);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.reel-tc.is-on { opacity: 1; }

.nav-links a[aria-current="page"] { color: var(--text); background: var(--raised); }

/* Ruytha Studios signs the footer like a watermark: a faded round mark beside the name,
   and a large ghost of the same picture fading out of the corner behind the footer. */
.footer { position: relative; isolation: isolate; overflow: hidden; }
.footer::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -30px;
  z-index: -1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: url("/assets/ruytha-560.webp") center / cover;
  opacity: .07;
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  pointer-events: none;
}
.footer-studio { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; color: var(--text-2); }
.studio { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); text-decoration: none; }
.studio img {
  width: 28px; height: 28px;
  border-radius: 50%;
  opacity: .5;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .12);
  transition: opacity .25s ease;
}
.studio strong { color: var(--text); font-weight: 600; }
.studio:hover img, .studio:focus-visible img { opacity: 1; }
.studio:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* "Read more" links from home sections to their own pages */
.more {
  display: inline-flex;
  margin-top: 28px;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
}
.more:hover { text-decoration-color: currentColor; }
.how .more-row { width: min(1240px, calc(100% - 48px)); margin: 24px auto 0; }

/* Inner pages: How it works, Your footage, Exports */
.page-hero {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 72px;
}
.page-hero h1 {
  margin: 0;
  max-width: 16ch;
  font: 760 clamp(44px, 7vw, 96px)/.94 var(--display);
  font-stretch: 72%;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.page-hero p {
  max-width: 58ch;
  margin: 24px 0 0;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.6;
}

.band {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.band-head { display: grid; gap: 14px; margin-bottom: 44px; }
.band-head p { margin: 0; max-width: 58ch; color: var(--text-2); font-size: 17px; line-height: 1.6; }

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 12px 64px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.detail:last-child { border-bottom: 1px solid var(--line); }
/* A section holding one entry already has its own top border. */
.band > .detail:only-of-type { border: 0; padding: 0; }
.band > .detail:only-of-type + .grab-figure { margin-top: 40px; }
.detail h3 { margin: 0; font: 700 24px/1.15 var(--display); font-stretch: 82%; }
.detail p, .detail li { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.65; }
.detail ul { margin: 10px 0 0; padding-left: 18px; }
.detail p + p { margin-top: 12px; }
.detail strong { color: var(--text); font-weight: 600; }

.keys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--line);
  overflow: hidden;
}
.keys-grid div { display: grid; gap: 10px; padding: 20px; background: var(--bg); }
.keys-grid dt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--text-2); font-size: 13px; }
.keys-grid dt kbd { font-size: 14px; padding: 5px 8px; }
.keys-grid dd { margin: 0; font-size: 16px; }

.sample {
  margin: 14px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
  color: var(--text);
  font: 13px/1.6 var(--mono);
  white-space: pre;
  overflow-x: auto;
}
.sample-label { display: block; margin-top: 18px; color: var(--text-2); font: 12px var(--mono); }

.file-name { font: 600 15px var(--mono); overflow-wrap: anywhere; }

.store-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.store-table th, .store-table td { padding: 18px 16px 18px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.store-table tr:last-child td { border-bottom: 1px solid var(--line); }
.store-table th { color: var(--text-2); font-size: 13px; font-weight: 600; border-top: 0; padding-bottom: 12px; }
.store-table td:first-child { font-weight: 600; white-space: nowrap; }
.store-table td { color: var(--text-2); line-height: 1.55; }
.store-table td:nth-child(2) { color: var(--text); }

.cta-band {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 40px;
  padding: 72px 40px;
  display: grid;
  justify-items: start;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
}
.cta-band p { margin: 0; color: var(--text-2); font-size: 17px; }

.grab-figure { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.grab-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grab-figure .pin { transform: scale(1); }
.grab-figure .demo-marks .under { opacity: 1; }
.grab-figure .demo-marks .over { stroke-dashoffset: 0; }

/* Tablet and phone */
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav-links { display: none; }
  .nav.is-open { background: #0a0a0a; border-bottom-color: var(--line); }
  .nav.is-open .nav-links {
    position: absolute;
    left: 0; right: 0; top: 64px;
    display: grid;
    gap: 2px;
    padding: 8px 16px 16px;
    background: #0a0a0a;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav-links .nav-signin { display: flex; }
  .nav.is-open .nav-links a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; font-size: 17px; color: var(--text); }
  .player-body { grid-template-columns: minmax(0, 1fr); }
  .demo-notes { border-left: 0; border-top: 1px solid var(--line); }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .how-stage { top: 72px; z-index: 5; padding-bottom: 12px; background: #0a0a0a; }
  .step { min-height: 56vh; padding-top: 8vh; }
  .exports { grid-template-columns: minmax(0, 1fr); padding: 100px 0; gap: 48px; }
  .exports-img { aspect-ratio: 4 / 3; }
  .detail { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .nav { gap: 12px; padding: 0 16px; }
  .nav .logo span { display: inline; }
  .nav-end .btn-ghost { display: none; }
  .wrap, .hero, .section-head, .how-grid, .exports, .footer { width: calc(100% - 32px); }
  .hero { padding: 108px 0 72px; }
  .hero-sub { font-size: 16px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .player { margin-top: 44px; margin-inline: -4px; }
  .player-file { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
  .pin { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 11px; }
  .burnin { left: 8px; bottom: 8px; font-size: 10px; }
  .reel-tc { left: 10px; bottom: 10px; font-size: 10px; }
  .burnin-credit { margin-left: 8px; }
  .burnin-corner { left: auto; right: 8px; }
  .frame-lines { inset: 8px; }
  .frame-lines i { width: 12px; height: 12px; }
  .how { padding-top: 96px; }
  .park-keys kbd { font-size: 13px; padding: 6px 8px; }
  .footage-img { height: 56vh; }
  .footage-img::after { background: linear-gradient(180deg, rgb(10 10 10 / 0) 55%, #0a0a0a 100%); }
  .footage-copy { position: static; padding: 0 16px; margin-top: -12px; }
  .footage-copy p { font-size: 16px; }
  .closer { min-height: 70vh; }
  .page-hero, .band, .cta-band, .how .more-row { width: calc(100% - 32px); }
  .page-hero { padding: 112px 0 48px; }
  .page-hero p { font-size: 16px; }
  .band { padding: 80px 0; }
  .cta-band { padding: 44px 20px; }
  .cta-band .btn { width: 100%; }
  .store-table thead { display: none; }
  .store-table tr { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
  .store-table tr:last-child { border-bottom: 1px solid var(--line); }
  .store-table td, .store-table tr:last-child td { padding: 0; border: 0; white-space: normal; }
  .footer-links { flex-wrap: wrap; gap: 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .shutter-reveal { -webkit-mask-image: none; mask-image: none; }
  .js [data-rise] { opacity: 1; transform: none; }
  .js .hero-title .line > span { transform: none; animation: none; }
  .js .hero-sub, .js .hero-ctas { opacity: 1; animation: none; }
  .frame-img img { transform: none; }
}
