﻿/* ═══════════════════════════════════════════════════════════════
  VerifyDesk — Premium Design System
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Base palette */
  --bg-0: #070a12;
  --bg-1: #0b1220;
  --bg-2: #0f172a;
  --surface-1: #111827;
  --surface-2: #1e293b;
  --surface-3: #263449;

  /* Text */
  --text: #e2e8f0;
  --text-strong: #f1f5f9;
  --muted: #94a3b8;
  --muted-2: #64748b;

  /* Accent (teal) */
  --accent: #14b8a6;
  --accent-2: #2dd4bf;
  --accent-strong: #5eead4;
  --accent-deep: #0d9488;
  --accent-glow: rgba(20, 184, 166, 0.35);
  --accent-soft: rgba(20, 184, 166, 0.08);

  /* Semantic */
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --border: #1e293b;
  --border-strong: #334155;
  --border-accent: rgba(20, 184, 166, 0.22);

  /* Radius / shadow */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-3xl: 36px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 60px rgba(20, 184, 166, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text);
  background: var(--bg-1);
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

body.modal-open { overflow: hidden; }

a { color: inherit; }
button { font: inherit; }

/* ─── Atmosphere ─────────────────────────────── */
.ambient-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(20, 184, 166, 0.16), transparent 60%),
    radial-gradient(900px 600px at 8% 40%, rgba(45, 212, 191, 0.08), transparent 65%),
    radial-gradient(1000px 700px at 100% 80%, rgba(13, 148, 136, 0.1), transparent 65%),
    linear-gradient(180deg, #070a12 0%, #0b1220 50%, #0a111e 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.glow-primary {
  width: 620px; height: 620px;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(20, 184, 166, 0.28), transparent 65%);
  animation: float-slow 18s ease-in-out infinite;
}
.glow-secondary {
  width: 420px; height: 420px;
  top: 30%; left: -140px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.16), transparent 65%);
  animation: float-slow 22s ease-in-out infinite reverse;
}
.glow-tertiary {
  width: 480px; height: 480px;
  bottom: -160px; right: -160px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.18), transparent 65%);
  animation: float-slow 26s ease-in-out infinite;
}

.grid-wash {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 85%);
  opacity: 0.5;
}

.noise-layer {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ─── Page Shell ─────────────────────────────── */
.page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ─── Header ─────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  padding: 0.65rem clamp(1rem, 4vw, 2rem);
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  animation: rise-in 600ms ease both;
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(13, 148, 136, 0.08));
  border: 1px solid rgba(20, 184, 166, 0.24);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.18);
}

.brand-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text { display: flex; flex-direction: column; gap: 2px; }

.topbar h1 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-strong);
  white-space: nowrap;
}

.brand-tag {
  display: none;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.brand-title-desktop,
.hero-title-desktop,
.hero-copy-desktop,
.hero-badge-desktop,
.hero-primary-desktop,
.footer-copy-desktop { display: none; }

.topbar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.22);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.9);
  animation: pulse 2s ease-in-out infinite;
}

/* ─── Page Main ─────────────────────────────── */
.page-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 8vw, 5rem);
}

/* ─── Hero ─────────────────────────────── */
.hero-panel {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  animation: rise-in 800ms ease both;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 90%);
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.28), rgba(13, 148, 136, 0.08) 40%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero-panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.06);
  border: 1px solid rgba(20, 184, 166, 0.2);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.9);
}

.hero-title {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  max-width: 18ch;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.65;
}

.hero-trust-row {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.hero-trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(20, 184, 166, 0.6);
}

/* ─── Primary interaction card ─────────────────────────────── */
.hero-verify-card {
  position: relative;
  width: min(100%, 480px);
  margin-top: 1rem;
  border-radius: var(--r-2xl);
  isolation: isolate;
}

.hero-verify-card-glow {
  position: absolute;
  inset: -40px;
  border-radius: var(--r-3xl);
  background: radial-gradient(circle at 50% 30%, rgba(20, 184, 166, 0.28), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
  animation: pulse-soft 4s ease-in-out infinite;
}

.hero-verify-card-inner {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  border-radius: var(--r-2xl);
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.85), rgba(17, 24, 39, 0.92));
  border: 1px solid rgba(20, 184, 166, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(20, 184, 166, 0.06),
    var(--shadow-glow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Gradient top border accent */
.hero-verify-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.45), rgba(20, 184, 166, 0) 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.hero-emblem {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.hero-emblem-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%, rgba(20, 184, 166, 0.5), rgba(20, 184, 166, 0) 40%, rgba(94, 234, 212, 0.4) 65%, rgba(20, 184, 166, 0) 100%);
  filter: blur(10px);
  opacity: 0.85;
  animation: spin-slow 12s linear infinite;
}

