/* ReelSnap 竖刻: page CSS for the home page (index.html), on top of the kit (system.css, cards.css,
   motion.css, layout.css). Only what sits inside a visual, the app windows drawn from the real
   ReelSnap UI (StudioWorkspaceView, StudioTimelineView, RecorderHUDView, ExportSheetView) and the
   Chinese face fallbacks. Colours inside the windows are the app's own (sRGB values from the Swift code). */

/* CJK & international faces fall back cleanly after the Latin display/text faces */
:root {
  --cjk: -apple-system, BlinkMacSystemFont, "PingFang SC", "PingFang TC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", "Noto Sans SC", "Noto Sans TC", "Noto Sans JP", "Noto Sans KR", sans-serif;
  --font-display: "Funnel Display", var(--cjk);
  --font-text: "Funnel Sans", var(--cjk);
  /* the app's own colours */
  --rs-coral: #ff4d6b;
  --rs-coral-2: #fa4f6b;
  --rs-coral-deep: #d6335a;
  --rs-cyan: #5cd9ff;
  --rs-win: #1b1c22;
  --rs-win-2: #16171d;
  --rs-inspector: #1a1c26;
  --rs-line: rgb(255 255 255 / .08);
  --rs-line-2: rgb(255 255 255 / .14);
  --rs-text: #eceef3;
  --rs-text-2: #b7bac4;
  --rs-muted: #8b8e99;
}
html:lang(zh) h1, html:lang(zh) h2, html:lang(ja) h1, html:lang(ja) h2, html:lang(ko) h1, html:lang(ko) h2 { letter-spacing: -0.01em; }
.nowrap { white-space: nowrap; }
.only-phone { display: none; }
@media (max-width: 639px) { .only-wide { display: none; } .only-phone { display: inline; } }
@media (max-width: 639px) { .nowrap { white-space: normal; } }
html:lang(zh) h1, html:lang(ja) h1, html:lang(ko) h1 { line-height: 1.16; }
html:lang(zh) h2, html:lang(ja) h2, html:lang(ko) h2 { line-height: 1.22; }

/* the logo: the app icon beside the name */
.nav__logo img { width: 28px; height: 28px; border-radius: 7px; }
.nav__logo .nav__sub { font: 400 15px/1 var(--font-text); color: var(--muted); margin-left: 2px; }
@media (max-width: 639px) { .nav__logo .nav__sub { display: none; } .nav__logo img { width: 24px; height: 24px; } }

