/* Edit Reels with Claude Code — landing v2
   Scene: a creator in Lagos taps the bio link at night, phone in a dim room.
   Dark plum ink so the reels glow; caption-yellow is the only loud colour (the CTA + the signature). */

:root {
  --bg: #140f1c;
  --bg-2: #1c1527;
  --bg-3: #261d34;
  --line: rgba(243, 238, 250, 0.1);
  --text: #f3eefa;
  --text-2: #bdb4cc;   /* 9.3:1 on --bg */
  --neon: #f7c948;     /* the Pop Captions "neon script" preset */
  --neon-ink: #1d1404;
  --violet: #a879ff;   /* 6.4:1 on --bg, used sparingly */

  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;

  --r: 18px;
  --wrap: 1120px;
  --gut: clamp(20px, 5vw, 40px);
  --sec: clamp(72px, 11vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-sticky: 20;
  --z-bar: 30;
  --z-skip: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 600; color: var(--text); }
.tnum { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow > * { max-width: 760px; }
.narrow > .offer { max-width: 560px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-skip);
  background: var(--neon); color: var(--neon-ink); padding: 10px 14px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 0 22px;
  background: var(--neon); color: var(--neon-ink);
  font: 700 16px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(247, 201, 72, .35), 0 10px 30px -10px rgba(247, 201, 72, .55);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s;
  touch-action: manipulation; cursor: pointer;
}
.btn:hover { background: #ffd462; box-shadow: 0 0 0 1px rgba(247, 201, 72, .5), 0 14px 40px -10px rgba(247, 201, 72, .7); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }

.fine { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(20, 15, 28, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.mark { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; text-decoration: none; }
.mark span { font-weight: 400; color: var(--text-2); }

/* ---------- the signature: a Pop Captions lockup ---------- */
.lockup { margin: 0; display: flex; flex-direction: column; text-wrap: balance; }
.lockup__lead {
  font: 600 clamp(26px, 6.4vw, 44px)/1.12 var(--sans);
  letter-spacing: -0.035em;
}
.lockup__big {
  font: 400 clamp(84px, 24vw, 150px)/0.9 var(--script);
  color: var(--neon);
  letter-spacing: -0.01em;
  margin: 2px 0 0 -0.04em;
  padding-bottom: .08em;
  text-shadow: 0 0 22px rgba(247, 201, 72, .45), 0 0 60px rgba(247, 201, 72, .18), 3px 4px 0 #8a5a00;
  white-space: nowrap;
}
/* per-letter grow-in (same motion as the skill: 25% → 100%, ~1.5 frames apart) */
.lockup__big .ch { display: inline-block; transform-origin: 0 85%; }
.js .lockup__big.is-ready .ch { opacity: 0; transform: scale(.25); filter: blur(4px); }
.js .lockup__big.is-on .ch {
  opacity: 1; transform: none; filter: none;
  transition: opacity .12s linear, transform .22s var(--ease), filter .22s var(--ease);
  transition-delay: calc(var(--i) * 50ms + 120ms);
}

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 var(--sec); overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy { max-width: 560px; }
.hero__sub { margin: 18px 0 28px; font-size: clamp(17px, 2.2vw, 19px); color: var(--text-2); max-width: 32ch; }

.phone { margin: 0 auto; width: min(78vw, 360px); position: relative; }
.phone::before { /* the reel's own light spilling on the page */
  content: ""; position: absolute; inset: 8% -18% 4%; z-index: -1;
  background: radial-gradient(closest-side, rgba(142, 59, 255, .38), rgba(247, 201, 72, .10) 60%, transparent);
  filter: blur(30px);
}
.phone__screen {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 34px; background: #000;
  box-shadow: 0 0 0 8px #0b0810, 0 0 0 9px rgba(255, 255, 255, .12), 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.phone figcaption { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--text-2); }

/* shared video frame */
.phone__screen img, .phone__screen video,
.clip img, .clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__screen video, .clip video { opacity: 0; transition: opacity .35s; }
.phone__screen video.is-playing, .clip video.is-playing { opacity: 1; }

.vbtn {
  position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .45); cursor: pointer; display: grid; place-items: center;
}
.vbtn i { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.vbtn[aria-pressed="true"] i { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .phone { width: min(100%, 360px); margin-right: 0; }
}

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; }
.sec--alt { background: var(--bg-2); }
.h2 {
  margin: 0 0 12px; font: 800 clamp(30px, 5.4vw, 48px)/1.1 var(--sans);
  letter-spacing: -0.025em; word-spacing: 0.04em; text-wrap: balance;
}
.lede { margin: 0; color: var(--text-2); font-size: 18px; max-width: 48ch; }
h3 { font: 700 18px/1.3 var(--sans); letter-spacing: -0.02em; margin: 0; }

/* styles */
.styles { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
.style p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.style h3 { margin-top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 17px; }
.tag { font: 600 11.5px/1 var(--sans); color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 8px; letter-spacing: 0; }
.clip { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-3); }
.clip--v { aspect-ratio: 9 / 16; }
.clip--h { aspect-ratio: 16 / 9; }
.style--wide { grid-column: 1 / -1; }
.own {
  grid-column: 1 / -1; align-self: center;
  border: 1px dashed rgba(247, 201, 72, .45); border-radius: var(--r); padding: 24px;
}
.own p { margin: 0; color: var(--text-2); }
.own__big { font: 400 44px/1 var(--script) !important; color: var(--neon) !important; margin-bottom: 10px !important; }

@media (min-width: 900px) {
  .styles { grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
  .style--wide { grid-column: span 2; }
  .own { grid-column: span 2; padding: 40px; }
  .own__big { font-size: 64px !important; }
}

/* how */
.how { display: grid; gap: 48px; align-items: center; }
.steps { list-style: none; counter-reset: s; margin: 36px 0 28px; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; position: relative; padding-left: 58px; color: var(--text-2); min-height: 42px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-3); color: var(--neon); font: 800 18px/1 var(--sans);
}
.steps b { display: block; font-size: 18px; letter-spacing: -0.01em; }
.ba { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 12px; }
.ba__arrow { align-self: center; margin-top: -24px; }
.ba figure { margin: 0; }
.ba figcaption { margin-top: 10px; font-size: 13.5px; color: var(--text-2); text-align: center; }
.ba__arrow { font-size: 22px; color: var(--neon); }
@media (min-width: 900px) { .how { grid-template-columns: 1fr 1fr; gap: 72px; } .ba { gap: 20px; } }

/* rows */
.rows { margin: 36px 0 0; }
.rows > div { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line); }
.rows > div:last-child { border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 700; letter-spacing: -0.01em; }
.rows dd { margin: 0; color: var(--text-2); }
@media (min-width: 700px) { .rows > div { grid-template-columns: 220px 1fr; gap: 24px; } }

/* fit */
.fit { margin-top: 36px; display: grid; gap: 36px; }
.fit ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; color: var(--text-2); }
.fit li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--neon); border-bottom: 2.5px solid var(--neon); transform: rotate(-45deg); }
.needs li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--violet); }
@media (min-width: 700px) { .fit { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* offer */
.offer { text-align: center; max-width: 560px; margin: 0 auto; }
.offer__price { margin: 18px 0 0; font: 800 clamp(56px, 14vw, 84px)/1 var(--sans); letter-spacing: -0.04em; }
.offer__note { margin: 10px 0 0; color: var(--text-2); }
.offer__list { list-style: none; margin: 32px 0; padding: 0; text-align: left; display: grid; gap: 0; }
.offer__list li { padding: 16px 0 16px 30px; border-top: 1px solid var(--line); color: var(--text-2); position: relative; }
.offer__list li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 12px; height: 7px; border-left: 2.5px solid var(--neon); border-bottom: 2.5px solid var(--neon); transform: rotate(-45deg); }

/* faq */
.faq { margin-top: 32px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 20px; color: var(--text-2); max-width: 60ch; }

/* end */
.end { padding: var(--sec) 0 calc(var(--sec) + 20px); text-align: center; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 45%, rgba(142, 59, 255, .22), transparent 70%); }
.lockup--end { align-items: center; margin-bottom: 34px; }
.lockup--end .lockup__big { margin-left: 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 calc(32px + 72px); font-size: 14px; color: var(--text-2); }
.foot p { margin: 0 0 8px; }
.foot__legal { font-size: 12.5px; opacity: .85; }
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.foot__row p { margin: 0; }
.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--text-2); transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.social a:hover { color: #140f1c; background: #f7c948; border-color: #f7c948; }
.social a:focus-visible { outline: 2px solid #f7c948; outline-offset: 3px; }
.social svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .foot { padding-bottom: 32px; } }

/* sticky mobile bar */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: rgba(20, 15, 28, .92); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 14px; color: var(--text-2);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.bar.is-on { transform: none; }
@media (min-width: 900px) { .bar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}
