/* DraconX — Axiom bookmark tool, limpid-inspired green theme */
:root {
  --bg: #050a08;
  --bg-2: #050607;
  --border: rgba(120, 220, 160, 0.08);
  --border-strong: rgba(120, 220, 160, 0.18);
  --text: #eef2ef;
  --text-dim: #8a9590;
  --text-soft: #b8c3be;
  --accent: #4ade80;
  --accent-2: #86efac;
  --accent-glow: rgba(74, 222, 128, 0.25);
  --danger: #ef4444;
  --warn: #f59e0b;
  --radius-lg: 24px;
  --radius: 16px;
  --font-display: "Sora", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Monaco, Consolas, monospace;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  background: var(--bg-2);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Background atmosphere */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1000px 700px at 95% 10%, rgba(74, 222, 128, 0.14), transparent 55%),
    radial-gradient(700px 500px at 5% 80%, rgba(74, 222, 128, 0.08), transparent 60%),
    radial-gradient(900px 600px at 40% 30%, rgba(74, 222, 128, 0.05), transparent 55%),
    radial-gradient(1200px 800px at 50% 120%, rgba(74, 222, 128, 0.06), transparent 60%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)'/%3E%3C/svg%3E");
}

.bg-aurora {
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(74, 222, 128, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 35% at 80% 15%, rgba(134, 239, 172, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 40% at 70% 75%, rgba(34, 197, 94, 0.08), transparent 55%);
  filter: blur(40px);
  animation: aurora-drift 18s ease-in-out infinite alternate;
  opacity: 0.85;
}

@keyframes aurora-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 2%) scale(1.05); }
  100% { transform: translate(2%, -2%) scale(1.02); }
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(74, 222, 128, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.7;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: transform;
}

.cursor-glow.on {
  opacity: 1;
}

.float-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sol-float {
  position: absolute;
  display: grid;
  place-items: center;
  will-change: transform;
}

.sol-glow {
  position: absolute;
  inset: -35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.45) 0%, rgba(74, 222, 128, 0.12) 42%, transparent 70%);
  filter: blur(8px);
  animation: sol-pulse 4s ease-in-out infinite;
}

.sol-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 12px rgba(74, 222, 128, 0.55))
    drop-shadow(0 10px 24px rgba(74, 222, 128, 0.25));
}

.sol-1 {
  width: 72px;
  top: 16%;
  left: 7%;
  opacity: 0.55;
  animation: coin-float-1 8s ease-in-out infinite;
}

.sol-2 {
  width: 48px;
  top: 58%;
  right: 10%;
  opacity: 0.45;
  animation: coin-float-2 10s ease-in-out infinite;
}

.sol-3 {
  width: 36px;
  bottom: 18%;
  left: 20%;
  opacity: 0.4;
  animation: coin-float-3 7s ease-in-out infinite;
}

.sol-4 {
  width: 58px;
  top: 26%;
  right: 24%;
  opacity: 0.5;
  animation: coin-float-4 9s ease-in-out infinite;
}

.sol-5 {
  width: 42px;
  top: 72%;
  left: 48%;
  opacity: 0.35;
  animation: coin-float-1 11s ease-in-out infinite reverse;
}

@keyframes sol-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (max-width: 640px) {
  .sol-4,
  .sol-5 {
    display: none;
  }

  .sol-1 { width: 52px; opacity: 0.4; }
  .sol-2 { width: 36px; }
  .sol-3 { width: 28px; }
}

@keyframes coin-float-1 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-10px, -20px) rotate(-8deg); }
  50% { transform: translate(12px, -32px) rotate(6deg); }
  75% { transform: translate(-6px, -12px) rotate(-4deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes coin-float-2 {
  0% { transform: translate(0, 0) rotate(-8deg); }
  33% { transform: translate(-18px, 15px) rotate(2deg); }
  66% { transform: translate(10px, -22px) rotate(-18deg); }
  100% { transform: translate(0, 0) rotate(-8deg); }
}

@keyframes coin-float-3 {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(18px, -12px) rotate(120deg) scale(1.06); }
  66% { transform: translate(-14px, 10px) rotate(240deg) scale(0.95); }
  100% { transform: translate(0, 0) rotate(360deg) scale(1); }
}

@keyframes coin-float-4 {
  0% { transform: translate(0, 0) rotate(10deg); }
  30% { transform: translate(15px, -22px) rotate(0deg); }
  60% { transform: translate(-10px, 16px) rotate(22deg); }
  100% { transform: translate(0, 0) rotate(10deg); }
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(180deg, rgba(5, 10, 8, 0.72) 0%, rgba(5, 8, 7, 0.65) 100%);
  border-bottom: 1px solid rgba(134, 239, 172, 0.1);
  backdrop-filter: blur(14px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(74, 222, 128, 0.035) 1px, transparent 1px) 0 0 / 48px 100%,
    linear-gradient(0deg, rgba(74, 222, 128, 0.04) 1px, transparent 1px) 0 0 / 100% 48px;
  mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 80%, transparent 100%);
  pointer-events: none;
  opacity: 0.7;
}

.header-scanline {
  position: absolute;
  left: 0;
  top: 0;
  width: 28%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0,
    rgba(74, 222, 128, 0.2) 15%,
    rgba(74, 222, 128, 0.4) 50%,
    rgba(74, 222, 128, 0.2) 85%,
    transparent 100%
  );
  animation: cyber-scan 4.5s linear infinite;
  pointer-events: none;
}

