:root {
  --bg: #080b12;
  --panel: #101725;
  --panel-2: #121d2f;
  --muted: #93a4bd;
  --text: #f6f9ff;
  --line: rgba(255, 255, 255, 0.1);
  --green: #38f7a5;
  --blue: #45a3ff;
  --violet: #8d6bff;
  --danger: #ff6b7a;
  --warning: #ffd166;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
}

.brand-logo {
  display: block;
  width: min(210px, 52vw);
  height: auto;
}

.sidebar .brand-logo {
  width: 190px;
}

.auth-brand .brand-logo {
  width: 210px;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: #06110d;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 0 24px rgba(56, 247, 165, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #06110d;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.full {
  grid-column: 1 / -1;
  width: 100%;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(8, 11, 18, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.landing-nav nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(50px, 7vw, 90px) clamp(18px, 5vw, 72px) 70px;
  background:
    linear-gradient(135deg, rgba(69, 163, 255, 0.14), transparent 36%),
    linear-gradient(315deg, rgba(56, 247, 165, 0.12), transparent 40%),
    #080b12;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.3rem, 8vw, 7rem);
  line-height: 0.9;
}

.hero p {
  max-width: 620px;
  color: #c7d4e7;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.hero-panel,
.rate-card,
.feature-card,
.metric-card,
.action-card,
.table-card,
.form-panel,
.pix-result,
.auth-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: clamp(16px, 3vw, 24px);
}

.hero-visual {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.balance-preview {
  display: grid;
  gap: 10px;
  min-height: 160px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(141, 107, 255, 0.24), rgba(69, 163, 255, 0.18)),
    rgba(255, 255, 255, 0.04);
}

.balance-preview span,
.mini-grid span,
.metric-card span,
.feature-card p,
.compact-list span,
.rate-row span,
.fee-note,
.muted-link,
small {
  color: var(--muted);
}

.balance-preview strong {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

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

.mini-grid div,
.compact-list div,
.rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.section {
  padding: 78px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section h2,
.final-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.feature-grid,
.metrics-grid,
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.metric-card,
.action-card {
  padding: 20px;
}

.feature-card h3,
.table-card h2,
.form-panel h2 {
  margin: 0 0 10px;
}

.icon-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(56, 247, 165, 0.6);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 28px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding-left: 22px;
  color: #c7d4e7;
}

.rate-card {
  padding: 22px;
}

.rate-card h3 {
  margin-top: 0;
}

.rate-row {
  margin-top: 10px;
}

.security-band {
  background: linear-gradient(135deg, rgba(56, 247, 165, 0.1), rgba(141, 107, 255, 0.12));
  border-block: 1px solid var(--line);
}

.security-band p {
  max-width: 820px;
  color: #c7d4e7;
}

.final-cta,
.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 42px clamp(18px, 5vw, 72px);
}

.landing-footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.auth-body,
.auth-shell {
  min-height: 100vh;
}

.auth-shell {
  display: grid;
  place-items: center;
  padding: 28px 18px;
  background:
    linear-gradient(135deg, rgba(69, 163, 255, 0.14), transparent 34%),
    linear-gradient(315deg, rgba(56, 247, 165, 0.1), transparent 36%),
    var(--bg);
}

.auth-shell.wide .auth-card {
  max-width: 760px;
}

.auth-card {
  width: min(100%, 440px);
  padding: 28px;
}

.auth-brand {
  margin-bottom: 24px;
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.auth-card p {
  color: var(--muted);
}

.panel-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(69, 163, 255, 0.09), transparent 28%),
    var(--bg);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 270px;
  height: 100vh;
  padding: 22px;
  overflow-y: hidden;
  overflow-x: hidden;
  border-right: 1px solid var(--line);
  background: rgba(10, 14, 23, 0.94);
  backdrop-filter: blur(18px);
  transition: width 0.2s ease, padding 0.2s ease, transform 0.2s ease;
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.sidebar-collapse-toggle {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.side-nav {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  flex: 1 1 auto;
}

.side-nav a {
  padding: 12px;
  border-radius: 8px;
  color: #cfdbed;
}

.side-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-separator {
  height: 1px;
  margin: 10px 0;
  background: var(--line);
}

.sidebar-footer {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}

.sidebar-footer a {
  color: var(--green);
}

.sidebar-footer small {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.panel-main {
  display: grid;
  gap: 18px;
  min-height: 100vh;
  margin-left: 270px;
  padding: 26px clamp(16px, 3vw, 34px) 48px;
  transition: margin-left 0.2s ease;
}

.sidebar-hidden .sidebar {
  transform: translateX(-100%);
}

.sidebar-hidden .panel-main {
  margin-left: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.topbar h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.metrics-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metric-card {
  display: grid;
  gap: 10px;
  min-height: 116px;
}

.metric-card strong {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.metric-card.accent {
  background: linear-gradient(135deg, rgba(56, 247, 165, 0.22), rgba(69, 163, 255, 0.12));
}

.quick-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.action-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
}

.action-card span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #07110d;
  background: var(--green);
  font-weight: 900;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.table-card,
.form-panel,
.pix-result {
  padding: 18px;
}

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

.card-heading a,
.link-button,
.muted-link a {
  color: var(--green);
  font-weight: 700;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: #d8e4f5;
  font-size: 0.82rem;
}

td {
  color: #c7d4e7;
}

.status {
  display: inline-flex;
  max-width: 180px;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(56, 247, 165, 0.28);
  border-radius: 8px;
  color: var(--green);
  background: rgba(56, 247, 165, 0.08);
  overflow-wrap: anywhere;
}

.form {
  display: grid;
  gap: 14px;
}

.grid-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 8px;
  color: #d8e4f5;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(56, 247, 165, 0.6);
  box-shadow: 0 0 0 3px rgba(56, 247, 165, 0.1);
}

.alert {
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.alert-success {
  color: #caffea;
  background: rgba(56, 247, 165, 0.1);
  border-color: rgba(56, 247, 165, 0.22);
}

.alert-error {
  color: #ffd3d8;
  background: rgba(255, 107, 122, 0.1);
  border-color: rgba(255, 107, 122, 0.24);
}

.pix-result {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) 240px;
  gap: 18px;
  align-items: start;
}

.qr-box,
.qr-placeholder {
  display: grid;
  min-height: 240px;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.qr-box img {
  width: 220px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
}

.copy-field {
  grid-column: 1 / -1;
}

.fee-note {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.inline-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
}

.inline-form select {
  min-height: 34px;
  padding: 6px 8px;
}

.link-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.actions-cell {
  min-width: 260px;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input {
  min-width: 260px;
}

.toggle-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-line input {
  width: auto;
  min-height: auto;
}

@media (max-width: 1180px) {
  .feature-grid,
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .split,
  .panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .landing-nav {
    position: static;
  }

  .landing-nav,
  .final-cta,
  .landing-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .metrics-grid,
  .quick-actions,
  .mini-grid,
  .grid-form {
    grid-template-columns: 1fr;
  }

  .sidebar {
    width: 270px;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }

  .sidebar-open .sidebar {
    transform: translateX(0);
  }

  .panel-main {
    margin-left: 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .pix-result {
    grid-template-columns: 1fr;
  }

  .search-form,
  .card-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .search-form input {
    min-width: 0;
  }
}

/* Compact PromisePay-like pass */
body {
  font-size: 14px;
  letter-spacing: 0;
}

.brand-logo {
  width: min(168px, 48vw);
}

.sidebar .brand-logo {
  width: 160px;
}

.auth-brand .brand-logo {
  width: 160px;
}

.btn {
  min-height: 38px;
  padding: 0 15px;
  font-size: 0.86rem;
  font-weight: 650;
}

.btn-primary {
  background: #73cfff;
}

.hero {
  min-height: calc(88vh - 72px);
  padding-top: clamp(44px, 6vw, 72px);
}

.hero h1 {
  font-size: clamp(2.65rem, 6.2vw, 5.2rem);
  line-height: 0.96;
}

.hero p {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
}

.section {
  padding-block: 58px;
}

.section h2,
.final-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.feature-card,
.metric-card,
.action-card,
.rate-card,
.table-card,
.form-panel,
.pix-result {
  padding: 16px;
}

.auth-shell.auth-split {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 1fr);
  place-items: stretch;
  padding: 0;
  background: #080d18;
}

.auth-copy {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 6vw, 58px);
  background:
    linear-gradient(130deg, rgba(115, 207, 255, 0.18), rgba(8, 13, 24, 0.18) 45%),
    #142238;
}

.auth-copy h2 {
  max-width: 520px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
}

.auth-copy p {
  max-width: 560px;
  color: #c8d6ea;
  font-size: 1rem;
  line-height: 1.7;
}

.auth-copy small {
  color: #a9b8ce;
}

.auth-shell.auth-split .auth-card {
  align-self: center;
  justify-self: center;
  width: min(100% - 36px, 448px);
  padding: 28px 32px;
  background: #111827;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.auth-shell.auth-split .auth-card-wide {
  width: min(100% - 36px, 620px);
}

.auth-card h1 {
  margin-bottom: 7px;
  font-size: 1.55rem;
  line-height: 1.18;
  text-align: center;
}

.auth-card p {
  margin-top: 0;
  font-size: 0.9rem;
  text-align: center;
}

.form {
  gap: 12px;
}

label {
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 650;
}

input,
select,
textarea {
  min-height: 38px;
  padding: 9px 11px;
  font-size: 0.9rem;
  background: #151f31;
}

.alert {
  padding: 11px 13px;
  font-size: 0.86rem;
}

.muted-link {
  font-size: 0.86rem;
  text-align: center;
}

.camera-verification {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.camera-stage {
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #090f1b;
}

.camera-stage video {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

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

.camera-actions .btn {
  min-width: 0;
  padding-inline: 10px;
}

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

.capture-status span {
  min-height: 32px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: 8px;
  color: #ffe5a8;
  background: rgba(255, 209, 102, 0.08);
  font-size: 0.78rem;
  text-align: center;
}

.capture-status span.captured {
  color: #caffea;
  border-color: rgba(56, 247, 165, 0.24);
  background: rgba(56, 247, 165, 0.08);
}

.camera-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: left;
}

.verification-shell {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 44px);
  background:
    radial-gradient(circle at 50% 0%, rgba(115, 207, 255, 0.16), transparent 34%),
    #080d18;
}

.verification-panel {
  display: grid;
  gap: 22px;
  width: min(100%, 1080px);
  margin: 0 auto;
}

.verification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.verification-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(115, 207, 255, 0.24);
  border-radius: 999px;
  color: #aee3ff;
  background: rgba(115, 207, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
}

.verification-intro {
  max-width: 680px;
}

.verification-intro h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.verification-intro p {
  margin: 0;
  color: #c8d6ea;
  line-height: 1.65;
}

.verification-flow {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111827;
  box-shadow: var(--shadow);
}

.verification-steps {
  display: grid;
  align-content: start;
  gap: 10px;
}

.verification-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #151f31;
  cursor: pointer;
  text-align: left;
}

.verification-step span {
  display: grid;
  grid-row: span 2;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(115, 207, 255, 0.14);
  color: #aee3ff;
  font-weight: 800;
}

.verification-step strong {
  font-size: 0.88rem;
}

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

.verification-step.active {
  border-color: rgba(115, 207, 255, 0.55);
  background: rgba(115, 207, 255, 0.08);
}

.verification-step small.captured {
  color: var(--green);
}

.official-camera {
  display: grid;
  gap: 12px;
}

.official-camera .camera-stage {
  position: relative;
  min-height: clamp(320px, 46vw, 520px);
  border-style: solid;
  background: #050914;
}

.official-camera .camera-stage video {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.camera-guide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.camera-guide::before {
  content: "";
  display: block;
  width: min(72%, 520px);
  aspect-ratio: 1.58 / 1;
  border: 3px solid rgba(115, 207, 255, 0.92);
  border-radius: 14px;
  box-shadow:
    0 0 0 999px rgba(3, 8, 18, 0.42),
    0 0 28px rgba(115, 207, 255, 0.36);
}

.official-face .camera-guide::before {
  width: min(58%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
}

.camera-guide span {
  position: absolute;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #eaf7ff;
  background: rgba(8, 13, 24, 0.78);
  font-size: 0.84rem;
}

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

.compact-list .verification-grid {
  display: grid;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  border: 0;
  background: transparent;
}

.verification-shot {
  display: grid;
  gap: 8px;
}

.verification-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090f1b;
}

.review-box {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.compact-list .review-box {
  display: grid;
  align-items: stretch;
  justify-content: stretch;
}

.topbar {
  min-height: 58px;
}

.topbar h1 {
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
}

.metric-card {
  min-height: 98px;
}

.metric-card strong {
  font-size: clamp(1.2rem, 1.9vw, 1.65rem);
}

th {
  font-size: 0.76rem;
}

td {
  font-size: 0.88rem;
}

@media (max-width: 820px) {
  .auth-shell.auth-split {
    grid-template-columns: 1fr;
  }

  .auth-copy {
    min-height: auto;
    padding: 28px 22px;
    gap: 44px;
  }

  .auth-copy h2 {
    font-size: 2rem;
  }

  .auth-shell.auth-split .auth-card,
  .auth-shell.auth-split .auth-card-wide {
    width: min(100% - 28px, 520px);
    margin: 24px 0;
    padding: 24px 20px;
  }

  .camera-actions,
  .capture-status,
  .verification-grid,
  .verification-flow {
    grid-template-columns: 1fr;
  }

  .verification-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Modern gateway landing */
.hero-modern {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(68vh - 72px);
  place-items: center;
  padding-top: clamp(46px, 7vw, 82px);
  padding-bottom: clamp(12px, 3vw, 28px);
  background:
    linear-gradient(180deg, rgba(115, 207, 255, 0.09), rgba(8, 13, 24, 0) 36%),
    linear-gradient(90deg, rgba(56, 247, 165, 0.05), rgba(115, 207, 255, 0.08) 52%, rgba(255, 209, 102, 0.04)),
    #080d18;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.hero-centered {
  display: grid;
  justify-items: center;
  width: min(100%, 980px);
}

.hero-centered h1 {
  max-width: 960px;
  font-size: clamp(2.2rem, 5.4vw, 4.3rem);
  line-height: 0.98;
}

.hero-centered p {
  max-width: 760px;
}

.release-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 0 14px;
  border: 1px solid rgba(115, 207, 255, 0.18);
  border-radius: 999px;
  color: #c8d6ea;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.86rem;
}

.release-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(56, 247, 165, 0.5);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 820px);
  margin-top: 18px;
}

.hero-proof div,
.product-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.hero-proof div {
  display: grid;
  gap: 6px;
  min-height: 72px;
  align-content: center;
  padding: 12px 16px;
  text-align: left;
}

.hero-proof strong {
  color: #f6f9ff;
  font-size: 1rem;
}

.hero-proof span {
  color: var(--muted);
  line-height: 1.45;
}

.product-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  align-items: stretch;
  padding-top: 16px;
}

.product-preview {
  display: grid;
  gap: 16px;
  padding: 16px;
  overflow: hidden;
}

.preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
}

.preview-topline strong {
  color: var(--green);
}

.product-preview .hero-visual {
  margin: 0;
  border: 0;
  background: #0c1422;
}

.modern-mini-grid {
  align-content: stretch;
  margin-top: 0;
}

.modern-mini-grid div {
  min-height: 96px;
}

.modern-mini-grid strong {
  overflow-wrap: anywhere;
}

.support-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(115, 207, 255, 0.12), rgba(56, 247, 165, 0.07)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.support-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
}

.support-hero p {
  max-width: 820px;
  margin: 0;
  color: #c7d4e7;
  line-height: 1.6;
}

.support-list {
  gap: 10px;
}

.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ticket-row div {
  padding: 0;
  border: 0;
  background: transparent;
}

.ticket-row span:not(.status),
.ticket-message span {
  color: var(--muted);
  font-size: 0.84rem;
}

.ticket-thread {
  display: grid;
  gap: 12px;
}

.ticket-message {
  display: grid;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ticket-message.is-admin {
  border-color: rgba(115, 207, 255, 0.24);
  background: rgba(115, 207, 255, 0.075);
}

.ticket-message div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ticket-message p {
  margin: 0;
  color: #d8e4f5;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .hero-proof,
  .product-strip {
    grid-template-columns: 1fr;
  }

  .support-hero,
  .ticket-row,
  .ticket-message div {
    align-items: flex-start;
    flex-direction: column;
  }
}
