/* SafeVault landing — enterprise-grade UI tokens */
:root {
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --bg: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-page: #e2e8f0;
  --surface: #ffffff;
  --line: rgba(15, 23, 42, 0.08);
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(37, 99, 235, 0.2);
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-soft: #e8efff;
  --accent: #2563eb;
  --accent-2: #475569;
  --accent-teal: #0d9488;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.08);
  --shadow-float: 0 16px 40px rgba(15, 23, 42, 0.08);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.33, 1, 0.68, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  letter-spacing: -0.011em;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: clip;
}

@supports selector(:has(*)) {
  body:has(.site-header.is-open) {
    overflow: hidden;
    touch-action: none;
  }
}

::selection {
  background: rgba(37, 99, 235, 0.18);
  color: var(--text);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  mask-image: radial-gradient(ellipse 92% 72% at 50% -8%, rgba(0, 0, 0, 0.35) 0%, black 40%, transparent 100%);
  opacity: 0.28;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

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

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.86em;
  background: #f1f5f9;
  color: var(--text);
  padding: 0.14em 0.42em;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.wrap {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.site-header .brand {
  color: var(--text);
}

.site-header .brand:hover {
  color: var(--text);
  opacity: 0.9;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:focus-visible {
  outline-offset: 4px;
}

.brand-logo {
  height: 40px;
  width: auto;
  max-width: min(200px, 46vw);
  display: block;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 480px) {
  .brand-logo {
    height: 34px;
    max-width: min(168px, 52vw);
  }
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: width 0.22s var(--ease-out);
}

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

.nav-desktop a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  transition:
    background 0.25s var(--ease-out),
    transform 0.2s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 4px 14px rgba(29, 78, 216, 0.28);
}

.btn-primary:hover {
  color: #fff;
  background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 8px 22px rgba(29, 78, 216, 0.32);
}

.btn-glass {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-glass:hover {
  background: #f8fafc;
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--primary);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
  padding: 16px 0 22px;
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 12px;
}

.mobile-nav a {
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 0;
}

.mobile-nav .btn {
  margin-top: 8px;
  width: 100%;
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.is-open .mobile-nav {
    display: flex;
  }
}

/* Hero */
.hero {
  padding: clamp(3.25rem, 8vw, 4.5rem) 0 clamp(2.75rem, 6vw, 3.5rem);
  position: relative;
  overflow: hidden;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 12% 18%, rgba(226, 232, 240, 0.9) 0%, transparent 52%),
    radial-gradient(ellipse 70% 50% at 92% 10%, rgba(219, 234, 254, 0.45) 0%, transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f4f6f9 55%, #eef1f5 100%);
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-glow--1 {
  width: 460px;
  height: 460px;
  top: -140px;
  right: 2%;
  background: radial-gradient(circle at 35% 35%, #c7d2fe, #93c5fd 45%, transparent 70%);
}

.hero-glow--2 {
  width: 360px;
  height: 360px;
  bottom: 6%;
  left: -8%;
  background: radial-gradient(circle at 50% 50%, #ddd6fe, #a5b4fc 50%, transparent 72%);
}

.hero-glow--3 {
  width: 280px;
  height: 280px;
  top: 35%;
  left: 35%;
  opacity: 0.16;
  filter: blur(70px);
  background: radial-gradient(circle, rgba(13, 148, 136, 0.32) 0%, transparent 65%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.04;
  pointer-events: none;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero-beam {
  position: absolute;
  top: -20%;
  left: 50%;
  width: min(55vw, 520px);
  height: 120%;
  transform: translateX(-50%) rotate(-8deg);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 78%, transparent 100%);
  opacity: 0.2;
  animation: beam-shift 10s ease-in-out infinite;
}

@keyframes beam-shift {
  0%,
  100% {
    opacity: 0.28;
    transform: translateX(-52%) rotate(-8deg);
  }
  50% {
    opacity: 0.42;
    transform: translateX(-48%) rotate(-7deg);
  }
}

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

.hero-copy {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: hero-rise 0.85s var(--ease-out) both;
  }

  .hero-visual {
    animation: hero-rise 1s 0.1s var(--ease-out) both;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  padding: 7px 14px 7px 8px;
  border-radius: var(--radius-pill);
  background: #f1f5f9;
  border: 1px solid var(--line);
  box-shadow: none;
  overflow: hidden;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.eyebrow-shine {
  display: none;
}

.text-gradient {
  background: linear-gradient(105deg, #1e40af 0%, #2563eb 45%, #0f766e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.8vw, 3.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.14;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
  font-weight: 500;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.badge:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow);
}

.badge svg {
  flex-shrink: 0;
  opacity: 0.75;
  color: var(--primary);
}

/* Hero visual + floating coins */
.hero-visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-coinfield {
  position: absolute;
  inset: -12% -18% -22% -18%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.28;
  pointer-events: none;
}

.hero-orb--a {
  width: min(280px, 55vw);
  height: min(280px, 55vw);
  top: -5%;
  right: -8%;
  background: radial-gradient(circle at 30% 30%, rgba(191, 219, 254, 0.55), rgba(148, 163, 184, 0.2) 50%, transparent 72%);
  animation: orb-drift 14s ease-in-out infinite;
}

.hero-orb--b {
  width: min(220px, 50vw);
  height: min(220px, 50vw);
  bottom: 0;
  left: -12%;
  background: radial-gradient(circle at 60% 40%, rgba(226, 232, 240, 0.95), rgba(59, 130, 246, 0.12) 52%, transparent 70%);
  animation: orb-drift 18s ease-in-out infinite reverse;
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-12px, 10px) scale(1.06);
  }
}

.float-coin {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  will-change: transform;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.float-coin--depth-deep {
  z-index: 0;
  opacity: 0.4;
  filter: blur(5px) saturate(1.15);
  box-shadow: none;
  animation: float-drift 19s ease-in-out infinite;
}

.float-coin--depth-soft {
  z-index: 0;
  opacity: 0.58;
  filter: blur(2.5px) saturate(1.08);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.08);
  animation: float-drift 14s ease-in-out infinite;
}

.float-coin--glow {
  z-index: 1;
  filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.18)) drop-shadow(0 0 18px rgba(59, 130, 246, 0.28));
  animation:
    float-y 7.2s ease-in-out infinite,
    coin-glow 4.2s ease-in-out infinite;
}

.float-coin--drift {
  z-index: 1;
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.14));
  animation: float-drift 11s ease-in-out infinite;
}

.float-coin--spin {
  z-index: 1;
  filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.15));
  animation:
    float-y 8.5s ease-in-out infinite,
    ring-pulse 3.8s ease-in-out infinite;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(5deg);
  }
}

