/* Cube Tender — landing (dark emerald / deep space) */

:root {
  --bg: #05080a;
  --bg-raise: #080d10;
  --panel: #0c1316;
  --panel-2: #101a1e;
  --edge: rgba(255, 255, 255, 0.08);
  --edge-strong: rgba(255, 255, 255, 0.14);
  --fg: #eef4f1;
  --muted: #93a1a0;
  --dim: #5c6a68;
  --emerald: #10c98a;
  --emerald-deep: #059669;
  --green-soft: rgba(16, 201, 138, 0.12);
  --cyan: #22d3ee;
  --amber: #ffc857;
  --font-display: 'Unbounded', 'Manrope', sans-serif;
  --font-sans: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.18;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.35rem, 2.8vw, 2rem); margin-bottom: 20px; }
h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }

p { color: var(--muted); }

.lead { font-size: 1.06rem; max-width: 58ch; }

a { color: inherit; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--dim);
  margin-bottom: 16px;
}
.eyebrow-slash { color: var(--emerald); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--edge-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.28); }

.btn-primary {
  background: var(--emerald);
  color: #03110b;
  border-color: var(--emerald);
  box-shadow: 0 0 24px -6px rgba(16, 201, 138, 0.5);
}
.btn-primary:hover {
  box-shadow: 0 0 40px -6px rgba(16, 201, 138, 0.75);
  border-color: var(--emerald);
  background: #17dd99;
}

.btn-small { padding: 9px 16px; font-size: 13.5px; }
.btn-large { padding: 17px 34px; font-size: 16px; }

.wa-icon { flex-shrink: 0; }

.link-arrow {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--edge-strong);
  padding-bottom: 2px;
  transition: color .15s;
}
.link-arrow:hover { color: var(--fg); }
.link-arrow::after { content: ' ↓'; color: var(--dim); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 10, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.wordmark {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark-cube { color: var(--emerald); }
.wordmark-sep { color: var(--dim); font-weight: 400; }
.wordmark-tender { color: var(--fg); }

.header-nav { display: flex; gap: 22px; margin-left: 8px; }
.header-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}
.header-nav a:hover { color: var(--fg); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  border: 1px solid var(--edge-strong);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 11px;
  cursor: pointer;
  transition: color .15s, background .15s;
}
.lang-switch button.active { background: var(--emerald); color: #03110b; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 90px 0 96px;
  overflow: hidden;
  text-align: center;
}

.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 8% 18%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 21% 64%, rgba(255,255,255,.3) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 33% 30%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 44% 10%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 22%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 69% 8%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 76% 41%, rgba(255,255,255,.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 87% 15%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 93% 55%, rgba(255,255,255,.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 15% 44%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 51% 48%, rgba(255,255,255,.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 64% 60%, rgba(255,255,255,.2) 50%, transparent 51%),
    radial-gradient(1px 1px at 82% 68%, rgba(255,255,255,.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 6%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 5% 72%, rgba(255,255,255,.2) 50%, transparent 51%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 75%);
}

.beam {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 760px;
  pointer-events: none;
  background:
    radial-gradient(46% 34% at 50% 0%, rgba(16, 201, 138, 0.30), transparent 70%),
    radial-gradient(20% 46% at 50% 4%, rgba(16, 201, 138, 0.34), transparent 72%),
    linear-gradient(to bottom, rgba(180, 255, 226, 0.5), rgba(16, 201, 138, 0.10) 55%, transparent 80%);
  clip-path: polygon(49.2% 0, 50.8% 0, 67% 100%, 33% 100%);
  filter: blur(6px);
}
.beam::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(32% 26% at 50% 0%, rgba(210, 255, 238, 0.5), transparent 70%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(16, 201, 138, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--edge-strong);
  border-radius: 999px;
  padding: 7px 15px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 26px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px rgba(16, 201, 138, 0.9);
}

.hero h1 { max-width: 21ch; margin: 0 auto; }

.hero .lead { margin: 22px auto 0; }

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* ---------- dashboard mockup ---------- */

.dash {
  position: relative;
  margin: 72px auto 0;
  max-width: 1040px;
  text-align: left;
  background: linear-gradient(to bottom, var(--panel-2), var(--panel));
  border: 1px solid var(--edge-strong);
  border-radius: 16px;
  box-shadow:
    0 0 80px -20px rgba(16, 201, 138, 0.28),
    0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.dash::before {
  content: '';
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 201, 138, 0.7), transparent);
}

.dash-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--edge);
}
.chrome-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.chrome-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chrome-verdict {
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--emerald);
  background: var(--green-soft);
  border: 1px solid rgba(16, 201, 138, 0.35);
  border-radius: 6px;
  padding: 3px 10px;
  flex-shrink: 0;
}

