@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap");

:root {
  --bg: #0c0f14;
  --bg-elevated: #12171f;
  --surface: #161d27;
  --surface-hover: #1c2531;
  --border: #2a3544;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --text: #eef2f7;
  --muted: #8b98a8;
  --muted-dim: #5c6a7a;
  --accent: #4da3ff;
  --accent-hover: #6eb4ff;
  --accent-muted: rgba(77, 163, 255, 0.15);
  --success: #3dd68c;
  --success-bg: rgba(61, 214, 140, 0.12);
  --danger: #ff6b6b;
  --danger-bg: rgba(255, 107, 107, 0.1);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(77, 163, 255, 0.2);
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --transition: 0.18s ease;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(77, 163, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(99, 102, 241, 0.06), transparent 45%);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

/* ——— Top bar ——— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(18, 23, 31, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.brand:hover {
  color: var(--accent);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), #6366f1);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.topbar-link {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.topbar-link:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav-user {
  font-size: 0.8125rem;
  color: var(--muted);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-logout {
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-logout:hover {
  border-color: var(--muted-dim);
  color: var(--text);
  background: var(--surface);
}

/* ——— Page shell ——— */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 4rem;
}

.page-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.page-title {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.2;
}

.page-lead {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 42ch;
}

h2 {
  font-size: 0.8125rem;
  margin: 2rem 0 0.75rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h2:first-of-type {
  margin-top: 0;
}

h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 1rem 0 0.5rem;
}

.title-section {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-transform: none;
  letter-spacing: normal;
}

.user-editor-card {
  border: 1px solid var(--border-subtle);
}

.user-editor-card .form-actions {
  margin-top: 1rem;
}

.label-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-direction: row;
  margin-top: 0.75rem;
  cursor: pointer;
}

.label-inline input {
  width: auto;
  max-width: none;
}

/* ——— Cards ——— */
.card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.card--flush {
  padding: 0;
  overflow: hidden;
}

.card--hero {
  padding: 1.75rem 1.75rem;
  background: linear-gradient(145deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border-color: rgba(77, 163, 255, 0.12);
}

/* ——— Auth & scan layouts ——— */
body.page-auth {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-auth .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 420px;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), #6366f1);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-glow);
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.auth-sub {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

body.page-auth .card {
  box-shadow: var(--shadow);
}

body.page-scan .container {
  max-width: 480px;
  padding-top: 2rem;
}

.scan-footer-link {
  margin-top: 1.25rem;
  text-align: center;
}

.scan-footer-actions {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.scan-footer-promo {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
}

.scan-footer-promo a {
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.scan-footer-promo a:hover {
  text-decoration-thickness: 2px;
}

.scan-page.card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.scan-geo-panel {
  margin-top: 1rem;
  text-align: left;
  padding: 1.25rem 1.5rem;
}

body.page-scan .scan-geo-panel {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.scan-geo-toast {
  line-height: 1.45;
}

/* ——— Forms ——— */
label {
  display: block;
  margin: 0.85rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

label:first-child,
.card > label:first-of-type {
  margin-top: 0;
}

input[type="text"],
input[type="password"],
input[type="tel"],
select,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-dim);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--muted-dim);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

select {
  cursor: pointer;
  max-width: 420px;
}

textarea {
  min-height: 88px;
  resize: vertical;
}

.form-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent);
  color: #0a1628;
  transition: background var(--transition), transform 0.1s ease, box-shadow var(--transition);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.btn:hover {
  background: var(--accent-hover);
}

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

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-danger {
  background: var(--danger);
  color: #1a0505;
  box-shadow: none;
}

.btn-danger:hover {
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--surface-hover);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--border);
  border-color: var(--muted-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  box-shadow: none;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.btn-ghost:hover {
  background: var(--accent-muted);
  color: var(--accent-hover);
}

/* ——— Alerts ——— */
.alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  border: 1px solid transparent;
}

.alert-success {
  background: var(--success-bg);
  border-color: rgba(61, 214, 140, 0.35);
  color: #b8f0d0;
}

.alert-error {
  background: var(--danger-bg);
  border-color: rgba(255, 107, 107, 0.35);
  color: #ffc9c9;
}

/* ——— Tables ——— */
.table-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: auto;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

th,
td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.2);
}

tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: background var(--transition);
}

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

td .btn,
td form {
  vertical-align: middle;
}

/* ——— Dashboard & link grid ——— */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 0;
}

.stat {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border-subtle);
}

.stat-value {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition), transform 0.15s ease;
}

.link-card:hover {
  border-color: rgba(77, 163, 255, 0.35);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.link-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: var(--accent-muted);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ——— Scan result ——— */
.scan-grid {
  display: grid;
  gap: 0;
  text-align: left;
  margin-top: 0.5rem;
}

.scan-grid dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0.85rem 0 0.2rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

.scan-grid dt:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.scan-grid dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.security-phone {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0.5rem 0 0;
}

.security-phone a {
  color: inherit;
  text-decoration: none;
}

.security-phone a:hover {
  text-decoration: underline;
}

/* ——— Sticker print (parking pass layout) ——— */
.sticker-print {
  text-align: center;
  padding: 0;
  overflow: hidden;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.sticker-pass__head {
  background: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
  color: #f8fafc;
  padding: 1.1rem 1.25rem 1.25rem;
  text-align: center;
  border-bottom: 3px solid var(--accent, #3b82f6);
}

.sticker-pass__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.85);
}

.sticker-pass__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.sticker-pass__sub {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.92);
}

.sticker-pass__qr-block {
  padding: 1.25rem 1rem 0.5rem;
  background: var(--card-bg, #fff);
}

.sticker-pass__qr-callout {
  margin: 0;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.sticker-pass__qr-callout--top {
  margin-bottom: 0.7rem;
}

.sticker-pass__qr-callout--bottom {
  margin-top: 0.55rem;
  margin-bottom: 0.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--accent, #2563eb);
}

.sticker-pass__qr-frame {
  display: inline-block;
  vertical-align: middle;
}

.sticker-print .qr-wrap {
  margin: 0 auto;
  padding: 0.75rem;
  display: inline-block;
  border-radius: var(--radius);
  background: #fff;
  border: 2px solid var(--border-subtle, #e2e8f0);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

/* ——— QR frame variants ——— */
.sticker-pass--frame-classic .sticker-pass__qr-frame {
  padding: 0;
}

.sticker-pass--frame-double .sticker-pass__qr-frame {
  padding: 10px;
  border: 3px solid var(--text, #0f172a);
  border-radius: 4px;
  background: #fff;
}

.sticker-pass--frame-double .sticker-print .qr-wrap {
  border: 2px solid var(--text, #0f172a);
  border-radius: 2px;
  box-shadow: none;
}

.sticker-pass--frame-ticket .sticker-pass__qr-frame {
  padding: 12px;
  border: 2px dashed var(--text, #334155);
  border-radius: 12px;
  background: linear-gradient(165deg, #fffbeb 0%, #fff 45%, #f8fafc 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.sticker-pass--frame-ticket .sticker-print .qr-wrap {
  border-style: solid;
  border-color: var(--text, #1e293b);
}

.sticker-pass--frame-brackets .sticker-pass__qr-frame {
  position: relative;
  padding: 16px;
  color: var(--text, #0f172a);
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 26px 4px no-repeat,
    linear-gradient(currentColor, currentColor) 0 0 / 4px 26px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 26px) 0 / 26px 4px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 4px) 0 / 4px 26px no-repeat,
    linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 26px 4px no-repeat,
    linear-gradient(currentColor, currentColor) 0 calc(100% - 26px) / 4px 26px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 26px) calc(100% - 4px) / 26px 4px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 4px) calc(100% - 26px) / 4px 26px no-repeat;
}

.sticker-pass--frame-brackets .sticker-print .qr-wrap {
  border: 1px solid var(--border-subtle, #cbd5e1);
  box-shadow: none;
}

.sticker-pass--frame-stamp .sticker-pass__qr-frame {
  padding: 14px;
  border-radius: 50%;
  border: 10px solid var(--text, #0f172a);
  background: #fff;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px var(--text, #0f172a);
}

.sticker-pass--frame-stamp .sticker-print .qr-wrap {
  border-radius: 8px;
  border-width: 2px;
  border-color: var(--text, #0f172a);
}

/* Oval “peach sticker” (example-style frame): soft fill, white rim, arched type, QR on white disc */
.sticker-pass--frame-oval .sticker-pass__qr-block {
  width: min(100%, 19.5rem);
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.35rem;
  padding: 1.2rem 1rem 1rem;
  border-radius: 50%;
  aspect-ratio: 1 / 1.22;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #f4d4c4;
  border: 10px solid #fff;
  box-shadow:
    0 0 0 2px rgba(30, 58, 95, 0.12),
    0 10px 28px rgba(15, 23, 42, 0.1);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.sticker-pass--frame-oval .sticker-pass__oval-kicker {
  margin: 0 0 0.1rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #2d4a6f;
}

.sticker-pass--frame-oval .sticker-pass__oval-svg {
  width: 100%;
  max-width: 17.5rem;
  height: auto;
  flex-shrink: 0;
}

.sticker-pass--frame-oval .sticker-pass__oval-svg--top {
  margin-bottom: 0.05rem;
}

.sticker-pass--frame-oval .sticker-pass__oval-svg--bottom {
  margin-top: 0.05rem;
}

.sticker-pass--frame-oval .sticker-pass__oval-host {
  margin: 0 0 0.05rem;
  padding: 0 0.75rem;
  max-width: 16rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #2d4a6f;
  text-align: center;
  word-break: break-all;
  line-height: 1.25;
}

.sticker-pass--frame-oval .sticker-pass__qr-frame {
  margin: 0.2rem 0;
  padding: 0;
}

.sticker-pass--frame-oval .sticker-print .qr-wrap {
  border-radius: 50%;
  padding: 11px;
  background: #fff;
  border: 5px solid #fff;
  box-shadow: inset 0 0 0 2px rgba(30, 58, 95, 0.1);
}

.sticker-print .qr-wrap img {
  display: block;
  vertical-align: middle;
}

/* High-res QR scaled down on screen; browser uses extra pixels when printing larger */
.sticker-print__qr {
  width: 280px;
  height: 280px;
  max-width: 100%;
  object-fit: contain;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.sticker-pass__facts {
  margin: 0;
  padding: 0.85rem 1rem 1.1rem;
  text-align: left;
  background: var(--bg, #f1f5f9);
  border-top: 1px solid var(--border-subtle, #e2e8f0);
}

.sticker-pass__fact {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.35rem 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-subtle, #e2e8f0);
  font-size: 0.875rem;
  align-items: baseline;
}

.sticker-pass__fact:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sticker-pass__fact--highlight {
  grid-template-columns: 1fr;
  padding: 0.35rem 0 0.65rem;
  border-bottom: 2px solid var(--border-subtle, #cbd5e1);
  margin-bottom: 0.25rem;
}

.sticker-pass__fact dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.sticker-pass__fact dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.sticker-pass__fact--highlight dt {
  font-size: 0.68rem;
}

.sticker-pass__sticker-no {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
  color: var(--text);
}

/* ——— Misc ——— */
.muted {
  color: var(--muted);
}

code,
.code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.84em;
  padding: 0.15em 0.45em;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  color: var(--muted);
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 1.25rem 0;
}

/* ——— Print ——— */
@media print {
  .no-print {
    display: none !important;
  }

  @page {
    margin: 12mm;
  }

  body {
    background: #fff !important;
    color: #000 !important;
    background-image: none !important;
  }

  .topbar,
  .page-head {
    display: none !important;
  }

  .container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .card {
    border: 1px solid #ccc;
    box-shadow: none;
  }

  .sticker-print.card,
  .sticker-print {
    max-width: none !important;
    padding: 0 !important;
    border: 2pt solid #000 !important;
    box-shadow: none !important;
    background: #fff !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .sticker-pass__head {
    background: #0a0a0a !important;
    color: #fff !important;
    border-bottom: 3pt solid #000 !important;
    padding: 10pt 12pt 12pt !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .sticker-pass__eyebrow {
    color: #e5e5e5 !important;
  }

  .sticker-pass__title,
  .sticker-pass__sub {
    color: #fff !important;
  }

  .sticker-pass__qr-block {
    background: #fff !important;
    padding: 10pt 8pt 4pt !important;
  }

  .sticker-pass__qr-callout {
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    font-size: 9pt !important;
    letter-spacing: 0.14em !important;
  }

  .sticker-pass__qr-callout--top {
    margin-bottom: 6pt !important;
  }

  .sticker-pass__qr-callout--bottom {
    margin-top: 5pt !important;
    font-size: 8pt !important;
    letter-spacing: 0.18em !important;
    color: #000 !important;
  }

  .sticker-print .muted {
    color: #333 !important;
  }

  .sticker-pass__qr-frame {
    display: inline-block !important;
  }

  .sticker-print .qr-wrap {
    background: #fff !important;
    border: 2pt solid #000 !important;
    padding: 5pt !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .sticker-pass--frame-classic .sticker-print .qr-wrap {
    border: 2pt solid #000 !important;
  }

  .sticker-pass--frame-double .sticker-pass__qr-frame {
    border: 2.5pt solid #000 !important;
    padding: 5pt !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  .sticker-pass--frame-double .sticker-print .qr-wrap {
    border: 2pt solid #000 !important;
    padding: 4pt !important;
  }

  .sticker-pass--frame-ticket .sticker-pass__qr-frame {
    border: 2pt dashed #000 !important;
    border-radius: 8pt !important;
    padding: 6pt !important;
    background: #fafafa !important;
    box-shadow: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .sticker-pass--frame-ticket .sticker-print .qr-wrap {
    border: 2pt solid #000 !important;
  }

  .sticker-pass--frame-brackets .sticker-pass__qr-frame {
    padding: 12pt !important;
    color: #000 !important;
    background:
      linear-gradient(#000, #000) 0 0 / 22pt 3pt no-repeat,
      linear-gradient(#000, #000) 0 0 / 3pt 22pt no-repeat,
      linear-gradient(#000, #000) calc(100% - 22pt) 0 / 22pt 3pt no-repeat,
      linear-gradient(#000, #000) calc(100% - 3pt) 0 / 3pt 22pt no-repeat,
      linear-gradient(#000, #000) 0 calc(100% - 3pt) / 22pt 3pt no-repeat,
      linear-gradient(#000, #000) 0 calc(100% - 22pt) / 3pt 22pt no-repeat,
      linear-gradient(#000, #000) calc(100% - 22pt) calc(100% - 3pt) / 22pt 3pt no-repeat,
      linear-gradient(#000, #000) calc(100% - 3pt) calc(100% - 22pt) / 3pt 22pt no-repeat !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .sticker-pass--frame-brackets .sticker-print .qr-wrap {
    border: 1pt solid #000 !important;
  }

  .sticker-pass--frame-stamp .sticker-pass__qr-frame {
    border: 7pt solid #000 !important;
    border-radius: 50% !important;
    padding: 7pt !important;
    background: #fff !important;
    box-shadow: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .sticker-pass--frame-stamp .sticker-print .qr-wrap {
    border-radius: 4pt !important;
    border: 2pt solid #000 !important;
  }

  .sticker-pass--frame-oval .sticker-pass__qr-block {
    width: auto !important;
    max-width: 58mm !important;
    margin: 4pt auto 0 !important;
    padding: 8pt 7pt 7pt !important;
    aspect-ratio: 1 / 1.2 !important;
    border-radius: 50% !important;
    background: #f4d4c4 !important;
    border: 7pt solid #fff !important;
    box-shadow: 0 0 0 1pt rgba(0, 0, 0, 0.08) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .sticker-pass--frame-oval .sticker-pass__oval-kicker {
    color: #1e3a5f !important;
    font-size: 5.5pt !important;
  }

  .sticker-pass--frame-oval .sticker-pass__oval-svg {
    max-width: 52mm !important;
  }

  .sticker-pass--frame-oval .sticker-pass__oval-svg text {
    fill: #1e3a5f !important;
  }

  .sticker-pass--frame-oval .sticker-pass__oval-host {
    color: #1e3a5f !important;
    font-size: 5.5pt !important;
    max-width: 48mm !important;
  }

  .sticker-pass--frame-oval .sticker-print .qr-wrap {
    border-radius: 50% !important;
    padding: 4pt !important;
    border: 4pt solid #fff !important;
    box-shadow: inset 0 0 0 1pt rgba(0, 0, 0, 0.12) !important;
  }

  .sticker-print__qr {
    width: 46mm !important;
    height: 46mm !important;
    max-width: none !important;
    image-rendering: crisp-edges;
  }

  .sticker-pass__facts {
    background: #f5f5f5 !important;
    border-top: 1pt solid #000 !important;
    padding: 8pt 10pt 10pt !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .sticker-pass__fact {
    border-bottom-color: #bbb !important;
    font-size: 9pt !important;
  }

  .sticker-pass__fact dt {
    color: #333 !important;
  }

  .sticker-pass__fact dd,
  .sticker-pass__sticker-no {
    color: #000 !important;
  }

  .sticker-pass__fact--highlight {
    border-bottom: 2pt solid #000 !important;
  }

  .sticker-pass__sticker-no {
    font-size: 20pt !important;
    font-weight: 900 !important;
    letter-spacing: 0.06em !important;
  }

  .sticker-pass__title {
    font-size: 13pt !important;
  }

  .sticker-pass__eyebrow {
    font-size: 6.5pt !important;
  }

  .sticker-pass__sub {
    font-size: 10pt !important;
  }
}

@media (max-width: 540px) {
  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions {
    margin-left: 0;
    justify-content: space-between;
    width: 100%;
  }

  .page-title {
    font-size: 1.35rem;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══ Marketing landing ═══ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #0a1628;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

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

body.page-landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #07090d;
  background-image:
    radial-gradient(ellipse 100% 70% at 50% -20%, rgba(77, 163, 255, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(99, 102, 241, 0.1), transparent 45%),
    radial-gradient(ellipse 40% 30% at 10% 30%, rgba(45, 212, 191, 0.06), transparent 40%);
}

.landing-main {
  flex: 1;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(7, 9, 13, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.landing-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.landing-logo:hover {
  color: var(--accent);
}

.landing-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #6366f1);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.landing-logo-mark--sm {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.6rem;
}

.landing-nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.landing-nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.landing-nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.landing-header-actions {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 0.65rem;
}

.landing-link-signin {
  padding: 0.45rem 0.85rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.landing-link-signin:hover {
  color: var(--text);
}

.landing-btn-cta {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  box-shadow: 0 0 20px rgba(77, 163, 255, 0.25);
}

body[data-active-nav="register"] .landing-btn-cta {
  box-shadow: 0 0 0 2px rgba(77, 163, 255, 0.4), 0 0 24px rgba(77, 163, 255, 0.2);
}

.landing-menu-toggle {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.landing-menu-bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
}

.landing-mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(12, 16, 22, 0.95);
  gap: 0.25rem;
}

.landing-mobile-menu[hidden] {
  display: none !important;
}

.landing-mobile-menu a {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.landing-mobile-menu a:hover {
  background: var(--surface);
}

@media (min-width: 880px) {
  .landing-nav-links,
  .landing-header-actions {
    display: flex;
  }

  .landing-menu-toggle {
    display: none;
  }

  .landing-mobile-menu {
    display: none !important;
  }
}

.landing-container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.landing-container--narrow {
  max-width: 520px;
}

.landing-section {
  padding: 4.5rem 0;
}

.landing-section--tight {
  padding: 3rem 0 4rem;
}

.landing-section--alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.landing-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.landing-kicker--hero {
  margin-bottom: 1.25rem;
}

.landing-hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.landing-hero-bg {
  position: absolute;
  inset: -40% -20% auto;
  height: 90%;
  background: radial-gradient(closest-side, rgba(77, 163, 255, 0.12), transparent);
  pointer-events: none;
}

.landing-hero-inner {
  position: relative;
}

.landing-hero-title {
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}

.landing-gradient-text {
  background: linear-gradient(105deg, #7eb8ff 0%, #a78bfa 45%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-hero-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.landing-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.landing-hero-btn-primary {
  min-height: 3rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.landing-hero-btn-secondary {
  min-height: 3rem;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
}

.landing-hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--muted-dim);
}

.landing-hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--muted-dim);
}

.landing-hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.landing-hero-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  opacity: 0.85;
}

.landing-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.85rem 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-section-title {
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  text-align: center;
}

.landing-section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 2.5rem;
  max-width: 42ch;
  font-size: 1.05rem;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.landing-feature {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform 0.2s ease;
}

.landing-feature:hover {
  border-color: rgba(77, 163, 255, 0.25);
  transform: translateY(-2px);
}

.landing-feature-icon {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.landing-feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.landing-feature-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.landing-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.landing-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}

.landing-step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-muted);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.landing-step strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.landing-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.landing-cta {
  padding: 4rem 0 5rem;
}

.landing-cta-inner {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(77, 163, 255, 0.2);
  background: linear-gradient(160deg, rgba(77, 163, 255, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
}

.landing-cta-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.landing-cta-text {
  margin: 0 auto 1.75rem;
  color: var(--muted);
  max-width: 40ch;
}

.landing-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0 2rem;
  background: rgba(0, 0, 0, 0.35);
}

.landing-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}

.landing-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.landing-footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.landing-footer-links a:hover {
  color: var(--accent);
}

.landing-footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted-dim);
}

/* Register / success */
.landing-page-title {
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  text-align: center;
}

.landing-page-lead {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 1.75rem;
  max-width: 46ch;
  line-height: 1.6;
}

.landing-form-section-title {
  margin-top: 0;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.landing-form-card label:first-of-type {
  margin-top: 0;
}

.landing-form-submit {
  margin-top: 1.5rem;
}

.landing-btn-full {
  width: 100%;
  max-width: none;
}

.landing-success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  font-size: 1.75rem;
  font-weight: 700;
  border: 1px solid rgba(61, 214, 140, 0.35);
}

.landing-cred-card {
  margin-bottom: 1.75rem;
}

.landing-cred-label {
  margin: 1rem 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.landing-cred-label:first-child {
  margin-top: 0;
}

.landing-cred-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.landing-cred-value {
  flex: 1;
  min-width: 0;
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  word-break: break-all;
  color: var(--text);
}

.landing-cred-value--secret {
  font-family: ui-monospace, monospace;
}

.landing-copy-btn {
  flex-shrink: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
}

.landing-done-actions {
  justify-content: center;
  flex-direction: column;
  align-items: stretch;
}

@media (min-width: 480px) {
  .landing-done-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

/* ——— How it works (flow slider) ——— */
.flow-page-intro .landing-section-title {
  text-align: center;
}

.flow-hub {
  max-width: 42rem;
  margin: 0 auto;
}

.flow-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem;
  margin: 0 auto 1.25rem;
  max-width: 22rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}

.flow-tab {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.flow-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.flow-tab.is-active {
  color: var(--text);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}

.flow-panel[hidden] {
  display: none !important;
}

.flow-slider:focus {
  outline: none;
}

.flow-slider:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.flow-slider-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  /* Prefer vertical page scroll; horizontal swipes are handled in JS only when clearly horizontal */
  touch-action: pan-y pinch-zoom;
}

.flow-slider-track {
  display: flex;
  transition: transform 0.38s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

.flow-slide {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
}

.flow-slide-card {
  margin: 0;
  min-height: 16rem;
  padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.flow-slide-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-muted);
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.flow-slide-badge--personal {
  background: rgba(45, 212, 191, 0.15);
  color: #5eead4;
}

.flow-slide-title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.flow-slide-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.flow-slide-list {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.flow-slide-list li {
  margin-bottom: 0.35rem;
}

.flow-slider-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.flow-slider-count {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.flow-slider-nav-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.flow-slider-btn {
  font-size: 0.8125rem;
  padding: 0.45rem 0.75rem;
}

.flow-slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.flow-slider-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.flow-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.flow-dot:hover {
  background: var(--muted-dim);
}

.flow-dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

.flow-page-cta {
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  .flow-slider-track {
    transition: none;
  }
}