@keyframes cyber-scan {
  0% { left: -10%; }
  100% { left: 100%; }
}

.header.scrolled {
  background: rgba(5, 8, 7, 0.92);
  border-bottom-color: rgba(134, 239, 172, 0.22);
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(74, 222, 128, 0.1) inset;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  box-shadow: 0 0 24px -4px var(--accent-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo:hover .logo-mark {
  transform: scale(1.06);
  box-shadow: 0 0 28px -2px var(--accent-glow);
}

.logo-text {
  position: relative;
  color: var(--accent);
  font-size: 0.95rem;
}

.logo:hover .logo-text {
  animation: glitch 0.3s ease-in-out;
}

@keyframes glitch {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3px, 1px); }
  40% { transform: translate(3px, -1px); }
  60% { transform: translate(-2px, -1px); }
  80% { transform: translate(2px, 1px); }
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-drag-guide {
  position: relative;
  border-top: 1px solid rgba(134, 239, 172, 0.08);
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.03), rgba(74, 222, 128, 0.09) 50%, rgba(74, 222, 128, 0.03));
}

.header-drag-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.drag-arrow-up {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent);
  box-shadow: 0 0 18px -8px var(--accent-glow);
  animation: point-to-bookmarks 1.6s ease-in-out infinite;
}

.drag-arrow-up svg {
  width: 17px;
  height: 17px;
}

.header-drag-copy {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  line-height: 1.2;
}

.header-drag-copy strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text);
}

.mobile-install-copy {
  display: none;
}

.header-drag-copy span {
  color: var(--text-dim);
  font-size: 0.7rem;
}

.bookmark-btn-header {
  min-width: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 9px;
  font-size: 0.75rem;
  box-shadow: 0 0 18px -10px var(--accent-glow);
}

.drag-grip {
  margin-right: 0.35rem;
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 0;
}

@keyframes point-to-bookmarks {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-3px); }
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(134, 239, 172, 0.12);
  color: var(--text-soft);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.live-pill i,
.pulse-dot,
.terminal-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.05);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--accent-2);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
  background: var(--accent);
  color: #04120a;
}

.btn-sm:hover {
  box-shadow: 0 0 18px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #5eead4 0%, var(--accent) 45%, #22c55e 100%);
  color: #04120a;
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.25),
    0 8px 28px -10px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #86efac 0%, var(--accent-2) 50%, #4ade80 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::after {
  animation: btn-sheen 0.7s ease;
}

@keyframes btn-sheen {
  to { transform: translateX(120%); }
}

.btn-ghost {
  background: rgba(74, 222, 128, 0.08);
  color: var(--accent-2);
  border-color: rgba(74, 222, 128, 0.35);
}

.btn-ghost:hover {
  background: rgba(74, 222, 128, 0.14);
  border-color: rgba(74, 222, 128, 0.55);
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
}

.hero-bookmark {
  min-height: auto;
  padding: 5rem 0 4rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy-block .hero-lead {
  max-width: 42ch;
  margin-bottom: 1.5rem;
}

.hero-copy-block .brand-line {
  text-align: left;
}

.hero-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: 24px;
  border: 1px solid transparent;
  background:
    linear-gradient(165deg, rgba(14, 20, 17, 0.96), rgba(6, 10, 8, 0.98)) padding-box,
    linear-gradient(145deg, rgba(134, 239, 172, 0.55), rgba(74, 222, 128, 0.08) 40%, rgba(74, 222, 128, 0.35)) border-box;
  box-shadow:
    0 30px 80px -36px rgba(0, 0, 0, 0.9),
    0 0 60px -24px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.panel-shine {
  position: absolute;
  inset: -40% -20%;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(74, 222, 128, 0.12) 60deg, transparent 120deg, transparent 240deg, rgba(134, 239, 172, 0.1) 300deg, transparent 360deg);
  animation: panel-spin 14s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

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

.hero-panel > *:not(.panel-shine) {
  position: relative;
  z-index: 1;
}

.hero-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.hero-panel-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 0.25rem 0 0.35rem;
}

.chip-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
}

.chip-soft.live {
  color: var(--accent-2);
  border-color: rgba(74, 222, 128, 0.3);
}

.chip-soft.live i {
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.hero-mini-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  text-align: center;
}

.hero-mini-stats strong {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.28);
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
}

.hero-mini-stats span {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  line-height: 1.25;
  max-width: 100%;
}

/* Tools — modern equal cards */
.tools {
  padding: 4.5rem 0 5rem;
}

.flow-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.65rem;
  margin: 0 auto 2.25rem;
  max-width: 640px;
}

.flow-strip > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(134, 239, 172, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 500;
}

.flow-strip i {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.12);
  color: var(--accent);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
}

.flow-sep {
  width: 18px;
  height: 1px;
  padding: 0 !important;
  border: none !important;
  background: rgba(74, 222, 128, 0.35) !important;
  border-radius: 0 !important;
}

