/* =====================================================
   The Vault · stylesheet
   Aesthetic: matte charcoal · brushed gold · phosphor green
   Mood: Apple meets a private bank meets a heist film
   ===================================================== */

:root {
  /* Surfaces */
  --bg:            #0A0A0C;
  --surface:       #131418;
  --surface-2:     #1A1C21;
  --surface-3:     #22252B;
  --border:        #2A2D34;
  --border-bright: #3D414A;

  /* Brand */
  --gold:          #C9A86A;
  --gold-bright:   #E5C485;
  --gold-dim:      #8B7649;
  --gold-soft:     rgba(201, 168, 106, 0.12);

  /* Semantic */
  --green:         #7FB069;
  --green-dim:     rgba(127, 176, 105, 0.18);
  --red:           #C16B5B;
  --red-dim:       rgba(193, 107, 91, 0.18);
  --blue:          #6B8FB0;

  /* Text */
  --text:          #F4F1EA;
  --text-dim:      #A0A3AB;
  --text-mute:     #6E7178;
  --text-faint:    #4B4E55;

  /* Spacing rhythm */
  --r-1: 4px;
  --r-2: 8px;
  --r-3: 14px;
  --r-4: 20px;

  /* Type */
  --display: 'Fraunces', 'Georgia', serif;
  --sans:    'Geist', system-ui, -apple-system, sans-serif;
  --mono:    'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;

  /* Motion */
  --ease-vault: cubic-bezier(.16,.84,.3,1);
  --ease-snap:  cubic-bezier(.7,0,.2,1);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
  padding-bottom: 88px; /* clearance for devbar */
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; background: none; border: none; outline: none; }
ul { list-style: none; }
em { font-style: italic; font-family: var(--display); }

/* ---------- grain overlay ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- VIEWS ---------- */
.view {
  display: none;
  min-height: 100vh;
  width: 100%;
}
.view.active {
  display: block;
}
/* Flex-centered views: shorten min-height so devbar doesn't overlap centered content */
.view-welcome.active,
.view-pin.active,
.view-vault.active,
.view-drop.active,
.view-investor-sms.active,
.view-inv-opp.active,
.view-commit.active,
.view-signal.active,
.view-confirm.active {
  min-height: calc(100vh - 80px);
}

/* utility */
.num {
  font-family: var(--mono);
  font-feature-settings: "tnum", "lnum";
  font-variant-numeric: tabular-nums;
}
.mono { font-family: var(--mono); }
.gold { color: var(--gold); }
.gold-dim { color: var(--gold-dim); }
.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-mute);
}
.dot-green { background: var(--green); box-shadow: 0 0 0 0 var(--green); }
.dot.pulse {
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(127,176,105,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(127,176,105,0); }
}

/* ---------- DEV BAR ---------- */
.devbar {
  position: fixed;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(20, 21, 25, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
  z-index: 1000;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.devbar-label {
  color: var(--text-mute);
  text-transform: uppercase;
  padding: 0 8px 0 4px;
  font-size: 10px;
}
.devbar-btn {
  padding: 6px 12px;
  border-radius: 100px;
  color: var(--text-dim);
  background: transparent;
  transition: all 0.2s var(--ease-snap);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.devbar-btn:hover {
  background: var(--surface-3);
  color: var(--text);
}
.devbar-btn-danger {
  color: var(--red);
}
.devbar-btn-danger:hover {
  background: var(--red-dim);
  color: var(--red);
}

/* =============================================================
   WELCOME VIEW
   ============================================================= */
.view-welcome { position: relative; min-height: 100vh; display: none; }
.view-welcome.active { display: flex; align-items: center; justify-content: center; }

.welcome-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 168, 106, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(107, 143, 176, 0.04), transparent 70%);
  z-index: 0;
}
.welcome-glow {
  position: absolute;
  top: 30%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(201,168,106,0.06), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}

.welcome-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 32px 64px;
  text-align: center;
}

.welcome-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.welcome-client {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.welcome-wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(72px, 12vw, 150px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144;
}
.wm-line {
  display: block;
  overflow: hidden;
}
.wm-line span {
  display: inline-block;
  transform: translateY(110%);
  animation: wm-rise 1.2s var(--ease-vault) forwards;
}
.wm-vault span {
  animation-delay: 0.12s;
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
@keyframes wm-rise {
  to { transform: translateY(0); }
}

.welcome-tagline {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.4;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-vault) 0.6s forwards;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.welcome-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 36px;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-vault) 0.9s forwards;
}
@media (max-width: 640px) {
  .welcome-cards { grid-template-columns: 1fr; }
}

