/* barshift.app – design system "Exploded View", round 2: a lit drafting table at night. The product is
   drawn on the table; reading content lies on it as paper sheets; profiles are fields of their own colour;
   the bookmark bar's colour strip is the one recurring signature. */

@font-face { font-family: "Mona Sans"; src: url(/assets/fonts/mona-sans.woff2) format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
@property --c { syntax: "<color>"; inherits: true; initial-value: #2563eb; }
@property --fan { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
  --table: #0d2748; --cyan: #173c6b; --cyan-deep: #12325a; --cyan-ink: #0a1f3a;
  --paper: #f6f8fb; --paper-2: #eaeff6; --paper-3: #dde5ef; --white: #fff;
  --ink: #0f2340; --ink-2: #3b4b63; --ink-3: #56667e;
  --mist: #c9d6ea; --rule: rgba(15, 35, 64, .12); --sheet-rule: rgba(214, 228, 255, .16);
  --signal: #ffe9a8;
  --profile: #14b8a6;
  --out: cubic-bezier(.16, 1, .3, 1); --inout: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 72px; --gutter: 48px; --max: 1240px; --inset: clamp(8px, 2vw, 28px); --r-sheet: 12px;
  --lift: 0 1px 2px rgba(15, 35, 64, .1), 0 12px 28px rgba(15, 35, 64, .12);
  --lift-deep: 0 2px 4px rgba(4, 16, 38, .18), 0 30px 70px rgba(4, 16, 38, .32);
  --display: 600 clamp(40px, 4.1vw, 62px)/1 "Mona Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--table); color: var(--ink); scroll-padding-top: calc(var(--nav-h) + 16px); scrollbar-color: #5f7aa0 var(--table); }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
body { margin: 0; background: var(--table); font: 400 17px/1.6 "Mona Sans", system-ui, sans-serif; font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.on-sheet :focus-visible, .on-table :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .story :focus-visible, .trust :focus-visible, .final :focus-visible, .doc-hero :focus-visible { outline-color: var(--signal); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--signal); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

/* ---------- the table: light, a receding floor grid and registration marks instead of a flat grid ---------- */
.table-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background: radial-gradient(ellipse 52% 46% at 62% 60%, rgba(78, 140, 222, .34), transparent 72%), radial-gradient(ellipse 70% 55% at 12% 0%, rgba(42, 92, 154, .55), transparent 70%), linear-gradient(180deg, #11305a 0%, #173c6b 48%, var(--table) 100%); }
.table-bg i { position: absolute; display: block; }
.stage .t-floor { bottom: 9%; height: 80%; }
/* where the floor meets the horizon, a soft band of light */
.table-bg::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 220px; background: radial-gradient(ellipse 46% 50% at 50% 50%, rgba(120, 175, 255, .14), transparent 72%); }
.t-floor { left: -40%; right: -40%; bottom: -2%; height: 92%; transform-origin: 50% 100%; transform: perspective(760px) rotateX(68deg);
  background-image: linear-gradient(rgba(214, 228, 255, .26) 1px, transparent 1px), linear-gradient(90deg, rgba(214, 228, 255, .26) 1px, transparent 1px); background-size: 80px 80px; background-position: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.75) 35%, transparent 88%); mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.75) 35%, transparent 88%); }