.dash-body {
  display: grid;
  grid-template-columns: 200px 1fr 264px;
}

.dash-side {
  border-right: 1px solid var(--edge);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-side-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0 8px 8px;
}
.dash-tender {
  font-size: 12.5px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-tender.active {
  background: rgba(16, 201, 138, 0.09);
  color: var(--fg);
  border: 1px solid rgba(16, 201, 138, 0.22);
}
.dash-new {
  margin-top: auto;
  font-size: 12.5px;
  color: var(--dim);
  padding: 8px 10px;
  border: 1px dashed var(--edge-strong);
  border-radius: 8px;
  text-align: center;
}

.dash-main { padding: 16px 18px; min-width: 0; }

.dash-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--edge);
  margin-bottom: 6px;
}
.meta-item { display: grid; gap: 1px; }
.meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.meta-value { font-size: 12.5px; color: var(--fg); font-variant-numeric: tabular-nums; }

.dash-table { font-size: 12.5px; }
.dt-row {
  display: grid;
  grid-template-columns: 1fr 58px 56px 92px 96px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
}
.dt-row > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--fg); }
.dt-row:last-child { border-bottom: 0; }
.dt-head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.dt-head > span:first-child { color: var(--dim); }
.dt-qty, .dt-price { text-align: right; font-variant-numeric: tabular-nums; }
.dt-price { color: var(--fg); font-weight: 600; }
.dt-pending .dt-price { color: var(--dim); font-weight: 400; }

.src {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.src b { font-weight: 500; }
.src-ok { color: var(--emerald); }
.src-web { color: var(--cyan); }
.src-dim { color: var(--dim); }
.src-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--dim);
  animation: pulse 1.4s ease infinite;
}
@keyframes pulse { 50% { opacity: 0.25; } }

.dash-verdict {
  border-left: 1px solid var(--edge);
  padding: 16px;
  background: rgba(255, 255, 255, 0.015);
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mock-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.verdict-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #03110b;
  background: var(--emerald);
  border-radius: 6px;
  padding: 4px 11px;
  box-shadow: 0 0 18px -4px rgba(16, 201, 138, 0.7);
}

.mock-rows { display: grid; gap: 8px; }
.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
  padding-bottom: 8px;
}
.mock-row b {
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  white-space: nowrap;
}
.mock-row-accent { border-bottom: 0; padding-bottom: 0; }
.mock-row-accent b { color: var(--emerald); }

.mock-coverage { margin-top: 14px; }
.mock-coverage-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--dim);
  margin-bottom: 6px;
}
.mock-coverage-label b { color: var(--fg); font-variant-numeric: tabular-nums; }
.mock-bar {
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.mock-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--emerald-deep), var(--emerald));
  box-shadow: 0 0 10px rgba(16, 201, 138, 0.6);
}

.mock-tags { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--edge);
  color: var(--muted);
}
.tag-ok { color: var(--emerald); border-color: rgba(16, 201, 138, 0.35); background: var(--green-soft); }
.tag-web { color: var(--cyan); border-color: rgba(34, 211, 238, 0.3); background: rgba(34, 211, 238, 0.08); }
.tag-est { color: var(--amber); border-color: rgba(255, 200, 87, 0.3); background: rgba(255, 200, 87, 0.08); }

/* ---------- stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 40px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--edge);
}
.stat { display: grid; gap: 4px; justify-items: center; }
.stat b {
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 700;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.stat span:last-child { font-size: 13px; color: var(--dim); text-align: center; }

/* ---------- sections ---------- */

section { padding: 88px 0; }

.pains { background: var(--bg-raise); border-block: 1px solid var(--edge); }
.pains h2 { max-width: 26ch; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 14px;
  padding: 26px;
}
.card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--emerald);
  margin-bottom: 14px;
  opacity: 0.8;
}
.card p { font-size: 14.5px; }

.card-art { margin: 2px 0 16px; }
.card-art svg { display: block; width: 100%; max-width: 220px; height: auto; }
.step-art { margin: 14px 0 2px; }
.step-art svg { display: block; width: 100%; max-width: 180px; height: auto; }

/* how it works */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.step { position: relative; padding-top: 20px; border-top: 1px solid var(--edge-strong); }
.step-num {
  position: absolute;
  top: -17px;
  left: 0;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(16, 201, 138, 0.4);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 14px -4px rgba(16, 201, 138, 0.5);
}
.step h3 { margin-top: 14px; }
.step p { font-size: 14.5px; }

/* before / after */

.ba { padding-top: 0; }
.ba h2 { max-width: 34ch; }

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
}
.ba-card {
  border-radius: 14px;
  padding: 26px;
  border: 1px solid var(--edge);
  background: var(--panel);
}
.ba-before { opacity: 0.92; }
.ba-after {
  border-color: rgba(16, 201, 138, 0.35);
  background: linear-gradient(to bottom, rgba(16, 201, 138, 0.05), var(--panel) 40%);
  box-shadow: 0 0 60px -24px rgba(16, 201, 138, 0.35);
}

.ba-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--edge);
  margin-bottom: 6px;
}
.ba-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.ba-before .ba-name { color: var(--muted); }
.ba-after .ba-name { color: var(--emerald); }
.ba-sub { font-size: 12.5px; color: var(--dim); }

.ba-card ul { list-style: none; }
.ba-card li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ba-card li:last-child { border-bottom: 0; padding-bottom: 0; }

.ba-mark {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: 2px;
}
.ba-before .ba-mark {
  color: #ff7a6b;
  border: 1px solid rgba(255, 122, 107, 0.35);
  background: rgba(255, 122, 107, 0.08);
}
.ba-after .ba-mark {
  color: var(--emerald);
  border: 1px solid rgba(16, 201, 138, 0.4);
  background: var(--green-soft);
}

.ba-card li b {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 3px;
}
.ba-card li p { font-size: 14px; color: var(--muted); }
.ba-after li p { color: var(--fg); }

.ba-note {
  margin-top: 26px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

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

/* auction floor */

.floor-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}
.floor h2 { max-width: 18ch; }
.floor .lead { margin-top: 18px; }

.floor-mock {
  background: var(--panel);
  border: 1px solid rgba(16, 201, 138, 0.3);
  border-radius: 14px;
  padding: 24px;
  font-family: var(--font-mono);
  box-shadow: 0 0 70px -26px rgba(16, 201, 138, 0.45);
}
.fm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--edge);
  margin-bottom: 12px;
}
.fm-live { display: inline-flex; align-items: center; gap: 6px; color: var(--emerald); }
.fm-live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse 1.4s ease infinite;
}
.fm-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--muted);
}
.fm-row b { color: var(--fg); font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fm-floor { border-top: 1px dashed var(--edge); margin-top: 4px; padding-top: 13px; }
.fm-floor span { color: var(--fg); }
.fm-floor b { color: var(--emerald); }
.fm-gap {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--green-soft);
  font-size: 12px;
  color: var(--emerald);
}
.fm-gap b { color: var(--emerald); font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 820px) {
  .floor-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* faq */

.faq-list {
  max-width: 820px;
  display: grid;
  gap: 10px;
  margin-top: 40px;
}
.faq-item {
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--panel);
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(16, 201, 138, 0.3); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--emerald); }
.faq-item[open] summary { color: var(--emerald); }
.faq-item summary:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: -2px;
  border-radius: 12px;
}
.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 18px; height: 18px;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--emerald);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.faq-icon::before { top: 8px; left: 1px; width: 16px; height: 2px; }
.faq-icon::after { top: 1px; left: 8px; width: 2px; height: 16px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { padding: 0 22px 22px; }
.faq-a p { font-size: 14.5px; color: var(--muted); max-width: 66ch; }

@media (prefers-reduced-motion: reduce) {
  .faq-icon::before, .faq-icon::after { transition: none; }
}

/* case study */

.case { text-align: center; }
.case .lead { margin: 0 auto; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.case-stat {
  border: 1px solid var(--edge);
  border-radius: 14px;
  padding: 30px 20px;
  background: var(--panel);
  display: grid;
  gap: 8px;
  justify-items: center;
}
.case-stat b {
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.case-stat span { font-size: 13.5px; color: var(--muted); }
.case-stat i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--dim);
}

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

/* demo video */

.demo { padding-top: 0; }
.demo h2 { max-width: 30ch; }
.video-frame {
  position: relative;
  max-width: 920px;
  margin-top: 36px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--edge-strong);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  box-shadow:
    0 0 70px -22px rgba(16, 201, 138, 0.3),
    0 30px 70px -40px rgba(0, 0, 0, 0.8);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* features */

.features { background: var(--bg-raise); border-block: 1px solid var(--edge); }
.features h2 { max-width: 30ch; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 14px;
  padding: 22px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature:hover {
  border-color: rgba(16, 201, 138, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -18px rgba(16, 201, 138, 0.25);
}
.feature p { font-size: 14px; }

.vignette {
  background: var(--bg);
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: grid;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}
.v-line { display: flex; align-items: baseline; gap: 8px; justify-content: space-between; }
.v-line > :first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-input { color: var(--fg); }
.v-derived { justify-content: flex-start; color: var(--muted); }
.v-ok { color: var(--emerald); justify-content: flex-start; }
.v-dim { color: var(--dim); }
.v-num { font-variant-numeric: tabular-nums; color: var(--fg); font-weight: 500; white-space: nowrap; }
.v-num.v-ok { color: var(--emerald); }
.v-chips { display: flex; gap: 6px; }
.v-chip {
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--edge-strong);
  color: var(--dim);
  font-size: 11px;
}
.v-chip.active {
  border-color: rgba(16, 201, 138, 0.45);
  color: var(--emerald);
  background: var(--green-soft);
}

/* sources hierarchy */

.sources h2 { max-width: 34ch; }

.src-ladder {
  display: grid;
  gap: 12px;
  margin-top: 40px;
  max-width: 860px;
}
.src-tier {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--panel);
  padding: 22px 24px;
}
.src-rank {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
}
.src-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}
.src-tier h3 { margin-bottom: 6px; }
.src-tier p { font-size: 14px; }

