:root {
  color-scheme: dark;
  --ground: #0d1014;
  --panel: #161a21;
  --rule: #2c323d;
  --ink: #e8ebf0;
  --muted: #a2a9b4;
  --action: #2563eb;
  --action-hover: #1d4fd0;
  --link: #8fb0f8;
  --focus: #ffd75e;
  --flag: #f5c063;
  --flag-ground: #3a2c0e;
  /* NOTE(claude-opus-5-5): no webfont is shipped, so the page needs no font notice; headings
     prefer each platform's own condensed grotesque (Windows, macOS/iOS, Android, then narrow
     Linux faces) and fall back to the system sans. */
  --display: Bahnschrift, "Avenir Next Condensed", "sans-serif-condensed", "Roboto Condensed",
    "Arial Narrow", "Liberation Sans Narrow", "Nimbus Sans Narrow", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --measure: 34rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ground);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-stretch: semi-condensed;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}

p,
ul,
dl,
dd {
  margin: 0;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  padding: 0.5rem 0.9rem;
  background: var(--ink);
  color: var(--ground);
  z-index: 2;
}
.skip:focus {
  top: 0.75rem;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font: 600 1.25rem/1 var(--display);
  font-stretch: semi-condensed;
  text-decoration: none;
}
.wordmark-part {
  color: var(--ink);
}
.bar-cta {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.bar-cta:hover {
  border-color: var(--muted);
}

.button {
  display: inline-block;
  padding: 0.8rem 1.35rem;
  border-radius: 8px;
  font: 500 1.0625rem/1.2 var(--text);
  text-decoration: none;
}
.button.primary {
  background: var(--action);
  color: #fff;
}
.button.primary:hover {
  background: var(--action-hover);
}
.button.quiet {
  color: var(--ink);
  border: 1px solid var(--rule);
}
.button.quiet:hover {
  border-color: var(--muted);
}

.tag {
  display: inline-block;
  padding: 0 0.45em;
  border: 1px solid #7a5a17;
  border-radius: 4px;
  background: var(--flag-ground);
  color: var(--flag);
  font-size: 0.85em;
  line-height: 1.5;
  white-space: nowrap;
}

/* Hero: headline on the left, the real viewer bleeding off the right edge. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding: clamp(1.5rem, 5vw, 4.5rem) var(--gutter) clamp(3rem, 7vw, 6rem);
}
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.hero h1 span {
  display: block;
}
.lede {
  margin-top: 1.5rem;
  max-width: var(--measure);
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  color: var(--ink);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hint {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-shot {
  margin: 0;
}
.demo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  background: var(--ground);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.demo-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.demo-steps a {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0 0.5rem;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}
.demo-steps a:hover {
  color: var(--ink);
}
.demo-steps a[aria-current] {
  color: var(--ink);
}
.demo-steps a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(to right, var(--action) calc(var(--progress, 1) * 100%), var(--rule) 0);
}
figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 4vw, 4.5rem);
    align-items: center;
  }
}

/* Promises: three plain statements divided by hairlines. */
.promises {
  display: grid;
  gap: 0;
  margin: 0 var(--gutter);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.promises > div {
  padding: 1.6rem 0;
}
.promises > div + div {
  border-top: 1px solid var(--rule);
}
.promises h2 {
  font-size: 1.5rem;
  line-height: 1.15;
}
.promises p {
  margin-top: 0.5rem;
  color: var(--muted);
  max-width: 30rem;
}
@media (min-width: 820px) {
  .promises {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .promises > div {
    padding: 2rem 2rem 2rem 0;
  }
  .promises > div + div {
    border-top: 0;
    border-left: 1px solid var(--rule);
    padding-left: 2rem;
  }
}

/* Jobs: a ledger of situations and what to do, read like a parts list. */
.jobs {
  padding: clamp(4rem, 9vw, 7.5rem) var(--gutter) 0;
}
.jobs h2,
.formats h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  max-width: 18ch;
}
.jobs dl {
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule);
}
.jobs dl > div {
  display: grid;
  gap: 0.4rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
}
.jobs dt {
  font: 600 1.35rem/1.2 var(--display);
  font-stretch: semi-condensed;
}
.jobs dd {
  color: var(--muted);
  max-width: var(--measure);
}
@media (min-width: 820px) {
  .jobs dl > div {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 2rem;
    align-items: baseline;
  }
}

/* Feature rows: real screenshots beside short copy, alternating sides. */
.feature {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) 0;
}
.feature figure {
  margin: 0;
}
.feature figure img {
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.feature figure.pair {
  display: grid;
  gap: 0.75rem;
}
.feature h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.08;
}
.feature-copy p {
  margin-top: 1rem;
  max-width: var(--measure);
}
.feature-copy ul {
  margin-top: 1.1rem;
  padding-left: 1.1rem;
  color: var(--muted);
  max-width: var(--measure);
}
.feature-copy li + li {
  margin-top: 0.35rem;
}
@media (min-width: 960px) {
  .feature {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2rem, 4vw, 4rem);
  }
  .feature.flip {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .feature.flip figure {
    order: 2;
  }
}

/* Formats: two columns of file types. */
.formats {
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter) 0;
}
.format-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.25rem;
}
.format-grid h3 {
  font-size: 1.35rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule);
}
.format-grid ul {
  list-style: none;
  padding: 0;
}
.format-grid li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}
.format-grid strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
}
@media (min-width: 820px) {
  .format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
}

.closing {
  margin: clamp(4.5rem, 9vw, 8rem) var(--gutter) 0;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--rule);
}
.closing h2 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1;
  max-width: 14ch;
  margin-bottom: 2rem;
}
.fine {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: var(--measure);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