.welcome-card {
  display: block;
  text-align: left;
  padding: 24px 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-snap);
}
.welcome-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,106,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.welcome-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}
.welcome-card:hover::before { opacity: 1; }
.welcome-card:hover .welcome-card-arrow { transform: translateX(4px); color: var(--gold); }

.welcome-card-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
}
.welcome-card-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.welcome-card-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 12px;
}
.welcome-card-arrow {
  font-size: 24px;
  color: var(--text-mute);
  transition: all 0.3s var(--ease-snap);
}

.welcome-footer {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.welcome-foot-mark { color: var(--gold-dim); }

/* =============================================================
   TOPBAR (shared)
   ============================================================= */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark {
  color: var(--gold);
  font-size: 18px;
}
.brand-name { font-style: italic; }

.topbar-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
}
.topbar-client {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.topbar-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--gold-dim);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* =============================================================
   OPERATOR DASHBOARD
   ============================================================= */
.op-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 40px 160px;
}

.op-greet { margin-bottom: 56px; }
.op-greet-eyebrow,
.section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.op-greet-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.op-greet-title em {
  color: var(--gold);
  font-weight: 500;
}
.op-greet-sub {
  font-family: var(--display);
  font-size: 20px;
  color: var(--text-dim);
  font-style: italic;
  font-weight: 400;
}

/* Stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}
@media (max-width: 880px) {
  .stat-row { grid-template-columns: 1fr; }
}
.stat-card {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.stat-card-feature {
  border-color: var(--gold-dim);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(201,168,106,0.04) 100%);
}
.stat-card-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.stat-value {
  font-family: var(--display);
  font-weight: 500;
  font-size: 44px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 14px;
}
.stat-value .num { font-family: var(--mono); font-weight: 500; }
.stat-foot {
  font-size: 13px;
  color: var(--text-dim);
}

/* Section header */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 24px;
}
.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--gold);
  color: #0A0A0C;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: all 0.2s var(--ease-snap);
}
.cta-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}
.cta-plus { font-family: var(--mono); font-size: 18px; line-height: 0.8; }

/* Opportunity grid */
.opp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) {
  .opp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .opp-grid { grid-template-columns: 1fr; }
}

.opp-card {
  position: relative;
  display: block;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s var(--ease-snap);
  overflow: hidden;
  cursor: pointer;
}
.opp-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.opp-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.status-open { background: var(--green-dim); color: var(--green); }
.status-closed { background: var(--gold-soft); color: var(--gold); }
.status-filled { background: var(--gold-soft); color: var(--gold); }

.opp-card-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1.2;
}
.opp-card-meta {
  font-size: 12px;
  color: var(--text-mute);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.opp-card-progress {
  margin-bottom: 12px;
}
.opp-progress-track {
  height: 6px;
  background: var(--surface-3);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.opp-progress-fill {
  height: 100%;
  background: var(--green);
  transition: width 0.8s var(--ease-vault);
  position: relative;
}
.status-filled ~ .opp-card-progress .opp-progress-fill,
.opp-card.is-filled .opp-progress-fill {
  background: var(--gold);
}

.opp-card-figures {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  font-size: 13px;
}
.opp-card-figures .raised {
  color: var(--text);
  font-family: var(--mono);
  font-weight: 500;
}
.opp-card-figures .target {
  color: var(--text-mute);
  font-family: var(--mono);
}

.opp-card-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}
.opp-card-foot .intent {
  color: var(--gold);
}

/* Activity */
.activity-feed {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.activity-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.activity-item:last-child { border-bottom: none; }
.activity-item:hover { background: var(--surface-2); }
.activity-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.activity-body { font-size: 14px; color: var(--text); }
.activity-body strong { color: var(--text); font-weight: 600; }
.activity-body .name { color: var(--gold); }
.activity-amount {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
}
.activity-amount.intent { color: var(--gold); }

/* =============================================================
   CREATE FORM
   ============================================================= */
.create-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 40px 160px;
}
.create-head { margin-bottom: 48px; }
.create-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 8px 0 12px;
}
.create-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  color: var(--text-dim);
}

