/* Reel Studio sales page. Looks like one of its reels: cream paper,
   ink, one hot accent, condensed display type, halftone dots. */

:root {
  --paper: #F4EFE6;
  --paper-2: #EAE1D1;
  --ink: #000000;
  --ink-soft: #4A4237;
  --hot: #FF4A1C;
  --hot-ink: #C42E07;   /* accent dark enough for small text on paper */
  --rule: #000000;
  --dot: radial-gradient(circle, var(--ink) 1.1px, transparent 1.5px);
  --font-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(0,0,0,.075) 0.8px, transparent 1.2px);
  background-size: 7px 7px;
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--hot-ink); }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
s { text-decoration-thickness: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .005em;
}
.display em {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--hot);
  font-size: 1.12em;
  line-height: .8;
}
.h1 { font-size: clamp(44px, 11vw, 96px); }
.h2 { font-size: clamp(36px, 9vw, 64px); margin-bottom: 16px; }
.intro { max-width: 60ch; color: var(--ink-soft); font-size: 17px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px;
  background: var(--hot); color: var(--ink);
  border: 2.5px solid var(--ink); border-radius: 0;
  font: 400 22px/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 17px; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn-lg { min-height: 64px; padding: 0 36px; font-size: 26px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---- halftone-dot shadow card ---- */
.card {
  --card-bg: var(--paper);
  position: relative;
  background: transparent;
  border: 2.5px solid var(--ink);
  isolation: isolate;
}
/* fill sits on its own layer so the dot shadow can sit under it */
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--card-bg);
  z-index: -1;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  transform: translate(10px, 10px);
  background-image: var(--dot);
  background-size: 5px 5px;
  z-index: -2;
  pointer-events: none;
}

/* ---- stamps ---- */
.stamp {
  display: inline-block;
  font: 400 15px/1 var(--font-display);
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--hot);
  border: 3px solid currentColor;
  padding: 7px 10px 6px;
  background: rgba(244, 239, 230, .85);
  transform: rotate(-7deg);
}

/* ---- top bar ---- */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 2.5px solid var(--ink);
}
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.mark { font: 400 22px/1 var(--font-display); text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.mark span { font: italic 400 17px/1 var(--font-serif); text-transform: none; color: var(--ink-soft); margin-left: 4px; }
@media (max-width: 400px) { .mark span { display: none; } }

/* ---- hero ---- */
.hero { padding: 36px 0 48px; border-bottom: 2.5px solid var(--ink); }
.hero-grid { display: grid; gap: 40px; }
.hero h1 { font-size: clamp(54px, 15.5vw, 112px); margin-bottom: 20px; }
.lede { font-size: 18px; max-width: 54ch; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 26px 0 16px; }
.price { margin: 0; font-size: 18px; color: var(--ink-soft); }
.price s { color: var(--ink-soft); }
.price strong { font: 400 32px/1 var(--font-display); color: var(--ink); margin: 0 4px; vertical-align: -3px; }
.price span { font-family: var(--font-serif); font-style: italic; font-size: 21px; }
.watch {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 600; font-size: 16px;
}
.watch::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.5 2.5v5l4-2.5z' fill='%23F4EFE6'/%3E%3C/svg%3E") center/16px no-repeat;
}
.agents { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }

