/* ALT landing — premium graphite/silver. No build step. */

:root {
  --bg: #0c0e12;
  --bg-raised: #12151b;
  --bg-panel: #161a21;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8eaee;
  --text-soft: #b6bdc9;
  --muted: #8b93a1;
  --faint: #5d6470;
  --accent: #9db8e8;
  --accent-strong: #bcd0f5;
  --green: #4ade80;
  --red: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Golos Text", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }
.center { text-align: center; }

/* ---------- Type ---------- */

h1 {
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.lead {
  font-size: 20px;
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 40px;
}

.punch {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-top: 56px;
  max-width: 720px;
  background: linear-gradient(100deg, var(--text) 30%, var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footnote {
  font-size: 13px;
  color: var(--faint);
  max-width: 640px;
  margin-top: 20px;
}

.fn-ref { color: inherit; text-decoration: none; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(12, 14, 18, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
}

.nav-links { display: flex; gap: 24px; flex: 1; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #f2f4f8, #d5dbe6);
  color: #10131a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 8px 24px rgba(157, 184, 232, 0.12);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 12px 32px rgba(157,184,232,.22); }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.05); }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.cta-row.center { justify-content: center; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 110px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -140px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(157, 184, 232, 0.13), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(157, 184, 232, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 20px;
  color: var(--text-soft);
  margin-top: 26px;
  max-width: 520px;
}

.hero-features {
  font-size: 18px;
  color: var(--muted);
  margin-top: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-punch {
  font-size: 23px;
  font-weight: 600;
  color: var(--text);
  margin-top: 16px;
  letter-spacing: -0.02em;
}

.trust-line {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--faint);
}

.hero-visual { display: flex; flex-direction: column; align-items: center; position: relative; }

.proof-line {
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  max-width: 320px;
}

/* ---------- Phone mockup ---------- */

.phone {
  width: 300px;
  border-radius: 40px;
  padding: 12px;
  background: linear-gradient(180deg, #1b1f27, #12151b);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 90px rgba(157, 184, 232, 0.09);
}

.phone-screen {
  background: #0e1116;
  border-radius: 30px;
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pp-head { display: flex; justify-content: space-between; align-items: baseline; }
.pp-brand { font-weight: 700; letter-spacing: 0.08em; font-size: 14px; }
.pp-order { font-size: 12px; color: var(--muted); }

.pp-amount { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; }
.pp-desc { font-size: 13px; color: var(--muted); margin-bottom: 8px; }

.pp-qr {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  background: #f4f5f7;
  padding: 14px;
  overflow: hidden;
}

.pp-qr svg.qr-code { display: block; width: 100%; height: 100%; }

.qr-paid {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 17, 22, 0.88);
  color: var(--green);
  opacity: 0;
  transition: opacity 0.5s;
}

.qr-paid svg { width: 64px; height: 64px; }

.pp-qr.paid .qr-paid { opacity: 1; }

.pp-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.5s, background 0.5s;
}

.pp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
  transition: background 0.4s;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.pp-status.paid {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.07);
}

.pp-status.paid .pp-dot { background: var(--green); animation: none; }
.pp-status.paid .pp-label { color: var(--green); }

.pp-hint { font-size: 11.5px; color: var(--faint); text-align: center; margin-top: 2px; min-height: 2.4em; }

/* ---------- Sections ---------- */

.section { padding: 110px 0; border-top: 1px solid var(--border); }

.narrow-head { max-width: 860px; }

.section-accent {
  background:
    radial-gradient(1000px 420px at 50% -10%, rgba(157, 184, 232, 0.06), transparent),
    var(--bg-raised);
}

/* ---------- Compare (screenshots section) ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.compare-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg-raised);
}

.compare-card h3 { margin-bottom: 18px; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; }
.compare-after { border-color: rgba(157, 184, 232, 0.25); background: linear-gradient(180deg, rgba(157,184,232,.05), transparent), var(--bg-raised); }
.compare-after h3 { color: var(--accent); }

.compare-card ol { list-style: none; counter-reset: n; }

.compare-card li {
  counter-increment: n;
  padding: 9px 0;
  color: var(--text-soft);
  display: flex;
  gap: 12px;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
}

.compare-card li:last-child { border-bottom: none; }

.compare-card li::before {
  content: counter(n);
  font-size: 12px;
  color: var(--faint);
  min-width: 16px;
}

.compare-card li.bad { color: var(--red); font-weight: 600; }
.compare-card li.good { color: var(--green); font-weight: 600; }

/* ---------- Flow diagram (direct money) ---------- */

.flow { margin-top: 16px; display: flex; flex-direction: column; gap: 18px; }

.flow-rail {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raised);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.flow-rail-alt {
  border-color: rgba(157, 184, 232, 0.3);
  background: linear-gradient(180deg, rgba(157, 184, 232, 0.06), transparent), var(--bg-raised);
  box-shadow: 0 0 60px rgba(157, 184, 232, 0.08);
}

.flow-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 58px;
  flex-shrink: 0;
}

.flow-rail-alt .flow-tag { color: var(--accent); }

.flow-track { display: flex; align-items: center; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: thin; }

.flow-node {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  flex-shrink: 0;
}

.flow-node.dim { color: var(--muted); border-color: var(--border); background: transparent; font-weight: 500; }

.flow-node.accent {
  color: #10131a;
  border: none;
  background: linear-gradient(180deg, #f2f4f8, #d5dbe6);
  box-shadow: 0 6px 18px rgba(157, 184, 232, 0.2);
}

.flow-link { flex: 1; min-width: 20px; height: 1px; background: var(--border-strong); position: relative; }

.flow-link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid var(--faint);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.flow-rail-old .flow-link { background: rgba(248, 113, 113, 0.28); }
.flow-rail-old .flow-link::after { border-left-color: rgba(248, 113, 113, 0.55); }
.flow-rail-alt .flow-link { background: linear-gradient(90deg, rgba(157, 184, 232, 0.4), rgba(157, 184, 232, 0.85)); min-width: 60px; }
.flow-rail-alt .flow-link::after { border-left-color: var(--accent); }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg-raised);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(157, 184, 232, 0.4);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--bg-raised);
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.card-icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 18px; display: block; }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Calculator ---------- */

.calc {
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(157, 184, 232, 0.05), transparent 40%), var(--bg-panel);
  padding: 40px;
  margin-top: 12px;
}

