/* Streamgrab: stylesheet for every page of the site. An editing bay: the page is dark first, clips sit on a strip, and the segments of a stream join into one bar. Sora, magenta for the capture, grey for the pieces. */

@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/JetBrainsMono-500.woff") format("woff"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/fonts/Sora-latin.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #14161b;
  --surface: #1c1f26;
  --soft: #191c22;
  --ink: #e9ebf0;
  --muted: #a3aab8;
  --line: #2c313c;
  --seg: #3b4150;
  --accent: #c2185b;
  --accent-hover: #d81b68;
  --accent-ink: #ffffff;
  --accent-soft: #2a1822;
  --link: #ff8db4;
  --fill: #f0558f;
  --reel: #0b0d10;
  --reel-clip: #262b35;
  --reel-text: #f2f4f8;
  --reel-muted: #b4bbca;
  --twin: #f0558f;
  --twin-soft: #2a1822;
  --radius: 4px;
  --radius-sm: 3px;
  --film: #c9cfdc;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: var(--font);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 34px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip:focus { top: 12px; color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; letter-spacing: -0.03em; margin: 0; }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.7rem); line-height: 1.08; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.85rem); line-height: 1.2; margin-bottom: 12px; }
h3 { font-size: 1.15rem; line-height: 1.3; }
p { margin: 0; }

/* header: the reel's masthead, as in the popup */
.site-header { position: relative; background: var(--reel); color: var(--reel-text); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(90deg, transparent 0 5px, rgba(255, 255, 255, 0.26) 5px 10px); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 12px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--reel-text); text-decoration: none; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand:hover { color: #fff; }
.brand img { border-radius: 0; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.nav a { color: var(--reel-muted); text-decoration: none; font-size: 0.88rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: var(--fill); }

.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 12px 20px; border-radius: var(--radius-sm); border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font: inherit; font-size: 0.95rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--seg); }
.btn.quiet:hover { background: var(--accent-soft); color: var(--ink); border-color: var(--fill); }

