/* Breakout Clips homepage - legacy-style-new-videos v11. Zero frameworks. Mobile-first. Legacy look + new sections. */
@layer reset, base, layout, components, sections, utilities;

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  img, picture, video, svg { display: block; max-width: 100%; }
  img, video { height: auto; }
  button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  [hidden] { display: none !important; }
}

@layer base {
  :root {
    --ink: #000;
    --muted: #555;
    --line: #eee;
    --bg-soft: #f5f5f5;
    --cyan: #01a0c6;
    --mark: #fce300;
    --frame: linear-gradient(147deg, #01a0c6 8.41%, #480cab 39.58%, #1f40b4 74.21%, #01c6ba 98.95%);
    --hover: linear-gradient(to right top, #140eb4, #3810c2, #5111d0, #6812de, #7e12eb);
    --r: 16px;
    --nav-h: 50px;
    --sec-pad: 48px;
    --h1: 34px;
    --h2: 27px;
    --h3: 18px;
    --body: 16px;
    --cap: 13px;
  }
  html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }
  @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
  body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: var(--body);
    line-height: 1.45;
    letter-spacing: -0.1px;
    color: var(--ink);
    background: #fff;
    overflow-x: clip;
  }
  strong, b { font-weight: 700; }
  h1, h2, h3 { text-wrap: balance; }
  p { text-wrap: pretty; }
  :focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
  @media (min-width: 768px) { :root { --h2: 30px; --body: 18px; --sec-pad: 64px; } }
  @media (min-width: 992px) { :root { --h1: 60px; --h2: 36px; --h3: 20px; } }
  @media (min-width: 1200px) { :root { --h1: 80px; --h2: 38px; --body: 20px; --sec-pad: 80px; --r: 30px; --nav-h: 80px; } body { line-height: 1.6; } }
}

@layer layout {
  .wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
  .wrap--narrow { max-width: 820px; }
  @media (min-width: 768px) { .wrap { max-width: 740px; } }
  @media (min-width: 992px) { .wrap { max-width: 960px; } }
  @media (min-width: 1200px) { .wrap { max-width: 1220px; } .wrap--narrow { max-width: 820px; } }
  .sec { padding-block: var(--sec-pad); }
  .sechead { text-align: center; margin-bottom: 24px; }
  .sechead h2 { font-size: var(--h2); font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; margin-inline: auto; max-width: 22ch; }
  .sechead p { margin-top: 10px; max-width: 46ch; margin-inline: auto; }
  .cta-row { display: flex; justify-content: center; margin-top: 28px; }
  @media (min-width: 1200px) { .sechead { margin-bottom: 40px; } .cta-row { margin-top: 40px; } }
}

@layer components {
  .cards, .hero__grid, .howto__grid, .tpl, .use, .case__grid, .case__side, .trust__head { grid-template-columns: minmax(0, 1fr); }
  .skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: #000; color: #fff; padding: 10px 14px; border-radius: 8px; }
  .skip:focus { top: 12px; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 160px; padding: 14px 30px; border-radius: 72px;
    background: #000; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.2;
    transition: background-color .15s linear;
  }
  @media (hover: hover) { .btn:hover { background: var(--hover); } }
  @media (min-width: 992px) { .btn { font-size: 18px; } }
  @media (min-width: 1200px) { .btn { font-size: 20px; } }

  /* Gradient-framed media */
  .vframe { padding: 4px; border-radius: var(--r); background: var(--frame); overflow: hidden; }
  .vframe video, .post__media video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--r) - 3px); background: #0b0a24; }
  .vframe--45 video, .tpl__video video { aspect-ratio: 4 / 5; }

  /* Cards */
  .cards { display: grid; gap: 32px; }
  .vcard { text-align: center; width: min(100%, 85vw); margin-inline: auto; }
  .vcard h3 { font-size: var(--h3); font-weight: 700; line-height: 1.3; letter-spacing: -0.3px; margin: 16px 0 6px; }
  .vcard p { line-height: 1.35; }
  @media (min-width: 768px) { .cards--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } .vcard { width: 100%; } }
  @media (min-width: 1200px) { .cards--3 { gap: 40px; } .vcard h3, .vcard p { padding-inline: 20px; } .vcard p { line-height: 1.5; } }

  .pill, .step-pill {
    display: inline-flex; align-items: center; gap: 6px; width: max-content;
    padding: 8px 16px; border-radius: 40px; border: 1px solid #ececec; background: #fff;
    box-shadow: 0 1px 4px -3px rgba(0, 0, 0, .25); font-size: 16px; font-weight: 700; line-height: 1.3;
  }
  .pill { margin: 0 auto 16px; }
  .pill::before, .step-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #00b82c; }
  .step-pill { font-size: 14px; margin-inline: auto; }

  /* Post stats */
  .pstats { display: flex; justify-content: space-around; gap: 10px; text-align: center; }
  .pstat__num { display: inline-block; position: relative; isolation: isolate; font-size: 24px; font-weight: 800; line-height: 1; }
  .pstat__num::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 1px; height: 6px; background: var(--mark); }
  .pstat__label { display: block; font-size: var(--cap); line-height: 1.3; margin-top: 4px; }
  @media (min-width: 768px) { .pstat__label { font-size: 16px; } }
  @media (min-width: 1200px) { .pstat__num { font-size: 30px; } }

  /* Marquee (logos + templates): composited transform only */
  .logos__track, .tpls__track { display: flex; width: max-content; }
  @media (prefers-reduced-motion: no-preference) {
    .logos__track, .tpls__track { animation: marquee var(--dur, 40s) linear infinite; }
    .tpls__row--rev .tpls__track { animation-direction: reverse; }
    [data-marquee]:focus-within .logos__track, [data-marquee]:focus-within .tpls__track, [data-marquee].is-paused .logos__track, [data-marquee].is-paused .tpls__track { animation-play-state: paused; } @media (hover: hover) { [data-marquee]:hover .logos__track, [data-marquee]:hover .tpls__track { animation-play-state: paused; } }
  }
  @media (prefers-reduced-motion: reduce) {
    .logos, .tpls__row { overflow-x: auto; }
    .logos__list[aria-hidden], .tpls__list[aria-hidden] { display: none; }
  }
  @keyframes marquee { to { transform: translateX(-50%); } }
}

