:root {
  --bg: #FFFFFF;
  --ink: #111111;
  --muted: #6B6B6B;
  --line: #EBEBEB;
  --soft: #F6F6F4;
  --accent: #FF8A70;
  --green: #2DBE6C;
  --accent-soft: #FFF1EC;
  --dark: #121212;
  --radius: 16px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

mark {
  background: var(--accent); color: var(--ink);
  padding: 0 .14em; border-radius: .12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Header + section nav ---------- */
.top .wrap { padding-top: 20px; padding-bottom: 4px; }
.logo img, .nav-logo img, .foot img { filter: brightness(0); }
.logo img { height: 26px; width: auto; }
.nav-logo { display: none; }

.tabs {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
/* Mobile: one row of four equal buttons; long labels break onto two lines */
.tabs-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  max-width: 1080px; margin: 0 auto;
  padding: 10px 16px;
}
.tabs-row a[data-tab] {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 6px 6px;
  border-radius: 12px; background: var(--soft);
  font-size: 13px; font-weight: 700; line-height: 1.15; text-align: center; color: var(--ink);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.tabs-row a[data-tab]:hover { color: var(--ink); background: var(--soft); }
.tabs-row a[aria-current="true"], .tabs-row a[aria-current="true"]:hover { background: var(--accent); color: var(--ink); }

/* ---------- Type ---------- */
h1 mark { display: inline-block; transform: rotate(-1.5deg); padding: 0 .1em .04em; border-radius: .1em; }
h1 {
  margin: 0;
  font-size: clamp(44px, 11vw, 84px); font-weight: 800;
  letter-spacing: -.045em; line-height: .98;
}
h2 {
  margin: 0;
  font-size: clamp(36px, 7.5vw, 60px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1;
}
h3 {
  margin: 48px 0 18px;
  font-size: 20px; font-weight: 800; letter-spacing: -.02em;
}
h4 { margin: 0 0 14px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.lead { margin: 16px 0 0; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 32em; }

/* ---------- Sections ---------- */
main { padding-bottom: 72px; }
.sec { padding: 72px 0; }
/* Full-bleed grey band behind a section without breaking the layout width */
.sec.band { background: var(--soft); box-shadow: 0 0 0 100vmax var(--soft); clip-path: inset(0 -100vmax); }
.sec-num {
  display: inline-block; margin-bottom: 14px;
  font-size: 14px; font-weight: 800; letter-spacing: .04em; color: var(--accent);
}
.sec-head h2 { max-width: 12em; }

.hero { padding: 40px 0 0; }
#start { padding-top: 24px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }

/* ---------- What you'll film ---------- */
.types { display: grid; gap: 10px; }
.type {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.type:hover { border-color: var(--ink); }
.type-text { display: flex; flex-direction: column; gap: 2px; }
.type strong { font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.type-text span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; background: var(--accent-soft);
}
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3 rules ---------- */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rules li {
  display: flex; align-items: center; gap: 18px;
  background: var(--accent); color: var(--ink); border-radius: var(--radius);
  padding: 22px 22px;
  font-size: clamp(21px, 4.6vw, 28px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
}
.rules li span {
  flex: none; min-width: 1ch;
  color: var(--ink); font-size: 1.6em; line-height: 1; letter-spacing: -.04em;
}

/* ---------- Before you film + phone setting ---------- */
.prep { margin-top: 48px; }
.setting { margin-top: 16px; padding: 16px 18px; border-radius: 12px; background: var(--soft); }
.setting h4 { margin: 0 0 4px; font-size: 15px; }
.path { margin: 0 0 6px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.small { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Checklists ---------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li + li { border-top: 1px solid var(--line); }
.checklist label {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; cursor: pointer; font-weight: 600;
  -webkit-tap-highlight-color: transparent;
  transition: color .15s;
}
.checklist input { position: absolute; opacity: 0; pointer-events: none; }
.box {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  border: 1.5px solid #CFCFCF; background: #fff;
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.box::after {
  content: ""; width: 6px; height: 11px; margin-top: -3px;
  border: solid var(--ink); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0); transition: transform .15s;
}
.checklist input:checked + .box { background: var(--accent); border-color: var(--accent); }
.checklist input:checked + .box::after { transform: rotate(45deg) scale(1); }
.checklist input:focus-visible + .box { outline: 2px solid var(--ink); outline-offset: 2px; }
.checklist label:has(input:checked) { color: #A3A3A3; text-decoration: line-through; }
.reset {
  border: 0; background: none; padding: 4px 0; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px;
}
.reset:hover { color: var(--ink); }

/* ---------- Steps ---------- */
.steps {
  list-style: none; counter-reset: s; margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.steps li {
  counter-increment: s;
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.35;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  flex: none; width: 28px;
  color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: 0;
}
.steps em { font-style: normal; font-weight: 500; color: var(--muted); }
.steps-light em { color: rgba(17, 17, 17, .68); }
.band .steps, .band .steps li { border-color: #E2E2DE; }
.band .v { background: #E6E6E1; }

.script-box {
  margin-top: 28px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 22px 24px;
}
.script-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.script-box li { position: relative; padding-left: 20px; font-weight: 600; }
.script-box li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

.notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.note {
  margin: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--ink);
  font-size: 14px; font-weight: 600;
}
.note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Chips ---------- */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; gap: 6px; }
.chips li {
  padding: 7px 12px; border-radius: 999px;
  background: var(--soft); font-size: 13px; font-weight: 600;
}

/* ---------- Video cards ---------- */
.v {
  position: relative; aspect-ratio: 9 / 16; width: 100%;
  border-radius: 14px; overflow: hidden;
  background: #ECECE8;
}
.v video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.v.ready video { opacity: 1; }
.v .ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: #9A9A94; font-size: 11px; font-weight: 600; text-align: center; padding: 10px;
  word-break: break-all;
}
.v .ph svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.v.ready .ph { display: none; }

/* Client examples (silent loops): swipe row on mobile, 3 across on larger screens */
.examples {
  display: grid; grid-auto-flow: column; grid-auto-columns: 64%;
  gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
  margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none;
}
.examples::-webkit-scrollbar { display: none; }
.examples .v { scroll-snap-align: start; }

/* ---------- Right vs wrong ---------- */
.pairs { display: grid; gap: 12px; }
.pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px;
}
.side { display: flex; flex-direction: column; gap: 10px; }
.side .v { border-radius: 10px; }
.tag {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  padding: 4px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .01em;
}
.right .tag { background: var(--green); color: var(--ink); }
.wrong .tag { background: var(--accent); color: var(--ink); }
.cap { margin: 0 4px 6px; font-size: 14px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.wrong .cap { color: var(--muted); font-weight: 600; }

/* Pair title + caption, full width above/below the two clips */
.pair-title { grid-column: 1 / -1; margin: 6px 6px 2px; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.pair-note { grid-column: 1 / -1; margin: 0 6px 6px; font-size: 13px; color: var(--muted); }

/* Placeholder illustration fills the card until the real clip loads */
.v .ph.ph-art { padding: 0; }
.v .ph.ph-art svg { width: 100%; height: 100%; opacity: 1; display: block; fill: #000; stroke: none; }

/* Overlays stay on top of the illustration and the real video */
.ov { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.ov rect { stroke-width: 2.5; stroke-dasharray: 7 5; vector-effect: non-scaling-stroke; }
.ov .crop-right { stroke: var(--green); }
.ov .crop-wrong { stroke: var(--accent); }
.timer {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800;
}
.right .timer { background: var(--green); color: var(--ink); }
.timer.motion { display: flex; align-items: center; padding: 5px 10px; }
.timer.motion svg { width: 22px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wrong .timer { background: var(--accent); color: var(--ink); }

/* ---------- B-roll: wide vs close-up ---------- */
.kinds { display: grid; gap: 12px; }
.kind { padding: 16px; }
.kind-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.kind-head p { margin: 0; font-weight: 700; letter-spacing: -.01em; }
.kind-tag {
  padding: 5px 12px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 800;
}
.kind-vids { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.kind-vids .v { border-radius: 10px; }

/* ---------- Send footage ---------- */
.sec.send { padding-bottom: 0; }
.send-box {
  background: var(--accent); color: var(--ink);
  border-radius: 24px; padding: 32px 22px 12px; margin-bottom: 12px;
}
.send-box .sec-num { display: block; color: var(--ink); opacity: .55; }
.send-box h2 { color: var(--ink); margin: 18px 0 20px; }
.send-ico {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: #fff;
}
.send-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.steps-light, .steps-light li { border-color: rgba(17, 17, 17, .14); }
.steps-light li::before { color: var(--ink); opacity: .55; }
.steps-light li:last-child { border-bottom: 0; }

/* ---------- Next-section button ---------- */
.next {
  display: flex; align-items: center; justify-content: center;
  margin-top: 48px; padding: 20px 24px; min-height: 64px;
  border-radius: var(--radius); background: var(--accent); color: var(--ink);
  font-size: 18px; font-weight: 800; letter-spacing: -.01em; text-align: center; text-decoration: none;
  transition: filter .15s;
}
.next:hover { filter: brightness(.95); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot .wrap {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; padding-bottom: 36px;
  font-size: 13px; color: var(--muted);
}
.foot img { height: 20px; width: auto; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .wrap { padding: 0 32px; }
  .tabs-row { padding: 10px 32px; gap: 8px; }
  .tabs-row a[data-tab] { font-size: 14px; }
  .sec { padding: 96px 0; }
  .types { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .type { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .examples { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .pairs { grid-template-columns: repeat(2, 1fr); }
  .kinds { grid-template-columns: 1fr 1fr; }
  /* Line up the videos in both cards even when one description wraps */
  .kind { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .kind-head { align-items: flex-start; }
  .send-box { padding: 44px 40px 16px; }
  .steps li { padding: 18px 0; }
}

@media (min-width: 900px) {
  .rules { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .rules li { padding: 22px 24px; font-size: 22px; }
}

/* ---------- Desktop: logo + nav become one bar ---------- */
@media (min-width: 1024px) {
  .top { display: none; }
  .tabs-row { padding: 12px 32px; }
  html { scroll-padding-top: 72px; }
  .tabs-row { display: flex; align-items: center; gap: 4px; }
  .tabs-row a[data-tab] { min-height: 0; padding: 8px 14px; border-radius: 999px; background: none; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
  .tabs-row a[data-tab][aria-current="true"] { background: var(--accent); color: var(--ink); }
  .nav-logo { display: block; margin-right: auto; }
  .nav-logo img { height: 22px; width: auto; }
  .hero { padding-top: 64px; }
  .prep { max-width: 720px; }
  .examples { max-width: 760px; }
  .pairs { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
  .steps { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  .steps li:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .band .steps li:nth-child(-n+2) { border-top-color: #E2E2DE; }
  .kind-vids { grid-template-columns: repeat(2, minmax(0, 180px)); }
  .sec.send { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; align-items: stretch; }
  .sec.send .send-box { margin-bottom: 0; }
  .sec.send .card { display: flex; flex-direction: column; justify-content: center; padding: 32px; }
  .steps-light { display: block; border-top: 1px solid rgba(17, 17, 17, .14); }
  .steps-light li:nth-child(-n+2) { border-top: 0; }
}

/* ---------- Motion: few and quiet ---------- */
@keyframes paint { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -2% 0 0); } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-6px); } 70% { transform: translateY(1px); } }
.js h1 mark { animation: paint .8s cubic-bezier(.65, 0, .35, 1) .25s both; }
.js .send-box.in .send-ico svg { animation: nudge .9s ease .2s 2; }

@media (prefers-reduced-motion: reduce) {
  .js h1 mark, .js .send-box.in .send-ico svg { animation: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