@keyframes float-drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(-7deg);
  }
  33% {
    transform: translate(12px, -18px) rotate(5deg);
  }
  66% {
    transform: translate(-10px, 10px) rotate(-4deg);
  }
}

@keyframes coin-glow {
  0%,
  100% {
    filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.18)) drop-shadow(0 0 14px rgba(59, 130, 246, 0.22));
  }
  50% {
    filter: drop-shadow(0 10px 22px rgba(15, 23, 42, 0.14)) drop-shadow(0 0 26px rgba(99, 102, 241, 0.38));
  }
}

@keyframes ring-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(59, 130, 246, 0.35),
      0 10px 28px rgba(15, 23, 42, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 14px rgba(59, 130, 246, 0),
      0 14px 36px rgba(37, 99, 235, 0.15);
  }
}

/* Background depth */
.float-coin--d1 {
  top: -4%;
  left: -8%;
  width: 112px;
  height: 112px;
  animation-delay: 0s;
}

.float-coin--d2 {
  bottom: -6%;
  left: -10%;
  width: 96px;
  height: 96px;
  animation-delay: -4s;
}

.float-coin--d3 {
  top: 46%;
  right: -12%;
  width: 88px;
  height: 88px;
  animation-delay: -7s;
}

.float-coin--s1 {
  top: 58%;
  left: -4%;
  width: 72px;
  height: 72px;
  animation-delay: -2s;
}

.float-coin--s2 {
  top: 26%;
  right: -6%;
  width: 68px;
  height: 68px;
  animation-delay: -5.5s;
}

