/* CoinStrike – exchange-style design system
   Orange dark theme inspired by Coinbase / Crypto.com / Kraken polish */

:root {
  --bg: #0b0b0d;
  --bg-elevated: #111114;
  --panel: #141418;
  --panel-2: #1a1a1f;
  --panel-hover: #1e1e24;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);
  --accent: #ff6a00;
  --accent-hover: #ff7a1a;
  --accent-pressed: #e55a00;
  --accent-soft: rgba(255, 106, 0, 0.1);
  --accent-glow: rgba(255, 106, 0, 0.28);
  --text: #e8e8ec;
  --text-bright: #ffffff;
  --text-muted: #8b8b96;
  --text-dim: #5c5c66;
  --success: #00c853;
  --success-soft: rgba(0, 200, 83, 0.1);
  --danger: #ff3b30;
  --danger-soft: rgba(255, 59, 48, 0.1);
  --warning: #ffb020;
  --warning-soft: rgba(255, 176, 32, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --header-h: 64px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --mono: "SF Mono", "Cascadia Code", "Consolas", "Courier New", monospace;
  --max: 1120px;
  --max-form: 480px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  min-height: 100dvh;
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(11, 11, 13, 0.55) 0%, rgba(11, 11, 13, 0.78) 45%, rgba(11, 11, 13, 0.92) 100%),
    url("background.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

/* —— Layout shell —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(11, 11, 13, 0.78);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header .brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-header .brand img {
  height: 28px;
  width: auto;
  max-width: 180px;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.04);
}

.site-nav a.nav-cta {
  background: var(--accent);
  color: #fff;
  margin-left: 0.5rem;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.site-nav a.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.site-main.narrow {
  max-width: var(--max-form);
  padding-top: 2.5rem;
}

.site-footer {
  margin-top: auto;
  background: rgba(11, 11, 13, 0.92);
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.8rem;
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 24px;
  width: auto;
  opacity: 0.95;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 280px;
  line-height: 1.55;
}

.footer-col h4 {
  margin: 0 0 0.85rem;
  color: var(--text-bright);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.28rem 0;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.78rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.badge-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

/* —— Typography —— */
h1, h2, h3, h4 {
  color: var(--text-bright);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h3 { font-size: 1.05rem; letter-spacing: -0.01em; }

.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-center { text-align: center; }

/* —— Cards & panels —— */
.card {
  background: rgba(20, 20, 24, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.card-header {
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.card-header h2 {
  margin: 0 0 0.4rem;
}

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

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s, opacity 0.15s, border-color 0.15s;
  line-height: 1.2;
  white-space: nowrap;
}

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

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-bright);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover:not(:disabled) {
  border-color: rgba(255, 106, 0, 0.5);
  background: var(--accent-soft);
  color: var(--text-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.btn-ghost:hover:not(:disabled) {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.04);
}

.btn-block {
  width: 100%;
}

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

/* —— Forms —— */
.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.form-group .hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.form-control,
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-bright);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: rgba(0, 0, 0, 0.45);
}

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

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%238b8b96'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* File upload dropzone */
.file-drop {
  position: relative;
  border: 1.5px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  padding: 2rem 1.25rem;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
}

.file-drop:hover,
.file-drop.dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
}

.file-drop-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid rgba(255, 106, 0, 0.2);
}

.file-drop strong {
  display: block;
  color: var(--text-bright);
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.file-drop span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.file-name {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--accent);
  word-break: break-all;
}

/* —— Step progress —— */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 2rem;
  max-width: 420px;
  padding: 0 0.25rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  min-width: 52px;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--border-strong);
  color: var(--text-dim);
  transition: all 0.2s;
}

.step.active .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.step.done .step-num {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.step-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  text-align: center;
}

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

.step.done .step-label {
  color: var(--success);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border-strong);
  margin: 0 0.4rem 1.15rem;
  min-width: 10px;
  max-width: 56px;
  border-radius: 1px;
}

.step-line.done {
  background: var(--success);
}

/* —— Alerts —— */
.alert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.alert-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-top: 1px;
}

.alert-info {
  background: var(--accent-soft);
  border: 1px solid rgba(255, 106, 0, 0.22);
  color: #ffb06a;
}

.alert-success {
  background: var(--success-soft);
  border: 1px solid rgba(0, 200, 83, 0.25);
  color: #6eecc9;
}

.alert-danger {
  background: var(--danger-soft);
  border: 1px solid rgba(255, 59, 48, 0.28);
  color: #ff8a82;
}

.alert-warning {
  background: var(--warning-soft);
  border: 1px solid rgba(255, 176, 32, 0.28);
  color: #ffc85a;
}