.create-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.field input,
.field textarea,
.field select {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  transition: all 0.2s var(--ease-snap);
  font-family: var(--sans);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold-dim);
  background: var(--surface-2);
}
.field select { appearance: none; cursor: pointer; }
.field textarea { resize: none; font-family: var(--sans); line-height: 1.5; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  max-height: 160px;
  overflow-y: auto;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.15s;
}
.chip.selected {
  background: var(--gold-soft);
  border-color: var(--gold-dim);
  color: var(--gold);
}
.chip-x { font-size: 14px; line-height: 0.8; opacity: 0.6; }

.invite-count {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.num-inline { color: var(--gold); }

.create-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.cta-ghost {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 14px 22px;
  transition: color 0.2s;
}
.cta-ghost:hover { color: var(--text); }

.cta-drop {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--gold);
  color: #0A0A0C;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all 0.2s var(--ease-snap);
  position: relative;
  overflow: hidden;
}
.cta-drop:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(201, 168, 106, 0.3);
}
.cta-drop-icon { font-size: 18px; }

/* =============================================================
   DROP TRANSITION
   ============================================================= */
.view-drop {
  background: var(--bg);
}
.view-drop.active { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.drop-inner {
  text-align: center;
  padding: 40px;
}
.drop-rings {
  width: 160px;
  height: 160px;
  margin: 0 auto 48px;
  position: relative;
}
.drop-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: rings 2s ease-out infinite;
  opacity: 0;
}
.drop-rings span:nth-child(2) { animation-delay: 0.6s; }
.drop-rings span:nth-child(3) { animation-delay: 1.2s; }
@keyframes rings {
  0%   { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.drop-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.drop-count {
  font-family: var(--display);
  font-weight: 500;
  font-size: 80px;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.drop-count-of { color: var(--text-mute); }
.drop-stream {
  max-width: 360px;
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  text-align: left;
  height: 120px;
  overflow: hidden;
}
.drop-stream li {
  padding: 4px 0;
  opacity: 0;
  transform: translateY(8px);
  animation: stream-in 0.3s var(--ease-snap) forwards;
}
@keyframes stream-in {
  to { opacity: 1; transform: translateY(0); }
}
.drop-stream li .check { color: var(--green); margin-right: 8px; }

/* =============================================================
   OPPORTUNITY DETAIL (Operator)
   ============================================================= */
.opd-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 40px 160px;
}
.opd-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 980px) {
  .opd-hero { grid-template-columns: 1fr; }
}
.opd-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.opd-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.opd-tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.4;
}

.opd-fill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.opd-fill-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.opd-fill-amount {
  font-family: var(--display);
  font-weight: 500;
  font-size: 38px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.opd-fill-amount .num { font-family: var(--mono); font-weight: 500; }
.opd-fill-target {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 20px;
}
.opd-bar-track {
  height: 10px;
  background: var(--surface-3);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 12px;
}
.opd-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), #9BC587);
  transition: width 1s var(--ease-vault);
  position: relative;
}
.opd-bar-fill.is-filled { background: linear-gradient(90deg, var(--gold), var(--gold-bright)); }
.opd-bar-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.opd-pct { color: var(--green); font-weight: 600; }
.opd-pct.is-filled { color: var(--gold); }

.opd-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
@media (max-width: 980px) {
  .opd-grid { grid-template-columns: 1fr; }
}

.opd-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.opd-panel-head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.opd-panel-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
}
.opd-panel-count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
}

.commit-list .commit-row,
.intent-list .intent-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 14px;
}
.commit-list .commit-row:last-child,
.intent-list .intent-row:last-child { border-bottom: none; }
.commit-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-3);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--gold);
  letter-spacing: 0.03em;
}
.commit-name { color: var(--text); }
.commit-time { font-family: var(--mono); font-size: 11px; color: var(--text-mute); }
.commit-amount {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--green);
}
.intent-amount { color: var(--gold); }
.commit-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* =============================================================
   INVESTOR · SMS / PHONE MOCKUP
   ============================================================= */
.view-investor-sms { background: var(--bg); }
.view-investor-sms.active { display: flex; align-items: center; min-height: 100vh; }
.phone-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px 120px;
  width: 100%;
}
@media (max-width: 880px) {
  .phone-stage { grid-template-columns: 1fr; gap: 48px; }
}
.phone-stage-bg {
  position: absolute;
}

