/* Edits by Sampu - v4 "studio" design.
   Brief: short-form editor for podcast hosts deciding on a phone in ~10s. Feel of an established studio:
   cinematic dark (the clips pop), restrained, one bold accent used only for actions, wide confident type.
   Work is the hero; proof = before/after + real view counts + free sample; FAQ handles objections; CTA repeats.
   Single committed dark theme (deliberate), so every color is set explicitly. */
:root {
  --bg: #0a0a0b;
  --surface: #131315;
  --raise: #1b1b1e;
  --line: #27272b;
  --text: #f2f1ec;
  --muted: #9c9b96;
  --accent: #ebe8df;        /* paper white: only for actions + key numbers */
  --accent-ink: #0a0a0b;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.55;
       font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; transition: background .3s ease, border-color .3s ease;
       border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10,10,11,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -.3px; text-decoration: none; font-variation-settings: "wdth" 120; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; font-size: 15px; color: var(--muted); }
.nav ul a { text-decoration: none; }
.nav ul a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15.5px/1 var(--sans); text-decoration: none; cursor: pointer;
       padding: 15px 22px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink);
       transition: transform .2s ease, background .2s ease, color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--text); }
.btn.sm { padding: 11px 16px; font-size: 14.5px; }
.btn svg { width: 16px; height: 16px; }

