/* Hallmark · shape: kept · genre: editorial · theme: brand (Coral dealt 1/3) · redesign: full
 * paper: oklch(97% 0.006 55) / board #141210 · accent: #e85d2a · display: Satoshi · body: Satoshi · figures: JetBrains Mono
 * hero: Desk (home) · nav: kept · footer: kept · signature: the license key pressed into stock · v2.0.0 */
/* Hallmark · waived: 58 (the announce banner is the hero's third text block; panel-owned content, wiring kept) · 58 screen budgets on /legal /docs /order /cart /product sections (document and task surfaces; legal wording is never reworded) · 77 (stats strip is a ruled ledger line; trust and FAQ rows are Coral index rows) · 56 (.nav and .topbar never mount together; separate layouts) · 49b (long product names wrap inside cards, they are not controls) */
/* Hallmark · pre-emit critique: P_stock-panels-over-board H_no-tracked-caps-anywhere E_letterpress-buttons S_one-light-top-left R_lift+press-only · weakest: E, buttons lift 1px on hover and press 1px on active, nothing else moves */
/* DevRamen components. Tokens live in tokens.css, the Floor in base.css. */

/* ---------- type helpers ---------- */
.dim { color: var(--dim); }
.i { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; fill: none;
     stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 26px; height: 26px; }

/* ---------- section rhythm ---------- */
.sec { padding-block: var(--section-gap-s); }
.sec-tight { padding-block: var(--space-2xl); }
.sec-head { max-width: 56ch; margin-bottom: var(--space-xl); }
.sec-head p { color: var(--dim); margin-top: var(--space-sm); font-size: 1.03rem; }

/* ---------- pressed card buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-xs); justify-content: center;
  font: inherit; font-weight: 700; font-size: 15px;
  border: 0; border-radius: var(--r); min-height: 48px; padding: 0 var(--space-lg);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out),
              background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: inset 0 1px 0 var(--lit-strong), var(--cast-stock);
}
.btn-primary:hover { background: var(--accent-press); transform: translateY(-1px); box-shadow: inset 0 1px 0 var(--lit-strong), var(--cast-stock-lift); }
.btn-primary:active { transform: translateY(1px); box-shadow: inset 0 1px 0 var(--lit-soft), 0 1px 2px var(--shade); }
.btn-secondary {
  background: var(--panel); color: var(--text);
  box-shadow: var(--edge-stock), var(--cast-stock);
  background-image: var(--grain);
}
.btn-secondary:hover { transform: translateY(-1px); box-shadow: var(--edge-stock), var(--cast-stock-lift); }
.btn-secondary:active { transform: translateY(1px); box-shadow: var(--press-groove); }
.btn-ghost { background: transparent; box-shadow: none; color: var(--dim); min-height: 42px; padding: 0 var(--space-md); }
.btn-ghost:hover { color: var(--text); box-shadow: none; background: var(--raised); }
.btn-sm { min-height: 38px; font-size: 13.5px; padding: 0 var(--space-md); border-radius: var(--r-sm); }
.btn-lg { min-height: 54px; font-size: 16.5px; padding: 0 var(--space-xl); }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: var(--edge-stock); }
.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 0; border-radius: var(--r-sm); background: transparent;
  color: var(--dim); cursor: pointer; box-shadow: none;
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out);
}
.icon-btn:hover { color: var(--text); background: var(--raised); }
.icon-btn:active { transform: translateY(1px); }

/* ---------- pressed chips: the settled state ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.chip-ok   { color: var(--ok);   background: var(--ok-soft);   box-shadow: inset 0 0 0 1px var(--ok); }
.chip-warn { color: var(--warn); background: var(--warn-soft); box-shadow: inset 0 0 0 1px var(--warn); }
.chip-err  { color: var(--err);  background: var(--err-soft);  box-shadow: inset 0 0 0 1px var(--err); }
.chip-dim  { color: var(--dim);  background: var(--raised);    box-shadow: inset 0 0 0 1px var(--border); }
.chip-acc  { color: var(--accent-text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }

/* ---------- stock cards ---------- */
.card {
  background: var(--panel); background-image: var(--grain);
  border-radius: var(--r); box-shadow: var(--edge-stock), var(--cast-stock);
}
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm);
           padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border); }
.panel-t { font-weight: var(--fw-display); font-size: 15px; }

/* ---------- the license key, pressed into stock ---------- */
.key {
  display: flex; align-items: center; gap: 10px;
  min-width: 0;
  font-family: var(--font-mono); font-size: 13.5px;
  background: var(--bg); box-shadow: var(--press-groove);
  border: 0; border-radius: var(--r-sm);
  padding: 10px 12px;
}
.key span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn {
  margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px;
  border: 0; border-radius: 6px; background: transparent; color: var(--dim);
  cursor: pointer; flex: none; position: relative;
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out);
}
.copy-btn:hover { color: var(--text); background: var(--raised); }
.copy-btn .i-check { display: none; color: var(--ok); }
.copy-btn.copied .i-copy { display: none; }
.copy-btn.copied .i-check { display: block; }

