:root {
  color-scheme: dark;
  --paper: #0d1117;
  --ink: #e6edf3;
  --muted: #a0acba;
  --accent: #79c0ff;
  --line: #30363d;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 25px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 19px; font-weight: 650; letter-spacing: -.6px; }
.brand img { flex-shrink: 0; }
.nav-link { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 12px; text-decoration: none; }
.nav-link:hover { color: var(--accent); }
.hero { padding-block: 80px 57px; text-align: center; }
.eyebrow { margin: 0 0 27px; font-family: var(--mono); font-size: 12px; letter-spacing: .2px; font-weight: 400; color: var(--muted); }
.hero .eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; }
h1, h2 { font-family: var(--mono); font-weight: 600; letter-spacing: -2.5px; line-height: 1.15; }
h1 { font-size: clamp(42px, 5.8vw, 68px); margin: 0; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.hero-description { max-width: 760px; margin: 26px auto 25px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; }
/* Apple: unchanged artwork, at least 40px high, with 1/4-height clear space. */
.app-store-link { display: inline-block; padding: 12px; }
.app-store-link img { width: auto; height: 48px; max-width: none; }
.hero-note { color: var(--muted); font-family: var(--mono); font-size: 12px; margin: 12px 0 0; }
.preview-stage { padding: 25px 28px 20px; border: 1px solid var(--line); border-radius: 8px; background: #161b22; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; gap: 20px; }
.small-label { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.legend { display: flex; gap: 17px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.legend > span { display: flex; align-items: center; gap: 6px; }
.legend-add, .legend-remove { display: inline-flex; justify-content: center; align-items: center; width: 17px; height: 17px; font-family: ui-monospace, monospace; border-radius: 3px; font-size: 13px; }
.legend-add { background: #19382a; color: #7ee787; }
.legend-remove { background: #46272b; color: #ffa198; }
.screenshot-link { display: block; border: 1px solid #3b434d; border-radius: 6px; }
/* Crop the shared title bar and the white capture area at the rounded bottom corners. */
.screenshot-crop { overflow: hidden; border-radius: 5px; background: #1e1e1e; }
.app-screenshot { width: 100%; height: auto; margin-top: -2.81%; margin-bottom: -1.5%; }
.preview-caption { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 21px; font-family: var(--mono); font-size: 10px; color: var(--muted); line-height: 1.6; }
.preview-caption a { white-space: nowrap; text-decoration: none; }
.preview-caption a:hover { text-decoration: underline; }
.preview-summary { text-align: center; margin: 26px 0 0; font-size: 13px; color: var(--muted); line-height: 1.8; }
.workflow { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; padding-block: 110px 94px; }
h2 { font-size: clamp(28px, 3.3vw, 38px); letter-spacing: -1.5px; line-height: 1.2; margin: 0 0 25px; }
.workflow-intro > p:not(.eyebrow) { max-width: 340px; color: var(--muted); font-size: 14px; line-height: 1.85; margin-bottom: 32px; }
.file-note { display: flex; align-items: center; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 340px; }
.file-note > span { display: grid; place-items: center; width: 35px; height: 43px; border: 1px solid var(--line); border-radius: 4px; color: var(--accent); font-family: var(--mono); font-size: 11px; }
.file-note p { margin: 0; font-size: 11px; line-height: 1.8; color: var(--muted); }
ol { list-style: none; margin: 0; padding: 0; }
.workflow li { display: flex; align-items: start; gap: 21px; padding-block: 27px; border-top: 1px solid var(--line); }
.workflow li:first-child { padding-top: 0; border-top: 0; }
.step-number { font-family: var(--mono); font-size: 11px; padding-top: 5px; color: var(--accent); }
h3 { margin: 0 0 10px; font-family: var(--mono); font-size: 16px; font-weight: 600; letter-spacing: -.4px; }
.workflow li p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 13px; }
strong { color: var(--ink); font-weight: 600; }
code { font-family: var(--mono); color: var(--accent); font-size: .95em; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-block: 25px; }
.site-footer .brand { font-size: 14px; gap: 5px; letter-spacing: -.4px; }
.site-footer p, .footer-platform { font-size: 11px; color: var(--muted); }
.footer-platform { font-family: var(--mono); }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 12px 18px; background: #161b22; z-index: 2; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero { padding-block: 65px 45px; }
  .preview-stage { padding: 23px 24px 18px; }
  .workflow { gap: 45px; padding-block: 80px 65px; }
  .site-footer p { display: none; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { padding-block: 17px; }
  .brand { font-size: 16px; gap: 4px; }
  .brand img { width: 39px; height: 39px; }
  .nav-link { font-size: 11px; gap: 9px; }
  .hero { padding-block: 52px 39px; }
  .eyebrow { font-size: 11px; }
  h1 { font-size: clamp(29px, 8.3vw, 48px); letter-spacing: -1.4px; }
  .hero-description { max-width: 360px; font-size: 15px; margin-block: 23px; padding-inline: 8px; }
  .preview-stage { padding: 17px 12px 14px; border-radius: 6px; }
  .preview-heading { gap: 8px; margin-bottom: 16px; }
  .small-label { font-size: 10px; }
  .legend { gap: 9px; font-size: 9px; }
  .legend > span { gap: 4px; }
  .legend-add, .legend-remove { width: 14px; height: 14px; font-size: 11px; }
  .screenshot-crop, .screenshot-link { border-radius: 5px; }
  .preview-caption { flex-wrap: wrap; margin-top: 13px; gap: 5px; font-size: 9px; }
  .preview-summary { font-size: 12px; }
  .workflow { grid-template-columns: 1fr; gap: 36px; padding-block: 64px 47px; }
  .workflow-intro > p:not(.eyebrow), .file-note { max-width: none; }
  h2 { font-size: 30px; }
  .workflow li { padding-block: 22px; }
  .site-footer { gap: 10px; }
  .site-footer .brand img { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