.float-coin--s3 {
  bottom: 34%;
  right: 0;
  width: 64px;
  height: 64px;
  animation-delay: -3.2s;
}

/* Foreground accents */
.float-coin--1 {
  top: 0;
  left: 0;
  width: 76px;
  height: 76px;
  animation-delay: 0s;
}

.float-coin--2 {
  top: 14%;
  right: -2%;
  width: 68px;
  height: 68px;
  animation-delay: -1.1s;
}

.float-coin--3 {
  bottom: 24%;
  left: 2%;
  width: 58px;
  height: 58px;
  animation-delay: -2.3s;
}

.float-coin--4 {
  bottom: 4%;
  right: 6%;
  width: 54px;
  height: 54px;
  animation-delay: -3.4s;
}

.float-coin--5 {
  top: 40%;
  left: -6%;
  width: 50px;
  height: 50px;
  animation-delay: -4.6s;
}

.float-coin--6 {
  top: 5%;
  left: 28%;
  width: 46px;
  height: 46px;
  animation-delay: -1.8s;
}

.float-coin--7 {
  bottom: 38%;
  right: -5%;
  width: 44px;
  height: 44px;
  animation-delay: -5.2s;
}

.float-coin--8 {
  top: 52%;
  right: 8%;
  width: 42px;
  height: 42px;
  animation-delay: -2.9s;
}

.float-coin--9 {
  top: 18%;
  left: 16%;
  width: 40px;
  height: 40px;
  animation-delay: -6.4s;
}

.float-coin--10 {
  bottom: 48%;
  left: 40%;
  width: 38px;
  height: 38px;
  animation-delay: -3.8s;
}

.float-coin--11 {
  top: 6%;
  right: 20%;
  width: 40px;
  height: 40px;
  animation-delay: -1.2s;
}

.float-coin--12 {
  bottom: 14%;
  left: 6%;
  width: 44px;
  height: 44px;
  animation-delay: -4.4s;
}

.mock-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 400px;
}

/* Decorative ring hidden — real extension UI reads cleaner without it */
.mock-orbit {
  display: none;
}

.mock-browser {
  position: relative;
  z-index: 1;
  font-family: "Outfit", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  border-radius: 28px;
  box-shadow:
    0 22px 50px rgba(15, 23, 42, 0.08),
    0 8px 22px rgba(15, 23, 42, 0.04),
    0 0 0 1px rgba(15, 23, 42, 0.06);
  border: 1px solid #e8ecf1;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.mock-wrap:hover .mock-browser {
  transform: translateY(-3px);
  box-shadow:
    0 28px 60px rgba(15, 23, 42, 0.1),
    0 12px 28px rgba(37, 99, 235, 0.06),
    0 0 0 1px rgba(15, 23, 42, 0.07);
}

.mock-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px 11px 16px;
  background: #eef1f6;
  border-bottom: 1px solid #e2e8f0;
}

.mock-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.12);
}

.mock-dot:nth-child(1) {
  background: #ff5f57;
}

.mock-dot:nth-child(2) {
  background: #febc2e;
}

.mock-dot:nth-child(3) {
  background: #28c840;
}

.mock-url {
  flex: 1;
  margin-left: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.mock-surface {
  padding: 20px 20px 18px;
  min-height: 348px;
  background: #fff;
}

.mock-surface-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.mock-wallet {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.12);
  letter-spacing: 0.01em;
}

.mock-balance-label {
  font-size: 0.625rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 8px;
}

