/* Marketing site. Tokens and base components come from theme.css. */

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { overflow-x: hidden; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 14px; border-radius: 8px;
  background: var(--cf-red); color: #fff; font-weight: 600; }
.skip:focus { left: 8px; }
:is(a, button):focus-visible { outline: 2px solid var(--cf-red); outline-offset: 3px; }

/* Icons as data URIs, so no icon font or extra requests */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 19px; height: 19px; border-radius: 50%;
  background: var(--cf-flame-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.9' fill='none' stroke='%23ff7a1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(15, 15, 15, 0.78);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a, .nav__login { color: var(--cf-text-muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav__links a:hover, .nav__login:hover { color: var(--cf-text); }
.nav__cta { display: flex; align-items: center; gap: 20px; }

/* Hero: centred text, glow and a faint grid */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 112px 0 96px; text-align: center; }
.hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -300px; width: 1200px; height: 820px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 0, 51, 0.3), rgba(255, 0, 51, 0.07) 55%, transparent); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: 0.4;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 15%, transparent 68%); }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 920px; margin: 22px 0; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.05;
  letter-spacing: -0.04em; font-weight: 900; }
.lead { max-width: 700px; margin: 0 auto 36px; color: var(--cf-text-muted); font-size: clamp(17px, 2vw, 20px); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.proofline { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 30px;
  color: var(--cf-text-muted); font-size: 14px; }

/* The headline's key words light up one by one, like Red Pop captions */
.pop span { display: inline-block; color: var(--cf-red); animation: pop 0.42s ease-out both; }
.pop span:nth-child(1) { animation-delay: 0.45s; }
.pop span:nth-child(2) { animation-delay: 0.75s; }
@keyframes pop {
  0% { color: var(--cf-text); transform: none; }
  45% { color: var(--cf-red); transform: scale(1.12); }
  100% { color: var(--cf-red); transform: none; }
}

/* Sections */
.section { padding: 104px 0; }
.section--alt { background: #141414; border-block: 1px solid var(--cf-border); }
.head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.head h2, .split h2 { margin: 0 0 16px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -0.035em;
  font-weight: 900; }
.head p:last-child, .split__text > p:not(.eyebrow) { margin: 0; color: var(--cf-text-muted); font-size: 18px; }
.eyebrow { margin: 0 0 14px; color: var(--cf-flame); font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; }
.soon { display: inline-flex; vertical-align: 0.15em; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  background: var(--cf-surface-3); color: var(--cf-text-muted); font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; }

/* Phone frame around the sample videos */
.device { position: relative; padding: 8px; border-radius: 34px; background: linear-gradient(160deg, #2c2c2c, #0b0b0b);
  box-shadow: 0 0 0 1px #333, 0 40px 90px -24px rgba(0, 0, 0, 0.85), 0 0 70px -18px rgba(255, 0, 51, 0.3); }
.device video, .device > img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 27px;
  background: #000; }
.sound { position: absolute; left: 20px; bottom: 20px; display: grid; place-items: center; width: 40px; height: 40px;
  padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 15, 15, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff;
  cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.sound:hover { background: var(--cf-red); border-color: transparent; }
.sound svg { width: 18px; height: 18px; }
.is-loud .sound { display: none; }

/* Examples: the source as a filmstrip with the clipped ranges, then the Shorts */
.examples { padding-top: 24px; }  /* sits right under the hero, so the proof shows above the fold */
/* Shorts: a slow endless row (the script appends a copy, so -50% lands on the same frame). Hover, focus or
   "Play with sound" pauses it; reduced motion gets a plain swipe row instead. */
.shorts { --w: 240px; overflow: hidden; padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.shorts__track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.shorts:hover .shorts__track, .shorts:focus-within .shorts__track, .shorts:has(.is-loud) .shorts__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .shorts { overflow-x: auto; mask-image: none; }
  .shorts__track { animation: none; }
}
.short { flex: 0 0 var(--w); margin: 0 32px 0 0; }

/* By hand vs ClipFlame */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.versus__col { padding: 32px; border-radius: var(--cf-radius-lg); border: 1px solid var(--cf-border); background: var(--cf-surface); }
.versus__col--new { border-color: rgba(255, 0, 51, 0.5); box-shadow: 0 30px 80px -34px rgba(255, 0, 51, 0.5);
  background: linear-gradient(180deg, rgba(255, 0, 51, 0.09), transparent 55%), var(--cf-surface); }
.versus h3 { margin: 0 0 20px; font-size: 20px; }
.versus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.versus li { position: relative; padding-left: 32px; color: var(--cf-text-muted); }
.versus li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 20px; height: 20px; border-radius: 50%;
  background: #262626 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' stroke='%23888' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.versus__col--new li { color: var(--cf-text); }
.versus__col--new li::before { background: var(--cf-flame-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.9' fill='none' stroke='%23ff7a1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.versus__foot { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--cf-border); color: var(--cf-text-muted);
  font-weight: 700; }
.versus__col--new .versus__foot { color: var(--cf-flame-text); }

/* How it works: each step shows a small piece of the app */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 22px 22px 28px; border-radius: var(--cf-radius-lg); border: 1px solid var(--cf-border); background: var(--cf-surface); }
.step__ui { display: flex; flex-direction: column; justify-content: center; gap: 12px; height: 200px; margin-bottom: 24px;
  padding: 18px; border-radius: 14px; border: 1px solid var(--cf-border); background: #101010; }
.step__num { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 10px;
  background: var(--cf-red); font-weight: 900; }
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--cf-text-muted); }
.mock-file { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--cf-surface-2); }
.mock-file__icon { flex: none; width: 38px; height: 38px; border-radius: 10px;
  background: var(--cf-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2.5l5.5 3.5L4 9.5z' fill='%23fff'/%3E%3C/svg%3E") center / 14px no-repeat; }
.mock-file__icon--zip { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Crect x='2.5' y='1.5' width='7' height='9' rx='1.2' fill='none' stroke='%23fff' stroke-width='1.1'/%3E%3Cpath d='M6 2.2v.9M6 4v.9M6 5.8v.9' stroke='%23fff' stroke-width='1.1'/%3E%3Crect x='5' y='7.3' width='2' height='1.8' rx='.4' fill='%23fff'/%3E%3C/svg%3E"); background-size: 18px; }
.mock-file b { display: block; font-size: 14px; }
.mock-file small { color: var(--cf-text-muted); font-size: 12px; }
.mock-ok { color: #5fd77a; font-size: 12px; font-weight: 600; }
.mock-list { display: grid; gap: 8px; font-size: 14px; }
.mock-list li { padding: 6px 10px 6px 38px; border-radius: 9px; background: var(--cf-surface-2); }
.mock-list li::before { left: 10px; top: 7px; }

/* Split sections: text beside a phone */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 330px; column-gap: 80px; }
/* text children join the grid so the phone can sit beside the style list rather than the whole column */
.split__text { display: contents; }
.split__text > * { grid-column: 1; }
.split > .device { grid-column: 2; grid-row: 4; align-self: center; }

/* Caption styles */
.styles { display: grid; gap: 10px; margin-top: 30px; }
.style { display: grid; grid-template-columns: 136px 1fr; gap: 16px; align-items: center; padding: 10px; border-radius: 14px;
  border: 1px solid var(--cf-border); background: var(--cf-surface); color: inherit; font: inherit; text-align: left;
  cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.style:hover { border-color: #4a4a4a; }
.style[aria-pressed="true"] { border-color: var(--cf-red);
  background: linear-gradient(90deg, rgba(255, 0, 51, 0.12), transparent 70%), var(--cf-surface); }
.style strong { display: block; font-size: 16px; }
.style small { color: var(--cf-text-muted); font-size: 13px; }
.swatch { display: block; border-radius: 9px; background: linear-gradient(135deg, #3a3a3a, #161616); color: #fff;
  font-size: 16px; font-weight: 900; line-height: 50px; text-align: center; white-space: nowrap; }
.swatch--brand, .swatch--one, .swatch--reveal { -webkit-text-stroke: 1px #000; paint-order: stroke fill; }
.swatch--brand b { color: #FFD60A; font-size: 1.12em; }
.swatch--one { font-size: 24px; }
.swatch--reveal i { font-style: normal; opacity: 0.25; }
.swatch--bar b { padding: 3px 6px; background: var(--cf-red); }
.brand-colours { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; color: var(--cf-text-muted); font-size: 14px; }
.brand-colours[hidden] { display: none; }
.dot { width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 2px solid var(--cf-border); background: var(--c);
  box-shadow: inset 0 0 0 3px var(--cf-bg); cursor: pointer; }
.dot[aria-pressed="true"] { border-color: #fff; }
.swatch--clean { font-weight: 700; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9); }
.swatch--karaoke { -webkit-text-stroke: 1px #000; paint-order: stroke fill; }
.swatch--karaoke b { color: var(--cf-red); }
.swatch--boxed span { padding: 4px 8px; border-radius: 4px; background: #000; font-size: 14px; }

/* What you get: the Shorts video pack and the long video pack */
/* subgrid lines up head, picture and list across both cards, and gives them equal height */
.packs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr; gap: 20px; }
.pack { display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 24px; padding: 30px; border-radius: var(--cf-radius-lg); border: 1px solid var(--cf-border);
  background: var(--cf-surface); }
.pack__head { display: flex; align-items: flex-start; gap: 16px; }
.pack__head h3 { margin: 0 0 4px; font-size: 24px; letter-spacing: -0.02em; }
.pack__head p { margin: 0; color: var(--cf-text-muted); }
.pack__head .card__icon { flex: none; }
.pack__posters { display: flex; align-items: center; justify-content: center; gap: 12px; aspect-ratio: 16 / 9; }  /* same box as the thumbnail, so both lists line up */
.pack__posters img { height: 90%; width: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; border: 1px solid #333; }
.pack__posters img:nth-child(2) { transform: translateY(-6%); }
.pack__thumb { position: relative; margin: 0; }
.pack__thumb img { width: 100%; height: auto; border-radius: 14px; border: 1px solid #333; }
.pack__thumb figcaption { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center;
  padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(15, 15, 15, 0.8); font-size: 13px; font-weight: 600; }
.pack__thumb .soon { margin: 0 8px 0 0; }
.pack__list { display: grid; gap: 12px; color: var(--cf-text-muted); }
.pack__list strong { color: var(--cf-text); }
.pack__extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.tile { padding: 26px 28px; border-radius: var(--cf-radius-lg); border: 1px solid var(--cf-border); background: var(--cf-surface); }
.tile h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--cf-text-muted); }

/* Icon cards: benefits and who it's for */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 30px; border-radius: var(--cf-radius-lg); border: 1px solid var(--cf-border); background: var(--cf-surface); }
.section--alt .card { background: var(--cf-bg); }
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--cf-flame-soft); }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--cf-flame); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 18px 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--cf-text-muted); }

/* Thumbnail templates */
.tpls { margin-top: 88px; text-align: center; }
.tpls h3 { margin: 0 0 12px; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; }
.tpls > p { max-width: 680px; margin: 0 auto; color: var(--cf-text-muted); }
.tpls__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; max-width: 1200px; margin: 36px auto 0; text-align: left; }
.tpl { margin: 0; }
.tpl img { width: 100%; height: auto; border-radius: 14px; border: 1px solid #333; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9); }
.tpl h4 { display: flex; align-items: center; gap: 8px; margin: 16px 0 6px; font-size: 17px; }
.tpl p { margin: 0; color: var(--cf-text-muted); font-size: 15px; }
@media (max-width: 900px) { .tpls__grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; } }

/* Languages: native names, so a viewer spots their own at a glance */
.langs { margin-top: 88px; text-align: center; }
.langs h3 { margin: 0 0 12px; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; }
.langs > p { max-width: 640px; margin: 0 auto; color: var(--cf-text-muted); }
.langs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 28px auto 0; padding: 0; list-style: none; }
.langs__list li { padding: 9px 16px; border: 1px solid var(--cf-border); border-radius: 999px; background: var(--cf-surface); font-weight: 700; }
.langs__list small { margin-left: 7px; color: var(--cf-text-muted); font-size: 12px; font-weight: 500; }
.langs .langs__next { margin-top: 18px; font-size: 14px; }
.proofline a { color: inherit; text-decoration: underline dotted; text-underline-offset: 3px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--cf-radius-lg);
  border: 1px solid var(--cf-border); background: var(--cf-bg); }
.plan--featured { border-color: var(--cf-red); box-shadow: 0 0 0 1px var(--cf-red), 0 30px 80px -24px rgba(255, 0, 51, 0.45);
  background: linear-gradient(180deg, rgba(255, 0, 51, 0.09), transparent 45%), var(--cf-bg); }
.plan__badge { position: absolute; top: -12px; left: 32px; padding: 3px 10px; border-radius: 999px; background: var(--cf-flame);
  color: #1f0a00; font-size: 12px; font-weight: 700; }
.plan h3 { margin: 0; font-size: 20px; }
.plan__for { margin: 4px 0 20px; color: var(--cf-text-muted); font-size: 14px; }
.plan__price { font-size: 50px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.plan__price span, .plan__price small { color: var(--cf-text-muted); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.plan__price small { margin-right: 6px; }
.plan__price s { margin-right: 8px; color: var(--cf-text-muted); font-size: 26px; font-weight: 600; }
.plan__off { margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(34, 197, 94, 0.15); color: #4ade80;
  font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: 0; vertical-align: middle; }
.plan__per { margin: 12px 0 24px; color: var(--cf-flame-text); font-size: 14px; font-weight: 600; }
.plan ul { flex: 1; display: grid; align-content: start; gap: 11px; margin-bottom: 28px; color: var(--cf-text-muted); }
.plans__offer { width: fit-content; margin: -24px auto 36px; padding: 8px 16px; border-radius: 999px;
  background: var(--cf-flame); color: #1f0a00; font-size: 14px; }
.plans__note { margin: 28px 0 0; text-align: center; color: var(--cf-text-muted); font-size: 14px; }

/* FAQ */
.faq { max-width: 780px; }
.faq .head { margin-bottom: 32px; }
.faq details { padding: 20px 4px; border-bottom: 1px solid var(--cf-border); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cf-flame); font-size: 22px; font-weight: 900; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--cf-text-muted); }

/* Final call to action */
.cta { position: relative; isolation: isolate; overflow: hidden; padding: 128px 0; text-align: center;
  border-top: 1px solid var(--cf-border); }
.cta::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -420px; width: 1200px; height: 760px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 0, 51, 0.32), rgba(255, 0, 51, 0.07) 55%, transparent); }
.cta h2 { max-width: 720px; margin: 0 auto 16px; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 900; }
.cta p { margin: 0 0 34px; color: var(--cf-text-muted); font-size: 18px; }

/* Footer */
.footer { padding: 32px 0; border-top: 1px solid var(--cf-border); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer nav a { color: var(--cf-text-muted); text-decoration: none; }
.footer nav a:hover { color: var(--cf-text); }

/* Responsive */
@media (max-width: 1200px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .split { grid-template-columns: 1fr; }
  .split > .device { grid-column: 1; grid-row: auto; width: min(320px, 100%); margin: 48px auto 0; }
  .steps, .cards, .plans { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .cards--4 { grid-template-columns: 1fr 1fr; max-width: none; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding: 76px 0 72px; }
  .head { margin-bottom: 40px; }
  .nav__login { display: none; }
  .shorts { --w: min(220px, 62vw); margin: 0 -16px; }
  .short { margin-right: 16px; }
  /* swipe row; the side padding lets the first and last Short snap to the centre */
  .versus, .packs, .pack__extras, .cards--4 { grid-template-columns: 1fr; }
  .packs { grid-template-rows: none; }
  .pack { grid-row: auto; grid-template-rows: none; padding: 22px; }
  .versus__col { padding: 24px; }
  .style { grid-template-columns: 112px 1fr; }
  .swatch { font-size: 14px; }
  .swatch--one { font-size: 20px; }
  .cta { padding: 96px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pop span { animation: none; }
}

/* ---------------------------------------------------------------- formats (9:16, 4:5, 1:1) */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: end; }
.fmt { margin: 0; }
.fmt__frame { position: relative; overflow: hidden; margin: 0 auto; border-radius: 16px; border: 1px solid var(--cf-border);
  background: #000; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9); }
.fmt__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.fmt__frame--9x16 { aspect-ratio: 9 / 16; width: 78%; }
.fmt__frame--4x5 { aspect-ratio: 4 / 5; width: 100%; }
.fmt__frame--1x1 { aspect-ratio: 1; width: 100%; }
.fmt__ratio { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: 13px;
  font-weight: 700; color: #fff; background: rgba(0, 0, 0, 0.6); }
.fmt h3 { margin: 18px 0 10px; font-size: 20px; }
.fmt p { margin: 12px 0 0; color: var(--cf-text-muted); font-size: 15px; line-height: 1.5; }
.fmt__apps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fmt__apps li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 8px; border-radius: 999px;
  border: 1px solid var(--cf-border); background: var(--cf-surface); font-size: 14px; font-weight: 600; }
.logo { width: 18px; height: 18px; flex: none; fill: currentColor; }
.logo--yts { color: #FF0000; }
.logo--ig { color: #E4405F; }
.logo--tt { color: var(--cf-text, #fff); }
.logo--li { color: #0A66C2; }
.fmt__note { margin: 40px 0 0; text-align: center; font-size: 17px; }
.fmt__legal { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--cf-text-dim, #777); }
@media (max-width: 900px) {
  .formats { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; gap: 44px; }
  .fmt__frame--9x16 { width: 70%; }
}