/* ---------- announcement strip (ids are wiring) ---------- */
.announce {
  background: var(--panel); background-image: var(--grain);
  box-shadow: inset 0 -1px 0 var(--border);
  font-size: 13.5px; padding: 8px 0; color: var(--dim);
}
.announce-in { display: flex; align-items: center; gap: 10px; }
.announce-in p { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce-in a { color: var(--accent-text); font-weight: 700; text-decoration: none; }
.announce-in a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.announce-x { border: 0; background: none; color: var(--dim2); cursor: pointer; display: grid; place-items: center; border-radius: 6px; }
.announce-x:hover { color: var(--text); }

/* ---------- public nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navbg);
       backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
       box-shadow: inset 0 -1px 0 var(--border); }
.nav-inner { height: 64px; display: flex; align-items: center; gap: var(--space-lg); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: var(--fw-display); font-size: 20px;
         letter-spacing: var(--tracking-display); text-decoration: none; }
.brand .mark { color: var(--accent); }
.brand em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: var(--space-lg); margin-left: auto; }
.nav-links a { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; }
.mnav { position: fixed; inset: 0; background: var(--bg); z-index: 90; padding: var(--space-lg);
        display: none; flex-direction: column; gap: 2px; }
.mnav.open { display: flex; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-lg); }
.mnav a.mlink { font-size: 22px; font-weight: var(--fw-display); text-decoration: none; padding: 14px 4px;
                box-shadow: inset 0 -1px 0 var(--border); }
.mnav .btn { margin-top: var(--space-lg); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl);
        align-items: center; padding-block: var(--space-3xl) calc(var(--space-3xl) + var(--space-xs)); }
.hero h1 { font-size: var(--text-display); }
.hero-sub { font-size: var(--text-lead); color: var(--dim); max-width: 44ch; margin: var(--space-lg) 0 var(--space-xl); }
.hero-ctas { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* the delivery card: envelope stock behind, license card in front */
.deliv { position: relative; max-width: 460px; margin-left: auto; width: 100%; }
.dcard { background: var(--panel); background-image: var(--grain); border-radius: var(--r-lg); }
.dcard-back { position: absolute; inset: 0; transform: rotate(3.5deg) translate(14px, -18px);
              box-shadow: var(--edge-stock), var(--cast-stock); }
.dcard-front { position: relative; box-shadow: var(--edge-stock), var(--cast-stock-lift); }
.dcard-head { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md) 18px;
              box-shadow: inset 0 -1px 0 var(--border); }
.cover-sm { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--accent-soft);
            color: var(--accent); display: grid; place-items: center;
            font-weight: var(--fw-display); font-size: 17px; flex: none; }
.dcard-head b { font-size: 15px; display: block; }
.dcard-head small { color: var(--dim); font-size: 13px; }
.dcard-head .chip { margin-left: auto; }
.dcard-body { padding: 18px; display: grid; gap: var(--space-sm); }
.dcard-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--dim);
              font-size: 13px; align-items: center; }
.dcard-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dcard-foot { padding: var(--space-sm) 18px; box-shadow: inset 0 1px 0 var(--border); color: var(--dim);
              font-size: 13px; display: flex; gap: 8px; align-items: center; }
.dcard-foot .i { color: var(--ok); }

/* ---------- stats strip: real numbers as a ledger line ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
         background: var(--border); box-shadow: inset 0 1px 0 var(--border), inset 0 -1px 0 var(--border); }
.stat-c { background: var(--bg); padding: var(--space-lg) var(--space-lg); }
.stat-c b { display: block; font-family: var(--font-mono); font-variant-numeric: tabular-nums;
            font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.stat-c span { color: var(--dim); font-size: 13.5px; }

/* ---------- product covers: framed screenshots ---------- */
.cover {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--raised);
  box-shadow: var(--edge-stock);
  display: grid; place-items: center;
}
.cover .glyph {
  color: var(--accent);
  stroke: currentColor; fill: none; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.cover .meta-tag {
  position: absolute; left: var(--space-sm); bottom: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--dim);
  text-shadow: var(--text-shade);
}
.cover-xl { aspect-ratio: 4 / 3; width: 100%; }
.cover-xl .glyph { width: 120px; height: 120px; }
.cover-lg { height: 190px; }
.cover-lg .glyph { width: 56px; height: 56px; }
.cover-md { height: 120px; }
.cover-md .glyph { width: 44px; height: 44px; }

/* ---------- product spotlight ---------- */
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); align-items: center; }
.spotlight h3 { font-size: var(--text-title); margin: 6px 0 var(--space-sm); }
.spotlight .lead { margin-bottom: var(--space-lg); }
.feat-rows { display: grid; gap: 10px; margin-bottom: var(--space-lg); }
.feat-rows span { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.feat-rows .i { color: var(--ok); }
.price-from { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--accent-text); font-weight: 600; }

.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); margin-top: var(--space-lg); }
.pcard { display: block; text-decoration: none; background: var(--panel); background-image: var(--grain);
         border-radius: var(--r); overflow: hidden;
         box-shadow: var(--edge-stock), var(--cast-stock);
         transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--edge-stock), var(--cast-stock-lift); }
.pcard:nth-child(even) { margin-top: var(--space-lg); }
.pcard-body { padding: 18px; display: grid; gap: var(--space-xs); }
.pcard-body h3 { font-size: 16.5px; }
.pcard-body p { color: var(--dim); font-size: 14px; }
.pcard-foot { display: flex; justify-content: space-between; align-items: center;
              margin-top: 6px; }
.pcard-foot .from { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 14px; color: var(--accent-text); }
.pcard-foot .go { color: var(--dim); display: inline-flex; gap: 6px; align-items: center;
                  font-size: 13.5px; font-weight: 700; }
.pcard.soon { opacity: 0.75; }
.pcard.soon:hover { transform: none; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.step h3 { font-size: 17px; margin: var(--space-md) 0 var(--space-xs); }
.step p { color: var(--dim); font-size: 14.5px; max-width: 34ch; }
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px;
          border-radius: var(--r-sm); background: var(--panel);
          box-shadow: var(--edge-stock), var(--cast-stock);
          font-family: var(--font-mono); font-weight: 600; color: var(--accent); font-size: 13px;
          vertical-align: 4px; }

/* ---------- plans: the ruled price list ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.plan { background: var(--panel); background-image: var(--grain); border-radius: var(--r);
        box-shadow: var(--edge-stock), var(--cast-stock);
        padding: var(--space-lg) 22px; display: flex; flex-direction: column; gap: 14px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan-name { font-weight: var(--fw-display); font-size: 17px; }
.plan-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums;
              font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.plan-price small { font-size: 13px; color: var(--dim); font-weight: 400; }
.plan-desc { color: var(--dim); font-size: 13.5px; min-height: 40px; }
.plan ul { list-style: none; display: grid; gap: 9px; font-size: 14px; margin: 0; padding: 0; }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li .i { color: var(--ok); width: 17px; height: 17px; margin-top: 2px; }
.plan li.na { color: var(--dim2); }
.plan li.na .i { color: var(--dim2); }
.plan .btn { margin-top: auto; }
.plan-all { box-shadow: var(--edge-stock), var(--cast-stock), 0 0 0 1px var(--accent); }

/* ---------- trust rows ---------- */
.trust-list { max-width: 760px; }
.trust-row { display: flex; gap: 18px; padding: 22px 0; box-shadow: inset 0 1px 0 var(--border);
             align-items: flex-start; }