.tier-1 {
  border-color: rgba(16, 201, 138, 0.35);
  background: linear-gradient(to right, rgba(16, 201, 138, 0.05), var(--panel) 55%);
}
.tier-1 .src-rank {
  color: var(--emerald);
  border: 1px solid rgba(16, 201, 138, 0.4);
  background: var(--green-soft);
}
.tier-2 .src-rank {
  color: var(--muted);
  border: 1px solid var(--edge-strong);
  background: rgba(255, 255, 255, 0.03);
}
.tier-3 { opacity: 0.9; }
.tier-3 .src-rank {
  color: #ff7a6b;
  border: 1px solid rgba(255, 122, 107, 0.35);
  background: rgba(255, 122, 107, 0.08);
}
.tier-3 h3 { text-decoration: line-through; text-decoration-color: rgba(255, 122, 107, 0.55); text-decoration-thickness: 1.5px; }

/* principles */

.principles-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.principles-intro { position: sticky; top: 100px; }
.principles-intro .lead { margin-top: 16px; }

.principles-list { list-style: none; counter-reset: pr; display: grid; gap: 8px; }
.principles-list li {
  counter-increment: pr;
  position: relative;
  padding: 22px 22px 22px 66px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--panel);
}
.principles-list li::before {
  content: counter(pr, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--emerald);
}
.principles-list p { font-size: 14.5px; }

/* final cta */

.final-cta {
  position: relative;
  text-align: center;
  padding: 110px 0 120px;
  border-top: 1px solid var(--edge);
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(16, 201, 138, 0.14), transparent 70%);
  pointer-events: none;
}
.final-cta .container { position: relative; }
.final-cta .eyebrow { margin-bottom: 14px; }
.final-cta .lead { margin: 0 auto 36px; }
.cta-phone {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

/* footer */

.site-footer { border-top: 1px solid var(--edge); padding: 28px 0; background: var(--bg-raise); }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-brand { font-family: var(--font-mono); font-size: 14px; font-weight: 700; }
.footer-note { color: var(--dim); font-size: 13px; }
.footer-inner > a {
  margin-left: auto;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
}
.footer-inner > a:hover { color: var(--fg); }

/* report */

.report h2 { max-width: 24ch; }
.report .lead { margin-top: 16px; }
.report-mock {
  max-width: 860px;
  margin-top: 36px;
  border: 1px solid var(--edge-strong);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8), 0 0 70px -30px rgba(16, 201, 138, 0.22);
}
.rep-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 14px 0;
  background: var(--panel-2);
  border-bottom: 1px solid var(--edge);
}
.rep-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  padding: 8px 14px;
  border-radius: 8px 8px 0 0;
}
.rep-tab.active {
  color: var(--emerald);
  background: var(--panel);
  border: 1px solid var(--edge);
  border-bottom-color: var(--panel);
  margin-bottom: -1px;
}
.rep-table { padding: 6px 0; font-size: 13px; }
.rep-row {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 10px 18px;
  align-items: center;
}
.rep-row > span:first-child { color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rep-row span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.rep-row:not(.rep-head) { border-top: 1px solid rgba(255, 255, 255, 0.04); }
.rep-head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rep-head span { color: var(--dim) !important; }
.rep-diff-down { color: var(--emerald) !important; }
.rep-diff-up { color: #ff7a6b !important; }
.rep-foot {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--edge);
  background: var(--panel-2);
  font-weight: 700;
  font-size: 13px;
}
.rep-foot span:first-child { color: var(--fg); }
.rep-foot span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.rep-note { margin-top: 14px; font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); }

