.hero {
  position: relative;
  z-index: 2;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4vw, 56px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  border: 1px solid var(--line-light);
  min-height: 78vh;
}
.hero > * { position: relative; z-index: 2; }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 32px; min-height: 0; align-items: stretch; }
}

.dots-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.dot-wrap {
  position: absolute;
  transform-origin: center;
  will-change: transform;
  transition: transform .08s linear;
}
.dot-wrap .dot {
  display: block;
  border-radius: 50%;
  background: rgba(10,10,10,0.35);
  animation: drift var(--dur, 8s) ease-in-out var(--delay, 0s) infinite alternate;
  transform-origin: center;
}
.dot-wrap .dot.moss { background: var(--moss); }
.dot-wrap .dot.faint { background: rgba(10,10,10,0.18); }
@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(var(--dx, 6px), var(--dy, -4px)); }
}
@media (prefers-reduced-motion: reduce) {
  .dot-wrap .dot { animation: none; }
  .dot-wrap { transition: none; }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.2vw, 44px);
  max-width: 560px;
  box-shadow: 0 8px 32px -16px rgba(10,10,10,0.08);
  position: relative;
  z-index: 3;
}
.hero-pill {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 8px 14px;
  border: 1px solid var(--line-light);
  border-radius: 100px;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--paper);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--moss);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-headline .moss { color: var(--moss); }

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted-strong);
  max-width: 520px;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.hero-form .form-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-form input[type="email"],
.hero-form input[type="tel"],
.hero-form input[type="text"]:not(.hp-field) {
  width: 100%;
  background: var(--bone);
  border: 1px solid var(--line-light);
  border-radius: 100px;
  padding: 14px 20px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border .15s ease, background .15s ease, box-shadow .15s ease;
}
.hero-form input[type="email"]:focus,
.hero-form input[type="tel"]:focus,
.hero-form input[type="text"]:not(.hp-field):focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(10,10,10,0.05);
}
.hero-form input[aria-invalid="true"] {
  border-color: var(--danger);
}
.hero-form .submit-btn {
  background: var(--ink);
  color: var(--bone);
  padding: 14px 26px;
  border-radius: 100px;
  border: none;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s ease, transform .2s var(--ease-out), box-shadow .2s ease;
}
.hero-form .submit-btn:hover { background: var(--graphite); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(10,10,10,0.4); }
.hero-form .submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.hero-form .submit-btn-block {
  width: 100%;
  padding: 16px 26px;
  margin-top: 4px;
}

.radio-group { display: flex; gap: 8px; align-items: center; }
.radio-pill {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--line-mid);
  background: var(--paper);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-strong);
  transition: all .2s ease;
}
.radio-pill span::before {
  content: '';
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--line-mid);
  transition: all .2s ease;
}
.radio-pill input:checked + span {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.radio-pill input:checked + span::before {
  background: var(--lime);
  border-color: var(--lime);
}

.form-microcopy {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 480px;
}
.form-microcopy a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.form-microcopy a:hover { color: var(--moss); }

.form-error {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--danger);
  display: none;
}
.form-error.show { display: block; }

.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.turnstile-slot {
  min-height: 0;
  display: block;
}
.turnstile-slot:empty { display: none; }
.turnstile-slot iframe { max-width: 100%; }
.form-success {
  display: none;
  background: var(--moss-tint);
  padding: 18px;
  border-radius: var(--r-md);
  align-items: center;
  gap: 12px;
}
.form-success.show { display: flex; }
.form-success .check-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.form-success .text { font-size: 14px; }
.form-success .text strong { font-family: 'Archivo', sans-serif; font-weight: 600; display: block; margin-bottom: 2px; }
.form-success .text .pos { color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 12px; }

.hero-right {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: end;
  align-self: stretch;
  display: flex;
  z-index: 3;
}
@media (max-width: 980px) {
  .hero-right { justify-self: center; max-width: 420px; align-self: auto; min-height: 540px; }
}
.hero-mock {
  position: relative;
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px -28px rgba(10,10,10,0.18);
}
.mock-head {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line-light);
  display: flex; align-items: center; gap: 12px;
}
.mock-head .glyph-bare {
  width: 28px; height: 28px;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mock-head .glyph-bare svg { width: 100%; height: 100%; }
.mock-head .name { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -0.02em; }
.mock-head .status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.mock-head .status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 1.6s ease-in-out infinite;
}

.mock-body {
  padding: 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mock-stat .eyebrow-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mock-stat .val {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mock-stat .val.lime-readable {
  color: var(--ink);
  background: var(--lime);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
}
.mock-stat .val.ink { color: var(--ink); }
.mock-stat .delta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.mock-spark { height: 56px; margin-top: 10px; }
.mock-spark svg { width: 100%; height: 100%; display: block; }
.mock-spark .line {
  stroke: var(--moss);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 2s ease forwards .3s;
}
.mock-spark .area {
  fill: rgba(14,61,47,0.12);
  opacity: 0;
  animation: fadeArea .6s ease forwards 1.6s;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeArea { to { opacity: 1; } }

.mock-tx {
  border-top: 1px solid var(--line-light);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-tx .row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  padding: 8px 0;
}
.mock-tx .row .left {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 500;
}
.mock-tx .row .amt {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 13px;
}
.mock-tx .row .amt.pos { color: var(--success); }
.mock-tx .row .amt.neg { color: var(--danger); }

.mock-foot {
  padding: 14px 26px;
  border-top: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mock-foot .mark-sm {
  width: 16px; height: 16px; color: var(--ink);
}