.trust-row:last-child { box-shadow: inset 0 1px 0 var(--border), inset 0 -1px 0 var(--border); }
.trust-ic { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--accent-soft);
            color: var(--accent); display: grid; place-items: center; flex: none; }
.trust-row h3 { font-size: 16px; margin-bottom: 4px; }
.trust-row p { color: var(--dim); font-size: 14.5px; max-width: 58ch; }

/* ---------- support ---------- */
.support-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--space-lg); }
.support-card { padding: var(--space-lg); display: grid; gap: var(--space-sm); align-content: start; }
.support-card h3 { font-size: 17px; }
.support-card p { color: var(--dim); font-size: 14.5px; }
.support-card .btn { justify-self: start; margin-top: 6px; }
.status-line { display: flex; align-items: center; gap: 10px; font-size: 14px;
               box-shadow: inset 0 1px 0 var(--border); padding-top: 14px; margin-top: 4px; }
.status-line a { color: var(--accent-text); font-weight: 700; text-decoration: none; }
.status-line a:hover { text-decoration: underline; text-decoration-color: var(--accent); }

/* ---------- small utilities (no inline styles in views) ---------- */
.price-line { margin-bottom: 18px; }
.i-flip { transform: rotate(180deg); }
.empty-state { grid-column: 1 / -1; display: grid; place-items: center; min-height: 220px;
               text-align: center; padding: 20px; }
.empty-state .i-lg { margin: 0 auto 10px; color: var(--dim2); }
.empty-state p { color: var(--dim); }
.cart-link { position: relative; color: inherit; text-decoration: none; margin-right: var(--space-sm); display: inline-flex; align-items: center; }
.cart-n { position: absolute; top: -7px; right: -9px; background: var(--accent); color: var(--on-accent);
          border-radius: var(--r-pill); font-size: 11px; font-weight: 700; min-width: 18px; height: 18px;
          display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }

/* ---------- faq ---------- */
.faq-list { max-width: 780px; }
.faq-list details { box-shadow: inset 0 1px 0 var(--border); }
.faq-list details:last-child { box-shadow: inset 0 1px 0 var(--border), inset 0 -1px 0 var(--border); }
.faq-list summary { list-style: none; cursor: pointer; display: flex;
                    justify-content: space-between; align-items: center; gap: var(--space-md);
                    padding: 20px 0; font-weight: 700; font-size: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { color: var(--dim); transition: transform var(--dur-short) var(--ease-out); }
.faq-list details[open] summary .i { transform: rotate(180deg); }
.faq-list details p { color: var(--dim); padding: 0 0 20px; max-width: 62ch; font-size: 15px; }

/* ---------- footer ---------- */
footer { box-shadow: inset 0 1px 0 var(--border); margin-top: var(--space-xl); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-xl);
             padding-block: var(--space-2xl) var(--space-xl); }
.foot-grid p { color: var(--dim); font-size: 14px; max-width: 34ch; margin-top: var(--space-sm); }
.foot-grid h4 { font-size: 13.5px; color: var(--dim); font-weight: 700; margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.foot-grid ul a { color: var(--dim); text-decoration: none; font-size: 14.5px; }
.foot-grid ul a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); }
.pay-tag { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px;
           font-family: var(--font-mono); font-size: 12.5px; color: var(--dim);
           border-radius: var(--r-sm); padding: 7px 14px;
           box-shadow: var(--press-groove); }
.foot-bottom { box-shadow: inset 0 1px 0 var(--border); padding-block: 18px 26px;
               display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
               color: var(--dim2); font-size: 13px; }

/* ---------- dashboard shell ---------- */
.dash { min-height: 100dvh; }
.sbar { position: fixed; left: 0; top: 0; bottom: 0; width: 256px; z-index: 40;
        background: var(--panel); box-shadow: inset -1px 0 0 var(--border);
        display: flex; flex-direction: column; padding: 18px 14px; gap: 3px;
        overflow-y: auto; }
.sbar-brand { display: flex; align-items: center; gap: 10px; font-weight: var(--fw-display); font-size: 19px;
              text-decoration: none; padding: 6px 10px 16px; letter-spacing: var(--tracking-display); }
.sbar-brand em { font-style: normal; color: var(--accent); }
.snav { display: flex; gap: 2px; flex-direction: column; }
.snav a { display: flex; align-items: center; gap: var(--space-sm); padding: 10px 12px; border-radius: var(--r-sm);
          color: var(--dim); font-weight: 600; font-size: 14.5px; text-decoration: none;
          transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.snav a:hover { background: var(--raised); color: var(--text); }
.snav a.active { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent-soft); }
.snav .soon { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--dim2);
              box-shadow: inset 0 0 0 1px var(--border); border-radius: var(--r-pill); padding: 1px 8px; }
.sbar-sec { font-size: 12px; color: var(--dim2); padding: 16px 12px 6px; font-weight: 700; }
.sbar-foot { margin-top: auto; box-shadow: inset 0 1px 0 var(--border); padding-top: 14px;
             display: flex; gap: 10px; align-items: center; }
.sbar-foot b { font-size: 14px; display: block; }
.sbar-foot small { color: var(--dim); font-size: 12px; }
.avt { width: 36px; height: 36px; border-radius: var(--r-pill); background: var(--accent);
       color: var(--on-accent); display: grid; place-items: center; font-weight: var(--fw-display);
       font-size: 13px; flex: none; }

.dash-main { margin-left: 256px; min-height: 100dvh; display: flex; flex-direction: column; }
.topbar { height: 64px; display: flex; align-items: center; gap: var(--space-md); padding: 0 28px;
          position: sticky; top: 0; z-index: 30;
          background: var(--navbg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
          box-shadow: inset 0 -1px 0 var(--border); }
.topbar h1 { font-size: 17px; font-weight: var(--fw-display); letter-spacing: -0.01em; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: var(--space-sm); }
.live { display: inline-flex; gap: 7px; align-items: center; font-size: 12.5px;
        color: var(--ok); font-weight: 700; }
.live i { width: 7px; height: 7px; border-radius: 99px; background: var(--ok); }
.menu-btn { display: none; }
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 35;
         opacity: 0; pointer-events: none; transition: opacity var(--dur-short) var(--ease-out); }
