/* AquaScanner design system: calm dark blue, one accent, generous spacing. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070e1f;
  --surface: #0c1630;
  --surface-2: #101d3b;
  --border: #1a2a4e;
  --border-strong: #27396b;
  --text: #e8eef9;
  --muted: #92a3c6;
  --dim: #60729a;
  --accent: #3b82f6;
  --accent-light: #7db3fb;
  --cyan: #38bdf8;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -20px rgba(2, 8, 30, 0.8);
  --font: "Plus Jakarta Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(59, 130, 246, 0.22), transparent 70%),
    radial-gradient(700px 400px at 100% 10%, rgba(56, 189, 248, 0.08), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

a {
  color: var(--accent-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

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

.dim {
  color: var(--dim);
}

.mono {
  font-family: var(--mono);
}

.hidden {
  display: none !important;
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid rgba(39, 57, 107, 0.45);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 650;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(59, 130, 246, 0.45));
}

.nav {
  display: flex;
  gap: 26px;
  margin-right: auto;
}

.nav a {
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav + .topbar-actions {
  margin-left: 0;
}

.user-chip {
  color: var(--muted);
  font-size: 14px;
  padding-right: 6px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(180deg, #4b8ff8, #2f6fe0);
  box-shadow: 0 8px 28px -8px rgba(59, 130, 246, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 12px 34px -8px rgba(59, 130, 246, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-danger {
  border-color: rgba(248, 113, 113, 0.35);
  color: var(--danger);
}

.btn-danger:hover {
  background: rgba(248, 113, 113, 0.1);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-sm {
  padding: 7px 12px;
  font-size: 13.5px;
  border-radius: 9px;
}

.btn-block {
  width: 100%;
}

/* ---------- cards, forms ---------- */

.card {
  background: linear-gradient(180deg, rgba(17, 29, 59, 0.78), rgba(12, 22, 48, 0.78));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.card > p.muted {
  margin-bottom: 20px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.input {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 15.5px;
  color: var(--text);
  background: rgba(4, 9, 22, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input::placeholder {
  color: var(--dim);
}

.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.form-error {
  min-height: 22px;
  margin-bottom: 12px;
  color: var(--danger);
  font-size: 14px;
}

.notice {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.notice.warning {
  border-color: rgba(251, 191, 36, 0.35);
  color: var(--warning);
}

/* ---------- landing ---------- */

.hero {
  padding: 88px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.08);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(100deg, #cfe3ff 0%, #6aa8ff 45%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  max-width: 540px;
  font-size: 19px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--dim);
}

/* decorative scan preview */
.preview {
  position: relative;
  padding: 26px;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 34, 68, 0.9), rgba(10, 18, 40, 0.9));
  box-shadow: var(--shadow), 0 0 80px -30px rgba(59, 130, 246, 0.6);
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  font-size: 14px;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  white-space: nowrap;
}

.pill.live {
  color: var(--cyan);
  border-color: rgba(56, 189, 248, 0.4);
}

.pill.live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}

.pill.success {
  color: var(--success);
  border-color: rgba(52, 211, 153, 0.4);
}

.pill.warning {
  color: var(--warning);
  border-color: rgba(251, 191, 36, 0.4);
}

.pill.danger {
  color: var(--danger);
  border-color: rgba(248, 113, 113, 0.4);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 22px;
}

.step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--dim);
  text-align: center;
}

.step::before {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(-50% + 22px);
  right: calc(50% + 22px);
  height: 2px;
  background: var(--border-strong);
}

.step:first-child::before {
  display: none;
}

.step.done::before,
.step.active::before {
  background: var(--accent);
}

.step-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  color: var(--dim);
  font-size: 13px;
  font-weight: 700;
}

.step.done .step-dot {
  background: rgba(59, 130, 246, 0.25);
  border-color: var(--accent-light);
  color: var(--text);
}

.step.active .step-dot {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent-light);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.14);
}

.step.done,
.step.active {
  color: var(--muted);
}

.step.active {
  color: var(--text);
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  min-width: 8px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.8s ease;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

.preview .progress-fill {
  width: 64%;
  animation: preview-progress 6s ease-in-out infinite alternate;
}

@keyframes preview-progress {
  from {
    width: 22%;
  }
  to {
    width: 86%;
  }
}

.preview-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(4, 9, 22, 0.55);
  font-size: 14px;
}

/* ---------- sections ---------- */

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

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

.feature {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 29, 59, 0.55), rgba(12, 22, 48, 0.4));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--accent-light);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 17.5px;
}

.feature p {
  color: var(--muted);
  font-size: 15px;
}

.steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.steps li {
  position: relative;
  list-style: none;
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(12, 22, 48, 0.5);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  font-weight: 700;
  color: var(--accent-light);
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.steps h3 {
  margin-bottom: 6px;
  font-size: 16.5px;
}

.steps p {
  color: var(--muted);
  font-size: 14.5px;
}

.panel {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(17, 29, 59, 0.7), rgba(8, 15, 34, 0.7));
}

