/* ReelFold website. Tokens live in brand.css. Layout: one centred column (1200 px) with
   full-bleed sections that switch between ink, cream and ultramarine. */

:root {
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1200px;
  --gutter: 24px;
  --hdr-h: 72px;
}
@media (max-width: 640px) { :root { --gutter: 16px; --hdr-h: 64px; } }

/* ── Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  background: var(--rf-ink);
  color: var(--rf-cream);
  font-family: var(--rf-font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--rf-ultramarine-soft); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--rf-ultramarine); color: var(--rf-cream); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--rf-cream); color: var(--rf-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Section colour contexts. Every component reads --fg, --muted, --rule, --card, --hl. */
.s-ink   { --bg: var(--rf-ink);   --fg: var(--rf-cream); --muted: var(--rf-ink-muted);   --rule: var(--rf-ink-rule); --card: var(--rf-ink-card);   --hl: var(--rf-ultramarine-soft); --label: var(--rf-ultramarine-soft); background: var(--bg); color: var(--fg); }
.s-cream { --bg: var(--rf-cream); --fg: var(--rf-ink);   --muted: var(--rf-cream-muted); --rule: var(--rf-line);     --card: var(--rf-cream-card); --hl: var(--rf-ultramarine);      --label: var(--rf-ultramarine);      background: var(--bg); color: var(--fg); }
.s-ultra { --bg: var(--rf-ultramarine); --fg: var(--rf-cream); --muted: rgba(245, 240, 230, .78); --rule: rgba(245, 240, 230, .22); --card: var(--rf-ultramarine-deep); --hl: var(--rf-cream); --label: #C9D1FF; background: var(--bg); color: var(--fg); }

.section { padding-block: clamp(88px, 10.5vw, 148px); position: relative; }

/* ── Type ───────────────────────────────────────────── */
.display, .h2, .h3 { font-family: var(--rf-font-headline); font-weight: 800; text-wrap: balance; }
.display { font-size: clamp(46px, 7.4vw, 108px); line-height: .96; letter-spacing: -0.035em; }
.h2 { font-size: clamp(38px, 5.2vw, 72px); line-height: .98; letter-spacing: -0.03em; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -0.025em; }
.hl { color: var(--hl); }
.label {
  font-family: var(--rf-font-mono); font-weight: 500; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--label);
}
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.muted { color: var(--muted); }
.sec-head { display: flex; flex-direction: column; gap: 20px; }
.sec-head .lead { max-width: 56ch; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--rf-ultramarine); color: var(--rf-cream); box-shadow: inset 0 1px 0 rgba(245, 240, 230, .16), 0 1px 2px rgba(11, 13, 26, .35); }
.btn--primary:hover { background: #3448E6; transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--rule); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--muted); transform: translateY(-1px); }
.btn--cream { background: var(--rf-cream); color: var(--rf-ink); }
.btn--cream:hover { background: #FFFBF3; transform: translateY(-1px); }
.btn--ink { background: var(--rf-ink); color: var(--rf-cream); }
.btn--ink:hover { background: #161A33; transform: translateY(-1px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }

/* ── Header ─────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, backdrop-filter .35s; }
.hdr.is-scrolled { background: rgba(11, 13, 26, .9); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); border-bottom-color: var(--rf-ink-rule); }
.hdr__in { height: var(--hdr-h); display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--rf-font-headline); font-weight: 800; font-size: 23px; letter-spacing: -0.035em; color: var(--rf-cream); }
.brand svg { width: 25px; height: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; color: var(--rf-ink-muted); }
.nav a { position: relative; padding-block: 6px; transition: color .2s; }
.nav a:hover { color: var(--rf-cream); }
@media (max-width: 860px) {
  .nav { display: none; }
  .hdr__cta { margin-left: auto; }
}
@media (max-width: 420px) { .hdr__cta .btn-long { display: none; } }
@media (min-width: 421px) { .hdr__cta .btn-short { display: none; } }

/* Over cream sections the header turns to cream glass */
.hdr.on-cream.is-scrolled { background: rgba(245, 240, 230, .9); border-bottom-color: var(--rf-line); }
.hdr.on-cream .brand { color: var(--rf-ink); --mark: var(--rf-ultramarine); --mark-fold: var(--rf-ultramarine-deep); }
.hdr.on-cream .nav { color: var(--rf-cream-muted); }
.hdr.on-cream .nav a:hover { color: var(--rf-ink); }
.hdr .brand, .hdr .nav { transition: color .35s; }

/* The logo mark: body + fold facets, coloured by context */
.mark .m-body { fill: var(--mark, var(--rf-ultramarine-soft)); }
.mark .m-fold { fill: var(--mark-fold, #6676F0); }

/* ── Hero ───────────────────────────────────────────── */
.hero { position: relative; padding-top: calc(var(--hdr-h) + clamp(64px, 10vw, 120px)); padding-bottom: clamp(72px, 9vw, 120px); overflow: hidden; text-align: center; }
.hero__lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(245, 240, 230, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 240, 230, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
}
.hero > .wrap { position: relative; }
.hero h1 { margin: 0 auto; max-width: 17ch; font-size: clamp(44px, 6.7vw, 100px); }
@media (max-width: 640px) { .hero h1 { max-width: 11ch; } }
.hero__sub { max-width: 660px; margin: 28px auto 0; text-wrap: balance; }
@media (max-width: 640px) { .hero__sub { font-size: 16px; max-width: 34ch; } }
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero__shot { margin-top: clamp(56px, 7vw, 88px); }

/* ── Hero video: a player template. data-src is the full video with sound,
   data-preview a short silent loop that plays behind the button. ─ */
.player { position: relative; max-width: 1120px; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--rf-ink-card); border: 1px solid var(--rf-ink-rule); box-shadow: 0 40px 120px rgba(0, 0, 0, .45); isolation: isolate; text-align: left; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--rf-ink); }
.player__preview { opacity: 0; transition: opacity .8s var(--ease); }
.player.has-preview .player__preview { opacity: 1; }
.player__full { opacity: 0; pointer-events: none; z-index: 3; }
.player.is-playing .player__full { opacity: 1; pointer-events: auto; }
.player__ph {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(245, 240, 230, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 240, 230, .04) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center;
}
.player__ph .mark { position: absolute; right: -4%; top: 50%; width: 38%; transform: translateY(-50%) rotate(-8deg); --mark: #161A33; --mark-fold: #12152C; }
.player__tag { position: absolute; z-index: 2; top: 32px; right: 28px; font-family: var(--rf-font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rf-ink-muted); }
.player__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; background: var(--rf-ultramarine); color: var(--rf-cream); display: grid; place-items: center; box-shadow: 0 14px 44px rgba(11, 13, 26, .55); transition: transform .5s var(--ease), background-color .25s; }
.player__play::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(140, 155, 255, .55); animation: ring 2.6s var(--ease) infinite; }
.player__play svg { width: 32px; height: 32px; margin-left: 5px; }
.player:hover .player__play { transform: scale(1.06); background: #3448E6; }
@keyframes ring { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
.player__bar { position: absolute; z-index: 2; left: 18px; top: 18px; height: 44px; padding: 0 18px; border-radius: 999px; display: flex; align-items: center; gap: 14px; background: rgba(11, 13, 26, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(245, 240, 230, .1); }
.player.has-preview .player__tag { display: none; }
.player.has-preview .player__track { display: none; }
.player__bar b { font-weight: 600; font-size: 15px; white-space: nowrap; }
.player__track { flex: 1; height: 3px; border-radius: 3px; background: rgba(245, 240, 230, .16); overflow: hidden; }
.player__track i { display: block; height: 100%; width: 32%; background: var(--rf-ultramarine-soft); border-radius: 3px; }
.player__time { font-family: var(--rf-font-mono); font-size: 12px; letter-spacing: .08em; color: var(--rf-ink-muted); }
.player.is-playing .player__play, .player.is-playing .player__bar, .player.is-playing .player__tag { opacity: 0; pointer-events: none; }
.player__play, .player__bar, .player__tag { transition: opacity .35s, transform .5s var(--ease), background-color .25s; }
@media (max-width: 640px) {
  .player { border-radius: 16px; }
  .player__play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .player__play svg { width: 24px; height: 24px; }
  .player__bar { left: 10px; top: 10px; height: 34px; padding: 0 12px; gap: 10px; }
  .player__bar b { font-size: 13px; }
  .player__tag { top: 22px; right: 16px; font-size: 10px; }
}

/* Words rise in on load */
.w { display: inline-block; }
.js .hero .w { opacity: 0; transform: translateY(.42em); animation: rise .9s var(--ease) forwards; animation-delay: calc(120ms + var(--i, 0) * 55ms); }
.js .hero .fade-up { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ── Fit: fixed-size product mock-ups scaled to their box ─ */
.fit { position: relative; width: 100%; }
.fit > .fit__in { position: absolute; top: 0; left: 0; transform-origin: top left; transform: scale(var(--fit, 1)); }

/* ── Marquee of formats ─────────────────────────────── */
.formats { border-block: 1px solid var(--rule); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.formats__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.formats ul { display: flex; align-items: center; }
.formats li { display: flex; align-items: center; gap: 28px; padding: 24px 28px 24px 0; font-family: var(--rf-font-mono); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.formats li svg { width: 12px; height: 14px; color: var(--rf-ultramarine-soft); }
.formats:hover .formats__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Features carousel ──────────────────────────────── */
.feat__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.feat__head .h2 { max-width: 15ch; }
.feat__arrows { display: flex; gap: 10px; flex: none; }
.arrow-btn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--rule); background: var(--card); display: grid; place-items: center; color: var(--fg); transition: border-color .25s, transform .3s var(--ease), opacity .25s; }
.arrow-btn svg { width: 20px; height: 20px; }
.arrow-btn:hover:not(:disabled) { border-color: var(--rf-ultramarine-soft); transform: translateY(-1px); }
.arrow-btn:disabled { opacity: .35; cursor: default; }
.feat__rail {
  --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 56px var(--pad) 28px; scrollbar-width: none; cursor: grab;
}
.feat__rail::-webkit-scrollbar { display: none; }
.feat__rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.feat__rail.is-dragging * { pointer-events: none; user-select: none; }
.fcard {
  flex: 0 0 auto; width: min(352px, calc(100vw - 2 * var(--gutter) - 24px)); scroll-snap-align: start;
  border-radius: 22px; background: var(--card); border: 1px solid var(--rule); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .3s;
}
.fcard:hover { transform: translateY(-4px); border-color: #30355A; }
.fcard__vis { position: relative; height: 312px; border-bottom: 1px solid var(--rule); background: #0E1124; overflow: hidden; }
.fcard__vis .fit { height: 100%; }
.fcard__body { padding: 24px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.fcard__num { font-family: var(--rf-font-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.fcard__body h3 { font-family: var(--rf-font-headline); font-weight: 800; font-size: 23px; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
.fcard__body p { font-size: 15.5px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.feat__foot { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
@media (max-width: 640px) {
  .feat__arrows { display: none; }
  .feat__rail { gap: 14px; padding-top: 40px; }
  .fcard { width: calc(100vw - 2 * var(--gutter) - 40px); }
}
.feat__progress { flex: 1; height: 2px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.feat__progress i { display: block; height: 100%; width: var(--p, 10%); background: var(--rf-ultramarine-soft); border-radius: 2px; transition: width .3s var(--ease); }
.feat__count { font-family: var(--rf-font-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); min-width: 56px; text-align: right; }

/* ── How it works ───────────────────────────────────── */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); column-gap: clamp(48px, 7vw, 104px); margin-top: clamp(56px, 7vw, 88px); }
.step { grid-column: 1; min-height: 58vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-block: 40px; border-top: 1px solid var(--rule); opacity: .32; transition: opacity .5s var(--ease); }
.step:last-of-type { border-bottom: 1px solid var(--rule); }
.step.is-active { opacity: 1; }
.step .label { display: flex; align-items: center; gap: 12px; }
.step .label::after { content: ""; height: 1px; width: 0; background: currentColor; transition: width .8s var(--ease); }
.step.is-active .label::after { width: 48px; }
.step p { max-width: 46ch; font-size: 18px; color: var(--muted); }
.step--1 { grid-row: 1; } .step--2 { grid-row: 2; } .step--3 { grid-row: 3; } .step--4 { grid-row: 4; }
.scene {
  grid-column: 2; grid-row: 1 / span 4; align-self: start;
  position: sticky; top: calc(50vh - 250px + var(--hdr-h) / 2); height: 500px;
  border-radius: 28px; background: var(--rf-ink); color: var(--rf-cream); overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .6s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.scene.is-active { opacity: 1; transform: none; pointer-events: auto; }
.scene .fit { height: 100%; }
.scene__tag { position: absolute; top: 22px; left: 24px; z-index: 2; font-family: var(--rf-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--rf-ink-muted); }
@media (max-width: 960px) {
  .how { grid-template-columns: minmax(0, 1fr); }
  .step { min-height: 0; opacity: 1; padding-block: 32px 24px; }
  .step:last-of-type { border-bottom: 0; }
  .step .label::after { width: 32px; }
  .scene { grid-column: 1; position: relative; top: auto; opacity: 1; transform: none; pointer-events: auto; height: auto; aspect-ratio: 560 / 500; border-radius: 22px; }
  .scene--1 { grid-row: 2; } .step--2 { grid-row: 3; } .scene--2 { grid-row: 4; }
  .step--3 { grid-row: 5; } .scene--3 { grid-row: 6; } .step--4 { grid-row: 7; } .scene--4 { grid-row: 8; }
}

/* ── Why it is different ────────────────────────────── */
.diff { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.diff__item { border-radius: 22px; background: var(--card); border: 1px solid var(--rule); padding: 32px 30px 34px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.diff__n { font-family: var(--rf-font-mono); font-size: 13px; letter-spacing: .1em; color: var(--rf-ultramarine-soft); }
.diff__item h3 { margin-top: 56px; }
.diff__item p { color: var(--muted); font-size: 16px; }
.diff__glyph { width: 56px; height: 56px; border-radius: 16px; border: 1px solid var(--rule); display: grid; place-items: center; color: var(--rf-ultramarine-soft); }
.diff__glyph svg { width: 26px; height: 26px; }
@media (max-width: 900px) { .diff { grid-template-columns: minmax(0, 1fr); } .diff__item { min-height: 0; } .diff__item h3 { margin-top: 20px; } }

/* ── FAQ ────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--hdr-h) + 48px); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.faq__side .h2 { max-width: 9ch; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--rule); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; transition: background-color .25s, color .25s; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { background: var(--rf-ink); color: var(--rf-cream); }
.qa-list { margin-top: 24px; border-top: 1px solid var(--rule); }
.qa-list[hidden] { display: none; }
.js .qa-list.is-entering { animation: fade-in .45s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qa { border-bottom: 1px solid var(--rule); }
.qa h3 { font: inherit; }
.qa__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; text-align: left; font-weight: 600; font-size: 18px; line-height: 1.35; letter-spacing: -0.005em; }
.qa__icon { position: relative; width: 22px; height: 22px; flex: none; color: var(--muted); transition: transform .45s var(--ease), color .25s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa__q:hover .qa__icon { color: var(--fg); }
.qa.is-open .qa__icon { transform: rotate(45deg); color: var(--rf-ultramarine); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 48px 26px 0; color: var(--muted); font-size: 17px; max-width: 64ch; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq__side { position: static; } .qa__a p { padding-right: 0; } }

/* ── Closing call to action (ultramarine, like a closing slide) ─ */
.cta { overflow: hidden; }
.cta .wrap { position: relative; z-index: 1; }
.cta__mark { position: absolute; z-index: 0; right: -6vw; top: 50%; width: min(60vw, 820px); transform: translateY(-50%) rotate(-8deg); pointer-events: none; }
.cta__mark .m-body { fill: #3447E2; }
.cta__mark .m-fold { fill: #2537CA; }
.cta .h2 { font-size: clamp(48px, 8.4vw, 128px); max-width: 10ch; }
.cta .lead { margin-top: 28px; max-width: 46ch; }
.cta__ctas { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta__note { font-family: var(--rf-font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ── Footer ─────────────────────────────────────────── */
.ftr { padding-block: 72px 40px; }
.ftr__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.ftr__brand p { margin-top: 16px; max-width: 34ch; color: var(--muted); font-size: 15px; }
.ftr__cols { display: flex; gap: clamp(40px, 8vw, 96px); flex-wrap: wrap; }
.ftr__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.ftr__col .label { color: var(--muted); margin-bottom: 4px; font-size: 12px; }
.ftr__col a { color: var(--fg); opacity: .86; transition: opacity .2s; }
.ftr__col a:hover { opacity: 1; }
.ftr__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--rf-font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ── Toast (booking link not live yet) ──────────────── */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px; background: var(--rf-cream); color: var(--rf-ink); font-weight: 600; font-size: 15px; box-shadow: 0 12px 40px rgba(11, 13, 26, .35); transition: opacity .3s, transform .45s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--rf-ultramarine); flex: none; }

/* ── Scroll reveal ──────────────────────────────────── */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ── Legal pages ────────────────────────────────────── */
.legal-hero { padding-top: calc(var(--hdr-h) + clamp(56px, 8vw, 104px)); padding-bottom: clamp(48px, 6vw, 72px); }
.legal-hero .h2 { margin-top: 18px; }
.legal-hero p { margin-top: 18px; }
.legal { padding-block: clamp(56px, 7vw, 96px) clamp(80px, 10vw, 128px); }
.legal__in { max-width: 760px; }
.legal h2 { font-family: var(--rf-font-headline); font-weight: 800; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; letter-spacing: -0.025em; margin-top: 56px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 17.5px; line-height: 1.65; color: #2A2C3D; }
.legal p { margin-top: 16px; }
.legal ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.legal li { padding-left: 22px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--rf-ultramarine); }
.legal a { color: var(--rf-ultramarine); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--rf-ink); }
.fill { font-family: var(--rf-font-mono); font-size: .86em; color: var(--rf-ultramarine); border-bottom: 1px dashed currentColor; white-space: nowrap; }

/* ── 404 ────────────────────────────────────────────── */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; }
.nf .mark { width: 72px; margin: 0 auto 32px; }
.nf p { margin: 20px auto 36px; max-width: 40ch; }

/* ═══════════════════════════════════════════════════════
   Product mock-ups: the real dashboard's components, drawn at fixed sizes and scaled by .fit.
   Colours and type follow the dashboard (warm neutral darks, Outfit). Its gold accent is shown
   in ReelFold ultramarine. Post images live in /media (made by the real renderer).
   ═══════════════════════════════════════════════════════ */
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
.d {
  --d-canvas: #0C0B0A; --d-surface: #141211; --d-surface2: #1C1A18; --d-surface3: #252220;
  --d-border: rgba(255, 238, 220, .1); --d-border2: rgba(255, 238, 220, .2);
  --d-fg: #F6F5F4; --d-fg2: #B2ADA9; --d-fg3: #8B847E;
  --d-acc: #2B3FD9; --d-acc-hot: #3D50E8; --d-acc-text: #8C9BFF;
  --d-ok: #41AA67; --d-bad: #E25C50;
  --f-broll: #3FD0B6; --f-talk: #A890FA; --f-carousel: #F28CC6; --f-tweet: #7CB7FF; --f-photo: #B5DC6E;
  font-family: 'Outfit', 'Inter Tight', system-ui, sans-serif; color: var(--d-fg); font-size: 12.5px; line-height: 1.35; text-align: left;
  background: var(--d-canvas);
}
.d .ico { width: 14px; height: 14px; flex: none; }
.d img { display: block; width: 100%; height: 100%; object-fit: cover; }
.d-chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 10.5px; font-weight: 500; white-space: nowrap; color: var(--d-fg2); background: var(--d-surface3); border: 1px solid var(--d-border); }
.d-chip[style*="--f"] { color: var(--f); background: color-mix(in srgb, var(--f) 14%, transparent); border-color: color-mix(in srgb, var(--f) 32%, transparent); }
.d-chip--acc { color: var(--d-acc-text); background: rgba(140, 155, 255, .12); border-color: rgba(140, 155, 255, .3); }
.d-chip--ok { color: var(--d-ok); background: rgba(65, 170, 103, .12); border-color: rgba(65, 170, 103, .32); }
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 10px; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--d-fg); background: var(--d-surface3); border: 1px solid var(--d-border); }
.d-btn--acc { background: var(--d-acc); border-color: var(--d-acc); color: #F6F5F4; }
.d-btn--cream { background: var(--d-fg); border-color: var(--d-fg); color: #0C0B0A; border-radius: 999px; }
.d-btn kbd { font-family: var(--rf-font-mono); font-size: 9.5px; padding: 0 5px; border-radius: 4px; background: rgba(255, 255, 255, .16); }
.d-label { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--d-fg3); }
.d-mono { font-family: var(--rf-font-mono); font-size: 10.5px; color: var(--d-fg2); }
.d-card { background: var(--d-surface); border: 1px solid var(--d-border); border-radius: 14px; }
.d-bar { height: 5px; border-radius: 5px; background: var(--d-surface3); overflow: hidden; }
.d-bar i { display: block; height: 100%; width: var(--w, 60%); border-radius: 5px; background: var(--d-acc-text); }
.d-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--d-surface2); border: 1px solid var(--d-border); }
.d-seg span { height: 24px; padding: 0 10px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; color: var(--d-fg3); white-space: nowrap; }
.d-seg span.is-on { background: var(--d-surface3); color: var(--d-fg); box-shadow: inset 0 0 0 1px var(--d-border2); }
.d-x { font-family: var(--rf-font-mono); font-weight: 600; font-size: 11px; color: var(--d-acc-text); white-space: nowrap; }
.yn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--d-border); background: var(--d-surface2); display: grid; place-items: center; color: var(--d-fg2); flex: none; }
.yn .ico { width: 13px; height: 13px; }
.spinner { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--d-surface3); border-top-color: var(--d-acc-text); animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.ph { position: relative; overflow: hidden; background: var(--d-surface2); border-radius: 10px; box-shadow: 0 0 0 1px var(--d-border); }
.ph--reel { aspect-ratio: 9 / 16; }
.ph--feed { aspect-ratio: 4 / 5; }
.ph > img, .ph > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph .d-chip { position: absolute; z-index: 2; top: 7px; left: 7px; background: rgba(12, 11, 10, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
[data-orb] { display: block; aspect-ratio: 1; }
@keyframes pop-in { 0% { opacity: 0; transform: translateY(8px) scale(.95); } 6%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

/* Feature vignettes share a 352 x 312 canvas */
.v { width: 352px; height: 312px; position: relative; padding: 22px; }

/* 01 Talking head: the reel beside the steps the video goes through */
.v-th { display: grid; grid-template-columns: 122px 1fr; gap: 16px; align-items: center; }
.v-th .ph { border-radius: 12px; }
.prog { display: flex; flex-direction: column; gap: 9px; }
.prog__head { display: flex; align-items: center; justify-content: space-between; }
.prog__head b { font-size: 13px; }
.prog .d-bar i { animation: prog 9s var(--ease-in-out) infinite both; }
@keyframes prog { 0% { width: 6%; } 85%, 100% { width: 100%; } }
.steps-list { display: flex; flex-direction: column; gap: 7px; }
.steps-list li { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--d-fg); white-space: nowrap; animation: step-on 9s infinite both; animation-delay: calc(var(--k) * .95s); }
.steps-list .dot { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--d-acc); background: var(--d-acc); flex: none; color: #F6F5F4; animation: dot-on 9s infinite both; animation-delay: calc(var(--k) * .95s); }
.steps-list .dot .ico { width: 10px; height: 10px; animation: ico-on 9s infinite both; animation-delay: calc(var(--k) * .95s); }
@keyframes step-on { 0%, 3% { color: var(--d-fg3); } 6%, 90% { color: var(--d-fg); } 97%, 100% { color: var(--d-fg3); } }
@keyframes dot-on { 0%, 3% { background: var(--d-surface2); border-color: var(--d-border2); } 6%, 90% { background: var(--d-acc); border-color: var(--d-acc); } 97%, 100% { background: var(--d-surface2); border-color: var(--d-border2); } }
@keyframes ico-on { 0%, 3% { opacity: 0; transform: scale(.5); } 6%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }

/* 02 Make it: pick the angle, then the versions arrive */
.v-make { display: flex; flex-direction: column; gap: 10px; }
.src { display: flex; gap: 11px; align-items: center; padding: 9px; border-radius: 14px; background: var(--d-surface); border: 1px solid var(--d-border); }
.src .ph { width: 42px; flex: none; border-radius: 7px; }
.src__meta { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.src__meta b { font-size: 12.5px; font-weight: 600; }
.src__row { display: flex; gap: 6px; align-items: center; }
.sheet { position: relative; flex: 1; border-radius: 14px; background: var(--d-surface); border: 1px solid var(--d-border); overflow: hidden; }
.sheet__a, .sheet__b { position: absolute; inset: 0; padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.sheet__a { animation: sheet-a 10s infinite both; }
.sheet__b { animation: sheet-b 10s infinite both; }
@keyframes sheet-a { 0%, 54% { opacity: 1; transform: none; } 58%, 96% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; } }
@keyframes sheet-b { 0%, 56% { opacity: 0; transform: translateY(10px); } 60%, 94% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
.angles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.angle { padding: 8px 9px; border-radius: 11px; border: 1px solid var(--d-border); background: var(--d-surface2); display: flex; flex-direction: column; gap: 2px; }
.angle b { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.angle small { color: var(--d-fg3); font-size: 10.5px; white-space: nowrap; }
.angle .ico { width: 13px; height: 13px; color: var(--d-fg2); }
.angle:nth-child(1) { animation: angle-a 10s infinite both; }
.angle:nth-child(2) { animation: angle-b 10s infinite both; }
@keyframes angle-a { 0%, 22% { border-color: var(--d-acc-text); box-shadow: inset 0 0 0 1px var(--d-acc-text); } 25%, 100% { border-color: var(--d-border); box-shadow: none; } }
@keyframes angle-b { 0%, 22% { border-color: var(--d-border); box-shadow: none; } 25%, 100% { border-color: var(--d-acc-text); box-shadow: inset 0 0 0 1px var(--d-acc-text); } }
.sheet__row { display: flex; align-items: center; justify-content: space-between; }
.stepper { display: flex; align-items: center; gap: 9px; font-family: var(--rf-font-mono); font-size: 11.5px; }
.stepper span { width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--d-border); display: grid; place-items: center; color: var(--d-fg2); font-family: 'Outfit', sans-serif; }
.sheet .d-btn--acc { animation: press 10s infinite both; }
@keyframes press { 0%, 48% { transform: none; } 50% { transform: scale(.95); } 53%, 100% { transform: none; } }
.versions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.versions .ph { animation: pop-in 10s infinite both; animation-delay: calc(6.1s + var(--k) * .25s); }

/* 03 Champ: the real panel, listening */
.v-champ { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.cp-head { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; border-bottom: 1px solid var(--d-border); }
.cp-head .avatar { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #F6F5F4 0 1.2px, transparent 1.4px) 0 0 / 4px 4px, #1D1F3A; box-shadow: 0 0 0 1px rgba(140, 155, 255, .4); flex: none; }
.cp-head b { display: block; font-size: 13px; }
.cp-status { position: relative; display: block; height: 14px; font-size: 11px; color: var(--d-acc-text); }
.cp-status span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; }
.cp-status span:nth-child(1) { animation: say-1 8.5s infinite both; }
.cp-status span:nth-child(2) { animation: say-2 8.5s infinite both; }
.cp-status span:nth-child(3) { animation: say-3 8.5s infinite both; }
@keyframes say-1 { 0%, 45% { opacity: 1; } 47%, 100% { opacity: 0; } }
@keyframes say-2 { 0%, 46% { opacity: 0; } 48%, 63% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes say-3 { 0%, 64% { opacity: 0; } 66%, 98% { opacity: 1; } 100% { opacity: 0; } }
.cp-head .d-chip { margin-left: auto; }
.cp-listen { flex: 1; display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(140, 155, 255, .45); background: var(--d-surface); }
.cp-listen [data-orb] { width: 112px; }
.cp-heard { font-size: 13px; font-weight: 500; line-height: 1.35; }
.cp-heard .w2 { color: var(--d-fg3); }
.cp-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.cp-actions .ghost { font-size: 11.5px; color: var(--d-fg3); }
.cp-foot { font-size: 10.5px; color: var(--d-fg3); }

/* 04 B-roll batch */
.v-broll { display: flex; flex-direction: column; gap: 12px; }
.batch { display: flex; flex-direction: column; gap: 8px; padding: 11px; border-radius: 14px; background: var(--d-surface); border: 1px solid var(--d-border); }
.batch__head { display: flex; align-items: center; justify-content: space-between; }
.batch__head b { font-size: 13px; }
.batch__in { display: flex; align-items: center; gap: 8px; }
.batch__field { flex: 1; height: 30px; padding: 0 10px; border-radius: 9px; background: var(--d-surface2); border: 1px solid var(--d-border); display: flex; align-items: center; font-size: 12px; white-space: nowrap; overflow: hidden; }
.batch__field i { width: 1.5px; height: 14px; margin-left: 2px; background: var(--d-acc-text); animation: blink-caret 1s steps(1) infinite; }
@keyframes blink-caret { 50% { opacity: 0; } }
.reels3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.reels3 > div { animation: pop-in 9s infinite both; animation-delay: calc(var(--k) * .35s + .5s); }
.shot-note { margin-top: 6px; display: flex; gap: 5px; align-items: center; font-size: 10px; color: var(--d-fg2); white-space: nowrap; overflow: hidden; }
.shot-note .ico { width: 11px; height: 11px; color: var(--d-acc-text); }

/* 05 Carousels in the Designer */
.v-deck { display: grid; place-items: center; }
.tbar { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 9px; border-radius: 11px; background: var(--d-surface); border: 1px solid var(--d-border); white-space: nowrap; }
.tbar__font { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 7px; background: var(--d-surface2); font-size: 11px; }
.tbar__font b { font-family: var(--rf-font-headline); font-weight: 800; }
.tbar__n { height: 24px; padding: 0 7px; border-radius: 7px; background: var(--d-surface2); display: grid; place-items: center; font-family: var(--rf-font-mono); font-size: 10.5px; }
.tbar .sw { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px var(--d-border2); }
.tbar__b { font-weight: 800; font-size: 12px; width: 20px; text-align: center; }
.deck { position: relative; width: 148px; height: 185px; margin-top: 30px; }
.deck .ph { position: absolute; inset: 0; border-radius: 9px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 1px var(--d-border); transition: transform .9s var(--ease); }
.deck .ph:nth-child(1) { transform: rotate(-3deg); }
.deck .ph:nth-child(2) { transform: rotate(3deg); }
.deck .ph:nth-child(3) { transform: translateY(6px); }
.is-in .deck .ph:nth-child(1) { transform: translateX(-86px) translateY(14px) rotate(-9deg); }
.is-in .deck .ph:nth-child(2) { transform: translateX(86px) translateY(14px) rotate(9deg); }
.fcard:hover .deck .ph:nth-child(1) { transform: translateX(-98px) translateY(18px) rotate(-12deg); }
.fcard:hover .deck .ph:nth-child(2) { transform: translateX(98px) translateY(18px) rotate(12deg); }
.fcard:hover .deck .ph:nth-child(3) { transform: scale(1.03); }

/* 06 Why it worked: the analysis screen */
.v-why { display: grid; grid-template-columns: 98px 1fr; gap: 12px; padding: 18px; }
.why-l { display: flex; flex-direction: column; gap: 8px; }
.why-l .d-btn { width: 100%; height: 28px; }
.why-r { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.why-r__top { display: flex; align-items: center; gap: 6px; }
.why-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--d-surface2); border: 1px solid var(--d-border); }
.why-tabs span { flex: 1; height: 22px; display: grid; place-items: center; border-radius: 6px; font-size: 10.5px; color: var(--d-fg3); }
.why-tabs span.is-on { background: var(--d-surface3); color: var(--d-fg); }
.lines { position: relative; padding: 4px 8px; border-radius: 11px; background: var(--d-surface); border: 1px solid var(--d-border); }
.lines li { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; height: 27px; font-size: 11px; color: var(--d-fg2); }
.lines li span:first-child { font-family: var(--rf-font-mono); font-size: 9.5px; color: var(--d-fg3); flex: none; }
.lines li span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lines__hi { position: absolute; z-index: 0; left: 3px; right: 3px; top: 4px; height: 27px; border-radius: 7px; background: rgba(140, 155, 255, .13); animation: line-walk 8s var(--ease-in-out) infinite; }
@keyframes line-walk { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(27px); } 50%, 70% { transform: translateY(54px); } 75%, 95% { transform: translateY(81px); } 100% { transform: translateY(0); } }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.why-stat { padding: 7px 9px; border-radius: 10px; background: var(--d-surface); border: 1px solid var(--d-border); }
.why-stat b { display: block; font-size: 16px; font-weight: 700; margin-top: 1px; }
.why-stat b.acc { color: var(--d-acc-text); }
.why-stat b.ok { color: var(--d-ok); }
.why-stat small { color: var(--d-fg3); font-size: 9.5px; }
.hook-bars { display: flex; gap: 2px; margin-top: 4px; }
.hook-bars i { flex: 1; height: 4px; border-radius: 2px; background: var(--d-ok); }
.hook-bars i:last-child { opacity: .25; }

/* 07 Voice: Settings, Voice */
.v-voice { display: flex; flex-direction: column; gap: 9px; }
.v-voice .d-card { padding: 11px 13px; display: flex; flex-direction: column; gap: 7px; }
.meter-row { display: flex; justify-content: space-between; align-items: baseline; }
.meter-row b { font-size: 13px; }
.v-voice .d-bar i { animation: fill-voice 9s var(--ease) infinite both; }
@keyframes fill-voice { 0% { width: 44%; } 30%, 100% { width: 84%; } }
.learned { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 10px; }
.learned li { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--d-fg2); white-space: nowrap; }
.learned li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--d-acc-text); flex: none; }
.edit p { font-size: 12.5px; }
.strike { position: relative; color: var(--d-fg3); }
.strike::after { content: ""; position: absolute; left: 0; top: 54%; height: 1.5px; width: 100%; background: var(--d-bad); animation: strike 9s infinite both; }
@keyframes strike { 0%, 18% { width: 0; } 28%, 92% { width: 100%; } 100% { width: 0; } }
.ins { color: var(--d-acc-text); font-weight: 600; animation: ins 9s infinite both; }
@keyframes ins { 0%, 30% { opacity: 0; } 38%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* 08 Review wall, every post as Instagram will show it */
.v-review { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; }
.rv-top { display: flex; align-items: center; justify-content: space-between; }
.rv-top b { font-size: 13px; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.phone { display: flex; flex-direction: column; gap: 7px; align-items: center; }
.phone .ph { width: 100%; animation: focus-ring 9s infinite both; animation-delay: calc((var(--k) - 1) * 2.6s); }
.ig { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ig__side { position: absolute; right: 5px; bottom: 30px; display: flex; flex-direction: column; gap: 7px; }
.ig__side i { width: 9px; height: 9px; border-radius: 3px; border: 1.4px solid rgba(246, 245, 244, .9); }
.ig__side i:first-child { border-radius: 50% 50% 45% 45%; }
.ig__who { position: absolute; left: 6px; bottom: 9px; right: 18px; display: flex; align-items: center; gap: 4px; font-size: 8px; font-weight: 600; color: #F6F5F4; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); white-space: nowrap; }
.ig__who i { width: 10px; height: 10px; border-radius: 50%; background: var(--d-acc); flex: none; }
.ig__who em { font-style: normal; font-weight: 500; padding: 0 4px; border: 1px solid rgba(246, 245, 244, .7); border-radius: 4px; font-size: 7px; }
.phone__yn { display: flex; gap: 5px; }
.phone__yn .yn { width: 26px; height: 26px; }
.phone:nth-child(1) .yn--y { animation: yes-a 9s infinite both; }
.phone:nth-child(2) .yn--n { animation: no-b 9s infinite both; }
.phone:nth-child(3) .yn--y { animation: yes-c 9s infinite both; }
@keyframes focus-ring { 0%, 2% { box-shadow: 0 0 0 1px var(--d-border); } 4%, 26% { box-shadow: 0 0 0 2px var(--d-acc-text); } 29%, 100% { box-shadow: 0 0 0 1px var(--d-border); } }
@keyframes yes-a { 0%, 26% { background: var(--d-surface2); color: var(--d-fg2); border-color: var(--d-border); } 29%, 95% { background: var(--d-acc); color: #F6F5F4; border-color: var(--d-acc); } 100% { background: var(--d-surface2); color: var(--d-fg2); border-color: var(--d-border); } }
@keyframes no-b { 0%, 55% { background: var(--d-surface2); color: var(--d-fg2); } 58%, 95% { background: var(--d-bad); color: #F6F5F4; } 100% { background: var(--d-surface2); color: var(--d-fg2); } }
@keyframes yes-c { 0%, 84% { background: var(--d-surface2); color: var(--d-fg2); border-color: var(--d-border); } 87%, 95% { background: var(--d-acc); color: #F6F5F4; border-color: var(--d-acc); } 100% { background: var(--d-surface2); color: var(--d-fg2); border-color: var(--d-border); } }
.keys { display: flex; justify-content: center; gap: 12px; font-size: 10.5px; color: var(--d-fg3); }
.keys kbd { font-family: var(--rf-font-mono); font-size: 9.5px; border: 1px solid var(--d-border2); background: var(--d-surface2); border-radius: 5px; padding: 1px 5px; margin-right: 4px; color: var(--d-fg); }

/* 09 Calendar, the month with every post as its cover */
.v-cal { display: flex; flex-direction: column; gap: 9px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-head b { font-size: 17px; font-weight: 700; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal > span { position: relative; height: 34px; border-radius: 6px; background: var(--d-surface); border: 1px solid var(--d-border); overflow: hidden; font-family: var(--rf-font-mono); font-size: 8.5px; color: var(--d-fg3); padding: 2px 4px; }
.cal > span.wd { height: auto; background: none; border: 0; text-align: center; padding: 0; font-family: 'Outfit', sans-serif; font-size: 9.5px; }
.cal > span img { position: absolute; inset: 0; z-index: 0; opacity: .92; }
.cal > span em { position: relative; z-index: 1; font-style: normal; color: #F6F5F4; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.cal > span.n img { animation: cal-in 9s infinite both; animation-delay: calc(var(--k) * .22s + .8s); }
.cal > span.today { box-shadow: inset 0 0 0 1.5px var(--d-acc-text); }
@keyframes cal-in { 0% { opacity: 0; transform: translateY(6px); } 5%, 88% { opacity: .92; transform: none; } 95%, 100% { opacity: 0; } }
.v-cal .d-btn--acc { align-self: flex-start; animation: press 9s infinite both; }

/* 10 Stats */
.v-stats { display: flex; flex-direction: column; gap: 9px; }
.chart { padding: 11px 12px 7px; }
.chart__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.chart__top b { font-size: 13px; }
.chart svg { width: 100%; height: 92px; }
.chart .line { fill: none; stroke: var(--d-acc-text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 0; animation: draw 9s var(--ease) infinite both; }
.chart .grid line { stroke: var(--d-border); stroke-width: 1; }
@keyframes draw { 0% { stroke-dashoffset: 600; } 40%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.reads { display: flex; gap: 5px; }
.reads .d-chip { animation: read-on 9s infinite both; }
.reads .d-chip:nth-child(2) { animation-delay: .9s; } .reads .d-chip:nth-child(3) { animation-delay: 1.8s; } .reads .d-chip:nth-child(4) { animation-delay: 2.7s; }
@keyframes read-on { 0%, 6% { color: var(--d-fg2); background: var(--d-surface3); border-color: var(--d-border); } 10%, 88% { color: var(--d-acc-text); background: rgba(140, 155, 255, .12); border-color: rgba(140, 155, 255, .3); } 96%, 100% { color: var(--d-fg2); background: var(--d-surface3); border-color: var(--d-border); } }
.outlier-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
.outlier-row .ph { width: 30px; border-radius: 5px; flex: none; }
.outlier-row b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.outlier-row small { font-size: 10.5px; color: var(--d-acc-text); }
.outlier-row > div { min-width: 0; flex: 1; }

/* How it works scenes, 560 x 500 */
.sc { width: 560px; height: 500px; position: relative; padding: 58px 28px 28px; display: flex; flex-direction: column; }
.book { margin: auto; width: 380px; padding: 22px; border-radius: 20px; background: var(--d-surface); border: 1px solid var(--d-border); display: flex; flex-direction: column; gap: 15px; }
.book__who { display: flex; align-items: center; gap: 12px; }
.book__who .mark { width: 24px; }
.book__who b { display: block; font-size: 17px; font-weight: 700; }
.book__who small { color: var(--d-fg3); font-size: 12px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.days span { height: 56px; border-radius: 12px; border: 1px solid var(--d-border); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; color: var(--d-fg3); }
.days span b { font-size: 17px; color: var(--d-fg); }
.days span.is-on { background: var(--d-fg); border-color: var(--d-fg); color: #0C0B0A; }
.days span.is-on b { color: #0C0B0A; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slots span { height: 34px; border-radius: 10px; border: 1px solid var(--d-border); display: grid; place-items: center; font-family: var(--rf-font-mono); font-size: 11px; color: var(--d-fg2); }
.slots span.is-on { border-color: var(--d-acc-text); color: var(--d-fg); box-shadow: inset 0 0 0 1px var(--d-acc-text); animation: slot-pulse 3s var(--ease-in-out) infinite; }
@keyframes slot-pulse { 50% { background: rgba(140, 155, 255, .12); } }
.book .d-btn { height: 40px; font-size: 13px; }

/* Scene 2: the Inspiration wall */
.wallbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.wallbar__search { flex: 1; height: 30px; padding: 0 10px; border-radius: 9px; background: var(--d-surface); border: 1px solid var(--d-border); display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--d-fg3); white-space: nowrap; overflow: hidden; }
.wall-view { position: relative; height: 372px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 92%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 92%, transparent); }
.wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; padding-bottom: 9px; animation: wall-up 48s linear infinite; }
@keyframes wall-up { to { transform: translateY(-50%); } }
.tile { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.tile .ph { border-radius: 8px; animation: scan 10s infinite both; animation-delay: calc(var(--k) * 1s); }
.tile .out { position: absolute; z-index: 2; top: 5px; right: 5px; height: 17px; padding: 0 6px; border-radius: 999px; display: flex; align-items: center; gap: 3px; background: rgba(12, 11, 10, .74); font-size: 8.5px; font-weight: 600; color: #F6F5F4; }
.tile__stats { display: flex; align-items: center; gap: 5px; font-size: 9px; color: var(--d-fg3); white-space: nowrap; overflow: hidden; }
.tile__stats .d-x { font-size: 9.5px; }



.tile .d-chip { height: 16px; padding: 0 6px; font-size: 8.5px; align-self: flex-start; }
@keyframes scan { 0%, 1% { box-shadow: 0 0 0 1px var(--d-border); } 3%, 9% { box-shadow: 0 0 0 2px var(--d-acc-text); } 12%, 100% { box-shadow: 0 0 0 1px var(--d-border); } }
.callout { position: absolute; right: 22px; bottom: 22px; width: 236px; padding: 13px 15px; border-radius: 16px; background: var(--rf-cream); color: var(--rf-ink); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 7px; font-family: var(--rf-font-body); font-size: 12px; z-index: 4; }
.callout .d-label { color: var(--rf-ultramarine); font-family: var(--rf-font-mono); letter-spacing: .1em; }
.callout li { display: flex; gap: 8px; line-height: 1.35; }
.callout li::before { content: ""; width: 5px; height: 5px; margin-top: 6px; border-radius: 50%; background: var(--rf-ultramarine); flex: none; }

/* Scene 3: setting it up */
.setup { margin: auto 0; display: flex; flex-direction: column; gap: 8px; }
.setup li { display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 16px; border-radius: 14px; background: var(--d-surface); border: 1px solid var(--d-border); animation: setup-on 10s infinite both; animation-delay: calc(var(--k) * .7s); }
@keyframes setup-on { 0%, 3% { opacity: .35; } 7%, 92% { opacity: 1; } 98%, 100% { opacity: .35; } }
.setup li > b { font-size: 14px; width: 140px; flex: none; }
.setup__val { display: flex; align-items: center; gap: 8px; flex: 1; color: var(--d-fg2); font-size: 12px; min-width: 0; white-space: nowrap; }
.setup .sw { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px var(--d-border2); }
.setup .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-left: auto; flex: none; background: var(--d-acc); color: #F6F5F4; animation: dot-pop 10s infinite both; animation-delay: calc(var(--k) * .7s + .3s); }
.setup .dot .ico { width: 13px; height: 13px; }
@keyframes dot-pop { 0%, 3% { opacity: 0; transform: scale(.6); } 7%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
.avs { display: flex; }
.avs i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--d-surface); margin-left: -6px; background: var(--c); }
.avs i:first-child { margin-left: 0; }

/* Scene 4: the Making screen */
.sc-making .tag { position: absolute; top: 20px; right: 24px; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--d-surface); border: 1px solid var(--d-border); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--d-fg2); }
.sc-making .tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--d-acc-text); animation: blink-caret 1.4s steps(1) infinite; }
.mk-top { display: flex; align-items: center; gap: 20px; margin: 4px 0 18px; }
.mk-orb { position: relative; width: 136px; flex: none; }
.mk-orb [data-orb] { width: 136px; }
.mk-orb svg.ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); transform: rotate(-90deg); }
.mk-orb .ring circle { fill: none; stroke-width: 2; }
.mk-orb .ring .bg { stroke: var(--d-border); }
.mk-orb .ring .fg { stroke: var(--d-acc-text); stroke-linecap: round; stroke-dasharray: 389; stroke-dashoffset: 389; animation: ring-fill 10s var(--ease-in-out) infinite both; }
@keyframes ring-fill { 0% { stroke-dashoffset: 389; } 85%, 100% { stroke-dashoffset: 40; } }
.mk-copy .d-label { color: var(--d-acc-text); }
.mk-copy .big { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.mk-copy .big b { font-size: 60px; line-height: .9; font-weight: 700; letter-spacing: -0.03em; }
.mk-copy .big span { font-size: 16px; color: var(--d-fg2); }
.mk-copy small { display: block; margin-top: 8px; color: var(--d-fg3); font-size: 12px; }
.mk-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.mk-card { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mk-card .ph { border-radius: 9px; }
.mk-card .ph::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12, 11, 10, .62); transform-origin: top; transform: scaleY(0); animation: render 10s var(--ease-in-out) infinite both; animation-delay: calc(var(--k) * .45s); }
@keyframes render { 0% { transform: scaleY(1); } 55%, 92% { transform: scaleY(0); } 100% { transform: scaleY(1); } }
.mk-card .pct { position: absolute; z-index: 2; left: 6px; bottom: 5px; font-weight: 700; font-size: 15px; color: #F6F5F4; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.mk-card .d-bar { height: 3px; }
.mk-card .d-bar i { animation: render-bar 10s var(--ease-in-out) infinite both; animation-delay: calc(var(--k) * .45s); }
@keyframes render-bar { 0% { width: 4%; } 55%, 92% { width: 100%; } 100% { width: 4%; } }
.mk-card small { font-size: 9px; color: var(--d-fg3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-foot { margin-top: auto; align-self: center; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--d-surface); border: 1px solid var(--d-border); font-size: 12px; color: var(--d-fg2); }
.mk-foot .ico { width: 13px; height: 13px; }

/* Animations pause while off screen, and stop for people who ask for less motion */
.is-paused, .is-paused * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .hero .w, .js .hero .fade-up, .js .rv { opacity: 1; transform: none; }
  .sheet__b { display: none; }
  .cp-status span:first-child { opacity: 1; }
  .player__play::before { display: none; }
}
.ph--contain > img { object-fit: contain; background: #0B0D1A; }