.flow-on {
  border-color: rgba(74, 222, 128, 0.4) !important;
  background: rgba(74, 222, 128, 0.1) !important;
  color: var(--accent-2) !important;
  box-shadow: 0 0 20px -10px var(--accent-glow);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.tools-grid > .tool-card:not(.tool-card-wide) {
  grid-column: span 2;
}

.tools-grid > .tool-card:nth-child(n + 4):not(.tool-card-wide) {
  grid-column: span 3;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 1.35rem 1.25rem 1.3rem;
  border-radius: 20px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(12, 16, 14, 0.95), rgba(7, 10, 9, 0.98)) padding-box,
    linear-gradient(145deg, rgba(134, 239, 172, 0.32), rgba(74, 222, 128, 0.05) 42%, rgba(74, 222, 128, 0.2)) border-box;
  box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  overflow: hidden;
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(134, 239, 172, 0.5), transparent);
  pointer-events: none;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -24px var(--accent-glow);
}

.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tool-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.08);
  color: var(--accent);
  box-shadow: 0 0 22px -8px var(--accent-glow);
}

.tool-ico svg {
  width: 22px;
  height: 22px;
}

.tool-pill {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

.tool-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.tool-card > p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: auto;
  padding-bottom: 1rem;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}

.tool-tags li {
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-soft);
  font-size: 0.7rem;
  font-family: var(--font-mono);
}

.tool-card-wide {
  grid-column: span 6;
  min-height: auto;
}

.tool-wide-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.tool-wide-grid > div > p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}

.social-mini {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(134, 239, 172, 0.12);
  background: rgba(0, 0, 0, 0.35);
}

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

  .tools-grid > .tool-card:not(.tool-card-wide) {
    grid-column: auto;
  }

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

  .tool-wide-grid {
    grid-template-columns: 1fr;
  }
}

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

  .tools-grid > .tool-card:not(.tool-card-wide),
  .tool-card-wide {
    grid-column: 1;
  }

  .flow-sep {
    display: none;
  }
}

/* Legacy panel bits (kept for other UI) */
.trade-shell {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 1.75rem;
  align-items: start;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
}

.axiom-panel {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  border-radius: 18px;
  border: 1px solid rgba(134, 239, 172, 0.16);
  background: linear-gradient(180deg, #0e1412, #090c0b);
  box-shadow:
    0 30px 80px -28px rgba(0, 0, 0, 0.85),
    0 0 50px -24px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.ap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem 0.65rem;
}

.ap-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ap-logo {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #4ade80, #16a34a);
  color: #04120a;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.45);
}

.ap-brand strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.ap-live {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

.ap-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

.ap-pro {
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--accent-2);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ap-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1;
}

.ap-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0 0.75rem 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.ap-tabs::-webkit-scrollbar { display: none; }

.ap-tab {
  flex: 0 0 auto;
  padding: 0.45rem 0.7rem;
  border-radius: 9px;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.ap-tab:hover { color: var(--text-soft); }

.ap-tab.active {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.ap-pane {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.25rem 1rem 1.1rem;
}

.ap-pane.active {
  display: flex;
  animation: pane-in 0.28s ease;
}

@keyframes pane-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.ap-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  padding: 0.3rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
}

.side-btn {
  padding: 0.55rem;
  border-radius: 9px;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.88rem;
}

.side-btn.active {
  background: rgba(74, 222, 128, 0.12);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.28);
}

.side-btn[data-side="sell"].active {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.3);
}

.ap-field {
  display: grid;
  gap: 0.4rem;
}

.ap-field > span,
.ap-section-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ap-field input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 11px;
  border: 1px solid rgba(134, 239, 172, 0.12);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ap-field input:focus {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.ap-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

.ap-chips button {
  padding: 0.55rem 0.3rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.ap-chips button.on {
  background: rgba(74, 222, 128, 0.16);
  border-color: rgba(74, 222, 128, 0.5);
  color: var(--accent-2);
  box-shadow: 0 0 18px -6px var(--accent-glow);
}

.ap-chips[data-group="prio"] {
  grid-template-columns: repeat(3, 1fr);
}

.ap-cta {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: #fff;
  color: #0a0a0a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ap-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -12px rgba(255, 255, 255, 0.35);
}

.ap-cta.sell {
  background: #ef4444;
  color: #fff;
}

.ap-cta-light {
  background: rgba(255, 255, 255, 0.92);
}

.ap-cta-accent {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #04120a;
  box-shadow: 0 0 24px -8px var(--accent-glow);
}

.ap-cta.sent {
  background: var(--accent);
  color: #04120a;
}

.ap-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.ap-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.ap-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6b7280;
}

.ap-status i.on {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.ap-mini-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 9px;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 0 16px -6px var(--accent-glow);
}

.ap-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.ap-toggles {
  display: grid;
  gap: 0.45rem;
}

.ap-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.ap-toggle strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.15rem;
}

.ap-toggle small {
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.3;
}

.ap-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ap-toggle .switch {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: #2a2f2d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.2s ease;
}

.ap-toggle .switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #c5cbc8;
  transition: 0.2s ease;
}

.ap-toggle input:checked + .switch {
  background: rgba(74, 222, 128, 0.35);
  border-color: rgba(74, 222, 128, 0.5);
}

.ap-toggle input:checked + .switch::after {
  left: 20px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.wallet-list {
  display: grid;
  gap: 0.4rem;
}

.wallet-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  text-align: left;
  transition: 0.2s ease;
}

.wallet-card.on {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(74, 222, 128, 0.08);
  box-shadow: 0 0 22px -10px var(--accent-glow);
}