/* hero: copy on top, the bay below it */
.hero { background: var(--reel); color: var(--reel-text); padding: 56px 0 56px; border-bottom: 1px solid #262b35; overflow: hidden; }
.hero .copy { max-width: 46rem; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: 1.05rem; color: var(--reel-muted); max-width: 40rem; margin-bottom: 26px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.hero .btn.quiet { color: var(--reel-text); border-color: #4a5160; }
.hero a:not(.btn) { color: #ff8db4; }
.hero a:not(.btn):hover { color: #fff; }
.hero .cta-note { margin-top: 18px; font-size: 0.85rem; color: var(--reel-muted); }
.bay { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; margin-top: 44px; }
.rig { min-width: 0; border-top: 1px solid #262b35; }
.ruler { height: 22px; background: repeating-linear-gradient(90deg, #4a5160 0 1px, transparent 1px 12px), repeating-linear-gradient(90deg, #6b7384 0 1px, transparent 1px 60px); background-size: 100% 8px, 100% 16px; background-repeat: no-repeat; }
.lane { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid #262b35; }
.lane-name { font-size: 0.78rem; line-height: 1.3; color: var(--reel-muted); }
.clips { position: relative; display: flex; gap: 8px; padding: 14px 10px; background: #000; background-image: radial-gradient(#4a5160 2px, transparent 2.5px), radial-gradient(#4a5160 2px, transparent 2.5px); background-size: 14px 14px; background-position: 0 -5px, 0 calc(100% + 5px); background-repeat: repeat-x; }
.clip { flex: 0 0 104px; padding: 7px 9px 8px; border: 2px solid transparent; border-radius: 5px; background: var(--reel-clip); color: var(--reel-text); font-weight: 700; font-size: 0.85rem; line-height: 1.4; }
.clip small { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.68rem; color: var(--reel-muted); }
.clip.sel { border-color: var(--fill); }
.clip.ghost { background: transparent; border: 2px dashed #3b4150; }
.film { --hole: var(--reel); display: flex; align-items: stretch; }
.track { flex: 1; min-width: 0; display: flex; height: 22px; }
.track i { --i: 0; flex: 1; min-width: 4px; margin-right: 6px; background-color: #323847; background-image: repeating-linear-gradient(90deg, var(--hole) 0 3px, transparent 3px 7px), repeating-linear-gradient(90deg, var(--hole) 0 3px, transparent 3px 7px); background-size: 100% 3px, 100% 3px; background-position: 0 3px, 0 calc(100% - 3px); background-repeat: no-repeat; }
.track i:last-child { margin-right: 0; }
.track i.on { background-color: var(--film); }
.track.joined i { margin-right: 0; box-shadow: inset -1px 0 0 rgba(11, 13, 16, 0.55); }
.track.joined i:last-child { box-shadow: none; }
.splice { flex: none; align-self: center; margin-left: -2px; padding: 7px 12px 7px 14px; font-family: var(--mono); font-size: 0.74rem; line-height: 1.2; white-space: nowrap; background: var(--accent); color: var(--accent-ink); border-radius: 2px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 5px 50%); }
.track-line { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 0.78rem; color: var(--reel-muted); }
.track-line b { font-family: var(--mono); font-weight: 500; color: #fff; }
.monitor { margin: 0; background: var(--reel-clip); border: 1px solid #3b4150; border-radius: 4px; padding: 8px; box-shadow: var(--shadow); }
.monitor img { border-radius: 2px; width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .cut .track:not(.joined) i { animation: pour 0.5s ease-out both; }
  .cut .track:not(.joined) i:nth-child(1) { animation-delay: 0.3s; } .cut .track:not(.joined) i:nth-child(2) { animation-delay: 0.8s; } .cut .track:not(.joined) i:nth-child(3) { animation-delay: 1.3s; } .cut .track:not(.joined) i:nth-child(4) { animation-delay: 1.8s; } .cut .track:not(.joined) i:nth-child(5) { animation-delay: 2.3s; }
  .cut .track.joined i { animation: close 0.5s ease-in-out both; }
  .cut .track.joined i:nth-child(1) { animation-delay: 3.2s; } .cut .track.joined i:nth-child(2) { animation-delay: 3.28s; } .cut .track.joined i:nth-child(3) { animation-delay: 3.36s; } .cut .track.joined i:nth-child(4) { animation-delay: 3.44s; } .cut .track.joined i:nth-child(5) { animation-delay: 3.52s; }
  .cut .splice { animation: snap 0.3s cubic-bezier(0.2, 1.5, 0.4, 1) 4.1s both; }
  .cut .saved { animation: show 0.4s ease-out 4.1s both; }
}
@keyframes pour { from { background-color: #323847; } }
@keyframes close { from { margin-right: 6px; } }
@keyframes snap { from { transform: translateX(16px) scaleX(1.12); opacity: 0; } }
@keyframes show { from { opacity: 0; } }

/* sections: a heading column and a working column, each opened by a segmented bar */
main > section { padding: 64px 0; border: 0; border-bottom: 1px solid var(--line); }
main > section > .wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); column-gap: 56px; align-items: start; }
main > section > .wrap > * { grid-column: 2; min-width: 0; }
main > section > .wrap > .rule { display: block; height: 10px; width: 100%; background: linear-gradient(90deg, var(--accent) 0 44px, transparent 44px), repeating-linear-gradient(90deg, #323847 0 4px, transparent 4px 9px); background-size: 100% 100%, 100% 4px; background-position: 0 0, 0 3px; background-repeat: no-repeat, repeat-x; }
main > section > .wrap > h2 { grid-column: 1; position: sticky; top: 20px; margin-top: 0; }
section.ground { background: var(--soft); }
.rule { display: block; height: 8px; width: 100%; background: linear-gradient(90deg, var(--fill) 0 18%, transparent 18% 19%, var(--seg) 19% 38%, transparent 38% 39%, var(--seg) 39% 58%, transparent 58% 59%, var(--seg) 59% 78%, transparent 78% 79%, var(--seg) 79% 100%); border-radius: 4px; }
.rule + h2 { margin-top: 0; }
.sub { color: var(--muted); max-width: 40rem; margin-bottom: 24px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; max-width: 40rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 14px; height: 7px; background: var(--film); box-shadow: inset 5px 0 0 var(--accent); }
.shots { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.shots figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.shots figcaption { padding: 10px 14px; font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); }
.shot { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }

/* pricing */
.price-table { width: 100%; max-width: 860px; border-collapse: collapse; table-layout: fixed; }
.price-table th, .price-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.price-table th:first-child, .price-table td:first-child { padding-left: 0; width: 42%; }
.price-table thead th { font-size: 0.95rem; color: var(--muted); font-weight: 650; }
.price-table tbody th { font-weight: 500; }
.price-table .yes { color: var(--accent); font-weight: 600; }
.price-table .no { color: var(--muted); }
.price-table tfoot th, .price-table tfoot td { border-bottom: 0; padding-top: 22px; }
.price { font-family: var(--serif); font-size: 2rem; line-height: 1.1; margin: 0 0 4px; font-variant-numeric: lining-nums; }
.price small { font-family: var(--font); font-size: 0.9rem; color: var(--muted); }
.price-note { color: var(--muted); font-size: 0.9rem; margin: 0 0 12px; }
.price-table .btn { display: flex; width: 100%; max-width: 240px; margin: 0 0 8px; }
.table-note { color: var(--muted); max-width: 46rem; margin-top: 20px; }

/* faq */
.faq { max-width: 46rem; margin: 24px 0 0; }
.faq dt { font-weight: 650; font-size: 1.1rem; margin-top: 24px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 6px 0 0; color: var(--muted); }
.faq dd + dd { margin-top: 8px; }

/* privacy policy and other text pages */
main.doc { max-width: 760px; margin: 0 auto; padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); margin-bottom: 16px; }
.doc h2 { font-size: 1.5rem; margin: 36px 0 10px; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc code { background: var(--soft); padding: 1px 5px; border-radius: 4px; font-size: 0.9em; }
.doc a { overflow-wrap: anywhere; }

/* guides: long-form pages that share the .doc layout */
.crumbs { font-size: 0.9rem; color: var(--muted); margin: 0 0 14px; }
.doc .lede { font-size: 1.2rem; line-height: 1.55; color: var(--muted); margin-bottom: 20px; }
.doc .cta-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 0 0 8px; }
.doc .cta-note { color: var(--muted); font-size: 0.95rem; margin: 0 0 12px; }
.doc .btn { text-decoration: none; }
.doc figure.shot { margin: 24px 0; }
.doc figure.shot.tall { max-width: 300px; }
.doc figcaption { padding: 10px 14px; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); }
.doc blockquote { margin: 0 0 16px; padding: 4px 0 4px 16px; border-left: 4px solid var(--twin); color: var(--ink); }
.doc blockquote p { margin: 0 0 8px; }
.doc blockquote cite { display: block; font-style: normal; font-size: 0.9rem; color: var(--muted); }
.doc .source { color: var(--muted); font-size: 0.9rem; }
.doc .box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 36px 0 0; }
.doc .box h2 { margin: 0 0 8px; font-size: 1.4rem; }
.doc .box p:last-child { margin-bottom: 0; }
.doc .more { list-style: none; padding: 0; }
.doc .more li { margin: 8px 0; }

.compare { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0 0 20px; font-size: 0.95rem; }
.compare th, .compare td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-weight: 400; overflow-wrap: anywhere; }
.compare thead th { color: var(--muted); font-weight: 650; }
.compare thead th:first-child { width: 22%; }
.compare tbody th { font-weight: 600; width: 22%; padding-left: 0; }
.compare th:first-child { padding-left: 0; }

.doc .guide-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 14px; }
.guide-list li { margin: 0; }
.guide-list a { display: block; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.guide-list a:hover { border-color: var(--accent); color: var(--ink); }
.guide-list b { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.25; color: var(--accent); margin-bottom: 4px; }
.guide-list span { color: var(--muted); }

/* 404 */
.notfound { padding-top: 88px; padding-bottom: 96px; max-width: 720px; margin: 0 auto; }
.notfound h1 { margin-bottom: 12px; }
.notfound p { color: var(--muted); font-size: 1.15rem; margin-bottom: 28px; }
.notfound .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  body { font-size: 16px; }
  .nav { gap: 4px 12px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .doc .box { padding: 18px 16px; }
  .doc .cta-row .btn { width: 100%; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .compare th, .compare td, .compare tbody th { padding: 0; border: 0; width: 100%; }
  .compare tbody th { margin-bottom: 4px; }
  .compare td { padding: 2px 0; }
  .compare td::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 600; }

  /* the pricing table stacks: one block per feature, then one block per plan */
  .price-table, .price-table tbody, .price-table tfoot, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; max-width: none; }
  .price-table thead { display: none; }
  .price-table tbody tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td, .price-table th:first-child, .price-table td:first-child { padding: 0; border: 0; width: 100%; }
  .price-table tbody th { font-weight: 600; margin-bottom: 6px; }
  .price-table tbody td { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
  .price-table tbody td::before { content: attr(data-label); color: var(--muted); font-weight: 400; }
  .price-table tfoot tr { padding: 20px 0 0; }
  .price-table tfoot th, .price-table tfoot th:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
  .price-table tfoot td { padding: 0 0 20px; }
  .price-table tfoot td::before { content: attr(data-label); display: block; font-size: 0.85rem; font-weight: 650; color: var(--muted); margin-bottom: 2px; }
  .price-table tfoot .btn { display: flex; width: 100%; margin: 0 0 8px; }
}

.tag { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 2px; font-family: var(--mono); background: var(--accent); color: var(--accent-ink); font-size: 0.72rem; font-weight: 700; line-height: 1.6; vertical-align: 0.1em; }


/* overrides on the shared table and text rules */
.price-table thead th { color: var(--ink); font-weight: 600; }
.price-table .yes { color: var(--link); font-weight: 600; }
.price { font-weight: 700; font-size: 1.8rem; }
.faq dt { font-weight: 600; }
.compare { font-size: 0.9rem; }
.guide-list a { border-radius: var(--radius); background: var(--surface); }
.guide-list b { font-family: var(--font); font-weight: 600; font-size: 1.05rem; color: var(--link); }
.doc .box { border-left: 5px solid var(--fill); border-radius: var(--radius-sm); }
.doc blockquote { border-left-color: var(--fill); }
.doc code { background: var(--surface); }

.site-footer { padding: 48px 0 0; background: var(--reel); color: var(--reel-muted); }
.footer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 40px; padding-bottom: 28px; }
.footer-col h2 { font-family: var(--font); font-size: 0.9rem; font-weight: 600; letter-spacing: 0; color: var(--reel-text); margin: 0 0 8px; }
.footer-col a { display: block; color: var(--reel-muted); text-decoration: none; padding: 4px 0; font-size: 0.88rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.trademark { border-top: 1px solid #262b35; padding: 18px 0 40px; color: var(--reel-muted); font-size: 0.8rem; }

@media (max-width: 960px) {
  .bay { grid-template-columns: minmax(0, 1fr); }
  .monitor { max-width: 300px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  main > section > .wrap { grid-template-columns: minmax(0, 1fr); }
  main > section > .wrap > h2 { grid-column: 1; position: static; }
  .shots { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  main > section { padding: 48px 0; }
  .hero { padding: 36px 0 40px; }
  .lane { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .clip { flex-basis: 88px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .btn { width: 100%; }
}

/* store-soon */
.btn.store-soon, .btn.store-soon:hover { background: transparent; color: inherit; border-style: dashed; opacity: .6; cursor: default; filter: none; box-shadow: none; transform: none }
.footer-col .store-soon { display: block; padding: 4px 0; opacity: .6; cursor: default }
.updated { font-family: var(--mono); font-size: 0.82rem; margin: 4px 0 18px; color: var(--muted); font-size: 0.9rem; }

/* changelog: one article per release, version and date on one line */

/* checkout return notice */
.checkout-close { padding: 6px 14px; background: transparent; color: var(--link); border-color: var(--seg); font-family: var(--mono); font-size: 0.85rem; }
.offer-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; letter-spacing: 0.04em; padding: 1px 6px; border: 1px dashed currentColor; border-radius: 3px; }
.copy-code { margin-left: 4px; padding: 0; font: inherit; color: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; }
