:root {
  color-scheme: dark;
  --bg: #000000;
  --panel: #18181b;
  --ink: #ffffff;
  --muted: #a1a1aa;
  --line: #27272a;
  --accent: #efff75;
  --accent-strong: #cbe84f;
  --warn: #efff75;
  --danger: #ef4444;
  --soft: #27272a;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(239, 255, 117, 0.09) 0, rgba(0, 0, 0, 0) 280px),
    linear-gradient(135deg, #000000 0%, #09090b 45%, #000000 100%);
  color: var(--ink);
  font: 15px/1.45 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #18181b 0%, #09090b 100%);
  color: var(--ink);
  padding: 9px 12px;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

a.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #18181b 0%, #09090b 100%);
  color: var(--ink);
  padding: 9px 12px;
  text-decoration: none;
}

a.button-link:hover {
  border-color: var(--accent);
}

a.primary-link {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

a.primary-link:hover {
  background: var(--accent-strong);
}

button:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

button.primary:hover {
  background: var(--accent-strong);
}

button.danger {
  color: var(--danger);
}

button.small {
  padding: 6px 8px;
  font-size: 13px;
}

button.tiny {
  padding: 3px 7px;
  font-size: 12px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(239, 255, 117, 0.45);
  border-radius: 12px;
  background: linear-gradient(145deg, #efff75 0%, #7a8f25 100%);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(239, 255, 117, 0.22);
}

.brand-logo-small {
  display: block;
  width: clamp(174px, 20vw, 224px);
  height: auto;
}

.brand-glyph {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.brand-home {
  color: inherit;
  text-decoration: none;
}

.brand-title {
  margin: 0;
  color: var(--ink);
  font-size: 31px;
  line-height: 1;
  letter-spacing: 0;
}

.brand-home:focus-visible,
.hero-logo-link:focus-visible {
  border-radius: 18px;
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.operator-brand .brand-logo-small {
  width: clamp(160px, 18vw, 210px);
}

.topbar h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 2px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.top-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.client-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.client-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  padding: 8px 10px;
  text-decoration: none;
}

.client-nav a:hover,
.client-nav a.active {
  background: var(--soft);
  border-color: var(--line);
  color: var(--accent);
}

.page-shell {
  width: min(1180px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 20px 0 44px;
}

.page {
  display: none;
  gap: 18px;
}

.page.active {
  display: grid;
}

.hero-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(239, 255, 117, 0.16), rgba(24, 24, 27, 0.92) 38%, rgba(9, 9, 11, 0.98)),
    #09090b;
  border: 1px solid rgba(239, 255, 117, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 5vw, 46px);
  overflow: hidden;
}

.hero-strip h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.98;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.hero-logo {
  width: min(420px, 86vw);
  height: auto;
  margin-bottom: 2px;
}

.hero-logo-link {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
}

.hero-text {
  margin: 0;
  max-width: 720px;
  color: #d4d4d8;
  font-size: clamp(16px, 2vw, 19px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badges span {
  border: 1px solid rgba(239, 255, 117, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(239, 255, 117, 0.09);
  color: #efff75;
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(320px, 1fr);
  gap: 18px;
  padding: 18px clamp(16px, 4vw, 40px) 40px;
}

.client-layout {
  align-items: start;
}

.panel {
  background: rgba(24, 24, 27, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.wide {
  grid-column: 1 / -1;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel h2 {
  margin: 0;
  font-size: 18px;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

.pill,
.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-strong);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
}

.status.warn {
  background: rgba(239, 255, 117, 0.14);
  color: #efff75;
}

.status.danger {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid label {
  color: var(--muted);
  font-size: 13px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink) !important;
}

.checkbox-label input {
  width: auto !important;
  margin: 0 !important;
}

.form-grid input,
.form-grid select {
  width: 100%;
  margin-top: 5px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #09090b;
  color: var(--ink);
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.filters label {
  color: var(--muted);
  font-size: 13px;
}

.filters input,
.filters select {
  width: 100%;
  margin-top: 5px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #09090b;
  color: var(--ink);
}

.full {
  grid-column: 1 / -1;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  background: #09090b;
}

.stat strong {
  display: block;
  font-size: 25px;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
}

.principles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.principles.stacked {
  display: grid;
}

.principles span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 13px;
}

.phone-preview {
  width: min(360px, 100%);
  justify-self: end;
  border: 1px solid rgba(239, 255, 117, 0.28);
  border-radius: 28px;
  padding: 16px;
  background: linear-gradient(180deg, #18181b, #000000);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: #efff75;
  font-size: 13px;
}

.preview-card {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin-top: 10px;
  background: #09090b;
}

.preview-card.hot {
  border-color: rgba(239, 255, 117, 0.5);
  background: linear-gradient(135deg, rgba(239, 255, 117, 0.25), #09090b 62%);
}

.preview-card.locked {
  border-style: dashed;
}

.preview-card span,
.preview-card small {
  color: var(--muted);
}

.preview-card b {
  font-size: 18px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-strip article {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(239, 255, 117, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(9, 9, 11, 0.82);
}

.trust-strip span,
.feature-card p,
.review-card p,
.timeline p,
.faq-grid p,
.terms-panel p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #09090b;
}

.feature-card > span,
.timeline b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.feature-card h3,
.review-card h3,
.timeline h3,
.faq-grid h3,
.terms-panel h3 {
  margin: 10px 0 6px;
}

.feature-card small {
  color: var(--muted);
  font-weight: 750;
  text-transform: uppercase;
}

.page-hero {
  display: grid;
  gap: 10px;
}

.page-hero h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.timeline,
.faq-grid,
.terms-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.timeline article,
.faq-grid article,
.terms-panel article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(9, 9, 11, 0.9);
}

.review-card {
  min-height: 210px;
}

.review-logo {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(239, 255, 117, 0.3);
  border-radius: 999px;
  padding: 5px 9px;
  color: #efff75;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footer-links a {
  color: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.96), rgba(9, 9, 11, 0.96));
}

.listing-card {
  min-height: 178px;
}

.tiled-list {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.card h3,
.match h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.kv {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4px 10px;
  color: var(--muted);
  font-size: 13px;
}

.kv b {
  color: var(--ink);
  font-weight: 650;
}

.secret-value {
  display: inline-block;
  margin-right: 8px;
  word-break: break-word;
}

.call-room {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(230px, auto);
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(239, 255, 117, 0.45);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(239, 255, 117, 0.18), rgba(9, 9, 11, 0.92) 42%),
    rgba(239, 255, 117, 0.09);
  padding: 14px;
  margin-bottom: 12px;
}

.call-room h3 {
  margin: 0 0 4px;
}

.call-room p {
  margin: 0 0 4px;
}

.call-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.call-actions button,
.call-actions .button-link {
  width: 100%;
}

.call-checklist {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.countdown-panel {
  display: grid;
  gap: 4px;
  margin: 12px 0;
  border: 1px solid rgba(239, 255, 117, 0.28);
  border-radius: 18px;
  padding: 14px;
  background: rgba(239, 255, 117, 0.08);
}

.countdown-panel span,
.countdown-panel small {
  color: #dfe6dd;
}

.countdown-panel b {
  color: #efff75;
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.countdown-panel b.expired,
.inline-countdown.expired {
  color: #fca5a5;
}

.inline-countdown {
  color: #15161a;
  font-variant-numeric: tabular-nums;
}

.call-checklist span {
  border: 1px solid rgba(239, 255, 117, 0.22);
  border-radius: 8px;
  padding: 8px;
  color: #efff75;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.22);
}

.message-board {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.28);
}

.compact-heading {
  margin-bottom: 10px;
}

.compact-heading h4 {
  margin: 0;
}

.retry-picker {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 10px;
}

.retry-picker label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.retry-picker select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
}

.retry-picker button {
  min-height: 44px;
}

.retry-picker.selected {
  border-radius: 8px;
  outline: 1px solid rgba(239, 255, 117, 0.45);
  outline-offset: 4px;
}

.message-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.message-button {
  display: grid;
  gap: 4px;
  text-align: left;
  min-height: 82px;
}

.message-button span {
  color: var(--muted);
  font-size: 12px;
}

.message-button.good {
  border-color: rgba(34, 197, 94, 0.35);
}

.message-button.warn {
  border-color: rgba(239, 255, 117, 0.45);
}

.message-button.danger {
  border-color: rgba(239, 68, 68, 0.42);
}

.message-button.selected {
  background: rgba(239, 255, 117, 0.18);
  border-color: var(--accent);
}

.match-list {
  display: grid;
  gap: 12px;
}

.payment-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.payment-strip article {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(239, 255, 117, 0.22);
  border-radius: 8px;
  padding: 12px;
  background: rgba(9, 9, 11, 0.72);
}

.payment-strip span {
  color: var(--muted);
  font-size: 12px;
}

.match {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #09090b;
}

.match-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.participants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.actions.no-margin {
  margin-top: 0;
}

.center-actions {
  justify-content: center;
}

.tester-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: 14px;
  align-items: start;
}

.test-tray {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  max-width: 980px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(239, 255, 117, 0.5);
  border-radius: 8px;
  background: rgba(9, 9, 11, 0.96);
  box-shadow: var(--shadow);
}

.test-tray h2 {
  margin: 0;
  font-size: 16px;
}

.stacked-list {
  display: grid;
  gap: 10px;
}

.notice {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.notice b {
  text-transform: capitalize;
}

.notice small {
  color: var(--muted);
}

.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tab.active {
  background: var(--soft);
  border-color: var(--accent);
  color: var(--accent-strong);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

#adminContent {
  max-width: 100%;
  overflow-x: auto;
}

#adminContent .table {
  min-width: 620px;
}

.table th,
.table td {
  padding: 9px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table th {
  color: var(--muted);
  font-weight: 700;
}

#toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(420px, calc(100vw - 36px));
  background: #18181b;
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(1040px, calc(100vw - 36px));
  margin: 0 auto;
  border: 1px solid rgba(17, 19, 23, 0.12);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #111317;
  box-shadow: 0 26px 70px rgba(33, 41, 35, 0.22);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner b,
.cookie-banner p {
  margin: 0;
}

.cookie-banner p {
  color: #66736a;
  margin-top: 4px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.empty {
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

@media (max-width: 880px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    justify-content: flex-start;
  }

  .client-nav,
  .hero-actions,
  .call-actions {
    justify-content: flex-start;
  }

  .hero-strip,
  .call-room {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .phone-preview {
    justify-self: stretch;
  }

  .layout,
  .filters,
  .participants,
  .tester-grid,
  .trust-strip,
  .feature-grid,
  .payment-strip,
  .retry-picker,
  .timeline,
  .faq-grid,
  .terms-panel {
    grid-template-columns: 1fr;
  }

  .test-tray {
    position: static;
    margin: 18px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .form-grid,
  .stats {
    grid-template-columns: 1fr;
  }
}

/* Reference-inspired light dashboard theme */
body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    #aebbae;
  color: #111317;
}

body::before {
  display: none;
}

.app-rail {
  position: fixed;
  z-index: 3;
  top: 52px;
  bottom: 52px;
  left: max(22px, calc((100vw - 1560px) / 2 + 22px));
  width: 92px;
  border-radius: 28px;
  background: #15161a;
  box-shadow: 0 24px 70px rgba(15, 22, 17, 0.24);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
}

.rail-logo {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #27282d;
  padding: 7px;
}

.rail-icon,
.rail-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 17px;
  color: #f7f8f5;
  font-weight: 750;
  font-size: 13px;
  letter-spacing: 0;
}

.rail-icon {
  border: 1px solid transparent;
  color: #d8ded7;
}

.rail-icon.active,
.rail-icon:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.08);
}

.rail-spacer {
  flex: 1;
}

.rail-avatar {
  width: 52px;
  height: 52px;
  border-radius: 20px;
  background: #efff75;
  color: #15161a;
}

.topbar,
.page-shell,
.layout {
  position: relative;
  z-index: 1;
  width: min(1560px, calc(100vw - 44px));
  margin-left: auto;
  margin-right: auto;
  background: #f7f8f5;
}

.topbar {
  margin-top: 38px;
  padding: 34px 36px 24px 146px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 28px 80px rgba(36, 48, 38, 0.18);
  backdrop-filter: none;
}

.topbar::before {
  display: none;
}

.topbar h1 {
  color: #111317;
}

.page-shell,
.layout {
  margin-top: 0;
  padding: 20px 28px 34px 146px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-top: 0;
  border-radius: 0 0 34px 34px;
  box-shadow: 0 34px 90px rgba(36, 48, 38, 0.2);
}

.layout {
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
}

.brand-logo-small {
  filter: drop-shadow(0 14px 22px rgba(24, 24, 27, 0.12));
}

.eyebrow {
  color: #111317;
}

.client-nav a,
.tab,
.pill,
.status {
  background: #ffffff;
  color: #111317;
  border-color: rgba(17, 19, 23, 0.06);
  box-shadow: 0 12px 30px rgba(22, 28, 24, 0.06);
}

.client-nav {
  gap: 6px;
}

.client-nav a,
.tab {
  padding: 11px 18px;
}

.client-nav a:hover,
.client-nav a.active,
.tab.active,
.status.warn {
  background: #15161a;
  color: #ffffff;
  border-color: #15161a;
}

.hero-strip,
.panel,
.card,
.match,
.feature-card,
.timeline article,
.faq-grid article,
.terms-panel article,
.payment-strip article,
.trust-strip article,
.stat,
.notice,
.empty {
  background: #edf2ed;
  border-color: rgba(17, 19, 23, 0.06);
  color: #111317;
  box-shadow: none;
}

.panel,
.card,
.match,
.feature-card,
.timeline article,
.faq-grid article,
.terms-panel article,
.trust-strip article,
.stat,
.notice,
.empty {
  border-radius: 28px;
  min-width: 0;
}

.layout > *,
.page-shell > *,
.cards > *,
.participants > * {
  min-width: 0;
}

.hero-strip {
  background: #f7f8f5;
  border-color: transparent;
  padding-top: 12px;
  border-radius: 32px;
}

.hero-strip h2 {
  color: #050607;
  font-size: clamp(44px, 6vw, 86px);
}

.hero-text,
.muted,
.trust-strip span,
.feature-card p,
.review-card p,
.timeline p,
.faq-grid p,
.terms-panel p,
.preview-card span,
.preview-card small,
.payment-strip span,
.message-button span,
.notice small {
  color: #8d978f;
}

.hero-badges span,
.principles span,
.review-logo {
  background: #efff75;
  border-color: #efff75;
  color: #15161a;
}

.feature-card:nth-child(2),
.preview-card.hot,
.highlight-card {
  background: #efff75;
  border-color: #efff75;
}

.preview-card.hot,
.preview-card.hot span,
.preview-card.hot b,
.preview-card.hot small,
.highlight-card h3,
.highlight-card p,
.highlight-card small,
.feature-card:nth-child(2) h3,
.feature-card:nth-child(2) p,
.feature-card:nth-child(2) small {
  color: #15161a;
}

.deposit-flow-panel {
  position: relative;
  overflow: hidden;
  padding-bottom: 36px;
  background:
    radial-gradient(circle at 85% 12%, rgba(239, 255, 117, 0.34), transparent 28%),
    linear-gradient(135deg, #edf2ed 0%, #f7f8f5 58%, #e4ece5 100%);
}

.deposit-flow-panel::before {
  content: "";
  position: absolute;
  inset: 84px 26px auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(17, 19, 23, 0.18), transparent);
}

.deposit-flow-panel::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 26px;
  width: 118px;
  height: 118px;
  border: 1px dashed rgba(17, 19, 23, 0.18);
  border-radius: 38px;
  transform: rotate(12deg);
}

.flow-heading,
.flow-summary,
.flow-grid {
  position: relative;
  z-index: 1;
}

.flow-heading {
  align-items: flex-start;
}

.flow-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.flow-summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(17, 19, 23, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: #15161a;
  padding: 8px 12px;
  box-shadow: 0 12px 30px rgba(22, 28, 24, 0.06);
  font-weight: 750;
}

.flow-summary b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #15161a;
  color: #efff75;
}

.flow-grid {
  align-items: stretch;
}

.flow-card {
  position: relative;
  min-height: 238px;
  padding: 24px;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.flow-card::before {
  content: "AGREE";
  position: absolute;
  inset: 16px 16px auto auto;
  min-width: 70px;
  height: 38px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  background: rgba(17, 19, 23, 0.08);
  color: #15161a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.flow-card:nth-child(2)::before {
  content: "HOLD";
}

.flow-card:nth-child(3)::before {
  content: "RETRY";
}

.flow-card:nth-child(1) {
  transform: translateY(8px);
}

.flow-card:nth-child(2) {
  transform: translateY(28px);
  box-shadow: 0 28px 60px rgba(151, 174, 74, 0.22);
}

.flow-card:nth-child(3) {
  transform: translateY(16px);
}

.flow-card:hover {
  transform: translateY(0);
  box-shadow: 0 30px 70px rgba(28, 36, 30, 0.14);
}

.flow-index {
  margin-bottom: 14px;
}

.flow-meter {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.5fr;
  gap: 7px;
}

.flow-meter i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: #15161a;
}

.flow-meter i:nth-child(2) {
  opacity: 0.42;
}

.flow-meter i:nth-child(3) {
  opacity: 0.18;
}

.highlight-card .flow-meter i {
  background: #15161a;
}

.stats {
  gap: 14px;
}

.stat {
  min-height: 144px;
  position: relative;
  overflow: hidden;
  background: #edf2ed;
}

.stat strong {
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0;
}

.stat::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 34px;
  border-radius: 17px;
  background:
    linear-gradient(90deg, #15161a 0 48%, transparent 48% 100%),
    repeating-linear-gradient(90deg, rgba(17, 19, 23, 0.22) 0 2px, transparent 2px 16px);
}

.feature-card > span,
.timeline b {
  background: #15161a;
  color: #efff75;
}

button,
a.button-link,
.form-grid input,
.form-grid select,
.filters input,
.filters select {
  background: #ffffff;
  color: #111317;
  border-color: rgba(17, 19, 23, 0.08);
}

button.primary,
a.primary-link {
  background: #15161a;
  border-color: #15161a;
  color: #ffffff;
}

button.primary:hover,
a.primary-link:hover {
  background: #050607;
  border-color: #050607;
}

.phone-preview,
.call-room {
  background: #15161a;
  border-color: #15161a;
  color: #ffffff;
  border-radius: 32px;
}

.phone-status,
.call-checklist span {
  color: #efff75;
}

.preview-card {
  background: #222328;
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 24px;
}

.call-room .muted,
.call-room .eyebrow {
  color: #dfe6dd;
}

.message-board {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.retry-picker label {
  color: #dfe6dd;
}

.retry-picker select {
  background: #ffffff;
  color: #111317;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
}

.retry-picker.selected {
  outline-color: #efff75;
}

.launch-status-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: #eef4ee;
  border: 1px solid rgba(17, 19, 23, 0.08);
  border-radius: 28px;
}

.launch-status-card p {
  margin: 0;
  color: #5f6a62;
  font-size: 1.05rem;
  line-height: 1.55;
}

.launch-checks {
  display: grid;
  gap: 10px;
}

.launch-checks span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  color: #5f6a62;
}

.launch-checks b {
  min-width: 54px;
  color: #111317;
}

.message-button {
  background: #ffffff;
  border-radius: 20px;
}

.message-button.selected,
.message-button.good.selected,
.message-button.warn.selected,
.message-button.danger.selected {
  background: #efff75;
  border-color: #efff75;
  color: #111317;
}

.kv {
  color: #8d978f;
}

.kv b,
.table td,
.table th,
.card h3,
.match h3,
.panel h2 {
  color: #111317;
}

#toast {
  background: #15161a;
  color: #ffffff;
}

@media (max-width: 880px) and (min-width: 701px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .deposit-flow-panel::before {
    display: none;
  }

  .flow-card:nth-child(1),
  .flow-card:nth-child(2),
  .flow-card:nth-child(3),
  .flow-card:hover {
    transform: none;
  }
}

@media (max-width: 700px) {
  .app-rail {
    display: none;
  }

  .topbar,
  .page-shell,
  .layout {
    width: min(100vw - 22px, 720px);
    padding-left: 18px;
    padding-right: 18px;
  }

  .topbar {
    margin-top: 12px;
    border-radius: 24px 24px 0 0;
  }

  .topbar::before {
    display: none;
  }

  .page-shell,
  .layout {
    border-radius: 0 0 24px 24px;
  }

  .hero-strip h2 {
    font-size: clamp(34px, 12vw, 58px);
  }
}