.scrim.show { opacity: 1; pointer-events: auto; }

.content { padding: 26px 28px 40px; display: grid; gap: var(--space-lg); width: 100%;
           max-width: var(--container); margin: 0 auto; }
.pagegrid { display: grid; gap: var(--space-lg); }
.grid-main-rail { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: var(--space-lg);
                  align-items: start; }
.grid-main-rail > *, .grid-2col > *, .pagegrid > * { min-width: 0; }
.grid-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }

/* greeting */
.greet { display: flex; align-items: flex-end; justify-content: space-between;
         gap: var(--space-md); flex-wrap: wrap; }
.greet h2 { font-size: var(--text-xl); }
.greet p { color: var(--dim); font-size: 14.5px; margin-top: 4px; }

/* callout */
.callout { display: flex; gap: 14px; align-items: center; padding: 15px 18px;
           border-radius: var(--r); font-size: 14.5px; flex-wrap: wrap; }
.callout .i { flex: none; }
.callout .btn { margin-left: auto; }
.callout-warn { background: var(--warn-soft); box-shadow: inset 0 0 0 1px var(--warn); }
.callout-warn .i { color: var(--warn); }
.callout b { font-weight: var(--fw-display); }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.tile { background: var(--panel); background-image: var(--grain); border-radius: var(--r);
        box-shadow: var(--edge-stock), var(--cast-stock);
        padding: 18px 20px; }
.tile-label { font-size: 13px; color: var(--dim); font-weight: 600; }
.tile-val { font-family: var(--font-mono); font-variant-numeric: tabular-nums;
            font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.tile-val small { font-size: 14px; color: var(--dim); font-weight: 500; }
.tile-delta { font-family: var(--font-mono); font-size: 12px; color: var(--dim);
              margin-top: 4px; }
.tile-delta.up { color: var(--ok); }

/* license cards */
.lic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-md); }
.lic-card { background: var(--panel); background-image: var(--grain); border-radius: var(--r);
            box-shadow: var(--edge-stock), var(--cast-stock);
            padding: 18px; display: grid; gap: var(--space-sm); min-width: 0; }
.lic-top { display: flex; gap: var(--space-sm); align-items: center; min-width: 0; }
.lic-top > div { min-width: 0; }
.lic-top b { display: block; font-size: 15px; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
.lic-top small { display: block; color: var(--dim); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lic-top .chip { margin-left: auto; flex: none; }
.lic-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--dim); font-size: 13px; }
.lic-meta span { display: inline-flex; gap: 6px; align-items: center; }
.lic-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.lic-card.expired { opacity: 0.7; }

/* tables: ruled ledger, sentence-case heads */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { font-size: 12.5px; color: var(--dim2); text-align: left; font-weight: 700; padding: 11px 20px;
          box-shadow: inset 0 -1px 0 var(--border); white-space: nowrap; }
.tbl td { padding: 13px 20px; box-shadow: inset 0 -1px 0 var(--border); vertical-align: middle; }
.tbl tr:last-child td { box-shadow: none; }
.tbl tbody tr { transition: background-color var(--dur-micro) var(--ease-out); }
.tbl tbody tr:hover { background: var(--raised); }
.tbl .mono { font-size: 13px; white-space: nowrap; }
.tbl a { color: var(--accent-text); text-decoration: none; font-weight: 600; }
.tbl a:hover { text-decoration: underline; text-decoration-color: var(--accent); }

/* feed */
.feed { display: flex; flex-direction: column; }
.fitem { display: flex; gap: var(--space-sm); padding: 13px 20px; box-shadow: inset 0 -1px 0 var(--border);
         font-size: 13.5px; align-items: flex-start; }
.fitem:last-child { box-shadow: none; }
.ficon { width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--raised);
         display: grid; place-items: center; color: var(--dim); flex: none; }
.fitem b { font-weight: 700; }
.fitem p { color: var(--dim); font-size: 13px; margin-top: 1px; }
.ftime { margin-left: auto; color: var(--dim2); font-size: 11.5px; font-family: var(--font-mono);
         flex: none; padding-top: 2px; }
.fitem.new { animation: fslide var(--dur-long) var(--ease-out); }
@keyframes fslide { from { opacity: 0; transform: translateY(-8px); } }

/* needs attention */
.attn { display: grid; gap: var(--space-sm); }
.attn-card { display: flex; gap: var(--space-sm); align-items: center; padding: 13px 16px;
             border-radius: var(--r); font-size: 14px; flex-wrap: wrap; }
.attn-card .i { flex: none; }
.attn-card small { display: block; color: var(--dim); font-size: 12.5px; }
.attn-card .btn { margin-left: auto; }
.attn-warn { background: var(--warn-soft); box-shadow: inset 0 0 0 1px var(--warn); }
.attn-warn .i { color: var(--warn); }
.attn-err { background: var(--err-soft); box-shadow: inset 0 0 0 1px var(--err); }
.attn-err .i { color: var(--err); }

/* top products mini bars */
.tp-row { padding: 13px 20px; box-shadow: inset 0 -1px 0 var(--border); }
.tp-row:last-child { box-shadow: none; }
.tp-top { display: flex; justify-content: space-between; gap: var(--space-sm); font-size: 14px;
          font-weight: 600; }
.tp-top .mono { color: var(--dim); font-weight: 500; font-size: 13px; }
.mbar { height: 4px; border-radius: 2px; background: var(--accent); margin-top: 9px; }

/* chart */
.chart-box { padding: 10px 14px 16px; height: 290px; position: relative; }
.chart-fallback { display: grid; place-items: center; height: 100%; color: var(--dim2);
                  font-size: 13.5px; }

