/* Clipify landing page: standalone styles modelled on the OpusClip landing page (Geist, black canvas, green accent shared with the main site). */
/* impeccable-disable overused-font,marquee,pulsing-dot,bounce-easing,side-tab -- Dana asked to match the OpusClip reference (Geist, marquee, blinking connector dots, its pop easing); side-tab is the CSS checkmark in .plan li::after, not a card border */

@font-face {
  font-family: "Geist";
  src: url("Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #000;
  --panel: #191919;
  --panel-2: #121212;
  --line: #27272a;
  --line-2: #3d3d3f;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.7);
  --faint: rgba(255, 255, 255, 0.6);
  --green: #3ddc84; /* same green as the main site (styles.css) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.45, 1);
  --font: "Geist", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
svg { width: 1em; height: 1em; }
.sprite { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 300; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
a, button, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgba(61, 220, 132, 0.2); }
.price, .per, .score, .dur, .row > span { font-variant-numeric: tabular-nums; }

h1, h2, h3 { font-weight: 600; }
h1 { font-size: clamp(40px, 6.6vw, 76px); letter-spacing: -0.05em; line-height: 1.04; }
h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.04em; line-height: 1.1; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text); }
.ico-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.ico-eyebrow svg { font-size: 15px; }
.lede { color: var(--muted); font-size: 19px; letter-spacing: -0.0075em; max-width: 680px; margin: 14px auto 0; }

