/* ClipNest site: page CSS for what sits inside a visual (the ClipNest panel mocks), the app frame,
   the theme switch and one --p-h per card group. Everything else is the kit (assets/system.css). */

/* ---------------------------------------------------------------- dark theme (tech: chosen on load or by a click) */
html[data-theme="dark"] {
  --p-bg: #0c0d10; --p-surface: #16181d; --p-ink: #eef0f3; --p-muted: #9ba1ab;
  --p-accent: #2f5ff5; --p-accent-ink: #ffffff; --p-action: #2f5ff5; --p-action-ink: #ffffff;
  --p-inv-bg: #eef0f3; --p-inv-surface: #e2e5ea; --p-inv-ink: #0b0c0e; --p-inv-muted: #5d6470;
  --p-inv-accent: #1f2de6; --p-inv-accent-ink: #ffffff; --p-inv-action: #0b0c0e; --p-inv-action-ink: #eef0f3;
  color-scheme: dark;
}
html[data-theme="dark"] .hero--centred .hero__window,
html[data-theme="dark"] .frame--split,
html[data-theme="dark"] :is(#features, #edges) .panel { background: #1b2030 !important; }

.theme-toggle { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-btn, 8px);
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* the client's own mark: the orb, never on a box of its own */
.nav__logo .orb { width: 28px; height: 28px; flex: none; }
.hero--centred h1 .orb-inline { width: .82em; height: .82em; vertical-align: -.1em; margin-right: .08em; }

/* ---------------------------------------------------------------- the ClipNest panel (the app's own look:
   a black blade, white text, pill tabs, filter chips, rows with a type glyph) */
.cn { --cn-bg: #000; --cn-row: rgb(255 255 255 / .05); --cn-line: rgb(255 255 255 / .08); --cn-ink: #fff;
  --cn-muted: rgb(255 255 255 / .66); --cn-acc: #4f7bff;
  background: var(--cn-bg); color: var(--cn-ink); border-radius: 22px; padding: 12px; font: 400 13px/1.35 var(--font-text);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 30px 70px -24px rgb(0 0 0 / .55); display: grid; gap: 10px; align-content: start; }
.cn__tabs { display: flex; gap: 4px; align-items: center; }
.cn__tab { height: 30px; min-width: 30px; padding: 0 10px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px; color: var(--cn-muted); }
.cn__tab.is-on { background: #fff; color: #000; font-weight: 500; }
.cn__tab svg, .cn__glyph svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cn__tabs .sp { flex: 1; }
.cn__search { height: 34px; border-radius: 12px; background: var(--cn-row); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--cn-muted); }
.cn__chips { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
.cn__chip { height: 26px; padding: 0 10px; border-radius: 99px; display: inline-flex; align-items: center; color: var(--cn-muted); box-shadow: inset 0 0 0 1px var(--cn-line); white-space: nowrap; }
.cn__chip.is-on { background: rgb(255 255 255 / .14); color: #fff; box-shadow: none; }
.cn__list { display: grid; gap: 6px; }
.cn__row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; background: var(--cn-row); }
.cn__row.is-new { box-shadow: inset 0 0 0 1px rgb(79 123 255 / .7); background: rgb(79 123 255 / .14); }
.cn__glyph { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgb(255 255 255 / .08); color: #fff; overflow: hidden; }
.cn__glyph img { width: 100%; height: 100%; object-fit: cover; }
.cn__glyph--file img { width: 26px; height: 26px; object-fit: contain; }
.cn__txt { min-width: 0; }
.cn__txt b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn__txt span { display: block; color: var(--cn-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.cn__meta { color: var(--cn-muted); font-size: 12.5px; display: inline-flex; gap: 6px; align-items: center; }
.cn__pin { width: 7px; height: 7px; border-radius: 50%; background: var(--cn-acc); }
.cn__thumb { width: 100%; height: 100%; background: linear-gradient(135deg, #f5b26b, #e2634e 55%, #7a2e48); }
.cn__thumb--b { background: linear-gradient(160deg, #9cd2ff, #3d6fd8 60%, #1b2a66); }

/* ---------------------------------------------------------------- hero: a desktop with ClipNest docked at its edge */
.desk { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.desk__doc { background: #fff; color: #16181a; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 24px 60px -30px rgb(0 0 0 / .45); }
.desk__bar { height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid rgb(0 0 0 / .07); font-size: 13px; color: #5d6268; }
.desk__bar i { width: 10px; height: 10px; border-radius: 50%; background: #dcdfe2; display: inline-block; margin-right: -4px; }
.desk__body { padding: 18px 22px 40px; display: grid; gap: 10px; font-size: 14px; line-height: 1.55; text-align: left; }
.desk__body h4 { margin: 0; font: 500 17px/1.3 var(--font-text); }
.desk__body p { margin: 0; color: #3d4248; }
.desk__sel { background: rgb(47 95 245 / .2); box-shadow: 0 0 0 2px rgb(47 95 245 / .2); border-radius: 2px; }
.desk__toast { justify-self: start; display: inline-flex; gap: 8px; align-items: center; height: 30px; padding: 0 12px; border-radius: 99px; background: #0b0c0e; color: #fff; font-size: 13px; }
.desk__toast img { width: 16px; height: 16px; }
.desk .cn { text-align: left; }
@media (max-width: 1023px) { .desk { grid-template-columns: minmax(0, 1fr) 280px; } }
@media (max-width: 767px) { .desk { grid-template-columns: minmax(0, 1fr); } .desk__doc { display: none; } }

/* ---------------------------------------------------------------- app frame (sections-library app-frame) */
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: #0a0b0d; color: #fff;
  border: 1px solid rgb(255 255 255 / .06); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .45); min-height: 0; }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid rgb(255 255 255 / .08); }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, #0a0b0d); pointer-events: none; }
.app .cn { border-radius: 0; box-shadow: none; padding: 16px; background: transparent; }
.app__open { padding: 20px 24px; display: grid; gap: 16px; align-content: start; font: 400 14px/1.5 var(--font-text); }
.app__head { display: flex; align-items: center; gap: 10px; color: rgb(255 255 255 / .66); font-size: 13px; }
.app__head b { color: #fff; font-weight: 500; font-size: 15px; }
.app__head .sp { flex: 1; }
.app__btn { height: 30px; padding: 0 12px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px; background: rgb(255 255 255 / .09); color: #fff; font-size: 13px; }
.app__btn--on { background: #fff; color: #000; font-weight: 500; }
.app__shot { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 8; position: relative; background: #12151c; }
.app__shot .scr { position: absolute; inset: 0; display: grid; grid-template-columns: 34% 1fr; gap: 12px; padding: 18px; }
.app__shot .scr i { display: block; border-radius: 8px; background: rgb(255 255 255 / .08); }
.app__shot .scr div { display: grid; gap: 10px; align-content: start; }
.app__shot .scr div i { height: 12px; } .app__shot .scr div i.l { height: 40px; background: rgb(79 123 255 / .35); }
.app__ocr { position: absolute; inset: auto 16px 16px auto; width: 56%; border-radius: 12px; background: rgb(10 11 13 / .92); box-shadow: 0 0 0 1px rgb(255 255 255 / .1); padding: 12px 14px; display: grid; gap: 4px; font-size: 13px; }
.app__ocr span { color: rgb(255 255 255 / .62); }
.app__lines { display: grid; gap: 8px; color: rgb(255 255 255 / .84); }
.app__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.app__tags span { height: 26px; padding: 0 10px; border-radius: 99px; display: inline-flex; align-items: center; background: rgb(79 123 255 / .2); color: #cdd8ff; font-size: 12.5px; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid rgb(255 255 255 / .08); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
  .app__ocr { width: auto; left: 16px; }
}

/* ---------------------------------------------------------------- feature cards: one --p-h for the group */
:is(#features, #edges) .panel { --p-h: 340px; position: relative; overflow: hidden; }
:is(#features, #edges) .mock { position: absolute; left: 50%; top: 40px; width: min(380px, calc(100% - 48px)); transform: translateX(-50%); }
@media (max-width: 639px) { :is(#features, #edges) .panel { --p-h: 220px; } :is(#features, #edges) .mock { top: 20px; } }

:is(#features, #edges) .mock { width: min(340px, calc(100% - 40px)); top: 32px; }
:is(#features, #edges) .mock .cn { padding: 10px; }

/* drag a file out: the row lifts, a mail draft takes the attachment */
.cn__row.is-lift { animation: cnLift 3.3s cubic-bezier(.22,1,.36,1) infinite; }
@keyframes cnLift { 0%, 20% { transform: none; } 40%, 70% { transform: translate(18px, 6px) rotate(-2deg); box-shadow: 0 16px 30px -12px rgb(0 0 0 / .7); background: rgb(79 123 255 / .3); } 90%, 100% { transform: none; } }
.mail { position: absolute; left: 30px; right: -6px; top: 150px; padding: 12px 14px; border-radius: 12px; background: #fff; color: #16181a; display: grid; gap: 8px; box-shadow: 0 20px 40px -20px rgb(0 0 0 / .5); font-size: 13px; }
.mail b { font-weight: 500; }
.mail__att { display: inline-flex; align-items: center; gap: 8px; justify-self: start; height: 34px; padding: 0 10px 0 6px; border-radius: 9px; background: #f0f2f5; }
.mail__att img { width: 24px; height: 24px; }

/* text out of an image */
.ocr { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; }
.ocr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ocr__label { position: absolute; left: 12px; top: 12px; padding: 8px 10px; border-radius: 8px; background: rgb(255 255 255 / .9); color: #16181a; font: 500 12.5px/1.4 var(--font-mono); }
.ocr__scan { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(79 123 255 / .45) 50%, transparent 60%) 0 0 / 100% 200%; animation: ocrScan 1.6s linear infinite; }
@keyframes ocrScan { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.ocr + .cn__row { margin-top: 2px; }

/* convert */
.cv { display: grid; gap: 10px; }
.cv img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 12px; display: block; }
.cv__fmts { display: flex; gap: 6px; }
.cv__fmts span { flex: 1; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgb(255 255 255 / .08); font-weight: 500; }
.cv__fmts span.is-on { background: #fff; color: #000; }
.cv__size { display: flex; align-items: center; gap: 10px; color: rgb(255 255 255 / .7); }
.cv__size b { color: #7ee2a8; font-weight: 500; }

/* sticky notes on the far edge: a slice of desktop with the dots, the tabs and one note */
:is(#features, #edges) .mock--edge { left: 0; right: 0; top: 0; bottom: 0; width: auto; transform: none; }
.edge { position: absolute; inset: 0; background: url(assets/img/photo-f49034135-500.webp) center / cover; }
.edge::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .12); }
.edge__dots { position: absolute; z-index: 1; right: 8px; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.edge__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgb(0 0 0 / .2); }
.edge__tabs { position: absolute; z-index: 2; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 6px; justify-items: end; }
.edge__tabs span { height: 28px; padding: 0 12px; border-radius: 9px 0 0 9px; background: var(--c); color: #1c1a14; font-weight: 500; font-size: 13px; display: grid; place-items: center; box-shadow: 0 8px 18px -10px rgb(0 0 0 / .6); }
.edge__note { position: absolute; z-index: 3; right: 118px; top: 50%; transform: translateY(-50%) rotate(-1.5deg); width: min(200px, 52%); padding: 12px 14px; border-radius: 12px; background: var(--c); color: #1c1a14; font-size: 13px; line-height: 1.45; display: grid; gap: 4px; box-shadow: 0 24px 40px -18px rgb(0 0 0 / .6); }
.edge__note b { font-size: 14px; }

/* to-do tick and live pulse */
.todo__row.is-tick .todo__box[data-step]:not(.is-off) { background: #4f7bff; box-shadow: none; }
.pulse__bar i { animation: pulseW 3s ease-in-out infinite; }
.pulse__row:nth-child(2) .pulse__bar i { animation-duration: 2.6s; } .pulse__row:nth-child(3) .pulse__bar i { animation-duration: 3.6s; }
@keyframes pulseW { 50% { width: calc(var(--w) * .72); } }
@media (prefers-reduced-motion: reduce) { .pulse__bar i, .cn__row.is-lift, .ocr__scan { animation: none; } }

/* drag a file out */
.drag { position: relative; }
.drag__ghost { position: absolute; right: -6px; top: 92px; display: inline-flex; gap: 8px; align-items: center; height: 40px; padding: 0 12px 0 6px; border-radius: 12px;
  background: #fff; color: #16181a; font: 500 13px/1 var(--font-text); box-shadow: 0 18px 40px -16px rgb(0 0 0 / .5); }
.drag__ghost img { width: 28px; height: 28px; }
.drag__cur { position: absolute; right: -14px; top: 122px; width: 18px; height: 18px; }

/* to-do and notes */
.todo { display: grid; gap: 6px; }
.todo__row { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 12px; background: rgb(255 255 255 / .05); }
.todo__box { width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .5); flex: none; display: grid; place-items: center; }
.todo__row.is-done .todo__box { background: #4f7bff; box-shadow: none; }
.todo__row.is-done .todo__box::after { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.todo__row.is-done span { color: rgb(255 255 255 / .5); text-decoration: line-through; }
.todo__when { margin-left: auto; color: rgb(255 255 255 / .55); font-size: 12.5px; }

/* system pulse */
.pulse { display: grid; gap: 10px; }
.pulse__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 48px; gap: 10px; align-items: center; }
.pulse__row span { color: rgb(255 255 255 / .66); }
.pulse__row b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.pulse__bar { height: 8px; border-radius: 99px; background: rgb(255 255 255 / .08); overflow: hidden; }
.pulse__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: #4f7bff; }
.pulse__bar i.hot { background: #f2a33a; }

/* privacy settings */
.prefs { display: grid; gap: 6px; }
.prefs__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / .05); }
.prefs__row b { display: block; font-weight: 500; }
.prefs__row span { display: block; color: rgb(255 255 255 / .62); font-size: 12.5px; }
.sw { width: 36px; height: 22px; border-radius: 99px; background: rgb(255 255 255 / .18); position: relative; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease, ease); }
.sw.is-on { background: #4f7bff; } .sw.is-on::after { transform: translateX(14px); }
#privacy .frame--split { position: relative; overflow: hidden; }
#privacy .frame--split .cn { position: absolute; left: 56px; top: 56px; width: min(460px, calc(100% - 80px)); }
@media (max-width: 639px) { #privacy .frame--split .cn { left: 16px; top: 16px; width: calc(100% - 32px); } }

/* downloads */
.dl-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.os { width: 18px; height: 18px; flex: none; }

/* install page */
.doc-page { padding: calc(var(--nav) + 64px) 0 96px; }
.doc-page .wrap { max-width: 760px; }
.doc-page h1 { font-size: clamp(36px, 3vw + 16px, 56px); margin: 0 0 var(--s-5); }
.doc-page h2 { font-size: clamp(24px, 1.2vw + 16px, 32px); margin: var(--s-8) 0 var(--s-4); }
.doc-page ol, .doc-page ul { display: grid; gap: var(--s-3); padding-left: 1.3em; font-size: 17px; line-height: 1.6; }
.doc-page p { font-size: 17px; line-height: 1.65; max-width: 62ch; }
.doc-page kbd { font: 500 14px/1 var(--font-mono); padding: 3px 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }

/* section heights off the desktop: three stacked cards need two screens */
@media (min-width: 640px) and (max-width: 1279px) { #features, #edges { --h: 2 } }
@media (max-width: 639px) { #features, #edges, #download { --hm: 2 } }

/* prices: the figure carries the card */
.card--plan .plan__price { font: var(--display-weight) 44px/1 var(--font-display); letter-spacing: -0.03em; margin: 0; display: flex; align-items: baseline; gap: 8px; }
.card--plan .plan__price small { font: 400 15px/1.4 var(--font-text); letter-spacing: 0; color: var(--muted); }
/* black marks (Apple) turn white on the dark theme */
html[data-theme="dark"] img.ic-ink { filter: invert(1); }
@media (max-width: 639px) { #demo { --hm: 2 } #demo .dm.fill { flex: none; height: 600px; min-height: 600px; } }

/* gate round 1 fixes */
.hero--centred .hero__lead { color: var(--ink); }
.orb-mark { background: url(brand/orb-160.png) center / cover no-repeat; border-radius: 50%; }
.orb-mark::before, .orb-mark::after { content: none; }
.edge__note { transform: translateY(-50%); }
.mail { right: 0; }
.theme-toggle.btn { width: 44px; padding: 0; }
.dm-chapters { margin-top: var(--s-4); gap: var(--s-2); }
.dm-chapters .btn[aria-current="true"], .dm-ctl .btn[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--action); color: var(--action); }
.dm-ctl .btn img { width: 16px; height: 16px; }
.dm-ctl { gap: var(--s-2); }
.dm-ctl .dm-seg { display: contents; }
.legal-links { display: inline-flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.dm__h { margin: 0 0 6px; font-weight: 600; font-size: 16px; }
.dm__copy { opacity: .6; }
.gate-shot { position: relative; overflow: hidden; aspect-ratio: auto; min-height: 300px; display: grid; place-items: center; padding: var(--s-6); }
.gate-shot .cn { width: min(320px, 100%); justify-items: center; text-align: center; padding: 24px 20px; gap: 10px; }
.gate-shot .cn img { width: 64px; height: 64px; }
.gate-shot .cn b { font-size: 16px; font-weight: 500; }
.gate-shot .cn span { color: rgb(255 255 255 / .7); }
.gate__btn { width: 100%; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgb(255 255 255 / .1); color: #fff !important; font-weight: 500; }
.gate__btn.is-on { background: #fff; color: #000 !important; }
html[data-theme="dark"] .gate-shot { background: #1b2030 !important; }
@media (max-width: 479px) { .nav__actions .btn--primary { display: none; } }
@media (max-width: 639px) { .dmp__chips { display: none; } .dmp__tab { min-height: 44px; min-width: 44px; } #questions { --hm: 2 } }
.plan-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter, 24px); align-items: stretch; }
@media (max-width: 1023px) { .plan-pair { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .card--plan .plan__price { font-size: 30px; } }
.gate-shot { min-height: 0; padding: var(--s-5); }
.gate-shot .cn { padding: 18px 18px; gap: 8px; }
.gate-shot .cn img { width: 48px; height: 48px; }
#questions .gate-shot { height: 400px; aspect-ratio: auto; flex: none; display: grid !important; place-items: center; align-content: center; }
#questions .gate-shot > .cn { position: static; inset: auto; transform: none; margin: 0; }
@media (max-width: 639px) { #questions .gate-shot { height: 340px; } }
#questions .gate-shot::before, #questions .gate-shot::after { position: absolute; }
#questions .gate-shot > .cn { grid-area: 1 / 1; }

/* ================================================================ video hero: the problem and the fix beside the film */
.hero--video .hv { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: center; height: 100%; }
.hero--video > .wrap { height: 100%; }
.hv__copy { display: grid; gap: var(--s-4); justify-items: start; align-content: center; }
.hv__copy h1 { font-size: clamp(40px, 3.1vw + 12px, 66px); line-height: 1.02; letter-spacing: var(--display-tracking-xl); margin: 0; }
.hv__accent { color: var(--action); }
.hv__copy .hero__lead { font-size: clamp(17px, .5vw + 13px, 20px); line-height: 1.5; color: var(--ink); max-width: 46ch; margin: 0; }
.hv__copy .btn-row { margin-top: var(--s-2); }
.hv__facts { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-7); margin: var(--s-3) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.hv__facts div { display: grid; gap: 2px; } .hv__facts dt { font-size: 13px; color: var(--muted); } .hv__facts dd { margin: 0; font-weight: 500; }

/* a screen that plays a clip: rounded glass edge, the poster first, a pause button */
.vframe { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #0b0d12; aspect-ratio: 1200 / 760;
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 12%, transparent), 0 40px 80px -40px rgb(10 20 60 / .55), 0 18px 36px -24px rgb(0 0 0 / .4); }
.vframe::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.vframe__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vframe__btn { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgb(12 14 20 / .72); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .2s var(--ease, ease), background .2s; }
.vframe__btn:hover { transform: scale(1.06); background: rgb(12 14 20 / .88); }
.vframe__btn svg { width: 16px; height: 16px; }
.vframe .i-play { display: none; } .vframe.is-paused .i-play { display: block; } .vframe.is-paused .i-pause { display: none; }
.hv__film { width: 100%; aspect-ratio: 16 / 9; }
@media (max-width: 1023px) {
  .hero--video .hv { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-content: start; }
  .hv__facts { display: none; }
}
@media (max-width: 639px) { .hv__copy .btn-row { width: 100%; } .hero--video .pill { display: none; } }

/* on the page's 12 columns: the hero copy 5, the film 7 */
@media (min-width: 1024px) {
  .hero--video .hv { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter, 24px); }
  .hv__copy { grid-column: 1 / 6; } .hv__film { grid-column: 6 / 13; }
}

/* ================================================================ features: four groups, each a bento of real recordings.
   Each clip sits on a tinted stage (one tint per group) so the recordings read as illustrations, with room around them. */
.fx { padding: clamp(96px, 11vw, 160px) 0 clamp(56px, 6vw, 96px); }
.fx-intro { display: grid; gap: var(--s-3); justify-items: start; margin-bottom: clamp(24px, 3vw, 40px); }
.fx-intro h2 { margin: 0; font-size: clamp(38px, 2.6vw + 18px, 64px); line-height: 1.02; letter-spacing: var(--display-tracking-xl, -0.04em); }
.fx-intro p { margin: 0; color: var(--muted); font-size: 18px; max-width: 52ch; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); }
.fx-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px 0 14px; border-radius: 99px; font-size: 15px; font-weight: 500;
  color: var(--ink); text-decoration: none; background: color-mix(in oklab, var(--ink) 5%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 10%, transparent);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.fx-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--action)); }
.fx-chip:nth-child(1) { --dot: #3b6cff; } .fx-chip:nth-child(2) { --dot: #e8a23a; } .fx-chip:nth-child(3) { --dot: #2fb98a; } .fx-chip:nth-child(4) { --dot: #8a6cf0; }
.fx-chip:hover { background: color-mix(in oklab, var(--ink) 10%, transparent); }
.fx-chip:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }

/* each feature: what it does and how, beside its recording on a screen, on a tinted stage; sides alternate */
.fr { --tint: #3b6cff; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter, 24px); align-items: center;
  padding-block: clamp(56px, 7vw, 104px); scroll-margin-top: calc(var(--nav, 64px) + 16px); }
.fr + .fr { border-top: 1px solid color-mix(in oklab, var(--ink) 8%, transparent); }
.fr--amber { --tint: #e8a23a; } .fr--mint { --tint: #2fb98a; } .fr--violet { --tint: #8a6cf0; }
.fr__text { grid-column: 1 / span 4; display: grid; gap: 14px; justify-items: start; }
.fr__media { grid-column: 6 / span 7; position: relative; padding: clamp(28px, 3.4vw, 52px) clamp(28px, 3.4vw, 52px) clamp(22px, 2.6vw, 36px); border-radius: 36px;
  background: linear-gradient(150deg, color-mix(in oklab, var(--tint) 30%, var(--bg, #eef0f3)) 0%, color-mix(in oklab, var(--tint) 10%, var(--bg, #eef0f3)) 100%); isolation: isolate; }
.fr__media::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: .55;
  background-image: radial-gradient(color-mix(in oklab, var(--tint) 45%, transparent) 1px, transparent 1.3px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(160deg, #000 10%, transparent 75%); mask-image: linear-gradient(160deg, #000 10%, transparent 75%); }
.fr--flip .fr__text { grid-column: 9 / span 4; grid-row: 1; }
.fr--flip .fr__media { grid-column: 1 / span 7; grid-row: 1; }
.fr__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, color-mix(in oklab, var(--tint) 85%, #fff), var(--tint)); box-shadow: 0 10px 22px -12px var(--tint); }
.fr__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fr h3 { margin: 6px 0 0; font: 800 clamp(28px, 1.5vw + 16px, 42px)/1.04 var(--font-head, var(--font-display)); letter-spacing: -0.035em; }
.fr__lede { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink); max-width: 38ch; }
.fr__steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: st; max-width: 40ch; }
.fr__steps li { counter-increment: st; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: 16px; line-height: 1.5; }
.fr__steps li::before { content: counter(st); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--font-text);
  color: color-mix(in oklab, var(--tint) 70%, var(--ink)); background: color-mix(in oklab, var(--tint) 16%, transparent); margin-top: -1px; }

/* the screen: a dark bezel with a thin base, like a laptop seen straight on */
.fr__device { padding: 12px; border-radius: 22px; background: #0d0f14; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 40px 70px -36px rgb(10 16 40 / .65), 0 14px 28px -18px rgb(0 0 0 / .45); }
.fr__screen { aspect-ratio: 16 / 10; border-radius: 12px; margin: 0; box-shadow: none; }
.fr__screen::after { display: none; }
.fr__base { height: 14px; margin: 0 -4%; border-radius: 0 0 18px 18px; background: linear-gradient(#cfd3da, #a9aeb8); box-shadow: 0 14px 20px -14px rgb(0 0 0 / .45); position: relative; }
.fr__base::after { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 5px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: rgb(0 0 0 / .14); }
html[data-theme="dark"] .fr__base { background: linear-gradient(#3a3e48, #22252c); }
html[data-theme="dark"] .fr__media { background: linear-gradient(150deg, color-mix(in oklab, var(--tint) 32%, #0c0d10) 0%, color-mix(in oklab, var(--tint) 10%, #0c0d10) 100%); }
.fr__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 22px; }
.fr__tabs button { min-height: 40px; padding: 0 16px; border-radius: 99px; border: 0; cursor: pointer; font: 500 14px/1 var(--font-text); color: var(--ink);
  background: color-mix(in oklab, var(--bg, #fff) 70%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 10%, transparent); transition: background .2s, color .2s; }
.fr__tabs button[aria-selected="true"] { background: #0f1117; color: #fff; box-shadow: none; }
html[data-theme="dark"] .fr__tabs button[aria-selected="true"] { background: #fff; color: #0f1117; }
.fr__tabs button:focus-visible { outline: 2px solid var(--tint); outline-offset: 2px; }
.fr .vframe__btn { right: 10px; bottom: 10px; width: 40px; height: 40px; }

@media (max-width: 1023px) {
  .fr, .fr--flip { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .fr__text, .fr--flip .fr__text, .fr__media, .fr--flip .fr__media { grid-column: 1; grid-row: auto; }
  .fr__steps, .fr__lede { max-width: 60ch; }
}
@media (max-width: 639px) {
  .fr__media { padding: 18px 16px 16px; border-radius: 24px; }
  .fr__device { padding: 7px; border-radius: 14px; }
  .fr__screen { border-radius: 8px; }
  .fr__base { height: 9px; }
  .fr h3 { font-size: 30px; }
}

/* hero film: sound on demand (the film autoplays muted) */
.vframe__sound { position: absolute; z-index: 2; left: 14px; bottom: 14px; height: 44px; padding: 0 16px 0 12px; border-radius: 99px; border: 0; display: inline-flex; align-items: center; gap: 8px;
  background: rgb(12 14 20 / .72); color: #fff; font: 500 14px/1 var(--font-text); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s; }
.vframe__sound:hover { background: rgb(12 14 20 / .88); }
.vframe__sound:focus-visible, .vframe__btn:focus-visible { outline: 2px solid #8fb0ff; outline-offset: 2px; }
.vframe__sound svg { width: 18px; height: 18px; }
.vframe__sound .i-on { display: none; } .vframe__sound[aria-pressed="true"] .i-on { display: block; } .vframe__sound[aria-pressed="true"] .i-off { display: none; }
::selection { background: color-mix(in oklab, var(--action) 30%, transparent); }

/* ================================================================ hero heading: a fixed line, then a dark panel whose phrase turns over */
.hv__title { display: grid; justify-items: start; gap: .08em; }
.hv__line { display: block; }
.hv__panel { display: inline-grid; padding: .06em .32em .12em; margin-left: -.04em; border-radius: .22em; background: #0b0c0e; color: #fff;
  box-shadow: 0 18px 40px -22px rgb(10 20 60 / .6), inset 0 0 0 1px rgb(255 255 255 / .06); overflow: hidden; max-width: 100%; }
html[data-theme="dark"] .hv__panel { background: #141c3d; box-shadow: 0 18px 40px -22px rgb(0 0 0 / .8), inset 0 0 0 1px rgb(143 176 255 / .18); }
.hv__rot { display: grid; }
.hv__rot > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(70%); filter: blur(6px);
  transition: opacity .45s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1), filter .45s ease; }
.hv__rot > span.is-on { opacity: 1; transform: none; filter: none; }
.hv__rot > span.is-out { opacity: 0; transform: translateY(-70%); filter: blur(6px); }
.hv__rot em { font-style: normal; color: #8fb0ff; }
.hv__copy .hero__lead { font-size: clamp(18px, .5vw + 14px, 21px); max-width: 34ch; }
@media (max-width: 639px) { .hv__title { font-size: clamp(34px, 9.6vw, 46px) !important; } }
@media (prefers-reduced-motion: reduce) { .hv__rot > span { transition: none; } }

/* the film's sound switch sits top left, clear of the app in the frame */
.vframe__sound { top: 14px; bottom: auto; height: 38px; padding: 0 14px 0 10px; font-size: 13px; }

/* ================================================================ questions: each answer opens on a click */
.faq summary { pointer-events: auto; cursor: pointer; display: flex !important; align-items: center; justify-content: space-between; gap: var(--s-4); }
.faq summary h3 { margin: 0; font: inherit; }
.faq details:not([open])::details-content { content-visibility: hidden; }
.faq details > p { margin: var(--s-3) 0 0; }
.faq__chev { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.faq details[open] .faq__chev { transform: rotate(180deg); }
.faq summary:hover h3 { color: var(--action); }
.faq summary:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; border-radius: 6px; }

/* ================================================================ footer: more from the maker, then the closing line */
.footer__maker { padding-top: var(--s-6); border-top: 1px solid color-mix(in oklab, currentColor 14%, transparent); }
footer .closing__links .footer__maker h3 { margin: 0 0 var(--s-5); font: 500 14px/1.2 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #6cc6a4 !important; }
html[data-theme="dark"] footer .closing__links .footer__maker h3 { color: #2f7d62 !important; }
.footer__maker ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-5) clamp(32px, 5vw, 72px); }
.footer__maker a { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.footer__maker img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.footer__maker b { display: block; font: 700 20px/1.2 var(--font-head, var(--font-display)); letter-spacing: -0.02em; }
.footer__maker small { display: block; font-size: 16px; opacity: .7; margin-top: 2px; }
.footer__maker a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.footer__maker a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 8px; }
.footer__end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-6); padding-top: var(--s-5);
  border-top: 1px solid color-mix(in oklab, currentColor 14%, transparent); font-size: 15px; opacity: .8; }
.doc-page .doc-date { color: var(--muted); font-size: 15px; margin-top: calc(-1 * var(--s-3)); }

/* ================================================================ display type: Manrope, heavy and tight (as on ConvertFast) */
:root { --font-head: "Manrope", "Chivo", system-ui, sans-serif; }
.hv__title { font-family: var(--font-head) !important; font-weight: 800 !important; letter-spacing: -0.055em !important; line-height: .98 !important;
  font-size: clamp(44px, 3.6vw + 12px, 76px) !important; }
.hv__panel { padding: .04em .26em .1em; border-radius: .2em; background: linear-gradient(135deg, #1b1f2a 0%, #0b0d12 100%); }
.hv__rot em { color: #a9c1ff; }
.hv__copy .hero__lead { font-family: var(--font-head); font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
:is(.fx-intro h2, #demo-h, #privacy-h, #download-h, #questions-h, #close-h) { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.045em; }

/* ================================================================ the primary action: ink instead of bright blue */
.btn--primary { background: linear-gradient(135deg, #2a2e3a 0%, #0d0f14 100%) !important; color: #fff !important; border: 0;
  box-shadow: 0 14px 30px -16px rgb(13 15 20 / .6), inset 0 0 0 1px rgb(255 255 255 / .12); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.btn--primary:hover { filter: brightness(1.18); transform: translateY(-1px); box-shadow: 0 18px 34px -16px rgb(13 15 20 / .7), inset 0 0 0 1px rgb(255 255 255 / .16); }
html[data-theme="dark"] .btn--primary, .ground-inverse .btn--primary { background: linear-gradient(135deg, #ffffff 0%, #dfe3ea 100%) !important; color: #0d0f14 !important;
  box-shadow: 0 14px 30px -16px rgb(0 0 0 / .7), inset 0 0 0 1px rgb(0 0 0 / .06); }
html[data-theme="dark"] .ground-inverse .btn--primary { background: linear-gradient(135deg, #2a2e3a 0%, #0d0f14 100%) !important; color: #fff !important; }

/* ================================================================ footer: grows with its content, so the name never sits on the links */
footer.closing { height: auto !important; min-height: 0 !important; max-height: none !important; }
footer.closing > .wrap { grid-template-rows: auto auto !important; height: auto !important; }
.close__word { margin-top: var(--s-6); }

/* mid-width screens: the nav keeps its main links clear of the buttons (Questions stays in the footer) */
@media (min-width: 1024px) and (max-width: 1240px) { .nav__links > .nav__item:last-child { display: none; } }

/* launch price: the usual figure struck through, the launch figure beside it */
s.was { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); font-weight: 400; margin-right: 4px; }
.card--plan .plan__price { flex-wrap: wrap; row-gap: 2px; }
.card--plan .plan__price s.was { font-size: .55em; }
.card--plan .plan__launch { margin: 8px 0 0; font: 600 13px/1.3 var(--font-text); letter-spacing: .02em; color: #1f8a5b; }
[data-theme="dark"] .card--plan .plan__launch { color: #5fd39a; }

/* Questions: 13 collapsible answers outgrow one screen, so the section grows with them instead of
   running under the footer */
main > section#questions { height: auto; min-height: 100vh; min-height: 100svh; }
main > section#questions > .wrap { height: auto; }

.trial-form { display: grid; gap: var(--s-2); margin-top: var(--s-5); }
.trial-form .dl-row { margin-top: var(--s-2); }
.trial-form__input { font: inherit; padding: .7em .9em; border-radius: 10px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); background: transparent; color: inherit; width: 100%; }
.trial-form__input:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.trial-form__msg:empty { display: none; }

.trial-form .btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }
