/* MAD Meet -- MAD Monkey Media design system, light default.
   Brand red #C8102E, accent blue #1DA1F2. ASCII only. */

:root {
  --mad-red: #C8102E;
  --mad-red-dark: #A00D25;
  --mad-blue: #1DA1F2;
  --ink: #16181D;
  --ink-soft: #4A5058;
  --paper: #FFFFFF;
  --mist: #F4F6F8;
  --line: #E3E7EC;
  --ok: #1E9E4A;
  --warn: #D97706;
  --tile-bg: #1C1F26;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 24, 29, 0.10);
  --font: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}

/* ---------- shared bits ---------- */

.brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--mad-red);
  white-space: nowrap;
}
.brand span { color: var(--ink); font-weight: 700; }
.brand-dark { font-size: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font: 600 15px var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--mad-red); color: #fff; }
.btn-primary:hover { background: var(--mad-red-dark); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--mad-blue); color: var(--mad-blue); }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

.field-error { color: var(--mad-red); font-size: 14px; margin: 8px 0 0; }

.badge {
  font: 700 11px/1 var(--font);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 10px;
  border-radius: 999px;
}
.badge-wait { background: #FFF4E0; color: var(--warn); }
.badge-ok { background: #E5F7EC; color: var(--ok); }
.badge-err { background: #FDE8EC; color: var(--mad-red); }

/* ---------- lobby ---------- */

.lobby-body { display: flex; flex-direction: column; min-height: 100vh; }

.lobby-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}
.top-link { color: var(--ink-soft); font-size: 14px; text-decoration: none; }
.top-link:hover { color: var(--mad-blue); }
.lobby-nav { display: flex; align-items: center; gap: 18px; }

.lobby-main {
  flex: 1;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 24px 28px 48px;
}

.lobby-hero { text-align: center; padding: 40px 0 36px; }
.kicker {
  font: 700 12px var(--font);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--mad-blue);
  margin: 0 0 14px;
}
.lobby-hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.06;
  margin: 0 0 18px;
  letter-spacing: -1px;
}
.lobby-hero h1 em { color: var(--mad-red); font-style: normal; }
.sub {
  max-width: 560px;
  margin: 0 auto 30px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.lobby-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.join-row { display: flex; gap: 10px; width: 100%; max-width: 460px; }
.join-row input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  font: 500 15px var(--font);
  background: var(--paper);
  color: var(--ink);
  outline: none;
}
.join-row input:focus { border-color: var(--mad-blue); }

.lobby-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.lcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.lcard h3 { margin: 0 0 8px; font-size: 17px; }
.lcard p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.lcard code {
  background: var(--mist);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 13px;
}

.lobby-foot { text-align: center; padding: 22px; color: var(--ink-soft); font-size: 13px; }
.lobby-foot p { margin: 0; }

/* ---------- room layout ---------- */

.room-body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--mist);
}

