/* Storivo, the landing page. A dark screening-room hero where the script plays beside the film it became, then
   warm paper for everything else. Ink, paper and one red, the recording light of the logo; every other colour
   comes from the films. The brand tokens are the first block (the same values as site/brand.mjs and app.css). */
:root {
  /* brand */
  --dot: #FF3B30; --accent: #E02E1F; --accent-hover: #C9281A; --on-accent: #FFFFFF; --accent-ink: #D42A1C; --hl: rgb(255 59 48 / .36); --tile: #111214;
  --night: #0E0F11; --night-2: #16171A; --night-line: rgb(255 255 255 / .1); --on-night: #F4F1EA; --on-night-soft: #B4B0A7; --on-night-faint: #7D7A73;
  /* page */
  --paper: #F7F5F0; --wash: #EFECE5; --card: #FFFFFF; --ink: #111214; --soft: #45474D; --muted: #67696F; --line: #E2DED4;
  --lift: rgb(17 18 20 / .22);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --script: "Newsreader", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #121315; --wash: #18191C; --card: #1C1D21; --ink: #F2EFE8; --soft: #C3BFB6; --muted: #98958D; --line: #2A2B30;
  --accent-ink: #FF6A5F; --tile: #26272B; --lift: rgb(0 0 0 / .6); color-scheme: dark } }
:root[data-theme="dark"] {
  --paper: #121315; --wash: #18191C; --card: #1C1D21; --ink: #F2EFE8; --soft: #C3BFB6; --muted: #98958D; --line: #2A2B30;
  --accent-ink: #FF6A5F; --tile: #26272B; --lift: rgb(0 0 0 / .6); color-scheme: dark }

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 5rem }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility }
img, video, svg { display: block; max-width: 100% }
a { color: inherit }
h1, h2, h3, p, figure { margin: 0 }
h1, h2 { font-family: var(--display); font-weight: 700; font-stretch: 92%; letter-spacing: -.035em; text-wrap: balance }
h1 { font-size: clamp(2.75rem, 5.4vw, 4.75rem); line-height: .96 }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1 }
h3 { font: 600 1.125rem/1.3 var(--text); letter-spacing: -.005em }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px }
.wrap { max-width: 75rem; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
.num { font-variant-numeric: tabular-nums }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 600 .8125rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink) }
.eyebrow::before { content: ""; width: .5rem; height: .5rem; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%) }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: 0 1.5rem; border: 0; border-radius: 10px; background: var(--accent); color: var(--on-accent); font: 600 1.0313rem/1 var(--text); text-decoration: none; box-shadow: 0 1px 0 rgb(255 255 255 / .18) inset, 0 10px 24px -14px var(--accent); transition: transform .2s var(--ease), background-color .2s, box-shadow .2s }
.btn svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease) }
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 1px 0 rgb(255 255 255 / .18) inset, 0 16px 30px -14px var(--accent) }
.btn:hover svg { transform: translateX(3px) }
.btn:active { transform: none }
.btn.small { min-height: 2.5rem; padding: 0 1.05rem; font-size: .9375rem; box-shadow: none }
.btn.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line) }
.btn.quiet:hover { box-shadow: inset 0 0 0 1px var(--ink); background: transparent }
.ghost { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; text-decoration: none; color: var(--on-night) }
.ghost svg { box-sizing: content-box; width: .75rem; height: .75rem; padding: .7rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .28); transition: box-shadow .25s, background-color .25s }
.ghost:hover svg { background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .6) }
.assure { color: var(--on-night-faint); font-size: .9375rem }

/* the brand */
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none }
.brand svg { width: 1.75rem; height: 1.75rem; flex: none }
.brand .tile { fill: var(--tile); transition: fill .35s }
.brand .dot { fill: var(--dot) }
.word { font: 800 1.625rem/1 var(--display); font-stretch: 100%; letter-spacing: -.055em; white-space: nowrap }
.word .o { display: inline-block; width: .58em; height: .58em; margin-left: .05em; border-radius: 50%; background: var(--dot) }