.calc-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

.calc-value { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 18px; }

input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 10%), rgba(255, 255, 255, 0.12) var(--fill, 10%));
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f2f4f8;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f2f4f8;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.calc-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin: 44px auto 0;
  max-width: 460px;
}

.calc-bar-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.calc-bar-fee { font-size: 14px; font-weight: 600; color: var(--text-soft); font-variant-numeric: tabular-nums; }

.calc-bar {
  width: 100%;
  border-radius: 10px 10px 4px 4px;
  transition: height 0.35s cubic-bezier(0.3, 0.9, 0.4, 1);
}

.calc-bar-acq { height: 150px; background: linear-gradient(180deg, rgba(248, 113, 113, 0.55), rgba(248, 113, 113, 0.15)); }
.calc-bar-alt { height: 26px; background: linear-gradient(180deg, rgba(157, 184, 232, 0.9), rgba(157, 184, 232, 0.3)); }

.calc-bar-name { font-size: 14.5px; font-weight: 600; text-align: center; }
.calc-bar-name span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }

.calc-result { text-align: center; margin-top: 44px; }

.calc-result-num {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, var(--text), var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-result-sub { font-size: 17px; color: var(--text-soft); margin-top: 4px; }
.calc-result-note { font-size: 13.5px; color: var(--faint); margin-top: 14px; }

/* ---------- Experience strip ---------- */

.experience-strip {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 32px;
  align-items: center;
  justify-content: start;
  margin-top: 16px;
}

.mini-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raised);
  padding: 24px;
  max-width: 280px;
  color: var(--text-soft);
  font-size: 15px;
}

.mini-icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 14px; }

/* ---------- Screenshot frames + skeleton placeholders ---------- */

.shot {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  overflow: hidden;
  margin: 0;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.shot-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.shot-bar span { font-size: 12px; color: var(--faint); margin-left: 8px; }

.shot-body { padding: 20px; min-height: 150px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }

.shot figcaption, .shot-caption {
  padding: 14px 18px 16px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.shot figcaption strong, .shot-caption strong { color: var(--text); }

.shot-phone { width: 250px; }
.shot-phone .shot-body { min-height: 300px; }

/* skeleton primitives */
.sk { border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.09), rgba(255,255,255,.05)); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }

