/* Shared Phase 2 styles — extends design-tokens.css */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background:
    radial-gradient(circle at 15% 0%, #F2F2F2 0%, transparent 38%),
    radial-gradient(circle at 85% 100%, #EFEFEF 0%, transparent 38%),
    #F7F7F7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page { max-width: 1680px; margin: 0 auto; padding: 32px 32px 64px; }

/* ─── Wireframe meta header ─── */
.meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}
.meta__id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  text-transform: uppercase;
}
.meta__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
}
.meta__sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
  max-width: 560px;
}
.meta__phase {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  border: 1px solid var(--border-default);
  padding: 6px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Browser chrome ─── */
.browser {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08), 0 1px 0 rgba(0,0,0,0.04);
  border: 1px solid var(--border-subtle);
  position: relative;
}
.browser__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: #ECECEC;
  border-bottom: 1px solid #DCDCDC;
}
.browser__lights { display: flex; gap: 7px; }
.browser__lights span {
  width: 12px; height: 12px; border-radius: 50%; background: #D4D4D4;
}
.browser__lights span:nth-child(1) { background: #FF5F57; }
.browser__lights span:nth-child(2) { background: #FEBC2E; }
.browser__lights span:nth-child(3) { background: #28C840; }
.browser__url {
  flex: 1; height: 28px; background: #fff;
  border: 1px solid #D4D4D4; border-radius: 6px;
  display: flex; align-items: center; gap: 8px; padding: 0 10px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-secondary);
  max-width: 480px; margin: 0 auto;
}
.browser__url b { color: var(--text-primary); font-weight: 500; }
.browser__tabs {
  display: flex; padding: 0 10px; background: #ECECEC;
  border-bottom: 1px solid #DCDCDC;
}
.browser__tab {
  padding: 8px 14px; font-size: 12px; color: var(--text-secondary);
  border-right: 1px solid #DCDCDC;
  display: flex; align-items: center; gap: 6px;
}
.browser__tab--active {
  background: #fff; color: var(--text-primary);
  border-top: 2px solid var(--brand-red);
  margin-top: -1px; padding-top: 7px;
}
.browser__stage {
  position: relative;
  background:
    linear-gradient(#FAFAFA 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, #FAFAFA 1px, transparent 1px) 0 0 / 24px 24px,
    #fff;
  padding: 56px 40px 64px;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  gap: 48px 56px;
}

/* ─── Role-switcher pill ─── */
.role-switcher {
  position: absolute; top: 20px; right: 24px;
  display: inline-flex; align-items: stretch;
  background: #fff; border: 1px solid var(--border-default);
  border-radius: var(--radius-full); padding: 4px;
  box-shadow: var(--shadow-sm); z-index: 5;
  font-size: 12px; font-weight: 500;
}
.role-switcher button {
  border: none; background: transparent; padding: 6px 12px;
  border-radius: var(--radius-full);
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-secondary); cursor: pointer; font: inherit;
}
.role-switcher button.active { background: var(--ink); color: #fff; }
.role-switcher .swap { align-self: center; color: var(--text-tertiary); padding: 0 6px; }
.role-switcher .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-red); display: inline-block; }

/* ─── Phone ─── */
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone-label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 8px;
}
.phone-label__num {
  background: var(--ink); color: #fff;
  width: 28px; height: 22px; border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600; font-family: var(--font-mono); letter-spacing: 0.04em;
}
.phone {
  width: 380px; height: 820px;
  border-radius: 48px; background: #0A0A0A;
  padding: 10px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.25),
    0 18px 36px -18px rgba(0,0,0,0.2),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
}
.phone__screen {
  width: 100%; height: 100%;
  border-radius: 38px; background: var(--surface);
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}
.phone__screen--dark { background: #0A0A0A; }

/* Static fake status bar */
.statusbar {
  height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  font-size: 14px; font-weight: 600; color: var(--text-primary);
  font-feature-settings: var(--font-feature-numeric);
  position: relative; z-index: 2;
}
.statusbar--light { color: #fff; }
.statusbar__notch {
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 30px; border-radius: 20px;
  background: #0A0A0A;
}
.statusbar__icons { display: inline-flex; align-items: center; gap: 6px; }
.statusbar__icons svg { display: block; }

/* Home indicator */
.home-indicator {
  height: 24px; flex-shrink: 0;
  display: flex; justify-content: center; align-items: flex-start;
  padding-top: 8px;
}
.home-indicator span {
  width: 134px; height: 5px; border-radius: 99px;
  background: var(--ink);
}
.home-indicator--light span { background: #fff; }

/* ─── App chrome inside phone ─── */
.app {
  flex: 1; overflow: hidden;
  display: flex; flex-direction: column;
  position: relative; background: var(--surface-sunken);
}
.app__topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 20px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
}
.app__wordmark {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
}
.app__wordmark::before {
  content: ""; width: 10px; height: 10px;
  background: var(--brand-red);
  display: inline-block; transform: translateY(1px);
}
.app__wordmark span { color: var(--text-tertiary); font-weight: 500; font-size: 12px; letter-spacing: 0; }
.app__icons { display: inline-flex; gap: 12px; color: var(--text-secondary); }
.app__icons svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.app__body {
  flex: 1; overflow-y: auto;
  padding: 16px 16px 16px;
  font-feature-settings: var(--font-feature-numeric);
}

/* ─── Tab bar ─── */
.tabbar {
  flex-shrink: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  padding: 8px 8px 4px;
}
.tabbar__item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 0;
  font-size: 11px; font-weight: 500;
  color: var(--text-tertiary);
  text-decoration: none;
}
.tabbar__item svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tabbar__item--active { color: var(--brand-red); }
.tabbar__item--active .tabbar__dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--brand-red);
  margin-top: 1px;
}