/* top bar: dark over the hero, paper once the page has moved past it */
.top { --tile: #232428; position: sticky; top: 0; z-index: 5; padding-block: .85rem; background: color-mix(in srgb, var(--night) 82%, transparent); color: var(--on-night); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: background-color .35s, color .35s, border-color .35s }
.top.past { --tile: var(--ink); background: color-mix(in srgb, var(--paper) 86%, transparent); color: var(--ink); border-bottom-color: var(--line) }
.top .wrap { display: flex; align-items: center; gap: 2rem }
.top nav { display: flex; gap: 1.85rem; margin-left: auto }
.top nav a, .signin { color: inherit; opacity: .74; text-decoration: none; font-size: .9688rem; transition: opacity .2s }
.top nav a:hover, .signin:hover { opacity: 1 }

/* hero */
.hero { position: relative; margin-top: -4.25rem; padding: calc(4.25rem + clamp(2rem, 4.5vw, 3.75rem)) 0 clamp(3.5rem, 7vw, 6rem); background: radial-gradient(70% 55% at 72% 78%, rgb(255 255 255 / .055), transparent 70%), var(--night); color: var(--on-night); overflow: hidden }
.lede { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 1.25rem 3.5rem; align-items: end }
.lede .eyebrow { grid-column: 1 / -1; color: var(--dot) }
.pitch { display: grid; gap: 1.6rem; padding-bottom: .5rem }
.pitch p:first-child { color: var(--on-night-soft); font-size: 1.125rem; line-height: 1.55; max-width: 30em }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem }

.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem 3rem; align-items: start; margin-top: clamp(2.25rem, 4vw, 3.5rem); padding: clamp(1.25rem, 2.4vw, 2rem); border: 1px solid var(--night-line); border-radius: 20px; background: linear-gradient(rgb(255 255 255 / .035), rgb(255 255 255 / .01)) }
.tag { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 1.6rem; margin-bottom: .9rem; font: 600 .75rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-faint) }
.tag .kind { padding: .35rem .55rem; border-radius: 6px; background: rgb(255 255 255 / .08); color: var(--on-night-soft); letter-spacing: .1em; transition: opacity .3s }
.script { display: grid; gap: .1rem }
.show { display: grid }
.ln { display: block; width: 100%; padding: .45rem 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--on-night-faint); font: 400 1.1875rem/1.55 var(--script); transition: color .35s }
.ln span { padding: .08em .24em; margin-inline: -.24em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 0 / 0% 100%; transition: background-size .6s var(--ease), color .25s }
.ln:hover { color: var(--on-night-soft) }
.ln.on { color: var(--on-night) }
.ln.on span { background-size: 100% 100% }
.screen { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--night-line), 0 40px 80px -40px rgb(0 0 0 / .9) }
.screen > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease) }
.screen > .on { opacity: 1 }
.ticks { display: flex; gap: 5px; margin-top: .9rem }
.ticks i { position: relative; flex: 1; height: 3px; border-radius: 2px; background: rgb(255 255 255 / .12); overflow: hidden }
.ticks i::after { content: ""; position: absolute; inset: 0; background: var(--dot); transform: scaleX(0); transform-origin: left }
.ticks i.done::after { transform: none; background: rgb(255 255 255 / .45) }
.ticks i.on::after { animation: fill var(--stay, 4.6s) linear forwards }
.demo.held .ticks i.on::after { animation: none; transform: none }
@keyframes fill { to { transform: none } }
.under { display: flex; justify-content: space-between; gap: 1rem; margin-top: .85rem; color: var(--on-night-faint); font-size: .9375rem }
.under b { font-weight: 600; color: var(--on-night) }

/* facts under the hero */
.facts { padding-block: clamp(2rem, 4vw, 2.75rem); border-bottom: 1px solid var(--line) }
.facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none }
.facts li { display: grid; gap: .2rem; padding: .25rem 1.5rem }
.facts li:first-child { padding-left: 0 }
.facts li + li { border-left: 1px solid var(--line) }
.facts b { font: 700 1.5rem/1.1 var(--display); font-stretch: 92%; letter-spacing: -.03em }
.facts li span { color: var(--muted); font-size: .9375rem }
.from { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); padding-top: clamp(1.25rem, 2.5vw, 1.75rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem }
.libs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; color: var(--soft); font: 600 .9375rem/1.2 var(--text); letter-spacing: -.005em }
.libs i { width: 3px; height: 3px; border-radius: 50%; background: var(--line) }

