/* Landing page - stavia na style.css (farby, .btn), pridava vlastnu typografiu a layout.
   Signature prvok: "zivy mesacny ucet" - receipt/ledger karta, lebo append-only
   ledger v centoch je jadro produktu. */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

.land { --paid: #55d68a; }

.land main { max-width: 1040px; padding: 0 22px 60px; }

.land .display {
  font-family: 'Bricolage Grotesque', -apple-system, sans-serif;
  letter-spacing: -0.02em;
}
.land .mono { font-family: 'IBM Plex Mono', monospace; }

/* ---------- header ---------- */
.land header { position: sticky; top: 0; background: rgba(15,17,23,0.9); backdrop-filter: blur(8px); z-index: 5; }
.land .brand { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center; padding: 72px 0 56px;
}
.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub { color: var(--muted); margin: 18px 0 26px; font-size: 1.05rem; line-height: 1.55; max-width: 44ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .actions .btn { font-size: 1rem; padding: 12px 22px; }

/* ---------- signature: ledger karta ---------- */
.ledger {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 22px; box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.ledger-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ledger-head .t { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; }
.wave { display: flex; gap: 3px; align-items: flex-end; height: 18px; }
.wave span { width: 3px; background: var(--accent); border-radius: 2px; animation: wv 1.1s ease-in-out infinite; }
.wave span:nth-child(1) { height: 40%; animation-delay: 0s; }
.wave span:nth-child(2) { height: 90%; animation-delay: .15s; }
.wave span:nth-child(3) { height: 60%; animation-delay: .3s; }
.wave span:nth-child(4) { height: 100%; animation-delay: .45s; }
.wave span:nth-child(5) { height: 55%; animation-delay: .6s; }
@keyframes wv { 0%,100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

.ledger .row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-top: 1px dashed var(--border);
  font-family: 'IBM Plex Mono', monospace; font-size: 0.86rem;
  opacity: 0; animation: rowin .5s ease forwards;
}
.ledger .row .d { color: var(--muted); margin-right: 10px; }
.ledger .row:nth-of-type(1) { animation-delay: .2s; }
.ledger .row:nth-of-type(2) { animation-delay: .5s; }
.ledger .row:nth-of-type(3) { animation-delay: .8s; }
.ledger .row:nth-of-type(4) { animation-delay: 1.1s; }
.ledger .row:nth-of-type(5) { animation-delay: 1.4s; }
.ledger .row:nth-of-type(6) { animation-delay: 1.7s; }
@keyframes rowin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.ledger .sum {
  display: flex; justify-content: space-between; margin-top: 4px; padding-top: 12px;
  border-top: 2px solid var(--border);
  font-family: 'IBM Plex Mono', monospace; font-weight: 500;
  color: var(--paid);
  opacity: 0; animation: rowin .5s ease forwards; animation-delay: 2s;
}
.ledger .note { margin-top: 10px; font-size: 0.78rem; color: var(--muted); }

/* ---------- kroky ---------- */
.steps { padding: 26px 0 10px; }
.steps h2, .artists h2 {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700;
  font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 6px;
}
.step {
  display: grid; grid-template-columns: 64px 220px 1fr; gap: 18px; align-items: baseline;
  padding: 20px 0; border-top: 1px solid var(--border);
}
.step .n { font-family: 'IBM Plex Mono', monospace; color: var(--accent); }
.step .h { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.05rem; }
.step p { color: var(--muted); line-height: 1.55; font-size: 0.95rem; }

/* ---------- artist band ---------- */
.artists {
  margin-top: 48px; border: 1px solid var(--border); border-radius: 14px;
  padding: 30px; background: linear-gradient(135deg, rgba(79,124,255,0.10), rgba(79,124,255,0.02));
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.artists p { color: var(--muted); line-height: 1.55; max-width: 56ch; margin-top: 6px; }
.artists .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.land footer {
  max-width: 1040px; margin: 0 auto; padding: 26px 22px;
  color: var(--muted); font-size: 0.82rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

a.btn { text-decoration: none; display: inline-block; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .step { grid-template-columns: 48px 1fr; }
  .step p { grid-column: 2; }
  .artists { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .wave span { animation: none; }
  .ledger .row, .ledger .sum { animation: none; opacity: 1; }
}