.hero-emblem-core {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.18), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(94, 234, 212, 0.5);
  color: var(--accent-2);
  box-shadow: inset 0 0 20px rgba(20, 184, 166, 0.35);
}

.hero-pd-icon {
  width: 34px;
  height: 34px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(45, 212, 191, 0.5));
}

.hero-badge {
  color: var(--text-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-wallet-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
  max-width: 34ch;
  text-align: center;
}

.hero-primary {
  width: 100%;
  margin-top: 0.4rem;
  min-height: 52px;
  padding: 0 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.hero-primary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-primary-icon svg {
  width: 18px;
  height: 18px;
}

.two-step-warning {
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: var(--r-md);
  color: #fca5a5;
  font-size: 0.82rem;
  line-height: 1.5;
  font-weight: 500;
  text-align: left;
}

.two-step-warning strong { color: #fecaca; }

/* Status pills (shown by app.js) */
.hero-transfer-pills {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.hero-transfer-status,
.hero-transfer-amount {
  display: none;
  margin: 0;
  text-align: center;
}

.hero-transfer-status {
  margin-top: 0.4rem;
  color: rgba(203, 213, 225, 0.85);
  font-size: 0.9rem;
  line-height: 1.55;
  min-height: 2.6em;
}

.hero-transfer-status.is-success { color: #86efac; }
.hero-transfer-status.is-danger  { color: #fca5a5; }
.hero-transfer-status.is-pending { color: var(--accent-strong); }

.hero-transfer-amount {
  margin-top: 0.2rem;
  color: rgba(148, 163, 184, 0.75);
  font-size: 0.82rem;
  line-height: 1.5;
}

.hero-tos-note {
  margin: 0.5rem 0 0;
  color: var(--muted-2);
  font-size: 0.76rem;
  line-height: 1.5;
}

.tos-link {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 600;
}
.tos-link:hover { text-decoration: underline; }

/* ─── Feature Cards ─────────────────────────────── */
.insight-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: 1fr;
}

.feature-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.55), rgba(17, 24, 39, 0.85));
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: var(--shadow-md);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px 200px at 50% -20%, rgba(20, 184, 166, 0.12), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, 0.28);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 40px rgba(20, 184, 166, 0.08);
}

.feature-card:hover::before { opacity: 1; }

.feature-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.16), rgba(13, 148, 136, 0.08));
  border: 1px solid rgba(20, 184, 166, 0.28);
  color: var(--accent-2);
  margin-bottom: 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.feature-card-lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.how-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.how-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--r-md);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.how-step {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.28);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.how-list li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.how-list strong {
  color: var(--text-strong);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

.how-list span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
}

.about-tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  margin-top: 1px;
}

.about-tick svg { width: 12px; height: 12px; }

/* ─── Buttons ─────────────────────────────── */
button {
  appearance: none;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease, background 180ms ease;
}

button:disabled { cursor: not-allowed; opacity: 0.55; }
button:not(:disabled):hover { transform: translateY(-1px); }
button:not(:disabled):active { transform: translateY(0); }

.primary-action {
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 0.98rem;
  color: #ffffff;
  background: linear-gradient(180deg, #14b8a6, #0d9488);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 24px rgba(13, 148, 136, 0.35),
    0 0 0 1px rgba(20, 184, 166, 0.4);
  position: relative;
  overflow: hidden;
}

.primary-action:not(:disabled):hover {
  background: linear-gradient(180deg, #2dd4bf, #14b8a6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 16px 32px rgba(13, 148, 136, 0.45),
    0 0 0 1px rgba(45, 212, 191, 0.5);
}

.primary-action::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -30%;
  width: 30%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: transform 600ms ease;
}

.primary-action:not(:disabled):hover::after {
  transform: skewX(-20deg) translateX(500%);
}

.secondary-action {
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: var(--r-md);
  font-weight: 600;
  color: var(--text);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.secondary-action:hover { background: rgba(148, 163, 184, 0.14); }

/* ─── Status pills ─────────────────────────────── */
.status-pill,
.network-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.status-pill {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--muted);
}

.network-badge {
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent-strong);
  border: 1px solid rgba(20, 184, 166, 0.25);
}