/* sections */
.band { padding-block: clamp(4rem, 9vw, 7.5rem) }
.band.wash { background: var(--wash) }
.head { display: grid; justify-items: start; gap: 1rem; max-width: 44rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem) }
.head p:not(.eyebrow) { color: var(--soft); font-size: 1.125rem; max-width: 34em }
.rise { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease) }
.rise.in { opacity: 1; transform: none }

/* examples */
.reel { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 1.75rem 2rem }
.film { display: grid; gap: .8rem; align-content: start }
.film.big { grid-row: span 2 }
.film .pic { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 12px; overflow: hidden; background: var(--night) }
.film video, .film img { width: 100%; height: 100%; object-fit: cover }
.film video { position: absolute; inset: 0 }
.film .len { position: absolute; right: .6rem; bottom: .6rem; padding: .3rem .5rem; border-radius: 6px; background: rgb(0 0 0 / .62); color: #fff; font: 600 .8125rem/1 var(--text); backdrop-filter: blur(6px) }
.film figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem }
.film figcaption b { font-weight: 600 }
.film.big figcaption b { font: 700 1.375rem/1.15 var(--display); font-stretch: 92%; letter-spacing: -.025em }
.film figcaption span { color: var(--muted); font-size: .9375rem; white-space: nowrap }
.kinds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; margin: clamp(2.5rem, 5vw, 3.75rem) 0 0; padding: clamp(1.75rem, 3.5vw, 2.5rem) 0 0; border-top: 1px solid var(--line); list-style: none }
.kinds li { display: grid; gap: .15rem; align-content: start }
.kinds img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: .6rem; background: var(--night); transition: transform .5s var(--ease) }
.kinds li:hover img { transform: translateY(-3px) }
.kinds b { font-weight: 600 }
.kinds span { color: var(--muted); font-size: .875rem; line-height: 1.4 }