@layer sections {
  /* Nav */
  .nav { position: fixed; inset: 0 0 auto; z-index: 90; background: #fff; border-bottom: 1px solid #e8e8e8; transition: background-color .2s, border-color .2s; }
  .nav.is-scrolled { background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-color: #f5f5f5; }
  .nav__in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
  .nav__logo svg { width: 120px; height: 30px; }
  .nav__links { display: none; gap: 48px; align-items: center; font-size: 18px; font-weight: 500; }
  @media (hover: hover) { .nav__links a:hover { color: var(--cyan); text-decoration: underline; } }
  .nav__signup { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
  .nav__m { display: flex; align-items: center; gap: 14px; font-size: 14px; }
  .nav__toggle { display: grid; gap: 3px; padding: 8px 4px; }
  .nav__toggle span { width: 16px; height: 2px; background: #000; }
  .mnav { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; border: 0; padding: 80px 20px; background: #fff;
          flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
  .mnav:popover-open { display: flex; }
  .mnav a { font-size: 22px; font-weight: 600; padding: 14px; }
  .mnav__close { position: absolute; top: 8px; right: 14px; font-size: 34px; line-height: 1; padding: 6px 10px; }
  @media (min-width: 768px) { .nav__links { display: flex; } .nav__m { display: none; } }
  @media (min-width: 992px) { .nav { border-bottom-color: transparent; } }
  @media (min-width: 1200px) { .nav__logo svg { width: 160px; height: 40px; } }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 24px) 0 24px; text-align: center; }
  .hero__grid { display: grid; gap: 22px; justify-items: center; }
  .hero__copy { display: grid; gap: 18px; justify-items: center; }
  .hero h1 { font-size: var(--h1); font-weight: 900; line-height: 1.1; letter-spacing: -1px; max-width: 13ch; }
  .hero__sub { display: none; font-size: 18px; line-height: 1.4; letter-spacing: 0.1px; }
  .hero__visual { width: 100%; max-width: 360px; margin-top: 4px; }
  @media (min-width: 768px) {
    .hero { padding-top: calc(var(--nav-h) + 40px); text-align: left; }
    .hero__grid { grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: center; }
    .hero__copy { justify-items: start; }
    .hero h1 { font-size: 38px; max-width: none; }
    .hero__sub { display: block; }
    .hero__visual { max-width: 400px; justify-self: center; margin: 0; }
  }
  @media (min-width: 992px) { .hero h1 { font-size: var(--h1); line-height: 1; } .hero__sub { font-size: 20px; } }
  @media (min-width: 1200px) {
    .hero { padding: 140px 0 60px; }
    .hero__grid { grid-template-columns: 5fr 3fr; column-gap: 40px; }
    .hero__copy { gap: 22px; }
    .hero h1 { letter-spacing: -2px; padding-right: 60px; }
    .hero__sub { font-size: 22px; line-height: 1.6; padding-right: 160px; }
  }

  /* Clapboard */
  .clap { position: relative; overflow: hidden; border-radius: 4px; background: #fff; color: #0d0d0f;
          box-shadow: 0 18px 40px rgba(13, 13, 15, .22), 0 6px 14px rgba(13, 13, 15, .12), 0 0 0 1px rgba(13, 13, 15, .1); text-align: left; -webkit-font-smoothing: antialiased; }
  .clap__stripes { height: 38px; border-bottom: 3px solid #0d0d0f;
                   background: repeating-linear-gradient(-45deg, #0d0d0f 0 28px, #fff 28px 56px); }
  .clap__stamp { position: absolute; z-index: 5; top: 14px; left: -30px; height: 25px; padding: 0 40px; line-height: 25px; transform: rotate(-45deg);
                 background: #5b5cf6; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
  .clap__body { display: grid; gap: 12px; padding: 16px; }
  .clap__prompt { background: #0d0d0f; color: #fff; border-radius: 6px; padding: 12px 14px; box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
                  font: 11px/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
  .clap__label { display: block; margin-bottom: 4px; font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #8c8dff; }
  .clap__text { min-height: 3em; color: rgba(245, 241, 234, .92); }
  .clap__caret { display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: text-bottom; border-right: 1.5px solid #8c8dff; }
  .clap__scene { position: relative; aspect-ratio: 1; overflow: hidden; isolation: isolate; transform: translateZ(0); border-radius: 6px; background: #0d0d0f; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
  .clap__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform .6s ease; }
  .clap__video.is-active { opacity: 1; transform: scale(1.01); }
  .clap__tag, .clap__sound { position: absolute; z-index: 3; color: #fff; background: rgba(13, 13, 15, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .clap__tag { top: 12px; left: 12px; height: 25px; padding: 0 11px; border-radius: 999px; line-height: 25px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
  .clap__tag { transition: opacity .15s ease; }
  .clap__tag.is-switching { opacity: 0; transition: none; }
  .clap__sound { bottom: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
  @media (hover: hover) { .clap__sound:hover { background: rgba(13, 13, 15, .85); } }
  .clap__sound .i-on, .clap__sound[aria-pressed="true"] .i-off { display: none; }
  .clap__sound[aria-pressed="true"] .i-on { display: block; }
  @media (prefers-reduced-motion: no-preference) {
    .clap__caret { animation: blink 1s steps(1) infinite; }
    @media (min-width: 768px) { .clap { animation: float 6s ease-in-out infinite; } }
  }
  @media (min-width: 768px) {
    .clap { transform: rotate(2deg); box-shadow: 0 30px 60px rgba(13, 13, 15, .28), 0 8px 20px rgba(13, 13, 15, .16), 0 0 0 1px rgba(13, 13, 15, .1); }
    .clap__stripes { height: 56px; }
    .clap__body { padding: 18px; }
    .clap__stamp { left: -34px; }
  }
  @keyframes blink { 50% { opacity: 0; } }
  @keyframes float { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-6px); } }

  /* Trust */
  .trust { padding-top: 8px; padding-bottom: 28px; }
  .trust__grid { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: center; row-gap: 14px; text-align: center; }
  .trust__title { grid-column: 1 / -1; font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; }
  .stat { display: grid; justify-items: center; gap: 4px; line-height: 1; font-size: 15px; }
  .stat__num { font-size: 26px; font-weight: 900; line-height: 1.1; }
  .stat__tp { display: inline-flex; align-items: center; gap: 2px; }
  .stat__tp .ico { width: 16px; height: 16px; }
  .award { display: grid; justify-items: center; gap: 4px; }
  .award .ico:first-child { width: 110px; height: auto; }
  .award .ico:last-child { width: 80px; height: auto; }
  .logos { overflow: hidden; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; --dur: 30s; }
  .logos__list { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
  .logos__list .ico { height: 40px; width: auto; max-width: none; }
  @media (min-width: 768px) {
    .trust__grid { grid-template-columns: 6fr 2fr 2fr 2fr; text-align: left; }
    .trust__title { grid-column: 1; }
    .stat { justify-items: start; }
  }
  @media (min-width: 992px) { .trust__title { font-size: var(--h2); } .stat__num { font-size: 34px; } .stat { font-size: 18px; } }
  @media (min-width: 1200px) {
    .trust__grid { grid-template-columns: 4fr 2fr 2fr 2fr; }
    .stat__num { font-size: 36px; }
    .award .ico:first-child { width: 146px; }
    .award .ico:last-child { width: 94px; }
    .logos { width: min(100% - 40px, 1180px); margin: 24px auto 0; padding-top: 24px; }
    .logos__track { width: 100%; animation: none !important; }
    .logos__list { width: 100%; justify-content: space-between; gap: 12px; padding: 0; }
    .logos__list[aria-hidden] { display: none; }
  }

  /* How-to (AI) */
  .howto__grid { display: grid; gap: 24px; align-items: center; }
  .howto__video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: var(--bg-soft); }
  .checks { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 12px; margin-bottom: 24px; }
  .checks li { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; padding: 8px 16px; border-radius: 40px;
               border: 1px solid #ececec; background: #fff; box-shadow: 0 1px 4px -3px rgba(0, 0, 0, .25); font-weight: 600; line-height: 1.3; font-size: 15px; }
  .howto__list { display: grid; justify-items: center; }
  @media (min-width: 768px) { .howto__grid { max-width: 640px; margin-inline: auto; } }
  @media (min-width: 1200px) {
    .howto__grid { max-width: none; grid-template-columns: 1fr max-content; gap: 40px; }
    .howto__list, .checks { justify-items: start; }
    .checks li { font-size: 18px; }
  }

  /* Tabs */
  .tabs { text-align: center; }
  .tabs__list { display: inline-flex; gap: 8px; padding: 5px; margin-bottom: 24px; border-radius: 16px; background: var(--bg-soft); }
  .tabs__tab { display: grid; gap: 2px; padding: 10px 12px; border-radius: 13px; transition: background-color .2s, box-shadow .2s; }
  .tabs__tab strong { font-size: 16px; font-weight: 600; }
  .tabs__tab span { font-size: var(--cap); font-weight: 300; color: #06051f; line-height: 1.25; }
  .tabs__tab[aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
  @media (hover: hover) { .tabs__tab:hover { background: #fff; } }
  .tabs__panel:focus-visible { outline-offset: 8px; }
  .tpl { display: grid; gap: 24px; justify-items: center; }
  .tpl__video { width: min(100%, 85vw); }
  .tpl__details { text-align: left; max-width: 90%; display: grid; gap: 16px; justify-items: center; }
  .steps { counter-reset: s; display: grid; gap: 10px; }
  .steps li { counter-increment: s; padding-left: 24px; position: relative; }
  .steps li::before { content: counter(s) "."; position: absolute; left: 0; }
  .tpl__details p { text-align: center; }
  .aivm { position: relative; max-width: 540px; margin-inline: auto; }
  .aivm__video video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: #0b0a24; }
  .aivm__step { display: grid; gap: 10px; margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
  .aivm__step picture, .aivm__step img { margin-inline: auto; }
  .aivm__s3 video { width: 100%; aspect-ratio: 520 / 180; object-fit: cover; background: var(--bg-soft); }
  .curl { display: none; }
  @media (min-width: 480px) { .tabs__tab { padding: 8px 20px 12px; } .tabs__tab strong { font-size: 18px; } .tabs__tab span { font-size: 14px; } }
  @media (min-width: 768px) {
    .tpl { grid-template-columns: 1fr 1fr; align-items: center; justify-items: stretch; max-width: 700px; margin-inline: auto; }
    .tpl__details { max-width: none; justify-items: start; }
    .tpl__details p { text-align: left; }
    .tpl__video { width: 100%; }
  }
  @media (min-width: 1200px) {
    .tabs__list { margin-bottom: 40px; }
    .aivm { max-width: 480px; margin-top: 70px; margin-bottom: 30px; }
    .aivm__step { position: absolute; top: 0; margin: 0; gap: 16px; padding: 16px; }
    .aivm__step--1 { right: -40px; top: -30px; max-width: 332px; transform: translateX(100%) rotate(-1.5deg); }
    .aivm__step--2 { right: calc(100% + 50px); top: 40px; width: 272px; transform: rotate(-3deg); }
    .aivm__step--3 { top: auto; bottom: 0; right: -50px; width: 294px; transform: translateX(100%) rotate(2deg); }
    .curl { display: block; position: absolute; width: 72px; height: 72px; }
    .aivm__step--1 .curl { left: -62px; bottom: -40px; transform: rotate(10deg); }
    .aivm__step--2 .curl { right: -60px; bottom: -64px; transform: scaleX(-1) rotate(3deg); }
    .aivm__step--3 .curl { left: -64px; top: -64px; transform: rotate(250deg); }
  }

  /* Platforms */
  .pf__list { display: grid; grid-template-columns: repeat(2, minmax(0, 120px)); justify-content: center; gap: 20px; }
  .pf { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 16px; }
  .pf .ico { width: 40px; height: 40px; }
  @media (min-width: 768px) { .pf__list { grid-template-columns: repeat(4, minmax(0, 140px)); gap: 30px; } }

  /* Uses */
  .use { display: grid; gap: 24px; margin-bottom: 48px; text-align: center; }
  .use:last-child { margin-bottom: 0; }
  .use__post { width: min(100%, 85vw); margin-inline: auto; order: -1; }
  .use__text { display: grid; gap: 24px; }
  .post { padding: 4px; border-radius: var(--r); background: var(--frame); overflow: hidden; }
  .post img { width: 100%; }
  .post picture:first-child img { border-radius: calc(var(--r) - 4px) calc(var(--r) - 4px) 0 0; }
  .post picture:last-child img { border-radius: 0 0 calc(var(--r) - 4px) calc(var(--r) - 4px); }
  .post__media video { border-radius: 0 !important; }
  .bubble { display: inline-block; margin-top: 6px; padding: 4px 7px; border-radius: 8px; background: #baffca; border: 1px solid #6ebf81; font-size: 12px; line-height: 1.2; font-weight: 300; max-width: 114px; }
  @media (min-width: 768px) {
    .use { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; text-align: left; }
    .use__post { order: 0; width: 100%; }
    .use__text { gap: 32px; }
    .pstats { justify-content: start; gap: 26px; }
    .use--flip .use__post { order: -1; }
    .use--flip .use__text { text-align: right; }
    .use--flip .pstats { justify-content: end; }
  }
  @media (min-width: 1200px) { .uses .wrap { max-width: 920px; } }

  /* Case study */
  .emoji { display: block; font-size: 40px; line-height: 1; margin-bottom: 10px; }
  .u { text-decoration: underline; text-underline-offset: 3px; }
  .case__grid { display: grid; gap: 24px; }
  .case__post { width: min(100%, 85vw); margin-inline: auto; }
  .case__side { display: grid; gap: 28px; justify-items: center; }
  .case__stats { display: grid; grid-template-columns: repeat(2, minmax(max-content, 1fr)); gap: 10px; width: 100%; max-width: 420px; }
  .case__stats .pstat { display: grid; gap: 2px; justify-items: center; padding: 14px 16px; border-radius: 20px; border: 1px solid rgba(0, 0, 0, .03);
                        box-shadow: 0 10px 15px -3px rgba(223, 223, 223, .66); background: #f8febc; text-align: center; }
  .case__stats .pstat:nth-child(2) { background: #99ffbd; }
  .case__stats .pstat:nth-child(3) { background: #c0a4fa; }
  .case__stats .pstat:nth-child(4) { background: #ffaeae; }
  .case__stats .pstat:nth-child(5) { background: #acd5ff; }
  .case__stats .pstat:nth-child(6) { background: #aba6f8; }
  .case__stats .pstat__label { font-size: 15px; margin: 0; }
  @media (min-width: 768px) { .case__grid { grid-template-columns: 1fr 1fr; align-items: center; max-width: 760px; margin-inline: auto; } .case__post { width: 100%; order: 2; } }
  @media (min-width: 1200px) { .emoji { font-size: 64px; } .case__grid { grid-template-columns: 1fr 390px; max-width: 800px; gap: 40px; } }

  /* Quote */
  .quote__in { display: grid; justify-items: center; gap: 16px; text-align: center; max-width: 660px; }
  .quote__mark svg { width: 48px; height: auto; }
  .quote h2 { font-size: var(--h2); font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; }
  @media (min-width: 1200px) { .quote__mark svg { width: 90px; } }

  /* Templates marquee */
  .tpls__rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; position: relative; --dur: 60s; }
  .tpls__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 50px, #000 calc(100% - 50px), transparent);
               mask-image: linear-gradient(90deg, transparent, #000 50px, #000 calc(100% - 50px), transparent); }
  .tpls__list { display: flex; gap: 10px; padding-right: 10px; }
  .tpls__list img { width: 110px; height: auto; aspect-ratio: 4 / 5; border-radius: 16px; object-fit: cover; }
  @media (min-width: 992px) { .tpls__list { gap: 20px; padding-right: 20px; } .tpls__list img { width: 160px; border-radius: 20px; } }
  @media (min-width: 1200px) { .tpls__rows { width: min(100% - 40px, 1180px); margin-inline: auto; } }

  /* Calendar */
  .cal__img img { margin-inline: auto; }

  /* Reviews */
  .tpbar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; margin: -8px 0 24px; }
  .tpbar__ex, .tpbar__stars, .tpbar__tp { display: inline-flex; align-items: center; gap: 2px; }
  .tpbar__ex { gap: 8px; }
  .tpbar .ico { width: 20px; height: 20px; }
  .rail { position: relative; max-width: 1050px; margin-inline: auto; }
  .rail__list { display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
                overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 2px 8px; }
  .rail__list::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; }
  .review__who { display: flex; align-items: center; gap: 10px; font-weight: 700; }
  .rail__nav { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .rail__btn { display: grid; place-items: center; width: 40px; height: 36px; }
  .rail__btn:disabled { opacity: .2; cursor: default; }
  @media (min-width: 768px) { .rail__list { grid-auto-columns: calc(50% - 8px); } }
  @media (min-width: 1200px) {
    .rail__list { grid-template-rows: auto auto; grid-auto-columns: calc(50% - 15px); gap: 30px; }
    .review { padding: 30px 34px; }
    .rail__nav { margin: 0; }
    .rail__btn { position: absolute; top: 50%; translate: 0 -50%; }
    .rail__btn:first-child { left: -70px; }
    .rail__btn:last-child { right: -70px; }
  }

  /* Avatars (single sprite) */
  .av { flex: none; width: 46px; height: 46px; border-radius: 50%;
        background: image-set(url("img/avatars.avif") type("image/avif"), url("img/avatars.webp") type("image/webp")) no-repeat;
        background-size: 92px 644px; }
  .av--alessandro { background-position: 0 0; } .av--samuel { background-position: 0 -92px; } .av--christopher { background-position: 0 -138px; }
  .av--tina { background-position: 0 -184px; } .av--adam { background-position: 0 -230px; } .av--john { background-position: 0 -276px; }
  .av--sandy { background-position: 0 -322px; } .av--lin { background-position: 0 -368px; } .av--olivia { background-position: -46px -368px; }
  .av--joanne { background-position: 0 -460px; } .av--nick { background-position: 0 -552px; } .av--mirella { background-position: 0 -598px; }
  .av--grady { background-position: -46px -46px; } .av--kurt { background-position: -46px -92px; } .av--robert { background-position: -46px -138px; }
  .av--damon { background-position: -46px -184px; } .av--dan { background-position: -46px -230px; } .av--russel { background-position: -46px -276px; }
  .av--matt { background-position: -46px -322px; } .av--clytie { background-position: -46px -414px; }

  /* Final CTA */
  .final .sechead h2 { font-size: calc(var(--h1) * .95); font-weight: 900; letter-spacing: -1px; max-width: none; }
  .final .sechead p { max-width: 34ch; }
  @media (min-width: 768px) { .final .sechead h2 { font-size: 38px; } }
  @media (min-width: 992px) { .final .sechead h2 { font-size: 60px; } }
  @media (min-width: 1200px) { .final .sechead h2 { font-size: 78px; } .final .sechead p { font-size: 24px; } .pill { font-size: 18px; } }

  /* FAQ */
  .faq__list { text-align: left; }
  .faq { border-bottom: 1px solid var(--line); }
  .faq summary { position: relative; list-style: none; cursor: pointer; padding: 16px 30px 16px 0; font-weight: 700; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-left: 3px solid #000; border-bottom: 3px solid #000; transform: rotate(-45deg); transition: transform .2s; }
  .faq[open] summary::after { transform: rotate(135deg); margin-top: -2px; }
  .faq__a { display: grid; gap: 10px; padding-bottom: 18px; }
  .faq__a a { color: var(--cyan); text-decoration: underline; }
  .faq__a ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
  @media (min-width: 1200px) { .faq summary { padding-block: 22px; } }

  /* Footer */
  .foot { background: #f7f7f7; padding: 36px 0 96px; font-size: 16px; }
  .foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .fcol--wide { display: none; }
  .fcol__t { font-weight: 600; margin-bottom: 14px; }
  .fcol__links { display: grid; gap: 8px; }
  @media (hover: hover) { .foot a:hover { color: var(--cyan); } }
  .soc__row { display: flex; gap: 8px; }
  .soc .ico { width: 24px; height: 24px; }
  .foot__bar { display: grid; gap: 12px; justify-items: center; text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
  .foot__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; order: -1; }
  @media (min-width: 768px) { .foot__cols { grid-template-columns: repeat(3, auto); justify-content: space-between; } }
  @media (min-width: 992px) { .foot__cols { grid-template-columns: repeat(5, auto); } .fcol--wide { display: block; } }
  @media (min-width: 1200px) {
    .foot { padding: 70px 0 40px; margin-top: 30px; font-size: 18px; }
    .foot__bar { grid-template-columns: 1fr auto; justify-items: start; text-align: left; margin-top: 50px; padding-top: 30px; }
    .foot__legal { order: 0; gap: 40px; }
  }

  /* Sticky mobile CTA */
  .sticky { position: fixed; z-index: 80; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 10px;
            padding: 8px 8px 8px 16px; border-radius: 18px; background: #0b0a24; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
            transform: translateY(calc(100% + 24px)); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
  .sticky.is-on { transform: none; opacity: 1; }
  .sticky__txt { display: grid; line-height: 1.25; min-width: 0; }
  .sticky__txt strong { font-size: 14px; white-space: nowrap; }
  .sticky__txt span { font-size: 12px; opacity: .75; white-space: nowrap; }
  .sticky__btn { flex: none; padding: 11px 18px; border-radius: 72px; background: #fff; color: #000; font-weight: 700; font-size: 15px; }
  @media (min-width: 768px) { .sticky { display: none; } }
  @media (max-width: 767px) { #beacon-container .BeaconFabButtonFrame { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 82px) !important; } }
}

@layer sections {
  @media (max-width: 359px) {
    .sticky { padding: 7px 7px 7px 12px; gap: 8px; }
    .sticky__txt strong { font-size: 12.5px; letter-spacing: -0.01em; }
    .sticky__txt span { font-size: 11px; }
    .sticky__btn { padding: 10px 12px; font-size: 14px; }
  }
}

/* ===== Legacy-style skin for the new sections (legacy-style-new-videos) =====
   The base above is the legacy look. The new sections were written against a few theme variables; this maps them to legacy values. */
@layer theme;
@layer theme {
  :root {
    --card: #fff; --paper: #fff; --mark-deep: #b89f00;
    --display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --sticker: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 28px rgba(11, 10, 36, .1);
  }
}

/* ==== fable-interpreted-new-videos: new sections ==== */
@layer theme {
  /* Section rhythm for the new order */
  .gallery, .photo, .sitesec, .uses, .reviews, .foot { background: var(--card); }
  .how, .split, .platforms, .quote { background: var(--paper); }
  .fx { background: var(--ink); color: #fff; }
  .fx .sechead p { color: rgba(255, 255, 255, .74); }
  .fx .btn { border-color: var(--mark); box-shadow: 0 4px 0 var(--mark-deep); }
  @media (hover: hover) { .fx .btn:hover { box-shadow: 0 2px 0 var(--mark-deep); } }
  .fx .btn:active { box-shadow: 0 0 0 var(--mark-deep); }

  /* Example reel: two rows drifting in opposite directions. Scroll-driven (site.js), the same engine as the Black Friday page, so rows can be swiped. */
  .reel { --reel-h: 190px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .reel__track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-block: 6px 12px; }
  .reel__track::-webkit-scrollbar { display: none; }
  .reel__tile { flex: none; height: var(--reel-h); aspect-ratio: var(--ar); margin-right: 18px; }
  .reel__tile .vframe { width: 100%; height: 100%; border-radius: 16px; background: #ecebe6; }
  .reel__tile video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; display: block; background: transparent; }
  @media (min-width: 768px) { .reel { --reel-h: 260px; gap: 10px; } .reel__tile { margin-right: 26px; } .reel__tile .vframe { border-radius: var(--r); } }
  @media (min-width: 1200px) { .reel { --reel-h: 300px; } }
  /* Clip rail (effects): edge-to-edge row on the same engine. Swipe it, or use the arrows on desktop. */
  .cr { --clip-h: 300px; }
  .cr__list { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-block: 8px 14px; }
  .cr__list::-webkit-scrollbar { display: none; }
  /* The tile itself carries the size (height + ratio), exactly like the reel tiles. Sizing the frame inside it instead makes iOS give each tile the clip's full pixel width, leaving big gaps. */
  .cr__item { flex: none; height: var(--clip-h); aspect-ratio: var(--ar); }
  .cr__item .vframe { width: 100%; height: 100%; background: #26252c; }
  .cr__item video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; display: block; background: transparent; }
  .cr__nav { display: none; justify-content: center; gap: 10px; margin-top: 10px; }
  .cr .rail__btn { position: static; translate: none; }
  @media (prefers-reduced-motion: reduce) { .cr__list { padding-inline: 20px; } }
  .fx .rail__btn { background: transparent; border-color: #fff; color: #fff; }
  @media (hover: hover) { .fx .rail__btn:hover:not(:disabled) { background: var(--mark); border-color: var(--mark); color: var(--ink); } }
  @media (min-width: 768px) { .cr { --clip-h: 340px; } .cr__nav { display: flex; } }
  /* Poster cover: each clip's poster sits on top of it until the clip is actually playing, so a tile can never flash black or empty while it loads. */
  .has-cover { position: relative; }
  .has-cover::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--poster) center / cover no-repeat; pointer-events: none; transition: opacity .25s ease; }
  .has-cover.is-playing::after { opacity: 0; }
  .sndbtn { z-index: 2; }

  /* Three steps */
  .hsteps { counter-reset: hs; display: grid; gap: 18px; }
  .hstep { counter-increment: hs; position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); padding: 22px 20px 20px 74px; text-align: left; }
  .hstep::before { content: counter(hs); position: absolute; left: 18px; top: 20px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
                   background: var(--mark); border: 2px solid var(--ink); font-family: var(--display); font-weight: 800; font-size: 20px; }
  .hstep h3 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
  .hstep p { color: var(--muted); margin-top: 6px; line-height: 1.45; }
  @media (min-width: 992px) {
    .hsteps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
    .hstep { padding: 78px 24px 26px; }
    .hstep::before { left: 24px; top: 22px; }
  }

  /* Start from text, or a photo */
  .photo__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
  .wistia { aspect-ratio: 16 / 9; background: #ecebe6; border-radius: var(--r); overflow: hidden; }
  .wistia wistia-player { display: block; width: 100%; height: 100%; }
  .photo__side { display: grid; gap: 24px; justify-items: center; }
  .feats { display: grid; gap: 14px; text-align: left; }
  .feats li { position: relative; padding-left: 38px; line-height: 1.45; color: var(--muted); }
  .feats li b { color: var(--ink); font-weight: 700; }
  .feats li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--mark); border: 2px solid var(--ink); }
  .feats li::after { content: ""; position: absolute; left: 8px; top: 7px; width: 6px; height: 10px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; rotate: 45deg; }
  @media (min-width: 992px) { .photo__grid { grid-template-columns: 1.25fr 1fr; gap: 48px; } .photo__side { justify-items: start; } }

  /* Subheadlines wrap into even lines at every width, so no short stray last line. The highlighted headline phrase (.mk) never splits. */
  .sechead p, .hero__sub { text-wrap: balance; }
  /* Yellow-underlined links: the underline fills up behind the text on hover and keyboard focus. Works across wrapped lines. */
  .faq__a a, .review__more {
    text-decoration: none; padding: 0 .12em; margin: 0 -.12em; border-radius: 3px;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    background: linear-gradient(#e2c200, #e2c200) 0 100% / 100% 3px no-repeat, linear-gradient(var(--mark), var(--mark)) 0 100% / 100% 0 no-repeat;
  }
  .faq__a a:focus-visible, .review__more:focus-visible { background-size: 100% 3px, 100% 100%; } @media (hover: hover) { .faq__a a:hover, .review__more:hover { background-size: 100% 3px, 100% 100%; } }
  @media (prefers-reduced-motion: no-preference) { .faq__a a, .review__more { transition: background-size .18s ease-out; } }
  /* Footer: the two long link columns are tap-to-open on phones and tablets, plain open columns on desktop. */
  .foot__cols { grid-auto-flow: dense; }
  .fcol--acc { grid-column: 1 / -1; border-block: 2px solid var(--ink); }
  .fcol--acc + .fcol--acc { border-top: 0; margin-top: -28px; }
  .fcol--acc > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin: 0; cursor: pointer; list-style: none; }
  .fcol--acc > summary::-webkit-details-marker { display: none; }
  .fcol--acc > summary::after { content: "+"; font: 400 26px/1 system-ui, sans-serif; transition: rotate .2s ease; }
  .fcol--acc[open] > summary::after { rotate: 45deg; }
  .fcol--acc > .fcol__links { padding-bottom: 18px; }
  @media (min-width: 992px) {
    .fcol--acc { grid-column: auto; border: 0; margin-top: 0 !important; }
    .fcol--acc > summary { display: block; min-height: 0; margin-bottom: 14px; cursor: default; pointer-events: none; }
    .fcol--acc > summary::after { content: none; }
    .fcol--acc > .fcol__links { padding-bottom: 0; }
  }
  /* The brand card's label is centred on phones (left-aligned it looked stranded). */
  @media (max-width: 767.98px) { .brandcard__tag { left: 50%; translate: -50% -50%; white-space: nowrap; } }
  /* Badges sit straight on phones; the tilt only reads well with room around it. */
  @media (max-width: 767.98px) { .pill, .brandcard__tag, .brandcard__award { rotate: none; } }
  /* Brand logo strip: edge fades are plain overlays, not a CSS mask (a mask over the moving strip can paint as a solid black band in Safari). */
  .brandcard .logos { position: relative; -webkit-mask-image: none; mask-image: none; }
  .brandcard .logos::before, .brandcard .logos::after { content: ""; position: absolute; top: 0; bottom: 0; width: 36px; z-index: 1; pointer-events: none; }
  .brandcard .logos::before { left: 0; background: linear-gradient(90deg, var(--card), transparent); }
  .brandcard .logos::after { right: 0; background: linear-gradient(270deg, var(--card), transparent); }
  @media (min-width: 1200px) { .brandcard .logos::before, .brandcard .logos::after { content: none; } }
  /* Video frames are clean: no outline, no offset shadow, never tilted. */
  .vframe { box-shadow: none; rotate: none; }
  .clap { transform: none; }
  @keyframes float-straight { 50% { transform: translateY(-6px); } }
  @media (prefers-reduced-motion: no-preference) and (min-width: 768px) { .clap { animation-name: float-straight; } }

  /* Break out of your own website */
  .sites { display: grid; gap: 28px; max-width: 860px; margin-inline: auto; }
  .site { text-align: center; }
  .site .vframe { aspect-ratio: 1; }
  .site h3 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 20px 0 6px; }
  .site p { color: var(--muted); }
  .sites__how { text-align: center; font-weight: 600; margin-top: 28px; }
  .tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
  .tags li { padding: 6px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 600; }
  @media (min-width: 768px) { .sites { grid-template-columns: 1fr 1fr; gap: 40px; } }

  /* Reviews: one row of cards, title then body (clamped), person at the bottom */
  .rating-line { text-align: center; margin: -10px 0 24px; font-weight: 600; }
  .fnv .reviews .rail__list { grid-template-rows: auto; grid-auto-columns: 86%; }
  .fnv .review { flex-direction: column; justify-content: space-between; gap: 18px; }
  .review__txt { display: grid; gap: 8px; align-content: start; }
  .review__title { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
  .review [data-clamp] { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; font-size: 16px; line-height: 1.5; }
  .review.is-open [data-clamp] { display: block; -webkit-line-clamp: unset; line-clamp: unset; }
  .review__more { justify-self: start; font-weight: 700; font-size: 15px; text-decoration: underline; text-decoration-color: #e2c200; text-decoration-thickness: 3px; text-underline-offset: 3px; }
  .review__who img { border-radius: 50%; width: 46px; height: 46px; }
  @media (min-width: 768px) { .fnv .reviews .rail__list { grid-auto-columns: calc(50% - 8px); } }
  @media (min-width: 1200px) { .fnv .reviews .rail__list { grid-template-rows: auto; grid-auto-columns: calc((100% - 60px) / 3); gap: 30px; } .fnv .review { padding: 26px; } }

  /* Split posts: four audience cards (swipe row on phones, four across on desktop) */
  .spcards { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
             scrollbar-width: none; margin-inline: -20px; padding: 6px 26px 14px 20px; scroll-padding-inline: 20px; }
  .spcards::-webkit-scrollbar { display: none; }
  .spcard { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; text-align: left; }
  .spcard__media { position: relative; aspect-ratio: 9 / 16; background: var(--ink); }
  .spcard__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
  .spcard__txt { padding: 18px 18px 22px; }
  .spcard h3 { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
  .spcard p { color: var(--muted); margin-top: 8px; font-size: 16px; line-height: 1.45; }
  .sndbtn { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff;
            background: rgba(13, 13, 15, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  @media (hover: hover) { .sndbtn:hover { background: rgba(13, 13, 15, .85); } }
  .sndbtn .i-on, .sndbtn[aria-pressed="true"] .i-off { display: none; }
  .sndbtn[aria-pressed="true"] .i-on { display: block; }
  @media (min-width: 640px) { .spcards { grid-auto-columns: 44%; } }
  @media (min-width: 992px) {
    .spcards { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; overflow: visible; margin-inline: 0; padding: 0 5px 5px 0; }
    .spcard { transition: translate .25s ease; }
    @media (hover: hover) { .spcard:hover { translate: 0 -4px; } }
  }
  @media (prefers-reduced-motion: reduce) { .spcard { transition: none; } }
}

@layer theme {
  /* Buttons match the legacy page's height exactly: 53px, and 60px from 1200px up (same width, font and padding as before). */
  .btn { min-height: 53px; }
  @media (min-width: 1200px) { .btn { min-height: 60px; } }
  /* Legacy skin: soft cards instead of ink outlines; legacy cyan/gradient accents. */
  .gallery, .fx + .split, .sitesec { background: #fff; }
  .how { background: var(--bg-soft); }
  .mk { white-space: nowrap; background: linear-gradient(transparent 62%, var(--mark) 62%); }
  .mk::after { content: none; }
  .hstep { border: 1px solid var(--line); box-shadow: var(--sticker); }
  .hstep::before { background: var(--frame); color: #fff; border: 0; }
  .feats li::before { background: var(--cyan); border: 0; }
  .feats li::after { border-color: #fff; }
  .wistia { box-shadow: var(--sticker); }
  .fx { background: #0b0a24; }
  .fx .btn { background: #fff; color: #000; border-color: transparent; box-shadow: none; }
  @media (hover: hover) { @media (hover: hover) { .fx .btn:hover { background: var(--mark); } } }
  .spcard { box-shadow: var(--sticker); border: 1px solid var(--line); }
  .tags li { border: 1px solid #d9d9e3; background: #fff; }
  .reel__tile .vframe, .cr__item .vframe { padding: 0; }
  .site .vframe { padding: 4px; }
  .pill { rotate: none; }
  .fcol--acc { border-block-color: var(--line); border-block-width: 1px; }
  .sticky { background: #0b0a24; border-radius: 16px; }
  .sticky__btn { background: #fff; color: #000; }
  /* Links: legacy turquoise underline (fills lightly on hover), not the yellow used elsewhere. */
  .faq__a a, .review__more { text-decoration: none; background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 100% 2px no-repeat, linear-gradient(rgba(1, 160, 198, .18), rgba(1, 160, 198, .18)) 0 100% / 100% 0 no-repeat; }
  /* Trustpilot stars are Trustpilot green, as on the legacy page. */
  .rating-line .hero__stars { color: #00b67a; }
  /* Final call to action: same measure as legacy, so the line under "Ready to breakout?" sits on two lines from tablet up. */
  .final .sechead p { max-width: 350px; font-size: 18px; line-height: 1.4; }
  @media (min-width: 768px) { .final .sechead p { max-width: 540px; } }
  @media (min-width: 1200px) { .final .sechead p { max-width: 651px; font-size: 24px; line-height: 32px; } }
}

/* ==========================================================================
   v5 "elevated legacy". Styling only: no copy, section or order changes.
   One black, one accent (the original cyan), one card style, one rhythm.
   The brand gradient appears in exactly one place: Trending Concepts.
   Unlayered and last in the file, so it wins over every layer above.
   ========================================================================== */
.lnv {
  --ink: #000; --muted: #5b5b63; --line: #e7e7eb; --bg-soft: #f6f6f7;
  --mark: var(--cyan); --mark-deep: #017f9d;           /* no yellow anywhere */
  --r: 16px; --card-r: 16px; --sec-pad: 56px;
  --lift: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .07);
  --sticker: none;
}
@media (min-width: 768px)  { .lnv { --r: 20px; --card-r: 20px; --sec-pad: 76px; } }
@media (min-width: 1200px) { .lnv { --r: 20px; --card-r: 20px; --sec-pad: 104px; } }

/* --- Type: one scale, one rhythm ---------------------------------------- */
.lnv .sechead { margin-bottom: 32px; }
.lnv .sechead h2, .lnv .quote h2 { letter-spacing: -0.025em; line-height: 1.08; }
.lnv .sechead p { margin-top: 12px; color: var(--ink); max-width: 50ch; line-height: 1.45; }
.lnv .final .sechead p { color: var(--ink); }
.lnv .cta-row { margin-top: 32px; }
@media (min-width: 1200px) {
  .lnv .sechead { margin-bottom: 48px; }
  .lnv .sechead h2 { font-size: 44px; }
  .lnv .cta-row { margin-top: 48px; }
}
.lnv .mk { background: none; }                           /* headings carry no highlight, as on the original */
.lnv .pstat__num::after { content: none; }               /* nor do the stat numbers */

/* --- Steps: plain numerals ---------------------------------------------- */
.lnv .hstep { padding: 26px 24px 26px; border: 1px solid var(--line); border-radius: var(--card-r); box-shadow: none; background: #fff; }
.lnv .hstep::before {
  content: counter(hs, decimal-leading-zero);
  position: static; display: block; width: auto; height: auto; margin: 0 0 20px;
  background: none; border: 0; border-radius: 0; color: var(--ink);
  font: 800 34px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
.lnv .hstep h3 { font-size: 19px; }
.lnv .hstep p { margin-top: 8px; }
@media (min-width: 992px) {
  .lnv .hstep { padding: 32px 30px 34px; }
  .lnv .hstep::before { font-size: 44px; margin-bottom: 44px; }
  .lnv .hstep h3 { font-size: 21px; }
}

/* --- Cards: white, hairline, one corner --------------------------------- */
.lnv .spcard, .lnv .review { border: 1px solid var(--line); border-radius: var(--card-r); box-shadow: none; background: #fff; }
@media (hover: hover) and (min-width: 992px) { .lnv .spcard:hover { box-shadow: var(--lift); } }
.lnv .tags li { border: 1px solid var(--line); color: var(--muted); font-weight: 500; }

/* --- Media ------------------------------------------------------------- */
.lnv .reel__tile .vframe, .lnv .cr__item .vframe { border-radius: var(--card-r); }
.lnv .site .vframe video, .lnv .post__media video { background: #0d0d0f; }
.lnv .post { padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--card-r); box-shadow: var(--lift); }
.lnv .post picture:first-child img { border-radius: calc(var(--card-r) - 1px) calc(var(--card-r) - 1px) 0 0; }
.lnv .post picture:last-child img { border-radius: 0 0 calc(var(--card-r) - 1px) calc(var(--card-r) - 1px); }
/* the one place the brand gradient lives */
.lnv .site .vframe { padding: 3px; border-radius: calc(var(--card-r) + 3px); background: var(--frame); }
.lnv .site .vframe video { border-radius: var(--card-r); }

/* --- Dark band: the same black as the buttons --------------------------- */
.lnv .fx { background: #000; }
.lnv .fx .sechead p { color: rgba(255, 255, 255, .68); }
.lnv .cr__item .vframe { background: #17171a; }
.lnv .fx .btn { background: #fff; color: #000; }
.lnv .fx .rail__btn { border-color: rgba(255, 255, 255, .35); }
@media (hover: hover) {
  .lnv .fx .btn:hover { background: var(--hover); color: #fff; }
  .lnv .fx .rail__btn:hover:not(:disabled) { background: #fff; border-color: #fff; color: #000; }
}
.lnv .sticky { background: #000; }


/* ==========================================================================
   v6 "cleanup": owner's edits on top of v5.
   ========================================================================== */
/* Buttons: the hover colour now fades in and out on its own layer, so the
   button never flashes when the pointer leaves. */
.lnv .btn { position: relative; isolation: isolate; overflow: hidden; background: #000; transition: color .2s ease; }
.lnv .btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover); opacity: 0; transition: opacity .2s ease; }
.lnv .fx .btn { background: #fff; color: #000; }
@media (hover: hover) {
  .lnv .btn:hover { background: #000; }
  .lnv .btn:hover::before { opacity: 1; }
  .lnv .fx .btn:hover { background: #fff; color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .lnv .btn, .lnv .btn::before { transition: none; } }

/* Organic vs ad: the yellow highlight under each metric, as on the original. Nothing else here changes. */
.lnv .uses .pstat__num::after { content: ""; background: #fce300; }


/* Reviews: the Trustpilot line in the original homepage style */
.lnv .rating-line.tp { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; margin: -6px 0 28px; font-size: 17px; font-weight: 400; }
.lnv .tp__stars { display: inline-flex; gap: 2px; }
.lnv .tp__stars i { display: grid; place-items: center; width: 22px; height: 22px; background: #00b67a; color: #fff; font-style: normal; font-size: 15px; line-height: 1; }
.lnv .tp__brand { display: inline-flex; align-items: center; gap: 3px; font-weight: 500; }
.lnv .tp__brand .ico { width: 20px; height: 20px; }
@media (min-width: 1200px) { .lnv .rating-line.tp { font-size: 20px; margin-bottom: 40px; } .lnv .tp__stars i { width: 26px; height: 26px; font-size: 18px; } .lnv .tp__brand .ico { width: 24px; height: 24px; } }

/* "Ready to breakout?" at the original's size */
.lnv .final .sechead h2 { font-size: calc(var(--h1) * .95); font-weight: 900; letter-spacing: -1px; max-width: none; }
@media (min-width: 768px)  { .lnv .final .sechead h2 { font-size: 38px; } }
@media (min-width: 992px)  { .lnv .final .sechead h2 { font-size: 60px; } }
@media (min-width: 1200px) { .lnv .final .sechead h2 { font-size: 78px; } }

/* ==========================================================================
   v7: hero spacing and testimonial cards matched to the original homepage.
   ========================================================================== */
/* Hero: the original leaves 42px between headline, sub-headline and button */
@media (min-width: 768px) { .lnv .hero__copy { gap: 42px; } }

/* Testimonials: the original card. Name on top, then the review at reading size. */
.lnv .review { padding: 20px; border: 1px solid #eee; border-radius: 20px; }
.lnv .review__title { display: none; }
.lnv .review [data-clamp] { font-size: 18px; line-height: 1.4; }
.lnv .review__name { font-size: 18px; }
@media (max-width: 767px) { .lnv .rail__list { grid-auto-columns: calc(100% - 24px); } }
@media (min-width: 1200px) {
  .lnv .rail { max-width: 1010px; }
  .lnv .review { padding: 30px 34px; }
  .lnv .review [data-clamp] { font-size: 20px; line-height: 32px; }
  .lnv .review__name { font-size: 20px; }
}

/* ==========================================================================
   v8: spacing matched to the original homepage; original testimonials.
   ========================================================================== */
/* Brand strip sits lower, where the original has it */
.lnv .trust { padding-top: 23px; }
@media (min-width: 768px)  { .lnv .trust { padding-top: 8px; } }
@media (min-width: 992px)  { .lnv .trust { padding-top: 29px; } }
@media (min-width: 1200px) { .lnv .trust { padding-top: 83px; } }

/* Testimonials: 20px from headline to the rating line, then 20px (40px on desktop) to the cards */
.lnv .reviews .sechead { margin-bottom: 20px; }
.lnv .rating-line.tp { margin: 0 0 20px; }
@media (min-width: 1200px) { .lnv .rating-line.tp { margin: 0 0 40px; } }
.lnv .review > p { font-size: 18px; line-height: 1.4; }
@media (min-width: 1200px) { .lnv .review > p { font-size: 20px; line-height: 32px; } }

/* ==========================================================================
   v9: hero clapboard at the original homepage's angle.
   Tilted 2 degrees from tablet width up, exactly as the original. Straight on phones.
   ========================================================================== */
@media (min-width: 768px) {
  .lnv .clap { transform: rotate(2deg); }
  .lnv .hero__visual { translate: 0 19px; }
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) { .lnv .clap { animation-name: float; } }

/* ==========================================================================
   v10: the original homepage's button hover. A soft violet glow follows the
   pointer over the purple gradient. The gradient still fades in and out, so
   there is no flash when the pointer leaves.
   ========================================================================== */
.lnv .btn::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: var(--x, 50%); top: var(--y, 50%); width: var(--size, 0px); height: var(--size, 0px);
  background: radial-gradient(circle at center, rgba(140, 100, 255, .8) 0, rgba(140, 100, 255, 0) 50%) no-repeat;
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease, left .25s linear, top .25s linear;
}
@media (hover: hover) { .lnv .btn:hover::after { --size: 120px; } }
@media (prefers-reduced-motion: reduce) { .lnv .btn::after { transition: none; } }
/* Dark band button: no leftover edge line on hover or press */
.lnv .fx .btn, .lnv .fx .btn:hover, .lnv .fx .btn:active { box-shadow: none; }

/* ==========================================================================
   v11: "Start from text, or a photo" - the video lines up with the top of the bullets.
   ========================================================================== */
@media (min-width: 992px) { .lnv .photo__grid { align-items: start; } }

/* ==========================================================================
   v15: phones only.
   1. Brand strip: "500K Users" sits on the left page margin, the award on the right
      page margin, and "4.8 Trustpilot" on the centre line. Before, the headline's
      width was shared out unevenly across the three columns.
   2. Help Scout button: Help Scout moves it from 20px to 40px off the right edge once the
      viewport is taller than 740px, which is what happens when the browser toolbar hides
      on scroll down. Pinned to 20px so it stays put.
   ========================================================================== */
@media (max-width: 767px) {
  .lnv .trust__grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); justify-content: normal; }
  .lnv .trust__grid > .stat:nth-of-type(1) { justify-self: start; }
  .lnv .trust__grid > .stat:nth-of-type(3) { justify-self: end; }
  .lnv .award .ico:first-child { width: 96px; }
  .lnv .award .ico:last-child { width: 70px; }
  #beacon-container .BeaconFabButtonFrame { right: 20px !important; }
}
@media (max-width: 359px) {
  .lnv .award .ico:first-child { width: 84px; }
  .lnv .award .ico:last-child { width: 62px; }
}

/* v16: reviews heading stays on one line on phones. */
@media (max-width: 479px) { .lnv .reviews .sechead h2 { font-size: clamp(19px, 6.1vw, 26px); white-space: nowrap; } }
