/* Home page: design 05 Salient Tabs. kit.css of web/designs-20nov, then the page's own styles. Made by scripts/port-home.mjs. */
/* Shared kit for the 20 home page designs (20 Nov 2026).
   Page basics, the three-column navbar, buttons, the footer (phone: centred tap-to-open sections) and the six app
   screens (Recent, Drive, Play, Enhance, Annotate, Export) built in HTML and CSS. Square corners everywhere.
   App screens size in em from their container: 1em = container width / 120 (desktop layout),
   and below 760px of container a compact layout of 64em with side panels hidden. */

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; flex: none; vertical-align: -.125em; }
.wrap { max-width: var(--wrap, 1200px); margin: 0 auto; padding: 0 var(--gut, 24px); }
.sp { flex: 1; }
@media (max-width: 600px) { :root { --gut: 16px; } }

/* ---------- navbar: logo | links truly centred | actions ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--nav-bg, #fff); color: var(--nav-fg, #1B1730); border-bottom: 1px solid var(--nav-line, transparent); }
.nav-in { max-width: var(--wrap, 1200px); margin: 0 auto; padding: 0 var(--gut, 24px); height: var(--nav-h, 68px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: var(--nav-gap, 34px); font-size: var(--nav-fs, 15px); }
.nav-links a { color: var(--nav-link, inherit); transition: color .15s, opacity .15s; }
.nav-links a:hover { color: var(--nav-link-h, var(--accent, #3E2288)); }
.nav-act { justify-self: end; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--nav-line, #E4E1EC); background: none; color: inherit; place-items: center; cursor: pointer; padding: 0; }
.nav-burger .i { width: 22px; height: 22px; }
.nav-menu { display: none; border-top: 1px solid var(--nav-line, #E4E1EC); padding: 6px var(--gut, 24px) 22px; }
.nav-menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--nav-line, #E4E1EC); font-size: 17px; }
.nav-menu .btn { margin-top: 18px; width: 100%; }
@media (max-width: 900px) {
  .nav-in { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-act .hide-m { display: none; }
  .nav-burger { display: grid; }
  .nav.open .nav-menu { display: block; }
}
@media (max-width: 600px) { .nav-act .hide-s { display: none; } }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.logo img { width: 30px; height: 30px; }
.logo i { font-style: normal; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; padding: 3px 6px 2px; background: var(--logo-pro-bg, #3E2288); color: var(--logo-pro-fg, #fff); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: var(--btn-h, 46px); padding: 0 22px; font: inherit; font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn-main { background: var(--accent, #3E2288); color: var(--on-accent, #fff); }
.btn-main:hover { background: var(--accent-h, #4D30A3); }
.btn-line { border-color: var(--line-strong, currentColor); color: inherit; background: transparent; }
.btn-line:hover { background: var(--hover-fill, rgba(62, 34, 136, .06)); }
.btn-text { padding: 0; height: auto; background: none; border: 0; color: inherit; font-weight: 600; }
.btn-text .i { transition: transform .15s; }
.btn-text:hover .i { transform: translateX(3px); }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- footer ---------- */
.foot { background: var(--foot-bg); color: var(--foot-fg); border-top: 1px solid var(--foot-line); }
.foot--light { --foot-bg: #fff; --foot-fg: #1B1730; --foot-mut: #66617A; --foot-line: #E4E1EC; }
.foot--soft { --foot-bg: #F4F3F8; --foot-fg: #1B1730; --foot-mut: #5F5A73; --foot-line: #E1DDEA; }
.foot--dark { --foot-bg: #0E0C14; --foot-fg: #F2F0F7; --foot-mut: #A7A2B8; --foot-line: #26222F; --logo-pro-bg: #7A55E0; }
.foot--violet { --foot-bg: #26145F; --foot-fg: #fff; --foot-mut: #C9BEF0; --foot-line: #3B2A7A; --logo-pro-bg: #fff; --logo-pro-fg: #26145F; }
.foot-in { max-width: var(--wrap, 1200px); margin: 0 auto; padding: 64px var(--gut, 24px) 44px; display: grid; grid-template-columns: 1.1fr 3fr; gap: 48px; }
.foot-brand p { color: var(--foot-mut); font-size: 14px; line-height: 1.55; margin: 16px 0 0; max-width: 260px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fcol summary { list-style: none; font-weight: 600; font-size: 14px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; cursor: default; }
.fcol summary::-webkit-details-marker { display: none; }
.fcol summary .i { display: none; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.fcol a { color: var(--foot-mut); font-size: 14px; transition: color .15s; }
.fcol a:hover { color: var(--foot-fg); }
.foot-bot { position: relative; max-width: var(--wrap, 1200px); margin: 0 auto; padding: 20px var(--gut, 24px) 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--foot-mut); }
.foot-bot::before { content: ""; position: absolute; top: 0; left: var(--gut, 24px); right: var(--gut, 24px); border-top: 1px solid var(--foot-line); }
.lion { height: 32px; width: auto; }
.foot--dark .lion, .foot--violet .lion { background: #fff; padding: 3px 7px; height: 36px; }
@media (max-width: 760px) {
  .foot-in { grid-template-columns: 1fr; text-align: center; gap: 30px; padding-top: 44px; padding-bottom: 28px; }
  .foot-brand { display: flex; flex-direction: column; align-items: center; }
  .foot-brand p { margin-inline: auto; }
  .foot-cols { display: block; border-top: 1px solid var(--foot-line); }
  .fcol { border-bottom: 1px solid var(--foot-line); }
  .fcol summary { justify-content: center; margin: 0; padding: 17px 0; cursor: pointer; font-size: 15px; }
  .fcol summary .i { display: block; transition: transform .2s; }
  .fcol[open] summary .i { transform: rotate(180deg); }
  .fcol ul { padding: 0 0 18px; justify-items: center; }
  .foot-bot { flex-direction: column; text-align: center; }
}

/* =========================================================================================================
   App screens
   ========================================================================================================= */
.fit { container-type: inline-size; width: 100%; }
.app {
  --a-bg: #F4F3F8; --a-bar: #FFFFFF; --a-surf: #FFFFFF; --a-alt: #F7F6FB; --a-line: #E4E1EC; --a-fg: #1B1730; --a-mut: #66617A;
  --a-brand: #3E2288; --a-pri: #3E2288; --a-soft: #EEEAF8; --a-sel: #ECE8F7; --a-track: #E7E3F2; --a-plot: #3E2288;
  --a-green: #15803D; --a-gsoft: #E5F5EA; --a-gink: #166534; --a-amber: #C27A12;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; font-size: calc(100cqw / 120); line-height: 1.3;
  width: 100%; color: var(--a-fg); background: var(--a-bg); border: 1px solid var(--a-line); overflow: hidden; text-align: left;
  letter-spacing: 0; font-weight: 400; -webkit-font-smoothing: antialiased;
}
.app--dark {
  --a-bg: #121019; --a-bar: #17141F; --a-surf: #1D1A27; --a-alt: #221E2E; --a-line: #2E2A3B; --a-fg: #F2F0F7; --a-mut: #A7A2B8;
  --a-brand: #B9A2FA; --a-pri: #7A55E0; --a-soft: #2A2244; --a-sel: #2F2650; --a-track: #2C2740; --a-plot: #8F6BF0;
  --a-green: #22A55A; --a-gsoft: #13301F; --a-gink: #6EE29A; --a-amber: #F0B44C;
}
.app .i { width: 1.1em; height: 1.1em; }
.app b { font-weight: 600; }
.a-mut { color: var(--a-mut); }
.tc { font-family: "Cascadia Mono", Consolas, "JetBrains Mono", monospace; letter-spacing: -.01em; }

.a-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 4.8em; padding: 0 1.4em; background: var(--a-bar); border-bottom: 1px solid var(--a-line); }
.a-brand { display: flex; align-items: center; gap: .7em; white-space: nowrap; }
.a-brand img { width: 2.5em; height: 2.5em; }
.a-brand b { font-size: 1.3em; }
.a-brand i { font-style: normal; font-size: .95em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .15em .45em .1em; background: var(--a-pri); color: #fff; }
.a-tabs { display: flex; gap: .2em; }
.a-tab { position: relative; display: flex; align-items: center; gap: .45em; padding: 1.05em 1.05em; font-size: 1.22em; color: var(--a-mut); white-space: nowrap; }
.a-tab em { font-style: normal; }
.a-tab .i { width: 1em; height: 1em; }
.a-tab.on { color: var(--a-brand); font-weight: 600; }
.a-tab.on::after { content: ""; position: absolute; left: .6em; right: .6em; bottom: 0; height: .18em; background: var(--a-brand); }
.a-win { justify-self: end; display: flex; align-items: center; gap: 1.6em; }
.a-case { display: flex; align-items: center; gap: .45em; font-size: 1.15em; padding: .35em .7em; border: 1px solid var(--a-line); white-space: nowrap; }
.a-wb { display: flex; gap: 1.3em; color: var(--a-mut); }
.a-wb .i { width: 1.15em; height: 1.15em; stroke-width: 1.6; }
.a-status { display: flex; align-items: center; gap: 2.2em; height: 2.9em; padding: 0 1.4em; font-size: 1.08em; color: var(--a-mut); background: var(--a-bar); border-top: 1px solid var(--a-line); white-space: nowrap; }
.a-status span { display: flex; align-items: center; gap: .5em; }
.a-status .ok { width: .6em; height: .6em; background: var(--a-green); display: inline-block; }
.a-body { display: flex; background: var(--a-bg); min-width: 0; }

.a-btn { display: inline-flex; align-items: center; gap: .45em; padding: .5em .85em; font-size: 1.15em; border: 1px solid var(--a-line); background: var(--a-surf); color: var(--a-fg); white-space: nowrap; }
.a-btn.pri { background: var(--a-pri); border-color: var(--a-pri); color: #fff; font-weight: 600; }
.a-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; font-size: 1.3em; font-weight: 600; }
.a-h .a-mut { font-size: .82em; font-weight: 400; }
.a-pill { font-size: 1.1em; font-weight: 600; padding: .2em .65em; white-space: nowrap; }
.a-pill.good { background: var(--a-gsoft); color: var(--a-gink); }
.a-tag { font-size: 1em; background: var(--a-alt); border: 1px solid var(--a-line); padding: .1em .55em; color: var(--a-mut); white-space: nowrap; }
.a-subtabs { display: flex; border-bottom: 1px solid var(--a-line); padding: 0 .8em; }
.a-subtabs span { font-size: 1.15em; padding: .85em .8em .75em; color: var(--a-mut); border-bottom: .16em solid transparent; white-space: nowrap; }
.a-subtabs .on { color: var(--a-brand); border-bottom-color: var(--a-brand); font-weight: 600; }
.a-kv { display: grid; grid-template-columns: 9.5em 1fr; gap: .65em 1em; padding: 1.3em 1.5em; margin: 0; }
.a-kv dt { color: var(--a-mut); font-size: 1.12em; }
.a-kv dd { margin: 0; font-size: 1.12em; font-weight: 600; }
.a-seg { display: inline-flex; border: 1px solid var(--a-line); background: var(--a-surf); }
.a-seg span { padding: .45em .85em; font-size: 1.12em; white-space: nowrap; }
.a-seg .on { background: var(--a-pri); color: #fff; font-weight: 600; }

/* Play */
.ply .p-main, .enh .e-main, .ann .n-main { flex: 1; min-width: 0; padding: 1.2em; display: flex; flex-direction: column; gap: 1em; }
.p-tools { display: flex; align-items: center; gap: .55em; }
.p-tools .a-btn b { margin-left: .2em; }
.p-grid { display: grid; gap: .3em; background: #0B0A10; padding: .3em; }
.p-grid.g3x3, .p-grid.g3x2 { grid-template-columns: repeat(3, 1fr); }
.p-grid.g2x2 { grid-template-columns: repeat(2, 1fr); }
.p-grid.g1 { grid-template-columns: 1fr; }
.tile { position: relative; aspect-ratio: 16 / 9; background: #15131C; overflow: hidden; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.04); }
.tile.on { outline: .2em solid #8F6BF0; outline-offset: -.2em; }
.t-head { position: absolute; top: 0; left: 0; display: flex; align-items: center; gap: .45em; background: rgba(10, 8, 16, .74); font-size: 1.02em; padding: .22em .65em .22em .22em; z-index: 1; }
.t-n { background: rgba(255, 255, 255, .16); padding: 0 .42em; }
.t-osd { position: absolute; left: .7em; right: .7em; bottom: .55em; display: flex; justify-content: space-between; gap: .5em; font-family: "Cascadia Mono", Consolas, monospace; font-size: .98em; white-space: pre; text-shadow: 0 0 .15em #000, 0 0 .15em #000, 0 0 .3em #000; }
.tile.big .t-head { font-size: 1.3em; }
.tile.big .t-osd { font-size: 1.55em; left: 1em; right: 1em; bottom: .8em; }
.tile.none { display: grid; place-items: center; }
.t-msg { color: #F0B44C; font-size: 1.1em; }
.p-plot { background: var(--a-surf); border: 1px solid var(--a-line); padding: .8em 1em .6em; }
.pl-head { display: flex; align-items: center; gap: .35em; font-size: 1.08em; }
.pl-tab { padding: .25em .75em; background: var(--a-alt); color: var(--a-mut); }
.pl-tab.on { background: var(--a-pri); color: #fff; font-weight: 600; }
.pl-box { position: relative; height: 6.6em; margin-top: 1.5em; color: var(--a-plot); background-image: repeating-linear-gradient(to right, var(--a-line) 0 1px, transparent 1px 16.6667%); border-bottom: 1px solid var(--a-line); }
.pl-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.pl-range { fill: currentColor; fill-opacity: .1; }
.pl-bm { position: absolute; top: -1.35em; transform: translateX(-50%); z-index: 1; }
.pl-bm b { display: block; font-size: .92em; background: var(--a-amber); color: #fff; padding: 0 .3em; line-height: 1.35; }
.pl-bm::after { content: ""; position: absolute; left: 50%; top: 1.25em; width: 1px; height: 7.6em; background: var(--a-amber); opacity: .55; }
.pl-head-line { position: absolute; top: -.4em; bottom: -.4em; left: 44%; width: .16em; background: var(--a-fg); animation: cfp-ph 16s linear infinite alternate; }
@keyframes cfp-ph { from { left: 40%; } to { left: 61%; } }
.pl-ruler { display: flex; justify-content: space-between; margin-top: .35em; font-size: .98em; color: var(--a-mut); font-family: "Cascadia Mono", Consolas, monospace; }
.p-trans { display: flex; align-items: center; gap: .45em; }
.tb-b { width: 3.1em; height: 3.1em; display: grid; place-items: center; border: 1px solid var(--a-line); background: var(--a-surf); }
.tb-b .i { width: 1.3em; height: 1.3em; }
.tb-b.play { background: var(--a-pri); border-color: var(--a-pri); color: #fff; }
.tb-s { display: flex; align-items: center; gap: .4em; font-size: 1.12em; border: 1px solid var(--a-line); background: var(--a-surf); padding: .55em .7em; margin-left: .5em; }
.p-trans .tc { font-size: 1.3em; font-weight: 600; }
.p-trans .tc.a-mut { font-weight: 400; }
.tb-f { font-size: 1.08em; color: var(--a-mut); padding-left: 1em; margin-left: .5em; border-left: 1px solid var(--a-line); white-space: nowrap; }
.p-side, .e-side, .n-side { width: 29em; flex: none; background: var(--a-surf); border-left: 1px solid var(--a-line); }
.p-fix { margin: 0 1.5em 1.2em; border-left: .3em solid var(--a-green); background: var(--a-gsoft); padding: .9em 1em; }
.p-fix b { display: flex; align-items: center; gap: .5em; font-size: 1.18em; color: var(--a-gink); }
.p-fix span { display: block; font-size: 1.08em; margin-top: .45em; line-height: 1.45; }
.p-marks { padding: 0 1.5em 1.2em; }
.p-marks .a-h { font-size: 1.2em; margin-bottom: .5em; }
.pm-row { display: grid; grid-template-columns: 2.6em 6.6em 1fr; gap: .6em; align-items: center; padding: .55em .4em; font-size: 1.1em; border-bottom: 1px solid var(--a-line); white-space: nowrap; }
.pm-row b { background: var(--a-amber); color: #fff; text-align: center; font-size: .9em; }
.pm-row.sel { background: var(--a-sel); }
.ply.single .p-grid { padding: 0; }

/* Drive */
.d-list { width: 29em; flex: none; background: var(--a-surf); border-right: 1px solid var(--a-line); padding: 1.3em 1.2em; }
.d-item { display: flex; align-items: center; gap: .8em; border: 1px solid var(--a-line); background: var(--a-surf); padding: .85em; margin-top: .75em; }
.d-item > div { flex: 1; min-width: 0; }
.d-item b { display: block; font-size: 1.2em; }
.d-item .a-mut { display: block; font-size: 1.05em; margin-top: .15em; white-space: nowrap; }
.d-item.sel { border-color: var(--a-brand); background: var(--a-soft); }
.d-ic { width: 3.3em; height: 3.3em; flex: none; display: grid; place-items: center; background: var(--a-soft); color: var(--a-brand); }
.d-item.sel .d-ic { background: var(--a-pri); color: #fff; }
.d-ic .i { width: 1.6em; height: 1.6em; }
.d-note { display: flex; gap: .5em; align-items: center; font-size: 1.05em; color: var(--a-mut); margin-top: 1.3em; }
.d-main { flex: 1; min-width: 0; padding: 1.4em 1.6em 1.6em; }
.d-head { display: flex; align-items: center; gap: 1em; }
.d-head > div { flex: 1; min-width: 0; }
.d-head > div b { display: block; font-size: 1.75em; }
.d-head > div span { display: block; font-size: 1.12em; margin-top: .2em; }
.d-main .a-subtabs { margin-top: 1em; padding: 0; }
.d-maphead { display: flex; justify-content: space-between; margin-top: 1.3em; font-size: 1.12em; font-weight: 600; }
.d-maphead .a-mut { font-weight: 400; }
.d-map { display: flex; height: 3.2em; margin-top: .55em; gap: .2em; }
.d-map span { display: flex; align-items: center; padding: 0 .8em; color: #fff; font-size: 1.08em; white-space: nowrap; overflow: hidden; }
.d-map .s1 { background: #2A9BC4; }
.d-map .s2 { background: var(--a-pri); }
.d-map .s0 { border: 1px dashed var(--a-mut); }
.d-camhead { display: flex; gap: 1em; align-items: baseline; flex-wrap: wrap; margin-top: 1.5em; }
.d-camhead b { font-size: 1.35em; }
.d-camhead .a-mut { font-size: 1.08em; }
.d-cams { margin-top: .6em; border: 1px solid var(--a-line); background: var(--a-surf); }
.d-cr { display: grid; grid-template-columns: 11em 8em 5em repeat(4, 1fr); align-items: center; padding: .52em 1em; border-bottom: 1px solid var(--a-line); font-size: 1.1em; white-space: nowrap; }
.d-cr:last-child { border-bottom: 0; }
.d-cr > span:first-child { display: flex; align-items: center; gap: .5em; }
.d-cr > span:first-child .i { color: var(--a-brand); }
.d-th { color: var(--a-mut); background: var(--a-alt); font-size: 1.02em; }
.d-th > span:nth-child(n+4) { padding-left: .4em; }
.d-cr.sel { background: var(--a-sel); }
.d-cov { grid-column: auto / span 4; position: relative; height: 1em; background: var(--a-track); background-image: linear-gradient(to right, transparent calc(25% - 1px), var(--a-surf) calc(25% - 1px) 25%, transparent 25% calc(50% - 1px), var(--a-surf) calc(50% - 1px) 50%, transparent 50% calc(75% - 1px), var(--a-surf) calc(75% - 1px) 75%, transparent 75%); }
.d-cov i { position: absolute; top: 0; bottom: 0; background: var(--a-pri); opacity: .9; }

/* Enhance */
.e-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; --ex: 50%; animation: cfp-ex 10s ease-in-out infinite alternate; }
@property --ex { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@keyframes cfp-ex { from { --ex: 40%; } to { --ex: 62%; } }
.e-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.e-b { filter: brightness(.62) contrast(.86) blur(.4px); }
.e-a { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--ex)); }
.e-a img { filter: brightness(1.55) contrast(1.18) saturate(1.1); }
.e-line { position: absolute; top: 0; bottom: 0; left: var(--ex); width: .22em; background: #fff; transform: translateX(-50%); }
.e-line i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; color: #1B1730; display: flex; padding: .45em .2em; }
.e-line .i { width: 1.2em; height: 1.2em; }
.e-lab { position: absolute; top: .9em; background: rgba(10, 8, 16, .7); color: #fff; font-size: 1.1em; padding: .2em .65em; }
.e-lab.l { left: .9em; } .e-lab.r { right: .9em; }
.e-note { display: flex; gap: .5em; align-items: center; font-size: 1.08em; color: var(--a-mut); }
.e-side { padding: 1.3em 1.4em; }
.e-side .a-h { margin-bottom: .6em; }
.e-step { display: flex; gap: .65em; align-items: center; padding: .58em .5em; border-bottom: 1px solid var(--a-line); font-size: 1.12em; white-space: nowrap; }
.e-step b { flex: 1; }
.e-step .i { color: var(--a-brand); }
.e-n { width: 1.8em; height: 1.8em; display: grid; place-items: center; background: var(--a-alt); font-size: .88em; color: var(--a-mut); flex: none; }
.e-step.sel { background: var(--a-sel); }
.e-step.sel .e-n { background: var(--a-pri); color: #fff; }
.e-slider { margin-top: 1.3em; display: grid; grid-template-columns: 7.5em 1fr 3em; gap: .9em; align-items: center; font-size: 1.1em; }
.e-track { position: relative; height: .35em; background: var(--a-track); }
.e-track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--a-pri); }
.e-track b { position: absolute; top: 50%; width: 1.05em; height: 1.05em; background: var(--a-pri); border: .18em solid var(--a-surf); outline: 1px solid var(--a-pri); transform: translate(-50%, -50%); }
.e-btns { display: flex; gap: .6em; margin-top: 1.5em; }
.e-btns .pri { flex: 1; justify-content: center; }

/* Annotate */
.n-rail { width: 7.6em; flex: none; background: var(--a-surf); border-right: 1px solid var(--a-line); padding: .8em .6em; display: flex; flex-direction: column; gap: .25em; }
.n-tool { display: flex; flex-direction: column; align-items: center; gap: .3em; padding: .55em .2em; font-size: .98em; color: var(--a-mut); }
.n-tool em { font-style: normal; }
.n-tool .i { width: 1.6em; height: 1.6em; }
.n-tool.on { background: var(--a-soft); color: var(--a-brand); font-weight: 600; }
.n-frame { position: relative; aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
.n-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.n-track { fill: none; stroke: #A98BFF; stroke-width: 2.5; stroke-dasharray: 6 4; }
.n-tag { fill: #fff; stroke: rgba(0, 0, 0, .8); stroke-width: 3.5px; paint-order: stroke; font: 600 13px "Segoe UI", sans-serif; }
.n-path { fill: none; stroke: #A98BFF; stroke-width: 2; stroke-dasharray: 2 6; }
.n-mag { fill: none; stroke: #fff; stroke-width: 3; }
.n-src { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 4 3; }
.n-arrow { fill: none; stroke: #F0B44C; stroke-width: 5; stroke-linecap: square; }
.n-label { fill: #F0B44C; }
.n-ltext { fill: #1B1730; font: 700 16px "Segoe UI", sans-serif; }
.n-time { position: relative; border: 1px solid var(--a-line); background: var(--a-surf); padding: .5em .8em; }
.nt-row { display: grid; grid-template-columns: 9em 1fr; align-items: center; height: 2.1em; font-size: 1.04em; white-space: nowrap; }
.nt-bar { position: relative; height: 1.05em; background: var(--a-track); }
.nt-bar i { position: absolute; top: 0; bottom: 0; background: var(--a-pri); }
.nt-bar i.k { background: repeating-linear-gradient(90deg, var(--a-pri) 0 .14em, #8F6BF0 .14em .5em); }
.nt-bar i.snd { background: repeating-linear-gradient(45deg, var(--a-amber) 0 .25em, transparent .25em .55em); outline: 1px solid var(--a-amber); }
.nt-head { position: absolute; top: .3em; bottom: .3em; width: .16em; background: var(--a-fg); }
.n-side { padding: 1.3em 1.4em; width: 27em; }
.n-side .a-h { margin-bottom: .4em; }
.n-item { display: flex; gap: .7em; align-items: flex-start; padding: .6em .5em; border-bottom: 1px solid var(--a-line); font-size: 1.1em; }
.n-item .i { color: var(--a-brand); margin-top: .15em; }
.n-item b { display: block; }
.n-item .a-mut { display: block; font-size: .92em; white-space: nowrap; }
.n-item.sel { background: var(--a-sel); }
.n-ok { margin-top: 1.1em; background: var(--a-gsoft); color: var(--a-gink); font-size: 1.05em; padding: .75em .85em; display: flex; gap: .5em; line-height: 1.4; }
.n-ok .i { margin-top: .1em; }

/* Export */
.x-list { width: 27em; flex: none; background: var(--a-surf); border-right: 1px solid var(--a-line); padding: 1.3em 1.1em; }
.x-list .a-h { margin: 0 .3em .5em; }
.x-opt { display: flex; gap: .8em; align-items: center; padding: .62em .6em; border-bottom: 1px solid var(--a-line); font-size: 1.12em; }
.x-opt .i { width: 1.35em; height: 1.35em; color: var(--a-brand); }
.x-opt b { display: block; }
.x-opt .a-mut { display: block; font-size: .9em; line-height: 1.35; margin-top: .1em; }
.x-opt.sel { background: var(--a-pri); color: #fff; border-color: var(--a-pri); }
.x-opt.sel .i, .x-opt.sel .a-mut { color: #fff; }
.x-opt.sel .a-mut { opacity: .82; }
.x-main { flex: 1; min-width: 0; padding: 1.6em; display: flex; flex-direction: column; gap: 1.1em; }
.x-doc { background: #fff; color: #1B1730; box-shadow: 0 .1em .5em rgba(20, 12, 50, .14); padding: 2em 2.3em 1.6em; }
.x-dh { display: flex; gap: 1em; align-items: center; border-bottom: .2em solid #3E2288; padding-bottom: 1em; }
.x-dh img { width: 3.2em; height: 3.2em; }
.x-dh b { display: block; font-size: 1.75em; }
.x-dh span { display: block; font-size: 1.12em; color: #66617A; }
.x-chain { margin-left: auto; display: flex !important; gap: .4em; align-items: center; background: #E5F5EA; color: #166534 !important; font-weight: 600; padding: .3em .75em; white-space: nowrap; }
.x-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; margin: 1.2em 0 1.3em; }
.x-meta span { font-size: 1.12em; font-weight: 600; }
.x-meta em { display: block; font-style: normal; font-weight: 400; color: #66617A; font-size: .9em; }
.x-th, .x-tr { display: grid; grid-template-columns: 5em 15em 1fr; gap: 1em; padding: .55em .4em; font-size: 1.08em; border-bottom: 1px solid #E4E1EC; }
.x-th { color: #66617A; background: #F7F6FB; }
.x-tr .tc { color: #66617A; }
.x-bar { display: flex; gap: .6em; align-items: center; }
.x-bar > .a-mut { display: flex; gap: .5em; align-items: center; font-size: 1.08em; }

/* Recent */
.rec { padding: 1.6em; gap: 1.6em; }
.r-start { width: 40em; flex: none; display: flex; flex-direction: column; }
.r-big { background: var(--a-surf); border: 1px solid var(--a-line); padding: 2.6em 2.4em; display: flex; flex-direction: column; gap: .9em; align-items: flex-start; flex: 1; }
.r-big > .i { width: 3.4em; height: 3.4em; color: var(--a-brand); stroke-width: 1.6; }
.r-big b { font-size: 2em; }
.r-big span:not(.a-btn) { font-size: 1.2em; color: var(--a-mut); line-height: 1.45; max-width: 26em; }
.r-big .a-btn { margin-top: .6em; font-size: 1.25em; padding: .65em 1.1em; }
.r-small { display: flex; gap: .6em; margin-top: .8em; }
.r-list { flex: 1; min-width: 0; background: var(--a-surf); border: 1px solid var(--a-line); }
.r-list .a-h { padding: 1.1em 1.3em; border-bottom: 1px solid var(--a-line); }
.r-row { display: grid; grid-template-columns: 1.6em 1fr auto 11em; gap: .9em; align-items: center; padding: .95em 1.3em; border-bottom: 1px solid var(--a-line); font-size: 1.15em; white-space: nowrap; }
.r-row .i { color: var(--a-brand); width: 1.3em; height: 1.3em; }
.r-row > .a-mut { text-align: right; }
.r-row.sel { background: var(--a-sel); }
.r-foot { padding: 1.1em 1.3em; font-size: 1.05em; display: flex; gap: .5em; align-items: center; line-height: 1.4; }

/* Compact layout for narrow containers (phones, small columns) */
@container (max-width: 760px) {
  .app { font-size: calc(100cqw / 64); }
  .app .hide-c { display: none !important; }
  .a-bar { grid-template-columns: auto 1fr; padding: 0 1em; }
  .a-brand b, .a-brand i, .a-win { display: none; }
  .a-tabs { justify-self: end; }
  .a-tab { padding: 1.05em .6em; font-size: 1.15em; }
  .a-tab .i { display: none; }
  .a-status { gap: 1.4em; }
  .ply .p-main, .enh .e-main, .ann .n-main { padding: .9em; }
  .d-cr { grid-template-columns: 10em 7em repeat(4, 1fr); }
  .d-map .s2 { font-size: 1em; }
  .n-rail { width: 6.4em; padding: .6em .4em; }
  .n-tool { font-size: .9em; }
  .x-meta { grid-template-columns: repeat(3, 1fr); }
  .x-th, .x-tr { grid-template-columns: 4.4em 14em 1fr; gap: .8em; }
  .x-main { padding: 1em; }
  .x-doc { padding: 1.4em 1.4em 1em; }
  .rec { flex-direction: column; padding: 1em; gap: 1em; }
  .r-start { width: auto; }
  .r-big { padding: 1.6em; }
  .r-row { grid-template-columns: 1.6em 1fr auto; }
  .r-row > .a-mut { display: none; }
}

/* ---- 05 Salient Tabs ---- */


.d05 h1, .d05 h2, .d05 h3 { text-wrap: balance; } /* kit sets smooth, which stops the render scroll pass from reaching lower reveals */
.d05 { --ink: #161427; --mut: #5E5A72; --accent: #3E2288; --accent-h: #4D30A3; --line-strong: #CFCADC; --hover-fill: #F5F3FA;
  --nav-line: transparent; --nav-link: #4A4660; --nav-link-h: #3E2288; --nav-h: 80px;
  background: #fff; color: var(--ink); font: 16px/1.6 Inter, "Segoe UI", sans-serif; }
.d05 h1, .d05 h2, .d05 h3 { font-family: Lexend, Inter, sans-serif; font-weight: 500; letter-spacing: -.025em; }
.d05 .btn { font-family: Lexend, Inter, sans-serif; font-weight: 500; }

.hero { text-align: center; padding: 96px 0 112px; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.05; max-width: 940px; margin: 0 auto; }
.hero p { font-size: 19px; color: var(--mut); max-width: 620px; margin: 26px auto 0; }
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.hero-shot { margin-top: 72px; }
.hero-shot .app { box-shadow: 0 1px 3px rgba(22,20,39,.06), 0 30px 60px -32px rgba(62,34,136,.35); }

.band { background: #3E2288; color: #fff; padding: 112px 0 120px; }
.band-head { max-width: 640px; }
.band-head h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; }
.band-head p { color: #D6CCF6; font-size: 18px; margin-top: 18px; text-wrap: pretty; }
.tabs-grid { display: grid; grid-template-columns: 360px 1fr; gap: 48px; margin-top: 64px; align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 6px; }
.tabs button { display: block; width: 100%; text-align: left; padding: 22px 24px; background: transparent; border: 0; color: #fff; font: inherit; cursor: pointer; transition: background .2s, color .2s; }
.tabs button:hover:not(.on) { background: rgba(255,255,255,.08); }
.tabs button b { display: block; font: 500 20px/1.3 Lexend, Inter, sans-serif; }
.tabs button span { display: block; margin-top: 6px; color: #CFC4F2; font-size: 15px; line-height: 1.5; }
.tabs button.on { background: #fff; color: #3E2288; }
.tabs button.on span { color: #5B4A99; }
.panes .app { border-color: #5A3FB0; box-shadow: 0 30px 60px -30px rgba(10,4,40,.6); }

.faq { padding: 120px 0; }
.faq-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.faq-head h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; }
.faq-head p { color: var(--mut); font-size: 17px; justify-self: end; max-width: 420px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin-top: 64px; }
.cols > div { display: flex; flex-direction: column; gap: 40px; }
.cols h3 { font-size: 19px; line-height: 1.35; }
.cols p { color: var(--mut); font-size: 15.5px; margin-top: 10px; }

.end { background: #1B1730; color: #fff; padding: 104px 0; text-align: center; }
.end h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; }
.end p { color: #B9B3CC; font-size: 18px; margin: 18px auto 0; max-width: 520px; }
.end .btn-main { --accent: #7A55E0; --accent-h: #8B68EA; margin-top: 34px; }

@media (max-width: 900px) {
  .hero { padding: 64px 0 80px; }
  .hero-shot { margin-top: 52px; }
  .band { padding: 80px 0 88px; }
  .tabs-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .tabs button { padding: 16px 18px; outline: 1px solid rgba(255,255,255,.22); outline-offset: -1px; }
  .tabs button.on { outline-color: #fff; }
  .faq { padding: 88px 0; }
  .faq-head { grid-template-columns: 1fr; gap: 14px; }
  .faq-head p { justify-self: start; }
  .cols { grid-template-columns: 1fr 1fr; }
  .cols > div { display: contents; }
}
@media (max-width: 600px) {
  .hero p { font-size: 17px; }
  .tabs button b { font-size: 17px; }
  .tabs button span { display: none; }
  .tabs button { padding: 14px 14px; }
  .cols { grid-template-columns: 1fr; gap: 32px; }
  .end { padding: 80px 0; }
}