/* hero */
.hero { padding-block: 64px 40px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.kicker { color: var(--muted); font-size: 16px; margin: 0 0 18px; }
.hero h1 { margin: 0; font-weight: 800; font-size: clamp(42px, 6.2vw, 84px); line-height: .98; letter-spacing: -2px;
           font-variation-settings: "wdth" 112; text-wrap: balance; }
.hero .sub { margin: 22px 0 0; font-size: 19px; color: #cfcdc7; max-width: 52ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.proofline { margin: 34px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 15px; }
.proofline b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.stack { position: relative; height: clamp(440px, 46vw, 600px); }
.phone { position: absolute; width: 46%; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #000;
         border: 1px solid #333; box-shadow: 0 30px 60px rgba(0,0,0,.55); will-change: transform; }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone.p1 { left: 0; top: 13%; width: 41%; rotate: -8deg; filter: brightness(.62); }
.phone.p2 { left: 24%; top: 0; width: 52%; z-index: 2; box-shadow: 0 40px 80px rgba(0,0,0,.7); }
.phone.p3 { right: 0; top: 15%; width: 41%; rotate: 8deg; filter: brightness(.62); }

/* clipped for */
.clipped { border-block: 1px solid var(--line); }
.clipped .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; padding-block: 20px; }
.clipped p { margin: 0; color: var(--muted); font-size: 15px; }
.clipped .names { display: flex; gap: 30px; flex-wrap: wrap; font-weight: 700; font-size: 18px; color: #d9d7d1;
                  font-variation-settings: "wdth" 120; letter-spacing: -.2px; }

/* sections */
section.block { padding-block: 110px 0; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 40px; }
h2 { margin: 0; font-weight: 800; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.02; letter-spacing: -1.4px;
     font-variation-settings: "wdth" 112; text-wrap: balance; }
.head p { margin: 0; color: var(--muted); max-width: 50ch; justify-self: end; }

/* before / after */
.ba { display: grid; grid-template-columns: minmax(0, 1.55fr) auto minmax(0, .62fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.frame { display: grid; gap: 10px; }
.frame .media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; position: relative; }
.frame .raw img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.85); }
.frame .short { aspect-ratio: 9 / 16; border-radius: 18px; }
.frame .short video { width: 100%; height: 100%; object-fit: cover; }
.tag { font: 500 13px var(--mono); color: var(--muted); }
.tag b { color: var(--text); font-weight: 500; }
.arrow { color: var(--accent); width: 42px; height: 42px; }
.changes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.changes li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
.changes li svg { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.changes li span { color: #d6d4ce; }

/* work */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 5.4); gap: 16px; overflow-x: auto;
        scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: #3a3a3f transparent; }
.clip { margin: 0; scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.clip .v { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.clip video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.clip:hover video { transform: scale(1.035); }
.clip figcaption { display: grid; gap: 3px; }
.clip .t { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.clip .m { font: 13px var(--mono); color: var(--muted); }
.clip .m b { color: var(--accent); font-weight: 500; }
.note { margin: 18px 0 0; color: var(--muted); font-size: 14px; max-width: 90ch; }

/* edit list */
.edl { border-top: 1px solid var(--text); }
.edl .row { display: grid; grid-template-columns: 150px 90px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line);
            align-items: baseline; transition: background .2s ease; }
.edl .row:hover { background: var(--surface); }
.edl .tc { font: 500 13.5px var(--mono); color: var(--muted); }
.edl .tr { font: 500 12.5px var(--mono); color: var(--accent); }
.edl .what { font-size: 18px; }

/* process */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 26px 26px 0 0; display: grid; gap: 10px; align-content: start; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step .when { font: 500 13px var(--mono); color: var(--accent); }
.step h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.3px; font-variation-settings: "wdth" 108; }
.step p { margin: 0; color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 18px;
        grid-template-rows: auto auto 1fr auto; }
.plan.hot { background: var(--raise); border-color: var(--accent); }
.plan .name { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.plan .pill { font: 500 12px var(--mono); color: var(--accent-ink); background: var(--accent); padding: 4px 10px; border-radius: 99px; }
.plan .price { font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: -1.5px; font-variation-settings: "wdth" 110; }
.plan .price small { font-weight: 400; font-size: 15px; color: var(--muted); letter-spacing: 0; font-variation-settings: "wdth" 100; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.plan li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; color: #d6d4ce; font-size: 15.5px; }
.plan li svg { width: 16px; height: 16px; color: var(--accent); margin-top: 4px; }
.plan .btn { justify-content: center; }
.guarantee { margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.guarantee b { color: var(--text); }

/* faq */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
                      border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
                      transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq .a { padding: 0 0 22px; color: #cfcdc7; max-width: 70ch; margin: 0; }

/* final cta */
.final { margin-top: 120px; border-block: 1px solid var(--line); background: var(--surface); }
.final .wrap { padding-block: 80px; display: grid; gap: 22px; }
.final h2 { font-size: clamp(36px, 5.6vw, 76px); max-width: 16ch; }
.mailrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mailrow code { font: 500 18px var(--mono); background: var(--bg); border: 1px solid var(--line); padding: 14px 18px; border-radius: 999px;
                user-select: all; overflow-wrap: anywhere; }
.final .fine { color: var(--muted); font-size: 15px; margin: 0; }

footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 30px 46px;
               color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }

/* legal pages */
.doc { max-width: 760px; padding-block: 40px 20px; }
.doc h1 { font-weight: 800; font-size: clamp(36px, 5vw, 56px); letter-spacing: -1.4px; margin: 0; font-variation-settings: "wdth" 112; }
.doc h2 { font-size: 24px; margin-top: 36px; letter-spacing: -.4px; }
.doc p, .doc li { color: #d6d4ce; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc p { margin: 10px 0 0; }
.doc .updated { color: var(--muted); }

/* motion: content is visible without JS; main.js arms only what starts below the fold */
.armed { opacity: 0; transform: translateY(26px); }
.in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: no-preference) {
  .hero .anim { animation: up .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 90ms); }
  .stack .phone { animation: drop 1s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 120ms + 250ms); }
}
@keyframes up { from { opacity: 0; transform: translateY(24px); } }
@keyframes drop { from { opacity: 0; translate: 0 40px; } }

@media (max-width: 980px) {
  .nav ul { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 36px; }
  .stack { height: 96vw; max-height: 520px; }
  .head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .head p { justify-self: start; }
  .ba { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ba .arrow { display: none; }
  .ba .raw-wrap { grid-column: 1 / -1; }
  .ba .changes li { padding: 10px 0; font-size: 15px; }
  .reel { grid-auto-columns: 62%; margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; }
  .steps, .plans { grid-template-columns: minmax(0, 1fr); }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .step { padding-bottom: 22px; }
  .edl .row { grid-template-columns: 110px 70px minmax(0, 1fr); gap: 10px; }
  .edl .what { font-size: 16px; }
  section.block { padding-top: 84px; }
}
@media (max-width: 520px) {
  .edl .row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .nav .btn.sm { padding: 10px 14px; font-size: 14px; }
}

/* legal pages header/footer (they use .top / .mark inside .wrap) */
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.mark { font-weight: 800; font-size: 20px; text-decoration: none; font-variation-settings: "wdth" 120; letter-spacing: -.3px; }
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--text); }
.wrap > footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 60px; padding-block: 24px 40px;
                 border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