/* ─── Modals ─────────────────────────────── */
.checkout-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  animation: fade-in 200ms ease both;
}

.checkout-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(480px, calc(100% - 1.5rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.5rem;
  border-radius: var(--r-2xl);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.99));
  border: 1px solid rgba(20, 184, 166, 0.22);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(20, 184, 166, 0.1);
  z-index: 101;
  animation: modal-pop 260ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.modal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.2rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  margin-left: auto;
  margin-bottom: 0.25rem;
  background: rgba(148, 163, 184, 0.08);
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.82rem;
  font-weight: 600;
}
.modal-close:hover { background: rgba(148, 163, 184, 0.16); color: var(--text); }

.checkout-modal h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.modal-copy {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.modal-card {
  display: grid;
  gap: 0.4rem;
  text-align: left;
  padding: 1.1rem 1.15rem;
  border-radius: var(--r-lg);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.14);
  width: 100%;
}

.modal-card-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.modal-card strong {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  word-break: break-word;
  color: var(--text-strong);
}

.modal-summary-grid {
  width: 100%;
  display: grid;
  gap: 0.8rem;
}

.modal-actions {
  width: 100%;
  display: grid;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

/* ─── Success Modal ─────────────────────────────── */
.success-modal { width: min(440px, calc(100% - 1.5rem)); }
.success-modal-inner { gap: 1rem; }

.success-modal-icon-shell {
  width: 100px; height: 100px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.28), transparent 65%);
}

.success-modal-icon-core {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-deep));
  color: #0f172a;
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.4);
}

.success-modal-icon { width: 34px; height: 34px; }

.success-modal-copy-amount {
  color: var(--accent-strong);
  font-weight: 700;
}

.success-amount-card {
  text-align: center;
  gap: 0.4rem;
}

.success-amount-card strong {
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  color: var(--accent-strong);
  letter-spacing: -0.02em;
}

.success-card-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.success-card-icon {
  width: 2rem; height: 2rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.24);
  flex-shrink: 0;
}
.success-card-icon svg { width: 1rem; height: 1rem; }

.success-view-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#releasing-funds-button {
  background: linear-gradient(180deg, #14b8a6, #0d9488) !important;
  color: #fff !important;
}

/* ─── Utility Modals ─────────────────────────────── */
.utility-modal { width: min(400px, calc(100% - 1.5rem)); }

.utility-modal-icon-shell {
  width: 92px; height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.22), transparent 65%);
}

.utility-modal-icon-core {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-deep));
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.32);
}
.utility-modal-icon { width: 28px; height: 28px; }

.utility-modal-card { gap: 0.4rem; }
.utility-modal-card strong { color: var(--accent-strong); }

/* ─── Insufficient Modal (styled dark, no yellow) ─── */
.insufficient-modal {
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.insufficient-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 26px;
  font-weight: 800;
}

.insufficient-title {
  margin: 0 0 0.5rem;
  color: var(--text-strong);
  font-size: 1.35rem;
  font-weight: 700;
}

.insufficient-copy {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

.insufficient-panel {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--r-md);
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.insufficient-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.insufficient-value {
  color: var(--text-strong);
  font-weight: 700;
}
.insufficient-value--danger { color: var(--danger); }

/* ─── Footer ─────────────────────────────── */
.site-footer {
  width: 100%;
  margin-top: auto;
  padding: 3rem clamp(1rem, 4vw, 2rem) 2.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.6), rgba(7, 10, 18, 0.9));
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.footer-brand-lockup {
  align-items: flex-start;
}

.footer-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
}

.site-footer h2 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 160ms ease;
}
.footer-link:hover { color: var(--accent-strong); }