.w-ico {
  font-size: 1.1rem;
}

.w-meta strong {
  display: block;
  font-size: 0.88rem;
}

.w-meta small {
  color: var(--text-dim);
  font-size: 0.7rem;
  font-family: var(--font-mono);
}

.w-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4b5563;
}

.wallet-card.on .w-dot {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.rug-checks {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rug-checks li {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.rug-checks li.ok { color: var(--accent-2); border-color: rgba(74, 222, 128, 0.25); }
.rug-checks li.warn { color: #fbbf24; border-color: rgba(251, 191, 36, 0.25); }

.ap-success {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.08);
  color: var(--accent-2);
  font-size: 0.82rem;
  line-height: 1.4;
}

.tools-aside {
  padding: 1.5rem 1.35rem;
  border-radius: 20px;
  border: 1px solid rgba(134, 239, 172, 0.14);
  background:
    linear-gradient(180deg, rgba(10, 14, 12, 0.9), rgba(6, 10, 8, 0.95));
}

.tools-aside h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.tools-aside ul {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.tools-aside li {
  color: var(--text-soft);
  font-size: 0.9rem;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(74, 222, 128, 0.35);
}

.tools-aside li strong {
  color: var(--accent-2);
}

.aside-note {
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .trade-shell {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

.use-on-axiom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.35rem;
  margin: 0 auto 2rem;
  padding: 0.85rem 1rem;
  max-width: 920px;
  border-radius: 16px;
  border: 1px solid rgba(74, 222, 128, 0.22);
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.06), rgba(0, 0, 0, 0.35) 40%, rgba(74, 222, 128, 0.06));
  box-shadow: 0 0 40px -20px var(--accent-glow);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.tool-preview {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.social-preview {
  gap: 0.75rem;
}

.social-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  padding: 0.3rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
}

.social-tab {
  padding: 0.55rem 0.5rem;
  border-radius: 9px;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.82rem;
  transition: 0.2s ease;
}

.social-tab.on {
  background: rgba(74, 222, 128, 0.12);
  color: var(--accent-2);
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.28);
}

.social-pane {
  display: none;
  flex-direction: column;
  gap: 0.65rem;
}

.social-pane.on {
  display: flex;
  animation: pane-in 0.28s ease;
}

.social-feed {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-feed li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.78rem;
}

.sf-src {
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
}

.sf-msg {
  color: var(--text-dim);
  text-align: right;
}

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

.mini-list li {
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text-soft);
  font-size: 0.8rem;
}

.mini-list li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

.btn-block.sell-mode,
#tradeCta.sell-mode {
  background: #ef4444 !important;
  color: #fff !important;
}

.use-step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 500;
}

.use-step span {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.use-step.active {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(74, 222, 128, 0.12);
  color: var(--accent-2);
  box-shadow: 0 0 20px -8px var(--accent-glow);
}

.use-arrow {
  color: var(--accent);
  opacity: 0.55;
  font-family: var(--font-mono);
  padding: 0 0.15rem;
}

@media (max-width: 640px) {
  .use-arrow {
    display: none;
  }

  .use-on-axiom {
    flex-direction: column;
    align-items: stretch;
  }

  .use-step {
    justify-content: flex-start;
  }
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento-card {
  grid-column: span 4;
  position: relative;
  padding: 1.35rem 1.25rem 1.35rem;
  border-radius: 20px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(10, 14, 12, 0.92), rgba(6, 10, 8, 0.95)) padding-box,
    linear-gradient(160deg, rgba(134, 239, 172, 0.28), rgba(74, 222, 128, 0.05) 45%, rgba(74, 222, 128, 0.18)) border-box;
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.85);
  transition: border-color 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(134, 239, 172, 0.45), transparent);
  opacity: 0.8;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px -28px var(--accent-glow);
}

.bento-lg {
  grid-column: span 8;
}

.bento-wide {
  grid-column: span 12;
}

.bento-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.bento-head h3 {
  font-size: 1.15rem;
  margin-top: 0.2rem;
}