/* inside a video */
.inside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem }
.inside figure { display: grid; gap: 1.1rem; align-content: start }
.inside .pic { border-radius: 12px; overflow: hidden; background: var(--night) }
.inside img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .9s var(--ease) }
.inside figure:hover img { transform: scale(1.03) }
.inside figcaption { display: grid; gap: .3rem; max-width: 30rem }
.inside figcaption p { color: var(--soft) }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; counter-reset: s; padding: 0; margin: 0 0 clamp(2.5rem, 5vw, 4rem); list-style: none }
.steps li { display: grid; gap: .55rem; align-content: start; counter-increment: s; padding-top: 1.25rem; border-top: 1px solid var(--ink) }
.steps li::before { content: "0" counter(s); margin-bottom: .6rem; font: 700 2.25rem/1 var(--display); font-stretch: 92%; letter-spacing: -.03em; color: var(--accent-ink) }
.steps p { color: var(--soft) }
/* the player: five whole videos the app made, one per genre, with sound. Nothing loads until one is played. */
.theatre { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 1.25rem 1.75rem; align-items: start }
.stage { display: grid; gap: .9rem; margin: 0 }
.tv { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #000; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -46px var(--lift) }
.tv video { width: 100%; height: 100%; object-fit: contain; background: #000 }
.tv .go { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: .75rem; padding: .55rem 1.35rem .55rem .55rem; border: 0; border-radius: 999px; background: rgb(255 255 255 / .95); color: #111214; font: 600 1rem/1 var(--text); cursor: pointer; transform: translate(-50%, -50%); box-shadow: 0 20px 44px -16px rgb(0 0 0 / .7); transition: transform .25s var(--ease), opacity .3s }
.tv .go svg { box-sizing: border-box; width: 2.75rem; height: 2.75rem; padding: .8rem .7rem .8rem .9rem; border-radius: 50%; background: var(--accent); fill: #fff }
.tv .go:hover { transform: translate(-50%, -50%) scale(1.04) }
.theatre.started .go { opacity: 0; pointer-events: none }
.stage figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem }
.stage figcaption b { font: 700 1.375rem/1.2 var(--display); font-stretch: 92%; letter-spacing: -.02em }
.stage figcaption span { color: var(--muted); font-size: .9375rem }
.pick { display: grid; gap: .8rem }
.pick .lbl { font: 600 .75rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
.films { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none }
.films button { display: grid; grid-template-columns: 7.25rem minmax(0, 1fr); gap: .9rem; align-items: center; width: 100%; padding: .45rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s }
@media (hover: hover) { .films button:hover { border-color: var(--ink) } }
.films button[aria-current="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink) }
.films img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; background: var(--night) }
.films span { display: grid; gap: .2rem; min-width: 0 }
.films b { font-weight: 600; font-size: .9688rem; line-height: 1.25 }
.films small { color: var(--muted); font-size: .8125rem }
/* the chosen video carries the logo's recording light, which blinks while it plays */
.films button[aria-current="true"] small::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .45rem; border-radius: 50%; background: var(--dot); vertical-align: .02em }
.theatre.playing .films button[aria-current="true"] small::before { animation: rec 1.2s ease-in-out infinite }
@keyframes rec { 50% { opacity: .2 } }

/* what customers say (shown only when the build has quotes) */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.5rem }
.quotes blockquote { display: grid; gap: 1.25rem; align-content: space-between; margin: 0; padding: 1.75rem; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line) }
.quotes blockquote p { font: 400 1.25rem/1.45 var(--script) }
.quotes footer { display: grid; color: var(--muted); font-size: .9375rem }
.quotes footer b { color: var(--ink); font-weight: 600 }

/* pricing */
.rate { max-width: 46rem; margin-bottom: 2.5rem }
.rate .head { margin: 0 }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 1rem; padding: 1.85rem 1.75rem 1.75rem; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line) }
.plan h3 { display: flex; justify-content: space-between; align-items: center; gap: 1rem }
.plan .pick { padding: .32rem .55rem; border-radius: 6px; background: var(--accent); color: var(--on-accent); font: 600 .75rem/1 var(--text); letter-spacing: .06em; text-transform: uppercase }
.plan .price { font: 700 3rem/1 var(--display); font-stretch: 92%; letter-spacing: -.04em }
.plan .price small { font: 400 1rem/1 var(--text); letter-spacing: 0; color: var(--muted) }
.plan .per { margin-top: -.5rem; color: var(--muted); font-size: .9375rem }
.plan ul { display: grid; gap: .6rem; align-content: start; margin: .25rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--soft) }
.plan li { position: relative; padding-left: 1.6rem }
.plan li::before { content: ""; position: absolute; left: .2rem; top: .42em; width: .45rem; height: .75rem; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg) }
.plan li b { color: var(--ink); font-weight: 600 }
.plan .btn { width: 100%; margin-top: .5rem }
.plan.lead { background: var(--night); color: var(--on-night); box-shadow: 0 0 0 1px var(--night), 0 30px 60px -36px var(--lift) }
.plan.lead .price small, .plan.lead .per { color: var(--on-night-faint) }
.plan.lead ul { border-top-color: var(--night-line); color: var(--on-night-soft) }
.plan.lead li b { color: var(--on-night) }
.plan.lead li::before { border-color: var(--dot) }
.fine { margin-top: 1.5rem; color: var(--muted); font-size: .9375rem }

/* questions */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem 4rem; align-items: start }
.faq .head { margin: 0 }
.qa { border-top: 1px solid var(--line) }
.qa details { border-bottom: 1px solid var(--line) }
.qa summary { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.3rem 0; font-weight: 600; font-size: 1.0938rem; cursor: pointer; list-style: none; transition: color .2s }
.qa summary:hover { color: var(--accent-ink) }
.qa summary::-webkit-details-marker { display: none }
.qa summary::after { content: ""; flex: none; width: .8rem; height: .8rem; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform .3s var(--ease) }
.qa details[open] summary::after { transform: rotate(45deg) }
.qa details p { padding: 0 2.5rem 1.4rem 0; color: var(--soft); max-width: 40em }

/* close and foot */
.close { padding-block: clamp(4.5rem, 10vw, 8rem); background: radial-gradient(60% 80% at 85% 100%, rgb(255 59 48 / .2), transparent 70%), var(--night); color: var(--on-night) }
.last { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem 3rem }
.last h2 { max-width: 12em; font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: .96 }
.close .cta { flex-direction: column; align-items: flex-start; gap: 1rem }
.foot { padding-block: 2.5rem 3rem; color: var(--muted); font-size: .9375rem; border-top: 1px solid var(--line) }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: center }
.foot .sign { display: grid; gap: .5rem }
.foot .brand { color: var(--ink) }
.foot nav { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem }
.foot a { text-decoration: none }
.foot nav a:hover { color: var(--ink) }
.foot .copy { grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .875rem }