.footer-details {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-details div {
  min-width: 0;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-right: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-details div:first-child {
  padding-left: 0;
}

.footer-details div:last-child {
  padding-right: 0;
  border-right: 0;
}

.footer-details span {
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-details strong {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.14), transparent);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-disclaimer {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.6;
  max-width: 68ch;
}

.footer-copyright {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.76rem;
}

/* ─── Utilities ─────────────────────────────── */
.hidden { display: none !important; }
.is-success { color: var(--success) !important; }
.is-danger  { color: var(--danger) !important; }
.is-pending { color: var(--accent-strong) !important; }

/* ─── Animations ─────────────────────────────── */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modal-pop {
  from { opacity: 0; transform: translate(-50%, -48%) scale(0.94); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -30px) scale(1.05); }
}

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

@keyframes pulse-soft {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════
   Breakpoints
   ═══════════════════════════════════════════════════════════════ */

/* Tablet ≥ 640px */
@media (min-width: 640px) {
  .hero-primary { font-size: 1.05rem; }
  .insufficient-modal { padding: 2rem; }
}

/* Desktop ≥ 900px */
@media (min-width: 900px) {
  .brand-title-mobile,
  .hero-title-mobile,
  .hero-copy-mobile,
  .hero-badge-mobile,
  .hero-primary-mobile,
  .footer-copy-mobile { display: none; }

  .brand-title-desktop,
  .hero-title-desktop,
  .hero-copy-desktop,
  .hero-badge-desktop,
  .hero-primary-desktop,
  .footer-copy-desktop { display: inline; }

  .topbar { padding: 0.75rem clamp(1.5rem, 4vw, 2.5rem); }
  .topbar-inner { height: 60px; }
  .brand-tag { display: block; }
  .topbar h1 { font-size: 1.15rem; }

  .page-main {
    gap: 5rem;
    padding: 4rem clamp(1.5rem, 4vw, 2.5rem) 5rem;
  }

  .hero-panel-content { gap: 1.5rem; }

  .hero-title {
    font-size: clamp(3rem, 5vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 20ch;
  }

  .hero-copy {
    max-width: 56ch;
    font-size: 1.1rem;
    line-height: 1.65;
  }

  .hero-trust-row { gap: 0.5rem 1.5rem; font-size: 0.82rem; }

  .hero-verify-card {
    width: min(100%, 480px);
    margin-top: 1.5rem;
  }

  .hero-verify-card-inner {
    padding: 2.25rem 1.75rem 1.75rem;
    gap: 1.1rem;
  }

  .hero-primary {
    min-height: 54px;
    font-size: 1.05rem;
  }

  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem 1.75rem;
  }

  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Wide ≥ 1200px */
@media (min-width: 1200px) {
  .hero-title { font-size: clamp(3.25rem, 4.5vw, 4rem); }
}

/* Small mobile ≤ 400px */
@media (max-width: 400px) {
  .brand-tag { display: none; }
  .topbar h1 { font-size: 1rem; }
  .topbar-chip { padding: 0.35rem 0.65rem; font-size: 0.68rem; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.2rem); }
  .hero-verify-card-inner { padding: 1.75rem 1.15rem 1.25rem; }
  .hero-emblem { width: 82px; height: 82px; }
  .hero-emblem-core { width: 60px; height: 60px; }
  .hero-pd-icon { width: 30px; height: 30px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
  VerifyDesk product page refresh
   ═══════════════════════════════════════════════════════════════ */

h1,
h2,
h3,
.hero-eyebrow,
.hero-badge,
.product-card-index,
.section-kicker,
.topbar-chip {
  letter-spacing: 0;
}

.ambient-scene {
  background:
    radial-gradient(900px 560px at 74% 12%, rgba(20, 184, 166, 0.17), transparent 68%),
    radial-gradient(760px 540px at 8% 42%, rgba(13, 148, 136, 0.08), transparent 72%),
    linear-gradient(180deg, #070b13 0%, #0b1220 42%, #09101c 100%);
}

.grid-wash {
  background-size: 64px 64px;
  opacity: 0.34;
}

.topbar {
  border-top: 1px solid rgba(45, 212, 191, 0.22);
}

.topbar-actions,
.primary-nav {
  display: flex;
  align-items: center;
}

.topbar-actions {
  gap: 1.6rem;
}

.primary-nav {
  display: none;
  gap: 1.7rem;
}

.primary-nav a {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #f1f5f9;
}

.page-main {
  gap: 0;
  padding: 0;
}

.hero-panel,
.capability-rail,
.product-section,
.workflow-section,
.about-section {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero-panel {
  padding: 3.25rem 0 3.75rem;
}

.hero-panel-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  text-align: left;
}

.hero-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 1.2rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.71rem;
}

.hero-title {
  max-width: 9ch;
  font-size: 2.55rem;
  line-height: 1.02;
  color: #f8fafc;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-title span {
  display: block;
  color: #2dd4bf;
  background: linear-gradient(90deg, #2dd4bf, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy {
  max-width: 42rem;
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-trust-row {
  width: min(100%, 31rem);
  margin-top: 1.65rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.13);
  border-bottom: 1px solid rgba(148, 163, 184, 0.13);
}

.hero-trust-row li {
  min-height: 3.1rem;
  justify-content: flex-start;
  padding: 0.7rem 0;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(148, 163, 184, 0.09);
}

.hero-trust-row li:last-child {
  border-bottom: 0;
}

.trust-icon {
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 50%;
  color: #5eead4;
  background: rgba(20, 184, 166, 0.08);
  font-size: 0.62rem;
  font-weight: 800;
}

.hero-verify-card {
  width: min(100%, 32rem);
  margin: 0 auto;
  border-radius: 18px;
}

.hero-verify-card-glow {
  inset: -26px;
  border-radius: 28px;
  background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.23), transparent 69%);
}

.hero-verify-card-inner {
  padding: 1.2rem 1.2rem 1.35rem;
  gap: 0.9rem;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(30, 41, 59, 0.92), rgba(12, 19, 32, 0.97)),
    #111827;
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 32px 70px rgba(0, 0, 0, 0.52),
    0 0 52px rgba(20, 184, 166, 0.11);
}

.card-topline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.card-live-state {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #86efac;
}

.card-live-state i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 9px rgba(34, 197, 94, 0.75);
  animation: pulse 2s ease-in-out infinite;
}

.hero-emblem {
  width: 82px;
  height: 82px;
  margin-top: 0.25rem;
}

.hero-emblem-core {
  width: 60px;
  height: 60px;
}

.hero-pd-icon {
  width: 30px;
  height: 30px;
}

.hero-badge {
  font-size: 0.76rem;
}

.hero-wallet-hint {
  max-width: 31ch;
  line-height: 1.65;
}

.hero-primary {
  min-height: 56px;
  margin-top: 0.35rem;
  border-radius: 10px;
}

.button-arrow {
  width: 18px;
  height: 18px;
  margin-left: auto;
  transition: transform 180ms ease;
}

.hero-primary:hover .button-arrow {
  transform: translateX(3px);
}

.card-assurance {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.card-assurance span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #94a3b8;
  font-size: 0.72rem;
}

.card-assurance svg {
  width: 15px;
  height: 15px;
  color: #2dd4bf;
  flex: 0 0 auto;
}

.hero-tos-note {
  margin-top: 0;
}

.capability-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(9, 16, 28, 0.5);
}