/* buttons */
.btn-white, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: 13px 24px; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms, border-color 200ms;
}
.btn-white { background: #fff; color: #000; border: 1px solid #fff; }
.btn-outline { background: #000; color: #fff; border: 1px solid var(--line-2); }
.btn-white.sm { font-size: 14px; padding: 9px 16px; border-radius: 8px; }
.btn-white:active, .btn-outline:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn-white:hover { background: #e6e6e6; }
  .btn-outline:hover { border-color: #fff; }
}
.full { width: 100%; }

/* announcement bar */
.announce {
  display: block; text-align: center; font-size: 14px; font-weight: 500; text-decoration: none; padding: 12px 16px;
  background: linear-gradient(90deg, #0b1a1f, #24343a 50%, #0b1a1f);
}
.announce span { display: inline-block; transition: transform 200ms var(--ease-out); }
@media (hover: hover) { .announce:hover span { transform: translateX(3px); } }

/* nav */
nav.top {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px; padding: 0 24px; background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; }
.logo small { font-size: 12px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.mark { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #000; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.nav-links { display: flex; gap: 36px; }
.nav-links a, .ghost-link { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: color 200ms; }
.nav-links a:hover, .ghost-link:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 22px; }

/* hero */
.hero { text-align: center; padding: 96px 20px 40px; }
.hero h1 { max-width: 1100px; margin: 18px auto 0; text-wrap: balance; }
.hero .lede { margin-top: 18px; }

.drop-form { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.drop-input {
  display: flex; align-items: center; gap: 10px; width: min(480px, 100%);
  background: #242424; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 5px 5px 20px;
}
.drop-input .ico { color: var(--faint); flex: none; font-size: 18px; }
.drop-input input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: inherit; font-size: 16px; outline: none; }
.drop-input input::placeholder { color: var(--faint); }
.drop-input:focus-within { border-color: rgba(255, 255, 255, 0.6); }
.or { color: var(--faint); }

/* hero stage: one clock in clipify.js drives it (type, skim the real stream, play three real clips).
   This CSS is the finished frame; .live adds the moving states, so no JS / reduced motion / paused all show the result. */
.stage {
  position: relative; max-width: 1180px; margin: 48px auto 0; padding: 28px 28px 34px; border-radius: 24px; overflow: hidden; text-align: left;
  background: #121214; border: 1px solid var(--line);
}
.bar {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; width: min(520px, 100%); margin: 0 auto;
  background: #fff; color: #111; border-radius: 999px; padding: 6px 6px 6px 18px;
}
.bar .ico { color: #777; flex: none; font-size: 18px; }
.typed { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 17px; }
.typed span { display: inline-block; }
.get { background: #000; color: #fff; font-weight: 500; font-size: 16px; padding: 10px 20px; border-radius: 999px; }
.pointer {
  position: absolute; right: 30px; top: 30px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2px solid #000; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.typed span { clip-path: inset(0 0 0 0); }
.pointer { opacity: 0; transition: transform 500ms var(--ease-out), opacity 250ms; transform: translate(60px, 70px); }
.get { transition: transform 150ms var(--ease-out); }
.stage.live.st-aim .pointer { opacity: 1; transform: none; }
.stage.live.st-click .pointer { opacity: 1; transform: scale(0.8); }
.stage.live.st-click .get { transform: scale(0.94); }

.studio { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 28px; margin-top: 26px; align-items: center; }
.editor { padding: 18px; border-radius: 18px; background: #1a1a1d; border: 1px solid #26262b; }
.ed-head { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.ed-head b { font-weight: 600; }
.ed-head .meta { margin-left: auto; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.vod { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: #2c2c32; }
.skim { position: relative; margin-top: 14px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.skim video { display: block; width: 100%; height: 100%; object-fit: cover; }
.skim::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid transparent; transition: border-color 200ms; }
.tc { position: absolute; left: 10px; bottom: 10px; font-size: 13px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.75); font-variant-numeric: tabular-nums; }
.found { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #000; background: var(--green); padding: 4px 9px; border-radius: 6px; }
.stage.live .found { opacity: 0; transform: translateY(6px); transition: opacity 180ms, transform 180ms var(--ease-out); }
.stage.live.st-hit .found { opacity: 1; transform: none; }
.stage.live.st-hit .skim::after { border-color: var(--green); }
.tl { position: relative; height: 36px; margin-top: 40px; container-type: inline-size; }
.wave { display: block; width: 100%; height: 100%; fill: rgba(255, 255, 255, 0.28); }
.scanhead { position: absolute; top: -6px; bottom: -6px; left: 0; width: 2px; border-radius: 2px; background: var(--green); opacity: 0; }
.stage.live.st-scan .scanhead { opacity: 1; }
.marks { position: absolute; inset: 0; }
.m { position: absolute; top: -3px; bottom: -3px; width: 7%; margin-left: -3.5%; border-radius: 6px; background: rgba(61, 220, 132, 0.16); border: 1.5px solid var(--green); transition: opacity 200ms, transform 250ms var(--ease-out); }
.m em { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 600; color: #000; background: var(--green); padding: 2px 6px; border-radius: 5px; }
.m1 { left: 26.7%; } .m2 { left: 57.3%; } .m3 { left: 90.8%; }
.stage.live .m { opacity: 0; transform: scaleY(0.6); }
.stage.live.got1 .m1, .stage.live.got2 .m2, .stage.live.got3 .m3 { opacity: 1; transform: none; }
.status { position: relative; height: 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.status span { position: absolute; inset: 0; transition: opacity 250ms; }
.s1 { opacity: 0; } .s2 { color: var(--green); font-weight: 600; }
.stage.live .s2 { opacity: 0; } .stage.live.st-scan .s1 { opacity: 1; } .stage.live.st-play .s2 { opacity: 1; }

.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ph { margin: 0; transition: opacity 450ms, transform 600ms var(--ease-out); }
.slot-ghost { aspect-ratio: 9 / 16; border-radius: 18px; align-self: start; grid-row: 1; }
.stage.live .slot-ghost { border: 1.5px dashed rgba(255, 255, 255, 0.16); }
.g1, .ph1 { grid-column: 1; } .g2, .ph2 { grid-column: 2; } .g3, .ph3 { grid-column: 3; }
.ph { grid-row: 1; }
.ph .scr { transition: border-color 250ms, box-shadow 250ms; }
.ph.hit .scr { border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.m { transition-property: opacity, transform, background-color; }
.m.hit { background: rgba(61, 220, 132, 0.55); }
.stage.live .ph { opacity: 0; transform: translateX(-40px) scale(0.94); }
.stage.live.got1 .ph1, .stage.live.got2 .ph2, .stage.live.got3 .ph3 { opacity: 1; transform: none; }
.scr { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, 0.16); }
.clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scr::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82) 55%); pointer-events: none; }
.ph-top { position: absolute; z-index: 1; left: 9px; top: 9px; }
.plat { width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, 0.65); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.kc { position: absolute; z-index: 1; left: 6px; right: 6px; bottom: 15%; transform: translateY(50%); text-align: center; font-size: clamp(14px, 1.65vw, 22px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9); }
.w { display: inline-block; opacity: 0; transform: translateY(6px) scale(0.85); }
.w.on { opacity: 1; transform: none; transition: transform 160ms var(--ease-out); }
.w.hi { color: #000; background: var(--green); padding: 0 6px; border-radius: 6px; text-shadow: none; }
.bar-prog { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.bar-prog i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0.6); }
.ph figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 6px; margin-top: 10px; padding: 0 2px; }
.ph figcaption b { font-size: 14px; font-weight: 600; }
.at { font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
.stage-note { margin: 14px auto 0; font-size: 13px; color: var(--muted); }
.stage-note a, .foot-base span a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px auto 0; max-width: 1100px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500;
  padding: 8px 13px; border-radius: 10px; border: 1px solid var(--line); background: #0d0d0d;
}
.chips svg { font-size: 15px; color: var(--muted); }

/* marquee */
.works { padding: 80px 0 20px; text-align: center; }
.works-title { color: var(--muted); font-size: 16px; }
.marquee {
  overflow: hidden; margin-top: 24px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.track { display: flex; width: max-content; gap: 24px; animation: marquee 32s linear infinite; }
.track span {
  font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: rgba(255, 255, 255, 0.8); white-space: nowrap;
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line);
}
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }

/* sections */
.sec { max-width: 1240px; margin: 0 auto; padding: 130px 20px 0; text-align: center; scroll-margin-top: 72px; }
.sec h2 { margin-top: 12px; text-wrap: balance; }

/* feature duo: two explainer visuals that loop (9s), paused by the stage toggle via .visual */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; text-align: left; }
.feature { display: flex; flex-direction: column; }
.feature h3 { font-size: 24px; letter-spacing: -0.03em; margin-top: 30px; }
.feature p { color: var(--muted); font-size: 16px; margin-top: 8px; }
.visual {
  --fl: 9s;
  position: relative; flex: 1; min-height: 420px; border-radius: 20px; overflow: hidden; padding: 24px; display: flex; flex-direction: column;
  border: 1px solid var(--line);
}
.vp-foot { margin-top: auto; padding-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.7); }

/* moments: candidates are checked, weak ones are skipped */
.v-pick { gap: 10px; background: #18181b; }
.vp-head { display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; margin-bottom: 4px; }
.vp-head b { font-weight: 600; }
.vp-head span { font-size: 12px; color: var(--faint); }
.cand { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); animation: cand var(--fl) var(--ease-out) infinite both; }
.c-b { animation-name: cand-skip; animation-delay: 0.5s; }
.c-c { animation-delay: 1s; }
.c-d { animation-delay: 1.5s; }
.cand { flex: 1; display: flex; gap: 12px; align-items: center; }
.cth { flex: none; width: 36px; height: 64px; border-radius: 6px; object-fit: cover; }
.c-b .cth { filter: grayscale(1) brightness(0.7); }
.cbody { flex: 1; min-width: 0; }
.q { font-size: 14px; color: #fff; }
.q .ts { font-size: 12px; color: var(--faint); margin-right: 8px; font-variant-numeric: tabular-nums; }
.checks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.ck { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 3px 9px 3px 7px; border-radius: 999px; color: var(--green); background: rgba(61, 220, 132, 0.1); border: 1px solid rgba(61, 220, 132, 0.4); animation: tick var(--fl) var(--ease-out) infinite both; animation-delay: inherit; }
.ck::before { content: "✓"; font-weight: 700; }
.ck.x { color: #ff8a80; background: rgba(255, 138, 128, 0.1); border-color: rgba(255, 138, 128, 0.4); }
.ck.x::before { content: "✕"; }
.ck.k2 { animation-name: tick2; } .ck.k3 { animation-name: tick3; }
.verdict { margin-left: auto; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; animation: verdict var(--fl) var(--ease-out) infinite both; animation-delay: inherit; }
.verdict.keep { color: #000; background: var(--green); }
.verdict.keep b { font-weight: 700; margin-left: 2px; }
.verdict.drop { color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.1); }

/* framing: one stream scene, shown wide, as a blind centre crop, and as the Clipify stack */
.v-frame { gap: 16px; background: #18181b; }
.fr-label { display: block; font-size: 12px; color: var(--faint); margin-bottom: 8px; }
.fr-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid #34343b; }
.scene { position: absolute; inset: 0; display: block; }
/* the same real frame everywhere, cropped in % */
.scene img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* overlays on the wide stream */
.fr-crop, .fr-box { position: absolute; border-radius: 6px; }
.fr-crop { left: 34.2%; width: 31.6%; top: 0; bottom: 0; border: 2px dashed rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.08); opacity: 0; animation: fr-crop var(--fl) var(--ease-out) infinite both; }
.fr-box { border: 2px solid var(--green); background: rgba(61, 220, 132, 0.1); animation: fr-box var(--fl) var(--ease-out) infinite both; }
.fb-act { left: 27.1%; top: 3.6%; width: 22%; height: 69.4%; }
.fr-crop em, .fr-box em { position: absolute; font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.fr-crop em { left: 50%; bottom: 6px; transform: translateX(-50%); color: #000; background: #fff; }
.fr-box em { color: #000; background: var(--green); }
.fb-act em { left: 4px; bottom: 4px; }

/* the two results */
.fr-outs { display: flex; justify-content: center; gap: 18%; }
.fr-out { margin: 0; width: 30%; }
.fr-phone { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; border: 2px solid #34343b; background: #0c0c0e; }
.s-centre { width: 316%; left: -108%; right: auto; }
.s-act { width: 455%; left: -123.2%; right: auto; top: -5.2%; bottom: auto; aspect-ratio: 16 / 9; height: auto; }
.fr-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 12%; text-align: center; font-size: 17px; font-weight: 800; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9); }
.fr-cap em { font-style: normal; color: #000; background: var(--green); padding: 0 4px; border-radius: 4px; text-shadow: none; }
.fr-out figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.fr-out figcaption small { grid-column: 2; font-size: 11px; font-weight: 400; color: var(--faint); }
.mark { grid-row: span 2; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #000; }
.bad .mark { background: #ff8a80; } .good .mark { background: var(--green); }
.bad .fr-phone { animation: fr-bad var(--fl) var(--ease-out) infinite both; }
.bad figcaption { animation: fr-bad var(--fl) var(--ease-out) infinite both; }
.good .fr-phone { animation: fr-good var(--fl) var(--ease-out) infinite both; }
.good .fr-cap { animation: fr-cap var(--fl) var(--ease-out) infinite both; }
.good figcaption { animation: fr-cap var(--fl) var(--ease-out) infinite both; }

@keyframes fr-crop { 0%, 6% { opacity: 0; transform: scaleX(1.25); } 12%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: none; } }
@keyframes fr-bad { 0%, 14% { opacity: 0; transform: translateY(10px); } 22%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes fr-box { 0%, 34% { opacity: 0; transform: scale(1.1); } 40%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes fr-good { 0%, 44% { opacity: 0; transform: translateY(10px); } 52%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes fr-cap { 0%, 56% { opacity: 0; } 62%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }

@keyframes cand { 0%, 4% { opacity: 0; transform: translateY(8px); } 10%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes cand-skip { 0%, 4% { opacity: 0; transform: translateY(8px); } 10%, 40% { opacity: 1; transform: none; } 46%, 92% { opacity: 0.45; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes tick { 0%, 14% { opacity: 0; transform: scale(0.85); } 18%, 100% { opacity: 1; transform: none; } }
@keyframes tick2 { 0%, 20% { opacity: 0; transform: scale(0.85); } 24%, 100% { opacity: 1; transform: none; } }
@keyframes tick3 { 0%, 26% { opacity: 0; transform: scale(0.85); } 30%, 100% { opacity: 1; transform: none; } }
@keyframes verdict { 0%, 33% { opacity: 0; transform: translateX(-6px); } 38%, 100% { opacity: 1; transform: none; } }

/* how it works: three product-UI cards that play once when revealed */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; text-align: left; }
.step { position: relative; padding: 18px 18px 26px; border-radius: 20px; background: #141416; border: 1px solid var(--line); }
.step:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1; right: -15px; top: 120px; width: 10px; height: 10px;
  border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: rotate(45deg);
}
.step-ui { height: 220px; padding: 16px; border-radius: 14px; background: #1a1a1d; border: 1px solid #26262b; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }

.step h3 { font-size: 22px; letter-spacing: -0.03em; margin-top: 22px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.when { margin-left: auto; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }

/* 01 pick-up */
.row-head { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.row-head b { font-weight: 600; }
.off { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: #2c2c32; color: var(--muted); }
.dl { padding: 12px; border-radius: 10px; background: #222226; }
.dl-top { display: flex; justify-content: space-between; font-size: 13px; }
.dl-top span:first-child { display: flex; align-items: center; gap: 6px; }
.dl-top svg { font-size: 15px; color: var(--green); }
.dl-len { color: var(--faint); font-variant-numeric: tabular-nums; }
.dl-bar { display: block; height: 6px; margin-top: 10px; border-radius: 6px; background: #333338; overflow: hidden; }
.dl-bar i { display: block; height: 100%; border-radius: 6px; background: var(--green); transform-origin: left; }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.srcs span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: #222226; color: var(--muted); border: 1px solid #2e2e34; }
.srcs .on { color: #000; background: var(--green); border-color: var(--green); font-weight: 600; }

/* 02 edit */
.mtl { position: relative; height: 34px; }
.mwave { display: block; width: 100%; height: 100%; fill: rgba(255, 255, 255, 0.22); }
.mk { position: absolute; top: -2px; bottom: -2px; width: 12%; margin-left: -6%; border-radius: 6px; border: 1.5px solid var(--green); background: rgba(61, 220, 132, 0.14); }
.k1 { left: 20%; } .k2 { left: 52%; } .k3 { left: 82%; }
.mphones { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mp { position: relative; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.14); overflow: hidden; }
.mp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mp::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)); }
.mp b { position: absolute; z-index: 1; left: 4px; right: 4px; bottom: 8px; text-align: center; font-size: 11px; font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: -0.01em; }
.mp em { font-style: normal; color: #000; background: var(--green); padding: 0 3px; border-radius: 3px; }

/* 03 delivered */
.push { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #2a2a2f; }
.app { flex: none; width: 30px; height: 30px; border-radius: 8px; background: #fff; color: #000; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.push-txt { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); line-height: 1.3; }
.push-txt b { font-size: 13px; color: #fff; font-weight: 600; }
.files { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.files li { display: flex; align-items: center; gap: 10px; }
.th { flex: none; width: 24px; height: 38px; border-radius: 5px; object-fit: cover; }
.f-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.f-txt b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-txt small { font-size: 11px; color: var(--faint); }
.files .ok { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #000; display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* play once when the cards scroll in (main.js adds .in); without JS the final state shows */
.steps.in .dl-bar i { animation: fill 1.6s 0.3s var(--ease-io) both; }
.steps.in .srcs .on { animation: lit 0.5s 1.9s var(--ease-out) both; }
.steps.in .mk { animation: lit 0.5s var(--ease-out) both; }
.steps.in .k1 { animation-delay: 0.6s; } .steps.in .k2 { animation-delay: 0.85s; } .steps.in .k3 { animation-delay: 1.1s; }
.steps.in .mp { animation: up 0.6s var(--ease-out) both; }
.steps.in .mp.yt { animation-delay: 1.3s; } .steps.in .mp.tt { animation-delay: 1.45s; } .steps.in .mp.ig { animation-delay: 1.6s; }
.steps.in .push { animation: drop 0.6s 1.9s var(--ease-out) both; }
.steps.in .files li { animation: up 0.5s var(--ease-out) both; }
.steps.in .files li:nth-child(1) { animation-delay: 2.3s; } .steps.in .files li:nth-child(2) { animation-delay: 2.45s; } .steps.in .files li:nth-child(3) { animation-delay: 2.6s; }
.steps.in .files .ok { animation: lit 0.4s var(--ease-out) both; animation-delay: inherit; }
@keyframes fill { from { transform: scaleX(0); } }
@keyframes lit { from { opacity: 0; transform: scale(0.85); } }
@keyframes up { from { opacity: 0; transform: translateY(12px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } }

/* comparison */
.cmp { margin-top: 56px; border-radius: 20px; background: var(--panel); overflow: hidden; text-align: left; }
.row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; }
.row + .row { border-top: 1px solid var(--line); }
.row > span { padding: 18px 22px; font-size: 15px; color: var(--muted); }
.row > span[role="rowheader"] { color: #fff; font-weight: 500; }
.row.head > span { color: #fff; font-weight: 600; }
.row .us { background: rgba(61, 220, 132, 0.06); color: #fff; }
.row.head .us { color: var(--green); }
.note { color: var(--faint); font-size: 14px; margin-top: 18px; }
.note b { color: #fff; font-weight: 600; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 56px auto 0; text-align: left; }
.plan { background: var(--panel); border-radius: 20px; padding: 32px; border: 1px solid transparent; }
.plan.pro { border-color: rgba(61, 220, 132, 0.45); }
.plan-name { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.badge { font-size: 12px; font-weight: 600; color: #000; background: var(--green); padding: 4px 10px; border-radius: 999px; }
.price { font-size: 48px; font-weight: 600; letter-spacing: -0.05em; margin: 10px 0 24px; }
.price small { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--faint); }
.plan ul { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.plan li { position: relative; padding-left: 26px; font-size: 15px; color: var(--muted); }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(61, 220, 132, 0.16); }
.plan li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 6px; height: 3px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.plan li b { color: #fff; font-weight: 600; }
.plans.three { grid-template-columns: repeat(3, 1fr); max-width: 1140px; align-items: start; }
.price { white-space: nowrap; }
.plan.pro { background: #202020; }
.per { font-size: 14px; color: var(--faint); margin: -16px 0 22px; }
.plan.pro .per { color: var(--green); }
.plan li.no { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.35); }
.plan li.no::before { background: rgba(255, 255, 255, 0.08); }
.plan li.no::after { display: none; }
.setup { max-width: 900px; margin: 28px auto 0; color: var(--muted); font-size: 15px; }
.setup b { color: #fff; font-weight: 600; }
.billing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 56px auto 0; text-align: left; }
.billing h3 { font-size: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.billing p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.soon { display: inline-block; font-size: 12px; font-weight: 600; color: #000; background: rgba(255, 255, 255, 0.8); padding: 4px 10px; border-radius: 999px; line-height: 1.5; }

/* faq */
.faq { max-width: 800px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.qa { border: 1px solid var(--line); border-radius: 14px; transition: border-color 200ms; }
.qa:hover { border-color: var(--line-2); }
.qa button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; color: #fff; font: inherit; font-size: 21px; font-weight: 600; letter-spacing: -0.02em;
  text-align: left; padding: 22px 24px; cursor: pointer;
}
.chev { flex: none; font-size: 20px; transition: transform 300ms var(--ease-out); }
.qa button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.ans { padding: 0 24px 22px; }
.ans:not([hidden]) { animation: fade-down 300ms var(--ease-out); }
.ans p { color: var(--muted); font-size: 16px; }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }

/* reviews: hidden until three approved quotes are in the markup */
.tm-list { list-style: none; max-width: 800px; margin: 48px auto 0; padding: 0; display: grid; gap: 16px; text-align: left; }
.tm-list li { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.tm-list blockquote { margin: 0; font-size: 18px; }
.tm-list cite { display: block; margin-top: 10px; font-style: normal; font-size: 15px; color: var(--muted); }

/* feedback form: fields mirror the enquiry dialog */
.fb-form { max-width: 560px; margin: 40px auto 0; display: flex; flex-direction: column; text-align: left; }
.fb-form label { font-size: 14px; font-weight: 500; margin: 12px 0 6px; }
.fb-form input, .fb-form textarea { background: #0d0d0d; border: 1px solid var(--line-2); border-radius: 10px; color: #fff; font: inherit; font-size: 15px; padding: 11px 14px; }
.fb-form input:focus, .fb-form textarea:focus { outline: none; border-color: #fff; }
.fb-form textarea { min-height: 120px; resize: vertical; }
.fb-form .fb-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.fb-form input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--green); }
.fb-form .btn-white { align-self: flex-start; margin-top: 18px; }

/* final cta */
.final {
  max-width: 1200px; margin: 140px auto 0; padding: 90px 24px; text-align: center; border-radius: 20px; scroll-margin-top: 72px;
  background: #141416; border: 1px solid var(--line);
}
.final h2 { max-width: 760px; margin: 0 auto; text-wrap: balance; }
.final-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* footer */
.foot { padding: 120px 20px 40px; }
.foot-card { max-width: 1200px; margin: 0 auto; background: var(--panel); border-radius: 20px; padding: 64px 80px 40px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.foot-cols > div { display: flex; flex-direction: column; gap: 2px; }
.foot-h { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.foot-cols a { color: rgba(255, 255, 255, 0.6); font-size: 15px; text-decoration: none; transition: color 200ms; overflow-wrap: anywhere; padding: 8px 0; } /* 40px tap target */
.foot-cols a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-2); color: rgba(255, 255, 255, 0.6); font-size: 15px; }
.foot-base a { text-decoration: none; }

/* enquiry dialog */
dialog.enquiry {
  margin: auto; width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px);
  background: var(--panel); color: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 28px;
  overscroll-behavior: contain;
}
dialog.enquiry[open] { animation: dialog-in 260ms var(--ease-out); }
dialog.enquiry::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.dialog-head { display: flex; justify-content: space-between; align-items: center; }
.dialog-head h2 { font-size: 22px; letter-spacing: -0.02em; }
.dialog-close { background: none; border: 0; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.intro { color: var(--muted); font-size: 15px; margin: 6px 0 18px; }
#leadForm { display: flex; flex-direction: column; }
#leadForm label { font-size: 14px; font-weight: 500; margin: 12px 0 6px; }
#leadForm input, #leadForm textarea {
  background: #0d0d0d; border: 1px solid var(--line-2); border-radius: 10px; color: #fff; font: inherit; font-size: 15px; padding: 11px 14px;
}
#leadForm input:focus, #leadForm textarea:focus { outline: none; border-color: #fff; }
#leadForm textarea { min-height: 110px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.consent { font-size: 13px; color: var(--faint); margin-top: 14px; }
.dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.wa-btn svg.wa { width: 18px; height: 18px; color: #25d366; }
.wa-btn:hover { border-color: #25d366; }
.opt { font-weight: 400; color: var(--faint); }
.email-chooser { margin-top: 18px; }
.chooser-label { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.chooser-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.chooser-btns .btn-outline { padding: 8px 14px; font-size: 14px; flex: 1 1 auto; }
.dialog-status { font-size: 14px; margin-top: 12px; color: var(--muted); }
.dialog-status:empty { display: none; }
.dialog-status.ok { color: var(--green); }
.dialog-status.err { color: #ff8a80; }

/* pause control for the looping animations (WCAG 2.2.2); clipify.js also pauses the hero loop while it is off-screen */
/* in the flow under the clips, never over them: no corner of the stage stays free at every width */
.stage-toggle {
  display: block; margin: 14px 0 0 auto; min-height: 32px; padding: 6px 12px; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 500; color: var(--muted);
  background: rgba(0, 0, 0, 0.6); border: 1px solid var(--line-2); border-radius: 999px; transition: color 200ms, border-color 200ms;
}
.stage-toggle:hover { color: #fff; border-color: #fff; }
/* paused = the same finished frame reduced motion shows */
.motion-off :is(.stage, .marquee, .visual, .steps) :is(*, *::before) { animation: none !important; }

/* scroll reveal (main.js adds .js and .in) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 960px) {
  .fr-outs { gap: 6%; }
  .fr-out { width: 42%; }
  .studio { grid-template-columns: 1fr; }
  .plans.three { grid-template-columns: 1fr; max-width: 560px; }
  .plans.three .plan.pro { order: -1; }
  .nav-links, .ghost-link { display: none; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -15px; transform: translateX(-50%) rotate(135deg); }
  .foot-card { padding: 48px 28px 32px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero { padding-top: 64px; }
  .lede { font-size: 17px; }
  .stage { padding: 18px 14px 26px; border-radius: 20px; }
  .typed { font-size: 14px; }
  .editor { padding: 14px; }
  .phones { gap: 8px; }
  .scr { border-radius: 14px; }
  .kc { font-size: 13px; }
  .w.hi { padding: 0 4px; }
  .ph figcaption b { font-size: 12px; }
  .plat { width: 20px; height: 20px; font-size: 12px; }
  .at { font-size: 11px; }
  .get { font-size: 14px; padding: 8px 14px; }
  .duo, .plans, .billing { grid-template-columns: 1fr; }
  .visual { min-height: 0; padding: 18px; }
  .fr-outs { gap: 10%; }
  .fr-out { width: 38%; }
  .sec { padding-top: 96px; }
  .row { grid-template-columns: 1fr 1fr 1fr; }
  .row > span { padding: 14px 12px; font-size: 13px; }
  .row > span:nth-child(4) { display: none; }
  .row .us { order: 1; }
  .row > span:nth-child(2) { order: 2; }
  .qa button { font-size: 17px; padding: 18px; }
  .ans { padding: 0 18px 18px; }
  .track span { font-size: 18px; }
  .logo small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .stage-toggle { display: none; }
  .js .reveal { transform: none; transition: opacity 200ms; }
}