.tool-tag {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.28);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.tool-desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.field span {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input[type="number"] {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(134, 239, 172, 0.16);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input[type="number"]:focus {
  border-color: rgba(74, 222, 128, 0.5);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

.field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.range-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.range-meta strong {
  color: var(--accent-2);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.calc-results.single {
  grid-template-columns: 1fr;
}

.result-pill {
  padding: 0.85rem 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
}

.result-pill.wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-pill span {
  display: block;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.result-pill.wide span {
  margin-bottom: 0;
}

.result-pill strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.result-pill strong.up { color: var(--accent); }
.result-pill strong.down { color: #f87171; }

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

.preset-tab {
  padding: 0.55rem 0.4rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.preset-tab:hover,
.preset-tab.active {
  color: var(--accent-2);
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.1);
}

.preset-list {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.preset-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.preset-list span { color: var(--text-dim); }
.preset-list strong { color: var(--accent-2); font-family: var(--font-mono); font-size: 0.8rem; }

.btn-block {
  width: 100%;
}

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

.amt-chip {
  padding: 0.7rem 0.4rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-weight: 600;
  transition: 0.2s ease;
}

.amt-chip:hover,
.amt-chip.active {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(74, 222, 128, 0.12);
  color: var(--accent-2);
  box-shadow: 0 0 18px -8px var(--accent-glow);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text-soft);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.check-item:has(input:checked) {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.08);
  color: var(--text);
}

.check-item input {
  margin-top: 0.15rem;
  accent-color: var(--accent);
}

/* Hotkeys */
.hotkeys {
  padding: 4rem 0;
}

.hotkey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.hotkey-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(8, 12, 10, 0.8);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.hotkey-row:hover {
  border-color: rgba(74, 222, 128, 0.35);
  transform: translateY(-2px);
}

.hotkey-row kbd {
  min-width: 2.4rem;
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.3);
  color: var(--accent-2);
}

.hotkey-row span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(74, 222, 128, 0.45);
}

.inline-link:hover {
  color: var(--accent-2);
}

.hero-drag {
  margin: 0.5rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.drag-hint {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-2);
  letter-spacing: 0.04em;
  animation: bounce-hint 1.8s ease-in-out infinite;
}

@keyframes bounce-hint {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(-4px); opacity: 1; }
}

.drag-note {
  margin: 0;
  max-width: 28ch;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.45;
}

.bookmark-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  max-width: 100%;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(134, 239, 172, 0.28);
  background: linear-gradient(180deg, #1a2420, #0c100e);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: element;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.08),
    0 10px 30px -12px rgba(0, 0, 0, 0.7),
    0 0 24px -8px var(--accent-glow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(134, 239, 172, 0.22) 50%, transparent 60%);
  transform: translateX(-130%);
  animation: btn-sheen 3.5s ease-in-out infinite;
  pointer-events: none;
}

.bookmark-btn:hover {
  border-color: rgba(74, 222, 128, 0.55);
  box-shadow: 0 0 32px -6px var(--accent-glow);
  transform: translateY(-2px);
}

.bookmark-btn:active {
  cursor: grabbing;
  transform: scale(0.98);
}

.bookmark-btn-lg {
  min-width: 200px;
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

.bookmark-btn-header {
  min-width: 0;
  width: auto;
  padding: 0.45rem 0.75rem;
  border-radius: 9px;
  font-size: 0.75rem;
  box-shadow: 0 0 18px -10px var(--accent-glow);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(20px);
  z-index: 100;
  max-width: min(92vw, 360px);
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(5, 10, 8, 0.95);
  color: var(--accent-2);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  text-align: center;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Install / How it works cards */
.how-install {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: radial-gradient(700px 420px at 50% 0%, rgba(74, 222, 128, 0.08), transparent 60%);
}

.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.install-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.35rem 1.6rem;
  border-radius: 20px;
  border: 1px solid rgba(134, 239, 172, 0.12);
  background: linear-gradient(180deg, rgba(16, 22, 19, 0.95), rgba(8, 12, 10, 0.98));
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.85);
  min-height: 320px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.install-card:hover {
  border-color: rgba(74, 222, 128, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -24px var(--accent-glow);
}

.install-icon-wrap {
  position: relative;
  margin-bottom: 1.35rem;
}

.install-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(74, 222, 128, 0.45);
  background: rgba(74, 222, 128, 0.06);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.08),
    0 0 28px rgba(74, 222, 128, 0.35),
    inset 0 0 18px rgba(74, 222, 128, 0.08);
  animation: icon-glow 3.2s ease-in-out infinite;
}

.install-icon svg {
  width: 28px;
  height: 28px;
}

@keyframes icon-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.08), 0 0 22px rgba(74, 222, 128, 0.28), inset 0 0 18px rgba(74, 222, 128, 0.08); }
  50% { box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.12), 0 0 36px rgba(74, 222, 128, 0.48), inset 0 0 20px rgba(74, 222, 128, 0.12); }
}

.install-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #04120a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 0 16px var(--accent-glow);
}