/* ---------- product page ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--dim2); font-size: 13.5px;
          padding: 22px 0 26px; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.phead { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: var(--space-xl); align-items: center;
         padding-bottom: var(--space-2xl); }
.phead h1 { font-size: clamp(1.9rem, 3vw + 0.6rem, 2.7rem); margin: 14px 0 10px; }
.phead .lead { font-size: 16.5px; max-width: 54ch; }
.phead-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--space-md); align-items: center; }

/* plan pick: the groove */
.plan-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pplan { position: relative; }
.pplan input { position: absolute; opacity: 0; }
.pplan label { display: block; background: var(--panel); border-radius: var(--r);
               padding: var(--space-md) 18px; cursor: pointer;
               box-shadow: var(--press-groove);
               transition: box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.pplan input:checked + label { background: var(--accent-soft); box-shadow: var(--edge-stock), 0 0 0 1px var(--accent), var(--cast-stock); }
.pplan input:focus-visible + label { outline: var(--focus-ring); outline-offset: 2px; }
.pplan .pp-top { display: flex; justify-content: space-between; align-items: center; }
.pplan b { font-size: 15.5px; }
.pplan .pp-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--accent-text); font-weight: 600; }
.pplan p { color: var(--dim); font-size: 13px; margin-top: 6px; }
.buybar { position: sticky; bottom: 0; z-index: 20; background: var(--navbg);
          backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
          box-shadow: inset 0 1px 0 var(--border); margin-top: var(--space-2xl); }
.buybar-in { display: flex; align-items: center; gap: var(--space-md); padding: 13px 24px; }
.buybar-in .bb-info b { font-size: 14.5px; }
.buybar-in .bb-info span { color: var(--dim); font-size: 13px; display: block; }
.buybar-in .btn { margin-left: auto; }

/* ---------- marketplace ---------- */
.shop-head { display: flex; align-items: flex-end; justify-content: space-between;
             gap: var(--space-lg); flex-wrap: wrap; padding: 48px 0 34px; }
.shop-head p { color: var(--dim); margin-top: var(--space-xs); }
.shop-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search { position: relative; }
.search .i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
             color: var(--dim2); width: 17px; height: 17px; }
.search .input { padding-left: 38px; width: 260px; }
.cat-chips { display: flex; gap: var(--space-xs); flex-wrap: wrap; }
.cat-chip { border: 0; background: transparent; color: var(--dim);
            font: inherit; font-size: 13.5px; font-weight: 600; padding: 8px 15px;
            border-radius: var(--r-pill); cursor: pointer; box-shadow: var(--press-groove);
            transition: box-shadow var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.cat-chip:hover { color: var(--text); }
.cat-chip.on { background: var(--accent-soft); color: var(--accent-text); box-shadow: var(--edge-stock), 0 0 0 1px var(--accent); }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); padding-bottom: var(--space-2xl); }

/* ---------- form fields ---------- */
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 700; }
.field .help { color: var(--dim2); font-size: 12.5px; }
.input {
  background: var(--bg); border: 0; border-radius: var(--r-sm);
  box-shadow: var(--press-groove), inset 0 0 0 1px var(--dim2);
  padding: 11px 14px; color: var(--text); font: inherit; width: 100%; min-height: 44px;
  transition: box-shadow var(--dur-micro) var(--ease-out);
}
.input::placeholder { color: var(--dim2); }
.input:focus { outline: none; box-shadow: var(--press-groove), inset 0 0 0 1px var(--dim2), 0 0 0 2px var(--accent); }
select.input { appearance: auto; }

/* ---------- theme popover ---------- */
.themewrap { position: relative; }
.tpop { position: absolute; top: calc(100% + 10px); right: 0; width: 232px; z-index: 95;
        background: var(--panel); border-radius: var(--r);
        box-shadow: var(--edge-stock), var(--cast-stock-lift); padding: var(--space-xs); display: none; }
.tpop.open { display: block; }
.tpop-t { font-size: 12px; font-weight: 700; color: var(--dim2); padding: 8px 10px 6px; }
.topt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
        background: none; border: 0; font: inherit; font-weight: 600; font-size: 14px;
        color: var(--text); padding: 9px 10px; border-radius: var(--r-sm); cursor: pointer;
        transition: background-color var(--dur-micro) var(--ease-out); }
.topt:hover { background: var(--raised); }
.topt .dots { display: flex; gap: 4px; margin-left: auto; }
.topt .dots i { width: 12px; height: 12px; border-radius: 50%;
                box-shadow: inset 0 0 0 1px var(--border); }
.topt.on { background: var(--accent-soft); color: var(--accent-text); }
.modeseg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--bg);
           box-shadow: var(--press-groove); border-radius: var(--r-sm); padding: 4px; margin: 4px 6px 6px; }
.modeseg button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700;
                  color: var(--dim); padding: 7px 0; cursor: pointer; border-radius: calc(var(--r-sm) - 3px);
                  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.modeseg button.on { background: var(--panel); color: var(--text); box-shadow: var(--edge-stock), var(--cast-stock); }

/* ---------- preview toolbar ---------- */
.pvbar { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 100;
         background: var(--raised); border-radius: var(--r-pill);
         box-shadow: var(--edge-stock), var(--cast-stock-lift);
         padding: 8px 16px; display: flex; gap: 14px; align-items: center;
         font-size: 12.5px; white-space: nowrap; }
.pvbar b { color: var(--dim2); font-weight: 700; font-size: 11px; }
.pvbar a { color: var(--text); text-decoration: none; font-weight: 600; }
.pvbar a:hover, .pvbar a.cur { color: var(--accent); }

