/* CloakSnap site: page CSS for what sits inside a visual (the panic demo, the settings window, the
   feature fragments, the privacy report), the plan toggles and the self-hosted fonts. Everything
   else comes from the kit (system.css, layout.css, cards.css, motion.css). */

/* ---------------------------------------------------------------- fonts (self-hosted, latin) */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/plexsans-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/plexmono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/plexmono-500-latin.woff2") format("woff2"); }

/* Chinese reads in the system's CJK face; Plex keeps the Latin letters and digits */
:root:lang(zh-Hans) { --display-tracking: -0.01em; --display-tracking-xl: -0.015em; }
:root:lang(zh-Hans) .hero h1 { line-height: 1.12; }
/* a CJK phrase that should not break inside (zh headings) */
.kw { display: inline-block; }

/* ---------------------------------------------------------------- nav: the language switch */
.lang-switch { font: inherit; background: none; border: 0; padding: 0 var(--s-2); min-height: 44px; cursor: pointer; }

/* ---------------------------------------------------------------- the panic demo (hero) */
.pd {
  --pd-bar: clamp(18px, 4.2cqi, 26px);
  --pd-font: clamp(8px, 1.95cqi, 13px);
  container-type: size;
  color: #fff; line-height: 1.35;
  background: #1d2b3a; user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.pd > * { font-size: var(--pd-font); }
.pd__layer { position: absolute; inset: 0; }
.pd__wall {
  background:
    radial-gradient(60cqi 50cqh at 18% 22%, #f3b26b 0%, transparent 60%),
    radial-gradient(70cqi 60cqh at 85% 30%, #e0714f 0%, transparent 62%),
    radial-gradient(90cqi 70cqh at 50% 110%, #2a6f6a 0%, transparent 70%),
    linear-gradient(180deg, #f08a5d 0%, #b9544a 42%, #2f4858 100%);
}
.pd__curtain {
  opacity: 0; transition: opacity .3s ease;
  background:
    radial-gradient(80cqi 60cqh at 70% 0%, rgb(117 219 168 / .22), transparent 70%),
    linear-gradient(165deg, #172a3d 0%, #13303a 55%, #18523f 100%);
}
.pd[data-state="on"] .pd__curtain { opacity: 1; }

.pd__bar {
  position: absolute; inset: 0 0 auto 0; height: var(--pd-bar); z-index: 6;
  display: flex; align-items: center; justify-content: space-between; padding: 0 2.4cqi;
  background: rgb(20 24 30 / .42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pd__menu { display: flex; gap: 2.2cqi; align-items: center; white-space: nowrap; }
.pd__menu b { font-weight: 600; }
.pd__notch { position: absolute; left: 50%; top: 0; width: 19cqi; height: calc(var(--pd-bar) + 2px); transform: translateX(-50%);
  background: #000; border-radius: 0 0 1.6cqi 1.6cqi; }
.pd__status { display: flex; align-items: center; gap: 1.8cqi; }
.pd__shield { width: calc(var(--pd-bar) * .62); height: calc(var(--pd-bar) * .62); display: block; color: rgb(255 255 255 / .85); transition: color .2s; }
.pd[data-state="on"] .pd__shield { color: #75dba8; }

/* desktop files, right column */
.pd__files { position: absolute; z-index: 1; right: 2.6cqi; top: calc(var(--pd-bar) + 21cqh); margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(2, 15cqi); gap: 2.4cqh 2cqi; transition: opacity .3s; }
.pd__file { display: grid; justify-items: center; gap: .8cqi; text-align: center; }
.pd__doc { width: 7.2cqi; height: 9cqi; border-radius: .6cqi; position: relative; background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / .3); }
.pd__doc::after { content: ""; position: absolute; left: 18%; right: 18%; top: 34%; height: 34%;
  background: repeating-linear-gradient(180deg, var(--pd-doc, #2b6cd8) 0 10%, transparent 10% 25%); opacity: .7; }
.pd__doc--xls { --pd-doc: #1f8a4c; }
.pd__doc--png { background: linear-gradient(135deg, #8fd3f4, #2a6f6a); }
.pd__doc--png::after { display: none; }
.pd__fname { font-size: max(7px, .92em); line-height: 1.2; padding: .2em .4em; border-radius: .4em; background: rgb(0 0 0 / .5);
  overflow-wrap: anywhere; max-width: 15cqi; }

/* the editor window: drag its title bar; its masks ride along */
.pd__win { position: absolute; z-index: 3; left: 4.5cqi; top: calc(var(--pd-bar) + 15cqh); width: min(60cqi, 420px);
  background: #1e1f24; border: 1px solid rgb(255 255 255 / .1); border-radius: 1.6cqi; overflow: hidden;
  box-shadow: 0 18px 50px rgb(0 0 0 / .45), 0 2px 6px rgb(0 0 0 / .3); touch-action: none; }
.pd__winbar { display: flex; align-items: center; gap: 1cqi; padding: 1.4cqi 2cqi; background: #2a2b31; cursor: grab; }
.pd__winbar:active { cursor: grabbing; }
.pd__lights { display: flex; gap: .9cqi; }
.pd__lights i { width: 1.7cqi; height: 1.7cqi; border-radius: 50%; background: #ff5f57; }
.pd__lights i:nth-child(2) { background: #febc2e; } .pd__lights i:nth-child(3) { background: #28c840; }
.pd__wintitle { flex: 1; text-align: center; color: rgb(255 255 255 / .7); margin-right: 5cqi; }
.pd__code { margin: 0; padding: 2cqi 2.6cqi 2.6cqi; font: 400 1em/1.75 var(--font-mono); color: #d4d4d4; white-space: pre; overflow: hidden; }
.pd__code .k { color: #9cdcfe; } .pd__code .c { color: #6a9955; } .pd__code .v { color: #ce9178; }
.pd__secret { position: relative; display: inline-block; }
.pd__secret::after {
  content: ""; position: absolute; inset: -.15em -.3em -.15em -.05em; border-radius: .35em; opacity: 0; transform: scaleX(.6); transform-origin: left;
  background: #0b1520 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2375dba8' d='M5 7V5a3 3 0 0 1 6 0v2h.5A1.5 1.5 0 0 1 13 8.5v4A1.5 1.5 0 0 1 11.5 14h-7A1.5 1.5 0 0 1 3 12.5v-4A1.5 1.5 0 0 1 4.5 7H5Zm1.5 0h3V5a1.5 1.5 0 0 0-3 0v2Z'/%3E%3C/svg%3E") no-repeat .4em 50% / 1em;
  border: 1px solid rgb(117 219 168 / .45); transition: opacity .18s ease, transform .22s cubic-bezier(.2,.8,.2,1);
}
.pd[data-state="on"] .pd__secret::after { opacity: 1; transform: none; }
.pd[data-state="on"] .pd__secret:nth-of-type(2)::after { transition-delay: .06s; }

/* the chat banner, top right */
.pd__banner { position: absolute; z-index: 4; right: 2.4cqi; top: calc(var(--pd-bar) + 1.6cqi); width: min(46cqi, 300px);
  display: grid; grid-template-columns: auto 1fr; gap: .6em 1em; align-items: start; padding: 1.1em 1.2em;
  border-radius: 1.2em; background: rgb(245 245 247 / .94); color: #1c1c1e; box-shadow: 0 10px 30px rgb(0 0 0 / .28);
  transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.pd__banner img { width: 2.6em; height: 2.6em; grid-row: span 2; }
.pd__banner b { font-weight: 600; display: flex; justify-content: space-between; gap: 1em; }
.pd__banner b small { font-weight: 400; color: #6b6b70; font-size: .9em; }
.pd__banner p { margin: 0; }
.pd.is-ready .pd__banner { animation: pd-banner-in .45s .9s both cubic-bezier(.2,.8,.2,1); }
@keyframes pd-banner-in { from { opacity: 0; transform: translateX(110%); } }
.pd[data-state="on"] .pd__banner { opacity: 0; transform: translateX(40%); pointer-events: none; animation: none; }

/* Ghost Notes under the notch: the presenter reads it, the share never shows it */
.pd__note { position: absolute; z-index: 5; left: 50%; top: calc(var(--pd-bar) + 1.4cqi); width: min(44cqi, 300px);
  transform: translate(-50%, -30%); opacity: 0; transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1);
  padding: 1em 1.2em; border-radius: 1.1em; background: rgb(12 18 26 / .78); border: 1px solid rgb(117 219 168 / .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pd__note ol { margin: 0; padding-left: 1.3em; display: grid; gap: .25em; }
.pd__note-tag { display: flex; align-items: center; gap: .5em; margin-bottom: .5em; color: #75dba8; font-size: .9em; }
.pd__note-tag::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: #75dba8; }
.pd[data-state="on"] .pd__note { opacity: 1; transform: translate(-50%, 0); }
.pd[data-state="on"] .pd__files { opacity: 0; }

/* the emerald sweep when the shield turns on */
.pd__sweep { position: absolute; inset: 0; z-index: 7; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 3px #75dba8, inset 0 0 40px rgb(117 219 168 / .45); opacity: 0; }
.pd.is-flash .pd__sweep { animation: pd-sweep .6s ease-out; }
@keyframes pd-sweep { 0% { opacity: 1; } 100% { opacity: 0; } }

/* the control card (the hero's float card) */
.pd .ly-float { z-index: 8; }
.pd__toggle { margin-top: var(--s-3); width: 100%; justify-content: center; }
.pd__keys { font-family: var(--font-mono); font-size: var(--t-label); color: var(--muted); }
.pd .ly-live.is-off::before { background: #c4553a; }

@media (max-width: 1023px) {
  .pd .ly-float { width: min(280px, calc(100% - 2 * var(--s-4))); left: var(--s-4); bottom: var(--s-4); padding: var(--s-3); }
}
@media (max-width: 639px) {
  .pd__files { grid-template-columns: repeat(2, 17cqi); top: calc(var(--pd-bar) + 8cqh); }
  .pd__file:nth-child(n+5) { display: none; }
  .pd__win { top: calc(var(--pd-bar) + 10cqh); width: 64cqi; }
  .pd__code { line-height: 1.6; }
  .pd__note { width: 58cqi; }
  .pd .ly-float { width: auto; right: var(--s-3); left: var(--s-3); bottom: var(--s-3); grid-template-columns: 1fr auto; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); }
  .pd .ly-float__title { display: none; }
  .pd__toggle { margin-top: 0; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pd *, .pd *::after { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------------------- the settings window (app-frame) */
.app.ui { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); margin-top: var(--s-7); background: var(--u-bg);
  border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow, 0 20px 50px rgb(20 35 51 / .12));
  overflow: hidden; --fx-bg: #ffffff; --fx-ink: #142333; --fx-muted: #5a6672; --fx-accent: #0e7a56; --fx-accent-ink: #ffffff;
  font-size: 13px; color: var(--u-ink); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
.sw__bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--u-line); }
.sw__bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.sw__bar i:nth-child(2) { background: #febc2e; } .sw__bar i:nth-child(3) { background: #28c840; }
.sw__bar span { margin-left: 12px; font-weight: 600; }
.app__pane--list { background: var(--u-fill); }
.sw__side { list-style: none; margin: 0; padding: 12px 10px; display: grid; gap: 2px; }
.sw__side li { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 8px; color: var(--u-text-2); }
.sw__side li svg { width: 16px; height: 16px; flex: none; color: var(--u-muted); }
.sw__side li.is-on { background: var(--u-tint-2); color: var(--u-ink); font-weight: 500; }
.sw__side li.is-on svg { color: var(--u-accent-text); }
.sw__open { padding: 20px 28px; display: grid; gap: 18px; align-content: start; }
.sw__seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 9px; background: var(--u-fill-2); justify-self: start; }
.sw__seg span { padding: 6px 14px; border-radius: 7px; color: var(--u-text-2); white-space: nowrap; }
.sw__seg span.is-on { background: var(--u-bg); color: var(--u-ink); font-weight: 500; box-shadow: 0 1px 2px rgb(0 0 0 / .1); }
.sw__hint { margin: -6px 0 0; color: var(--u-muted); font-size: 12px; }
.sw__group { display: grid; gap: 0; border: 1px solid var(--u-line); border-radius: 10px; }
.sw__group > h4 { margin: 0; padding: 10px 14px 6px; font-size: 12px; font-weight: 600; color: var(--u-muted); }
.sw__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 0 14px; border-top: 1px solid var(--u-line); }
.sw__group > h4 + .sw__row { border-top: 0; }
.sw__row > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sw__row img { width: 20px; height: 20px; object-fit: contain; }
.sw__tag { font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--u-tint); color: var(--u-accent-text); font-weight: 500; }
.sw__sw { width: 30px; height: 18px; border-radius: 99px; background: var(--u-fill-3); position: relative; flex: none; }
.sw__sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25); }
.sw__sw.is-on { background: var(--u-accent); }
.sw__sw.is-on::after { left: 14px; }
.sw__chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px 14px 12px; }
.sw__chips span { padding: 4px 10px; border-radius: 7px; border: 1px solid var(--u-line-2); color: var(--u-text-2); }
.sw__chips span.is-on { border-color: transparent; color: var(--u-ink); font-weight: 500; background: var(--u-bg); box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 0 0 1px var(--u-line-2); }
@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: 168px; }
  .app > .app__pane--list::after { display: none; }
  .sw__side { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@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; }
  .sw__open { padding: 16px; }
}

/* ---------------------------------------------------------------- the menu-bar popover (#tools) */
/* the words column is a subgrid of the page's 12 columns, so the stats' second column starts on a page column */
.tools__text { display: grid; grid-template-columns: subgrid; row-gap: var(--s-5); align-content: start; }
.tools__text > * { grid-column: 1 / -1; }
.tools__text .stats { margin-top: var(--s-6); display: grid; grid-template-columns: subgrid; row-gap: var(--s-6); }
.tools__text .stats > .stat:nth-child(odd) { grid-column: 1 / span 2; }
.tools__text .stats > .stat:nth-child(even) { grid-column: 3 / -1; }
@media (max-width: 1023px) {
  .tools__text .stats > .stat:nth-child(odd) { grid-column: 1 / span 6; }
  .tools__text .stats > .stat:nth-child(even) { grid-column: 7 / -1; }
}
#tools .stats > div { flex-direction: column; }
.tools__frame { min-height: 560px; }
.pop.ui { --fx-bg: #fbfcfc; --fx-ink: #142333; --fx-muted: #5a6672; --fx-accent: #0e7a56; --fx-accent-ink: #fff;
  width: min(360px, 100%); display: grid; gap: 12px; padding: 14px; border-radius: 14px; background: var(--u-bg); color: var(--u-ink);
  border: 1px solid var(--u-border); box-shadow: 0 24px 60px rgb(20 35 51 / .18), 0 2px 6px rgb(20 35 51 / .08); font-size: 13px; }
.pop__head { display: flex; align-items: center; gap: 8px; }
.pop__head b { font-weight: 600; }
.pop__badge { font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--u-tint); color: var(--u-accent-text); font-weight: 500; }
.pop__gear { width: 16px; height: 16px; margin-left: auto; color: var(--u-muted); }
.pop__shield { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px; border-radius: 11px;
  background: var(--u-accent); color: var(--u-accent-ink); }
.pop__shield > svg { width: 26px; height: 26px; color: #b9f0d4; }
.pop__shield b { display: block; font-size: 14px; font-weight: 600; }
.pop__shield small { display: block; font-size: 11.5px; opacity: .92; line-height: 1.35; margin-top: 2px; }
.pop__shield kbd { font: 500 11px/1 var(--font-mono); padding: 4px 6px; border-radius: 6px; background: rgb(255 255 255 / .18); }
.pop__seg { display: grid; grid-template-columns: repeat(3, auto); padding: 3px; gap: 2px; border-radius: 9px; background: var(--u-fill-2); }
.pop__seg span { text-align: center; padding: 6px 6px; border-radius: 7px; color: var(--u-text-2); white-space: nowrap; font-size: 12px; }
.pop__seg span.is-on { background: var(--u-bg); color: var(--u-ink); font-weight: 500; box-shadow: 0 1px 2px rgb(0 0 0 / .1); }
.pop__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pop__tile { display: grid; gap: 2px; padding: 12px; border-radius: 11px; background: var(--u-fill); border: 1px solid var(--u-line); }
.pop__tile svg { width: 20px; height: 20px; margin-bottom: 6px; color: var(--u-muted); }
.pop__tile b { font-weight: 600; }
.pop__tile small { color: var(--u-muted); font-size: 11.5px; }
.pop__tile.is-on { background: var(--u-tint); border-color: color-mix(in oklab, var(--u-accent) 35%, transparent); }
.pop__tile.is-on svg { color: var(--u-accent-text); }
.pop__foot { display: flex; gap: 14px; padding-top: 10px; border-top: 1px solid var(--u-line); color: var(--u-text-2); font-size: 12px; }
.pop__foot span:last-child { margin-left: auto; }
@media (max-width: 1023px) { .tools__frame { min-height: 0; margin-top: var(--s-6); } }

/* ---------------------------------------------------------------- feature fragments (bento) */
:is(#features, #extras) .panel { --p-h: 336px; position: relative; overflow: hidden; }
@media (max-width: 639px) { :is(#features, #extras) .panel { --p-h: 220px; } }
/* 640-1279 the feature cards stack (span-8 and span-4 take the row; three span-4 go two, then one): two screens */
@media (min-width: 640px) and (max-width: 1279px) { #extras { --h: 2; } }
/* a phone: the #features pair in one screen on shorter panels, the three #extras cards filling two */
@media (max-width: 639px) { #features .panel { --p-h: 140px; } #extras .panel { --p-h: 270px; } }
.fr { position: absolute; font-size: 13px; color: #142333; }
/* masks: a terminal with the auto-redacted lines */
.fr-term { left: 40px; top: 40px; right: -24px; bottom: -24px; background: #15181d; color: #d4d4d4; border-radius: 12px 0 0 0;
  border: 1px solid rgb(255 255 255 / .08); font: 400 13px/1.8 var(--font-mono); padding: 14px 20px; white-space: pre; }
.fr-term .p { color: #75dba8; } .fr-term .k { color: #9cdcfe; } .fr-term .c { color: #7d8590; }
.fr-mask { max-width: calc(100% - 17ch); display: inline-block; vertical-align: -3px; height: 1.25em; border-radius: 4px; background: #0b1520; border: 1px solid rgb(117 219 168 / .5); position: relative; }
.fr-mask::before { content: ""; position: absolute; left: 6px; top: 50%; width: 10px; height: 10px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2375dba8' d='M5 7V5a3 3 0 0 1 6 0v2h.5A1.5 1.5 0 0 1 13 8.5v4A1.5 1.5 0 0 1 11.5 14h-7A1.5 1.5 0 0 1 3 12.5v-4A1.5 1.5 0 0 1 4.5 7H5Zm1.5 0h3V5a1.5 1.5 0 0 0-3 0v2Z'/%3E%3C/svg%3E") no-repeat center / contain; }
.fr-chip { position: absolute; right: 48px; top: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border-radius: 99px; background: #fff; color: #142333; font: 500 13px/1.2 var(--font-text); box-shadow: 0 6px 20px rgb(0 0 0 / .25); }
.fr-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #0e7a56; }
/* curtain: a small desktop, windows on top, the files under the curtain */
.fr-desk { inset: 32px 32px -1px 32px; border-radius: 10px 10px 0 0; overflow: hidden;
  background: linear-gradient(165deg, #172a3d 0%, #13303a 55%, #18523f 100%); }
.fr-desk__bar { height: 18px; background: rgb(0 0 0 / .25); }
.fr-desk__win { position: absolute; left: 12%; top: 26%; width: 62%; height: 64%; border-radius: 8px; background: #fff;
  box-shadow: 0 10px 30px rgb(0 0 0 / .35); padding: 10px 12px; display: grid; gap: 7px; align-content: start; }
.fr-desk__win i { display: block; height: 8px; border-radius: 4px; background: #e3e8ec; }
.fr-desk__win i:nth-child(1) { width: 40%; background: #142333; opacity: .8; }
.fr-desk__win i:nth-child(3) { width: 80%; } .fr-desk__win i:nth-child(5) { width: 60%; }
.fr-desk__tag { position: absolute; right: 14px; bottom: 16px; z-index: 2; padding: 4px 10px; border-radius: 99px; background: rgb(11 21 32 / .78); color: #d8efe4; font-size: 13px; }
/* ghost notes: the notch, the note, the self-check result */
.fr-notch { left: 50%; top: 0; width: 150px; height: 26px; transform: translateX(-50%); background: #000; border-radius: 0 0 14px 14px; }
.fr-note { left: 50%; top: 40px; width: min(280px, calc(100% - 48px)); transform: translateX(-50%); padding: 12px 14px; border-radius: 12px;
  background: #0f1720; color: #e9f3ee; border: 1px solid rgb(117 219 168 / .35); display: grid; gap: 4px; font-size: 13px; }
.fr-note b { color: #75dba8; font-weight: 500; }
.fr-check { left: 50%; bottom: 28px; transform: translateX(-50%); width: min(280px, calc(100% - 48px)); display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgb(20 35 51 / .14); font-size: 13px; }
.fr-check svg { width: 18px; height: 18px; flex: none; color: #0e7a56; }
/* spotlight: the dimmed screen, the lit circle, the keystroke display */
.fr-spot { inset: 0; background: radial-gradient(circle 86px at 38% 46%, transparent 0 84px, rgb(8 12 18 / .72) 86px),
  repeating-linear-gradient(180deg, #dfe6ea 0 10px, #f3f6f7 10px 26px); }
.fr-cursor { left: calc(38% - 2px); top: calc(46% - 2px); width: 18px; height: 22px; }
.fr-keys { left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 6px; padding: 8px 10px; border-radius: 12px; background: rgb(20 24 30 / .82); }
.fr-keys kbd { min-width: 30px; height: 30px; display: grid; place-items: center; padding: 0 8px; border-radius: 7px; background: #2c3139; color: #fff;
  font: 500 14px/1 var(--font-text); box-shadow: inset 0 -2px 0 rgb(0 0 0 / .35); }
/* the chat apps hub diagram fills its panel */
#extras .panel > .dg { position: absolute; inset: 0; }

/* ---------------------------------------------------------------- privacy report (dark band) */
.pr.ui { --fx-bg: #1b2a39; --fx-ink: #f6f8f7; --fx-muted: #a3adb6; --fx-accent: #75dba8; --fx-accent-ink: #142333;
  border-radius: var(--r-lg); background: var(--u-bg); border: 1px solid var(--u-border); color: var(--u-ink); font-size: 14px; overflow: hidden; }
.pr__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--u-line); font-weight: 500; }
.pr__head span { color: var(--u-muted); font-weight: 400; font-size: 13px; }
.pr__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--u-line); }
.pr__row:last-child { border-bottom: 0; }
.pr__row small { display: block; color: var(--u-muted); font-size: 13px; margin-top: 2px; }
.pr__state { font-size: 13px; padding: 3px 10px; border-radius: 99px; background: var(--u-tint); color: var(--u-accent); white-space: nowrap; }
.pr__state--net { background: transparent; border: 1px solid var(--u-line-2); color: var(--u-ink); }
.pr__check { display: flex; align-items: center; gap: 12px; margin-top: var(--s-5); padding: 14px 20px; border-radius: var(--r-md);
  background: #1b2a39; border: 1px solid rgb(117 219 168 / .35); color: #f6f8f7; font-size: 14px; }
.pr__check svg { width: 20px; height: 20px; color: #75dba8; flex: none; }

/* ---------------------------------------------------------------- pricing */
.plan-switch { display: inline-flex; padding: 3px; border-radius: var(--r-btn, 999px); background: var(--surface); gap: 2px; }
.plan-switch button { font: 500 var(--t-small)/1 var(--font-text); color: var(--muted); background: none; border: 0; min-height: 44px; padding: 0 var(--s-4);
  border-radius: inherit; cursor: pointer; }
.plan-switch button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgb(20 35 51 / .12); }
.plan-switches { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.price s { color: var(--muted); font-size: var(--t-body); }
.price__once { color: var(--muted); font-size: var(--t-small); }
.site-toast { min-height: 1.5em; margin: 0; font-size: var(--t-small); color: var(--ink); }
.site-toast:empty { display: none; }

/* a phone: the three stacked feature cards and the two price cards each take two whole screens; a split
   (#tools, #privacy, #faq: .g2m) gives its words one screen and its picture or list the next */
@media (max-width: 639px) {
  #extras, #pricing { --hm: 2; }
  .g2m > .wrap > .grid { display: contents; }
  .g2m > .wrap > .grid > * { grid-column: 1 / -1; }
  .tools__text { grid-template-columns: minmax(0, 1fr); }
  .tools__text .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
  .tools__text .stats > .stat:nth-child(n) { grid-column: auto; }
}
/* words a phone's header button drops ("Download CloakSnap" becomes "Download") */
@media (max-width: 639px) { .hide-phone { display: none; } }

/* the figure and its label: room between them */
.tools__text .stat { gap: var(--s-3); }

/* the plan cards open with the app's icon */
.plan__name { display: flex; align-items: center; gap: 12px; }
.plan__name img { width: 40px; height: 40px; flex: none; }

/* #faq: the support address under the intro */
.faq__mail { display: flex; align-items: center; gap: 14px; }
.faq__mail img { width: 48px; height: 48px; flex: none; }
.faq__mail span { display: grid; gap: 2px; }
.faq__mail small { color: var(--muted); font-size: var(--t-small, 14px); }

/* the footer at the upright tablet: the name and lede on a row, the three columns across the next */
@media (min-width: 640px) and (max-width: 1023px) {
  .closing__links > .grid > .footer__col { grid-column: auto / span 4; }
}

/* the close's name: its glyphs stand above its .86 line; nothing to clip across (the name fits the .wrap) */
.close__word { overflow: visible; padding-bottom: .22em; }   /* Plex's glyph box runs .22em under the .86 line */
/* a phone: the settings mock ends on a whole row (the apps to Telegram), never on half of one */
@media (max-width: 639px) {
  .sw__open > .sw__group:nth-of-type(3) > .sw__row:nth-of-type(n+4), .sw__open > .sw__group:nth-of-type(n+4) { display: none; }
  #pricing .grid { row-gap: 72px; }
  #pricing .card--plan { padding: 28px 24px; }
}
/* a link inside running text stays on one line (its box never spans the paragraph) */
p > a.link { white-space: nowrap; }
@media (max-width: 639px) {
  /* the settings mock on a phone: no hint line, the profile switch in smaller type */
  .sw__hint { display: none; }
  .sw__seg span { padding: 5px 9px; font-size: 12px; }
  /* the answers in small type, so the list takes one screen */
  .faq__item p { font-size: 15px; line-height: 1.5; }
}
/* the plan cards lift 2px on hover like the page's other cards (the Free card holds the download link) */
@media (hover: hover) and (pointer: fine) {
  html:not([data-motion="off"]) .card--plan { transition: transform 180ms var(--m-ease, ease), box-shadow 180ms var(--m-ease, ease); }
  html:not([data-motion="off"]) .card--plan:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -18px rgb(20 35 51 / .35); }
}
@media (max-width: 639px) { .close__word { font-size: 56px; } }