.install-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.shortcut-block {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: auto;
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.os-label {
  width: 2.4rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.keys {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-dim);
  font-size: 0.8rem;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(134, 239, 172, 0.14);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
}

.drag-zone {
  flex: 1;
  display: grid;
  place-items: center;
  width: 100%;
  margin-bottom: 0.5rem;
}

.install-body {
  flex: 1;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 22ch;
  margin: 0 auto 0.5rem;
}

.install-foot {
  margin-top: 1.35rem;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.feature-grid.feature-grid-3 {
  grid-template-columns: repeat(6, 1fr);
}

.feature-grid-3 > .feature {
  grid-column: span 2;
}

.feature-grid-3 > .feature:nth-last-child(-n + 4) {
  grid-column: span 3;
}

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

.deployer {
  position: relative;
}

.deployer .feature {
  min-height: 100%;
}

.feature-wide {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .feature-wide {
    grid-column: span 1;
  }
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.28);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  max-width: 100%;
  text-wrap: balance;
}

.badge-short {
  display: none;
}

.brand-line {
  display: block;
  font-size: clamp(3rem, 7vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  background: linear-gradient(
    110deg,
    #ffffff 0%,
    #ffffff 28%,
    var(--accent-2) 48%,
    var(--accent) 62%,
    #ffffff 82%,
    #ffffff 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.45rem;
  filter: drop-shadow(0 0 28px rgba(74, 222, 128, 0.3));
  animation: brand-shimmer 7s linear infinite;
}

@keyframes brand-shimmer {
  to { background-position: 220% center; }
}

.hero-subhead {
  display: block;
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 16ch;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  font-weight: 700;
  max-width: none;
  margin-bottom: 1.1rem;
}

.hero-in {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-lead {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags li {
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

/* Terminal mock */
.terminal {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(12, 18, 16, 0.95), rgba(7, 11, 10, 0.98));
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.06),
    0 30px 80px -30px rgba(0, 0, 0, 0.85),
    0 0 60px -20px var(--accent-glow);
  overflow: hidden;
  animation: terminal-in 0.9s ease both;
}

@keyframes terminal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a3530;
}

.dots i:nth-child(1) { background: #ef4444; }
.dots i:nth-child(2) { background: #f59e0b; }
.dots i:nth-child(3) { background: #4ade80; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.terminal-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-2);
}

.terminal-body {
  padding: 0.75rem;
}

.term-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.8fr 0.9fr;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.78rem;
  align-items: center;
}

.term-row.head {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.term-feed {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 210px;
}

.feed-item {
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.03);
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  animation: row-in 0.45s ease both;
}

.feed-item:hover,
.feed-item.active {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.22);
}

.feed-item .token {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.token-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #166534);
  box-shadow: 0 0 12px var(--accent-glow);
  font-size: 0.55rem;
  display: grid;
  place-items: center;
  color: #04120a;
  font-weight: 800;
}

.feed-item .age,
.feed-item .mc {
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: 0.72rem;
}

.feed-item .mc.up { color: var(--accent); }
.feed-item .mc.down { color: var(--danger); }

.feed-item .action {
  justify-self: end;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: rgba(74, 222, 128, 0.15);
  color: var(--accent-2);
}

.feed-item .action.sell {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

@keyframes row-in {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.term-exec {
  margin-top: 0.75rem;
  padding: 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(74, 222, 128, 0.2);
  background: rgba(0, 0, 0, 0.35);
}

.exec-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
  color: var(--text-dim);
  font-size: 0.78rem;
}

.exec-meta strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.exec-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.amt {
  padding: 0.5rem 0.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(74, 222, 128, 0.04);
  color: var(--text-soft);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  transition: 0.2s ease;
}

.amt:hover,
.amt.active {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(74, 222, 128, 0.12);
  color: var(--accent-2);
}

.btn-buy {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.9rem;
  border-radius: 12px;
  background: var(--accent);
  color: #04120a;
  font-weight: 700;
  font-family: var(--font-display);
}

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

.btn-buy.flashing .buy-flash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: buy-shine 0.6s ease;
}

@keyframes buy-shine {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.exec-status {
  margin-top: 0.65rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.exec-status.ok {
  color: var(--accent);
}

/* Marquee */
.marquee-wrap {
  border-block: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 1rem 0;
  animation: marquee 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.marquee-track span::before {
  content: "◆";
  margin-right: 2.5rem;
  color: var(--accent);
  opacity: 0.5;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Stats */
.stats {
  padding: 3.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(74, 222, 128, 0.03);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Sections */
.section-head {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  margin: 0.5rem 0 0.85rem;
}

.section-head p:last-child {
  color: var(--text-soft);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-2);
  letter-spacing: 0.04em;
}

.features,
.how,
.faq,
.pulse-section,
.cta {
  padding: 4.5rem 0;
}

.referral {
  padding: 1rem 0 3.5rem;
}

.referral-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.4rem 1.35rem 1.35rem;
  border-radius: 20px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(12, 16, 14, 0.96), rgba(7, 10, 9, 0.98)) padding-box,
    linear-gradient(145deg, rgba(134, 239, 172, 0.35), rgba(74, 222, 128, 0.06) 45%, rgba(74, 222, 128, 0.22)) border-box;
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.85), 0 0 40px -24px var(--accent-glow);
}

.referral-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.referral-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.referral-title h2 {
  font-size: 1.15rem;
  font-weight: 700;
}

.referral-ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent);
  box-shadow: 0 0 18px -6px var(--accent-glow);
}

.referral-ico svg {
  width: 18px;
  height: 18px;
}

.referral-badge {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.referral-desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  line-height: 1.45;
}

.referral-desc strong {
  color: var(--accent);
  font-weight: 700;
}

.referral-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.referral-row input {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(134, 239, 172, 0.14);
  background: rgba(0, 0, 0, 0.45);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  outline: none;
}

.referral-row input:focus {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.referral-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding: 0.8rem 1.1rem;
}

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

  .referral-copy {
    width: 100%;
    justify-content: center;
  }
}

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

.feature {
  position: relative;
  padding: 1.4rem 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(10, 14, 12, 0.9), rgba(5, 8, 7, 0.95)) padding-box,
    linear-gradient(145deg, rgba(74, 222, 128, 0.28), rgba(74, 222, 128, 0.04) 50%, rgba(134, 239, 172, 0.2)) border-box;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -24px var(--accent-glow);
}

.feature:hover .feature-icon {
  transform: scale(1.06);
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.35);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.08);
  color: var(--accent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* Pulse section */
.pulse-section {
  background: radial-gradient(800px 400px at 80% 50%, rgba(74, 222, 128, 0.07), transparent 60%);
}

.pulse-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pulse-copy h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin: 0.5rem 0 0.9rem;
}

.pulse-copy > p {
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  max-width: 42ch;
}

.checklist {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.pulse-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: rgba(5, 10, 8, 0.85);
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8);
}