/* ---------- reveal: visible by default, moved only when js is on ---------- */
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
html:not(.nojs) .reveal { transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
html:not(.nojs) .reveal:not(.in) { opacity: 0; transform: translateY(14px);
  animation: reveal-fallback 0.45s ease 1.4s forwards; }
html:not(.nojs) .reveal.in { opacity: 1; transform: none; animation: none; }
html:not(.nojs) .reveal[data-d="1"] { transition-delay: 0.08s; }
html:not(.nojs) .reveal[data-d="2"] { transition-delay: 0.16s; }
html:not(.nojs) .reveal[data-d="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html:not(.nojs) .reveal:not(.in) { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-main-rail { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: var(--space-xl); padding-block: var(--space-2xl); }
  .deliv { margin: 0 auto; }
  .dcard-back { transform: rotate(2deg) translate(4px, -14px); }
  .spotlight { grid-template-columns: 1fr; gap: var(--space-lg); }
  .phead { grid-template-columns: 1fr; gap: 28px; }
  .support-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-primary { display: none; }
  .burger { display: grid; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .sbar { transform: translateX(-100%); transition: transform var(--dur-short) var(--ease-out); }
  .sbar.open { transform: none; box-shadow: var(--edge-stock), var(--cast-stock-lift); }
  .dash-main { margin-left: 0; }
  .menu-btn { display: grid; }
}
@media (max-width: 767px) {
  .sec { padding-block: var(--space-2xl); }
  .sec-tight { padding-block: var(--space-xl); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .plans { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .pcard:nth-child(even) { margin-top: 0; }
  .shop-grid { grid-template-columns: 1fr; }
  .plan-pick { grid-template-columns: 1fr; }
  .content { padding: 18px 16px 100px; }
  .topbar { padding: 0 16px; }
  .topbar .search { display: none; }
  .topbar h1 { font-size: 16px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
  .grid-2col { grid-template-columns: 1fr; gap: var(--space-md); }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  footer { padding-bottom: 92px; }

  .bnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; display: flex;
          background: var(--panel); box-shadow: inset 0 1px 0 var(--border);
          padding-bottom: env(safe-area-inset-bottom); }
  .bnav a { flex: 1; display: flex; flex-direction: column; gap: 3px; align-items: center;
            padding: 9px 0 8px; font-size: 10.5px; font-weight: 600; color: var(--dim);
            text-decoration: none; }
  .bnav a.active { color: var(--accent); }

  /* tables become stacked cards */
  .tbl-wrap { overflow: visible; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl thead { display: none; }
  .tbl tr { padding: 6px 16px; box-shadow: inset 0 -1px 0 var(--border); }
  .tbl tr:last-child { box-shadow: none; }
  .tbl td { box-shadow: none; padding: 8px 0; display: flex; justify-content: space-between;
            gap: var(--space-md); align-items: center; }
  .tbl td::before { content: attr(data-l); color: var(--dim2); font-size: 12px;
                    font-weight: 700; }
  .tbl td:first-child { padding-top: var(--space-sm); }
  .tbl td:last-child { padding-bottom: var(--space-sm); }

  .pvbar { bottom: 68px; max-width: calc(100vw - 24px); overflow-x: auto; }
}
@media (min-width: 768px) { .bnav { display: none; } }

/* ---------- hero product slideshow ---------- */
.pshow { position: relative; width: 100%; max-width: 460px; margin-left: auto; }
.pslide { display: none; }
.pslide.on { display: block; animation: pfade 0.5s var(--ease-out); }
@keyframes pfade { from { opacity: 0; transform: translateY(10px); } }
.pcard-slide { background: var(--panel); background-image: var(--grain); border-radius: var(--r-lg);
               overflow: hidden; display: block; text-decoration: none;
               color: inherit; box-shadow: var(--edge-stock), var(--cast-stock-lift);
               transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.pcard-slide:hover { transform: translateY(-2px); box-shadow: var(--edge-stock), var(--cast-stock-lift); }
.pslide-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--raised); padding: 10px; }
.pslide-img img { border-radius: var(--r-sm); }
.pslide-img img { width: 100%; height: 100%; object-fit: contain; background: var(--raised); }
.pslide-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: var(--raised); }
.pslide-fallback .glyph { width: 64px; height: 64px; color: var(--accent);
  stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pslide-fallback .meta-tag { position: absolute; left: 14px; bottom: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--dim2); }
.pslide-img .chip { position: absolute; top: var(--space-sm); right: var(--space-sm); }
.pslide-body { padding: var(--space-md) 18px; display: grid; gap: 6px; }
.pslide-body b { font-size: 16.5px; }
.pslide-body p { color: var(--dim); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis;
                 white-space: nowrap; }
.pslide-foot { display: flex; justify-content: space-between; align-items: center;
               padding: var(--space-sm) 18px; box-shadow: inset 0 1px 0 var(--border); font-size: 13px; }
.pslide-foot .from { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--accent-text); font-weight: 600; }
.pslide-foot .go { color: var(--dim); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.pctl { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 14px; }
.pdots { display: flex; gap: 6px; }
.pdot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
        background: var(--border); transition: background-color var(--dur-short) var(--ease-out), width var(--dur-short) var(--ease-out); }
.pdot.on { background: var(--accent); width: 22px; }
.parrow { width: 36px; height: 36px; border-radius: 50%; border: 0;
          background: var(--panel); background-image: var(--grain); color: var(--dim);
          display: grid; place-items: center; cursor: pointer;
          box-shadow: var(--edge-stock), var(--cast-stock);
          transition: transform var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.parrow:hover { color: var(--text); transform: translateY(-1px); }
.parrow:active { transform: translateY(1px); }
@media (max-width: 960px) { .pshow { margin: 0 auto; } }

/* ---------- product gallery ---------- */
.gallery-main { border-radius: var(--r); overflow: hidden; background: var(--raised);
                box-shadow: var(--edge-stock), var(--cast-stock); }
.gallery-main img { width: 100%; max-height: 560px; object-fit: contain; display: block; background: var(--raised); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gthumb { width: 76px; height: 60px; border-radius: var(--r-sm); overflow: hidden;
          background: var(--raised); border: 0; padding: 0; cursor: pointer;
          box-shadow: var(--press-groove);
          transition: box-shadow var(--dur-micro) var(--ease-out); }
.gthumb.on, .gthumb:hover { box-shadow: var(--edge-stock), 0 0 0 2px var(--accent); }
.gthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- device quantity selector ---------- */
.devsel { display: flex; align-items: center; gap: 14px 26px; padding: var(--space-md) var(--space-lg);
          margin-top: 14px; flex-wrap: wrap; }
.devsel > div:first-child { flex: 1; min-width: 240px; }
.devsel b { font-size: 15px; display: block; }
.devsel p { color: var(--dim); font-size: 13px; margin-top: 2px; max-width: 46ch; }
.devsel .qty { display: flex; align-items: center; gap: 10px; flex: none; }
.devsel .qty .icon-btn { width: 40px; height: 40px; background: var(--panel); background-image: var(--grain);
                         box-shadow: var(--edge-stock), var(--cast-stock); }
.devsel .qty .icon-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.qval { min-width: 44px; text-align: center; font-family: var(--font-mono); font-variant-numeric: tabular-nums;
        font-size: 17px; font-weight: 600; }
.devcalc { font-family: var(--font-mono); font-variant-numeric: tabular-nums;
           font-size: 14px; color: var(--accent-text); font-weight: 600; flex: none; }
@media (max-width: 767px) {
  .devsel { align-items: flex-start; }
  .devsel .qty { margin-left: 0; }
}

/* ---------- product videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.video-card { background: var(--panel); border-radius: var(--r); overflow: hidden;
              box-shadow: var(--edge-stock), var(--cast-stock); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--video-ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 767px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- checkout buy row ---------- */
.buy-row { display: grid; gap: var(--space-sm); justify-items: start; margin-top: var(--space-lg);
           padding-top: 22px; box-shadow: inset 0 1px 0 var(--border); }
.buy-row .secure-note { color: var(--dim); font-size: 13.5px; display: inline-flex;
                        gap: var(--space-xs); align-items: center; }
@media (max-width: 767px) {
  .buy-row .btn { width: 100%; }
}

/* product covers with real images */
.cover img { position: absolute; inset: 0; width: 100%; height: 100%;
             object-fit: contain; border-radius: inherit; background: var(--raised); }
.cover .meta-tag { z-index: 1; text-shadow: var(--text-shade); }
.cover-feature { height: 100%; min-height: 230px; }
@media (max-width: 767px) { .cover-feature { min-height: 190px; } }

/* ---------- floating contact buttons ---------- */
.contact-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60;
               display: grid; gap: 10px; justify-items: center; }
.c-fab { width: 52px; height: 52px; border-radius: 50%; display: grid;
         place-items: center; box-shadow: var(--cast-stock-lift);
         transition: transform var(--dur-micro) var(--ease-out); }
.c-fab:hover { transform: translateY(-2px); }
.c-fab:active { transform: scale(0.96); }
.c-fab svg { width: 26px; height: 26px; fill: var(--paper-qr); }
.c-wa { background: var(--brand-wa); }
.c-tg { background: var(--brand-tg); }
body:has(.buybar) .contact-fab { bottom: 88px; }
@media (max-width: 767px) {
  .contact-fab { right: 14px; bottom: 14px; }
  .c-fab { width: 46px; height: 46px; }
  .c-fab svg { width: 23px; height: 23px; }
}

/* ---------- auth ---------- */
.auth-wrap { min-height: 100dvh; display: grid; place-items: center; padding: 48px 16px; }
.auth-card { width: 100%; max-width: 420px; background: var(--panel); background-image: var(--grain);
             border-radius: var(--r-lg); padding: 30px 28px;
             box-shadow: var(--edge-stock), var(--cast-stock-lift); }
.auth-card .brand { margin-bottom: 18px; }
.auth-card h1 { font-size: var(--text-xl); margin-bottom: 6px; }
.auth-card .sub { color: var(--dim); font-size: 14px; margin-bottom: 22px; }
.auth-card form { display: grid; gap: 14px; }
/* auth secondary actions: pressed stock mini-cards */
.auth-actions { display: flex; gap: 10px; margin-top: var(--space-md); }
.aa-btn { flex: 1; display: flex; align-items: center; justify-content: center;
          min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--r-sm);
          font-size: 13.5px; font-weight: 700; text-decoration: none; color: var(--text);
          white-space: nowrap; background: var(--panel); background-image: var(--grain);
          box-shadow: var(--edge-stock), var(--cast-stock);
          transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.aa-btn:hover { transform: translateY(-1px); box-shadow: var(--edge-stock), var(--cast-stock-lift); }
.aa-btn-soft { background: transparent; background-image: none; box-shadow: var(--press-groove); color: var(--dim); }
.aa-btn-soft:hover { color: var(--text); box-shadow: var(--press-groove); transform: none; }
.aa-btn-strong { box-shadow: var(--edge-stock), var(--cast-stock), 0 0 0 1px var(--accent); color: var(--accent-text); }
.aa-btn-strong:hover { background-color: var(--accent-soft); }

.auth-foot { margin-top: 18px; color: var(--dim); font-size: 14px; text-align: center; }
.auth-foot a { color: var(--accent-text); font-weight: 700; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.form-alert { background: var(--err-soft); color: var(--text);
              box-shadow: inset 0 0 0 1px var(--err);
              border-radius: var(--r-sm); padding: 11px 14px; font-size: 14px; display: none; }
.form-alert.show { display: block; }

/* ---------- stepper ---------- */
.stepper { display: flex; gap: var(--space-xs); align-items: center; flex-wrap: wrap; }
.step-dot { display: flex; gap: 9px; align-items: center; padding: 9px 15px; border-radius: var(--r-pill);
            color: var(--dim); font-size: 13.5px; font-weight: 700; box-shadow: var(--press-groove); }
.step-dot.done { background: var(--ok-soft); color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); }
.step-dot.now { color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }

/* ---------- payment ---------- */
.pay-qr { display: grid; place-items: center; padding: 18px; background: var(--paper-qr); border-radius: var(--r);
          width: 240px; height: 240px; margin: 0 auto; }
.pay-qr img, .pay-qr canvas { width: 200px; height: 200px; }
.txid-form { display: grid; gap: 10px; margin-top: 14px; }
.hr-dim { border: 0; height: 1px; background: var(--border); margin: var(--space-md) 0; }
.lic-detail { display: grid; gap: 14px; }
.kbd-note { color: var(--dim2); font-size: 12.5px; font-family: var(--font-mono); }
.notice-ok { background: var(--ok-soft); box-shadow: inset 0 0 0 1px var(--ok); border-radius: var(--r);
             padding: 13px 16px; font-size: 14.5px; display: flex; gap: var(--space-sm); align-items: center; flex-wrap: wrap; }
.notice-ok .i { color: var(--ok); }
.secure-note { display: flex; gap: var(--space-xs); align-items: center; color: var(--dim); font-size: 13px; }
.filter-row { display: flex; gap: var(--space-xs); flex-wrap: wrap; align-items: center; }
.stat-mini { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--dim); }

/* ---------- role badges ---------- */
.role-badge { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px;
              font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill);
              width: fit-content; }
.role-badge .i { width: 10px; height: 10px; }
.role-admin { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent); }
.role-manager { background: var(--warn-soft); color: var(--warn-text); box-shadow: inset 0 0 0 1px var(--warn); }
.role-user { background: var(--ok-soft); color: var(--ok-text); box-shadow: inset 0 0 0 1px var(--ok); }
.role-top { margin: 0; }
@media (max-width: 767px) { .role-top { display: none; } }
/* ---------- product page: rich text, steps, release notes, testimonials ---------- */
.price-lead { font-size: 18px; }
.phead-note { font-size: 13px; }
.gthumb.on { box-shadow: var(--edge-stock), 0 0 0 2px var(--accent); }

