:root {
  color-scheme: dark;
  --bg: #000;
  --text: #f5f5f7;
  --muted: rgba(235,235,245,.6);
  --line: rgba(84,84,88,.6);
  --surface: #1c1c1e;
  --apricot: #ffb27a;
  --ink: #2a1200;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--text); margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; font: inherit; color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--apricot); outline-offset: 4px; }
.page { width: min(100% - clamp(40px, 10vw, 160px), 1320px); margin: auto; }
.masthead, footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.masthead { min-height: 88px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 25px; letter-spacing: -.045em; }
.brand img { border-radius: 10px; }
.nav-link, footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.nav-link { font-size: 14px; }
a:hover { text-decoration: underline; text-underline-offset: .22em; }
.hero { display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: clamp(32px,6vw,100px); padding: clamp(48px,6vw,96px) 0; }
.eyebrow, .meta, footer, .install p, dd, .lede { color: var(--muted); }
.eyebrow { font-size: 15px; margin: 0 0 24px; }
h1, h2, p, figure, dl, dd { margin: 0; }
h1 { font-size: clamp(60px,7.8vw,120px); line-height: .99; letter-spacing: -.07em; font-weight: 650; }
h1 span { color: var(--apricot); }
.lede { font-size: clamp(17px,1.55vw,22px); line-height: 1.5; max-width: 35ch; margin-top: 28px; }
.cta { display: inline-flex; gap: 20px; align-items: center; min-height: 52px; margin-top: 28px; padding: 0 23px; border-radius: 99px; background: var(--apricot); color: var(--ink); font-size: 16px; font-weight: 650; text-decoration: none; }
.cta span { font-size: 21px; }
.cta:hover { filter: brightness(1.07); text-decoration: none; }
.cta:active, button:active { transform: scale(.985); }
.demo { min-width: 0; }
.viewfinder { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); border-radius: 5px; }
.viewfinder > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.viewfinder > img { object-position: center 75%; }
.frame-caption { position: absolute; inset: auto 0 0; padding: 48px 5% 4%; color: white; background: linear-gradient(transparent, rgba(0,0,0,.70)); pointer-events: none; display: grid; gap: 1px; }
#scene-time { font-size: clamp(32px,4vw,64px); font-weight: 550; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
#scene-name { font-size: 14px; }
.demo-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 15px 0 10px; }
#vlog-title { font-size: 16px; font-weight: 600; }
.meta { font-size: 13px; }
.transport { display: flex; align-items: stretch; gap: 10px; }
[hidden] { display: none !important; }
#play { width: 46px; min-height: 46px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 7px; }
.play-icon { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid var(--text); margin-left: 3px; }
#play.playing .play-icon { width: 10px; height: 14px; border: 0; border-inline: 3px solid var(--text); margin: 0; }
.strip { flex: 1; display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
.shot { position: relative; display: block; overflow: hidden; border: 0; border-radius: 5px; padding: 0; min-height: 46px; background: var(--surface); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot[aria-pressed=true]::after { content: ''; position: absolute; inset: 0; border: 3px solid var(--apricot); border-radius: inherit; }
.shot[aria-pressed=true]::before { content: ''; position: absolute; inset: auto auto 0 calc(50% - 1px); height: 100%; width: 2px; z-index: 1; background: var(--text); }
.workflow, .install { border-top: 1px solid var(--line); padding: clamp(30px,4vw,60px) 0; }
h2 { font-size: clamp(24px,2.4vw,34px); line-height: 1.15; font-weight: 600; letter-spacing: -.04em; }
.workflow dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 6vw; margin-top: 28px; }
dt { font-size: 18px; font-weight: 600; margin-bottom: 7px; }
dd, .install p { line-height: 1.55; font-size: 16px; max-width: 38ch; }
.install { display: grid; grid-template-columns: 1fr 2fr; gap: 6vw; }
.install p { max-width: 62ch; }
.install a { color: var(--apricot); text-underline-offset: .18em; }
footer { border-top: 1px solid var(--line); min-height: 74px; font-size: 14px; }
@media (max-width: 740px) {
  .page { width: min(100% - 40px,560px); }
  .masthead { min-height: 70px; }
  .brand { font-size: 22px; }
  .brand img { width: 32px; height: 32px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 36px 0; }
  h1 { font-size: clamp(58px,13vw,82px); }
  .eyebrow { margin-bottom: 16px; }
  .lede { margin-top: 18px; }
  .cta { min-height: 48px; margin-top: 20px; }
  .workflow dl, .install { grid-template-columns: 1fr; gap: 22px; }
  .workflow dl { margin-top: 23px; }
  dd, .install p { max-width: none; }
}
@media (max-width: 350px) {
  .page { width: calc(100% - 32px); }
  .nav-link { font-size: 13px; }
}
.masthead nav { display: flex; align-items: center; gap: clamp(14px,3vw,36px); }
.language { display: inline-flex; align-items: center; min-height: 44px; color: var(--apricot); font-size: 14px; text-decoration: none; }
@media (max-width: 400px) {
  .masthead { flex-wrap: wrap; gap: 4px 10px; }
  .masthead nav { gap: 12px; }
}
