/* Layout of the Cashlet landing page. Tokens come from brand.css. Dark theme. */
a { color: var(--mint); }
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 11, 16, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
}
nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  color: #fff; text-decoration: none;
}
.brand img { border-radius: 50%; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: #b7c5ce; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: #fff; }
.nav-links .by { font-size: 0.85rem; color: #8293a2; }

h1, h2, h3 { color: #fff; }
.hero { padding: 80px 0; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -160px; top: -140px;
  width: 560px; height: 560px; border-radius: 50%;
  background: var(--gradient); opacity: 0.18; filter: blur(50px);
}
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(36px, 5.5vw, 64px); }
.hero-shot {
  justify-self: center; max-width: 100%; height: auto; width: 320px;
  border-radius: 22px; border: 1px solid var(--ink-line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-primary { color: #04120d; background: var(--mint); box-shadow: none; }
.btn-secondary { background: var(--ink-raised); color: #fff; border-color: var(--ink-line); }
.btn-disabled {
  background: transparent; color: #8293a2; border: 1px dashed var(--ink-line);
  cursor: not-allowed; user-select: none;
}
.btn-disabled:hover { transform: none; }
.note { margin-top: 22px; font-size: 0.9rem; color: #8293a2 !important; }

.split { display: grid; gap: 48px; grid-template-columns: 1.2fr 1fr; align-items: center; }
section.block { padding: 80px 0; }
section.band { background: var(--ink-raised); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.dark section.band .card { background: var(--ink); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; max-width: 720px; }
.steps li {
  counter-increment: s; position: relative; padding: 14px 18px 14px 62px;
  background: var(--ink); border: 1px solid var(--ink-line); border-radius: var(--radius-sm); color: #d6e2ea;
}
.steps li::before {
  content: counter(s); position: absolute; left: 16px; top: 12px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gradient); color: #04120d; font-weight: 700; font-family: var(--font-display);
}
code { background: #0b121a; border: 1px solid var(--ink-line); border-radius: 6px; padding: 1px 6px; color: #d6e2ea; }

.gallery { display: grid; gap: 22px 18px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--ink-line); }
.gallery figcaption { margin-top: 8px; font-size: 0.88rem; color: #8293a2; text-align: center; }

.checks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; max-width: 760px; }
.checks li { padding-left: 30px; position: relative; color: #d6e2ea; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 700; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.support { grid-template-columns: 1fr 1.2fr; }
.qr-card { display: flex; gap: 22px; align-items: center; background: #fff; color: var(--text); border-radius: var(--radius); padding: 22px; }
.qr-card img { width: 160px; height: 160px; flex-shrink: 0; }
.dark .qr-card p { color: var(--soft); margin: 0 0 8px; font-size: 0.95rem; }
.qr-card strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--text); }
.qr-card code {
  display: block; word-break: break-all; font-size: 0.75rem; color: var(--soft);
  background: var(--paper); border: 0; border-radius: 8px; padding: 8px 10px; margin-top: 8px; user-select: all;
}

.prose { max-width: 760px; }
.prose h1 { font-size: clamp(32px, 5vw, 48px); }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose li { margin-bottom: 8px; color: #d6e2ea; }
.prose ul { padding-left: 22px; }

footer { padding: 40px 0; border-top: 1px solid var(--ink-line); font-size: 0.92rem; color: #8293a2; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { height: auto; gap: 18px; justify-content: flex-end; flex-wrap: wrap; }
footer a { color: #b7c5ce; text-decoration: none; }
footer a:hover { color: #fff; }

@media (max-width: 820px) {
  .hide-sm { display: none; }
  .split, .support { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0; }
  section.block { padding: 56px 0; }
  .qr-card { flex-direction: column; text-align: center; }
  .qr-card img { width: 200px; height: 200px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
}