.about-rich { max-width: 70ch; color: var(--dim); }
.about-rich h2, .about-rich h3, .about-rich h4 { color: var(--text); margin: 18px 0 8px; font-size: 16px; letter-spacing: 0; }
.about-rich p { margin: 0 0 12px; line-height: 1.7; }
.about-rich ul, .about-rich ol { margin: 0 0 12px; padding-left: 20px; }
.about-rich li { margin: 0 0 6px; }
.about-rich a { color: var(--accent-text); }
.about-rich strong { color: var(--text); font-weight: 700; }
.about-rich > :last-child { margin-bottom: 0; }

.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.step3 { background: var(--panel); background-image: var(--grain); border-radius: var(--r);
         box-shadow: var(--edge-stock), var(--cast-stock); padding: 22px 22px 20px;
         transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.step3:hover { transform: translateY(-2px); box-shadow: var(--edge-stock), var(--cast-stock-lift); }
.step3 h3 { margin: 0 0 8px; font-size: 16px; }
.step3 p { margin: 0; color: var(--dim); font-size: 14px; line-height: 1.65; }

.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.t-figure { padding: 18px 20px; margin: 0; }
.t-stars { color: var(--warn); font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.t-figure blockquote { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.6; }
.t-figure figcaption { margin-top: var(--space-sm); font-size: 13.5px; }
.t-meta { margin-left: 6px; }

.rn-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.rn-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--dim); font-size: 14px; line-height: 1.55; }
.rn-tag { flex: none; display: inline-block; min-width: 78px; text-align: center; font-size: 12px;
          font-weight: 700; padding: 2.5px 9px; border-radius: var(--r-pill); margin-top: 1px; }
