/* Rupture FX - a cool, quiet page that gets out of the way of the footage.
   One family (Archivo), one accent: demolition-site hi-vis yellow, only for Buy and the current choice. */
/* Archivo (SIL Open Font License, fonts/OFL.txt), served from this site: no requests to Google */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --paper: #F3F4F5;
  --surface: #FFFFFF;
  --ink: #1C2026;
  --muted: #5B6470;
  --line: #DADDE1;
  --screen: #1C2026;          /* the demo band: footage reads best on dark */
  --on-screen: #E9EBEE;
  --on-screen-muted: #9AA2AC;
  --hivis: #F5C400;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; }

h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); font-weight: 800; font-stretch: 112%; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; font-stretch: 112%; margin-bottom: 0.4em; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.35em; }
p { margin: 0 0 1em; }
.sub { color: var(--muted); max-width: 60ch; font-size: 1.1rem; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
main > section { padding-block: clamp(64px, 9vw, 120px); }

.btn {
  display: inline-block;
  background: var(--hivis); color: var(--ink);
  font: 700 1rem var(--font);
  padding: 13px 22px; border: 0; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: #FFD633; }
.btn.small { padding: 8px 16px; font-size: 0.92rem; }
.btn.quiet { background: rgba(255, 255, 255, 0.14); color: #fff; backdrop-filter: blur(6px); }
.btn.quiet:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------------------------------------------------------------- top bar */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px var(--gutter);
  color: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.bar.solid { background: rgba(243, 244, 245, 0.92); color: var(--ink); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { font-weight: 800; font-stretch: 112%; font-size: 1.15rem; text-decoration: none; }
.bar nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); font-weight: 600; font-size: 0.95rem; }
.bar nav a:not(.btn) { text-decoration: none; opacity: 0.85; }
.bar nav a:not(.btn):hover { opacity: 1; }
@media (max-width: 640px) { .bar nav a:not(.btn) { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: grid; align-items: end;
  background: var(--screen); color: #fff;
  overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 23, 28, 0.85), rgba(20, 23, 28, 0.1) 60%, rgba(20, 23, 28, 0.35));
}
.hero-text {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 9vh, 96px);
}
.hero h1 { max-width: 13ch; margin-bottom: 0.35em; }
.hero-text > p:not(.actions) { max-width: 46ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, 0.86); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }

/* ---------------------------------------------------------------- demos */
.demos { background: var(--screen); color: var(--on-screen); }
.demos .sub { color: var(--on-screen-muted); }
.player { position: relative; margin-top: 32px; border-radius: var(--radius); overflow: hidden; background: #000; }
.player video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.controls {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: center; gap: 14px;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  font-size: 0.9rem;
}
.controls button {
  font: 600 0.85rem var(--font); color: #fff;
  background: rgba(255, 255, 255, 0.14); border: 0; border-radius: 999px;
  padding: 6px 12px; cursor: pointer;
}
.controls button:hover { background: rgba(255, 255, 255, 0.26); }
.controls .play { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; }
.controls .play span { width: 12px; height: 12px; background: #fff; clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0); }
.controls .play.paused span { clip-path: polygon(10% 0, 100% 50%, 10% 100%); }
.speed { display: flex; gap: 4px; }
.speed button[aria-pressed="true"] { background: var(--hivis); color: var(--ink); }
.frame { font-variant-numeric: tabular-nums; min-width: 6.5em; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 560px) { .frame { display: none; } .controls { gap: 10px; padding: 20px 10px 10px; } }
.scrub { flex: 1; accent-color: var(--hivis); min-width: 60px; }
.caption { margin: 16px 0 0; color: var(--on-screen-muted); max-width: 70ch; min-height: 3.2em; }

.clips {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
@media (max-width: 900px) { .clips { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .clips { grid-template-columns: repeat(2, 1fr); } }
.clips button {
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; padding: 0; color: inherit; font: inherit;
}
.clips img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 8px; opacity: 0.55; outline: 2px solid transparent; outline-offset: 2px;
  transition: opacity 0.15s;
}
.clips button:hover img { opacity: 0.85; }
.clips button[aria-current="true"] img { opacity: 1; outline-color: var(--hivis); }
.clips .t { display: block; margin-top: 10px; font-weight: 700; font-size: 0.95rem; }
.clips .m { display: block; color: var(--on-screen-muted); font-size: 0.85rem; }

/* ---------------------------------------------------------------- steps */
.steps ol {
  list-style: none; counter-reset: step;
  margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 760px) { .steps ol { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-weight: 800; font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; }
.steps p { color: var(--muted); }

/* ---------------------------------------------------------------- materials */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.mat-list { margin: 0; border-top: 1px solid var(--line); }
.mat-list > div {
  display: grid; grid-template-columns: 12rem 1fr auto; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
@media (max-width: 520px) { .mat-list > div { grid-template-columns: 1fr auto; } .mat-list dd { grid-column: 1; } }
.mat-list dt { font-weight: 700; }
.mat-list dd { margin: 0; color: var(--muted); }
.mat-list .watch {
  font: 600 0.85rem var(--font); color: var(--ink); cursor: pointer;
  background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
  white-space: nowrap;
}
.mat-list .watch:hover { border-color: var(--ink); }

/* ---------------------------------------------------------------- features */
.features ul {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px clamp(20px, 3vw, 40px);
}
@media (max-width: 860px) { .features ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features ul { grid-template-columns: 1fr; } }
.features p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- pricing */
.pricing { background: var(--surface); border-block: 1px solid var(--line); }
.sizer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  margin: 32px 0 20px; max-width: 760px;
}
@media (max-width: 640px) { .sizer { grid-template-columns: 1fr; } }
.sizer label { font-weight: 700; }
.sizer input { accent-color: var(--ink); width: 100%; }
.sizer output { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 11ch; text-align: right; }
.editions {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 960px) { .editions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .editions { grid-template-columns: 1fr; } }
.editions li {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.editions li p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.editions .price { color: var(--ink); font-size: 1.5rem; font-weight: 800; font-stretch: 112%; margin: 6px 0 12px; }
.editions .price span { font-size: 0.9rem; font-weight: 500; font-stretch: 100%; color: var(--muted); }
.editions li { display: flex; flex-direction: column; }
.editions .quote {
  margin-top: auto; align-self: start; transform: translateY(14px);
  font-weight: 700; font-size: 0.92rem; text-decoration: none;
  border: 1px solid var(--ink); border-radius: 999px; padding: 7px 16px;
}
.editions .quote:hover { background: var(--ink); color: var(--paper); }
.editions li[data-edition="studio"] { padding-bottom: 36px; }
.company { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--muted); cursor: pointer; }
.company input { accent-color: var(--ink); width: 18px; height: 18px; }
.pricing .fine { color: var(--muted); font-size: 0.9rem; margin: 16px 0 0; }
.editions li.fit { border-color: var(--ink); box-shadow: inset 0 4px 0 var(--hivis); }
.editions li.fit h3::after { content: "Fits your shot"; margin-left: 10px; font-size: 0.75rem; font-weight: 700; background: var(--hivis); padding: 3px 8px; border-radius: 999px; vertical-align: 2px; }
.req { margin: 12px 0 0; color: var(--muted); max-width: 70ch; }
.req strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- faq */
.faq details { border-bottom: 1px solid var(--line); max-width: 780px; }
.faq details:first-of-type { border-top: 1px solid var(--line); margin-top: 28px; }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); max-width: 65ch; margin: 0 0 20px; }

/* ---------------------------------------------------------------- footer */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.foot p { margin: 0 0 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; font-weight: 600; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.editions .buy { margin-top: auto; align-self: start; transform: translateY(14px); padding: 8px 18px; font-size: 0.92rem; }
.editions li:has(.buy) { padding-bottom: 36px; }
.lost { margin: 0 0 20px; }
.lost label { display: block; font-weight: 600; margin-bottom: 8px; }
.lost div { display: flex; gap: 10px; flex-wrap: wrap; }
.lost input { flex: 1 1 240px; font: inherit; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.lost-msg { color: var(--muted); margin: 10px 0 0; min-height: 1.6em; }
.eula { white-space: pre-wrap; font-size: 0.95rem; }
.feedback { max-width: 640px; }
.feedback label, .feedback legend { display: block; font-weight: 600; margin: 18px 0 8px; }
.feedback .opt { font-weight: 400; color: var(--muted); }
.feedback textarea, .feedback input[type=email], .feedback input[type=text], .feedback input[type=url], .feedback select {
  width: 100%; font: inherit; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
}
.feedback #fb-report { font: 0.85rem/1.5 ui-monospace, Consolas, monospace; }
.kinds { border: 0; padding: 0; margin: 0; }
.kinds label { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; margin: 0 20px 0 0; }
.kinds input { accent-color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fb-msg { min-height: 1.6em; color: var(--muted); }
.feedback .fine { color: var(--muted); font-size: 0.9rem; }
.feedback .send { margin: 28px 0 8px; }
.lede { font-size: 1.2rem; max-width: 60ch; }
.foot .fine { color: var(--muted); font-size: 0.85rem; max-width: 80ch; }

/* ---------------------------------------------------------------- manual (docs.html) */
.page-head { background: var(--screen); color: #fff; padding: 120px 0 48px; }
.page-head h1 { max-width: 60rem; margin: 0 auto; padding-inline: var(--gutter); font-size: clamp(2.2rem, 5vw, 3.6rem); }
.doc { max-width: 60rem; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.doc h2 { margin-top: 2em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.doc h3 { margin-top: 1.6em; }
.doc p, .doc li { max-width: 70ch; }
.doc li { margin-bottom: 0.4em; }
.doc table { border-collapse: collapse; width: 100%; margin: 0 0 1.5em; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; padding: 9px 14px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc code { font-size: 0.9em; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