.room-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}
.room-meta { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.room-name {
  font-weight: 700;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.peer-count { color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.peer-count::before { content: "\2022 "; color: var(--line); }
.room-actions { display: flex; gap: 8px; }

.room-main { display: flex; flex: 1 1 auto; min-height: 0; }

.stage { flex: 1 1 auto; min-width: 0; padding: 14px; display: flex; }
.grid {
  flex: 1;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  grid-auto-rows: minmax(180px, 1fr);
  align-items: stretch;
}

.tile {
  position: relative;
  background: var(--tile-bg);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 160px;
  box-shadow: var(--shadow);
}
.tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--tile-bg);
}
.tile.mirrored video { transform: scaleX(-1); }
.tile.cam-off video { visibility: hidden; }
.tile .avatar {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}
.tile.cam-off .avatar { display: flex; }
.avatar b {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--mad-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
}
.tile .label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 12, 16, 0.62);
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  max-width: calc(100% - 20px);
}
.label .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.label .mic-off { display: none; color: #FF8095; font-weight: 800; }
.tile.muted .label .mic-off { display: inline; }
.tile .tstat {
  position: absolute;
  right: 10px;
  top: 10px;
  background: rgba(10, 12, 16, 0.62);
  color: #C9D2DC;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.tile.connected .tstat { display: none; }

/* ---------- side panel ---------- */

.panel {
  flex: 0 0 330px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-left: 1px solid var(--line);
  min-height: 0;
}
.panel.hidden { display: none; }

.panel-tabs { display: flex; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.tab {
  flex: 1;
  background: none;
  border: 0;
  padding: 13px 8px;
  font: 700 13px var(--font);
  color: var(--ink-soft);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
}
.tab.active { color: var(--mad-red); border-bottom-color: var(--mad-red); }

.pane { display: none; flex: 1 1 auto; min-height: 0; }
.pane.active { display: flex; flex-direction: column; }

#toolsPane { padding: 18px; gap: 14px; overflow-y: auto; }
.promo-card {
  background: linear-gradient(150deg, #FFF7F8 0%, #F2F9FF 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.promo-kicker {
  font: 700 11px var(--font);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--mad-blue);
  margin: 0 0 8px;
}
.promo-card h3 { margin: 0 0 8px; font-size: 19px; }
.promo-card p { margin: 0 0 16px; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

.promo-dots { display: flex; gap: 7px; justify-content: center; }
.promo-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
}
.promo-dots button.active { background: var(--mad-red); }

.panel-note { color: var(--ink-soft); font-size: 12.5px; line-height: 1.5; margin: 0; }

#sitePane iframe { border: 0; width: 100%; flex: 1; }

/* ---------- control bar ---------- */

.controls {
  flex: 0 0 auto;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
}
.controls-inner { display: flex; justify-content: center; gap: 14px; }
.ctl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 74px;
  padding: 9px 12px;
  border: 0;
  border-radius: 12px;
  background: var(--mist);
  color: var(--ink);
  font: 600 12px var(--font);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.ctl svg { width: 22px; height: 22px; }
.ctl:hover { background: #E9EDF1; }
.ctl.off { background: var(--mad-red); color: #fff; }
.ctl.on-air { background: var(--mad-blue); color: #fff; }
.ctl-leave { background: var(--mad-red); color: #fff; }
.ctl-leave:hover { background: var(--mad-red-dark); }
.ctl:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- overlays (pre-join / exit) ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(22, 24, 29, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.overlay[hidden] { display: none; }
.overlay-card {
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px;
  text-align: center;
}
.overlay-card h2 { margin: 14px 0 4px; font-size: 24px; }
.overlay-room { color: var(--ink-soft); margin: 0 0 16px; font-size: 14px; }
.overlay-room strong { color: var(--ink); }

.preview-wrap {
  position: relative;
  background: var(--tile-bg);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
}
.preview-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}
.preview-hint {
  position: absolute;
  inset: auto 0 10px;
  margin: 0;
  color: #C9D2DC;
  font-size: 13px;
}

.field-label {
  display: block;
  text-align: left;
  font: 700 12px var(--font);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
  margin: 0 0 6px;
}
.overlay-card input[type="text"] {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: 500 15px var(--font);
  margin-bottom: 16px;
  outline: none;
}
.overlay-card input[type="text"]:focus { border-color: var(--mad-blue); }
.overlay-card .btn-lg { width: 100%; }
.overlay-fine { color: var(--ink-soft); font-size: 12px; margin: 14px 0 0; line-height: 1.5; }
.overlay-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  z-index: 60;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font: 600 14px var(--font);
  box-shadow: var(--shadow);
}
.toast[hidden] { display: none; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .panel {
    position: fixed;
    top: 53px;
    right: 0;
    bottom: 0;
    width: min(86vw, 340px);
    z-index: 40;
    box-shadow: -12px 0 30px rgba(22, 24, 29, 0.18);
  }
  .room-actions #copyTopBtn { display: none; }
  .grid { grid-template-columns: 1fr; grid-auto-rows: minmax(150px, 1fr); }
  .ctl { min-width: 60px; padding: 8px 8px; }
  .ctl span { font-size: 11px; }
}

/* =================================================================== */
/* v2: call timer, plan chip, People panel, waiting room, tools, tiers */
/* =================================================================== */

.call-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-soft);
}
.call-timer[hidden] { display: none; }

.plan-chip {
  font: 800 11px/1 var(--font);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink-soft);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.plan-chip:hover { color: var(--mad-blue); box-shadow: inset 0 0 0 1.5px var(--mad-blue); }
.plan-chip.pro { background: var(--mad-red); color: #fff; box-shadow: none; }
.plan-chip[hidden] { display: none; }

.badge-pro { background: var(--mad-red); color: #fff; }

.tab-count, .pill {
  display: inline-block;
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.tab.active .tab-count { background: #FDE8EC; color: var(--mad-red); }
.pill { background: #FFF4E0; color: var(--warn); }

/* People pane */
#peoplePane { overflow-y: auto; }
.pane-section { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.pane-section:last-child { border-bottom: 0; }
.pane-title {
  margin: 0 0 10px;
  font: 700 12px var(--font);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.people-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.person { display: flex; align-items: center; gap: 10px; }
.person-avatar {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mad-red);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.person-mid { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; }
.person-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14px; }
.person-tag {
  flex: 0 0 auto;
  font: 800 10px/1 var(--font);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--mad-red);
  background: #FDE8EC;
  padding: 3px 7px;
  border-radius: 999px;
}
.person-state { flex: 0 0 auto; display: flex; gap: 6px; }
.state-dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.state-dot.mic-muted { background: #FDE8EC; box-shadow: inset 0 0 0 2px var(--mad-red); }
.state-dot.cam-muted { background: #FFF4E0; box-shadow: inset 0 0 0 2px var(--warn); }
.person-waiting { background: #FFFBF3; border: 1px solid #F3E4C6; border-radius: 10px; padding: 8px; }
.person-actions { flex: 0 0 auto; display: flex; gap: 6px; }
.person-actions .btn-sm { padding: 6px 10px; font-size: 12px; }

.rename-row { display: flex; gap: 8px; }
.rename-row input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: 500 14px var(--font);
  outline: none;
}
.rename-row input:focus { border-color: var(--mad-blue); }
.color-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.color-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--line);
}
.color-swatch.active { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }

/* Upgrade card (freemium prompt) */
.upgrade-card {
  background: linear-gradient(150deg, #FFECEF 0%, #FDF3F5 100%);
  border: 1px solid #F3C9D2;
  border-radius: var(--radius);
  padding: 20px;
}
.upgrade-card h3 { margin: 0 0 8px; font-size: 19px; }
.upgrade-card p { margin: 0 0 16px; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.upgrade-card[hidden] { display: none; }

/* Tools */
.tool-card { text-align: center; }
.tool-readout {
  font-variant-numeric: tabular-nums;
  font-size: 40px;
  font-weight: 800;
  margin: 4px 0 12px;
  letter-spacing: 1px;
}
.tool-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.tool-row:last-child { margin-bottom: 0; }
.chip {
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 7px 14px;
  font: 700 13px var(--font);
  cursor: pointer;
  color: var(--ink);
}
.chip:hover { border-color: var(--mad-blue); color: var(--mad-blue); }
.tool-row input[type="number"] {
  width: 72px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font: 500 14px var(--font);
  outline: none;
}
.tool-row input[type="number"]:focus { border-color: var(--mad-blue); }
.lap-list { text-align: left; margin: 12px 0 0; padding-left: 22px; color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: 13px; }

/* People control-bar button badge */
.ctl { position: relative; }
.ctl-badge {
  position: absolute;
  top: 4px;
  right: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--mad-red);
  color: #fff;
  font: 800 11px/18px var(--font);
  text-align: center;
}
.ctl-badge[hidden] { display: none; }

/* Host knock cards (admit / deny) */
.knocks {
  position: fixed;
  right: 16px;
  top: 66px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(92vw, 340px);
}
.knock-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--mad-red);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.knock-name { flex: 1; font-weight: 600; font-size: 14px; }

/* Guest waiting overlay decoration */
.wait-monkey {
  width: 64px;
  height: 64px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #FFE1E7 0%, #FDE8EC 60%, #F7CBD4 100%);
  position: relative;
  animation: wait-pulse 1.6s ease-in-out infinite;
}
.wait-monkey::after {
  content: "MM";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 22px var(--font);
  color: var(--mad-red);
}
@keyframes wait-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

@media (max-width: 900px) {
  .knocks { top: auto; bottom: 120px; right: 8px; left: 8px; max-width: none; }
  .call-timer { display: none; }
}

/* =================================================================== */
/* v2: account + plans pages                                           */
/* =================================================================== */

.account-wrap { max-width: 620px; margin: 0 auto; padding: 8px 0 40px; }
.account-h1 { font-size: clamp(28px, 5vw, 40px); margin: 8px 0 20px; text-align: center; }
.account-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
}
.account-card h3 { margin: 0 0 12px; font-size: 18px; }
.account-p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.account-card input[type="text"] {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: 500 15px var(--font);
  outline: none;
}
.account-card input[type="text"]:focus { border-color: var(--mad-blue); }
.account-id { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.account-id .person-avatar { width: 48px; height: 48px; font-size: 20px; }
.account-name { font-weight: 700; font-size: 16px; }
.account-email { color: var(--ink-soft); font-size: 14px; }
.account-plan { font-size: 15px; margin: 4px 0 16px; }
.account-preview { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.account-saved { color: var(--ok); font-weight: 700; font-size: 14px; margin-left: 12px; }
.account-back { text-align: center; margin-top: 8px; }

.account-banner {
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}
.account-banner.ok { background: #E5F7EC; color: var(--ok); }
.account-banner.err { background: #FDE8EC; color: var(--mad-red); }
.account-banner.wait { background: #FFF4E0; color: var(--warn); }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.plan {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.plan-pro { border: 2px solid var(--mad-red); box-shadow: var(--shadow); }
.plan-flag {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--mad-red);
  color: #fff;
  font: 800 11px var(--font);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan-name { margin: 0 0 6px; font-size: 20px; }
.plan-price { font-size: 34px; font-weight: 800; margin: 0 0 16px; }
.plan-price span { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.plan-features { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.plan-features li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--mist);
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mad-red);
}
.plan .btn-lg { width: 100%; }
.plans-fine { text-align: center; color: var(--ink-soft); font-size: 12.5px; line-height: 1.6; margin: 22px auto 6px; max-width: 560px; }