.phone-frame {
  width: 340px;
  height: 700px;
  margin: 0 auto;
  background: #1a1a1f;
  border-radius: 50px;
  padding: 14px;
  border: 1px solid var(--border-bright);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 40px rgba(201,168,106,0.05);
  position: relative;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 24px;
  background: #0a0a0c;
  border-radius: 100px;
  z-index: 2;
}
.phone-screen {
  background: #0d0d10;
  border-radius: 38px;
  height: 100%;
  padding: 48px 18px 28px;
  position: relative;
  overflow: hidden;
}
.phone-time {
  position: absolute;
  top: 18px; left: 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
}
.phone-statusbar {
  position: absolute;
  top: 18px; right: 28px;
  display: flex;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
}
.phone-statusbar span { letter-spacing: 0.04em; }
.phone-app {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.phone-app-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.phone-app-meta {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-mute);
}
.phone-msg {
  background: var(--surface-2);
  border-radius: 18px;
  padding: 14px 16px 16px;
  margin-bottom: 24px;
}
.phone-msg-sender {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 6px;
}
.phone-msg-body {
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
}
.phone-msg-body strong { font-weight: 600; }
.phone-link { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold-dim); text-underline-offset: 3px; }

.phone-cta-wrap {
  position: absolute;
  bottom: 56px;
  left: 18px;
  right: 18px;
  text-align: center;
}
.phone-cta {
  display: inline-block;
  padding: 14px 20px;
  background: var(--gold);
  color: #0a0a0c;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  width: 100%;
  transition: transform 0.2s;
}
.phone-cta:hover { transform: scale(1.02); }

.phone-aside {
  max-width: 420px;
}
.aside-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
}
.aside-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.aside-body {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 32px;
}
.aside-list { padding: 0; }
.aside-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-dim);
}
.aside-list li span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-dim);
  letter-spacing: 0.04em;
}

/* =============================================================
   PIN
   ============================================================= */