.rn-new { color: var(--ok); background: var(--ok-soft); box-shadow: inset 0 0 0 1px var(--ok); }
.rn-imp { color: var(--accent-text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.rn-fix { color: var(--warn); background: var(--warn-soft); box-shadow: inset 0 0 0 1px var(--warn); }
.rn-sec { color: var(--err); background: var(--err-soft); box-shadow: inset 0 0 0 1px var(--err); }
.rn-txt { color: var(--dim2); font-size: 12.5px; }
.rn-fold { margin-top: 10px; }
.rn-fold summary { cursor: pointer; color: var(--dim); font-size: 13.5px; font-weight: 700; list-style: none; display: inline-flex; align-items: center; gap: 6px; user-select: none; }
.rn-fold summary::-webkit-details-marker { display: none; }
.rn-fold summary:hover { color: var(--text); }
.rn-fold summary svg { transition: transform var(--dur-micro) var(--ease-out); }
.rn-fold[open] summary svg { transform: rotate(90deg); }
.rn-fold .rn-list { margin-top: var(--space-sm); }
/* ---------- shared view components (cart, order, checkout, admin) ---------- */
.btn-danger-ghost { color: var(--err); background: var(--err-soft); box-shadow: inset 0 0 0 1px var(--err); }
.btn-danger-ghost:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--err), var(--cast-stock); white-space: normal; }
.btn-warn-solid { background: var(--warn); color: #22180a; font-weight: 700; box-shadow: inset 0 1px 0 var(--lit-strong), var(--cast-stock); }
.btn-warn-solid:hover { transform: translateY(-1px); filter: brightness(1.05); }
.modal-inline { position: fixed; inset: 0; background: var(--scrim); z-index: 60; align-items: center; justify-content: center; }
.modal-inline[style*="flex"], .modal-inline.show { display: flex; }
.gw-row { display: flex; gap: 14px; align-items: center; padding: 12px 14px; flex-wrap: wrap; margin-top: 14px; }
.pay-qr-sm { width: 92px; height: 92px; object-fit: contain; background: var(--paper-qr); border-radius: var(--r-sm); padding: 4px; }
.pay-qr-md { width: 150px; height: 150px; object-fit: contain; background: var(--paper-qr); border-radius: var(--r-sm); padding: 6px; }
.coupon-row-label { padding: 10px 20px; font-weight: 600; color: var(--ok); }
.coupon-row-amount { padding: 10px 8px; font-weight: 600; color: var(--ok); }
tr.coupon-row-final { box-shadow: inset 0 2px 0 var(--ok); background: var(--ok-soft); }
.notice-card { padding: 12px 16px; margin: 10px 0; font-size: 14px; background: var(--panel); background-image: var(--grain); border-radius: var(--r); box-shadow: var(--edge-stock); }
.txid-ok { margin-bottom: 14px; background: var(--ok-soft); box-shadow: inset 0 0 0 1px var(--ok); border-radius: var(--r); padding: 14px 16px; font-size: 14.5px; }
.txid-ok-label { color: var(--ok); }
.txid-warn { margin-top: 14px; background: var(--warn-soft); box-shadow: inset 0 0 0 1px var(--warn); border-radius: var(--r); padding: 16px 18px; }
.empty-state-icon { margin: 0 auto 10px; color: var(--warn); }
.v-cover { width: 100%; height: 100%; object-fit: cover; background: var(--video-ink); }
/* prose links read in the deepened accent */
.link-acc { color: var(--accent-text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent-soft); text-underline-offset: 0.16em; }
.link-acc:hover { text-decoration-color: var(--accent-text); }
/* form region: a pressed sub-form inside a form, never a nested card */
.form-region { box-shadow: var(--press-groove), inset 0 0 0 1px var(--dim2); border-radius: var(--r-sm); padding: 14px; display: grid; gap: 14px; }