/* ─── Greetings + section headings ─── */
.greet {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 4px 0 2px;
}
.greet__date {
  font-size: 12px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-h {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 22px 0 10px;
}
.section-h h3 {
  font-size: 13px; font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}
.section-h__more {
  font-size: 12px; color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* ─── ContextState 2×2 ─── */
.context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ctx-tile {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.ctx-tile__head {
  display: flex; align-items: center; gap: 8px;
}
.ctx-tile__icon {
  width: 28px; height: 28px;
  background: var(--surface-muted);
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-primary);
}
.ctx-tile__icon svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ctx-tile__lbl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.ctx-tile__val {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}
.ctx-tile__val em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* ─── Compact offer card (for U-3) ─── */
.offer-compact {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 4px 88px 1fr;
  align-items: stretch;
  cursor: pointer;
}
.offer-compact__strip { background: var(--brand-red); }
.offer-compact__img {
  background:
    repeating-linear-gradient(135deg, #EFEFEF 0 8px, #F7F7F7 8px 16px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 9px; color: var(--text-tertiary);
}
.offer-compact__body {
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.offer-compact__pill {
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red-deep);
  display: inline-flex; gap: 4px; align-items: center;
}
.offer-compact__title {
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  margin: 0;
}
.offer-compact__meta {
  font-size: 12px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 6px;
}
.offer-compact__meta .sep { color: var(--border-default); }
.offer-compact__meta .discount { color: var(--brand-red-deep); font-weight: 600; }
.offer-compact__chev {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-tertiary);
}
.offer-compact__chev svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.offer-compact--muted { opacity: 0.55; box-shadow: none; border: 1px solid var(--border-subtle); }
.offer-compact--muted .offer-compact__strip { background: var(--border-default); }

/* ─── Wallet balance card ─── */
.balance {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.balance__lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.balance__num {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-feature-settings: var(--font-feature-numeric);
}
.balance__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
}
.balance__bar {
  margin-top: 14px;
  height: 4px; border-radius: 99px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.balance__bar::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 70%;
  background: var(--brand-red);
}
.balance__hint {
  display: flex; justify-content: space-between;
  font-size: 11px; color: rgba(255,255,255,0.55);
  font-family: var(--font-mono);
  margin-top: 6px;
}
.balance__corner {
  position: absolute;
  top: 18px; right: 20px;
  font-size: 11px; color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Active wallet offer card ─── */
.wallet-offer {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  position: relative;
}
.wallet-offer::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px;
  width: 3px; background: var(--brand-red);
  border-radius: 0 99px 99px 0;
}
.wallet-offer__txt { padding-left: 8px; }
.wallet-offer__name {
  font-size: 14px; font-weight: 600; margin: 0;
}
.wallet-offer__meta {
  font-size: 12px; color: var(--text-secondary); margin-top: 2px;
  display: flex; gap: 6px; align-items: center;
}
.wallet-offer__meta .sep { color: var(--border-default); }
.wallet-offer__validity {
  font-size: 11px;
  color: var(--warning);
  margin-top: 4px;
  font-weight: 500;
  display: inline-flex; gap: 4px; align-items: center;
}
.wallet-offer__validity svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }
.wallet-offer__qr {
  width: 40px; height: 40px;
  border-radius: 6px;
  background:
    conic-gradient(from 0deg, var(--ink) 0 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0/8px 8px;
  background-color: var(--surface-muted);
  position: relative;
  flex-shrink: 0;
}
.wallet-offer__qr::after {
  content: "QR";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 600; color: var(--text-primary);
  background: rgba(255,255,255,0.85);
  border-radius: 4px;
  margin: 4px;
}

/* ─── History row ─── */
.history-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  padding: 10px 4px;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}
.history-row:last-child { border-bottom: none; }
.history-row__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--text-secondary);
  display: inline-flex; align-items: center; justify-content: center;
}
.history-row__icon svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.history-row__txt { display: flex; flex-direction: column; gap: 2px; }
.history-row__name { font-size: 13px; font-weight: 500; }
.history-row__date {
  font-size: 11px; color: var(--text-tertiary);
  font-family: var(--font-mono);
}
.history-row__amt {
  font-size: 13px;
  color: var(--success);
  font-weight: 600;
  font-feature-settings: var(--font-feature-numeric);
}