/* —— Hero (landing) —— */
.hero {
  text-align: center;
  padding: 3.5rem 0 2.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero-badge .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero h1 {
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero h1 .accent-line {
  color: var(--accent);
}

.hero .lead {
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 2.75rem;
}

/* Stats strip like exchanges */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.stat-cell {
  background: rgba(20, 20, 24, 0.9);
  padding: 1.15rem 1rem;
  text-align: center;
}

.stat-cell .stat-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.stat-cell .stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}

.stat-cell .stat-value.up {
  color: var(--success);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  padding: 0.25rem 0 0.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.trust-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Feature grid */
.section-title {
  text-align: center;
  margin: 1rem 0 1.75rem;
}

.section-title h2 {
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: rgba(20, 20, 24, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.feature-card:hover {
  border-color: rgba(255, 106, 0, 0.35);
  background: rgba(26, 26, 31, 0.9);
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 106, 0, 0.15);
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

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

/* How it works */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.how-step {
  background: rgba(20, 20, 24, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.15rem;
  text-align: center;
  position: relative;
}

.how-step .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.how-step h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

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

/* Supported platforms strip */
.platforms {
  background: rgba(20, 20, 24, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.platforms p {
  margin: 0 0 0.9rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 600;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.platform-list span {
  opacity: 0.9;
  transition: color 0.15s;
}

.platform-list span:hover {
  color: var(--text-bright);
}

/* Redeem CTA band */
.cta-band {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.14) 0%, rgba(20, 20, 24, 0.92) 55%);
  border: 1px solid rgba(255, 106, 0, 0.28);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.75rem;
  text-align: center;
  margin-top: 0.5rem;
}

.cta-band h2 {
  margin-bottom: 0.55rem;
}

.cta-band p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
}

/* Verification page helpers */
.verify-wrap {
  max-width: var(--max-form);
  margin: 0 auto;
}

.video-frame {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 3;
  background: #050506;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  margin: 0 auto 1.25rem;
  overflow: hidden;
  position: relative;
  display: none;
}

.video-frame.active {
  display: block;
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.recording-indicator {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--danger);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.recording-indicator.active {
  display: flex;
}

.recording-indicator .pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin: 0.75rem 0 1.15rem;
  display: none;
}

.progress-bar.active {
  display: block;
}

.progress-bar .fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #ff9a4a);
  border-radius: 2px;
  transition: width 0.2s linear;
}

.status-msg {
  text-align: center;
  font-size: 0.95rem;
  color: var(--success);
  font-weight: 600;
  display: none;
  margin: 0.75rem 0;
}

.status-msg.active {
  display: block;
}

/* Receipt */
.receipt-card {
  text-align: center;
}

.receipt-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--warning-soft);
  border: 1px solid rgba(255, 176, 32, 0.3);
  color: var(--warning);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.receipt-rows {
  text-align: left;
  margin: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.receipt-row .label {
  color: var(--text-muted);
  flex-shrink: 0;
  font-weight: 500;
}

.receipt-row .value {
  color: var(--text-bright);
  font-weight: 500;
  text-align: right;
  word-break: break-all;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.receipt-row .value.plain {
  font-family: inherit;
  font-size: 0.875rem;
}

#qrCanvas {
  display: block;
  margin: 0 auto 0.75rem;
  width: 180px !important;
  height: 180px !important;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
}

/* Sticky action bar */
.actions-bar {
  position: sticky;
  bottom: 0;
  z-index: 9;
  padding: 0.9rem 0 calc(0.9rem + env(safe-area-inset-bottom));
  background: linear-gradient(
    180deg,
    rgba(11, 11, 13, 0) 0%,
    rgba(11, 11, 13, 0.75) 25%,
    rgba(11, 11, 13, 0.98) 55%,
    rgba(11, 11, 13, 1) 100%
  );
  max-width: var(--max-form);
  margin: 0 auto;
}

/* Error code block */
.error-code {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-strong);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  color: var(--danger);
  margin: 0.5rem 0 1.15rem;
}

/* Spinner */
.spinner {
  width: 36px;
  height: 36px;
  border: 2.5px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto 1.15rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Utility */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .how-steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header .brand img {
    height: 24px;
  }
  .site-nav a:not(.nav-cta) {
    display: none;
  }
  .how-steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero {
    padding: 2rem 0 1.5rem;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }
  .step-label {
    font-size: 0.6rem;
  }
  .card {
    padding: 1.35rem;
  }
  .site-main {
    padding: 1.5rem 1rem 3rem;
  }
}

@media (min-width: 768px) {
  .site-main {
    padding: 2.5rem 1.5rem 4rem;
  }
}
