/* Split Post landing, clean build.
   Brand: Breakout Clips teal + black + white (from the real logo). One container per section:
   label, headline, intro and media always share a block. Light page; two dark proof sections. */
@layer reset, tokens, base, layout, components, sections, utilities;

@layer tokens {
  :root {
    --ink: #0E1116;            /* logo black */
    --ink-2: #1A1F27;          /* raised surface on dark */
    --teal: #0A9CC4;           /* logo teal */
    --teal-deep: #006F86;      /* logo overlap shade; teal text on light (AA) */
    --teal-bright: #4FC6E6;    /* teal text on dark (AA) */
    --teal-tint: #E5F4F9;
    --paper: #FFFFFF;
    --gray: #f7fbfd;
    --ground: #F3F6F7;         /* cool neutral, biased toward teal */
    --rule: #DCE3E6;
    --muted: #4D5961;
    --muted-dark: #A9B5BC;
    --mark: #D6F0F8;
    --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
    --body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --fs-h1: clamp(3rem, 2rem + 4.6vw, 6.25rem);
    --fs-h2: clamp(2.2rem, 1.6rem + 2.6vw, 3.75rem);
    --fs-h3: 1.3rem;
    --fs-lede: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
    --gutter: clamp(16px, 4vw, 40px);
    --sec-pad: clamp(36px, 4rem + 4vw, 128px);
    --gap: clamp(20px, 2.4vw, 32px);
    --r-lg: 24px;
    --r-md: 16px;
    --r-sm: 12px;
    --shadow: 0 1px 2px rgba(14,17,22,.06), 0 18px 40px -24px rgba(14,17,22,.35);
    --ease: cubic-bezier(.2,.7,.2,1);
    color-scheme: light;
  }
  /* mobile: sections below the hero get 36px top/bottom padding */
  @media (max-width: 640px) { :root { --sec-pad: 36px; } }
}

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
  @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
  body { margin: 0; }
  img, picture, video, svg { display: block; max-width: 100%; }
  h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
  ol, ul { padding: 0; list-style: none; }
  button { font: inherit; color: inherit; }
}