.pulse-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 600;
}

.chip {
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(74, 222, 128, 0.12);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.pulse-list {
  max-height: 360px;
  overflow: hidden;
}

.pulse-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  animation: row-in 0.4s ease both;
}

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

.pulse-row strong {
  font-size: 0.92rem;
}

.pulse-row .meta {
  display: block;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  margin-top: 0.15rem;
}

.pulse-row .pct {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
}

.pulse-row .pct.up { color: var(--accent); }
.pulse-row .pct.down { color: #f87171; }

.pulse-row .stage {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent-2);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: none;
}

.step {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}

.step::after {
  content: "";
  position: absolute;
  top: 1.7rem;
  right: -0.55rem;
  width: 0.7rem;
  height: 1px;
  background: rgba(74, 222, 128, 0.35);
}

.step:last-child::after {
  display: none;
}

.step-num {
  display: block;
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 0.85rem;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* CTA */
.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(74, 222, 128, 0.28);
  background: linear-gradient(160deg, rgba(74, 222, 128, 0.1), rgba(5, 10, 8, 0.9) 55%);
}

.cta-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 220px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.22), transparent 65%);
  pointer-events: none;
  animation: sp-glow 4s ease-in-out infinite;
}

@keyframes sp-glow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

.cta-panel .eyebrow,
.cta-panel h2,
.cta-panel > p,
.cta-panel .hero-cta,
.cta-panel .cta-meta {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.55rem auto 0.85rem;
  max-width: 16ch;
}

.cta-panel > p {
  color: var(--text-soft);
  max-width: 42ch;
  margin: 0 auto 1.5rem;
}

.cta-panel .hero-cta {
  justify-content: center;
}

.cta-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.cta-meta li::before {
  content: "●";
  color: var(--accent);
  margin-right: 0.4rem;
  font-size: 0.55rem;
  vertical-align: middle;
}

/* FAQ */
.faq-inner {
  max-width: 720px;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
  padding: 0.15rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.1rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  color: var(--text-dim);
  padding: 0 0 1.1rem;
  font-size: 0.95rem;
}

/* Footer */
.footer {
  position: relative;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(5, 10, 8, 0.4), rgba(0, 0, 0, 0.55)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(74, 222, 128, 0.015) 2px,
      rgba(74, 222, 128, 0.015) 4px
    );
  overflow: hidden;
}

.footer-scan {
  position: absolute;
  top: 0;
  width: 35%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.45), transparent);
  animation: cyber-scan 5s linear infinite;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-brand p {
  margin-top: 0.85rem;
  color: var(--text-dim);
  max-width: 28ch;
  font-size: 0.9rem;
}

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

.footer-cols h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-2);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.footer-cols a {
  display: block;
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.cursor-blink {
  color: var(--accent);
  animation: cyber-blink 1.1s step-end infinite;
}

@keyframes cyber-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.marquee-wrap {
  position: relative;
  border-block: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.28), transparent) 1;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.04), transparent);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 1rem 0;
  animation: marquee 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.install-card {
  position: relative;
  overflow: hidden;
}

.install-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 120px at 50% -20%, rgba(74, 222, 128, 0.14), transparent 55%);
  pointer-events: none;
}

.hotkey-row {
  backdrop-filter: blur(6px);
}