.view-pin.active {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.pin-stage {
  text-align: center;
  padding: 40px;
  max-width: 520px;
}
.pin-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.pin-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.pin-hint {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 48px;
}
.pin-hint .mono {
  color: var(--gold);
  padding: 2px 8px;
  background: var(--gold-soft);
  border-radius: 4px;
}
.pin-fields {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.pin-input {
  width: 72px;
  height: 92px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 500;
  color: var(--gold);
  caret-color: var(--gold);
  transition: all 0.2s var(--ease-snap);
}
.pin-input:focus {
  border-color: var(--gold);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.pin-input.filled {
  border-color: var(--gold-dim);
}
.pin-error {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  height: 16px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.pin-foot {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* =============================================================
   VAULT DOOR
   ============================================================= */
.view-vault { background: #050507; }
.view-vault.active {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.vault-stage {
  text-align: center;
}
.vault-frame {
  position: relative;
  width: 480px;
  height: 480px;
  background: #060608;
  border-radius: 30px;
  padding: 30px;
  border: 2px solid #1c1c20;
  box-shadow:
    inset 0 0 60px rgba(0,0,0,0.8),
    0 0 80px rgba(201,168,106,0.04);
  margin: 0 auto 32px;
}
@media (max-width: 540px) {
  .vault-frame { width: 320px; height: 320px; padding: 20px; }
}

.vault-bolts {
  position: absolute;
  inset: 12px;
  pointer-events: none;
}
.vault-bolts span {
  position: absolute;
  width: 8px; height: 8px;
  background: radial-gradient(circle at 30% 30%, #4a443a, #1a1815);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #0a0a0c;
}
.vault-bolts span:nth-child(1) { top: 4px; left: 4px; }
.vault-bolts span:nth-child(2) { top: 4px; left: 50%; transform: translateX(-50%); }
.vault-bolts span:nth-child(3) { top: 4px; right: 4px; }
.vault-bolts span:nth-child(4) { top: 50%; right: 4px; transform: translateY(-50%); }
.vault-bolts span:nth-child(5) { bottom: 4px; right: 4px; }
.vault-bolts span:nth-child(6) { bottom: 4px; left: 50%; transform: translateX(-50%); }
.vault-bolts span:nth-child(7) { bottom: 4px; left: 4px; }
.vault-bolts span:nth-child(8) { top: 50%; left: 4px; transform: translateY(-50%); }

.vault-door {
  position: absolute;
  top: 30px;
  width: calc(50% - 30px);
  height: calc(100% - 60px);
  background:
    linear-gradient(135deg, #2a2620 0%, #1a1714 40%, #15120f 100%);
  border: 1px solid #3a352d;
  overflow: hidden;
  transition: transform 1.4s var(--ease-vault), box-shadow 0.6s;
  box-shadow:
    inset 0 0 40px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(201,168,106,0.05);
}
.vault-door-left {
  left: 30px;
  border-radius: 14px 4px 4px 14px;
  transform-origin: left center;
}
.vault-door-right {
  right: 30px;
  border-radius: 4px 14px 14px 4px;
  transform-origin: right center;
}
.vault-door.opening.vault-door-left  { transform: perspective(900px) rotateY(-95deg); }
.vault-door.opening.vault-door-right { transform: perspective(900px) rotateY(95deg); }

.vault-rivets {
  position: absolute;
  inset: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.vault-rivets span {
  width: 6px; height: 6px;
  background: radial-gradient(circle at 30% 30%, #c9a86a, #5a4d2c);
  border-radius: 50%;
  margin: 0;
  box-shadow: 0 1px 1px rgba(0,0,0,0.6);
}
.vault-door-left .vault-rivets { align-items: flex-end; }
.vault-door-right .vault-rivets { align-items: flex-start; }

.vault-wheel {
  position: absolute;
  top: 50%; right: 24px;
  transform: translateY(-50%);
  width: 100px; height: 100px;
  background:
    radial-gradient(circle, #3a342a 0%, #1d1812 70%);
  border-radius: 50%;
  border: 2px solid #4a4233;
  box-shadow:
    inset 0 0 20px rgba(0,0,0,0.8),
    0 0 0 4px #1a1610;
  animation: wheel-spin 8s linear infinite;
}
.view-vault.active .vault-wheel.spinning { animation: wheel-spin 0.6s linear; animation-iteration-count: 3; }
@keyframes wheel-spin {
  to { transform: translateY(-50%) rotate(360deg); }
}
.vault-wheel-inner {
  position: absolute;
  inset: 30%;
  background:
    radial-gradient(circle, #c9a86a 0%, #6b5a35 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(201,168,106,0.4);
}
.vault-wheel-spoke {
  position: absolute;
  top: 50%; left: 50%;
  width: 88%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #4a4233, transparent);
  transform: translate(-50%, -50%);
}
.spoke-2 { transform: translate(-50%, -50%) rotate(45deg); }
.spoke-3 { transform: translate(-50%, -50%) rotate(90deg); }
.spoke-4 { transform: translate(-50%, -50%) rotate(135deg); }
@media (max-width: 540px) {
  .vault-wheel { width: 64px; height: 64px; right: 14px; }
}

.vault-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  animation: pulse-text 1.4s ease-in-out infinite;
}
@keyframes pulse-text {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.9; }
}

/* =============================================================
   INVESTOR · OPPORTUNITY OPEN
   ============================================================= */
.view-inv-opp.active {
  display: flex;
  align-items: center;
  min-height: 100vh;
}
.inv-stage {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 40px;
  width: 100%;
}
.inv-hero {
  text-align: left;
  margin-bottom: 48px;
}
.inv-greet {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.inv-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.inv-tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  color: var(--text-dim);
  max-width: 540px;
  line-height: 1.45;
}

.inv-key-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 640px) {
  .inv-key-stats { grid-template-columns: 1fr 1fr; }
}
.inv-stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.inv-stat-value {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.inv-stat-value .num { font-family: var(--mono); }

.inv-case {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 640px;
}

.inv-fill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.inv-fill-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.inv-fill-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.inv-fill-pct {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.04em;
}
.inv-fill-bar {
  height: 6px;
  background: var(--surface-3);
  border-radius: 100px;
  overflow: hidden;
}
.inv-fill-bar > div {
  height: 100%;
  background: var(--green);
  transition: width 1s var(--ease-vault);
}

.inv-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
@media (max-width: 540px) {
  .inv-actions { flex-direction: column; align-items: stretch; }
}
.inv-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 36px;
  background: var(--gold);
  color: #0a0a0c;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  flex: 1;
  transition: all 0.2s var(--ease-snap);
}
.inv-cta-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(201, 168, 106, 0.25);
}
.inv-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-weight: 500;
  font-size: 14px;
  flex: 1;
  transition: all 0.2s var(--ease-snap);
}
.inv-cta-secondary:hover { border-color: var(--gold-dim); color: var(--gold); }

/* =============================================================
   COMMIT FLOW
   ============================================================= */
.view-commit.active { display: flex; align-items: center; min-height: 100vh; }
.commit-stage {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 40px;
  width: 100%;
}
.commit-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.commit-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.commit-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 48px;
}
.commit-amount-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  margin-bottom: 28px;
}
.commit-amount-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.commit-amount-display {
  font-family: var(--display);
  font-weight: 500;
  font-size: 64px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.commit-amount-display .num { font-family: var(--mono); font-weight: 500; }
.commit-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--surface-3);
  border-radius: 100px;
  outline: none;
  margin-bottom: 12px;
}
.commit-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.commit-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.commit-range {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
}

.commit-confirm-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.commit-confirm-row .cta-ghost { flex: 0 0 auto; }
.commit-confirm-row .inv-cta-primary { flex: 1; }

/* =============================================================
   SIGNAL READINESS (closed opportunity)
   ============================================================= */
.view-signal.active { display: flex; align-items: center; min-height: 100vh; }
.signal-stage {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 40px;
  width: 100%;
}
.signal-closed {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  margin-bottom: 28px;
}
.signal-closed-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.signal-closed-text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.signal-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}
.signal-title em { color: var(--gold); }
.signal-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  color: var(--text-dim);
  max-width: 540px;
  line-height: 1.45;
  margin-bottom: 48px;
}
.signal-prose {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 40px;
}
.signal-prose strong { color: var(--gold); font-weight: 500; }

.signal-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 28px;
}
.signal-field {
  margin-bottom: 32px;
}
.signal-field:last-child { margin-bottom: 0; }
.signal-field-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.signal-field-value {
  font-family: var(--display);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}
.signal-field-value .num { font-family: var(--mono); }

.signal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.signal-chip {
  padding: 10px 16px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s var(--ease-snap);
  color: var(--text-dim);
}
.signal-chip.selected {
  background: var(--gold-soft);
  border-color: var(--gold-dim);
  color: var(--gold);
}
.signal-chip:hover:not(.selected) { border-color: var(--border-bright); color: var(--text); }

.signal-actions {
  display: flex;
  gap: 12px;
}

/* =============================================================
   CONFIRMATION
   ============================================================= */
.view-confirm.active { display: flex; align-items: center; min-height: 100vh; }
.confirm-stage {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 40px;
  width: 100%;
  text-align: center;
}
.confirm-check {
  width: 96px; height: 96px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold-dim);
  display: grid;
  place-items: center;
  font-size: 40px;
  color: var(--gold);
  position: relative;
}
.confirm-check::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  animation: confirm-ring 1.4s ease-out infinite;
}
@keyframes confirm-ring {
  0%   { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 0; }
}
.confirm-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.confirm-title em { color: var(--gold); }
.confirm-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
  line-height: 1.45;
}
.confirm-detail {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 40px;
}
.confirm-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  font-size: 14px;
}
.confirm-detail-row + .confirm-detail-row { border-top: 1px solid var(--border); }
.confirm-detail-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.confirm-detail-value { font-family: var(--mono); color: var(--text); }
.confirm-cta {
  display: inline-block;
  padding: 16px 28px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.confirm-cta:hover { border-color: var(--gold-dim); color: var(--gold); }

/* =============================================================
   Mobile polish
   ============================================================= */
@media (max-width: 720px) {
  .topbar { padding: 16px 20px; }
  .op-main, .create-main, .opd-main { padding-left: 20px; padding-right: 20px; }
  .op-greet-title, .create-title, .aside-title, .signal-title, .inv-name { font-size: 40px; }
  .stat-value, .opd-name { font-size: 32px; }
  .pin-input { width: 56px; height: 72px; font-size: 28px; }
  .pin-fields { gap: 8px; }
  .commit-amount-display { font-size: 48px; }
  .devbar { font-size: 9px; padding: 6px 8px; }
  .devbar-btn { padding: 5px 8px; font-size: 9px; }
}

/* Hide scrollbar on chip lists but keep functional */
.chips::-webkit-scrollbar { width: 6px; }
.chips::-webkit-scrollbar-track { background: transparent; }
.chips::-webkit-scrollbar-thumb { background: var(--border); border-radius: 100px; }