/* the language switcher: compact accessible select supporting all 10 languages */
.lang { position: relative; display: inline-flex; align-items: center; }
.lang__select {
  appearance: none; -webkit-appearance: none;
  height: 44px; min-width: 96px; padding: 0 28px 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: transparent; color: var(--ink); cursor: pointer;
  font: 500 14px/1 var(--font-text);
  transition: border-color .15s ease, color .15s ease;
}
.lang__select:hover, .lang__select:focus-visible { border-color: var(--ink); }
.lang__select option { background: #16171e; color: #eceef3; }
.lang__chev {
  position: absolute; right: 9px; pointer-events: none; color: var(--muted);
  display: inline-flex; align-items: center;
}
@media (max-width: 639px) { .lang__select { min-width: 82px; padding: 0 24px 0 8px; font-size: 13px; } }
@media (max-width: 1023px) {
  .nav.is-open .lang, .nav.is-open .lang__select { width: 100%; height: 48px; font-size: var(--t-body); }
}

/* hero: the lit ground behind the Studio window, the app's sunset background (落日橘光) as one soft light */
.hero__art {
  background:
    radial-gradient(90% 70% at 92% 0%, #ffb08a 0%, rgb(255 176 138 / 0) 62%),
    radial-gradient(80% 70% at 0% 100%, #b8264f 0%, rgb(184 38 79 / 0) 70%),
    linear-gradient(160deg, #f7755c 0%, #db4778 58%, #7a1f3d 100%);
}
/* the card floats over the sidebar's empty foot, clear of the timeline */
.hero__art > .ly-piece--note { left: var(--s-6); bottom: 168px; width: 300px; z-index: 2; }
.hero__proof { font-size: var(--t-small); color: var(--muted); margin-top: var(--s-5); max-width: 44ch; }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }

/* ============ the Studio window (StudioWorkspaceView): sidebar, stage, timeline ============ */
.rs-win {
  --fx-bg: var(--rs-win); --fx-surface: #22232b; --fx-ink: var(--rs-text); --fx-muted: var(--rs-muted); --fx-accent: var(--rs-coral);
  background: var(--rs-win-2); color: var(--rs-text); border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 40px 80px -30px rgb(40 0 10 / .75), 0 12px 24px -12px rgb(0 0 0 / .5);
  font: 400 12px/1.35 var(--font-text); text-align: left;
}
.rs-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: #202128; border-bottom: 1px solid #0b0b0e; color: var(--rs-muted); font-weight: 500; }
.rs-lights { display: flex; gap: 7px; }
.rs-lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.rs-lights i:nth-child(2) { background: #febc2e; } .rs-lights i:nth-child(3) { background: #28c840; }
.rs-body { display: grid; grid-template-columns: 172px minmax(0, 1fr); }
.rs-side { background: #1c1d23; border-right: 1px solid #0b0b0e; padding: 12px 10px; display: grid; align-content: start; gap: 4px; }
.rs-new { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 10px; border-radius: 8px; background: rgb(255 255 255 / .08); font-weight: 500; line-height: 1.2; color: #fff; margin-bottom: 10px; }
.rs-new .rec { width: 12px; height: 12px; border-radius: 50%; background: var(--rs-coral); box-shadow: inset 0 0 0 3px #ffd2da40; }
.rs-new kbd { margin-left: auto; font: 500 11px/1 var(--font-mono); color: var(--rs-muted); }
.rs-side__label { font-size: 11px; color: var(--rs-muted); padding: 0 6px 4px; }
.rs-proj { display: grid; gap: 3px; padding: 7px 8px; border-radius: 7px; }
.rs-proj.is-on { background: rgb(255 255 255 / .09); }
.rs-proj b { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-weight: 500; color: #fff; white-space: nowrap; overflow: hidden; }
.rs-proj b > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.rs-proj small { font: 400 11px/1.2 var(--font-mono); color: var(--rs-muted); }
.rs-badge { flex: none; font: 500 11px/1 var(--font-mono); padding: 3px 6px; border-radius: 99px; background: rgb(255 77 107 / .2); color: #ff8fa2; }

.rs-main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; padding-right: var(--ly-cut-room, 0px); }
.rs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 8px; }
.rs-head b { display: block; font-size: 14px; font-weight: 500; color: #fff; }
.rs-head small { display: block; font-size: 11px; color: var(--rs-muted); margin-top: 2px; }
.rs-export { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 7px; background: var(--rs-coral-deep); color: #fff; font-weight: 500; }
.rs-export svg { width: 12px; height: 12px; }
.rs-stage { display: grid; place-items: center; padding: 6px 0 10px; min-height: 0; }

/* the 9:16 canvas the app exports: its background, the recording zoomed in, the cursor, the key pill, the caption */
.rs-canvas {
  position: relative; height: 100%; max-height: 372px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden;
  background: linear-gradient(165deg, #f7755c 0%, #db4778 62%, #6a2140 100%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .16), 0 18px 40px -16px rgb(0 0 0 / .8);
}
.rs-shot {
  position: absolute; left: -38%; top: 27%; width: 176%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
  background: #fff; color: #1d1d1f; box-shadow: 0 16px 30px -10px rgb(0 0 0 / .45); font-size: 11px;
}
.rs-shot__bar { display: flex; align-items: center; gap: 5px; height: 18px; padding: 0 8px; background: #ececee; }
.rs-shot__bar i { width: 6px; height: 6px; border-radius: 50%; background: #d0d0d4; }
.rs-shot__grid { display: grid; grid-template-columns: 26% 1fr; height: calc(100% - 18px); }
.rs-shot__side { background: #f4f4f6; padding: 8px 6px; display: grid; align-content: start; gap: 5px; }
.rs-shot__side span { height: 8px; border-radius: 4px; background: #dcdce0; }
.rs-shot__side span:nth-child(2) { background: #cfd8ff; }
.rs-shot__main { padding: 10px; display: grid; align-content: start; gap: 7px; }
.rs-shot__main .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rs-shot__main .chip { height: 20px; padding: 0 9px; border-radius: 6px; background: #1d1d1f; color: #fff; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }
.rs-shot__main .line { height: 7px; border-radius: 4px; background: #e6e6ea; }
.rs-shot__main .box { height: 46px; border-radius: 6px; border: 1.5px dashed #9aa4ff; background: #f3f5ff; }
.rs-cursor { position: absolute; width: 18px; height: 22px; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .4)); }
.rs-ring { position: absolute; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; transform: translate(-50%, -50%); opacity: .9; box-shadow: 0 0 0 4px rgb(255 255 255 / .25); }
.rs-keys { position: absolute; left: 50%; bottom: 23%; transform: translateX(-50%); display: flex; gap: 4px; }
.rs-keys span { min-width: 24px; height: 24px; padding: 0 6px; display: grid; place-items: center; border-radius: 6px; background: rgb(14 14 18 / .88); color: #fff; font: 600 13px/1 var(--font-text); box-shadow: inset 0 -2px 0 rgb(255 255 255 / .12); }
.rs-caption { position: absolute; left: 8%; right: 8%; bottom: 10%; text-align: center; font: 800 15px/1.25 var(--font-text); color: #fff;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 6px rgb(0 0 0 / .6); }
.rs-caption em { font-style: normal; color: #ffd93d; }

/* the timeline (StudioTimelineView): transport, the click and shortcut marks, the zoom segments */
.rs-tl { margin: 0 12px 12px; padding: 8px 10px 10px; border-radius: 10px; background: rgb(255 255 255 / .05); display: grid; gap: 7px; }
.rs-tl__row { display: flex; align-items: center; gap: 8px; }
.rs-play { width: 28px; height: 24px; border-radius: 6px; background: var(--rs-coral); display: grid; place-items: center; }
.rs-play svg { width: 10px; height: 10px; fill: #fff; }
.rs-time { font: 400 11px/1 var(--font-mono); color: var(--rs-text-2); white-space: nowrap; }
.rs-zoom { font: 500 11px/1 var(--font-mono); color: var(--rs-cyan); padding: 4px 6px; border-radius: 5px; background: rgb(92 217 255 / .12); white-space: nowrap; }
.rs-marks { position: relative; height: 10px; }
.rs-marks i { position: absolute; top: 2px; width: 5px; height: 5px; border-radius: 50%; background: #ff5775; }
.rs-marks i.k { width: 3px; height: 9px; top: 0; border-radius: 2px; background: var(--rs-cyan); }
.rs-segs { position: relative; display: flex; gap: 3px; height: 26px; }
.rs-segs span { display: grid; place-items: center; border-radius: 6px; font: 500 11px/1 var(--font-mono); white-space: nowrap; overflow: hidden; }
.rs-segs .z { background: rgb(245 71 107 / .45); color: #fff; box-shadow: inset 2px 0 0 #fff8, inset -2px 0 0 #fff8; }
.rs-segs .z.is-on { background: var(--rs-coral-deep); }
.rs-segs .o { background: rgb(255 255 255 / .08); color: var(--rs-muted); }
.rs-segs .cut { background: rgb(255 159 67 / .2); box-shadow: inset 0 0 0 1px rgb(255 159 67 / .7); }
.rs-head-line { position: absolute; top: -18px; bottom: -2px; width: 2px; background: #fff; border-radius: 1px; }
.rs-head-line::before { content: ""; position: absolute; top: -4px; left: -3.5px; width: 9px; height: 9px; border-radius: 50%; background: #fff; }

/* in the hero the window runs 40px past the frame's foot, its content ending above the cut */
.hero__art > .rs-win { height: calc(100% - var(--s-8) + 40px); display: grid; grid-template-rows: auto minmax(0, 1fr); }
.hero__art > .rs-win .rs-body { min-height: 0; }
.hero__art > .rs-win .rs-main { padding-bottom: 40px; }
@media (max-width: 1023px) { .hero__art > .rs-win { height: calc(100% - var(--s-6) + 40px); } }
@media (max-width: 639px) { .hero__art > .rs-win { height: calc(100% - var(--s-4) + 40px); } }
@media (max-width: 1279px) { .hero__art .rs-side { display: none; } .hero__art .rs-body { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1023px) { .hero__art .rs-canvas { max-height: 300px; } }
@media (max-width: 639px) {
  .hero__art .rs-tl, .hero__art .rs-head small { display: none; }
  .hero__art .rs-stage { padding-bottom: 0; place-items: start center; }
}

/* the result card over the window's lower left (light, like a macOS notification) */
.rs-note { background: #fff; color: #16181a; border-radius: 12px; padding: 14px 16px; font: 400 14px/1.4 var(--font-text);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 24px 48px -18px rgb(60 0 20 / .55); }
.rs-note__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.rs-note h3 { font: 600 14px/1.3 var(--font-text); letter-spacing: 0; margin: 0; color: #16181a; }
.rs-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 13px; font-weight: 500; background: #e7f4ec; color: #17673f; white-space: nowrap; }
.rs-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rs-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #3d4247; border-top: 1px solid rgb(0 0 0 / .07); }
.rs-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #ffe5ea; color: #c4213f; font-style: normal; font-size: 11px; font-weight: 700; }
.rs-note__line b { font-weight: 600; color: #16181a; }

/* ============ #demo: the before/after window (the recording left, the export right) ============ */
.rs-demo.ui {
  --fx-bg: var(--rs-win); --fx-ink: var(--rs-text); --fx-muted: var(--rs-muted); --fx-accent: var(--rs-coral);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; margin-top: var(--s-7);
  background: var(--rs-win-2); color: var(--rs-text); border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 40px 80px -40px rgb(0 0 0 / .9);
  font: 400 12px/1.35 var(--font-text);
}
.rs-demo .rs-bar { height: 48px; justify-content: space-between; }
.rs-demo__ctrl { display: flex; align-items: center; gap: 8px; }
.rs-seg { display: inline-flex; padding: 2px; border-radius: 8px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.rs-seg > button, .rs-seg > span, .rs-chipbtn {
  height: 30px; padding: 0 12px; border: 0; border-radius: 6px; background: none; color: var(--rs-text-2);
  font: 500 12px/1 var(--font-text); cursor: pointer; white-space: nowrap;
}
.rs-seg > button:hover, .rs-chipbtn:hover { color: #fff; }
.rs-seg > span { display: inline-flex; align-items: center; justify-content: center; }
.rs-seg > .active { background: var(--rs-coral); color: #16171d; }
.rs-demo .rs-seg > .active { background: #f2f3f6; color: #16171d; }
.rs-chipbtn { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); border-radius: 8px; height: 34px; }
.rs-chipbtn.active { background: #f2f3f6; box-shadow: none; color: #16171d; }
.rs-demo__panes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 0; }
.rs-pane { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px 20px; min-width: 0; min-height: 0; }
.rs-pane + .rs-pane { border-left: 1px solid var(--rs-line); background: #121318; }
.rs-pane__label { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--rs-text-2); font-weight: 500; }
.rs-pane__label span:last-child { font: 400 11px/1 var(--font-mono); color: var(--rs-muted); }
.rs-pane__fit { flex: 1 1 auto; min-height: 0; display: grid; place-items: center; container-type: size; }

/* the recorded Mac screen: a 640x360 stage scaled to its shell (demo.js) */
.mac-screen-shell { position: relative; width: min(100cqw, 100cqh * 16 / 9); aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #e9e9ec; box-shadow: 0 0 0 1px rgb(255 255 255 / .14); cursor: none; }
.mac-screen-stage { position: absolute; left: 0; top: 0; width: 640px; height: 360px; transform-origin: 0 0; }
.mac-crop-box { position: absolute; border: 2px solid var(--rs-coral-2); border-radius: 8px; pointer-events: none; box-shadow: 0 0 0 9999px rgb(9 10 14 / .5); z-index: 4; }
.sim-cursor { position: absolute; width: 18px; height: 22px; pointer-events: none; z-index: 6; transform: translate(-2px, -2px); filter: drop-shadow(0 2px 3px rgb(0 0 0 / .45)); }
.sim-ripple { position: absolute; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; background: rgb(255 255 255 / .2); pointer-events: none; z-index: 5; transform: translate(-50%, -50%) scale(.3); opacity: 0; }
.sim-ripple.pop { animation: rs-ripple .44s ease-out forwards; }
@keyframes rs-ripple { 0% { transform: translate(-50%, -50%) scale(.35); opacity: .95; } 100% { transform: translate(-50%, -50%) scale(1.7); opacity: 0; } }

/* the app being recorded: a plain task list app, white like most Mac apps */
.sim-app { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 26px minmax(0, 1fr); background: #fff; color: #1d1d1f; font: 400 13px/1.3 var(--font-text); user-select: none; }
.sim-chrome { display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #ececee; border-bottom: 1px solid #dcdce0; }
.sim-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; } .sim-chrome i:nth-child(2) { background: #febc2e; } .sim-chrome i:nth-child(3) { background: #28c840; }
.sim-chrome span { margin-left: 8px; font-size: 12px; color: #3a3a3c; font-weight: 500; }
.sim-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 0; }
.sim-side { background: #f5f5f7; border-right: 1px solid #e3e3e6; padding: 12px 8px; display: grid; align-content: start; gap: 2px; }
.sim-side div { padding: 6px 10px; border-radius: 6px; font-size: 13px; color: #3a3a3c; white-space: nowrap; }
.sim-side div.on { background: #e3e3e8; color: #1d1d1f; font-weight: 500; }
.sim-main { padding: 14px 18px; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 12px; min-height: 0; }
.sim-top { display: flex; align-items: center; justify-content: space-between; }
.sim-top b { font-size: 17px; font-weight: 600; }
.sim-btn { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 7px; background: #1d1d1f; color: #fff; font-size: 13px; font-weight: 500; transition: transform .16s, background .16s; }
.sim-btn.pressed { background: var(--rs-coral-deep); transform: scale(.96); }
.sim-rows { display: grid; align-content: start; }
.sim-rows div { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid #ededf0; font-size: 13px; }
.sim-rows i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #b8b8bf; flex: none; }
.sim-rows i.done { background: #34c759; border-color: #34c759; }
.sim-setting { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 9px; background: #f5f5f7; }
.sim-setting small { display: block; font-size: 12px; color: #48484a; }
.sim-toggle { width: 34px; height: 20px; border-radius: 99px; background: #d1d1d6; position: relative; flex: none; transition: background .25s; }
.sim-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: transform .25s; }
.sim-toggle.on { background: #34c759; }
.sim-toggle.on::after { transform: translateX(14px); }
.sim-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #3a3a3c; }
.sim-foot .sim-btn.pressed { background: var(--rs-coral-deep); }
.sim-foot .sim-btn.pressed { box-shadow: 0 0 0 4px rgb(255 77 107 / .25); }

/* the export: the canvas the video is made of (9:16, 3:4 or 16:9), the recording zoomed inside it */
.reel-frame {
  position: relative; width: min(100cqw, 100cqh * 9 / 16); aspect-ratio: 9 / 16; padding: 5%; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  background: linear-gradient(165deg, #f7755c 0%, #db4778 62%, #6a2140 100%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .16);
}
.reel-frame[data-aspect="3x4"] { width: min(100cqw, 100cqh * 3 / 4); aspect-ratio: 3 / 4; padding: 6%; }
.reel-frame[data-aspect="16x9"] { width: min(100cqw, 100cqh * 16 / 9); aspect-ratio: 16 / 9; padding: 3% 4%; gap: 6px; }
.reel-viewport { position: relative; flex: none; width: 100%; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 14px 30px -10px rgb(0 0 0 / .5); }
.reel-frame[data-aspect="3x4"] .reel-viewport { aspect-ratio: 5 / 4; }
.reel-frame[data-aspect="16x9"] .reel-viewport { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; }
.reel-camera { position: absolute; left: 50%; top: 50%; width: 640px; height: 360px; transform-origin: 0 0; }
.reel-hud { position: relative; z-index: 8; display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 64px; pointer-events: none; }
.reel-frame[data-aspect="16x9"] .reel-hud { flex-direction: row; justify-content: center; min-height: 28px; gap: 10px; }
.reel-key-pill { min-width: 26px; padding: 4px 8px; border-radius: 6px; background: rgb(14 14 18 / .9); color: #fff; font: 600 13px/1 var(--font-text); box-shadow: inset 0 -2px 0 rgb(255 255 255 / .12); }
.reel-key-pill:empty { display: none; }
.reel-caption { text-align: center; font: 800 15px/1.3 var(--font-text); color: #fff; min-height: 20px;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 6px rgb(0 0 0 / .6); }
.reel-frame[data-aspect="16x9"] .reel-caption { font-size: 13px; min-height: 0; }

/* the platform overlay (preview only): the app's own gray blocks, never exported */
.safezone-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 12; opacity: 0; transition: opacity .2s; }
.reel-frame.show-safezone .safezone-overlay { opacity: 1; }
.sz-top { position: absolute; left: 0; right: 0; top: 0; height: 9%; background: rgb(10 10 14 / .55); display: flex; align-items: center; justify-content: center; gap: 14px; color: rgb(255 255 255 / .8); font-size: 12px; font-weight: 500; }
.sz-right { position: absolute; right: 4%; bottom: 26%; display: grid; gap: 10px; }
.sz-right i { width: 24px; height: 24px; border-radius: 50%; background: rgb(10 10 14 / .55); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
.sz-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 20%; padding: 10px 12px; background: rgb(10 10 14 / .55); display: grid; align-content: end; gap: 6px; }
.sz-bottom i { display: block; height: 6px; border-radius: 3px; background: rgb(255 255 255 / .35); }
.sz-bottom i:first-child { width: 46%; } .sz-bottom i:nth-child(2) { width: 78%; }
.sz-bottom span { font-size: 11px; color: rgb(255 255 255 / .85); font-weight: 500; }
.reel-frame[data-aspect="16x9"] .safezone-overlay { display: none; }

/* the demo's timeline: one segment a scene, the one playing lit */
.rs-demo__tl { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 20px 16px; border-top: 1px solid var(--rs-line); }
.rs-demo__steps { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1fr); gap: 4px; }
.demo-step-btn { height: 34px; border: 0; border-radius: 7px; cursor: pointer; background: rgb(245 71 107 / .3); color: #fff; font: 500 12px/1 var(--font-text); padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: inset 2px 0 0 #fff6, inset -2px 0 0 #fff6; transition: background .2s; }
.demo-step-btn:hover { background: rgb(245 71 107 / .5); }
.demo-step-btn.active { background: var(--rs-coral-deep); }

@media (max-width: 1023px) {
  .rs-demo__panes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rs-demo .rs-bar { height: auto; padding: 10px 12px; flex-wrap: wrap; }
}
@media (max-width: 639px) {
  .rs-demo__panes { grid-template-columns: minmax(0, 1fr); }
  .rs-pane--rec { position: absolute; left: -10000px; top: 0; width: 600px; height: 380px; visibility: hidden; }
  .rs-pane + .rs-pane { border-left: 0; }
  .rs-demo .rs-bar > span:first-child { display: none; }
  .rs-demo__ctrl { flex-wrap: wrap; }
  .rs-demo__tl { display: none; }
  .rs-demo__tl .rs-time { display: none; }
  .rs-demo .rs-seg > button, .rs-chipbtn { height: 44px; padding: 0 10px; }
  .demo-step-btn { height: 44px; }
}

/* ============ #how: the four step pictures (pinned-chapters) on the lit ground ============ */
#how .mo-pc__visual--lit, #how .mo-pc__visual {
  background:
    radial-gradient(80% 70% at 90% 0%, #ffb08a 0%, rgb(255 176 138 / 0) 60%),
    linear-gradient(160deg, #f7755c 0%, #db4778 60%, #7a1f3d 100%);
}
#how .mo-pc__visual { display: flex; align-items: center; justify-content: center; padding: clamp(16px, 3.4vw, 44px); aspect-ratio: 4 / 3; }
#how .mo-pc__visual > .rs-frag { width: 100%; max-width: 520px; }
.rs-frag { --fx-bg: var(--rs-inspector); --fx-ink: var(--rs-text); --fx-muted: var(--rs-muted); --fx-accent: var(--rs-coral);
  background: var(--rs-inspector); color: var(--rs-text); border-radius: 14px; box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 30px 60px -24px rgb(40 0 10 / .7);
  font: 400 12px/1.4 var(--font-text); text-align: left; }

/* the floating record bar (RecorderHUDView) */
.rs-hud { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 18px; background: rgb(24 24 30 / .94); }
.rs-hud .rs-seg > * { height: 30px; padding: 0 10px; cursor: default; }
.rs-hud__pill { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 10px; border-radius: 9px; background: rgb(255 255 255 / .07); color: var(--rs-text-2); font-weight: 500; white-space: nowrap; }
.rs-hud__pill svg { width: 13px; height: 13px; }
.rs-hud__go { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--rs-coral-deep); color: #fff; font-weight: 600; white-space: nowrap; }
.rs-hud__go i { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.rs-hud__go kbd { font: 500 11px/1 var(--font-mono); opacity: .85; }
.rs-hud-wrap { display: grid; gap: 14px; }
.rs-hud--rec { width: max-content; max-width: 100%; justify-self: center; gap: 12px; padding: 8px 14px; }
.rs-hud--rec .dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4059; }
.rs-hud--rec .rs-time { font-size: 14px; color: #fff; }
.rs-vu { display: flex; align-items: end; gap: 2px; height: 14px; }
.rs-vu i { width: 3px; border-radius: 1px; background: #34c759; }
.rs-vu i:nth-child(4), .rs-vu i:nth-child(5) { background: #ffd60a; } .rs-vu i:nth-child(6) { background: #ff453a; }
.rs-stop { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; background: var(--rs-coral-deep); color: #fff; font-weight: 600; white-space: nowrap; }
.rs-stop i { width: 9px; height: 9px; border-radius: 2px; background: #fff; }

/* the timeline as a fragment */
.rs-frag.rs-tlfrag { padding: 14px; display: grid; gap: 10px; }
.rs-frag .rs-tl { margin: 0; }
.rs-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--rs-muted); font-size: 11px; }
.rs-legend span { display: inline-flex; align-items: center; gap: 5px; }
.rs-legend i { width: 7px; height: 7px; border-radius: 50%; background: #ff5775; }
.rs-legend i.k { width: 3px; height: 9px; border-radius: 2px; background: var(--rs-cyan); }
.rs-legend i.z { width: 12px; height: 7px; border-radius: 3px; background: rgb(245 71 107 / .7); }
.rs-legend i.c { width: 12px; height: 7px; border-radius: 3px; background: rgb(255 159 67 / .3); box-shadow: inset 0 0 0 1px #ff9f43; }
.rs-tlfrag .rs-tl__row .rs-tlbtn { margin-left: auto; }
.rs-tlbtn { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 6px; background: rgb(255 255 255 / .07); color: var(--rs-text-2); font-weight: 500; white-space: nowrap; }

/* the inspector's voice and captions tab */
.rs-insp { padding: 14px; display: grid; gap: 14px; }
.rs-group { display: grid; gap: 8px; }
.rs-group > b { font-size: 13px; font-weight: 600; color: #fff; }
.rs-group > small { color: var(--rs-muted); font-size: 11px; margin-top: -4px; }
.rs-btnrow { display: flex; flex-wrap: wrap; gap: 6px; }
.rs-btn { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 6px; background: rgb(255 255 255 / .08); color: var(--rs-text-2); font-weight: 500; white-space: nowrap; }
.rs-btn--orange { background: #ff9f43; color: #241200; }
.rs-btn--coral { background: var(--rs-coral-deep); color: #fff; }
.rs-check { display: flex; align-items: center; gap: 8px; color: var(--rs-text); }
.rs-check i { width: 14px; height: 14px; border-radius: 4px; background: var(--rs-coral); display: grid; place-items: center; flex: none; }
.rs-check i::after { content: ""; width: 7px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.rs-caps { display: grid; border-radius: 8px; background: rgb(255 255 255 / .04); }
.rs-caps div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 7px 10px; border-top: 1px solid var(--rs-line); }
.rs-caps div:first-child { border-top: 0; }
.rs-caps span { font: 400 11px/1.4 var(--font-mono); color: var(--rs-muted); }
.rs-select { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 6px; background: rgb(255 255 255 / .08); color: var(--rs-text); white-space: nowrap; }

/* the export sheet (ExportSheetView) */
.rs-sheet { padding: 18px; display: grid; gap: 12px; }
.rs-sheet > b { font-size: 15px; font-weight: 600; color: #fff; }
.rs-sheet > small { color: var(--rs-muted); font-size: 11px; margin-top: -6px; }
.rs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.rs-stats div { padding: 8px 10px; border-radius: 8px; background: rgb(255 255 255 / .05); display: grid; gap: 3px; }
.rs-stats span { font-size: 11px; color: var(--rs-muted); }
.rs-stats b { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; }
.rs-opt { display: grid; gap: 5px; }
.rs-opt > span { font-size: 11px; color: var(--rs-muted); }
.rs-opt .rs-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.rs-opt .rs-seg > * { height: 26px; padding: 0 6px; font-size: 11px; cursor: default; overflow: hidden; text-overflow: ellipsis; }
.rs-sheet__go { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }

@media (max-width: 639px) {
  #how .mo-pc__visual { padding: 12px; aspect-ratio: 16 / 9; }
  #how .mo-pc__visual > .rs-frag { transform: scale(.82); transform-origin: center; }
  .rs-hud .rs-hud__pill:nth-of-type(n+3) { display: none; }
}

/* ============ #features: four cards, each a picture of one setting ============ */
#features .panel { --p-h: 300px; background:
    radial-gradient(80% 70% at 85% 0%, #ffb08a 0%, rgb(255 176 138 / 0) 60%),
    linear-gradient(160deg, #f7755c 0%, #db4778 60%, #7a1f3d 100%); }
@media (max-width: 639px) { #features .panel { --p-h: 196px; } }
#features .panel { position: relative; overflow: hidden; }
.rs-phone { position: absolute; top: 40px; bottom: 0; left: 50%; transform: translateX(-50%); aspect-ratio: 9 / 16; border-radius: 16px 16px 0 0; overflow: hidden;
  background: linear-gradient(165deg, #23263b 0%, #1a1c2a 100%); box-shadow: 0 0 0 1px rgb(255 255 255 / .18), 0 24px 40px -16px rgb(0 0 0 / .6); }
.rs-phone .rs-shot { left: 6%; right: 6%; width: auto; top: 30%; }
.rs-phone .sz-top { height: 11%; font-size: 11px; }
.rs-phone .sz-bottom { height: 22%; }
.rs-phone .sz-right { bottom: 30%; }
.rs-phone .rs-tag { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; max-width: 92%; min-height: 22px; padding: 3px 9px; text-align: center; line-height: 1.25; border-radius: 99px; background: rgb(14 14 18 / .85); color: #ffd93d; font-size: 11px; font-weight: 600; white-space: nowrap; }
.rs-phone--hook { background: linear-gradient(165deg, #14172e, #2a2347 60%, #612452); }
.rs-phone--hook .rs-shot { top: 40%; }
.rs-hook { position: absolute; left: 6%; right: 6%; top: 11%; text-align: center; display: grid; justify-items: center; gap: 8px; }
.rs-hook b { font: 900 clamp(15px, 1.5vw, 22px)/1.2 var(--font-text); color: #fff; }
.rs-hook span { display: inline-flex; height: 20px; align-items: center; padding: 0 9px; border-radius: 99px; background: var(--rs-coral-deep); color: #fff; font-size: 11px; font-weight: 700; }
.rs-swatches { position: absolute; inset: 40px 40px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; padding: 16px 16px 40px; border-radius: 14px 14px 0 0; background: var(--rs-inspector);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 24px 40px -16px rgb(40 0 10 / .7); font-size: 11px; color: var(--rs-text-2); text-align: center; }
.rs-swatches div { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; min-height: 0; }
.rs-swatches i { min-height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.rs-swatches div.on i { box-shadow: 0 0 0 2px #fff; }
.rs-sliders { grid-column: 1 / -1; display: grid; gap: 7px; margin-top: 4px; text-align: left; }
.rs-sliders div { display: grid; grid-template-columns: 64px minmax(0, 1fr) 38px; align-items: center; gap: 8px; }
.rs-sliders u { height: 4px; border-radius: 2px; background: rgb(255 255 255 / .14); position: relative; text-decoration: none; }
.rs-sliders u::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); border-radius: 2px; background: var(--rs-coral); }
.rs-sliders u::after { content: ""; position: absolute; top: -4px; left: calc(var(--v) - 6px); width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.rs-sliders span:last-child { font-family: var(--font-mono); text-align: right; }
.rs-keysdemo { position: absolute; inset: 40px 40px 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 20px; justify-items: center; }
.rs-wide { position: relative; width: 100%; min-height: 0; border-radius: 14px 14px 0 0; overflow: hidden; background: linear-gradient(160deg, #0d0f17, #1c2130 60%, #0f121c); box-shadow: 0 0 0 1px rgb(255 255 255 / .16), 0 24px 40px -16px rgb(0 0 0 / .6); }
.rs-wide .rs-shot { left: 9%; width: 82%; top: 9%; }
.rs-wide .rs-keys { bottom: 12%; }
.rs-keysdemo .rs-keys span { min-width: 40px; height: 40px; font-size: 18px; border-radius: 9px; }
.rs-keysdemo .rs-seg { background: rgb(24 24 30 / .94); }
.rs-keysdemo .rs-seg > * { cursor: default; height: 30px; }
@media (max-width: 1279px) { .rs-swatches { inset: 24px 24px 0; } .rs-keysdemo { inset: 24px 24px 0; } }
@media (max-width: 639px) { .rs-swatches { inset: 16px 16px 0; padding-bottom: 16px; } .rs-swatches .rs-sliders { display: none; } .rs-keysdemo { inset: 16px 16px 0; gap: 12px; } .rs-keysdemo .rs-keys span { min-width: 32px; height: 32px; font-size: 15px; } .rs-phone { top: 20px; } }

/* ============ #pricing ============ */
.rs-switch { display: inline-flex; align-self: flex-start; justify-self: start; width: max-content; padding: 3px; border-radius: 10px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.rs-switch button { height: 38px; padding: 0 var(--s-4); border: 0; border-radius: 8px; background: none; color: var(--muted); font: 500 15px/1 var(--font-text); cursor: pointer; white-space: nowrap; }
.rs-switch button.active { background: var(--ink); color: var(--bg); }
.rs-switch button:hover:not(.active) { color: var(--ink); }
.card--plan .price .t-stat { font-size: clamp(34px, 2.6vw, 44px); }
.price__was { color: var(--muted); text-decoration: line-through; font-size: var(--t-body); }
.price__unit { color: var(--muted); font-size: var(--t-small); }
.card--plan .badge { font-weight: 500; }
.rs-thumb { position: relative; height: 96px; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(160deg, #f7755c 0%, #db4778 60%, #7a1f3d 100%); }
.rs-thumb .rs-shot { left: 14%; width: 72%; top: 18%; }
.rs-wm { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: rgb(13 15 26 / .62); color: rgb(255 255 255 / .9); font: 600 11px/1.2 var(--font-text); }
.pricing__head { grid-column: 1 / -1; }
@media (min-width: 1024px) { .pricing__head { grid-column: 1 / span 4; } }
.card--plan { transition: border-color var(--m-out, .2s) ease; }
.card--plan:hover { border-color: var(--line-strong); }
.card--plan.is-featured:hover { border-color: var(--action); box-shadow: inset 0 0 0 2px var(--action); }
#buy-pro-btn { white-space: normal; height: auto; min-height: var(--btn-h, 44px); padding-block: 10px; text-align: center; }
.card--plan > .btn { margin-top: auto; }
.card--plan > .checks { margin-bottom: var(--s-4); }
.plan__note { color: var(--muted); font-size: var(--t-small); }
.checkout-toast { display: none; font-size: var(--t-small); color: var(--ink); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); background: color-mix(in oklab, var(--accent) 16%, transparent); }
.checkout-toast.show { display: block; }
.pricing__controls { display: grid; gap: var(--s-3); margin-top: var(--s-6); justify-items: start; }
.pricing__controls .t-label { color: var(--muted); }
.pricing__currency-wrap { width: fit-content; }
.pricing__currency { height: 40px; min-width: 132px; font-variant-numeric: tabular-nums; background: color-mix(in oklab, var(--ink) 5%, transparent); }
@media (max-width: 639px) { .rs-switch button { height: 44px; } .pricing__currency { height: 44px; min-width: 140px; } }

/* ============ #faq: the answers left, the permission card right (two groups, so a phone splits them over two screens) ============ */
@media (min-width: 640px) {
  #faq .faq-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); grid-template-rows: auto auto minmax(0, 1fr); align-content: start; }
  #faq .faq-a, #faq .faq-b { display: contents; }
  #faq .section-head { grid-column: 1 / -1; grid-row: 1; }
  #faq .faq-a > .faq { grid-column: 1 / span 6; grid-row: 2; }
  #faq .faq-b > .faq { grid-column: 1 / span 6; grid-row: 3; align-self: start; }
  #faq .faq-b > .faq > .faq__item:first-child { padding-top: var(--s-4); }
  #faq .rs-permfig { grid-column: 7 / span 6; grid-row: 2 / span 2; align-self: start; }
  #faq .faq > .faq__item { padding-block: var(--s-4); }
  html:lang(en) #faq .faq > .faq__item { padding-block: 14px; }
  #faq .faq-a > .faq > .faq__item:first-child { padding-top: 0; }
}
#faq .faq { align-content: start; }
#faq .faq-b .faq > .faq__item:last-child { border-bottom: 0; }
#faq .faq__item p { color: var(--ink); opacity: .86; max-width: 56ch; }
@media (min-width: 1024px) { #faq .faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); } }

/* ============ #faq: the permission card ReelSnap shows on first launch ============ */
.rs-permfig { margin: 0; padding: clamp(20px, 3vw, 40px); border-radius: var(--r-lg);
  background:
    radial-gradient(80% 70% at 90% 0%, #ffb08a 0%, rgb(255 176 138 / 0) 60%),
    linear-gradient(160deg, #f7755c 0%, #db4778 60%, #7a1f3d 100%); }
.rs-perm { padding: 16px; display: grid; gap: 10px; }
.rs-perm > b { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.rs-perm__row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: rgb(255 255 255 / .05); }
.rs-perm__ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgb(255 77 107 / .16); color: #ff8fa2; }
.rs-perm__ic svg { width: 15px; height: 15px; }
.rs-perm__row > span { display: grid; gap: 2px; min-width: 0; }
.rs-perm__t { font-size: 12px; font-weight: 600; color: #fff; }
.rs-perm__row small { font-size: 11px; color: var(--rs-muted); }
.rs-perm__row em { font-style: normal; font-size: 11px; font-weight: 600; color: #34c759; background: rgb(52 199 89 / .14); padding: 3px 8px; border-radius: 99px; white-space: nowrap; }

/* ============ tablet and phone ============ */
/* the hero's canvas keeps its words for the wide window */
@media (max-width: 1023px) { .hero__art .rs-caption, .hero__art .rs-keys { display: none; } }

/* #how at rest (tablet, phone, reduced motion): each step's picture under its words, as tall as its window */
#how:not(.is-live) .mo-pc__visual { aspect-ratio: auto; padding: 24px; }
@media (min-width: 640px) and (max-width: 1023px) {
  #how:not(.is-live) .mo-pc__step { grid-template-columns: minmax(0, 1fr); }
  #how:not(.is-live) .mo-pc__step .mo-pc__visual { grid-column: 1; grid-row: auto; margin-top: var(--s-4); }
  #how .rs-frag { max-width: 560px; margin-inline: auto; }
  #how:not(.is-live) .mo-pc__visual { padding: 16px; }
  main > #how[data-moment]:not(.is-live) { min-height: 200svh; }
  /* features: one card a row, so the two screens fill */
  #features .grid > .card { grid-column: 1 / -1; }
  #features .panel { --p-h: 248px; }
  /* pricing: the head in two columns, the two plans side by side */
  .pricing__head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--gutter); align-items: start; }
  .pricing__head > h2, .pricing__head > p { grid-column: 1; }
  .pricing__head > .checks { grid-column: 2; grid-row: 1 / span 2; }
  .pricing__head > .pricing__controls { grid-column: 1 / -1; margin-top: 0; }
  #pricing .card--plan { grid-column: auto / span 6; gap: var(--s-3); }
  #pricing .card--plan > .checks { margin-bottom: var(--s-2); }
  /* English runs longer: a little less picture so each section keeps to its two screens */
  html:lang(en) #features .panel { --p-h: 210px; }
  html:lang(en) #how:not(.is-live) .mo-pc__visual { padding: 10px; }
  html:lang(en) #how:not(.is-live) .mo-pc__steps { gap: var(--s-5); }
  /* the FAQ and its picture take two screens, the picture larger */
  #faq { --h: 2; }
  #faq .faq-a > .faq, #faq .faq-b > .faq { grid-column: 1 / -1; }
  #faq .faq-wrap { grid-template-rows: auto auto auto auto; }
  #faq .rs-permfig { grid-column: 1 / -1; grid-row: 4; }
  .rs-thumb { height: 64px; }
  .rs-permfig { margin-top: var(--s-7); padding: var(--s-8) var(--s-7); }
  .rs-perm { zoom: 1.3; max-width: 480px; margin-inline: auto; }
}
@media (max-width: 639px) {
  #how .rs-frag { zoom: .66; }
  #how .rs-hud > .rs-hud__pill:nth-of-type(n+2) { display: none; }
  #how:not(.is-live) .mo-pc__visual { padding: 14px; }
  main > #how[data-moment]:not(.is-live) { min-height: calc(2 * 100lvh); }
  html:lang(en) #how:not(.is-live) .mo-pc__steps { gap: var(--s-4); }
  .card--plan .price .t-stat { font-size: 28px; }
  #features .panel { --p-h: 160px; }
  .rs-phone .rs-tag { display: none; }
  #faq .faq > .faq__item { padding: var(--s-4) 0; }
  .rs-permfig { margin-top: 40px; padding: 32px; }
  .rs-perm { zoom: 1.04; }
}