/* a page that is not there */
.lost { display: grid; place-content: center; justify-items: start; gap: 1.5rem; min-height: 80vh }
.lost .brand { color: var(--ink) }
.lost h1 { font-size: clamp(2.5rem, 6vw, 4rem) }

/* the contact page (src/contact.html): what to write about on the left, the form on the right. The form writes an
   email to support@storivo.ai in the visitor's own email app. */
.contact { padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem) }
.contact > .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem 5rem; align-items: start }
.say { display: grid; gap: 1.25rem; justify-items: start; align-content: start }
.say h1 { font-size: clamp(2.75rem, 6vw, 4.5rem) }
.say .intro { max-width: 30em; color: var(--soft); font-size: 1.125rem }
.addr { display: grid; gap: .55rem; justify-items: start; width: 100%; margin-top: .5rem; padding: 1.25rem 1.4rem; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line) }
.addr .lbl, .about legend { font: 600 .75rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
.mail { font: 700 clamp(1.375rem, 2.6vw, 1.75rem)/1.15 var(--display); font-stretch: 92%; letter-spacing: -.02em; text-decoration: none; overflow-wrap: anywhere }
.mail:hover { color: var(--accent-ink) }
.copy-btn { padding: .5rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--soft); font: 500 .875rem/1 var(--text); cursor: pointer; transition: border-color .2s, color .2s }
.copy-btn:hover { border-color: var(--ink); color: var(--ink) }
.hints { display: grid; gap: .65rem; margin: .4rem 0 0; padding: 0; list-style: none; color: var(--soft) }
.hints b { color: var(--ink); font-weight: 600 }
.write { display: grid; gap: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px var(--lift) }
.write h2 { font-size: clamp(1.625rem, 3vw, 2.125rem) }
.about { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; border: 0 }
.about legend { margin-bottom: .75rem; padding: 0 }
.about label { position: relative; cursor: pointer }
.about input { position: absolute; inset: 0; opacity: 0; cursor: pointer }
.about span { display: inline-block; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); font-size: .9375rem; transition: border-color .2s, background-color .2s, color .2s }
.about label:hover span { border-color: var(--ink); color: var(--ink) }
.about input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--card) }
.about input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px }
.write .field { display: grid; gap: .5rem; font-weight: 600; font-size: .9375rem }
.write .field input, .write .field textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--text); resize: vertical }
.write .field input:focus, .write .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 10%, transparent) }
.write .field textarea[aria-invalid="true"] { border-color: var(--accent) }
.write .btn { justify-self: start }
.write .fine { margin: 0; font-size: .875rem }
@media (max-width: 960px) { .contact > .wrap { grid-template-columns: minmax(0, 1fr) } }

@media (max-width: 960px) {
  .top nav, .signin { display: none }
  .top .btn { margin-left: auto }
  .lede, .demo, .rate, .faq { grid-template-columns: minmax(0, 1fr) }
  .demo .show { order: -1 }
  .reel { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .film.big { grid-column: 1 / -1; grid-row: auto }
  .kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.75rem }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0 }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 1.75rem }
  .theatre { grid-template-columns: minmax(0, 1fr) }
  .films { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 30rem }
}
@media (max-width: 600px) {
  body { font-size: 1rem }
  .hero { padding-bottom: 3rem }
  .demo { padding: 1rem; border-radius: 16px; margin-inline: -4px }
  .script .ln:nth-of-type(n + 4) { display: none }
  .ticks i:nth-child(n + 4) { display: none }
  .inside, .reel { grid-template-columns: minmax(0, 1fr) }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .ln { font-size: 1.0625rem }
  .under { flex-direction: column; gap: .15rem }
  .facts li { padding: .25rem 1rem }
  .facts b { font-size: 1.375rem }
  .from { flex-direction: column; align-items: flex-start }
  .foot .wrap { grid-template-columns: minmax(0, 1fr) }
  .last { align-items: flex-start }
  .films { grid-template-columns: minmax(0, 1fr) }
  .steps { gap: 1.1rem }
  .steps li { grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: .5rem; padding-top: .9rem }
  .steps li::before { grid-row: span 2; margin: 0; font-size: 1.375rem }
  .films button { grid-template-columns: 6.5rem minmax(0, 1fr) }
  .tv .go span { display: none }
  .tv .go { padding: .5rem }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .rise { opacity: 1; transform: none }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important }
}

