/* Module: app.css
   Version: 0.4.0
   Last updated: 2026-10-26
   Notes: T-CONV-03 Stage 2-2 - Vexra Convert web app styles, from the "Vexra Convert Identity" canvas and Vexra Brand
          v2 tokens. Dark is primary. Michroma for h1/h2 only, IBM Plex Sans for text, JetBrains Mono for labels and
          data. No gradients. Touch targets 44 px. No inline styles anywhere (strict CSP).
          0.2.0 (Stage 2-3): admin page styles (tabs, tables, states, code shown once).
          0.3.0: Your files list on Add a file (PHASE2-DESIGN.md §12).
          0.4.0: landing and sign-in in Vexra Grid's design (section "lp-"), copied from login-grid.html v1.1.0. */
:root {
  color-scheme: dark;
  --void: #0B0D10; --hull: #14181D; --panel: #1C2128; --line: #2A3038; --line-strong: #6A727C;
  --ink: #E8ECEF; --ink-muted: #9AA2AB;
  --convert: #E07BFF; --action: var(--convert); --on-action: #0B0D10;
  --success: #00E5C3; --warning: #F5A623; --danger: #F96167; --info: #5AA2F0;
  --r1: 2px; --r2: 4px; --r3: 6px; --r4: 10px; --r5: 14px;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --display: Michroma, Eurostile, sans-serif;
  --col: 880px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--void); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 22px;
       -webkit-text-size-adjust: 100%; }
a { color: var(--convert); }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
svg.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round;
        stroke-linejoin: round; }
svg.i20 { width: 20px; height: 20px; }
svg.i24 { width: 24px; height: 24px; }