/* ─── U-6 QR full screen ─── */
.qr-screen {
  flex: 1;
  background: #0A0A0A;
  color: #fff;
  display: flex; flex-direction: column;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}
.qr-screen__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 28px;
}
.qr-screen__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.qr-screen__close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.qr-screen__pill {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 5px 10px;
  border-radius: var(--radius-full);
}
.qr-screen__merchant {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.qr-screen__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 4px 0 28px;
  color: #fff;
}
.qr-screen__qrwrap {
  margin: 0 auto;
  width: 280px; height: 280px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.qr-screen__qr {
  width: 100%; height: 100%;
  background:
    conic-gradient(from 0deg, var(--ink) 0 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0/16px 16px,
    conic-gradient(from 0deg, var(--ink) 0 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 8px 8px/16px 16px;
  background-color: #fff;
  position: relative;
  border-radius: 4px;
}
.qr-screen__qr::before, .qr-screen__qr::after {
  content: "";
  position: absolute;
  width: 48px; height: 48px;
  border: 8px solid var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 8px #fff, inset 0 0 0 16px var(--ink);
}
.qr-screen__qr::before { top: 0; left: 0; }
.qr-screen__qr::after { top: 0; right: 0; }
.qr-screen__qrwrap > .qr-screen__qr2 {
  position: absolute;
  bottom: 16px; left: 16px;
  width: 48px; height: 48px;
  border: 8px solid var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 8px #fff, inset 0 0 0 16px var(--ink);
}

.qr-screen__countdown {
  text-align: center;
  margin-top: 24px;
}
.qr-screen__countdown-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
}
.qr-screen__countdown-val {
  font-size: 36px;
  font-weight: 700;
  font-feature-settings: var(--font-feature-numeric);
  letter-spacing: -0.02em;
  color: var(--warning);
  margin-top: 2px;
  line-height: 1;
}

.qr-screen__hint {
  margin-top: auto;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}
.qr-screen__hint b { color: #fff; font-weight: 600; }

/* ─── U-2 Lock screen ─── */
.lock {
  flex: 1; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(80,90,110,0.55) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(50,60,80,0.55) 0%, transparent 60%),
    linear-gradient(180deg, #1A1F26 0%, #0A0E14 100%);
  color: #fff;
  display: flex; flex-direction: column;
  padding: 0;
}
/* fake skyline silhouette in wallpaper */
.lock__skyline {
  position: absolute; left: 0; right: 0; bottom: 80px; height: 120px;
  background:
    linear-gradient(transparent 60%, rgba(0,0,0,0.4) 100%),
    repeating-linear-gradient(90deg,
      transparent 0 14px,
      rgba(255,255,255,0.04) 14px 22px,
      transparent 22px 36px,
      rgba(255,255,255,0.06) 36px 50px,
      transparent 50px 70px);
  mask: linear-gradient(180deg, transparent 0%, #000 40%, #000 100%);
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 40%, #000 100%);
  pointer-events: none;
}
.lock__top {
  text-align: center;
  padding: 60px 24px 0;
}
.lock__date {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.lock__time {
  font-size: 84px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  font-feature-settings: var(--font-feature-numeric);
  margin: 0;
}

/* push banner */
.push-banner {
  margin: 32px 12px 0;
  background: rgba(40, 44, 52, 0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  color: #fff;
}
.push-banner__app-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--brand-red);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.04em;
  font-family: var(--font-sans);
  box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.2);
}
.push-banner__head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2px;
}
.push-banner__name {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 11px;
}
.push-banner__time { font-family: var(--font-mono); font-size: 11px; }
.push-banner__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
.push-banner__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-top: 2px;
  line-height: 1.35;
}

.lock__bottom {
  margin-top: auto;
  padding: 0 24px 28px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.lock__torch-row {
  display: flex; gap: 64px;
  margin-bottom: 12px;
}
.lock__torch {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.lock__torch svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.lock__swipe-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

/* ─── Spec footnotes ─── */
.specs {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.spec {
  border-top: 1px solid var(--ink);
  padding-top: 14px;
}
.spec__id {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}
.spec__title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.spec ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.spec li {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
}
.spec li b {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  font-weight: 500;
}

.note {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--brand-red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 760px;
}
.note b { color: var(--text-primary); font-weight: 600; }

@media (max-width: 1100px) {
  .browser__stage { padding: 32px 16px; gap: 32px; grid-template-columns: 1fr; }
  .role-switcher { position: static; margin: 12px auto; }
  .specs { grid-template-columns: 1fr; }
}