.panel h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.panel-lead {
  margin-top: 12px;
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.panel ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.panel li {
  margin-bottom: 8px;
}

.footer {
  padding: 36px 0 48px;
  border-top: 1px solid rgba(39, 57, 107, 0.45);
  color: var(--dim);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* ---------- auth ---------- */

.auth-wrap {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  padding: 40px 0 80px;
}

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

.auth-card h1 {
  font-size: 26px;
  margin-bottom: 6px;
}

.auth-card .muted {
  margin-bottom: 24px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 26px;
  border-radius: 12px;
  background: rgba(4, 9, 22, 0.7);
  border: 1px solid var(--border);
}

.tab {
  padding: 10px;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  color: var(--text);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

/* ---------- app pages ---------- */

.page {
  padding: 44px 0 90px;
}

.page-head {
  margin-bottom: 32px;
}

.page-head h1 {
  font-size: 34px;
  margin-bottom: 8px;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 44px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 21px;
}

.stack {
  display: grid;
  gap: 14px;
  margin-bottom: 44px;
}

.empty {
  padding: 32px;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--dim);
}

.link-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.link-row .input {
  font-family: var(--mono);
  font-size: 13.5px;
}

.countdown {
  display: flex;
  justify-content: space-between;
  margin: 18px 0 8px;
  font-size: 14px;
  color: var(--muted);
}

.countdown strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.progress.countdown-bar .progress-fill {
  background: linear-gradient(90deg, var(--cyan), var(--accent));
  transition: width 1s linear;
}

.progress.countdown-bar.expiring .progress-fill {
  background: linear-gradient(90deg, var(--warning), #f59e0b);
}

.pin {
  display: inline-flex;
  gap: 8px;
}

.pin-box {
  display: grid;
  place-items: center;
  width: 40px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-light);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
}

.pin.large .pin-box {
  width: 54px;
  height: 66px;
  font-size: 30px;
  border-radius: 14px;
}

.scan-card {
  padding: 24px 26px;
}

.scan-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.scan-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 650;
}

.scan-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.waiting-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.table-card {
  padding: 8px 8px;
  overflow-x: auto;
}

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

th {
  padding: 14px 16px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}

td {
  padding: 15px 16px;
  border-top: 1px solid rgba(39, 57, 107, 0.4);
  vertical-align: middle;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

td.num {
  font-variant-numeric: tabular-nums;
}

.count {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

.count.zero {
  color: var(--dim);
  font-weight: 500;
}

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

.count.warning {
  color: var(--warning);
}

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

/* ---------- scan result ---------- */

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14.5px;
}

.verdict {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 30px 32px;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(17, 29, 59, 0.8), rgba(8, 15, 34, 0.8));
}

.verdict-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.verdict-icon svg {
  width: 34px;
  height: 34px;
}

.verdict h1 {
  font-size: 30px;
  margin-bottom: 6px;
}

.verdict.success {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 80px -40px var(--success);
}

.verdict.success .verdict-icon {
  color: var(--success);
}

.verdict.warning {
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 0 80px -40px var(--warning);
}

.verdict.warning .verdict-icon {
  color: var(--warning);
}

.verdict.danger {
  border-color: rgba(248, 113, 113, 0.45);
  box-shadow: 0 0 80px -40px var(--danger);
}

.verdict.danger .verdict-icon {
  color: var(--danger);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}

.chip {
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

.chip strong {
  color: var(--text);
  font-weight: 600;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.tile {
  padding: 22px 24px;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(12, 22, 48, 0.6);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tile:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.tile-value {
  display: block;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.tile-label {
  color: var(--muted);
  font-size: 14.5px;
}

.tile.danger .tile-value {
  color: var(--danger);
}

.tile.warning .tile-value {
  color: var(--warning);
}

.tile.info .tile-value {
  color: var(--accent-light);
}

.key-list {
  display: grid;
  gap: 10px;
  margin-bottom: 44px;
}

.key-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(12, 22, 48, 0.55);
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent-light);
}

.dot.danger {
  background: var(--danger);
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.6);
}

.dot.warning {
  background: var(--warning);
}

.item-title {
  font-weight: 650;
}

.item-detail {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.toolbar .input {
  width: auto;
  min-width: 220px;
  flex: 1;
  padding: 10px 14px;
  font-size: 14.5px;
}

select.input {
  flex: none;
  min-width: 0;
}

.filter {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.filter[aria-pressed="true"] {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.16);
}

.finding {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(12, 22, 48, 0.5);
  overflow: hidden;
}

.finding + .finding {
  margin-top: 8px;
}

.finding-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  width: 100%;
  padding: 14px 18px;
  text-align: left;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.finding-head:hover {
  background: rgba(255, 255, 255, 0.03);
}

.finding-body {
  padding: 0 18px 16px 42px;
  color: var(--muted);
  font-size: 14px;
  font-family: var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tag {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--dim);
}

.more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.live-card {
  padding: 34px;
}

.live-card .stepper {
  margin-bottom: 30px;
}

.big-percent {
  font-size: 54px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------- plain message pages ---------- */

.message-page {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 24px;
}

.message-page .card {
  max-width: 480px;
}

.message-page h1 {
  margin-bottom: 12px;
  font-size: 28px;
}

.message-page .btn {
  margin-top: 22px;
}

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

@media (max-width: 960px) {
  .hero-grid,
  .grid-two {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(1120px, 100% - 32px);
  }
  .hero {
    padding-top: 48px;
  }
  .feature-grid,
  .steps,
  .tiles {
    grid-template-columns: 1fr;
  }
  .topbar-inner {
    gap: 12px;
  }
  .user-chip {
    display: none;
  }
  .card,
  .live-card {
    padding: 22px;
  }
  .pin-box {
    width: 34px;
    height: 42px;
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