/* type */
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; margin: 0; }
h1 { font-size: 32px; line-height: 40px; }
h1.hero { font-size: 48px; line-height: 56px; }
h2 { font-size: 22px; line-height: 30px; }
h2.plain { font-family: var(--sans); font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
.lead { font-size: 16px; line-height: 26px; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.small { font-size: 12px; line-height: 18px; }
.label { font-family: var(--mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.16em;
         text-transform: uppercase; color: var(--ink-muted); }
.data { font-family: var(--mono); font-size: 13px; line-height: 20px; }
.num { font-variant-numeric: tabular-nums; }

/* header and footer */
.top { height: 64px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between;
       border-bottom: 1px solid var(--line); gap: 16px; }
.top.app { background: var(--hull); }
.top.gate { height: 72px; padding: 0 80px; }
.lockup { display: flex; align-items: center; text-decoration: none; color: var(--ink); min-height: 44px; }
.lockup .mark { width: 28px; height: 20px; }
.lockup .word { width: 130px; height: 12.1px; margin-left: 14px; }
.lockup .rule { width: 1px; height: 20px; background: var(--line); margin: 0 14px; }
.lockup .sub { font-family: var(--mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.16em;
               color: var(--convert); }
.top .tools { display: flex; align-items: center; gap: 8px; }
.who { display: flex; align-items: center; gap: 8px; color: var(--ink-muted); max-width: 240px; }
.who .avatar { width: 32px; height: 32px; border-radius: 9999px; background: var(--panel); border: 1px solid var(--line);
               display: flex; align-items: center; justify-content: center; flex: none; }
.who .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foot { height: 64px; padding: 0 80px; border-top: 1px solid var(--line); display: flex; align-items: center; }
.endorse { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 12px 0; min-height: 44px; }
.endorse svg { width: 16.8px; height: 12px; }
.endorse span { font-family: var(--mono); font-size: 16px; line-height: 16px; font-weight: 500; letter-spacing: 0.16em;
                white-space: nowrap; color: var(--ink); }
.endorse span b { font-weight: 500; color: var(--ink-muted); }

/* buttons and fields */
.btn { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
       border-radius: var(--r3); border: 1px solid transparent; background: transparent; color: var(--ink);
       font-weight: 500; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--panel); color: var(--ink); }
.btn.primary { background: var(--action); color: var(--on-action); }
.btn.primary:hover { background: var(--ink); color: var(--void); }
.btn.secondary { border-color: var(--line-strong); }
.btn.big { min-height: 48px; font-size: 16px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn:focus-visible, .chip:focus-visible, .dest:focus-visible, input:focus-visible, .lockup:focus-visible,
.endorse:focus-visible { outline: 2px solid var(--convert); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.input { min-height: 44px; padding: 0 12px; border-radius: var(--r2); border: 1px solid var(--line-strong);
         background: var(--panel); color: var(--ink); font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em;
         width: 100%; }
.input::placeholder { color: var(--ink-muted); opacity: 0.7; }
.msg { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 20px; }
.msg.err { color: var(--danger); }
.msg.note { color: var(--info); }
.msg svg { margin-top: 2px; }

/* landing */
.gate-main { flex-grow: 1; padding: 48px 80px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
             column-gap: 24px; row-gap: 40px; align-items: center;
             background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 8px 8px; }
.gate-hero { grid-column: span 7; display: flex; flex-direction: column; gap: 24px; }
.gate-hero .lead { max-width: 52ch; }
.trail { display: flex; align-items: center; }
.trail span { display: block; width: 72px; border-top: 2px dashed var(--line); }
.trail span:nth-child(2) { border-color: var(--line-strong); }
.trail span:nth-child(3) { border-color: var(--ink-muted); }
.trail span:nth-child(4) { width: 48px; border-color: var(--convert); margin-right: 16px; }
.trail svg { width: 48px; height: 34.3px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r5); background: var(--hull);
        display: flex; flex-direction: column; gap: 20px; }
.gate-card { grid-column: 9 / span 4; }
.or { display: flex; align-items: center; gap: 12px; }
.or i { flex-grow: 1; height: 1px; background: var(--line); }

/* app column */
.main { flex-grow: 1; padding: 40px 16px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.col { width: 100%; max-width: var(--col); display: flex; flex-direction: column; gap: 20px; }
.col.narrow { max-width: 720px; }
.steps { list-style: none; margin: 0; padding: 0; width: 100%; max-width: var(--col); display: flex; gap: 24px; }
.steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 2px solid var(--line); }
.steps li.now { border-color: var(--convert); }
.steps li.now .label { color: var(--ink); }
.steps li.done { border-color: var(--ink); }
.heading { display: flex; flex-direction: column; gap: 8px; }
.actions, .col.actions { display: flex; flex-direction: row; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.actions .left { margin-right: auto; }

/* drop zone */
.drop { min-height: 340px; padding: 32px 16px; border: 1px dashed var(--line-strong); border-radius: var(--r4);
        background-color: var(--hull); background-image: radial-gradient(var(--line) 1px, transparent 1px);
        background-size: 8px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 16px; text-align: center; }
.drop.over { border-color: var(--convert); border-style: solid; }
.tile { width: 56px; height: 56px; border-radius: var(--r4); background: var(--panel); border: 1px solid var(--line);
        display: flex; align-items: center; justify-content: center; }
.drop .big-line { font-size: 20px; line-height: 28px; font-weight: 600; }
.drop .row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.bar { width: 100%; height: 8px; border-radius: var(--r1); background: var(--panel); overflow: hidden; }
.bar > i { display: block; height: 8px; width: 0; background: var(--convert); border-radius: var(--r1);
           transition: width 0.3s ease; }
.drop .bar { max-width: 420px; }
.assure { display: flex; align-items: center; gap: 8px; color: var(--ink-muted); }

/* file summary */
.file { padding: 16px; border: 1px solid var(--line); border-radius: var(--r4); background: var(--hull);
        display: flex; align-items: center; gap: 16px; }
.file .ico { width: 40px; height: 40px; flex: none; border-radius: var(--r3); background: var(--panel);
             display: flex; align-items: center; justify-content: center; }
.file .txt { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.file .name { font-size: 16px; line-height: 24px; font-weight: 600; overflow-wrap: anywhere; }
.file .meta { color: var(--ink-muted); }

/* chips */
.group { display: flex; flex-direction: column; gap: 8px; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.chip { min-height: 72px; padding: 10px 12px; border-radius: var(--r2); border: 1px solid var(--line);
        background: var(--hull); color: var(--ink); text-align: left; cursor: pointer; display: flex;
        flex-direction: column; justify-content: space-between; gap: 8px; }
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"] { border-color: var(--convert); background: var(--panel); }
.chip .top-row, .chip .bottom-row { display: flex; align-items: center; gap: 6px; width: 100%; }
.chip .fmt { font-size: 14px; line-height: 22px; font-weight: 600; }
.chip .ver { font-family: var(--mono); font-size: 12px; line-height: 20px; color: var(--ink-muted); overflow: hidden;
             text-overflow: ellipsis; white-space: nowrap; }
.chip .tick { margin-left: auto; color: var(--convert); visibility: hidden; }
.chip[aria-pressed="true"] .tick { visibility: visible; }
.chip .end { margin-left: auto; color: var(--ink-muted); }
.chip[disabled] { cursor: not-allowed; opacity: 0.55; }
.chip[disabled]:hover { border-color: var(--line); }
.dot { width: 6px; height: 6px; border-radius: 9999px; flex: none; background: var(--ink-muted); }
.dot.FULL { background: var(--success); }
.dot.PARTIAL { background: var(--warning); }
.dot.VISUAL { background: var(--info); }
.dot.FAIL { background: var(--danger); }
.detail { padding: 16px; border: 1px solid var(--convert); border-radius: var(--r4); background: var(--hull);
          display: flex; flex-direction: column; gap: 8px; }
.detail .label { color: var(--convert); }
.off-line { display: flex; align-items: center; gap: 8px; }

/* save to */
.dests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dest { padding: 16px; border-radius: var(--r4); border: 1px solid var(--line); background: var(--hull); color: var(--ink);
        text-align: left; cursor: pointer; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; }
.dest[aria-checked="true"] { border-color: var(--convert); background: var(--panel); }
.dest .txt { display: flex; flex-direction: column; flex-grow: 1; }
.dest .t { font-size: 16px; line-height: 24px; font-weight: 600; }
.dest .tick { color: var(--convert); visibility: hidden; }
.dest[aria-checked="true"] .tick { visibility: visible; }

/* progress */
.panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--r4); background: var(--hull);
         display: flex; flex-direction: column; gap: 24px; }
.fromto { display: flex; align-items: center; gap: 16px; }
.fromto > div { display: flex; flex-direction: column; min-width: 0; }
.fromto .v { font-size: 14px; line-height: 22px; font-weight: 600; overflow-wrap: anywhere; }
.prog-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.stages li { display: flex; align-items: center; gap: 12px; }
.stages .s { flex-grow: 1; }
.stages li.todo .s { color: var(--ink-muted); }
.stages li.now .s { font-weight: 600; }
.stages .v { color: var(--ink-muted); text-align: right; }
.st-ico { width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; flex: none; }
.st-ico i { width: 8px; height: 8px; border-radius: 9999px; border: 1px solid var(--line-strong); }
.now .st-ico i { background: var(--convert); border-color: var(--convert); animation: pulse 1.6s ease-in-out infinite; }
.done .st-ico { color: var(--success); }
@keyframes pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .now .st-ico i { animation: none; } .bar > i { transition: none; } }
.panel-foot { border-top: 1px solid var(--line); padding-top: 16px; display: flex; align-items: center;
              justify-content: space-between; gap: 16px; }

/* done */
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 22px; padding: 0 8px;
         border-radius: var(--r1); border: 1px solid var(--line-strong); background: var(--hull); font-family: var(--mono);
         font-size: 11px; font-weight: 500; letter-spacing: 0.08em; color: var(--ink); text-transform: uppercase; }
.result { border: 1px solid var(--line); border-radius: var(--r4); background: var(--hull); display: flex;
          flex-direction: column; }
.result .rhead { padding: 16px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.result .rhead .grow { flex-grow: 1; min-width: 0; overflow-wrap: anywhere; }
.result .rbody { padding: 16px 24px; display: flex; flex-direction: column; gap: 12px; }
table.across { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 22px; font-variant-numeric: tabular-nums; }
table.across td { padding: 8px 0; border-bottom: 1px solid var(--line); }
table.across tr:last-child td { border-bottom: 0; }
table.across td.n { text-align: right; font-family: var(--mono); font-size: 13px; }
table.across td.w { padding-left: 16px; width: 34%; color: var(--ink-muted); }

/* recent */
.recent { border: 1px solid var(--line); border-radius: var(--r4); background: var(--hull); overflow: hidden; }
.rrow { display: grid; grid-template-columns: minmax(0, 1fr) 64px 124px 76px 132px 136px; gap: 12px;
        align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.rrow:last-child { border-bottom: 0; }
.rrow.head { padding-top: 12px; padding-bottom: 12px; }
.rrow .nm { display: flex; flex-direction: column; min-width: 0; }
.rrow .nm b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrow .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrow .fid { display: flex; align-items: center; gap: 6px; }
.empty { padding: 32px 16px; text-align: center; color: var(--ink-muted); }

/* problem */
.problem { padding: 24px; border: 1px solid var(--line); border-radius: var(--r4); background: var(--hull);
           display: flex; gap: 16px; align-items: flex-start; }
.problem .ico { color: var(--danger); margin-top: 2px; }
.problem .ico.warn { color: var(--warning); }
.problem .txt { display: flex; flex-direction: column; gap: 8px; }

/* idle warning */
.scrim { position: fixed; inset: 0; background: rgba(11, 13, 16, 0.8); display: flex; align-items: center;
         justify-content: center; padding: 16px; z-index: 10; }
.dialog { width: 100%; max-width: 420px; padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--r5);
          background: var(--hull); display: flex; flex-direction: column; gap: 16px; }
.dialog .count { font-family: var(--mono); font-size: 28px; line-height: 36px; font-variant-numeric: tabular-nums; }

/* tablet and phone */
@media (max-width: 1100px) {
  .top.gate, .foot { padding: 0 32px; }
  .gate-main { padding: 40px 32px; }
  .gate-hero { grid-column: 1 / -1; }
  .gate-card { grid-column: 1 / span 8; }
  .gate-main { align-content: center; }
  h1.hero { font-size: 40px; line-height: 48px; }
}
@media (max-width: 720px) {
  .top, .top.gate, .foot { padding: 0 16px; }
  .gate-main { padding: 32px 16px; }
  .gate-card { grid-column: 1 / -1; }
  h1.hero { font-size: 30px; line-height: 38px; }
  h1 { font-size: 26px; line-height: 34px; }
  h2 { font-size: 20px; line-height: 28px; }
  .main { padding: 24px 16px; }
  .steps { gap: 8px; }
  .steps .label { font-size: 10px; letter-spacing: 0.08em; }
  .trail span { width: 40px; }
  .trail span:nth-child(4) { width: 28px; }
  .dests { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .panel-foot { flex-direction: column; align-items: stretch; }
  .who .name, .top .lbl { display: none; }
  .who { display: none; }
  .top .tools { gap: 0; }
  .top .btn { padding: 0 12px; }
  .lockup .word { width: 100px; height: 9.3px; }
  .rrow.head { display: none; }
  .rrow { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .rrow .c-fmt, .rrow .c-date, .rrow .c-size { grid-column: 1; }
  .rrow .c-fid { grid-column: 1; }
  .rrow .c-dl { grid-column: 2; grid-row: 1 / span 3; }
  .rrow.f { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 6px; }
  .rrow.f .nm { flex: 1 1 100%; }
  .rrow.f .c-dl { margin-left: auto; }
  .rrow.f.head { display: none; }
  .endorse span { font-size: 13px; }
}

/* Your files (main screen, PHASE2-DESIGN.md §12) */
.files { padding-top: 16px; }
.files-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rrow.f { grid-template-columns: minmax(0, 1fr) 64px 76px 132px 112px 136px; }
.files .actions { justify-content: center; }

/* admin page (Stage 2-3) */
.admin-gate .gate-card { grid-column: 5 / span 4; }
.col.wide-col { max-width: 1200px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border: 0;
       border-bottom: 2px solid transparent; background: transparent; color: var(--ink-muted); font-weight: 500;
       cursor: pointer; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--convert); }
.tab:focus-visible { outline: 2px solid var(--convert); outline-offset: -2px; }
.admin-card { display: flex; flex-direction: column; gap: 16px; }
section.card.admin-card { padding: 24px; }
.sec-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sec-head h2 { margin-right: auto; }
.tscroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r4); background: var(--hull); }
table.grid { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
table.grid th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
                text-transform: uppercase; color: var(--ink-muted); padding: 12px; border-bottom: 1px solid var(--line);
                white-space: nowrap; }
table.grid td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.grid tr:last-child td { border-bottom: 0; }
table.grid .n { text-align: right; font-variant-numeric: tabular-nums; }
table.grid td.data { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
table.grid td.acts { text-align: right; white-space: nowrap; }
table.grid td.acts .btn { min-height: 36px; padding: 0 12px; font-size: 13px; }
table.grid .empty { text-align: center; }
.state { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: var(--r1);
         border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 11px; font-weight: 500;
         letter-spacing: 0.08em; text-transform: uppercase; }
.state.unused { color: var(--info); border-color: var(--info); }
.state.bound { color: var(--success); border-color: var(--success); }
.state.revoked { color: var(--danger); border-color: var(--danger); }
.state.expired { color: var(--ink-muted); }
.btn.danger { background: var(--danger); color: var(--on-action); }
.btn.danger:hover { background: var(--ink); color: var(--void); }
.detail.once { border-color: var(--success); }
.detail.once .label { color: var(--success); }
.code-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.code { font-family: var(--mono); font-size: 24px; line-height: 32px; letter-spacing: 0.08em; color: var(--ink);
        user-select: all; overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: end; }
.form-grid .span2 { grid-column: span 2; }
.form-grid .end { justify-self: end; }
.input.plain { font-family: var(--sans); letter-spacing: 0; }
.input.narrow { width: auto; min-width: 120px; }
select.input { appearance: auto; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.stat { padding: 12px; border: 1px solid var(--line); border-radius: var(--r3); background: var(--hull); display: flex;
        flex-direction: column; gap: 4px; }
.stat .v { font-family: var(--mono); font-size: 20px; line-height: 28px; }
.problem.slim { padding: 16px; align-items: center; }
@media (max-width: 1100px) { .admin-gate .gate-card { grid-column: 1 / span 8; } }
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: auto; }
  .form-grid .end { justify-self: stretch; }
  .admin-gate .gate-card { grid-column: 1 / -1; }
}

/* Landing and sign-in (0.4.0): Vexra Grid's sign-in page (login-grid.html v1.1.0) copied 1:1 in structure, sizes and
   motion, with Convert's identity: the convert colour where Grid uses its amber. Grid's inline styles are classes here
   (Convert's CSP has no 'unsafe-inline'); its dot colour #1F242B is the --line token; the footer is the endorsement
   mark (Brand Guidelines v2), not Grid's "© 2026 Vexra" line. */
.lp-shell { flex: 1; min-height: 100vh; min-height: 100dvh; background-color: var(--void);
            background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 8px 8px; color: var(--ink);
            font-family: var(--sans); display: flex; flex-direction: column; padding: 24px 16px; }
.lp-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px 0; }
.lp-stage { position: relative; width: 100%; max-width: 520px; height: 96px; animation: lpShrink .45s cubic-bezier(.4, 0, .2, 1) 2.55s both; }
.lp-status { position: absolute; left: 0; right: 0; top: -32px; text-align: center; font: 500 11px var(--mono);
             letter-spacing: .24em; color: var(--ink-muted); animation: lpStatus 2.6s ease-out both; }
.lp-hub { position: absolute; left: 50%; top: 50%; width: 480px; max-width: 100%; height: auto; transform: translate(-50%, -50%); overflow: visible; }
.lp-word { width: 200px; height: auto; }
.lp-gname { display: block; margin-top: -8px; text-align: center; font: 500 13px var(--mono); letter-spacing: .42em; padding-left: .42em;
            color: var(--convert); animation: lpRise .35s cubic-bezier(.2, .8, .2, 1) 2.88s both; }
.lp-card { width: 100%; max-width: 400px; margin-top: 20px; background: var(--hull); border: 1px solid var(--line); border-radius: 10px;
           padding: 32px; display: flex; flex-direction: column; gap: 24px; animation: lpCard .45s cubic-bezier(.2, .8, .2, 1) 2.85s both; }
.lp-eyebrow, .lp-field label { font: 500 11px var(--mono); letter-spacing: .16em; color: var(--ink-muted); }
.lp-intro { display: flex; flex-direction: column; gap: 8px; }
.lp-intro h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 30px; letter-spacing: .02em; }
.lp-intro p { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.lp-form { display: flex; flex-direction: column; gap: 20px; }
.lp-field { display: flex; flex-direction: column; gap: 6px; }
.lp-field input { height: 44px; padding: 0 12px; border-radius: 4px; border: 1px solid var(--line-strong); background: var(--panel);
                  color: var(--ink); font: 400 14px var(--mono); letter-spacing: .08em; width: 100%; text-transform: uppercase; }
.lp-field input::placeholder { color: var(--ink-muted); letter-spacing: .08em; }
.lp-field input:focus { outline: 2px solid var(--action); outline-offset: 1px; border-color: var(--action); }
.lp-field.err input { border-color: var(--danger); }
.lp-msg { min-height: 18px; margin: 0; font-size: 12px; line-height: 18px; color: var(--danger); }
.lp-note { margin: 0; font-size: 13px; line-height: 20px; color: var(--info); }
.lp-help { margin: 0; font-size: 12px; line-height: 18px; color: var(--ink-muted); }
.lp-primary, .lp-secondary { height: 44px; border: 0; border-radius: 6px; background: var(--action); color: var(--on-action);
               font: 500 15px var(--sans); cursor: pointer; position: relative; overflow: hidden; transition: opacity .15s ease-out;
               display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.lp-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.lp-primary:hover { color: var(--on-action); }
.lp-primary:disabled { cursor: progress; opacity: .85; }
.lp-primary:focus-visible, .lp-secondary:focus-visible, .lp-ghost:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.lp-ghost { min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background: transparent;
            color: var(--ink-muted); font: 11px var(--mono); letter-spacing: .08em; cursor: pointer; }
.lp-ghost:hover { background: var(--panel); }
.lp-busy { display: inline-flex; align-items: center; gap: 10px; }
.lp-track { display: inline-block; width: 24px; height: 2px; overflow: hidden; background: var(--on-action); opacity: .5; }
.lp-track span { display: block; width: 12px; height: 2px; background: var(--void); animation: lpDash 1s linear infinite; }
.lp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
           animation: lpFade .4s ease-out 3.05s both; }
/* intro motion: Grid's "09b Login" keyframes, as authored; the product slot (7) is CONVERT */
.sk { transform-box: view-box; }
.lp-lb { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .24em; animation: lpLbOut .2s ease-in 1.95s both; }
.lb1 { fill: #A882FF; } .lb2 { fill: #5B8CFF; } .lb3 { fill: #F5E663; } .lb4 { fill: #4DE8FF; } .lb5 { fill: #7CF29A; }
.lb6 { fill: #C6FF3D; } .lb7 { fill: #E07BFF; } .lb8 { fill: #FF6A3D; } .lb9 { fill: #FF7AC6; }
.s1 { animation: lpS1 .45s cubic-bezier(.16, 1, .3, 1) .20s both, lpK1 .4s cubic-bezier(.55, 0, .45, 1) 2.160s forwards; } .k1 { fill: #A882FF; animation: lpTone .3s ease-in 2.05s both; }
.s2 { animation: lpS2 .45s cubic-bezier(.16, 1, .3, 1) .32s both, lpK2 .4s cubic-bezier(.55, 0, .45, 1) 2.145s forwards; } .k2 { fill: #5B8CFF; animation: lpTone .3s ease-in 2.05s both; }
.s3 { animation: lpS3 .45s cubic-bezier(.16, 1, .3, 1) .44s both, lpK3 .4s cubic-bezier(.55, 0, .45, 1) 2.130s forwards; } .k3 { fill: #F5E663; animation: lpTone .3s ease-in 2.05s both; }
.s4 { animation: lpS4 .45s cubic-bezier(.16, 1, .3, 1) .56s both, lpK4 .4s cubic-bezier(.55, 0, .45, 1) 2.115s forwards; } .k4 { fill: #4DE8FF; animation: lpTone .3s ease-in 2.05s both; }
.s5 { animation: lpS5 .45s cubic-bezier(.16, 1, .3, 1) .68s both, lpK5 .4s cubic-bezier(.55, 0, .45, 1) 2.100s forwards; } .k5 { fill: #7CF29A; animation: lpTone .3s ease-in 2.05s both; }
.s6 { animation: lpS6 .45s cubic-bezier(.16, 1, .3, 1) .80s both, lpK6 .4s cubic-bezier(.55, 0, .45, 1) 2.115s forwards; } .k6 { fill: #C6FF3D; animation: lpTone .3s ease-in 2.05s both; }
.s7 { animation: lpS7 .45s cubic-bezier(.16, 1, .3, 1) .92s both, lpK7 .4s cubic-bezier(.55, 0, .45, 1) 2.130s forwards; } .k7 { fill: #E07BFF; animation: lpTone .3s ease-in 2.05s both; }
.s8 { animation: lpS8 .45s cubic-bezier(.16, 1, .3, 1) 1.04s both, lpK8 .4s cubic-bezier(.55, 0, .45, 1) 2.145s forwards; } .k8 { fill: #FF6A3D; animation: lpTone .3s ease-in 2.05s both; }
.s9 { animation: lpS9 .45s cubic-bezier(.16, 1, .3, 1) 1.16s both, lpK9 .4s cubic-bezier(.55, 0, .45, 1) 2.160s forwards; } .k9 { fill: #FF7AC6; animation: lpTone .3s ease-in 2.05s both; }
.lp-m { fill: var(--convert); transform-box: fill-box; transform-origin: center; }
.lp-mv { animation: lpMarkV .35s cubic-bezier(.2, .8, .2, 1) 2.4s both; }
.lp-ml { animation: lpMarkL .35s cubic-bezier(.2, .8, .2, 1) 2.45s both; }
.lp-mu { animation: lpMarkU .35s cubic-bezier(.2, .8, .2, 1) 2.45s both; }
.lp-w { fill: var(--ink); animation: lpRise .35s cubic-bezier(.2, .8, .2, 1) both; }
.w1 { animation-delay: 2.6s; } .w2 { animation-delay: 2.65s; } .w3 { animation-delay: 2.7s; } .w4 { animation-delay: 2.75s; } .w5 { animation-delay: 2.8s; }
@keyframes lpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lpTone { to { fill: #E07BFF; } }
@keyframes lpLbOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes lpS1 { from { transform: translate(-360px, -96px); opacity: 0; } 35% { opacity: 1; } to { transform: translate(-44px, -96px); opacity: 1; } }
@keyframes lpK1 { from { transform: translate(-44px, -96px); opacity: 1; } 75% { opacity: 1; } to { transform: translate(0, 0); opacity: 0; } }
@keyframes lpS2 { from { transform: translate(360px, -72px); opacity: 0; } 35% { opacity: 1; } to { transform: translate(-44px, -72px); opacity: 1; } }
@keyframes lpK2 { from { transform: translate(-44px, -72px); opacity: 1; } 75% { opacity: 1; } to { transform: translate(0, 0); opacity: 0; } }
@keyframes lpS3 { from { transform: translate(-360px, -48px); opacity: 0; } 35% { opacity: 1; } to { transform: translate(-44px, -48px); opacity: 1; } }
@keyframes lpK3 { from { transform: translate(-44px, -48px); opacity: 1; } 75% { opacity: 1; } to { transform: translate(0, 0); opacity: 0; } }
@keyframes lpS4 { from { transform: translate(360px, -24px); opacity: 0; } 35% { opacity: 1; } to { transform: translate(-44px, -24px); opacity: 1; } }
@keyframes lpK4 { from { transform: translate(-44px, -24px); opacity: 1; } 75% { opacity: 1; } to { transform: translate(0, 0); opacity: 0; } }
@keyframes lpS5 { from { transform: translate(-360px, 0px); opacity: 0; } 35% { opacity: 1; } to { transform: translate(-44px, 0px); opacity: 1; } }
@keyframes lpK5 { from { transform: translate(-44px, 0px); opacity: 1; } 75% { opacity: 1; } to { transform: translate(0, 0); opacity: 0; } }
@keyframes lpS6 { from { transform: translate(360px, 24px); opacity: 0; } 35% { opacity: 1; } to { transform: translate(-44px, 24px); opacity: 1; } }
@keyframes lpK6 { from { transform: translate(-44px, 24px); opacity: 1; } 75% { opacity: 1; } to { transform: translate(0, 0); opacity: 0; } }
@keyframes lpS7 { from { transform: translate(-360px, 48px); opacity: 0; } 35% { opacity: 1; } to { transform: translate(-44px, 48px); opacity: 1; } }
@keyframes lpK7 { from { transform: translate(-44px, 48px); opacity: 1; } 75% { opacity: 1; } to { transform: translate(0, 0); opacity: 0; } }
@keyframes lpS8 { from { transform: translate(360px, 72px); opacity: 0; } 35% { opacity: 1; } to { transform: translate(-44px, 72px); opacity: 1; } }
@keyframes lpK8 { from { transform: translate(-44px, 72px); opacity: 1; } 75% { opacity: 1; } to { transform: translate(0, 0); opacity: 0; } }
@keyframes lpS9 { from { transform: translate(-360px, 96px); opacity: 0; } 35% { opacity: 1; } to { transform: translate(-44px, 96px); opacity: 1; } }
@keyframes lpK9 { from { transform: translate(-44px, 96px); opacity: 1; } 75% { opacity: 1; } to { transform: translate(0, 0); opacity: 0; } }
@keyframes lpMarkV { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }
@keyframes lpMarkL { from { opacity: 0; transform: translate(-8px, 8px); } to { opacity: 1; transform: translate(0, 0); } }
@keyframes lpMarkU { from { opacity: 0; transform: translate(8px, -8px); } to { opacity: 1; transform: translate(0, 0); } }
@keyframes lpShrink { from { height: 250px; } to { height: 96px; } }
@keyframes lpStatus { 0% { opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lpRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lpCard { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lpDash { from { transform: translateX(-24px); } to { transform: translateX(24px); } }
@media (prefers-reduced-motion: reduce) {
  .lp-shell *, .lp-shell { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}