.mock-balance {
  font-size: clamp(1.65rem, 4.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.mock-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 22px;
  justify-items: center;
}

.mock-action {
  width: 100%;
  max-width: 54px;
  aspect-ratio: 1;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8ecf1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.mock-action svg {
  flex-shrink: 0;
}

.mock-action--active {
  color: #fff;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  border-color: #1d4ed8;
  box-shadow:
    0 10px 26px rgba(37, 99, 235, 0.35),
    0 2px 6px rgba(37, 99, 235, 0.2);
}

.mock-tabs {
  display: flex;
  border-bottom: 1px solid #eef1f6;
  margin-top: 22px;
  gap: 2px;
}

.mock-tab {
  padding: 12px 12px 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.mock-tab.active {
  color: #0f172a;
  font-weight: 700;
  border-bottom-color: #2563eb;
}

.mock-rows {
  margin-top: 4px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.mock-row:last-child {
  border-bottom: none;
}

.mock-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eef1f6;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.mock-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mock-row-info {
  flex: 1;
  min-width: 0;
}

.mock-row-name {
  font-weight: 600;
  color: #0f172a;
}

.mock-row-meta {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 3px;
}

.mock-row-price {
  font-weight: 700;
  font-size: 0.875rem;
  color: #0f172a;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-badges {
    justify-content: center;
  }

  .eyebrow {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 380px;
  }

  .float-coin--1 {
    left: 4%;
  }

  .float-coin--2 {
    right: 2%;
  }

  .float-coin--5 {
    left: 2%;
  }

  .mock-wrap {
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .hero-orb--b {
    opacity: 0.28;
  }

  .float-coin--depth-deep,
  .float-coin--8,
  .float-coin--9,
  .float-coin--10,
  .float-coin--11,
  .float-coin--12 {
    display: none;
  }

  .float-coin--4,
  .float-coin--5 {
    display: none;
  }
}

/* Single-row infinite ribbon (continuous scroll) */
.asset-ribbon {
  --ribbon-dur: 96s;
  position: relative;
  z-index: 2;
  overflow: visible;
  border-block: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(165deg, #eef2ff 0%, #f8fafc 38%, #e0f2fe 100%);
}

.asset-ribbon__glow {
  position: absolute;
  inset: -40% -20% -30%;
  background:
    radial-gradient(ellipse 50% 42% at 20% 35%, rgba(99, 102, 241, 0.14), transparent 58%),
    radial-gradient(ellipse 45% 40% at 78% 55%, rgba(14, 165, 233, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(37, 99, 235, 0.07), transparent 50%);
  animation: asset-ribbon-aurora 24s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes asset-ribbon-aurora {
  0% {
    transform: translate3d(-2%, 0, 0) scale(1);
    opacity: 0.82;
  }

  100% {
    transform: translate3d(2.5%, -1%, 0) scale(1.03);
    opacity: 1;
  }
}

.asset-ribbon__wrap {
  position: relative;
  z-index: 1;
  padding-top: clamp(0.35rem, 1.5vw, 0.75rem);
}

.asset-ribbon__strip {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 0 4px;
}

.asset-ribbon__stage {
  position: relative;
}

.asset-ribbon__viewport--solo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 14px 0 16px;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.asset-ribbon__track {
  display: flex;
  width: max-content;
  animation: asset-ribbon-scroll-left var(--ribbon-dur) linear infinite;
}

@keyframes asset-ribbon-scroll-left {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.asset-ribbon__set {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 22px);
  padding-inline: clamp(12px, 2vw, 20px);
}

.asset-ribbon__chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.92) 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 6px 18px rgba(15, 23, 42, 0.07);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.asset-ribbon__chip:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 10px 28px rgba(37, 99, 235, 0.14),
    0 20px 44px rgba(15, 23, 42, 0.06);
}

.asset-ribbon__chip img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  transition: filter 0.3s var(--ease-out);
}

.asset-ribbon__chip:hover img {
  filter: saturate(1.12);
}

@media (max-width: 520px) {
  .asset-ribbon__chip {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .asset-ribbon__chip img {
    width: 34px;
    height: 34px;
  }

  .asset-ribbon__set {
    gap: 12px;
  }
}

/* Sections */
section {
  padding: clamp(4.5rem, 8vw, 5.5rem) 0;
  position: relative;
  z-index: 1;
}

section.asset-ribbon {
  padding: clamp(2.25rem, 5vw, 3.25rem) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.25rem);
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.18;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.65;
}

/* Highlights strip */
section.metrics-strip {
  padding: 0;
}

.metrics-strip {
  background: #fff;
  border-block: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.metrics-strip__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(15, 23, 42, 0.07);
}

.metric-block {
  padding: 28px 20px;
  text-align: center;
  background: #fff;
}

.metric-block strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 6px;
}

.metric-block span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-soft);
  font-weight: 500;
  line-height: 1.45;
  max-width: 220px;
  margin: 0 auto;
}

@media (max-width: 520px) {
  .metric-block {
    padding: 22px 16px;
  }
}

/* Overview */
.overview {
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6f9 100%);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.overview-copy .section-eyebrow {
  text-align: left;
  margin-left: 0;
}

.overview-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.overview-copy .overview-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.overview-copy .overview-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.overview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.overview-list li {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.overview-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}

@media (max-width: 840px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq-section {
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-item p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 700px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.features {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  pointer-events: none;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-card {
  grid-column: span 4;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 28px rgba(15, 23, 42, 0.05);
  backdrop-filter: none;
  transition:
    transform 0.35s var(--ease-spring),
    box-shadow 0.35s var(--ease-out),
    border-color 0.28s;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}

.bento-card::after {
  display: none;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.14);
}

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

.bento-card--hero {
  grid-column: span 7;
  min-height: 220px;
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 55%),
    #fff;
}

.bento-card--wide {
  grid-column: span 8;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.bento-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

.bento-coins {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.bento-coins img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.bento-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.bento-icon-wrap img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.bento-inline-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.bento-inline-icons img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.feature-icon-svg {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8efff, #eef2ff);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

@media (max-width: 1024px) {
  .bento-card,
  .bento-card--hero,
  .bento-card--wide {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .bento-card,
  .bento-card--hero,
  .bento-card--wide {
    grid-column: span 12;
  }
}

/* Download */
.download-band {
  position: relative;
  padding: 96px 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.download-band-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 40%, rgba(37, 99, 235, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 85% 20%, rgba(30, 64, 175, 0.25) 0%, transparent 45%),
    linear-gradient(145deg, #0f172a 0%, #1e3a8a 42%, #1d4ed8 78%, #172554 100%);
}

.download-band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 1;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.download-inner {
  position: relative;
  z-index: 2;
}

.download-coins {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 24px;
  opacity: 0.95;
}

.download-coins img {
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.download-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.15);
}

.download-inner > p:first-of-type {
  opacity: 0.92;
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 1.0625rem;
  font-weight: 500;
}

.btn-download {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  color: #1e40af !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
}

.btn-download:hover {
  color: #1d4ed8 !important;
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 1) inset !important;
}

/* Why SafeVault — trust, scale, custody */
.section-head--tight {
  text-align: left;
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  max-width: 720px;
}

.section-head--tight .section-eyebrow {
  margin-left: 0;
}

.section-head--tight h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
}

.why-safevault {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 48%, #f1f5f9 100%);
  border-block: 1px solid rgba(15, 23, 42, 0.06);
}

.why-safevault__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: min(52vh, 480px);
  background:
    radial-gradient(ellipse 70% 60% at 18% 20%, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 50% at 88% 8%, rgba(13, 148, 136, 0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.why-safevault__intro {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding-bottom: clamp(1rem, 3vw, 1.5rem);
}

.why-safevault__intro .section-eyebrow {
  margin-bottom: 12px;
}

.why-safevault__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.why-safevault__lead,
.why-safevault__sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.68;
}

.why-safevault__sub {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1rem;
}

.trust-panels {
  position: relative;
  z-index: 1;
  margin-top: clamp(0.5rem, 2vw, 1rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.trust-panels__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.trust-panel:hover {
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: var(--shadow);
}

.trust-panel__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.trust-panel__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}

.trust-panel__desc {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.55;
  font-weight: 500;
}

.scale-block {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

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

.scale-stat {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(6px);
}

.scale-stat__value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.scale-stat__hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 500;
}

.custody-callout {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(2.5rem, 6vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #172554 100%);
  color: #cbd5e1;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.custody-callout__inner {
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
}

.custody-callout__copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.custody-callout__copy p {
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 500;
  max-width: 720px;
}

.custody-callout__copy p + p {
  margin-top: 12px;
}

.custody-callout__echo {
  color: #94a3b8;
  font-size: 0.9375rem !important;
}

.shield-rows {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
}

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

.shield-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}

.shield-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  background: linear-gradient(180deg, var(--primary-soft) 0%, #fff 100%);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.shield-card h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.3;
}

.shield-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .trust-panels__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scale-block__stats,
  .shield-rows__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .trust-panels__grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile refinements (touch, gutters, no horizontal bleed) */
@media (max-width: 640px) {
  .wrap {
    width: min(1120px, 100% - 28px);
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 4px;
    box-sizing: border-box;
  }

  .mobile-nav .btn {
    min-height: 48px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .download-inner {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .download-band {
    padding-top: clamp(64px, 14vw, 88px);
    padding-bottom: calc(clamp(64px, 14vw, 88px) + env(safe-area-inset-bottom, 0px));
  }
}

/* Footer */
.site-footer {
  padding: 44px 0 calc(44px + env(safe-area-inset-bottom, 0px));
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-copyline {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: -0.02em;
}

.footer-brand p + p {
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748b;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}

.site-footer a {
  color: #cbd5e1;
  font-weight: 600;
}

.site-footer a:hover {
  color: #f8fafc;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .asset-ribbon__glow,
  .asset-ribbon__track,
  .hero-orb,
  .hero-coinfield .float-coin,
  .mock-orbit,
  .eyebrow-shine,
  .text-gradient,
  .hero-beam,
  .mock-browser,
  .download-band-bg {
    animation: none !important;
  }

  .hero-copy,
  .hero-visual {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .eyebrow-shine {
    opacity: 0;
  }

  .float-coin--depth-deep,
  .float-coin--depth-soft {
    transform: none;
    filter: blur(3px);
    opacity: 0.35;
  }

  .bento-card:hover {
    transform: none;
  }

  .mock-wrap:hover .mock-browser {
    transform: none;
  }

  .asset-ribbon__chip:hover img {
    filter: none;
  }
}

/* Header download dropdown */
.download-dropdown {
  position: relative;
}

.download-dropdown__trigger {
  cursor: pointer;
}

.download-dropdown__chev {
  opacity: 0.85;
  transition: transform 0.2s var(--ease-out);
}

.download-dropdown:hover .download-dropdown__chev,
.download-dropdown.is-open .download-dropdown__chev,
.download-dropdown:focus-within .download-dropdown__chev {
  transform: rotate(180deg);
}

.download-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 22px 48px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s var(--ease-out),
    transform 0.2s var(--ease-out),
    visibility 0.2s;
  z-index: 200;
  text-align: left;
}

.download-dropdown:hover .download-dropdown__menu,
.download-dropdown.is-open .download-dropdown__menu,
.download-dropdown:focus-within .download-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.download-dropdown__label {
  margin: 4px 10px 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.download-dropdown__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}

.download-dropdown__item:hover {
  background: #f1f5f9;
  color: var(--text);
}

.download-dropdown__item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
}

.download-dropdown__item small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

.download-dropdown__divider {
  height: 1px;
  background: var(--line);
  margin: 8px 6px;
}

.download-dropdown__guide {
  display: block;
  padding: 8px 12px 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  border-radius: 10px;
}

.download-dropdown__guide:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

/* Browser brand icons */
.browser-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.browser-icon--lg {
  width: 32px;
  height: 32px;
}

.browser-icon--chrome {
  background-image: url("../assets/browsers/chrome.png");
}

.browser-icon--edge {
  background-image: url("../assets/browsers/edge.png");
}

.browser-icon--firefox {
  background-image: url("../assets/browsers/firefox.png");
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

/* Installation guides (download section) */
.install-guides {
  margin-top: 56px;
  text-align: left;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.install-guides__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.95);
}

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

@media (max-width: 960px) {
  .install-guides__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

.install-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.install-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.install-card__head h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.install-card__zip {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}

.install-card__zip:hover {
  text-decoration: underline;
}

.install-card__steps {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.install-card__steps li {
  margin-bottom: 8px;
}

.install-card__steps code {
  font-size: 0.8125rem;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 6px;
  color: #1e293b;
}

.install-card__note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.mobile-nav__label {
  margin: 12px 0 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mobile-nav__dl {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-weight: 700 !important;
  color: var(--text) !important;
  padding: 10px 0 !important;
}
