/* ---------- tokens ---------- */
/* Soft graphite palette, shared with the main alukit.trade site:
   deep blue-gray surfaces, off-white text, monochrome accents. */
:root {
  --bg: #121418;
  --bg-glow: rgba(255, 255, 255, 0.05);
  --grid: rgba(255, 255, 255, 0.03);
  --card: #1d2127;
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #e9ebef;
  --muted: #8d939e;
  --faint: #6b717c;
  --accent: #f6f7f9;
  --white: #f6f7f9;
  --ink: #14171c;
  --kbd-bg: #252a31;
  --kbd-border: rgba(255, 255, 255, 0.14);
  --page: #171a1f;
  --radius: 12px;
}

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(700px 420px at 50% -8%, var(--bg-glow), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100px 100px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 100px 100px,
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ---------- layout ---------- */
.page {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 32px;
}

.page > * { min-width: 0; }

@media (max-width: 860px) {
  .page {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 16px;
  }
}

/* ---------- card ---------- */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 52px 30px 60px;
  text-align: center;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.bm-button {
  display: inline-block;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 13px 44px;
  border-radius: 8px;
  cursor: grab;
  user-select: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 20px -8px rgba(0,0,0,.6);
  transition: transform .15s ease, box-shadow .15s ease;
}
.bm-button:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 24px -8px rgba(0,0,0,.7); }
.bm-button:active { cursor: grabbing; transform: scale(.97); }
.bm-button.is-broken { opacity: .4; cursor: not-allowed; }

.card__lead {
  margin: 36px 0 6px;
  font-size: 14px;
  font-weight: 700;
}
.card__sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

kbd {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  background: var(--kbd-bg);
  border: 1px solid var(--kbd-border);
  border-radius: 5px;
  padding: 2px 7px;
}

.card__mobile {
  display: none;
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.copy-btn {
  display: block;
  margin: 10px auto 0;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  background: var(--kbd-bg);
  border: 1px solid var(--kbd-border);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
}
.copy-btn.is-copied { color: var(--accent); border-color: rgba(255,255,255,.35); }
@media (hover: none) and (pointer: coarse) {
  .card__mobile { display: block; }
  .card__lead, .card__sub { display: none; }
}

/* ---------- live drop hint (real page) ---------- */
.drop-hint {
  position: fixed;
  inset: 0 0 auto 0;
  height: 150px;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .25s ease, transform .25s ease;
  background: linear-gradient(rgba(255, 255, 255, 0.08), transparent 75%);
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
}
.drop-hint.is-on { opacity: 1; transform: none; }

.drop-hint__arrows {
  display: flex;
  justify-content: space-between;
  padding: 12px 18% 0;
}
.drop-hint__arrows span {
  width: 24px; height: 29px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24' fill='none' stroke='%23b7bcc5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 22V3M3 10l7-7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: bob 1s ease-in-out infinite;
}
.drop-hint__arrows span:nth-child(2n) { animation-delay: .18s; }
.drop-hint__arrows span:nth-child(3n) { animation-delay: .36s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }

.drop-hint__pill {
  width: max-content;
  margin: 16px auto 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: rgba(29, 33, 39, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 12px;
  backdrop-filter: blur(6px);
}

/* dim everything else while a drag is in progress */
.page { transition: opacity .25s ease; }
body.is-dragging .page { opacity: .45; }

/* ---------- demo ---------- */
.demo__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}

.demo__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--page);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.demo__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
  .drop-hint__arrows span { animation: none; }
}