/* the hero "reel": a prompt and the frame it turns into */
.hero-stage { position: relative; max-width: 360px; width: 100%; margin: 0 auto; }
.prompt {
  font: 500 15px/1.4 ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  background: var(--ink); color: var(--paper);
  padding: 12px 14px; margin: 0 6px -2px;
  border: 2.5px solid var(--ink);
  font-size: clamp(12px, 3.6vw, 14px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prompt .caret { color: var(--hot); }
.phone {
  border: 2.5px solid var(--ink); border-radius: 30px;
  padding: 10px; background: var(--ink);
  box-shadow: 12px 12px 0 -2px var(--paper), 12px 12px 0 0 var(--ink);
}
.frame {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 16; border-radius: 22px;
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(0,0,0,.12) 1px, transparent 1.5px);
  background-size: 6px 6px;
  padding: 22% 9% 0;
}
.sun {
  position: absolute; right: -14%; top: 6%;
  width: 52%; aspect-ratio: 1; border-radius: 50%;
  background-image: radial-gradient(circle, var(--hot) 2.4px, transparent 2.9px);
  background-size: 8px 8px;
}
.frame-q { position: relative; font: 400 clamp(38px, 11vw, 50px)/.95 var(--font-display); text-transform: uppercase; margin: 0 0 22px; }
.frame-q em { font-family: var(--font-serif); text-transform: none; color: var(--hot); font-size: 1.15em; }
.frame-ui { position: relative; background: #fff; border: 2.5px solid var(--ink); padding: 12px; box-shadow: 6px 6px 0 var(--ink); }
.ui-row { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; font-size: 13px; }
.ui-row + .ui-row { margin-top: 8px; }
.ui-row i { display: block; height: 14px; width: var(--w); background: var(--ink); }
.ui-row:first-child i { background: var(--hot); }
.frame-cap {
  position: absolute; left: 0; right: 0; bottom: 27%;
  text-align: center; font: 400 30px/1 var(--font-display); text-transform: uppercase;
}
.frame-cap mark { background: var(--hot); color: var(--ink); padding: 0 6px; }
.stamp-a { position: absolute; left: 8%; top: 7%; }
.stamp-b { position: absolute; right: 7%; bottom: 8%; transform: rotate(5deg); color: var(--ink); }

/* one load sequence: the line types, then the frame builds */
@media (prefers-reduced-motion: no-preference) {
  .typed { display: inline-block; overflow: hidden; vertical-align: bottom; white-space: nowrap; animation: type 1.5s steps(32, end) .3s both; }
  .frame-q, .frame-ui, .frame-cap, .sun { animation: rise .45s cubic-bezier(.2,.8,.2,1) both; }
  .sun { animation-delay: 1.9s; }
  .frame-q { animation-delay: 2.0s; }
  .frame-ui { animation-delay: 2.25s; }
  .ui-row i { animation: grow .6s cubic-bezier(.2,.8,.2,1) 2.45s both; transform-origin: left; }
  .frame-cap { animation-delay: 2.7s; }
  .stamp-a, .stamp-b { animation: thump .28s cubic-bezier(.3,1.6,.5,1) both; }
  .stamp-a { animation-delay: 3.0s; }
  .stamp-b { animation-delay: 3.25s; --r: 5deg; }
}
@keyframes type { from { max-width: 0; } to { max-width: 100%; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes thump { from { opacity: 0; transform: scale(1.9) rotate(var(--r, -7deg)); } to { opacity: 1; transform: scale(1) rotate(var(--r, -7deg)); } }

/* ---- what you get ---- */
.gets { background: var(--ink); color: var(--paper); padding: 28px 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.checks p { margin: 0; font-size: 16px; }
.checks strong { font-weight: 700; }
.tick {
  width: 30px; height: 30px; background: var(--hot); border: 2px solid var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='square'/%3E%3C/svg%3E");
  background-size: 22px; background-position: center; background-repeat: no-repeat;
  transform: rotate(-4deg);
}

/* ---- sections ---- */
.sec { padding: 64px 0; border-bottom: 2.5px solid var(--ink); }
.sec-paper2 { background-color: var(--paper-2); }
.sec-ink { background: var(--ink); color: var(--paper); }
.sec-ink .intro, .sec-ink p { color: var(--paper); }
.sec-ink a:hover { color: var(--hot); }

/* ---- sample reels ---- */
.reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%;
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 28px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 22px;
  overscroll-behavior-x: contain;
}
.reel { margin: 0; scroll-snap-align: center; }
.reel-box, .walk-box {
  position: relative; aspect-ratio: 9 / 16;
  border: 2.5px solid var(--ink); background: var(--paper-2);
  overflow: hidden;
}
.reel-box video, .walk-box video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; background: transparent; }
.reel-ph {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background-image: radial-gradient(circle, rgba(255,74,28,.55) 1.6px, transparent 2px);
  background-size: 9px 9px;
  background-color: var(--paper-2);
  text-align: center;
}
.reel-ph span { color: var(--ink); font: 400 30px/1 var(--font-display); text-transform: uppercase; background: var(--paper); padding: 6px 10px; border: 2.5px solid var(--ink); }
.reel-ph small { font: italic 400 21px/1 var(--font-serif); background: var(--paper); padding: 4px 10px; color: var(--ink); }
/* once a video really has a picture or a poster, the placeholder steps back */
.has-media .reel-ph { display: none; }
.channel { margin-top: 8px; font-weight: 500; }

/* ---- steps ---- */
.steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: grid; gap: 30px; }
.steps li { counter-increment: s; position: relative; padding-left: 64px; }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: -4px;
  width: 46px; height: 46px; display: grid; place-items: center;
  font: 400 28px/1 var(--font-display); color: var(--ink); background: var(--hot);
  transform: rotate(-5deg);
}
.steps h3 { font: 400 28px/1.05 var(--font-display); text-transform: uppercase; margin-bottom: 8px; }
.steps p { color: #E3DBCD; margin-bottom: .6em; }
.cmd {
  font: 500 15px/1.45 ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  border: 2px solid var(--paper); padding: 10px 12px;
  color: var(--paper) !important;
}
.cmd::before { content: "> "; color: var(--hot); }
.walk { margin-top: 44px; max-width: 340px; }
.walk-box { border-color: var(--paper); }
.walk p { margin-top: 12px; font-family: var(--font-serif); font-style: italic; font-size: 20px; line-height: 1.3; }

/* ---- inside ---- */
.inside-grid { display: grid; gap: 36px; }
.plain { margin: 0; padding-left: 1.2em; }
.plain li { margin-bottom: 6px; }
.plain li::marker { color: var(--hot); }
.tree { --card-bg: #FBF8F2; padding: 18px 18px 14px; margin-right: 10px; overflow-x: auto; }
.tree pre { margin: 0; font: 400 13.5px/1.55 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
.tree b { color: var(--hot-ink); }
.tree i { font-style: normal; color: var(--ink-soft); }

/* ---- feature cards ---- */
.cards { display: grid; gap: 26px; margin-top: 28px; padding-right: 10px; }
.feat { padding: 22px 22px 18px; }
.feat h3 { font: 400 30px/1 var(--font-display); text-transform: uppercase; margin-bottom: 10px; }
.feat p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.feat:nth-child(3n+2) { --card-bg: #FBF8F2; }

/* ---- comparison ---- */
.compare { --card-bg: #FBF8F2; margin-top: 26px; margin-right: 10px; font-size: 15px; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 1fr 1fr; }
.cmp-head span:first-child { display: none; }
.cmp-head span { padding: 12px; font: 400 19px/1.1 var(--font-display); text-transform: uppercase; border-bottom: 2.5px solid var(--ink); }
.cmp-head span:last-child { background: var(--hot); border-left: 2.5px solid var(--ink); }
.cmp-row span { padding: 10px 12px; border-bottom: 1.5px solid rgba(0,0,0,.25); }
.cmp-row span:first-child {
  grid-column: 1 / -1; padding-bottom: 0; border-bottom: 0;
  font-weight: 700; font-size: 13px; color: var(--ink-soft);
}
.cmp-row span:nth-child(2) { color: var(--ink-soft); }
.cmp-row span:last-child { border-left: 2.5px solid var(--ink); font-weight: 600; background: rgba(255,74,28,.10); }
.cmp-row:last-child span { border-bottom: 0; }

/* ---- needs ---- */
.needs { list-style: none; margin: 22px 0 22px; padding: 0; display: grid; gap: 10px; }
.needs li {
  padding: 12px 14px 12px 46px; position: relative;
  border: 2.5px solid var(--ink); background: var(--paper);
}
.needs li::before {
  content: ""; position: absolute; left: 14px; top: 15px; width: 18px; height: 18px;
  background: var(--ink);
}
.needs li.opt { border-style: dashed; background: transparent; }
.needs li.opt::before { background: transparent; border: 2.5px solid var(--ink); }

/* ---- final ---- */
.final { text-align: center; background-color: var(--hot); background-image: radial-gradient(circle, rgba(0,0,0,.22) 1.2px, transparent 1.7px); background-size: 8px 8px; padding: 80px 0; }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final .h1 { max-width: 12ch; }
.final .btn { background: var(--paper); }
.final .price, .final .price s { color: var(--ink); }
.price-lg strong { font-size: 44px; }
.stamp-c { color: var(--ink); background: var(--paper); transform: rotate(-5deg); font-size: 18px; }
.final .fine { margin: 0; font-size: 14px; color: var(--ink); }

/* ---- faq ---- */
.faq-wrap { max-width: 760px; }
details { border-top: 2.5px solid var(--ink); }
details:last-of-type { border-bottom: 2.5px solid var(--ink); }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 0;
  font-weight: 700; font-size: 18px; line-height: 1.35;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 500 30px/1 var(--font-body); color: var(--hot); flex: none; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--ink-soft); max-width: 62ch; }

/* ---- footer ---- */
.foot { padding: 36px 0 48px; font-size: 15px; }
.foot-in { display: grid; gap: 4px; }
.foot p { margin: 0; }

/* ---- modal ---- */
.modal { border: 0; padding: 0; background: transparent; width: min(440px, calc(100vw - 32px)); max-width: none; overflow: visible; }
.modal::backdrop { background: rgba(0,0,0,.55); }
.modal-in { padding: 30px 22px 20px; margin-right: 10px; }
.modal h2 { font-size: 38px; margin: 0 30px 18px 0; }
.modal label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.modal input[type=email] {
  width: 100%; min-height: 56px; padding: 0 14px;
  font: 400 18px var(--font-body); color: var(--ink);
  background: #fff; border: 2.5px solid var(--ink); border-radius: 0;
}
.modal input[type=email]:focus { outline: 3px solid var(--hot); outline-offset: 0; }
.modal input[aria-invalid=true] { border-color: var(--hot-ink); }
.modal .btn { margin-top: 16px; }
.err { color: var(--hot-ink); font-weight: 600; font-size: 14px; margin: 8px 0 0; }
.fine { font-size: 13px; color: var(--ink-soft); margin: 14px 0 0; }
.x {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px;
  border: 0; background: transparent; font: 400 34px/1 var(--font-body); cursor: pointer; color: var(--ink);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .modal[open] .modal-in { animation: pop .18s cubic-bezier(.2,.8,.2,1); }
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

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

/* ---- wider screens ---- */
@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .checks { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .reels { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 32px 0 0; padding: 0 0 20px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .cmp-head, .cmp-row { grid-template-columns: 0.8fr 1fr 1fr; }
  .cmp-head span:first-child { display: block; }
  .cmp-row span:first-child { grid-column: auto; padding-bottom: 10px; border-bottom: 1.5px solid rgba(0,0,0,.25); font-size: 15px; color: var(--ink); }
  .cmp-row:last-child span:first-child { border-bottom: 0; }
  .compare { font-size: 16px; }
  .needs { grid-template-columns: repeat(2, 1fr); }
  .needs li.opt { grid-column: 1 / -1; }
  .foot-in { grid-template-columns: auto auto 1fr; gap: 32px; }
  .foot-in p:last-child { justify-self: end; }
}
@media (min-width: 980px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.5fr 1fr; align-items: center; gap: 56px; }
  .hero h1 { font-size: 92px; }
  .reels { max-width: 900px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .inside-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .walk { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: end; max-width: none; }
  .walk p { max-width: 20ch; font-size: 28px; }
}
