/* ============================================================
   Shared styles for Archion blueprint layer pages
   (branding / system / investment) — built on /css/base.css tokens.
   Adapted from the accountinus blueprint layer system.
   ============================================================ */

.layer-wrap { max-width: 860px; margin: 0 auto; padding: 28px 20px 72px; }

/* ── Hero ── */
.layer-hero { margin-bottom: 8px; }
.layer-eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--color-accent); margin-bottom: 8px;
}
.layer-title { font-size: 30px; font-weight: 700; line-height: 1.15; margin: 0 0 14px; color: var(--text); letter-spacing: -.4px; }
.layer-lead  { font-size: 15px; color: var(--text-muted); max-width: 62ch; line-height: 1.65; margin: 0 0 20px; }
.layer-lead b { color: var(--text); font-weight: 600; }
@media (max-width: 480px) { .layer-title { font-size: 24px; } }

/* ── Section ── */
.sys-section { margin-top: 44px; }
.sys-section__label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--color-accent); margin-bottom: 6px;
}
.sys-section__title { font-size: 22px; font-weight: 700; margin: 0 0 6px; color: var(--text); }
.sys-section__lead  { font-size: 14px; color: var(--text-muted); margin: 0 0 20px; max-width: 62ch; line-height: 1.6; }

/* ── Approach cards (shared) ── */
.approach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.approach-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
}
.approach-card__title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.approach-card__body { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.approach-note {
  font-size: 13px; color: var(--text-muted); background: var(--bg-elevated);
  border-radius: var(--radius-sm); padding: 12px 16px; line-height: 1.6; margin-top: 14px;
}
.approach-note b { color: var(--text); font-weight: 600; }

/* ── Brand mark (inline): a square with the red corner triangle ── */
.amark { display: inline-grid; place-items: center; }
.amark svg { display: block; }

/* ── Lock screen (shared) ── */
.lock-screen {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lock-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 40px 36px;
  width: min(420px, 100%); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.lock-mark { display: flex; align-items: center; gap: 12px; }
.lock-mark__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.lock-mark__name { font-size: 22px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.lock-mark__sub { font-size: 11px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
.lock-sub { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.lock-form { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.lock-input {
  width: 100%; padding: 11px 14px; font-size: 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elevated); color: var(--text);
  text-align: center; letter-spacing: .1em;
  transition: border-color .15s;
}
.lock-input:focus { outline: none; border-color: var(--color-accent); }
.lock-input.shake { animation: lock-shake .35s ease; border-color: var(--status-overdue); }
@keyframes lock-shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}
.lock-btn {
  width: 100%; padding: 12px; font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--color-accent); color: var(--btn-accent-fg);
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: opacity .15s;
}
.lock-btn:hover { opacity: .88; }
.lock-err { font-size: 12px; color: var(--status-overdue); min-height: 16px; }