.capability-item {
  min-height: 6.5rem;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  border-right: 1px solid rgba(148, 163, 184, 0.1);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.capability-item:nth-child(2n) {
  border-right: 0;
}

.capability-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.capability-value {
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 800;
}

.capability-label {
  color: #64748b;
  font-size: 0.7rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.product-section,
.workflow-section,
.about-section {
  padding-block: 5rem;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  display: block;
  margin-bottom: 0.7rem;
  color: #2dd4bf;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2,
.about-message h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 2rem;
  line-height: 1.15;
}

.section-heading p,
.about-message > p {
  margin: 0.9rem 0 0;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.75;
}

.feature-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.product-card {
  position: relative;
  min-height: 17rem;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(30, 41, 59, 0.67), rgba(14, 22, 37, 0.94)),
    #111827;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% 20%;
  height: 12rem;
  background: radial-gradient(ellipse, rgba(20, 184, 166, 0.17), transparent 67%);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.34);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}

.product-card-icon,
.workflow-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #5eead4;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 8px;
}

.product-card-icon svg,
.workflow-icon svg {
  width: 22px;
  height: 22px;
}

.product-card-index {
  display: block;
  margin-top: 1.55rem;
  color: #2dd4bf;
  font-size: 0.66rem;
  font-weight: 800;
}

.product-card h3 {
  max-width: 18ch;
  margin: 0.55rem 0 0;
  color: #f1f5f9;
  font-size: 1.25rem;
  line-height: 1.3;
}

.product-card p {
  max-width: 38ch;
  margin: 0.75rem 0 0;
  color: #94a3b8;
  font-size: 0.87rem;
  line-height: 1.7;
}

.visual-ledger {
  width: min(100%, 18rem);
  margin-top: 1.4rem;
  display: grid;
  gap: 0.55rem;
}

.visual-ledger span {
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.6), rgba(45, 212, 191, 0.08));
}

.visual-ledger span:nth-child(2) {
  width: 74%;
}

.visual-ledger span:nth-child(3) {
  width: 48%;
}