@layer base {
  body {
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
  }
  .disp { font-family: var(--display); font-stretch: 82%; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
  h3, h4 { font-weight: 700; line-height: 1.2; text-wrap: balance; }
  p { text-wrap: pretty; }
  a { color: inherit; }
  :focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .ic--fill { fill: currentColor; stroke: none; }
  .skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
  .skip:focus { top: 12px; }
}

@layer layout {
  .wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
  .sec { padding-block: var(--sec-pad); }
  .sec + .sec:not(.sec--alt):not(.sec--dark) { border-top: 1px solid var(--rule); }
  .sec--alt { background: var(--ground); }
  .sec--dark { background: var(--ink); color: #fff; }
  /* the two proof sections read as one dark band */
  .sec--dark + .sec--dark { padding-top: 0; }
  /* render off-screen sections lazily */
  /* no content-visibility on sections: it guesses heights, so #anchor links landed in the wrong place */
  .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
  .grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
  @media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 760px) {
    .grid-3 { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
  }
  @media (max-width: 520px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }
}

@layer components {
  /* section header: label, headline and intro sit inside the section they introduce */
  .sec-head {display: grid;gap: 10px;max-width: 760px;margin-bottom: clamp(24px, 4vw, 56px);}
  .sec-head h2 { font-size: var(--fs-h2); line-height: .98; }
  .lede { font-size: var(--fs-lede); color: var(--muted); max-width: 58ch; }
  .sec--dark .lede { color: var(--muted-dark); }
  .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
  .eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
  .sec--dark .eyebrow { color: var(--teal-bright); }
  .sec-more { margin-top: clamp(28px, 3vw, 40px); }
  /* repeat CTA after each block that answers a buying question */
  .sec-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(32px, 4vw, 48px); }
  .sec-cta p { color: var(--muted); font-size: .9375rem; }

  /* brand */
  .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
  .brand--light { color: #fff; }
  .brand-logo { display: block; width: 138px; height: auto; }
  .brand-logo .wordmark { fill: #fff; }
  @media (max-width: 640px) { .brand-logo { width: 116px; } }

  /* buttons */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 1.0625rem; line-height: 1; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0); }
  .btn--primary { background: var(--ink); color: #fff; }
  .btn--primary:hover { background: #000; box-shadow: 0 10px 24px -12px rgba(14,17,22,.6); }
  .btn--accent { background: var(--teal); color: var(--ink); }
  .btn--accent:hover { background: var(--teal-bright); }
  .btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--rule); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
  .btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.28); }
  .btn--ghost-light:hover { box-shadow: inset 0 0 0 2px #fff; }
  .btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }

  .link { font-weight: 700; color: var(--teal-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .sec--dark .link { color: var(--teal-bright); }
  .link--arrow { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 1.0625rem; }
  .link--arrow .ic { transition: transform .2s var(--ease); }
  .link--arrow:hover .ic { transform: translateX(4px); }
  .link--arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

  /* cards */
  .card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
  .sec--alt .card { border-color: transparent; box-shadow: var(--shadow); }
  .card-body { display: grid; gap: 8px; padding: 20px 22px 24px; }
  .card-body h3 { font-size: var(--fs-h3); }
  .card-body p { color: var(--muted); }

  /* clips: each keeps its own aspect ratio; video fills its box */
  .clip { position: relative; aspect-ratio: var(--ar, 1); max-width: 100%; overflow: hidden; background: var(--ink-2); isolation: isolate; }
  .clip > video, .clip > picture, .clip > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .snd { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(14,17,22,.66); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s var(--ease), transform .2s var(--ease); }
  .snd:hover { background: rgba(14,17,22,.88); transform: scale(1.06); }
  .snd .ic { width: 18px; height: 18px; }
  .snd .snd-on, .snd[aria-pressed="true"] .snd-off { display: none; }
  .snd[aria-pressed="true"] .snd-on { display: block; }
  .snd[aria-pressed="true"] { background: var(--teal); color: var(--ink); }
  .snd:focus-visible { border-radius: 50%; }

  .pause { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: none; border: 0; color: var(--muted); font-size: .9375rem; font-weight: 600; cursor: pointer; }
  .pause:hover { color: var(--ink); }
  .pause .ic { width: 16px; height: 16px; }
  .pause .pause-label { text-decoration: underline; text-underline-offset: 4px; }
  .pause .ic-play { display: none; }
  .pause[aria-pressed="true"] .ic-pause { display: none; }
  .pause[aria-pressed="true"] .ic-play { display: block; }

}

@layer sections {
  /* top bar: sticky, translucent */
  .topbar { position: sticky; top: 0; z-index: 50; background: rgba(14,17,22,.72); color: #fff; -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
  .topbar.is-stuck { background: rgba(14,17,22,.86); border-bottom-color: rgba(255,255,255,.08); }
  .topbar-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
  .topbar nav { margin-left: auto; }
  .nav-links { display: flex; gap: 4px; }
  .nav-links a { display: block; padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--muted-dark); }
  .nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
  .menu-btn, .nav-cta { display: none; }
  @media (max-width: 900px) {
    .topbar-in {gap: 0px;}
    .topbar .topbar-cta { margin-left: auto; }
    /* header CTA waits until the hero CTA has scrolled off screen (script.js sets .show-cta) */
    .topbar:not(.show-cta) .topbar-cta { visibility: hidden; opacity: 0; transform: translateY(-4px); }
    .topbar-cta { transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
    .topbar.show-cta .topbar-cta { transition-delay: 0s; }
    /* burger: 44px hit area, 18px bars that fold into an X (same as the event pages) */
    .menu-btn { position: relative; display: grid; gap: 4px; flex: none; padding: 15px 13px; margin-right: -13px; border: 0; border-radius: var(--r-sm); background: none; cursor: pointer; }
    .menu-btn .bar { display: block; width: 18px; height: 2px; border-radius: 999px; background: #fff; transition: transform .24s var(--ease), opacity .18s var(--ease); }
    .menu-btn[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-btn[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
    .menu-btn[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    /* full-width menu panel under the bar */
    .topbar .topnav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 6px var(--gutter) 28px; background: var(--ink); min-height: calc(100dvh - 100%); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
    .topbar.is-open { background: rgba(14,17,22,.97); }
    .topbar.is-open .topnav { display: block; }
    .topnav .nav-links { flex-direction: column; gap: 0; }
    .topnav .nav-links a { display: flex; align-items: center; min-height: 58px; padding: 0; border-radius: 0; font-size: 1.16rem; font-weight: 500; color: #E3E9EC; border-bottom: 1px solid rgba(255,255,255,.06); }
    .topnav .nav-links a:hover { background: none; color: #fff; }
    .topnav .nav-cta { display: block; }
    .topnav .nav-cta a { border-bottom: 0; color: var(--teal-bright); font-weight: 600; }
    .menu-open { overflow: hidden; }
  }

  /* hero */
  .hero {position: relative;isolation: isolate;margin-top: -68px;padding-block: calc(50px + clamp(40px, 5vw, 72px)) clamp(50px, 8vw, 128px);overflow: hidden;background: var(--ink);color: #fff;}
  /* teal light spilling out from behind the phone, plus a faint post-grid texture */
  .hero::before { content: ""; position: absolute; z-index: -1; right: -8%; top: 4%; width: min(900px, 90vw); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(10,156,196,.55), rgba(10,156,196,.16) 55%, rgba(10,156,196,0)); filter: blur(10px); pointer-events: none; }
  .hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%); }
  .hero-grid {position: relative;display: grid;grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);gap: clamp(20px, 5vw, 72px);align-items: center;}
  .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(10,156,196,.16); color: var(--teal-bright); box-shadow: inset 0 0 0 1px rgba(79,198,230,.3); font-size: .9375rem; font-weight: 700; }
  .pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(10,156,196,.18); }
  .hero h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.875rem); line-height: .94; margin: 22px 0 24px; }
  .nowrap { white-space: nowrap; }
  .hero h1 em { font-style: normal; color: var(--teal-bright); text-shadow: 0 0 40px rgba(10,156,196,.45); }
  .dot { display: inline-block; width: .18em; height: .18em; margin-left: .04em; border-radius: 50%; background: var(--teal); }
  .hero-lede { font-size: var(--fs-lede); color: #C3CDD3; max-width: 40ch; margin-bottom: 32px; }
  .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
  @media (max-width: 640px) {
    /* mobile hero: everything centred, sub-headline hidden */
    .hero-copy { text-align: center; }
    .hero h1 { margin-bottom: 28px; }
    .hero-lede { display: none; }
    .cta-row { justify-content: center; }
    .trust { flex-direction: column; align-items: center; gap: 8px; }
    .hero .pause { display: flex; margin-inline: auto; }
  }
  .trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; color: var(--muted-dark); font-size: .9375rem; }
  .trust li { display: inline-flex; align-items: center; gap: 6px; }
  .trust b { color: #fff; }
  .stars { color: #F5B400; }
  .stars .ic { width: 16px; height: 16px; }
  .hero .pause { margin-top: 16px; color: var(--muted-dark); }
  .hero .pause:hover { color: #fff; }
  .hero-media { position: relative; display: flex; justify-content: center; }
  .phone { width: min(100%, 340px); padding: 10px; border-radius: 46px; background: #05070A; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 60px 120px -40px rgba(10,156,196,.55), 0 40px 80px -40px rgba(0,0,0,.8); rotate: 2deg; }
  /* sticker: names the use case on screen; pops each time the clip changes */
  .sticker { position: absolute; left: max(0px, calc(50% - 250px)); bottom: 14%; z-index: 2; display: grid; padding: 14px 18px; border-radius: 18px; background: var(--teal); color: var(--ink);
    font-family: var(--display); font-stretch: 82%; font-weight: 800; font-size: 1.25rem; line-height: 1; white-space: nowrap; rotate: -8deg; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
  .sticker span { font-size: 1.625rem; }
  .sticker.is-swap { animation: sticker-pop .45s var(--ease); }
  @keyframes sticker-pop { 0% { scale: .6; opacity: 0; } 70% { scale: 1.06; opacity: 1; } 100% { scale: 1; } }
  .phone .clip { border-radius: 36px; }
  .phone .snd { top: 16px; right: 16px; }
  @media (max-width: 860px) {
    .sticker { left: 0; bottom: 10%; font-size: 1.05rem; padding: 12px 14px; }
    .sticker span { font-size: 1.3rem; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .phone {width: min(100%, 260px);rotate: 0deg;}
  }

  /* how it works */
  .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
  @media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
  .step .card-body { padding-top: 22px; }
  .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-deep); font-weight: 700; font-size: .9375rem; margin-bottom: 4px; }
  .step-vis { height: 280px; display: grid; place-items: center; padding: 24px; background: linear-gradient(180deg, var(--teal-tint), var(--paper)); border-bottom: 1px solid var(--rule); }
  .m-pick { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 230px; }
  /* a 3:1 box over a square frame shows exactly its top or bottom third */
  .m-img { position: relative; aspect-ratio: 3 / 1; border-radius: var(--r-sm); overflow: hidden; background: var(--ink-2); }
  .m-img picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .m-img--top picture img { object-position: 50% 0; }
  .m-img--bot picture img { object-position: 50% 100%; }
  .m-img span { position: absolute; left: 8px; bottom: 8px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: rgba(14,17,22,.78); color: #fff; font-size: .75rem; font-weight: 600; }
  .m-btns { display: flex; gap: 8px; }
  .m-btns span { flex: 1; text-align: center; padding: 7px 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); font-size: .8125rem; font-weight: 700; }
  .m-cfg { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 250px; }
  .m-opt { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--paper); border: 1.5px solid var(--rule); font-size: .875rem; font-weight: 600; }
  .m-opt i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--muted); flex: none; }
  .m-opt.is-on { border-color: var(--ink); }
  .m-opt.is-on i { border: 4px solid var(--teal); }
  .m-field { padding: 10px 12px; border-radius: var(--r-sm); background: var(--paper); border: 1.5px dashed var(--rule); font-size: .875rem; line-height: 1.35; }
  .m-field b { display: block; font-size: .75rem; color: var(--muted); margin-bottom: 2px; }
  /* output mock: same footprint as the other two steps, Download full width under the video */
  .m-out { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 186px; }
  .m-out .clip { width: 100%; border-radius: 14px; box-shadow: var(--shadow); }
  .m-out .snd { top: 6px; right: 6px; width: 28px; height: 28px; }
  .m-out .snd .ic { width: 14px; height: 14px; }
  .m-acts { display: flex; gap: 8px; }
  .m-acts span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 700; }
  .m-acts span + span { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

  /* viral proof */
  .viral-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(40px, 5vw, 72px); align-items: center; }
  .mega {font-size: clamp(2rem, 1.4rem + 8.4vw, 6.5rem);line-height: .9;letter-spacing: -.03em;}
  .mega span { display: block; color: var(--teal-bright); }
  .viral-note {margin: 14px 0 20px;font-size: var(--fs-lede);color: var(--muted-dark);max-width: 32ch;}
  .reels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .reel { display: flex; flex-direction: column; gap: 14px; }
  .reel:nth-child(2) { margin-top: 56px; }
  .reel figcaption { display: grid; gap: 6px; justify-items: start; }
  .reel .clip { border-radius: 20px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
  /* walkthrough: Wistia embed in a rounded 16:9 frame */
  .walk-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
  .walk { border-radius: var(--r-md); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(10,156,196,.45); }
  .walk-learn h3 { font-size: 1.25rem; margin-bottom: 18px; }
  .ticks { display: grid; gap: 14px; }
  .ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; color: #D5DDE2; }
  .ticks .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(10,156,196,.2); color: var(--teal-bright); stroke-width: 2.5; }
  .walk-cta { margin-top: 28px; }
  /* bullets only balance the desktop layout; phones get the video and the button */
  @media (max-width: 900px) {
    .walk-grid { grid-template-columns: minmax(0, 1fr); }
    .walk-learn h3, .walk-learn .ticks { display: none; }
    .walk-cta { margin-top: 0; }
  }
  .reel-stat { font-size: 1.6rem; line-height: 1.05; }
  .reel-cap { color: var(--muted-dark); }
  .reel-made { white-space: nowrap; padding: 3px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(79,198,230,.5); color: var(--teal-bright); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .reel-note { grid-column: 1 / -1; margin-top: 8px; padding-left: 14px; border-left: 2px solid var(--teal-bright); color: var(--muted-dark); font-size: .9375rem; }
  @media (max-width: 480px) { .reel-made { padding: 2px 8px; font-size: .625rem; letter-spacing: .02em; } }
  @media (max-width: 960px) { .viral-grid { grid-template-columns: minmax(0, 1fr); } .reels { max-width: 560px; } }
  @media (max-width: 480px) { .reel:nth-child(2) {margin-top: 0;} }

  /* gallery rail: one shared height, widths follow each clip's ratio, nothing cropped */
  .rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px var(--gap); align-items: start; }
  .tile { min-width: 0; }
  .tile .clip { border-radius: var(--r-md); box-shadow: var(--shadow); }
  .tile figcaption { margin-top: 14px; color: var(--muted); max-width: 34ch; }
  @media (max-width: 760px) {
    .rail { --h: min(70vw, 300px); display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; gap: 16px;
      margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
    .rail::-webkit-scrollbar { display: none; }
    .tile { flex: 0 0 auto; width: calc(var(--h) * var(--tw, 1)); scroll-snap-align: start; }
  }

  /* holidays / styles: media on top of a card */
  .hol .clip, .sty .clip { border-bottom: 1px solid var(--rule); }
  /* style cards share one 4:5 stage so titles line up whatever the clip's ratio */
  .sty .clip { aspect-ratio: 4 / 5; background: var(--ground); }
  .sty .clip > video { object-fit: contain; }

  /* craft */

  /* endings */
  .ending { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(40px, 6vw, 88px); align-items: center; }
  .ending .sec-head {margin-bottom: 24px;}
  .field { background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; padding: 18px 22px 24px; min-height: 172px; box-shadow: var(--shadow); }
  .field-label { display: block; font-size: .8125rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
  .typed { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.25; font-weight: 600; }
  /* the invisible full line reserves the box height, so typing never shifts the layout */
  .typed { display: grid; }
  .typed-ghost, .typed-live { grid-area: 1 / 1; }
  .typed-ghost { visibility: hidden; }
  .caret { display: inline-block; width: 3px; height: 1em; margin-left: 3px; vertical-align: -.14em; background: var(--teal); animation: blink 1s steps(1) infinite; }
  .ending-note { margin-top: 20px; color: var(--muted); }
  .ending-media .clip { border-radius: var(--r-lg); box-shadow: var(--shadow); }
  @keyframes blink { 50% { opacity: 0; } }
  @media (max-width: 860px) { .ending { grid-template-columns: minmax(0, 1fr); } .ending-media { max-width: 380px; } }

  /* results */
  .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(255,255,255,.12); }
  .stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
  .stats dd { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.25rem); line-height: 1; font-variant-numeric: tabular-nums; }
  .stats dt { color: var(--muted-dark); }
  .quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .quote { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 24px; border-radius: var(--r-lg); background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
  .quote blockquote { font-size: 1.0625rem; line-height: 1.55; color: #E6ECEF; }
  .quote mark { background: none; color: var(--teal-bright); font-weight: 700; }
  .quote figcaption { display: flex; align-items: center; gap: 10px; font-weight: 700; }
  .av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: var(--ink); font-size: .8125rem; }
  @media (max-width: 960px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 640px) { .quotes, .stats { grid-template-columns: minmax(0, 1fr); } }

  /* who it's for */
  /* "Who it's for": each video fills its card edge to edge */
  .use-media { aspect-ratio: 9 / 16; padding: 0; background: var(--ink); border-bottom: 0; }
  .use-media .clip { aspect-ratio: auto; width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
  .use-media .clip > video { object-fit: contain; }
  .use-media .snd { top: 10px; right: 10px; width: 36px; height: 36px; }
  .use-media .snd .ic { width: 18px; height: 18px; }
  @media (max-width: 520px) { #uses .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } #uses .card-body { padding: 16px; } #uses .card-body p { font-size: .9375rem; } }

  /* faq */
  .faq {display: grid;grid-template-columns: minmax(0, 360px) minmax(0, 1fr);gap: clamp(10px, 6vw, 96px);align-items: start;}
  .faq-head { position: sticky; top: 104px; }
  .faq-list { border-top: 1px solid var(--rule); }
  .faq details { border-bottom: 1px solid var(--rule); }
  .faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 18px 0; font-weight: 700; font-size: 1.1875rem; cursor: pointer; list-style: none; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary:hover { color: var(--teal-deep); }
  .faq-ic { width: 22px; height: 22px; transition: transform .25s var(--ease); }
  .faq details[open] .faq-ic { transform: rotate(45deg); }
  .faq-a p { padding-bottom: 22px; color: var(--muted); max-width: 62ch; }
  @supports (interpolate-size: allow-keywords) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content { height: 0; overflow: clip; transition: height .3s var(--ease), content-visibility .3s allow-discrete; }
    .faq details[open]::details-content { height: auto; }
  }
  @media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq-head { position: static; } }

  /* final */
  .final { background: var(--teal); color: var(--ink); }
  .final-grid {display: grid;grid-template-columns: minmax(0, 1fr) minmax(0, 340px);gap: clamp(40px, 6vw, 88px);align-items: center;padding-block: clamp(40px, 8vw, 112px);}
  .final h2 { font-size: clamp(2.6rem, 1.8rem + 3.4vw, 5rem); line-height: .94; max-width: 13ch; margin-bottom: 32px; }
  .final-media .clip { border-radius: var(--r-lg); box-shadow: 0 40px 70px -30px rgba(14,17,22,.55); }
  @media (max-width: 860px) { .final-grid { grid-template-columns: minmax(0, 1fr); } .final-media { max-width: 340px; } }
  @media (max-width: 640px) { .final-grid { padding-block: 36px; } }

  /* footer */
  .foot { background: var(--ink); color: var(--muted-dark); padding-block: 48px; font-size: .9375rem; }
  .foot-in { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: flex-end; }
  .foot-links a { color: #fff; text-decoration: none; font-weight: 600; }
  .foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .foot-note { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); max-width: 70ch; }
  @media (max-width: 640px) { .foot-in { grid-template-columns: minmax(0, 1fr); } .foot-links { justify-content: flex-start; } }
}

@layer utilities {
  .is-paused .caret { animation: none; }
  @media (prefers-reduced-motion: reduce) { .phone, .sticker { rotate: none; } .sticker.is-swap { animation: none; } }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; }
    .caret { animation: none; }
  }
}

/* Brand logo strip at the foot of the hero. sprite-darkbg.svg holds only these 9 logos:
   white versions on top, colour (hover) versions below. */
@layer sections {
  .hero-logos { position: relative; margin-top: clamp(48px, 6vw, 80px); }
  .hero-logos .logo-strip {padding-top: clamp(24px, 4vw, 80px);border-top: 1px solid rgba(255,255,255,.1);}
  .logo-strip { overflow: hidden; }
  .logo-track { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
  .logo-brand { display: block; height: 38px; background: url(sprite-darkbg.svg) no-repeat; background-size: 110px 720px; }
  .logo-brand.disney { width: 92px; background-position: 0 -1px; }
  .logo-brand.marvel { width: 72px; background-position: 0 -41px; }
  .logo-brand.redbull { width: 107px; background-position: -.5px -80.75px; }
  .logo-brand.twitter { width: 96px; background-position: 0 -121px; }
  .logo-brand.loreal { width: 96px; background-position: 0 -161px; }
  .logo-brand.seattle { width: 107px; background-position: 0 -201px; }
  .logo-brand.americanexpress { width: 84px; background-position: 0 -241px; }
  .logo-brand.lego { width: 60px; background-position: -2px -281px; }
  .logo-brand.warnerbros { width: 107px; background-position: 0 -321px; }
  .logo-brand.disney:hover { background-position: 0 -361px; }
  .logo-brand.marvel:hover { background-position: 0 -401px; }
  .logo-brand.redbull:hover { background-position: -.5px -440.75px; }
  .logo-brand.twitter:hover { background-position: 0 -481px; }
  .logo-brand.loreal:hover { background-position: 0 -521px; }
  .logo-brand.seattle:hover { background-position: 0 -561px; }
  .logo-brand.americanexpress:hover { background-position: 0 -601px; }
  .logo-brand.lego:hover { background-position: -2px -641px; }
  .logo-brand.warnerbros:hover { background-position: 0 -681px; }

  /* Below 1200px the logos scroll as a ticker (script.js duplicates the row once).
     Paused or reduced-motion visitors get the wrapped row instead. */
  @media (max-width: 1199px) {
    :root:not(.is-paused) .logo-strip:has(.is-ticking) { mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
    :root:not(.is-paused) .logo-track.is-ticking { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: logo-ticker 36s linear infinite; }
    :root:not(.is-paused) .logo-track.is-ticking .logo-item { flex: 0 0 auto; padding-inline: 20px; }
    .logo-strip:hover .logo-track, .logo-strip:focus-within .logo-track { animation-play-state: paused; }
    .is-paused .logo-track { justify-content: center; }
    .is-paused [data-ticker-clone] { display: none; }
  }
  @keyframes logo-ticker { to { transform: translate3d(-50%, 0, 0); } }
  @media (prefers-reduced-motion: reduce) { .logo-track.is-ticking { animation: none; } }
}

/* Aspect ratios for video clips (read by script.js via --ar) */
.ar-1 { --ar: 1; }
.ar-4-5 { --ar: 4/5; }
.ar-9-16 { --ar: 9/16; }


/* Wistia embed */
wistia-player[media-id='b9y83xg0vg']:not(:defined) { background: center / contain no-repeat url('https://fast.wistia.com/embed/medias/b9y83xg0vg/swatch'); display: block; filter: blur(5px); padding-top:56.25%; }
.wistia_preload_transcript_outer_wrapper { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; margin-top: -56.25%; }
.wistia_preload_transcript_inner_wrapper { overflow: auto; }
.wistia_preload_transcript_text { text-align: justify; font-size: 5px !important; }
