@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap;
  src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap;
  src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("/fonts/barlow-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap;
  src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --paper: #1f2329;      /* editor charcoal */
  --ink: #e7eaef;        /* text */
  --muted: #a1abb9;
  --clip: #5a7ea8;       /* video clip blue */
  --audio: #5d8a62;      /* audio clip green */
  --marker: #f0b030;     /* loading marker amber */
  --cut: #e7eaef;        /* playhead */
  --dark: #1f2329;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.55 "Barlow", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }

.hero { padding: 1.5rem 0 2rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center;
  max-width: 86rem; margin: 0 auto; padding: 0 2rem; }
/* Under the header: the timeline graphic, and the buy section beside it. */
.below { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: start;
  max-width: 86rem; margin: 1.25rem auto 0; padding: 0 2rem; }
.below .timeline { margin: 0; padding: 0; }
.below .ask { margin: 0; }
/* The real Resolve window, turned slightly away from the reader. */
.shot { margin: 0; perspective: 1800px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 8px; transform-origin: left center;
  transform: rotateY(14deg) rotateX(3deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06); }
@media (max-width: 64rem) {
  .hero-grid, .below { grid-template-columns: 1fr; gap: 2rem; padding: 0 1.5rem; }
  .intro { order: -1; }
  .shot img { transform: none; }
}
.brand { font: 600 1.25rem/1 "Barlow Condensed", sans-serif; letter-spacing: .02em; margin: 0 0 1.75rem; }
h1 {
  font: 600 clamp(2.4rem, 4.2vw, 3.6rem)/1.0 "Barlow Condensed", sans-serif;
  letter-spacing: -.01em; margin: 0 0 1rem; max-width: 22ch; text-wrap: balance;
}
.lede { font-size: 1.25rem; color: var(--muted); margin: 0; max-width: 36rem; }

/* The timeline: the page's one big thing. Full width, edge to edge. */
.timeline { margin: 3rem 0 0; padding: 0 1.5rem; }
.ruler { position: relative; height: 1.4rem; margin: 0 0 .7rem 2.5rem; font-size: .8rem; color: var(--muted); }
.ruler span { position: absolute; top: 0; transform: translateX(0); }
.ruler .end { right: 0; }
.tracks { position: relative; margin-left: 2.5rem; }
.track { position: relative; height: 2.6rem; background: var(--clip); margin-bottom: .3rem; border-radius: 3px; }
.track.audio { height: 1.6rem; background: var(--audio); }
.tag { position: absolute; left: -2.5rem; top: 50%; transform: translateY(-50%); font: 500 .8rem/1 "Barlow", sans-serif;
  color: var(--muted); width: 2rem; }
/* Each loading screen, with a cut line on both sides; the track itself is one continuous clip. */
.piece { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--paper); border-right: 1px solid var(--paper); }
.piece.load { background: repeating-linear-gradient(135deg, var(--marker) 0 4px, #d9961c 4px 8px); }
.flag { position: absolute; top: -.55rem; width: .7rem; height: .55rem; background: var(--marker);
  clip-path: polygon(0 0, 100% 0, 50% 100%); transform: translateX(-50%); }
.playhead { position: absolute; top: -1.6rem; bottom: 0; left: 0; width: 2px; background: var(--cut); }
.playhead::before { content: ""; position: absolute; top: 0; left: -5px; width: 12px; height: 9px; background: var(--cut);
  clip-path: polygon(0 0, 100% 0, 50% 100%); }
figcaption { margin: 1rem 0 0 2.5rem; font-size: .95rem; color: var(--muted); max-width: 44rem; }

/* One orchestrated moment: when the timeline scrolls into view, the playhead sweeps once and cuts appear behind it. */
@media (prefers-reduced-motion: no-preference) {
  .js .timeline:not(.go) .piece.load { opacity: 0; }
  .js .timeline.go .playhead { animation: sweep 2.8s linear .2s both; }
  .js .timeline.go .piece.load { opacity: 0; animation: cut .25s ease-out both; animation-delay: calc(.2s + var(--at) * 2.8s); }
}
@keyframes sweep { from { left: 0; } to { left: 100%; } }
@keyframes cut { from { opacity: 0; } to { opacity: 1; } }

main section { margin: 4rem 0; }
.demo { margin: 1.5rem 0 0; }
.demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 4px; background: #000; }
.demo figcaption { margin: .75rem 0 0; }
h2 { font: 600 1.9rem/1.1 "Barlow Condensed", sans-serif; margin: 0 0 .6rem; }
h3 { font: 500 1.2rem/1.3 "Barlow", sans-serif; margin: 0 0 .3rem; }
p { margin: 0 0 1rem; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.5rem 3.25rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.2rem;
  font: 600 2.2rem/1 "Barlow Condensed", sans-serif; color: var(--marker); }
.steps p { color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1.5rem 2rem; }
.facts h2 { font-size: 1.35rem; margin-bottom: .4rem; }
.facts p { color: var(--muted); font-size: 1rem; }

.ask { border-left: 3px solid var(--clip); padding-left: 2rem; }
/* Text lines up with the headline; the line sits in the gap between the columns. */
.below .ask { margin-left: calc(-2rem - 3px); }
@media (max-width: 64rem) { .below .ask { margin-left: 0; } }
.ask button {
  font: 600 1.6rem/1 "Barlow Condensed", sans-serif; color: var(--dark); background: var(--marker);
  border: 0; border-radius: 4px; padding: .85rem 1.6rem; margin: .5rem 0 1rem; cursor: pointer;
  box-shadow: 0 3px 0 #b97f12;
}
.ask button:hover { background: #f5be4b; }
.ask button:active { transform: translateY(2px); box-shadow: 0 1px 0 #b97f12; }
.ask button:focus-visible { outline-color: var(--marker); }
.ask button:disabled { background: var(--audio); color: var(--ink); box-shadow: none; cursor: default; transform: none; }
.note { font-size: .95rem; color: var(--muted); }
#feedback { margin-top: 1.5rem; max-width: 34rem; }
#feedback label { display: block; margin: .75rem 0 .4rem; }
#feedback input[type=email] { display: block; width: 100%; font: inherit; color: var(--ink); background: #2a2f37;
  border: 1px solid #3c4452; border-radius: 4px; padding: .5rem .75rem; }
.buttons { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.ask .buttons button { margin: .5rem 0 1rem; }
.ask button.secondary { color: var(--ink); background: transparent; box-shadow: none; border: 2px solid var(--muted); }
.ask button.secondary:hover { border-color: var(--ink); background: transparent; }
#feedback textarea { display: block; width: 100%; font: inherit; color: var(--ink); background: #2a2f37;
  border: 1px solid #3c4452; border-radius: 4px; padding: .6rem .75rem; resize: vertical; }
#feedback button { margin-top: .6rem; font: 500 1rem/1 "Barlow", sans-serif; color: var(--ink); background: transparent;
  border: 1px solid var(--muted); border-radius: 4px; padding: .55rem 1rem; cursor: pointer; box-shadow: none; }
#feedback button:hover { border-color: var(--ink); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

footer { padding: 2rem 1.5rem 3rem; font-size: .85rem; color: var(--muted); }

@media (max-width: 40rem) {
  .hero { padding-top: 2rem; }
  .timeline { padding: 0 1rem; }
  .ruler span:nth-child(2), .ruler span:nth-child(3) { display: none; }
}