.workflow-section {
  position: relative;
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100% - 1180px) / 2));
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background:
    linear-gradient(180deg, rgba(20, 184, 166, 0.035), rgba(8, 14, 24, 0.34));
}

.workflow-orbit {
  position: absolute;
  width: 44rem;
  height: 16rem;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(45, 212, 191, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(20, 184, 166, 0.06);
}

.workflow-track {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 2.4rem auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
}

.workflow-track li {
  position: relative;
  padding: 1.5rem 0 1.75rem 4.4rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.workflow-track li:last-child {
  border-bottom: 0;
}

.workflow-number {
  position: absolute;
  top: 1.5rem;
  left: 0;
  color: rgba(94, 234, 212, 0.46);
  font-size: 0.7rem;
  font-weight: 800;
}

.workflow-icon {
  margin-bottom: 1rem;
}

.workflow-track h3 {
  margin: 0;
  color: #f1f5f9;
  font-size: 1.15rem;
}

.workflow-track p {
  max-width: 34ch;
  margin: 0.6rem 0 0;
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.7;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.about-message {
  max-width: 38rem;
}

.independence-note {
  margin-top: 1.5rem;
  padding: 1rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  font-size: 0.84rem;
  line-height: 1.6;
}

.independence-note svg {
  width: 20px;
  height: 20px;
  color: #2dd4bf;
  flex: 0 0 auto;
}

.principle-list {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.principle-list article {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.principle-list article > span {
  color: #2dd4bf;
  font-size: 0.7rem;
  font-weight: 800;
}

.principle-list h3 {
  margin: 0;
  color: #f1f5f9;
  font-size: 1rem;
}

.principle-list p {
  margin: 0.4rem 0 0;
  color: #94a3b8;
  font-size: 0.83rem;
  line-height: 1.6;
}

.site-footer {
  margin-top: 0;
}

.product-card,
.capability-rail,
.workflow-track li,
.principle-list article {
  animation: rise-in 700ms ease both;
}

.product-card:nth-child(2),
.workflow-track li:nth-child(2),
.principle-list article:nth-child(2) {
  animation-delay: 100ms;
}

.product-card:nth-child(3),
.workflow-track li:nth-child(3),
.principle-list article:nth-child(3) {
  animation-delay: 180ms;
}

@media (min-width: 560px) {
  .hero-trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-trust-row li {
    justify-content: center;
    padding-inline: 0.7rem;
    border-right: 1px solid rgba(148, 163, 184, 0.1);
    border-bottom: 0;
  }

  .hero-trust-row li:last-child {
    border-right: 0;
  }

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

  .capability-item {
    padding-inline: 1.5rem;
  }

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

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

@media (min-width: 900px) {
  .primary-nav {
    display: flex;
  }

  .hero-panel {
    min-height: min(720px, calc(100svh - 85px));
    padding: 4rem 0;
    display: grid;
    align-items: center;
  }

  .hero-panel-content {
    grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.92fr);
    gap: clamp(3rem, 7vw, 6rem);
  }

  .hero-message {
    align-items: flex-start;
    text-align: left;
  }

  .hero-title {
    max-width: 9ch;
    font-size: 4.25rem;
  }

  .hero-copy {
    max-width: 34rem;
    font-size: 1.08rem;
  }

  .hero-trust-row {
    margin-top: 2rem;
  }

  .hero-verify-card {
    width: min(100%, 31rem);
    margin-right: 0;
  }

  .hero-verify-card-inner {
    padding: 1.35rem 1.45rem 1.45rem;
  }

  .capability-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .capability-item,
  .capability-item:nth-child(2n),
  .capability-item:nth-last-child(-n + 2) {
    min-height: 7.5rem;
    border-right: 1px solid rgba(148, 163, 184, 0.1);
    border-bottom: 0;
  }

  .capability-item:last-child {
    border-right: 0;
  }

  .capability-value {
    font-size: 1.05rem;
  }

  .product-section,
  .workflow-section,
  .about-section {
    padding-block: 7rem;
  }

  .section-heading h2,
  .about-message h2 {
    font-size: 2.7rem;
  }

  .feature-showcase {
    grid-template-columns: 1.25fr 0.75fr 0.75fr;
  }

  .product-card--wide {
    grid-column: auto;
  }

  .product-card {
    min-height: 22rem;
    padding: 2rem;
  }

  .product-card h3 {
    font-size: 1.45rem;
  }

  .workflow-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 3.5rem;
  }

  .workflow-track li {
    min-height: 16rem;
    padding: 1.75rem 2.5rem 1rem;
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    border-bottom: 0;
  }

  .workflow-track li:first-child {
    padding-left: 0;
  }

  .workflow-track li:last-child {
    border-right: 0;
  }

  .workflow-number {
    top: 2rem;
    left: auto;
    right: 2rem;
  }

  .workflow-track li:first-child .workflow-number {
    right: 2.5rem;
  }

  .about-section {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.85fr);
    gap: clamp(4rem, 8vw, 8rem);
    align-items: start;
  }
}

@media (max-width: 420px) {
  .hero-panel,
  .capability-rail,
  .product-section,
  .about-section {
    width: min(100% - 1.25rem, 1180px);
  }

  .hero-panel {
    padding-top: 2.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-verify-card-inner {
    padding-inline: 1rem;
  }

  .topbar-chip span:last-child {
    max-width: none;
    white-space: nowrap;
    line-height: 1;
  }
}

/* Phone layout: keep the wallet action in the opening viewport. */
@media (max-width: 559px) {
  html,
  body {
    width: 100%;
    overflow-x: clip;
  }

  .topbar {
    padding: calc(0.42rem + env(safe-area-inset-top)) 0.75rem 0.42rem;
  }

  .topbar-inner {
    height: 48px;
    gap: 0.65rem;
  }

  .brand-lockup {
    gap: 0.55rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .topbar h1 {
    font-size: 0.98rem;
  }

  .topbar-chip {
    gap: 0.35rem;
    padding: 0.36rem 0.55rem;
    font-size: 0.61rem;
  }

  .topbar-chip-dot {
    width: 6px;
    height: 6px;
  }

  .hero-panel,
  .capability-rail,
  .product-section,
  .about-section {
    width: calc(100% - 1.25rem);
  }

  .hero-panel {
    padding: 1.9rem 0 2.25rem;
  }

  .hero-panel-content {
    gap: 1.65rem;
  }

  .hero-eyebrow {
    max-width: 100%;
    margin-bottom: 0.9rem;
    padding: 0.38rem 0.65rem;
    font-size: 0.63rem;
  }

  .hero-title {
    max-width: 10ch;
    font-size: clamp(2.1rem, 10vw, 2.45rem);
  }

  .hero-copy {
    margin-top: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .hero-trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-top: 1.15rem;
  }

  .hero-trust-row li {
    min-height: 4.35rem;
    padding: 0.65rem 0.35rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    border-right: 1px solid rgba(148, 163, 184, 0.1);
    border-bottom: 0;
    font-size: 0.67rem;
    line-height: 1.25;
    text-align: center;
  }

  .hero-trust-row li:last-child {
    border-right: 0;
  }

  .trust-icon {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.55rem;
  }

  .hero-verify-card {
    width: 100%;
  }

  .hero-verify-card-glow {
    inset: -12px;
    filter: blur(22px);
  }

  .hero-verify-card-inner {
    padding: 0.95rem 1rem 1rem;
    gap: 0.68rem;
    border-radius: 16px;
  }

  .card-topline {
    padding-bottom: 0.65rem;
    font-size: 0.63rem;
  }

  .hero-emblem {
    width: 68px;
    height: 68px;
    margin-top: 0;
  }

  .hero-emblem-core {
    width: 50px;
    height: 50px;
  }

  .hero-pd-icon {
    width: 26px;
    height: 26px;
  }

  .hero-badge {
    font-size: 0.69rem;
  }

  .hero-wallet-hint {
    max-width: 32ch;
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .hero-primary {
    min-height: 52px;
    margin-top: 0.2rem;
    padding-inline: 1rem;
  }

  .card-assurance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 0.7rem 0;
  }

  .card-assurance span {
    align-items: flex-start;
    font-size: 0.64rem;
    line-height: 1.35;
  }

  .hero-tos-note {
    font-size: 0.68rem;
  }

  .capability-rail {
    border-radius: 14px;
    overflow: hidden;
  }

  .capability-item {
    min-height: 5.15rem;
    padding: 0.9rem 0.75rem;
  }

  .capability-value {
    font-size: 0.82rem;
  }

  .capability-label {
    font-size: 0.6rem;
  }

  .product-section,
  .workflow-section,
  .about-section {
    padding-block: 4rem;
  }

  .section-heading {
    margin-bottom: 1.45rem;
  }

  .section-heading h2,
  .about-message h2 {
    font-size: 1.7rem;
    line-height: 1.18;
  }

  .section-heading p,
  .about-message > p {
    margin-top: 0.7rem;
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .feature-showcase {
    gap: 0.8rem;
  }

  .product-card {
    min-height: 0;
    padding: 1.2rem;
    border-radius: 14px;
  }

  .product-card-icon,
  .workflow-icon {
    width: 40px;
    height: 40px;
  }

  .product-card-icon svg,
  .workflow-icon svg {
    width: 19px;
    height: 19px;
  }

  .product-card-index {
    margin-top: 1.1rem;
  }

  .product-card h3 {
    max-width: 22ch;
    font-size: 1.08rem;
  }

  .product-card p {
    margin-top: 0.55rem;
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .visual-ledger {
    width: 10rem;
    margin-top: 1rem;
    gap: 0.4rem;
  }

  .visual-ledger span {
    height: 0.42rem;
  }

  .workflow-section {
    padding-inline: 0.75rem;
  }

  .workflow-orbit {
    width: 24rem;
    height: 12rem;
  }

  .workflow-track {
    margin-top: 1.5rem;
    gap: 0.7rem;
  }

  .workflow-track li {
    min-height: 0;
    padding: 1rem 1rem 1rem 3.55rem;
    border: 1px solid rgba(148, 163, 184, 0.11);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.48);
  }

  .workflow-number {
    top: 1.1rem;
    left: 1rem;
  }

  .workflow-icon {
    margin-bottom: 0.7rem;
  }

  .workflow-track h3 {
    font-size: 1rem;
  }

  .workflow-track p {
    margin-top: 0.4rem;
    font-size: 0.79rem;
    line-height: 1.58;
  }

  .about-section {
    gap: 2.25rem;
  }

  .about-message > p {
    line-height: 1.75;
  }

  .independence-note {
    margin-top: 1.35rem;
    padding: 1.05rem;
    border: 1px solid rgba(45, 212, 191, 0.16);
    border-radius: 12px;
    background: rgba(20, 184, 166, 0.045);
    font-size: 0.79rem;
    line-height: 1.7;
  }

  .principle-list {
    display: grid;
    gap: 0.85rem;
    border-top: 0;
  }

  .principle-list article {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 1.1rem;
    padding: 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.11);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.44);
  }

  .principle-list h3 {
    font-size: 0.92rem;
  }

  .principle-list p {
    font-size: 0.77rem;
    line-height: 1.65;
  }

  .site-footer {
    padding: 2.5rem 1rem calc(1.75rem + env(safe-area-inset-bottom));
  }

  .site-footer-inner {
    gap: 1.35rem;
  }

  .footer-top {
    gap: 1rem;
  }

  .footer-links-row {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .footer-link {
    font-size: 0.8rem;
  }

  .footer-details {
    padding-top: 1.1rem;
  }

  .footer-details div {
    padding-inline: 0.65rem;
  }

  .footer-details span {
    font-size: 0.57rem;
  }

  .footer-details strong {
    font-size: 0.72rem;
  }

  .footer-bottom {
    gap: 0.7rem;
  }

  .checkout-modal {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 1.05rem;
    border-radius: 18px;
  }

  .modal-inner {
    gap: 0.78rem;
  }

  .success-modal-icon-shell {
    width: 82px;
    height: 82px;
  }

  .success-modal-icon-core {
    width: 56px;
    height: 56px;
  }

  .utility-modal-icon-shell {
    width: 78px;
    height: 78px;
  }

  .utility-modal-icon-core {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 350px) {
  .topbar-chip span:last-child {
    display: none;
  }

  .topbar-chip {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
  }

  .topbar-chip-dot {
    width: 8px;
    height: 8px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-trust-row li {
    font-size: 0.61rem;
  }

  .card-assurance {
    grid-template-columns: 1fr;
  }

  .insufficient-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }
}

/* Tablet and wallet-browser landscape tuning. */
@media (min-width: 560px) and (max-width: 899px) {
  .hero-panel {
    padding-block: 3.5rem 4.5rem;
  }

  .hero-panel-content {
    gap: 2.75rem;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-verify-card {
    width: min(100%, 31rem);
  }

  .product-section,
  .workflow-section,
  .about-section {
    padding-block: 5.5rem;
  }
}