/* The Terms and the Privacy Policy. */
.legal { padding: 140px 0 80px }
.legal .wrap { max-width: 760px }
.legal h1 { margin: 8px 0 6px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05 }
.legal .updated { margin: 0 0 32px; color: var(--muted, #6b6b6b); font-size: .9rem }
.legal h2 { margin: 34px 0 10px; font-size: 1.25rem }
.legal p, .legal li { font-size: 1.02rem; line-height: 1.6 }
.legal ul { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 6px }
.legal a { color: inherit; text-decoration: underline }
.legal .ask { margin-top: 40px }
@media (max-width: 640px) { .legal { padding: 110px 0 56px } }

/* (On a phone the header keeps a small Sign in beside Start a video: the audit of 25 November 2026 found returning
   customers had no way in but the footer.) */
@media (max-width: 960px) { .top .signin { display: inline-block; margin-right: 8px; font-size: .9rem } }

/* ---- Pricing (build.mjs plansHtml, topupsHtml; landing.js counts the videos). 25 November 2026. */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch }
.tier { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 1.1rem; padding: 1.9rem 1.75rem 1.75rem; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease) }
.tier:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 28px 60px -34px var(--lift) }
.tier-top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem }
.tier-top h3 { margin-right: auto; font: 700 1.15rem/1.2 var(--text) }
.tier .pop, .tier .save { padding: .32rem .55rem; border-radius: 6px; font: 700 .72rem/1 var(--text); letter-spacing: .06em; text-transform: uppercase }
.tier .pop { background: var(--accent); color: var(--on-accent) }
.tier .save { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-ink) }
.tier .price { font: 700 3.1rem/1 var(--display); font-stretch: 92%; letter-spacing: -.04em }
.tier .price small { margin-left: .3rem; font: 400 1rem/1 var(--text); letter-spacing: 0; color: var(--muted) }
.tier .count { display: flex; align-items: center; gap: .9rem; padding: .95rem 1.05rem; border-radius: 12px; background: var(--wash) }
.tier .count b { font: 700 2.6rem/1 var(--display); font-stretch: 92%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap }
.tier .count .approx { margin-right: .1em; color: var(--accent-ink); font-weight: 600 }
.tier .count > span { display: grid; gap: .15rem; font-weight: 600; line-height: 1.2 }
.tier .count small { font-weight: 400; color: var(--muted); font-size: .85rem }
.tier ul, .every ul { display: grid; gap: .7rem; align-content: start; margin: 0; padding: 0; list-style: none; color: var(--soft) }
.tier li, .every li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.35 }
.tier li b { color: var(--ink); font-weight: 600 }
.tier li svg, .every li svg { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .05rem; padding: .18rem; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, transparent); fill: none; stroke: var(--accent-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round }
.tier .btn { width: 100%; margin-top: .25rem }
.tier.lead { background: var(--night); color: var(--on-night); box-shadow: 0 0 0 1px var(--night), 0 34px 70px -34px color-mix(in srgb, var(--accent) 55%, transparent) }
.tier.lead::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 46px -8px color-mix(in srgb, var(--accent) 45%, transparent); opacity: .35; animation: tier-glow 3.6s ease-in-out infinite }
@keyframes tier-glow { 50% { opacity: 1 } }
.tier.lead:hover { box-shadow: 0 0 0 1px var(--night), 0 40px 80px -30px color-mix(in srgb, var(--accent) 65%, transparent) }
.tier.lead .price small, .tier.lead .count small { color: var(--on-night-faint) }
.tier.lead .count { background: color-mix(in srgb, var(--on-night) 8%, transparent) }
.tier.lead .count .approx { color: var(--dot) }
.tier.lead .save { background: color-mix(in srgb, var(--on-night) 14%, transparent); color: var(--on-night) }
.tier.lead ul { color: var(--on-night-soft) }
.tier.lead li b { color: var(--on-night) }
.tier.lead li svg { background: color-mix(in srgb, var(--dot) 22%, transparent); stroke: var(--dot) }
.every { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 2rem; align-items: start; margin-top: 2rem; padding: 1.4rem 1.6rem; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line) }
.every .lbl { margin: .1rem 0 0; font: 600 .75rem/1.4 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap }
.every ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem 1.5rem }
.topups { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1.25rem 2rem; align-items: center; margin-top: 1.25rem; padding: 1.4rem 1.6rem; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line) }
.tu-head h3 { font: 700 1.15rem/1.2 var(--text) }
.tu-head p { margin-top: .35rem; color: var(--soft); font-size: .95rem }
.tu-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem }
.tu { display: grid; gap: .3rem; padding: .95rem 1rem; border-radius: 12px; background: var(--wash); transition: transform .35s var(--ease) }
.tu:hover { transform: translateY(-3px) }
.tu b { font: 700 1.45rem/1 var(--display); font-stretch: 92% }
.tu b small { font: 500 .8rem/1 var(--text); color: var(--muted) }
.tu > span { color: var(--soft); font-size: .9rem }
.tu .approx { color: var(--accent-ink); font-weight: 600 }
.tu em { font-style: normal; font-weight: 700 }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; margin-top: 1.6rem; color: var(--muted); font-size: .9rem }
.trust span::before { content: ""; display: inline-block; width: .38rem; height: .38rem; margin-right: .5rem; border-radius: 50%; background: var(--accent); vertical-align: .12em }
@media (max-width: 900px) {
  .tiers { grid-template-columns: minmax(0, 1fr); max-width: 30rem }
  .every { grid-template-columns: minmax(0, 1fr) }
  .every ul { grid-template-columns: minmax(0, 1fr) }
  .topups { grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 520px) { .tu-list { grid-template-columns: minmax(0, 1fr) } }
@media (prefers-reduced-motion: reduce) { .tier, .tu { transition: none } .tier.lead::after { animation: none; opacity: .7 } .tier:hover, .tu:hover { transform: none } }

/* The top bar on a phone: the logo, Sign in and Start a video on one line, never wrapped (25 November 2026). */
.top .signin, .top .btn { white-space: nowrap }
@media (max-width: 440px) {
  .top .wrap { gap: .6rem }
  .top .signin { margin-right: 0; font-size: .85rem }
  .top .btn.small { padding-inline: .8rem; font-size: .85rem }
}

/* ---- 26 November 2026: six examples in the reel, kinds as links, what it makes, the editor, and the Examples and
   Features pages (examples.mjs, features.mjs, pages.js). */
.reel { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: 1.75rem 1.5rem }
.film.big { grid-column: span 2; grid-row: span 2 }
.more { display: inline-flex; align-items: center; gap: .45rem; color: var(--accent-ink); font-weight: 600; text-decoration: none }
.more svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease) }
.more:hover svg { transform: translateX(3px) }
.kinds { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)) }
.kinds a { display: grid; gap: .15rem; text-decoration: none; color: inherit }
.kinds a:hover b { color: var(--accent-ink) }
.can { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem }
.can figure { display: grid; gap: .85rem; align-content: start }
.can .pic { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--night) }
.can img, .can video { width: 100%; height: 100%; object-fit: cover }
.can video { position: absolute; inset: 0 }
.can h3 { margin-bottom: .2rem }
.can p { color: var(--soft); font-size: .9688rem; line-height: 1.5 }
.ed-sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem 3rem; align-items: center }
.ed-sec .head { margin-bottom: 0 }
.ed-points { display: grid; gap: .55rem; margin: .4rem 0 .6rem; padding: 0; list-style: none }
.ed-points li, .ft-points li, .ft-list li { display: flex; align-items: flex-start; gap: .6rem; color: var(--ink) }
.ed-points svg, .ft-points svg, .ft-list svg { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .25rem; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.ed-frame { border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px var(--lift) }
.ed-chrome { display: flex; align-items: center; gap: .4rem; padding: .6rem .85rem; background: var(--wash); border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted) }
.ed-chrome i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--line) }
.ed-chrome span { margin-left: .6rem }
.ed-frame .pic { position: relative; aspect-ratio: 16 / 10 }
.ed-frame img, .ed-frame video { width: 100%; height: 100%; object-fit: cover; object-position: top }
.ed-frame video { position: absolute; inset: 0 }
.page-top { padding-top: clamp(3rem, 7vw, 5.5rem) }
.page-top h1 { font-size: clamp(2.5rem, 5vw, 4.25rem) }
.ex-kinds { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem }
.ex-kinds button { padding: .5rem 1rem; border: 0; border-radius: 99px; background: var(--wash); color: var(--ink); font: 600 .9375rem/1 var(--text); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line) }
.ex-kinds button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none }
.ex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 1.5rem; margin: 0; padding: 0; list-style: none }
.ex[hidden] { display: none }
.ex { display: grid; gap: .45rem; align-content: start }
.ex-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; margin-bottom: .45rem }
.ex .pic { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--night) }
.ex .pic img, .ex .pic video { width: 100%; height: 100%; object-fit: cover }
.ex .pic video { position: absolute; inset: 0 }
.ex .len { position: absolute; right: .6rem; bottom: .6rem; padding: .3rem .5rem; border-radius: 6px; background: rgb(0 0 0 / .62); color: #fff; font: 600 .8125rem/1 var(--text) }
.ex .playmark { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .25s var(--ease); background: rgb(0 0 0 / .25) }
.ex .playmark svg { width: 3.4rem; height: 3.4rem; padding: 1rem; border-radius: 50%; background: var(--accent); fill: #fff }
.ex-open:hover .playmark, .ex-open:focus-visible .playmark { opacity: 1 }
.ex-kind { color: var(--accent-ink); font: 600 .75rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase }
.ex h2 { font-size: 1.375rem; line-height: 1.15; letter-spacing: -.02em }
.ex p:last-child { color: var(--soft); font-size: .9688rem }
.ex-player { width: min(68rem, 94vw); max-width: none; padding: 0; border: 0; border-radius: 16px; background: var(--night); color: var(--on-night); overflow: hidden }
.ex-player::backdrop { background: rgb(0 0 0 / .72); backdrop-filter: blur(4px) }
.ex-box { position: relative }
.ex-player video { width: 100%; aspect-ratio: 16 / 9; background: #000 }
.ex-under { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem }
.ex-under div { display: grid; gap: .2rem }
.ex-under span { color: var(--on-night-soft); font-size: .9rem }
.ex-close { position: absolute; top: .75rem; right: .75rem; z-index: 2; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: rgb(0 0 0 / .55); color: #fff; cursor: pointer }
.ex-close svg { width: 1rem; height: 1rem }
.ft-index { display: flex; flex-wrap: wrap; gap: .5rem }
.ft-index a { padding: .45rem .9rem; border-radius: 99px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; font-size: .9375rem }
.ft-index a:hover { box-shadow: inset 0 0 0 1px var(--ink) }
.ft-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem 4rem; align-items: center }
.ft-row.flip .ft-text { order: 2 }
.ft-text { display: grid; gap: 1rem; justify-items: start }
.ft-text h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem) }
.ft-text > p:not(.eyebrow) { color: var(--soft); font-size: 1.0625rem }
.ft-points { display: grid; gap: .5rem; margin: .25rem 0 0; padding: 0; list-style: none }
.ft-media { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--night); box-shadow: 0 30px 60px -36px var(--lift) }
.ft-media.app { aspect-ratio: 16 / 10; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px var(--lift) }
.ft-media img, .ft-media video { width: 100%; height: 100%; object-fit: cover; object-position: top }
.ft-media video { position: absolute; inset: 0 }
.ft-list { display: grid; place-items: center; aspect-ratio: auto; padding: 2rem; background: var(--card); box-shadow: 0 0 0 1px var(--line) }
.ft-list ul { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; font-size: 1.125rem; font-weight: 600 }
@media (max-width: 960px) {
  .reel { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .film.big { grid-column: 1 / -1; grid-row: auto }
  .can { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .ed-sec, .ft-row { grid-template-columns: minmax(0, 1fr) }
  .ft-row.flip .ft-text { order: 0 }
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 600px) {
  .reel, .can, .ex-grid { grid-template-columns: minmax(0, 1fr) }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .ex-under { flex-direction: column; align-items: flex-start }
}
@media (prefers-reduced-motion: reduce) { .can video, .ed-frame video, .ft-media video, .ex .pic video { display: none } }