.t-light { left: 18%; top: 22%; width: 64%; height: 62%; background: radial-gradient(closest-side, rgba(140, 190, 255, .16), transparent); transform: translate3d(calc(var(--gx, 0px) * -2), calc(var(--gy, 0px) * -1.5), 0); }
.t-marks { inset: 0; background: url(/assets/img/marks.svg) 50% 50% / 192px 192px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 55% 52%, transparent 34%, #000 82%); mask-image: radial-gradient(ellipse 72% 62% at 55% 52%, transparent 34%, #000 82%); }

/* ---------- buttons ---------- */
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 10px; font: 600 16px "Mona Sans", sans-serif; font-stretch: 105%; text-decoration: none; cursor: pointer; transition: transform .3s var(--out), box-shadow .3s var(--out), background-color .3s, color .3s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 8px 22px rgba(15, 35, 64, .22); }
/* the primary call to action carries the bar's colour strip, like the bookmark bar in the demo */
.button-primary::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--profile); opacity: .9; transform: scaleX(.35); transition: transform .5s var(--out), background-color .6s var(--out); }
.button-primary:hover::after, .button-primary:focus-visible::after { transform: scaleX(1); }
.on-sheet .button-primary, .on-table .button-primary, .site-header .button-primary, .site-footer .button-primary, .story .button-primary, .final .button-primary, .doc-hero .button-primary, .trust .button-primary { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 10px 28px rgba(3, 14, 34, .38); }
.site-header .button-primary::after { bottom: 4px; }
.button-quiet { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.button-quiet:hover { box-shadow: inset 0 0 0 1.5px currentColor, 0 8px 20px rgba(4, 16, 38, .14); }
.cta-note { color: var(--ink-3); font-size: 15px; }
.on-sheet .cta-note, .story .cta-note { color: var(--mist); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--table); color: var(--white); box-shadow: 0 1px 0 rgba(214, 228, 255, .08); }
.nav { display: flex; align-items: center; gap: 36px; height: var(--nav-h); padding: 0 var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-stretch: 110%; font-size: 19px; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav-menu { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.nav-links a { position: relative; color: var(--mist); text-decoration: none; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--profile); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--out); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav .button { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; margin: auto; background: currentColor; border-radius: 2px; transition: transform .3s var(--out), opacity .2s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- footer: still on the table, edged with the 11 profile colours ---------- */
.site-footer { position: relative; background: var(--cyan-ink); color: var(--mist); padding: 0 var(--gutter) 40px; }
.strip11 { display: flex; height: 3px; margin: 0 calc(var(--gutter) * -1) 72px; }
.strip11 i { flex: 1; background: var(--c); transform-origin: 50% 100%; transition: transform .4s var(--out); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; max-width: var(--max); margin: 0 auto; }
.footer-brand .brand { color: var(--white); font-size: 22px; }
.footer-brand .brand img { width: 34px; height: 34px; }
.footer-brand p { max-width: 30em; margin: 16px 0 22px; font-size: 15px; }
.footer-brand .button { min-height: 44px; }
.footer-col h2 { margin: 4px 0 14px; color: var(--white); font-size: 15px; font-weight: 600; font-stretch: 108%; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.footer-col a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--out), color .2s; }
.footer-col a:hover { color: var(--white); background-size: 100% 1px; }
.footer-legal { max-width: var(--max); margin: 64px auto 0; padding-top: 22px; border-top: 1px solid var(--sheet-rule); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13.5px; }
.footer-legal p { margin: 0; }

/* ---------- sections, sheets and type ---------- */
.sec { position: relative; padding: 128px 0; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head h2, .doc h1, .final h2 { margin: 0 0 16px; font: var(--display); font-stretch: 112%; letter-spacing: -.034em; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 19px; }
.on-sheet { background: var(--cyan); color: var(--white); }
.on-sheet .sec-head p { color: var(--mist); }
.table-run { position: relative; padding: 64px 0 1px; background: radial-gradient(ellipse 60% 420px at 50% 300px, rgba(78, 140, 222, .26), transparent 72%), radial-gradient(ellipse 90% 40% at 50% 46%, rgba(42, 92, 154, .45), transparent 70%), var(--table); }
.table-run::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 640px; pointer-events: none; transform-origin: 50% 0; transform: perspective(760px) rotateX(-58deg); background-image: linear-gradient(rgba(214, 228, 255, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(214, 228, 255, .16) 1px, transparent 1px); background-size: 80px 80px; background-position: 50% 0; -webkit-mask-image: linear-gradient(transparent, #000 90px, rgba(0,0,0,.6) 45%, transparent 85%); mask-image: linear-gradient(transparent, #000 90px, rgba(0,0,0,.6) 45%, transparent 85%); }
/* everything below the story is skipped by the renderer until it nears the viewport; without this,
   scrolling through the pinned story paid for these sections on every frame */
.table-run > * { content-visibility: auto; contain-intrinsic-size: auto 1400px; }
.table-run > #features { contain-intrinsic-size: auto 3200px; }
.table-run > .sheet-read { contain-intrinsic-size: auto 2600px; }
/* a paper sheet laid on the table */
.sheet { position: relative; isolation: isolate; margin: 0 var(--inset) 22px; border-radius: var(--r-sheet); background: linear-gradient(180deg, #fbfcfe, var(--paper) 320px); color: var(--ink); box-shadow: 0 1px 0 #fff inset, 0 2px 3px rgba(3, 14, 34, .22), 0 9px 0 -4px #e3e9f1, 0 10px 4px -4px rgba(3, 14, 34, .3), 0 17px 0 -8px #d5dde8, 0 18px 5px -8px rgba(3, 14, 34, .3), 0 40px 90px rgba(3, 14, 34, .45); } /* the edges below are the next sheets in the stack */
.sheet::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(rgba(15, 35, 64, .09) 1px, transparent 1.3px) 0 0 / 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 420px at 88% 0, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 420px at 88% 0, #000, transparent 75%); }
.sheet + .sheet, .usecases + .sheet, .sheet + .usecases { margin-top: clamp(16px, 2.4vw, 32px); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* only sheets without in-page anchors land, and only by tilting about their top edge: a moving sheet would send anchor jumps short */
    #features.sheet, .deck { transform-origin: 50% 0; animation: sheet-land linear both; animation-timeline: view(); animation-range: entry 0px entry 520px; }
    .reveal, .feature, .lane, .faq-group, .perm, .trust-foot > * { animation: rise linear both; animation-timeline: view(); animation-range: entry 0px entry 260px; }
  }
}
@keyframes sheet-land { from { transform: perspective(1500px) rotateX(-11deg) scale(.98); } to { transform: none; } }
@keyframes rise { from { opacity: .25; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- story (home): pinned stage, CSS 3D camera ---------- */
.story { position: relative; height: 560vh; background: var(--table); color: var(--white); }
.stage { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); overflow: hidden; }
.stage .grid { position: absolute; inset: -10%; transform: translate3d(var(--gx, 0), var(--gy, 0), 0); }
.intro { position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); top: 34px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: 56px; align-items: end; }
.intro h1 { margin: 0; font: var(--display); font-stretch: 116%; letter-spacing: -.035em; }
.intro .lead { margin: 0 0 22px; color: var(--mist); font-size: 18px; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0; }
.viewport { position: absolute; inset: 0; perspective: 1700px; perspective-origin: 50% 42%; }
.camera { position: absolute; left: 50%; top: 50%; width: 1120px; height: 640px; margin: -320px 0 0 -560px; transform-style: preserve-3d; opacity: 0; transition: opacity .6s var(--out); }
.is-ready .camera { opacity: 1; }
.plane { position: absolute; transform-style: preserve-3d; }
.p-frame { left: 0; top: 0; width: 1120px; transform: translate3d(0, 0, calc(var(--e, 0) * 40px)); }
.p-page { left: 60px; top: 132px; width: 1000px; height: 470px; transform: translate3d(0, calc(var(--e, 0) * 26px), calc(var(--e, 0) * -300px)); }
.p-rail { left: 40px; top: 190px; width: 300px; transform: translate3d(calc(var(--e, 0) * -20px), calc(var(--e, 0) * 50px), calc(var(--e, 0) * -120px)); }
.p-popup { left: 780px; top: 178px; transform: translate3d(0, calc(var(--e, 0) * 40px), calc(var(--e, 0) * 170px)); }
#demo { --bsd-page-h: 0px; filter: drop-shadow(0 calc(10px + var(--e, 0) * 26px) calc(18px + var(--e, 0) * 30px) rgba(4, 16, 38, .38)); }
#demo .bsd-page { display: none; }
#demo .bsd-bar { position: relative; border-radius: 0 0 12px 12px; border-bottom: 0; height: 36px; }
#demo .bsd-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 0 0 12px 12px; background: var(--profile); transition: background .6s var(--out); }
.p-popup .bsd-popup { position: relative; top: 0; right: auto; --bsd-popup-scale: .8; border-radius: 10px; box-shadow: 0 2px 4px rgba(4,16,38,.2), 0 calc(20px + var(--e, 0) * 30px) calc(40px + var(--e, 0) * 40px) rgba(4, 16, 38, .45); }
.page-sheet { height: 100%; padding: 46px 64px; border: 1px solid rgba(214,228,255,.42); border-top: 0; border-radius: 0 0 12px 12px; background: rgba(214,228,255,.05); }
.page-sheet i { display: block; height: 11px; margin: 0 0 15px; border: 1px solid rgba(214,228,255,.32); border-radius: 6px; }
.page-sheet i.gap { margin-top: 34px; height: 22px; }
.page-sheet .w40 { width: 40%; } .page-sheet .w50 { width: 50%; } .page-sheet .w60 { width: 60%; } .page-sheet .w70 { width: 70%; } .page-sheet .w80 { width: 80%; } .page-sheet .w85 { width: 85%; } .page-sheet .w90 { width: 90%; }

/* Other bookmarks, drawn like Chrome's folder menu */
.rail { padding: 6px 0; background: var(--white); color: #1f1f1f; border-radius: 10px; font: 13px "Segoe UI", system-ui, sans-serif; box-shadow: 0 2px 4px rgba(4,16,38,.2), 0 24px 48px rgba(4, 16, 38, .4); }
.rail-head { display: flex; align-items: center; gap: 9px; margin: 0; padding: 8px 14px 6px; color: #5f6368; font-size: 12px; }
.rail svg { width: 16px; height: 16px; fill: #5f6368; flex: none; }
.rrow { display: flex; align-items: center; gap: 10px; padding: 8px 14px; transition: background .5s var(--out); }
.rrow small { margin-left: auto; color: #5f6368; font-variant-numeric: tabular-nums; }
.rrow.hot { background: color-mix(in srgb, var(--c) 16%, #fff); }
.rrow.hot svg { fill: var(--c); }
.rail-open { display: none; }

/* technical callouts */
.callouts { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; pointer-events: none; }
.callouts line, .callouts polyline { stroke: rgba(255,255,255,.85); stroke-width: 1.2; fill: none; }
.callouts circle { fill: var(--white); }
.callouts .halo { stroke: var(--cyan-deep); stroke-width: 4; fill: var(--cyan-deep); }
.callouts .tether { stroke-dasharray: 3 4; } .callouts .tether.halo { stroke-dasharray: none; fill: none; }
.labels { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.label { position: absolute; left: 0; top: 0; display: grid; gap: 2px; width: max-content; max-width: 250px; margin: 0; padding: 9px 13px 10px; border-radius: 8px; background: var(--cyan-deep); box-shadow: 0 0 0 1px rgba(214,228,255,.22), 0 10px 24px rgba(4,16,38,.35); font-size: 13.5px; line-height: 1.35; opacity: 0; transition: opacity .4s var(--out); }
.label strong { font-weight: 600; font-stretch: 108%; font-size: 15px; }
.label span { color: var(--mist); } .label span b { color: var(--white); font-weight: 600; }
.label.on { opacity: 1; }
.m-now { display: none; }

/* the sequence of a switch */
.steps { position: absolute; z-index: 8; left: var(--gutter); right: var(--gutter); bottom: 54px; height: 120px; margin: 0; padding: 0; list-style: none; counter-reset: s; pointer-events: none; } /* the empty band must not swallow clicks meant for the popup */
.step.on { pointer-events: auto; }
.step { position: absolute; inset: auto 0 0 0; display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 32px; row-gap: 2px; align-items: start; transform: translateY(14px); opacity: 0; visibility: hidden; transition: opacity .5s var(--out), transform .7s var(--out), visibility 0s .5s; }
.step.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--out), transform .8s var(--out); }
.step::before { counter-increment: s; content: counter(s) " / 4"; padding-top: 10px; color: var(--mist); font-size: 14px; font-variant-numeric: tabular-nums; }
.step h2 { margin: 0; font-weight: 620; font-stretch: 112%; font-size: 38px; line-height: 1.04; letter-spacing: -.03em; }
.step p { margin: 6px 0 14px; color: var(--mist); font-size: 17px; }
.step b { color: var(--white); font-weight: 600; }
.step .cta-row { grid-column: 3; }
.step-extra { display: none; }
.stage::after { content: ""; position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; height: 236px; background: linear-gradient(to bottom, color-mix(in srgb, var(--table) 0%, transparent), var(--table) 40px); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--out), transform .6s var(--out); pointer-events: none; }
.stage.is-story::after { opacity: 1; transform: none; }
/* short desktop screens: what runs past the stage sinks into the sheet instead of being sliced */
.stage::before { content: ""; position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 72px; background: linear-gradient(to bottom, color-mix(in srgb, var(--table) 0%, transparent), var(--table)); pointer-events: none; }
.progress { position: absolute; z-index: 8; left: var(--gutter); right: var(--gutter); bottom: 28px; height: 2px; margin: 0; background: rgba(214,228,255,.16); border-radius: 2px; overflow: hidden; }
.stage[data-step="4"] .progress { background: transparent; }
.progress span { display: block; height: 100%; background: var(--white); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); opacity: clamp(0, calc((1 - var(--p, 0)) * 12), 1); } /* the finished line fades so the story hands over to the table without a hard rule */
.demo-still { display: none; }
.no-js .viewport, .no-js .labels, .no-js .callouts { display: none; }
.no-js .demo-still { display: block; position: absolute; left: 50%; bottom: 40px; width: min(1000px, 90%); transform: translateX(-50%); border-radius: 12px; }

/* ---------- features: one sheet, four different working demonstrations ---------- */
.features { padding: 120px 0 72px; }
.feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; padding: 72px 0; border-top: 1px solid var(--rule); }
.feature-copy { position: sticky; top: calc(var(--nav-h) + 48px); padding-top: 12px; }
.feature:first-of-type { border-top: 0; padding-top: 8px; }
.feature.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.feature.flip > :first-child { order: 2; }
.feature h3 { margin: 0 0 14px; font-weight: 620; font-stretch: 110%; font-size: 34px; line-height: 1.08; letter-spacing: -.026em; }
.feature p { margin: 0 0 14px; max-width: 34em; color: var(--ink-2); }
.feature .note { color: var(--ink-3); font-size: 15px; }
.chrome-ui { font: 13px "Segoe UI", system-ui, sans-serif; color: #1f1f1f; }

/* save to another profile: the real "Choose a profile" capture becomes clickable */
.saver { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 20px 28px; align-items: center; padding: 28px; border-radius: 22px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule); }
.saver-tab { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--white); box-shadow: var(--lift); font: 13px "Segoe UI", system-ui, sans-serif; color: #1f1f1f; }
.saver-tab > span:nth-child(2) { display: grid; min-width: 0; }
.saver-tab small { color: #5f6368; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saver-fav { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #f1f3f4; flex: none; }
.saver-tab svg, .saver-chip svg { width: 16px; height: 16px; }
.saver-chip { display: none; }
.saver-chip.is-flying { position: absolute; left: 0; top: 0; z-index: 5; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--white); color: #1f1f1f; box-shadow: 0 10px 24px rgba(15, 35, 64, .28); font: 600 12.5px "Segoe UI", system-ui, sans-serif; pointer-events: none; white-space: nowrap; }
.saver-shot { margin: 0; justify-self: center; width: min(340px, 100%); }
.saver-img { position: relative; transform: perspective(1200px) rotateY(9deg) rotateX(2deg); transform-origin: 100% 50%; transition: transform .8s var(--out); }
.saver:hover .saver-img, .saver:focus-within .saver-img { transform: perspective(1200px) rotateY(3deg); }
.saver-img img { display: block; width: 100%; border-radius: 12px; box-shadow: 0 1px 2px rgba(15,35,64,.14), 0 30px 60px rgba(15, 35, 64, .24); }
.saver-shot.is-pulse .saver-img { animation: nudge .5s var(--out); }
@keyframes nudge { 40% { scale: .985; } }
.saver-hit { position: absolute; left: 7.8%; width: 84.4%; height: 7.8%; padding: 0; border: 0; border-radius: 9px; background: transparent; cursor: pointer; transition: box-shadow .25s var(--out), background-color .25s; }
.saver-hit:hover { box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 70%, transparent); }
.saver-hit:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.saver-hit.is-picked { background: color-mix(in srgb, var(--c) 12%, transparent); box-shadow: 0 0 0 2.5px var(--c); }
.saver-shot figcaption { margin-top: 14px; color: var(--ink-3); font-size: 14px; text-align: center; }
.saver-folders { display: grid; margin: 0; padding: 8px 0; list-style: none; border-radius: 12px; background: var(--white); box-shadow: var(--lift); font: 13px "Segoe UI", system-ui, sans-serif; color: #1f1f1f; }
.saver-folders li { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 7px 14px; transition: background-color .5s var(--out); }
.saver-folders li + li { border-top: 1px solid #f0f2f5; }
.sf-where { grid-column: 2 / 4; color: #5f6368; font-size: 11px; }
.sf-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.sf-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.saver-folders b { font-weight: 600; }
.sf-tag { grid-column: 3; grid-row: 2; justify-self: end; color: var(--c); font-size: 11.5px; font-weight: 600; }
.saver-folders li.is-hit { background: color-mix(in srgb, var(--c) 10%, #fff); }
.saver-folders li.is-hit .sf-tag { animation: tag-in .5s var(--out); color: color-mix(in srgb, var(--c) 75%, #000); }
.saver-folders li.is-dup { background: #fff7e6; }
.saver-folders li.is-dup .sf-tag { color: #8a5a00; animation: tag-in .5s var(--out); }
@keyframes tag-in { from { opacity: 0; transform: translateY(4px); } }
.saver-status { grid-column: 1 / -1; margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--white); box-shadow: 0 0 0 1px var(--rule); color: var(--ink-2); font-size: 15px; }

/* profile designer and sort order */
.designer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 28px; border-radius: 22px; background: var(--white); box-shadow: var(--lift), inset 0 0 0 1px var(--rule); }
.designer-preview { display: grid; gap: 14px; padding: 18px; border-radius: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 12%, #fff), #f7f9fc 60%); transition: --c .5s var(--out); }
.prow { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--white); box-shadow: inset 3px 0 0 var(--c), 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent), 0 10px 24px rgba(15,35,64,.08); font-family: "Segoe UI", system-ui, sans-serif; color: #111827; }
.prow-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.prow-icon svg, .dc-icons svg, .uc-icon svg, .win-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.prow-text { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; min-width: 0; }
.prow-name { font-size: 18px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70%; }
.prow-pill { padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 70%, #000); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.prow small { flex-basis: 100%; color: #6b7280; font-size: 13px; }
.prow .prow-count { color: #6b7280; font-size: 12px; }
.dp-bar { position: relative; display: flex; align-items: center; gap: 10px; }
.dp-bar .minibar { flex: 1; min-width: 0; }
.dp-bar .minibar::after, .kb-strip, .win-strip { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); transition: --c .5s var(--out); }
.dp-badge, .kb-badge { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--c); color: #fff; font: 700 12px "Segoe UI", system-ui, sans-serif; flex: none; transition: --c .5s var(--out); }
.designer-controls { display: grid; gap: 16px; min-width: 0; }
.designer-preview, .designer-preview > *, .dp-bar { min-width: 0; }
.dc-name { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.dc-name input { min-height: 44px; padding: 0 14px; border: 1px solid var(--paper-3); border-radius: 10px; background: var(--paper); color: var(--ink); font: 500 16px "Mona Sans", sans-serif; }
.dc-name input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.designer fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.designer legend { margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.designer legend small { margin-left: 6px; color: var(--ink-3); font-weight: 400; }
.dc-icons > div { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.dc-colors > div { display: flex; flex-wrap: wrap; gap: 8px; }
.designer label:has(> input[type="radio"]) { position: relative; cursor: pointer; }
.designer input[type="radio"], .seg input, .switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dc-icons label > span:not(.visually-hidden) { display: grid; place-items: center; aspect-ratio: 1; min-height: 36px; border-radius: 10px; background: var(--paper); color: var(--ink-2); transition: background-color .25s, color .25s, transform .3s var(--out); }
.dc-icons label:hover > span:not(.visually-hidden) { transform: translateY(-2px); }
.dc-icons input:checked + span { background: var(--ink); color: var(--white); }
.dc-colors label { width: 34px; height: 34px; }
.dc-colors i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); transition: transform .3s var(--out), box-shadow .3s; }
.dc-colors input:checked + i { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); transform: scale(1.06); }
.designer label:has(input:focus-visible), .seg label:has(input:focus-visible), .switch:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 10px; }
.sorter { margin-top: 26px; max-width: 420px; }
.seg { position: relative; display: inline-flex; gap: 2px; margin: 0 0 12px; padding: 3px; border: 0; border-radius: 12px; background: var(--paper-2); }
.seg label { position: relative; }
.seg label span { display: grid; place-items: center; min-height: 38px; padding: 0 14px; border-radius: 9px; color: var(--ink-2); font-size: 14.5px; font-weight: 550; transition: background-color .3s var(--out), color .3s, box-shadow .3s; }
.seg input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(15,35,64,.12), 0 4px 10px rgba(15,35,64,.08); }
.sort-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sort-list li { display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 8px; border-radius: 10px; background: var(--white); box-shadow: 0 0 0 1px var(--rule); font-size: 15px; font-weight: 550; }

/* keyboard commands, badge and right-click menu */
.keys-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.keys { display: grid; gap: 16px; }
.kb-window { position: relative; overflow: hidden; border-radius: 14px; background: var(--white); box-shadow: var(--lift-deep); }
.kb-toolbar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f1f3f4; }
.kb-omni { flex: 1; min-width: 0; height: 30px; padding: 0 14px; border-radius: 15px; background: var(--white); color: #5f6368; font: 13px/30px "Segoe UI", system-ui, sans-serif; }
.kb-ext { position: relative; display: grid; place-items: center; width: 34px; height: 30px; border-radius: 15px; flex: none; }
.kb-ext img { width: 20px; height: 20px; }
.kb-ext .kb-badge { position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 5px; font-size: 10px; box-shadow: 0 0 0 2px #f1f3f4; }
.kb-window .barset { padding: 6px 8px 9px; }
.kb-window .minibar, .fw .minibar, .win .minibar, .dp-bar .minibar { box-shadow: none; border-radius: 0; padding: 0; height: 32px; }
.kb-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kb-caps button { display: grid; gap: 8px; justify-items: start; padding: 12px; border: 0; border-radius: 12px; background: var(--white); color: var(--ink); text-align: left; font: 600 14px "Mona Sans", sans-serif; cursor: pointer; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 -3px 0 var(--paper-3) inset, var(--lift); transition: transform .2s var(--out), box-shadow .2s; }
.kb-caps button:hover { transform: translateY(-2px); }
.kb-caps button.is-press { animation: keypress .32s var(--out); }
@keyframes keypress { 35% { transform: translateY(2px); box-shadow: 0 -1px 0 var(--paper-3) inset, 0 1px 2px rgba(15,35,64,.14); } }
.kb-caps kbd { order: -1;  padding: 2px 8px; border-radius: 6px; background: var(--paper-2); color: var(--ink-3); font: 500 12px "Mona Sans", sans-serif; }
.kb-status { margin: 0; color: var(--ink-3); font-size: 14.5px; }
.kb-status b { color: var(--ink); }
.ctx-demo { position: relative; min-height: 250px; padding: 22px 0 0 18px; border-radius: 16px; background: repeating-linear-gradient(transparent 0 22px, rgba(15,35,64,.05) 22px 23px), var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.ctxmenu { width: 220px; padding: 6px 0; background: var(--white); border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.16), 0 12px 32px rgba(15,35,64,.16); font: 12.5px "Segoe UI", system-ui, sans-serif; color: #1f1f1f; }
.ctxmenu div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 14px; white-space: nowrap; }
.ctxmenu .sep { height: 1px; margin: 5px 0; padding: 0; background: #e3e3e3; }
.ctxmenu .sub { background: #e8eaed; }
.ctxmenu .sub svg { flex: none; }
.ctxmenu.submenu { position: absolute; left: 150px; top: 108px; width: 150px; }
.ctxmenu .pick { background: color-mix(in srgb, #F59E0B 18%, #fff); font-weight: 600; }
.ctx-toast { position: absolute; left: 18px; bottom: 16px; margin: 0; padding: 7px 12px; border-radius: 8px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600; }
.ctx-cursor { position: absolute; z-index: 3; left: 120px; top: 98px; width: 14px; height: 20px; background: var(--ink); clip-path: polygon(0 0, 0 100%, 28% 76%, 48% 100%, 62% 94%, 44% 70%, 80% 70%); }
@media (prefers-reduced-motion: no-preference) {
  .ctx-demo:not(.is-run) .submenu, .ctx-demo:not(.is-run) .ctx-toast { opacity: 0; }
  .ctx-demo:not(.is-run) .ctxmenu:first-of-type { opacity: 0; transform: scale(.96); }
  .ctx-demo.is-run .ctxmenu:first-of-type { animation: pop .35s var(--out) .1s both; transform-origin: 0 0; }
  .ctx-demo.is-run .ctx-cursor { animation: ctx-path 2.4s var(--inout) both; }
  .ctx-demo.is-run .submenu { animation: pop .35s var(--out) 1.0s both; transform-origin: 0 0; }
  .ctx-demo.is-run .pick { animation: pick-in .3s 1.8s both; }
  .ctx-demo.is-run .ctx-toast { animation: rise-in .45s var(--out) 2.3s both; }
}
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
@keyframes ctx-path { 0% { transform: translate(-60px, -70px); } 30% { transform: translate(0, 0); } 55% { transform: translate(80px, 26px); } 75%, 100% { transform: translate(80px, 90px); } }
@keyframes pick-in { from { background: transparent; font-weight: 400; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } }

/* light, dark, compact */
.themer { position: relative; display: grid; justify-items: center; gap: 18px; padding: 28px 28px 22px; border-radius: 22px; background: radial-gradient(ellipse 70% 60% at 50% 60%, #fff, var(--paper-2)); box-shadow: inset 0 0 0 1px var(--rule); transition: background-color .6s var(--out); }
.themer[data-theme="dark"] { background: radial-gradient(ellipse 70% 60% at 50% 60%, #1e2a44, #0b1222); }
.th-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; align-items: center; }
.themer .seg { margin: 0; }
.themer[data-theme="dark"] .seg { background: rgba(255,255,255,.1); }
.themer[data-theme="dark"] .seg span { color: var(--mist); }
.themer[data-theme="dark"] .seg input:checked + span { background: #2b3a5a; color: var(--white); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 550; cursor: pointer; }
.themer[data-theme="dark"] .switch, .themer[data-theme="dark"] .th-caption { color: var(--mist); }
.switch-track { position: relative; width: 42px; height: 24px; border-radius: 12px; background: var(--paper-3); transition: background-color .3s; }
.switch-track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(15,35,64,.3); transition: transform .35s var(--out); }
.switch input:checked + .switch-track { background: var(--ink); }
.themer[data-theme="dark"] .switch input:checked + .switch-track { background: #5b8def; }
.switch input:checked + .switch-track::after { transform: translateX(18px); }
.th-shots { display: grid; perspective: 1400px; width: min(300px, 100%); }
.th-shot { grid-area: 1 / 1; display: block; width: 100%; border-radius: 12px; box-shadow: 0 1px 2px rgba(15,35,64,.14), 0 30px 60px rgba(4, 16, 38, .3); opacity: 0; transform: rotateY(-14deg) translateZ(-60px); transition: opacity .5s var(--out), transform .8s var(--out); }
.th-shot.is-on { opacity: 1; transform: none; }
.th-caption { margin: 0; color: var(--ink-3); font-size: 14px; }

/* ---------- use cases: a field of the chosen profile's colour, windows filed like folders ---------- */
.deck { --k: 0; position: relative; margin: clamp(16px, 2.4vw, 32px) var(--inset) 0; padding: 120px 0; border-radius: var(--r-sheet); background: var(--uc-bg); color: var(--uc-on); transition: background-color .8s var(--out), color .4s; box-shadow: 0 2px 4px rgba(3,14,34,.2), 0 40px 90px rgba(3, 14, 34, .42); overflow: hidden; }
.deck::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 78% 50%, rgba(255,255,255,.22), transparent 70%), radial-gradient(ellipse 50% 50% at 0% 100%, rgba(0,0,0,.14), transparent 70%); }
.deck-grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr auto; column-gap: 64px; }
.deck .sec-head { margin-bottom: 32px; }
.deck .sec-head p { color: inherit; }
.deck-tabs { grid-column: 1; display: grid; gap: 6px; align-content: start; }
.deck-tabs button { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 16px 6px 8px; border: 0; border-radius: 14px; background: transparent; color: inherit; font: 600 18px "Mona Sans", sans-serif; font-stretch: 108%; text-align: left; cursor: pointer; transition: background-color .35s var(--out), color .35s, transform .35s var(--out); }
.deck-tabs button:hover { background: rgba(255,255,255,.14); }
.deck-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); transform: translateX(6px); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.deck-tabs button:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.uc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.2); flex: none; }
.deck-tabs button[aria-selected="true"] .uc-icon { background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); }
.deck-stage { grid-column: 2; grid-row: 1 / 4; align-self: center; position: relative; min-height: 440px; perspective: 1600px; perspective-origin: 50% 0%; }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .deck-stage { animation: fan linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; } } }
@keyframes fan { from { --fan: 0; } to { --fan: 1; } }
.deck-card { position: absolute; left: 0; right: 0; top: 120px; transform-style: preserve-3d;
  transform: translate3d(0, calc(var(--k) * var(--fan) * -30px), calc(var(--k) * var(--fan) * -110px)) rotateX(calc(var(--k) * var(--fan) * 2deg));
  opacity: calc(1.6 - var(--k) * .32); z-index: calc(10 - var(--k)); transition: transform .8s var(--out), opacity .6s var(--out); }
.win { position: relative; overflow: hidden; border-radius: 14px; background: var(--white); color: #1f1f1f; box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 34px 70px rgba(0,0,0,.28); font: 13px "Segoe UI", system-ui, sans-serif; }
/* windows filed behind the front one show only their own colour, like folder tabs */
.deck-card .win::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: linear-gradient(color-mix(in srgb, var(--c) 55%, #fff), color-mix(in srgb, var(--c) 30%, #fff) 40px); opacity: 1; pointer-events: none; transition: opacity .6s var(--out); }
.deck-card.is-front .win::after { opacity: 0; }
.win-tabs { display: flex; padding: 8px 10px 0; background: #dfe3e8; }
.win-tab { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 16px; border-radius: 10px 10px 0 0; background: #f1f3f4; font-size: 12.5px; }
.win-tab svg { width: 14px; height: 14px; }
.win-omni { margin: 0; padding: 7px 10px; background: #f1f3f4; }
.win-omni { color: #5f6368; font-size: 12.5px; line-height: 30px; padding: 4px 10px 4px 22px; }
.win .minibar { position: relative; margin: 0 6px; }
.win-strip { position: relative; display: block; }
.win-page { display: flex; align-items: center; gap: 18px; min-height: 170px; padding: 28px 30px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 10%, #fff), #fff 70%); }
.win-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); flex: none; }
.win-icon svg { width: 30px; height: 30px; }
.win-page p { display: grid; gap: 4px; margin: 0; font-family: "Mona Sans", sans-serif; }
.win-page b { font-size: 24px; font-weight: 650; font-stretch: 110%; letter-spacing: -.02em; color: var(--ink); }
.win-page span { color: var(--ink-2); font-size: 15.5px; }
.deck-note { grid-column: 1; margin: 22px 0 0; font-size: 14.5px; }

/* ---------- trust: drawn on the table as a wiring diagram ---------- */
.trust { padding: 140px 0; color: var(--white); }
.trust::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url(/assets/img/marks.svg) 50% 0 / 192px 192px; opacity: .7; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 45%, #000 90%); mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 45%, #000 90%); }
.trust .wrap { position: relative; }
.trust .sec-head p { color: var(--mist); }
.trust-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); gap: 56px; align-items: center; }
.perms { display: grid; gap: 6px; }
.perm { display: grid; gap: 4px; padding: 16px 18px 16px 20px; border: 0; border-radius: 12px; background: transparent; color: var(--mist); text-align: left; font: 400 15.5px/1.5 "Mona Sans", sans-serif; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(214,228,255,.14); transition: background-color .3s var(--out), box-shadow .3s, color .3s; }
.perm code { color: var(--white); font: 600 16px "Mona Sans", sans-serif; font-stretch: 108%; }
.perm:hover { background: rgba(255,255,255,.05); }
.perm[aria-pressed="true"] { background: rgba(255,255,255,.09); color: #e3ebf7; box-shadow: inset 0 0 0 1.5px var(--signal); }
.flow { margin: 0; }
.flow svg { display: block; width: 100%; height: auto; overflow: visible; font-family: "Mona Sans", system-ui, sans-serif; }
.flow-tall { display: none !important; }
.fz { fill: rgba(255,255,255,.025); stroke: rgba(214,228,255,.32); stroke-width: 1.2; stroke-dasharray: 5 6; }
.fz-l { fill: var(--mist); font-size: 14px; font-weight: 600; }
.fn rect { fill: rgba(10, 31, 58, .82); stroke: rgba(214,228,255,.42); stroke-width: 1.2; transition: stroke .35s, fill .35s; }
.fn { transition: opacity .35s var(--out); }
.ft { fill: var(--white); font-size: 15.5px; font-weight: 620; }
.fd { fill: var(--mist); font-size: 12.5px; }
.fn-core rect { fill: var(--white); stroke: none; }
.fn-core .ft { fill: var(--ink); } .fn-core .fd { fill: var(--ink-3); }
.fn-out rect { stroke: rgba(255,233,168,.6); stroke-dasharray: 4 5; fill: rgba(255,233,168,.05); }
.fn-none rect { stroke: rgba(214,228,255,.3); stroke-dasharray: 3 5; fill: transparent; }
.fe { fill: none; stroke: rgba(214,228,255,.38); stroke-width: 1.6; transition: stroke .35s, stroke-width .35s; }
.fs { fill: none; stroke: rgba(255,233,168,.5); stroke-width: 1.4; stroke-dasharray: 4 6; }
.fc { fill: rgba(214,228,255,.78); font-size: 12.5px; font-weight: 600; transition: fill .35s; }
.flow[data-perm] .fn:not(.fn-core):not(.fn-out):not(.fn-none) rect { stroke: rgba(214,228,255,.22); fill: rgba(10, 31, 58, .55); } /* inactive: only the frame dims, text keeps full contrast */
.flow[data-perm="bookmarks"] .n-bookmarks, .flow[data-perm="storage"] .n-storage, .flow[data-perm="activeTab"] .n-activeTab, .flow[data-perm="contextMenus"] .n-contextMenus { opacity: 1 !important; }
.flow[data-perm="bookmarks"] .n-bookmarks rect, .flow[data-perm="storage"] .n-storage rect, .flow[data-perm="activeTab"] .n-activeTab rect, .flow[data-perm="contextMenus"] .n-contextMenus rect { stroke: var(--signal); fill: rgba(255,233,168,.1); }
.flow[data-perm="bookmarks"] .e-bookmarks, .flow[data-perm="storage"] .e-storage, .flow[data-perm="activeTab"] .e-activeTab, .flow[data-perm="contextMenus"] .e-contextMenus { stroke: var(--signal); stroke-width: 2.6; stroke-dasharray: 7 6; animation: flow 1.1s linear 3; }
@keyframes flow { to { stroke-dashoffset: -26; } }
.flow figcaption { margin-top: 18px; color: var(--mist); font-size: 14.5px; max-width: 44em; }
.trust-foot { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); gap: 56px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--sheet-rule); }
.nots { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nots li { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(214,228,255,.3); color: var(--white); font-size: 15px; }
.nots li::before { content: ""; width: 12px; height: 2px; border-radius: 2px; background: var(--signal); }
.sync-note { margin: 0; color: var(--mist); font-size: 15.5px; }
.sync-note b { color: var(--white); }
.sync-note a { color: var(--white); font-weight: 600; }

/* ---------- compare: the same switch, played in three ways ---------- */
.sheet-read { padding: 1px 0; }
.compare { padding: 120px 0 72px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }
.sec-head-row > div { max-width: 760px; }
.play { flex: none; color: var(--ink); }
.play::before { content: ""; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.lanes { display: grid; gap: 6px; }
.lane { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 330px) minmax(0, 1fr); gap: 32px; align-items: center; padding: 22px 26px; border-radius: 16px; }
.lane + .lane:not(.is-us) { box-shadow: 0 -1px 0 var(--rule); border-radius: 0; }
.lane h3 { margin: 0; font-weight: 620; font-stretch: 108%; font-size: 21px; line-height: 1.2; letter-spacing: -.015em; }
.lane dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; }
.lane dt { margin-bottom: 4px; color: var(--ink-3); font-size: 13.5px; font-weight: 600; }
.lane dd { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.lane.is-us { background: var(--ink); color: var(--white); box-shadow: 0 24px 50px rgba(15,35,64,.24); }
.lane.is-us dt { color: var(--mist); } .lane.is-us dd { color: #e3ebf7; }
.scene { position: relative; height: 128px; border-radius: 14px; background: var(--paper-2); overflow: hidden; }
.lane.is-us .scene { background: rgba(255,255,255,.08); }
.sc-win { position: absolute; left: 16px; right: 16px; top: 16px; height: 74px; border-radius: 8px; background: var(--white); box-shadow: 0 6px 16px rgba(15,35,64,.14); }
.sc-bar { position: absolute; left: 8px; right: 8px; top: 8px; display: flex; gap: 6px; }
.sc-bar span { height: 14px; flex: 0 0 34px; border-radius: 7px; background: #e3e8ef; }
.sc-folders .sc-bar span.sc-f { flex: none; height: 18px; padding: 0 8px 0 18px; border-radius: 5px; background: #f1f3f4 linear-gradient(#9aa4b2, #9aa4b2) 6px 50% / 8px 6px no-repeat; color: #3c4043; font: 600 10.5px/18px "Segoe UI", system-ui, sans-serif; }
.sc-menu { position: absolute; left: 8px; top: 30px; display: grid; gap: 5px; width: 120px; padding: 7px; border-radius: 6px; background: var(--white); box-shadow: 0 6px 18px rgba(15,35,64,.22); }
.sc-menu i { display: block; height: 7px; border-radius: 4px; background: #e3e8ef; }
.sc-cursor { position: absolute; z-index: 4; left: 0; top: 0; width: 12px; height: 17px; background: var(--ink); clip-path: polygon(0 0, 0 100%, 28% 76%, 48% 100%, 62% 94%, 44% 70%, 80% 70%); }
.sc-folders .sc-cursor { transform: translate(70px, 70px); }
.sc-folders .sc-f.is-a { background-color: #dfe3e8; }
.sc-barshift .sc-cursor { transform: translate(250px, 30px); }
.lane.is-us .sc-cursor { background: var(--white); }
.sc-count { position: absolute; left: 16px; bottom: 10px; color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.lane.is-us .sc-count { color: var(--mist); }
/* two windows, the back one offset up and left so its name, avatar and bar stay readable */
.sc-profiles .sc-win { height: 52px; }
.sc-profiles .sc-w1 { left: 16px; right: 64px; top: 8px; z-index: 1; opacity: .8; }
.sc-profiles .sc-w2 { left: 52px; right: 16px; top: 50px; z-index: 2; }
.sc-av { position: absolute; right: 8px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #2563eb; }
.sc-w2 .sc-av { background: #14b8a6; }
.sc-profiles .sc-bar { top: 23px; right: 8px; }
.sc-barshift .sc-bar span { background: color-mix(in srgb, #2563eb 30%, #fff); }
.sc-barshift .sc-set-b span { background: color-mix(in srgb, #14b8a6 34%, #fff); }
.sc-barshift .sc-set-a { opacity: 0; }
.sc-strip { position: absolute; left: 0; right: 0; top: 30px; height: 3px; background: #14b8a6; }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .sc-folders .sc-cursor { animation: c-folders 3.2s var(--inout) both; }
  .is-playing .sc-folders .sc-menu { animation: m-open 3.2s var(--out) both; }
  .is-playing .sc-folders .sc-f.is-a { animation: f-press 3.2s both; }
  .is-playing .sc-profiles .sc-w2 { animation: w-front 3.2s var(--out) both; }
  .is-playing .sc-profiles .sc-w1 { animation: w-back 3.2s var(--out) both; }
  .is-playing .sc-barshift .sc-cursor { animation: c-bs 3.2s var(--inout) both; }
  .is-playing .sc-barshift .sc-set-a span { animation: chip-out 3.2s var(--out) both; }
  .is-playing .sc-barshift .sc-set-a { animation: show-a 3.2s both; }
  .is-playing .sc-barshift .sc-set-b span { animation: chip-in2 3.2s var(--out) both; }
  .is-playing .sc-barshift .sc-strip { animation: strip-shift 3.2s var(--out) both; }
  .is-playing .sc-set-a span:nth-child(2), .is-playing .sc-set-b span:nth-child(2) { animation-delay: 40ms; }
  .is-playing .sc-set-a span:nth-child(3), .is-playing .sc-set-b span:nth-child(3) { animation-delay: 80ms; }
  .is-playing .sc-set-a span:nth-child(4), .is-playing .sc-set-b span:nth-child(4) { animation-delay: 120ms; }
  .is-playing .sc-set-a span:nth-child(5) { animation-delay: 160ms; }
  .is-playing .sc-count { animation: rise-in .5s var(--out) 2.6s both; }
}
@keyframes c-folders { 0% { opacity: 0; transform: translate(150px, 110px); } 10% { opacity: 1; } 30% { transform: translate(40px, 34px); } 40% { transform: translate(40px, 34px) scale(.85); } 45% { transform: translate(40px, 34px); } 70% { transform: translate(70px, 70px); } 78% { transform: translate(70px, 70px) scale(.85); } 85%, 100% { opacity: 1; transform: translate(70px, 70px); } }
@keyframes m-open { 0%, 42% { opacity: 0; transform: translateY(-4px); } 50%, 100% { opacity: 1; transform: none; } }
@keyframes f-press { 0%, 38% { background-color: #f1f3f4; } 42%, 100% { background-color: #dfe3e8; } }
@keyframes w-front { 0%, 30% { transform: translate(-36px, -42px); opacity: .8; z-index: 1; } 31% { z-index: 2; } 60%, 100% { transform: none; opacity: 1; z-index: 2; } }
@keyframes w-back { 0%, 30% { transform: translate(36px, 42px); opacity: 1; z-index: 2; } 31% { z-index: 1; } 60%, 100% { transform: none; opacity: .8; z-index: 1; } }
@keyframes c-bs { 0% { opacity: 0; transform: translate(200px, 110px); } 10% { opacity: 1; } 35% { transform: translate(250px, 30px); } 42% { transform: translate(250px, 30px) scale(.85); } 48%, 100% { opacity: 1; transform: translate(250px, 30px); } }
@keyframes show-a { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes chip-out { 0%, 42% { transform: none; opacity: 1; } 50% { transform: translateX(-16px); opacity: 0; } 100% { opacity: 0; } }
@keyframes chip-in2 { 0%, 48% { transform: translateX(18px); opacity: 0; } 62%, 100% { transform: none; opacity: 1; } }
@keyframes strip-shift { 0%, 44% { background-color: #2563eb; } 60%, 100% { background-color: #14b8a6; } }
.compare .more { margin: 28px 0 0; }
.compare .more a, .faq-sec .sec-head a { font-weight: 600; }

/* ---------- FAQ: grouped, each answer opens with its own colour strip ---------- */
.faq-sec { padding: 72px 0 120px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-groups { display: grid; gap: 40px; }
.faq-group h3 { margin: 0 0 6px; color: var(--ink-3); font-size: 15px; font-weight: 600; }
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.faq { position: relative; border-bottom: 1px solid var(--rule); }
.faq::before { content: ""; position: absolute; left: -18px; top: 24px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--c, var(--ink)); transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s var(--out); }
.faq::after { content: ""; position: absolute; left: -18px; top: 24px; width: 3px; height: 14px; border-radius: 3px; background: var(--c, var(--ink)); transition: opacity .3s; }
.faq[open]::after { opacity: 0; }
.faq[open]::before { transform: scaleY(1); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 18px 0; font-weight: 600; font-stretch: 104%; font-size: 18px; cursor: pointer; list-style: none; transition: color .2s; }
.faq summary:hover { color: color-mix(in srgb, var(--c, var(--ink)) 60%, var(--ink)); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(currentColor, currentColor) 50% / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) 50% / 2px 12px no-repeat, var(--paper-2); transition: transform .4s var(--out), background-color .3s; }
.faq[open] summary::after { transform: rotate(135deg); background-color: color-mix(in srgb, var(--c, var(--ink)) 18%, #fff); }
.faq p { margin: 0 0 22px; max-width: 38em; color: var(--ink-2); }
@supports selector(::details-content) {
  .faq::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size .45s var(--out), opacity .35s, content-visibility .45s allow-discrete; }
  .faq[open]::details-content { block-size: auto; opacity: 1; }
}

/* ---------- finale: back to the bar, on the table ---------- */
.final { --c: #14b8a6; position: relative; overflow: hidden; padding: 160px 0 128px; text-align: center; color: var(--white); background: var(--table); }
.final > .wrap { position: relative; }
.final .table-bg { background: radial-gradient(ellipse 50% 40% at 50% 62%, color-mix(in srgb, var(--c) 34%, transparent), transparent 72%), radial-gradient(ellipse 70% 55% at 50% 0%, rgba(42, 92, 154, .55), transparent 70%), linear-gradient(180deg, var(--table), #143563 60%, var(--cyan-ink)); transition: --c .8s var(--out); }
.final h2 { max-width: 16em; margin-inline: auto; }
.final > .wrap > p { max-width: 36em; margin: 0 auto 30px; color: var(--mist); font-size: 19px; }
.final .cta-row { justify-content: center; }
.finale-bar { --c: #14b8a6; margin: 56px auto 44px; max-width: 980px; perspective: 1400px; }
.fw { position: relative; overflow: hidden; border-radius: 14px; background: var(--white); color: #1f1f1f; text-align: left; box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 50px 100px rgba(2, 10, 26, .55); transform-origin: 50% 100%; }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .fw { animation: bar-flat linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; } } }
@keyframes bar-flat { from { transform: rotateX(28deg) translateY(40px) scale(.94); } to { transform: none; } }
.fw-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f1f3f4; }
.fw-dots { display: flex; gap: 6px; } .fw-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d0d5dc; }
.fw-omni { flex: 1; height: 30px; padding: 0 14px; border-radius: 15px; background: var(--white); color: #5f6368; font: 13px/30px "Segoe UI", system-ui, sans-serif; }
.fw .barset { padding: 8px 10px 11px; }
.fw .minibar { height: 36px; font-size: 13.5px; }
.finale-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.finale-pick button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 16px 4px 5px; border: 0; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--white); font: 550 15px "Mona Sans", sans-serif; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(214,228,255,.22); transition: transform .3s var(--out); }
.finale-pick .uc-icon { width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--c) 30%, transparent); color: var(--white); }
.finale-pick .uc-icon svg { width: 18px; height: 18px; }
.finale-pick button:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); }
.finale-pick button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.finale-pick button[aria-pressed="true"] .uc-icon { background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); }

/* ---------- reading pages: a table-top header, the text on a sheet ---------- */
.doc-hero { position: relative; overflow: hidden; padding: 96px 0 120px; color: var(--white); background: var(--table); }
.doc-hero > .wrap { position: relative; max-width: 1120px; }
.doc-hero .table-bg { background: radial-gradient(ellipse 50% 60% at 78% 40%, rgba(78, 140, 222, .3), transparent 72%), radial-gradient(ellipse 70% 60% at 0% 0%, rgba(42, 92, 154, .5), transparent 70%), linear-gradient(180deg, #11305a, #173c6b 70%, var(--table)); }
.doc-hero .t-floor { height: 70%; opacity: .7; }
.doc h1 { font-stretch: 114%; }
.doc .lead { max-width: 34em; margin: 0; color: var(--mist); font-size: 19px; }
.doc-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.hero-split .doc-meta { grid-column: 1 / -1; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(214,228,255,.36); color: var(--white); font-size: 14px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.doc-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--sheet-rule); }
.doc-meta dt { color: var(--mist); font-size: 13.5px; }
.doc-meta dd { margin: 2px 0 0; color: var(--white); font-weight: 550; }
.doc-meta a { color: var(--white); }
.hero-flow { margin: 0; justify-self: end; width: min(400px, 100%); }
.hero-flow .flow-tall { display: block !important; }
.hero-flow figcaption { margin-top: 10px; font-size: 13.5px; }
.doc-sheet { margin-top: -56px; margin-bottom: clamp(16px, 3vw, 40px); z-index: 2; }
.doc-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; max-width: 1040px; margin: 0 auto; padding: 88px var(--gutter) 120px; }
.doc-toc { position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; }
.doc-toc-title { margin: 0 0 12px; font-weight: 600; font-stretch: 106%; }
.toc-progress { display: block; height: 3px; margin: 0 0 14px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.toc-progress i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--read, 0)); }
.doc-toc ol { position: relative; margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 2px; }
.doc-toc li { counter-increment: t; }
.doc-toc a { position: relative; display: block; padding: 7px 10px 7px 14px; border-radius: 8px; color: var(--ink-2); font-size: 15px; text-decoration: none; transition: background-color .25s, color .25s; }
.doc-toc a::before { content: counter(t) "  "; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.doc-toc a::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--ink); transform: scaleY(0); transition: transform .35s var(--out); }
.doc-toc a:hover { background: var(--paper-2); color: var(--ink); }
.doc-toc a.is-active { color: var(--ink); font-weight: 600; background: var(--paper-2); }
.doc-toc a.is-active::after { transform: scaleY(1); }
.doc-section { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; padding: 0 0 40px; margin: 0 0 40px; border-bottom: 1px solid var(--rule); }
.doc-section > :not(.sec-ico) { grid-column: 2; }
.doc-section:last-child { border-bottom: 0; }
.sec-ico { grid-row: 1 / 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--white); color: var(--ink); box-shadow: var(--lift), inset 0 0 0 1px var(--rule); }
.sec-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.doc-section h2 { margin: 8px 0 14px; font-weight: 620; font-stretch: 108%; font-size: 27px; letter-spacing: -.02em; }
.doc-section p { max-width: 38em; margin: 0 0 14px; color: var(--ink-2); }
.doc-section strong { color: var(--ink); font-weight: 650; background: linear-gradient(transparent 62%, rgba(255, 233, 168, .7) 62%); }
.doc-section a { font-weight: 600; }
.doc-main { max-width: 1040px; margin: 0 auto; padding: 88px var(--gutter) 120px; }
.doc-block { padding: 56px 0; border-top: 1px solid var(--rule); }
.doc-block:first-child { border-top: 0; padding-top: 0; }
.doc-block h2 { margin: 0 0 14px; font-weight: 620; font-stretch: 110%; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.025em; }
.doc-block > p { max-width: 38em; color: var(--ink-2); }
.points, .steps-list { max-width: 38em; padding-left: 22px; color: var(--ink-2); }
.points li, .steps-list li { margin: 8px 0; }
.steps-list li::marker { font-weight: 600; color: var(--ink); }
.doc-main table { width: 100%; border-collapse: collapse; font-size: 16px; }
.doc-main th, .doc-main td { padding: 14px 16px; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; }
.doc-main thead th { border-top: 0; color: var(--ink-3); font-size: 14px; font-weight: 500; }
.doc-main tbody th { font-weight: 600; }
.doc-main td { color: var(--ink-2); }
.table-wrap { overflow-x: auto; }
.doc-main .table-wrap { margin-top: 20px; border-radius: 16px; background: var(--white); box-shadow: var(--lift), inset 0 0 0 1px var(--rule); }
.doc-main .table-wrap thead th { padding-top: 16px; }

/* support */
.help-search { margin-top: 30px; max-width: 520px; }
.no-js .help-search { display: none; }
.help-search label { display: block; margin-bottom: 8px; color: var(--mist); font-size: 14.5px; font-weight: 600; }
.help-field { position: relative; display: block; }
.help-field svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
.help-field input { width: 100%; min-height: 54px; padding: 0 16px 0 46px; border: 0; border-radius: 14px; background: var(--white); color: var(--ink); font: 500 17px "Mona Sans", sans-serif; box-shadow: 0 10px 30px rgba(3, 14, 34, .3); }
.help-field input:focus { outline: 3px solid var(--signal); outline-offset: 2px; }
.help-count { min-height: 1.5em; margin: 8px 0 0; color: var(--mist); font-size: 14px; }
.contact-card { position: relative; padding: 28px; border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); box-shadow: inset 0 0 0 1px rgba(214,228,255,.22), 0 30px 60px rgba(3, 14, 34, .3); }
.contact-label { margin: 0; color: var(--mist); font-size: 14px; }
.contact-email { margin: 4px 0 6px; font-size: 22px; font-weight: 600; font-stretch: 106%; overflow-wrap: anywhere; }
.contact-email a { color: var(--white); }
.contact-note { margin: 0 0 18px; color: var(--mist); font-size: 15px; }
.contact-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.copy-status { color: var(--signal); font-size: 14px; }
.doc-main .copy-status { color: #7a5200; font-weight: 600; }
.help-bar { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 48px; padding: 6px 8px; max-width: 1120px; border-radius: 12px; background: var(--white); color: #1f1f1f; box-shadow: 0 16px 40px rgba(3, 14, 34, .35); font: 14px "Segoe UI", system-ui, sans-serif; }
.help-bar::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--profile); }
.help-bar a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 20px; text-decoration: none; transition: background-color .2s; }
.help-bar a:hover { background: #eceff3; }
.help-bar svg { width: 16px; height: 16px; fill: #5f6368; }
.start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: st; }
.start-steps li { counter-increment: st; position: relative; padding: 0 28px 0 0; }
.start-steps li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.start-steps h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 620; font-stretch: 106%; }
.start-steps h3::before { content: counter(st); display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 14px; vertical-align: 2px; }
.start-steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.ss-art { position: relative; display: flex; align-items: center; gap: 10px; height: 76px; padding: 0 16px; border-radius: 14px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.ss-omni { flex: 1; height: 26px; border-radius: 13px; background: var(--white); }
.ss-art img { width: 26px; height: 26px; }
.ss-row { background: var(--white); box-shadow: inset 3px 0 0 var(--c), inset 0 0 0 1px var(--rule); }
.ss-tile { width: 40px; height: 40px; border-radius: 11px; background: color-mix(in srgb, var(--c) 18%, #fff); }
.ss-lines { display: grid; gap: 7px; flex: 1; } .ss-lines i { display: block; height: 9px; width: 70%; border-radius: 5px; background: #e3e8ef; } .ss-lines i:first-child { width: 40%; background: #c9d3e0; }
.ss-switch { flex-direction: column; justify-content: center; align-items: stretch; background: var(--white); }
.ss-bar { display: flex; gap: 6px; } .ss-bar i { height: 14px; flex: 0 0 46px; border-radius: 7px; background: color-mix(in srgb, #2563eb 28%, #fff); }
.ss-strip { height: 3px; margin-top: 10px; border-radius: 3px; background: linear-gradient(90deg, #2563eb 0 50%, #14b8a6 50%); }
.help-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 30px 0 0; }
.help-list div { position: relative; padding: 20px 24px 0 0; }
.help-list div::before { content: ""; position: absolute; left: 0; right: 24px; top: 0; height: 3px; border-radius: 3px; background: var(--c); }
.help-list dt { font-weight: 620; font-stretch: 106%; font-size: 18px; }
.help-list dd { margin: 6px 0 0; color: var(--ink-2); font-size: 15.5px; }
.report { margin-top: 30px; border-radius: 18px; background: var(--white); box-shadow: var(--lift), inset 0 0 0 1px var(--rule); overflow: hidden; }
.report-head { display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 14px 24px; background: var(--paper-2); color: var(--ink-2); font-size: 14px; }
.report-head b { margin-right: 6px; color: var(--ink-3); font-weight: 600; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; padding: 12px 24px 8px; list-style: none; counter-reset: c; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--paper-3); }
.checklist li::before { content: counter(c); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-size: 14px; font-weight: 600; }
.checklist strong { font-weight: 600; }
.checklist span { color: var(--ink-2); font-size: 15.5px; }
.report-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 24px 22px; }
.faq-empty { margin: 18px 0 0; padding: 16px 18px; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); }
.faq[hidden] { display: none; }
.doc-close { padding: 56px 40px; margin-top: 8px; border: 0; border-radius: 22px; background: var(--ink); color: var(--white); }
.doc-close > p { color: var(--mist); }
.doc-close .button-primary { background: var(--white); color: var(--ink); overflow-wrap: anywhere; }

/* guides */
.guide-related ul { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; list-style: none; }
.guide-related a { font-weight: 600; }
.guide-demo { margin-top: 0; }
.guide-demo .minibar { max-width: 100%; }
.picker { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px; border-radius: 20px; overflow: hidden; background: radial-gradient(ellipse 70% 80% at 80% 0%, rgba(78, 140, 222, .35), transparent 70%), var(--table); color: var(--white); box-shadow: 0 30px 60px rgba(15,35,64,.22); }
.picker-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.picker-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(214,228,255,.12); color: var(--white); font: 500 15px "Mona Sans", sans-serif; cursor: pointer; transition: background-color .25s, color .25s; }
.picker-tabs button i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.picker-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); }
.picker p { margin: 0; color: var(--mist); font-size: 15px; }
.picker [role="tabpanel"] { min-height: 40px; }

/* bookmark strips, shared by every demo outside the live one */
.minibar { position: relative; display: flex; align-items: center; gap: 2px; height: 40px; padding: 0 8px; overflow: hidden; background: var(--white); color: #1f1f1f; border-radius: 10px; box-shadow: 0 10px 26px rgba(0,0,0,.18); font: 12.5px "Segoe UI", system-ui, sans-serif; }
.minibar span { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border-radius: 15px; white-space: nowrap; flex: none; }
.minibar svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.minibar .fold { color: #5f6368; }
.minibar .minichev { display: none; margin-left: auto; padding: 0 6px; color: #5f6368; }
.minibar .minichev.is-on { display: inline-flex; }
.minibar .is-overflow { display: none; }
.minibar span { animation: chip-in .5s var(--out) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes chip-in { from { opacity: 0; transform: translateX(-14px); } }
.bs-bar[hidden] { display: none; }

/* ---------- short desktop screens: give the product more room ---------- */
@media (min-width: 761px) and (max-height: 820px) {
  .intro { top: 22px; gap: 40px; }
  .intro h1 { font-size: clamp(38px, 3.5vw, 52px); }
  .intro .lead { font-size: 16px; margin-bottom: 16px; max-width: 30em; }
  .intro .button { min-height: 44px; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 56px 0; }
  .feature-copy { position: static; padding-top: 0; }
  .feature.flip > :first-child { order: 0; }
  .deck-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .deck-tabs, .deck-stage, .deck-note { grid-column: 1; grid-row: auto; }
  .deck-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deck-tabs button[aria-selected="true"] { transform: none; }
  .deck-stage { min-height: 420px; margin-top: 12px; }
  .trust-grid, .trust-foot { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lane { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 28px; }
  .lane h3 { grid-column: 1 / -1; }
  .lane dl { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq-grid .sec-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-flow { justify-self: start; width: min(420px, 100%); }
  .doc-body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc-toc { position: static; }
  .doc-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- story as a vertical composition: phones and portrait tablets ---------- */
@media (max-width: 900px) {
  /* story: window on top at real size, caption, then the full popup or the folder menu */
  .story { height: 470vh; }
  .stage { --m-top: 338px; }
  .stage.is-story { --m-top: 10px; }
  .intro { top: 16px; grid-template-columns: 1fr; gap: 12px; }
  .intro h1 { font-size: clamp(34px, 6.4vw, 52px); font-stretch: 106%; line-height: 1.02; }
  .intro .lead { font-size: 15.5px; margin-bottom: 14px; }
  .viewport { perspective: 900px; perspective-origin: 50% 40%; }
  .camera { left: calc(var(--gutter) - 4px); top: 0; width: calc(100% - var(--gutter) * 2 + 8px); height: auto; margin: 0; }
  .p-frame { width: 100%; transform: none; }
  .p-page { display: none; }
  .m-now { display: flex; align-items: center; gap: 8px; margin: 10px 2px 0; color: var(--mist); font-size: 14px; transition: opacity .3s; }
  .m-now i { width: 9px; height: 9px; border-radius: 50%; background: var(--profile); }
  .m-now b { color: var(--white); font-weight: 600; }
  .stage.is-story .m-now { opacity: 0; }
  .p-rail, .p-popup { left: 0; width: 100%; transition: transform .75s var(--out), opacity .45s var(--out), visibility .45s; }
  .p-rail { top: 168px; }
  .rail .rrow { padding: 9px 14px; font-size: 14px; }
  .stage.is-story .p-rail { top: var(--m-panel, 252px); }
  .p-popup { top: var(--m-panel, 252px); }
  .p-popup .bsd-popup { --bsd-popup-scale: .85; margin: 0 auto; }
  .stage .p-popup, .stage.is-story[data-step="2"] .p-popup, .stage.is-story[data-step="4"] .p-popup { opacity: 0; visibility: hidden; transform: translate3d(0, 24px, -160px); pointer-events: none; }
  .stage.is-story[data-step="1"] .p-popup, .stage.is-story[data-step="3"] .p-popup { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .stage .p-rail { opacity: 1; visibility: visible; transform: none; }
  .stage.is-story .p-rail { opacity: 0; visibility: hidden; transform: translate3d(0, 24px, -160px); }
  .stage.is-story[data-step="2"] .p-rail, .stage.is-story[data-step="4"] .p-rail { opacity: 1; visibility: visible; transform: none; }
  .stage.no-rail[data-step="4"] .p-rail { opacity: 0; visibility: hidden; }
  .stage.caption-away .step.on { pointer-events: none; } /* faded caption must not catch taps meant for the popup */
  .stage.hero-compact:not(.is-story) .p-rail { opacity: 0; visibility: hidden; }
  /* step 2 opens the folder of the last active profile: real bookmarks, no empty sheet */
  .stage.is-story[data-step="2"] .rail-open { display: block; }
  .rail-open { margin: 14px 0 0; padding: 14px 16px 12px; border-radius: 10px; background: var(--white); color: #1f1f1f; font: 13.5px "Segoe UI", system-ui, sans-serif; box-shadow: 0 18px 40px rgba(4,16,38,.4); }
  .rail-open p { margin: 0 0 8px; color: #5f6368; font-size: 12.5px; }
  .rail-open ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
  .rail-open li { display: flex; align-items: center; gap: 8px; min-height: 30px; }
  .rail-open svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
  .labels, .callouts { display: none; }
  .steps { left: var(--gutter); right: var(--gutter); top: var(--m-steps, 150px); bottom: auto; height: auto; }
  .step { inset: 0 0 auto 0; display: block; transform: translateY(10px); } .step.on { transform: none; }
  .step::before { display: inline; padding: 0; margin-right: 8px; font-size: 13px; }
  .step h2 { display: inline; font-size: 21px; line-height: 1.15; }
  .step p { margin: 6px 0 0; font-size: 14px; line-height: 1.42; }
  .step .cta-row { margin-top: 14px; }
  .step-extra { display: grid; gap: 10px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--sheet-rule); list-style: none; }
  .step-extra li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--mist); font-size: 15px; }
  .step-extra li::before { content: ""; width: 12px; height: 2px; margin-top: 11px; background: var(--white); }
  .stage::after, .stage::before { display: none; }
  .progress { display: none; } /* would cross the docked popup; the step counter carries progress */
}
@media (min-width: 761px) and (max-width: 900px) {
  .intro .lead { font-size: 17px; max-width: 34em; }
  .step h2 { font-size: 27px; } .step p { font-size: 16px; }
  .p-popup .bsd-popup { --bsd-popup-scale: 1; }
  .rail, .rail-open { max-width: 600px; margin-left: auto; margin-right: auto; }
  .rail .rrow { padding: 12px 18px; font-size: 15px; } .rail-head { padding: 12px 18px 8px; font-size: 13px; }
  .rail-open { font-size: 15px; } .rail-open li { min-height: 36px; }
}
/* short phones: the recap list gives way to the folder list */
@media (max-width: 760px) and (max-height: 740px) {
  .step-extra { display: none; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .table-run { padding-top: 24px; }
  :root { --nav-h: 60px; --gutter: 16px; --inset: 8px; --r-sheet: 10px; }
  body { font-size: 16px; }
  .nav { gap: 12px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-menu { position: fixed; left: 0; right: 0; top: var(--nav-h); z-index: 60; display: grid; gap: 20px; padding: 24px 16px 28px; background: var(--table); box-shadow: 0 24px 40px rgba(4,16,38,.4); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--out), transform .35s var(--out), visibility 0s .25s; }
  .nav-open .nav-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--out), transform .35s var(--out); }
  .nav-links { display: grid; gap: 4px; font-size: 18px; }
  .nav-links a { display: block; padding: 10px 0; color: var(--white); }
  .nav-links a::after { display: none; }
  .nav-menu .button { min-height: 48px; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2, .doc h1, .final h2 { font-size: 34px; }
  .sec-head p { font-size: 17px; }
  #demo .bsd-tune, #demo .bsd-puzzle { display: none; } /* leaves room for the address in a phone-width window */

  .features { padding: 64px 0 24px; }
  .feature { padding: 44px 0; gap: 28px; }
  .feature h3 { font-size: 27px; }
  .saver { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 14px; }
  .saver-img { transform: none; }
  .saver-shot { width: min(300px, 100%); }
  .designer { padding: 16px; }
  .dc-icons > div { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dc-colors label { width: 36px; height: 36px; }
  .keys-wrap { grid-template-columns: minmax(0, 1fr); }
  .kb-caps { gap: 8px; } .kb-caps button { padding: 10px; font-size: 13px; }
  .themer { padding: 18px 14px; }
  .deck { padding: 56px 0 40px; }
  .deck-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deck-tabs button { min-height: 48px; font-size: 16px; padding-right: 10px; }
  .uc-icon { width: 36px; height: 36px; }
  .deck-stage { min-height: 360px; margin-top: 20px; }
  .deck-card { top: 128px; }
  .win-page { min-height: 116px; padding: 18px; gap: 14px; }
  .win-icon { width: 48px; height: 48px; border-radius: 14px; }
  .win-page b { font-size: 20px; } .win-page span { font-size: 14px; }
  .trust { padding: 72px 0; }
  .flow-wide { display: none !important; }
  .flow-tall { display: block !important; }
  .perm { padding: 14px 14px 14px 16px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .compare { padding: 64px 0 40px; }
  .lane { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .scene { height: 120px; }
  .faq-sec { padding: 40px 0 64px; }
  .faq::before, .faq::after { left: -10px; }
  .faq summary { font-size: 17px; }
  .final { padding: 96px 0 80px; }
  .finale-bar { margin: 36px auto 28px; }
  .fw-dots { display: none; }
  .finale-pick button { padding-right: 12px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 0 var(--gutter) 32px; }
  .strip11 { margin-bottom: 48px; }
  .doc-hero { padding: 56px 0 88px; }
  .doc-meta { grid-template-columns: 1fr 1fr; }
  .doc-sheet { margin-top: -40px; }
  .doc-body, .doc-main { padding: 48px var(--gutter) 72px; }
  .doc-toc ol { grid-template-columns: 1fr; }
  .doc-section { grid-template-columns: minmax(0, 1fr); }
  .doc-section > :not(.sec-ico) { grid-column: 1; }
  .sec-ico { grid-row: auto; width: 40px; height: 40px; border-radius: 12px; }
  .doc-section h2 { font-size: 24px; margin-top: 14px; }
  .help-bar { flex-wrap: nowrap; overflow-x: auto; margin-top: 36px; scrollbar-width: none; }
  .help-bar a { flex: none; }
  .start-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .start-steps li, .start-steps li + li { padding: 0; border: 0; }
  .help-list { grid-template-columns: 1fr; gap: 22px; }
  .checklist { grid-template-columns: 1fr; padding: 6px 16px; }
  .report-head, .report-actions { padding-left: 16px; padding-right: 16px; }
  .doc-close { padding: 36px 20px; }
  .picker { padding: 18px; }
  /* three columns do not fit a phone: the first cell becomes the row title, the two facts sit side by side */
  table.stack tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  table.stack thead th:first-child { display: none; }
  table.stack tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 4px; }
  table.stack tbody td { border-top: 0; padding-top: 4px; }
  .contact-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0ms !important; }
}

/* print: no scroll-driven states, every section rendered and flat */
@media print {
  .table-run > * { content-visibility: visible; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sheet, .deck, .fw, .reveal, .feature, .lane, .faq-group, .perm, .trust-foot > * { transform: none !important; opacity: 1 !important; }
}

/* compare scenes, labelled (round 2 review) */
.sc-bar span:not(:empty) { flex: none; height: 18px; padding: 0 7px; border-radius: 9px; color: #3c4043; font: 600 10px/18px "Segoe UI", system-ui, sans-serif; }
.sc-who { position: absolute; left: 10px; bottom: 8px; color: #5f6368; font: 600 10.5px "Segoe UI", system-ui, sans-serif; }
.sc-profiles .sc-who { top: 5px; bottom: auto; }
.sc-barshift .sc-who-a { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .sc-barshift .sc-who-a { animation: show-a 3.2s both; }
  .is-playing .sc-barshift .sc-who-b { animation: chip-in2 3.2s var(--out) both; }
}
.faq-ask { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--rule); }
.faq-ask p { margin: 0 0 14px; color: var(--ink-2); font-size: 16px; }
.faq-ask .button { color: var(--ink); }

/* without JavaScript the profile windows are listed one under another */
.no-js .deck-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-height: 0; perspective: none; animation: none; }
.no-js .deck-card { position: relative; top: 0; min-width: 0; transform: none; opacity: 1; }
.no-js .deck-card .win::after { opacity: 0; }