.field input[type="number"] {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input[type="number"]:hover {
  border-color: rgba(134, 239, 172, 0.28);
  background: rgba(0, 0, 0, 0.5);
}

.header {
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  opacity: 0.8;
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .hero-split,
  .pulse-layout,
  .footer-inner,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .bento-card,
  .bento-lg,
  .bento-wide {
    grid-column: span 12;
  }

  .calc-grid,
  .check-grid,
  .hotkey-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero,
  .hero-bookmark {
    min-height: auto;
    padding: 3rem 0 2.5rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-copy-block .hero-lead {
    max-width: none;
  }

  .feature-grid,
  .feature-grid-2,
  .feature-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid.feature-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid-3 > .feature,
  .feature-grid-3 > .feature:nth-last-child(-n + 4) {
    grid-column: auto;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .step::after {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .install-card {
    min-height: auto;
  }

  .header-inner {
    min-height: 60px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    flex-direction: column;
    gap: 0;
    padding:
      0.5rem
      max(1rem, env(safe-area-inset-right))
      calc(0.85rem + env(safe-area-inset-bottom, 0px))
      max(1rem, env(safe-area-inset-left));
    background: rgba(5, 8, 7, 0.98);
    border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.75);
    z-index: 60;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0.35rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .live-pill {
    display: none;
  }

  .bento-head {
    flex-wrap: wrap;
  }

  .tools,
  .features,
  .hotkeys,
  .how,
  .faq,
  .cta {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 68px;
  }

  body {
    line-height: 1.5;
  }

  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .feature-grid,
  .feature-grid-2,
  .feature-grid-3,
  .steps,
  .stats-grid,
  .footer-cols,
  .exec-amounts,
  .calc-grid,
  .calc-results,
  .check-grid,
  .hotkey-grid,
  .chip-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid.feature-grid-3 {
    grid-template-columns: 1fr;
  }

  .term-row {
    grid-template-columns: 1.2fr 0.7fr 0.8fr;
  }

  .term-row .action,
  .term-row.head span:last-child {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .header-drag-guide {
    display: none;
  }

  .header-drag-inner {
    min-height: 46px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    justify-content: initial;
    gap: 0.55rem;
  }

  .header-drag-copy span {
    display: none;
  }

  .desktop-install-copy {
    display: none;
  }

  .mobile-install-copy {
    display: block;
  }

  .header-drag-copy strong {
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bookmark-btn.bookmark-btn-header {
    display: none;
  }

  .drag-arrow-up {
    width: 26px;
    height: 26px;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .logo {
    gap: 0.5rem;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .logo-text {
    font-size: 0.82rem;
  }

  .badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.7rem;
    border-radius: 12px;
  }

  .badge-full {
    display: none;
  }

  .badge-short {
    display: inline;
  }

  .brand-line {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .hero-subhead {
    font-size: clamp(1.2rem, 5.5vw, 1.55rem);
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-split,
  .hero-copy-block,
  .hero-panel,
  .hero-panel-body {
    min-width: 0;
    width: 100%;
  }

  .hero-panel {
    padding: 1.15rem 1rem 1.1rem;
    border-radius: 20px;
    transform: none !important;
  }

  .bookmark-btn,
  .bookmark-btn-lg {
    width: 100%;
    min-width: 0;
  }

  .hero-mini-stats span {
    font-size: 0.62rem;
  }

  .hero-tags {
    gap: 0.4rem;
  }

  .hero-tags li {
    flex: 1 1 calc(50% - 0.4rem);
    text-align: center;
  }

  .flow-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 0.5rem;
  }

  .flow-strip > .flow-sep {
    display: none;
  }

  .flow-strip > span:not(.flow-sep) {
    justify-content: flex-start;
    min-width: 0;
  }

  .tool-card,
  .install-card,
  .feature {
    min-height: 0;
  }

  .tool-card {
    padding: 1.15rem 1rem;
    border-radius: 16px;
  }

  .tool-wide-grid {
    gap: 1rem;
  }

  .social-feed li {
    align-items: flex-start;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  section[id] {
    scroll-margin-top: 68px;
  }

  .tools,
  .features,
  .hotkeys,
  .how,
  .faq,
  .cta {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .hotkey-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .hotkey-row {
    align-items: flex-start;
    min-width: 0;
    padding: 0.75rem;
    gap: 0.55rem;
  }

  .hotkey-row kbd {
    min-width: 2rem;
    padding: 0.3rem 0.45rem;
  }

  .hotkey-row span {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .install-card {
    padding: 1.5rem 1rem 1.25rem;
  }

  .shortcut-row {
    flex-direction: column;
    gap: 0.4rem;
  }

  .os-label {
    width: auto;
    text-align: center;
  }

  .keys {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-panel {
    padding: 2.25rem 1rem;
    border-radius: 18px;
  }

  .faq-item {
    padding-inline: 0.9rem;
  }

  .faq-item summary {
    font-size: 0.92rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.25rem 0 1.5rem;
  }

  .footer-brand p {
    max-width: 34ch;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .referral-card {
    padding: 1.1rem 0.95rem;
    border-radius: 18px;
  }

  .referral-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-content: initial;
    column-gap: 0.65rem;
    row-gap: 0.35rem;
    margin-bottom: 0.85rem;
  }

  .referral-title {
    display: contents;
  }

  .referral-ico {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
  }

  .referral-title h2 {
    grid-column: 2;
    min-width: 0;
    font-size: 1rem;
    line-height: 1.25;
  }

  .referral-badge {
    grid-column: 2;
    justify-self: start;
    padding: 0.24rem 0.55rem;
    font-size: 0.66rem;
  }

  .referral-desc {
    margin-bottom: 0.85rem;
    font-size: 0.84rem;
  }

  .referral-row {
    gap: 0.5rem;
  }

  .referral-row input[readonly] {
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
    direction: ltr;
  }

  .referral-copy {
    min-height: 46px;
    padding-block: 0.7rem;
    touch-action: manipulation;
  }

  .referral-row input,
  .field input[type="number"],
  .field input[type="text"],
  input[type="text"],
  input[type="number"],
  input[type="search"] {
    font-size: 16px; /* prevent iOS zoom on focus */
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }

  .section-head h2,
  .section-head-center h2 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .marquee-track {
    gap: 1.5rem;
    font-size: 0.72rem;
  }

  .tool-card:hover,
  .bento-card:hover,
  .feature:hover {
    transform: none;
  }
}

@media (max-width: 380px) {
  .header-drag-copy {
    display: none;
  }

  .header-drag-inner {
    grid-template-columns: auto;
    justify-content: center;
  }

  .hero-mini-stats {
    gap: 0.35rem;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .chip-soft {
    font-size: 0.65rem;
    padding: 0.28rem 0.5rem;
  }

  .flow-strip {
    grid-template-columns: 1fr;
  }

  .hotkey-grid {
    grid-template-columns: 1fr;
  }

  .hotkey-row {
    align-items: center;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (hover: none) {
  .tool-card:hover,
  .bento-card:hover,
  .feature:hover,
  .bookmark-btn:hover {
    transform: none;
  }
}

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

  .reveal,
  .hero-in {
    opacity: 1;
    transform: none;
  }

  .bg-aurora,
  .panel-shine,
  .btn-sheen {
    animation: none !important;
  }
}