@media (max-width: 620px) {
  .rep-tab { padding: 7px 10px; font-size: 11px; }
  .rep-row, .rep-foot { grid-template-columns: 1.5fr 1fr 1fr; }
  .rep-row span:nth-child(2), .rep-foot span:nth-child(2) { display: none; }
}

/* fit */

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.fit-col {
  border: 1px solid var(--edge);
  border-radius: 14px;
  padding: 28px;
  background: var(--panel);
}
.fit-yes { border-color: rgba(16, 201, 138, 0.3); }
.fit-h {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.fit-yes .fit-h { color: var(--emerald); }
.fit-no .fit-h { color: var(--muted); }
.fit-col ul { list-style: none; display: grid; gap: 13px; }
.fit-col li { display: flex; gap: 12px; font-size: 14.5px; color: var(--muted); }
.fit-col li::before { flex-shrink: 0; font-family: var(--font-mono); font-weight: 700; }
.fit-yes li::before { content: '✓'; color: var(--emerald); }
.fit-no li::before { content: '✕'; color: #ff7a6b; }

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

/* start steps (final cta) */

.start-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 780px;
  margin: 0 auto 34px;
}
.start-step { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.start-step b {
  width: 26px; height: 26px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(16, 201, 138, 0.4);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 12px;
}
.start-step:not(:last-child)::after { content: '→'; color: var(--dim); margin-left: 4px; }

@media (max-width: 620px) {
  .start-steps { flex-direction: column; align-items: flex-start; gap: 14px; }
  .start-step:not(:last-child)::after { display: none; }
}

/* sticky whatsapp button */

.wa-fab {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--emerald);
  color: #03110b;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  box-shadow: 0 12px 34px -8px rgba(16, 201, 138, 0.6);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, box-shadow .2s ease;
}
.wa-fab.visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-fab:hover { box-shadow: 0 14px 44px -6px rgba(16, 201, 138, 0.85); }

@media (max-width: 620px) {
  .wa-fab { right: 14px; bottom: 14px; padding: 12px 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab { transition: opacity .2s ease; transform: none; }
}

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .src-pulse { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .cards-3, .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .principles-grid { grid-template-columns: 1fr; gap: 40px; }
  .principles-intro { position: static; }
  .header-nav { display: none; }
  .dash-body { grid-template-columns: 1fr 264px; }
  .dash-side { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
}

@media (max-width: 720px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-verdict { border-left: 0; border-top: 1px solid var(--edge); }
  .dt-row { grid-template-columns: 1fr 64px 96px; }
  .dt-qty, .dt-unit { display: none; }
  .dt-head .dt-qty, .dt-head .dt-unit { display: none; }
}

@media (max-width: 620px) {
  section { padding: 64px 0; }
  .container { padding: 0 18px; }
  .cards-3, .feature-grid, .steps { grid-template-columns: 1fr; }
  .header-inner { gap: 10px; height: 58px; }
  .header-actions { gap: 8px; }
  .wordmark { font-size: 15px; }
  .lang-switch button { padding: 6px 9px; font-size: 11px; }
  .btn-small { padding: 8px 11px; font-size: 12px; }
  .hero { padding: 64px 0 72px; }
  .hero-cta { gap: 18px; }
  .btn-large { width: 100%; justify-content: center; }
  .dash { margin-top: 52px; }
  .dash-meta { gap: 14px; }
  .beam { width: 200vw; }
}