@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.sk-title { height: 16px; width: 55%; }
.sk-line { height: 11px; width: 100%; }
.sk-line.short { width: 60%; }
.sk-pill { height: 26px; width: 40%; border-radius: 999px; }
.sk-img { height: 110px; border-radius: 10px; }
.sk-row { display: flex; gap: 10px; }
.sk-tile { height: 52px; flex: 1; border-radius: 10px; }
.sk-timeline { display: flex; flex-direction: column; gap: 10px; padding-left: 6px; border-left: 2px solid rgba(157,184,232,.25); }
.sk-node { height: 12px; width: 70%; border-radius: 6px; background: linear-gradient(90deg, rgba(157,184,232,.12), rgba(157,184,232,.2), rgba(157,184,232,.12)); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
.sk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sk-split > div { display: flex; flex-direction: column; gap: 10px; }
.sk-chat { display: flex; flex-direction: column; gap: 10px; }
.sk-bubble { height: 40px; width: 85%; border-radius: 12px 12px 12px 4px; }
.sk-bubble.short { width: 55%; height: 28px; }

/* ---------- Product mockups (Workspace / wizard) ---------- */

.mk-body { justify-content: flex-start !important; gap: 12px; padding: 18px; }
.mk { display: flex; flex-direction: column; gap: 11px; width: 100%; font-variant-numeric: tabular-nums; color: var(--text); }
.mk-mut { color: var(--muted); }

/* dashboard */
.mk-dash { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; align-items: stretch; }
.mk-hero-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); }
.mk-hero-num { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; margin-top: 3px; line-height: 1; }
.mk-hero-delta { font-size: 11.5px; color: var(--green); margin-top: 6px; }
.mk-bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 14px; }
.mk-bars i { flex: 1; background: linear-gradient(180deg, rgba(157,184,232,.85), rgba(157,184,232,.22)); border-radius: 2px 2px 0 0; }
.mk-bars i.hi { background: linear-gradient(180deg, #f2f4f8, rgba(213,219,230,.4)); }
.mk-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mk-tile { border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; background: rgba(255,255,255,.02); }
.mk-tile b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.mk-tile span { font-size: 10px; color: var(--muted); }
.mk-note { font-size: 11px; color: var(--text-soft); display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-top: 2px; }

/* status dots */
.mk-dot { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.mk-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.mk-dot.ok::before { background: var(--green); }
.mk-dot.wait::before { background: var(--accent); }
.mk-dot.warn::before { background: #fbbf24; }

/* dense tables (explorer / receipts) */
.mk-tbl { border: 1px solid var(--border); border-radius: 9px; overflow: hidden; }
.mk-tr { display: grid; align-items: center; gap: 8px; padding: 7px 11px; font-size: 11px; border-bottom: 1px solid var(--border); }
.mk-tr:last-child { border-bottom: none; }
.mk-tr.head { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); background: rgba(255,255,255,.02); }
.mk-ex { grid-template-columns: 1.35fr 0.9fr 0.75fr 0.45fr; }
.mk-amt { text-align: right; font-weight: 600; }
.mk-oid { font-weight: 600; }

/* chips + search */
.mk-toolbar { display: flex; flex-direction: column; gap: 8px; }
.mk-search { font-size: 11px; padding: 7px 11px; border: 1px solid var(--border-strong); border-radius: 8px; color: var(--faint); }
.mk-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mk-chip { font-size: 10px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-soft); }
.mk-chip.on { background: rgba(157,184,232,.14); border-color: rgba(157,184,232,.4); color: var(--accent-strong); }

/* timeline (payment detail) */
.mk-detail-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.mk-detail-amt { font-size: 18px; font-weight: 700; }
.mk-tl { display: flex; flex-direction: column; padding-left: 15px; position: relative; }
.mk-tl::before { content: ""; position: absolute; left: 4px; top: 9px; bottom: 11px; width: 1px; background: rgba(157,184,232,.3); }
.mk-tl-row { display: flex; justify-content: space-between; align-items: center; font-size: 11px; padding: 4px 0; position: relative; }
.mk-tl-row::before { content: ""; position: absolute; left: -15px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--bg-panel); }
.mk-tl-t { color: var(--muted); font-size: 10px; }

/* review (two-panel) */
.mk-rev { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-panel { border: 1px solid var(--border); border-radius: 9px; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.mk-panel-h { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.mk-op-amt { font-size: 15px; font-weight: 700; }
.mk-match { border: 1px solid rgba(74,222,128,.32); background: rgba(74,222,128,.06); border-radius: 8px; padding: 8px 9px; display: flex; flex-direction: column; gap: 5px; }
.mk-match .mk-dot.ok { font-size: 10px; }
.mk-btn { font-size: 10px; padding: 5px 11px; border-radius: 6px; background: linear-gradient(180deg,#f2f4f8,#d5dbe6); color: #10131a; font-weight: 600; align-self: flex-start; }

/* chat (telegram alerts) */
.mk-chat2 { display: flex; flex-direction: column; gap: 9px; }
.mk-bub { max-width: 92%; border-radius: 12px 12px 12px 4px; padding: 9px 11px; font-size: 11px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.mk-bub b { display: block; font-size: 11.5px; margin-bottom: 3px; }
.mk-bub small { color: var(--muted); font-size: 9.5px; }
.mk-bub.warn { border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.07); }
.mk-bub.ok { border-color: rgba(74,222,128,.32); background: rgba(74,222,128,.07); }

/* bank guide (wizard phone) */
.mk-wiz { display: flex; flex-direction: column; gap: 11px; }
.mk-wiz-step { font-size: 10px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; }
.mk-wiz-screen { border: 1px solid var(--border); border-radius: 12px; background: #0e1116; padding: 13px; display: flex; flex-direction: column; gap: 9px; }
.mk-wiz-title { font-size: 12px; font-weight: 600; }
.mk-wiz-kv { display: flex; justify-content: space-between; font-size: 11px; }
.mk-wiz-kv span { color: var(--muted); }
.mk-wiz-pay { margin-top: 3px; text-align: center; font-size: 12px; font-weight: 600; color: #10131a; background: linear-gradient(180deg,#f2f4f8,#d5dbe6); border-radius: 9px; padding: 9px; box-shadow: 0 0 0 3px rgba(157,184,232,.28); }
.mk-wiz-hint { font-size: 10.5px; color: var(--muted); text-align: center; }

@media (max-width: 640px) {
  .mk-dash { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Workspace gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.shot-wide { grid-column: span 3; }
.shot-wide .shot-body { min-height: 200px; }

.roles {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  background: var(--bg-raised);
  display: flex;
  gap: 28px;
  align-items: baseline;
  flex-wrap: wrap;
}

.roles h3 { color: var(--accent); white-space: nowrap; }
.roles p { color: var(--text-soft); font-size: 16px; }

/* ---------- Stack ---------- */

.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.card-tall { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

.snippet {
  margin-top: 18px;
  background: #0a0c10;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 13.5px;
  line-height: 1.7;
  overflow-x: auto;
  color: var(--text-soft);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.c-method { color: var(--accent); font-weight: 700; }
.c-key { color: var(--accent-strong); }
.c-str { color: var(--green); }
.c-num { color: #fbbf24; }
.c-arrow { color: var(--faint); }

/* ---------- Fit ---------- */

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }

.fit-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--bg-raised);
}

.fit-yes { border-color: rgba(74, 222, 128, 0.22); }
.fit-yes h3 { color: var(--green); }
.fit-no h3 { color: var(--muted); }

.fit-card h3 { margin-bottom: 16px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; }

.fit-card ul { list-style: none; }

.fit-card li {
  padding: 9px 0 9px 26px;
  color: var(--text-soft);
  position: relative;
  border-bottom: 1px solid var(--border);
}

.fit-card li:last-child { border-bottom: none; }

.fit-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--green); }
.fit-no li::before { content: "—"; position: absolute; left: 0; color: var(--faint); }

.fit-note { margin-top: 28px; color: var(--muted); font-size: 16px; }
.fit-note strong { color: var(--text); }

/* ---------- Final CTA ---------- */

.section-cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.section-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -320px;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(157, 184, 232, 0.12), transparent 65%);
  pointer-events: none;
}

.section-cta .lead { margin: 0 auto 8px; }

.ring {
  margin-top: 72px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--faint);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 56px;
}

.footer p {
  font-size: 12.5px;
  color: var(--faint);
  max-width: 820px;
  margin-bottom: 12px;
  line-height: 1.7;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sk, .sk-node, .pp-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 64px 0 80px; }
  .hero-visual { order: 2; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .shot-wide { grid-column: span 2; }
  .experience-strip { grid-template-columns: 1fr; justify-items: center; }
  .mini-card { max-width: 100%; }
  .stack-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .compare { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .shot-wide { grid-column: span 1; }
  .calc { padding: 26px 20px; }
  .calc-bars { gap: 20px; }
  .btn-lg { width: 100%; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .phone { width: 270px; }

  /* Flow: dedicated vertical mobile layout — stacked nodes with down-arrows */
  .flow { gap: 16px; }
  .flow-rail { flex-direction: column; align-items: stretch; gap: 0; padding: 22px 18px 24px; }
  .flow-tag { margin-bottom: 18px; }

  .flow-track { flex-direction: column; align-items: center; width: 100%; overflow: visible; padding: 0; }

  .flow-node {
    width: 100%;
    max-width: 240px;
    text-align: center;
    font-size: 14px;
    padding: 12px 14px;
    flex-shrink: 1;
  }

  .flow-link {
    flex: none;
    width: 2px;
    height: 24px;
    min-width: 0;
    background: var(--border-strong);
  }
  .flow-rail-alt .flow-link { min-width: 0; height: 24px; }

  /* rotate connector arrow to point downward */
  .flow-link::after {
    right: auto;
    top: auto;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--faint);
    border-bottom: 0;
  }
  .flow-rail-old .flow-link::after { border-top-color: rgba(248, 113, 113, 0.6); }
  .flow-rail-alt .flow-link::after { border-top-color: var(--accent); }
}
