@import url("./cta.css");
@import url("/wallet-card.css?v=20260724-wallet-spacing1");

:root {
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-glow: rgba(0, 229, 160, 0.24);
  --text-primary: #f0f0f5;
  --text-secondary: #9090a8;
  --text-muted: #66667d;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

#signupIntroCopy a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

#signupIntroCopy a:hover,
#signupIntroCopy a:focus-visible {
  color: var(--text-primary);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.glow-hero {
  top: 0;
  left: 50%;
  width: 620px;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation: glowDriftHero 16s ease-in-out infinite;
}

.glow-lower {
  right: -10%;
  bottom: 8%;
  width: 420px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.12) 0%, transparent 72%);
  animation: glowDriftLower 18s ease-in-out infinite;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

header.container {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  max-width: none;
  padding-top: 0;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  color: var(--accent);
  filter: invert(75%) sepia(94%) saturate(1932%) hue-rotate(104deg) brightness(99%) contrast(102%);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-name {
  display: block;
}

.brand-name span {
  color: var(--accent);
}

.brand-tagline {
  margin-top: 3px;
  color: var(--text-secondary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-secondary);
  white-space: nowrap;
}

.nav-links .nav-cta {
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  border-radius: 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.22);
  box-shadow: none;
}

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

.nav-cta {
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.22);
}

.nav-cta:hover {
  color: var(--accent);
  background: rgba(0, 229, 160, 0.16);
  border-color: rgba(0, 229, 160, 0.34);
}

.button:disabled,
.button[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: saturate(0.55);
}

.button:disabled:hover,
.button[disabled]:hover {
  transform: none;
  box-shadow: none;
}

.button-primary {
  color: var(--bg-dark);
  background: var(--accent);
}

.button-secondary {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.button-full {
  width: 100%;
  border: 0;
  cursor: pointer;
}

#buyVowButton.button-secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: rgba(0, 229, 160, 0.08);
}

#individualVowPrefundBox,
#individualVowPrefundBox .wallet-panel-head,
#individualVowPrefundBox .wallet-panel-head > div,
#individualVowPrefundBox .wallet-copy {
  min-width: 0;
  max-width: 100%;
}

#individualVowPrefundBox .wallet-copy,
#validatorAddressText {
  overflow-wrap: anywhere;
  word-break: break-word;
}

#validatorAddressText {
  color: var(--text-primary);
}

#buyVowButton {
  max-width: 100%;
  justify-self: stretch;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero {
  padding: 72px 0 88px;
}

.hero,
.section {
  position: relative;
  isolation: isolate;
}

.hero::before,
.hero::after,
.section::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero::before {
  top: 0;
  bottom: 0;
  width: 100vw;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 229, 160, 0.1), transparent 30%),
    radial-gradient(circle at 16% 80%, rgba(0, 229, 160, 0.07), transparent 24%),
    radial-gradient(circle at 84% 26%, rgba(0, 229, 160, 0.05), transparent 22%),
    radial-gradient(circle at 82% 72%, rgba(110, 126, 255, 0.05), transparent 28%),
    linear-gradient(180deg, #090b10, #05070b);
}

.hero::after {
  top: 18px;
  width: min(1120px, calc(100vw - 40px));
  height: calc(100% - 36px);
  z-index: -1;
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 28%, rgba(0, 229, 160, 0.22), transparent 22%),
    radial-gradient(circle at 82% 70%, rgba(0, 229, 160, 0.16), transparent 20%);
  filter: blur(18px);
  opacity: 0.95;
}

main > section:nth-of-type(2n)::before {
  top: 22px;
  bottom: 22px;
  width: min(1180px, calc(100vw - 48px));
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 78%, rgba(0, 229, 160, 0.08), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(18px);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

main > section:nth-of-type(2n + 1)::before {
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.03), transparent 22%),
    radial-gradient(circle at 16% 80%, rgba(0, 229, 160, 0.04), transparent 24%),
    linear-gradient(180deg, #0a0c11, #06080c);
}

.pill,
.section-kicker,
.panel-label,
.engine-chip {
  color: var(--accent);
}

.section-kicker-white {
  color: var(--text-primary);
}

.side-card .section-kicker-white {
  color: var(--text-primary);
}

.pill {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-dim);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero .pill {
  margin-left: -30px;
}

.hero > *,
.section-head,
.feature-grid > *,
.engine-grid > *,
.stack-grid > *,
.api-grid > *,
.api-grid-wide > *,
.how-it-works-detail,
.how-it-works-diagram,
.embed-grid > *,
.payments-grid > *,
.cta-shell > * {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.hero.is-visible > *,
.section.is-visible .section-head,
.section.is-visible .feature-grid > *,
.section.is-visible .engine-grid > *,
.section.is-visible .stack-grid > *,
.section.is-visible .api-grid > *,
.section.is-visible .api-grid-wide > *,
.section.is-visible .how-it-works-detail,
.section.is-visible .how-it-works-diagram,
.section.is-visible .embed-grid > *,
.section.is-visible .payments-grid > *,
.section.is-visible .cta-shell > * {
  opacity: 1;
  transform: translateY(0);
}

.hero > *:nth-child(1),
.feature-grid > *:nth-child(1),
.engine-grid > *:nth-child(1),
.stack-grid > *:nth-child(1),
.api-grid > *:nth-child(1),
.api-grid-wide > *:nth-child(1),
.embed-grid > *:nth-child(1),
.payments-grid > *:nth-child(1),
.cta-shell > *:nth-child(1) {
  --reveal-delay: 80ms;
}

.hero > *:nth-child(2),
.feature-grid > *:nth-child(2),
.engine-grid > *:nth-child(2),
.stack-grid > *:nth-child(2),
.api-grid > *:nth-child(2),
.api-grid-wide > *:nth-child(2),
.embed-grid > *:nth-child(2),
.payments-grid > *:nth-child(2),
.cta-shell > *:nth-child(2) {
  --reveal-delay: 160ms;
}

.hero > *:nth-child(3),
.feature-grid > *:nth-child(3),
.stack-grid > *:nth-child(3),
.api-grid > *:nth-child(3),
.api-grid-wide > *:nth-child(3),
.payments-grid > *:nth-child(3) {
  --reveal-delay: 240ms;
}

.hero h1,
.section-head h2,
.engine-header h3,
.stack-card h3,
.feature-card h3,
.payment-card h3,
.cta-copy h2 {
  font-family: "Space Grotesk", sans-serif;
}

.hero h1 {
  font-size: clamp(1.25rem, 3.5vw, 3.75rem);
  line-height: 1.3;
  letter-spacing: -0.05em;
  margin: 0 0 24px;
  max-width: 760px;
}

.hero h1 span {
  color: var(--accent);
  display: block;
}

.hero-sub {
  max-width: 620px;
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-actions .button {
  padding: 9px 16px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.hero-split-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: calc(100% + 60px);
  margin-left: -30px;
}

.hero-split-panel {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-lead-panel {
  justify-content: center;
  padding: 34px 30px;
}

.hero-lead-panel h2 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(1.6rem, 2.4vw, 2.45rem);
  line-height: 1;
}

.hero-lead-panel h2 span {
  display: block;
  margin: 0.4em 0;
  color: var(--accent);
  font-size: 1em;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-split-panel .section-kicker {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-split-panel h2 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-split-copy {
  margin: 0;
  color: var(--text-secondary) !important;
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-split-panel .button {
  margin-top: 22px;
  align-self: center;
}

.stat {
  padding-right: 18px;
}

.stat-number {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
}

.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 6px;
}

.hero-panel,
.engine-side {
  display: grid;
  gap: 18px;
}

.panel-card,
.feature-card,
.engine-card,
.side-card,
.stack-card,
.payment-card,
.lead-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.panel-card,
.engine-card,
.side-card,
.stack-card,
.payment-card {
  padding: 24px;
}

.panel-card:hover,
.feature-card:hover,
.engine-card:hover,
.side-card:hover,
.stack-card:hover,
.payment-card:hover,
.embed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  border-color: rgba(0, 229, 160, 0.22);
}

.spotlight {
  padding: 28px;
  animation: cardFloat 8s ease-in-out infinite;
}

.panel-label,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.receipt-line.muted {
  color: var(--text-secondary);
}

.receipt-line.total {
  padding-top: 18px;
  margin-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
}

.accent {
  color: var(--accent);
}

.payment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

@keyframes glowDriftHero {
  0%,
  100% {
    transform: translateX(-50%) translateY(0px) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateX(-50%) translateY(18px) scale(1.06);
    opacity: 0.78;
  }
}

@keyframes glowDriftLower {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.9;
  }

  50% {
    transform: translate3d(-18px, -12px, 0) scale(1.08);
    opacity: 0.68;
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

.payment-tags span,
.checkbox-row span,
.engine-chip {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 8px 12px;
  font-size: 0.82rem;
}

.mini p,
.feature-card p,
.stack-card p,
.payment-card p,
.side-card p,
.lead-form label {
  color: var(--text-secondary);
}

.section {
  padding: 92px 0;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
  max-width: 760px;
}

.section-head.split {
  max-width: none;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
}

.section-head.split > div {
  display: grid;
  gap: 16px;
}

.section-head h2,
.cta-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-head h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 680px;
}

.feature-grid,
.stack-grid,
.payments-grid,
.embed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 26px;
}

.how-it-works-diagram {
  margin: 26px 0 0;
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.how-it-works-diagram img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #f7f7f7;
}

.how-it-works-detail {
  margin: 26px 0 0;
  color: var(--text-secondary);
  max-width: 980px;
}

.how-it-works-detail small {
  font-size: 0.8em;
}

.feature-step {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
}

.engine-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.embed-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.integration-checkout-preview {
  display: block;
  width: 100%;
  height: auto;
  align-self: start;
  justify-self: center;
  border-radius: 32px;
  border: 2px solid var(--green);
  box-sizing: border-box;
}

.whole-integration-card {
  display: flex;
  flex-direction: column;
}

.whole-integration-card__action {
  margin-top: auto;
  align-self: flex-start;
}

.api-hero {
  padding-bottom: 64px;
}

.api-hero-grid {
  align-items: stretch;
}

.api-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.api-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#sample-application .api-grid-wide {
  margin-bottom: 20px;
}

.endpoint-card {
  display: grid;
  gap: 14px;
}

.endpoint-card h3,
.side-card h3 {
  margin: 0;
}

.endpoint-note {
  margin: 0;
  color: var(--text-secondary);
}

.compact-list {
  margin-top: 12px;
}

.compact-list li code,
.endpoint-card code,
.stack-card code,
.feature-card code,
.side-card code {
  color: var(--text-primary);
  font-family: "JetBrains Mono", monospace;
}

.file-demo > code {
  display: block;
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(5, 10, 14, 0.92);
  border: 1px solid var(--border);
  overflow-x: auto;
  color: var(--text-primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.6;
  white-space: pre;
}

.code-block {
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(5, 10, 14, 0.92);
  border: 1px solid var(--border);
  overflow-x: auto;
}

.code-block:not(pre) {
  display: block;
  color: var(--text-primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.6;
  white-space: pre;
}

.code-block code {
  color: var(--text-primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
  white-space: pre;
}

.file-stack {
  display: grid;
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 18px;
}

.file-demo {
  display: grid;
  gap: 10px;
}

.file-demo-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.file-demo-head span:first-child {
  color: var(--text-primary);
  font-weight: 700;
}

.embed-card {
  width: 80%;
  justify-self: center;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(0, 229, 160, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(0, 229, 160, 0.14);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.embed-browser {
  display: flex;
  gap: 8px;
  padding: 0 0 14px;
}

.embed-browser span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.embed-preview-shell {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  background: #081218;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.embed-frame {
  width: 90%;
  align-self: center;
  display: block;
  flex: 0 0 auto;
  min-height: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  object-fit: cover;
  object-position: top center;
}

.embed-preview-head h3,
.embed-preview-card h3 {
  margin-bottom: 8px;
}

.embed-preview-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
}

.embed-preview-bottom {
  grid-template-columns: 1fr 1fr;
}

.embed-preview-card {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
}

.embed-address {
  margin: 16px 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 700;
  word-break: break-all;
}

.embed-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.embed-qr {
  width: min(220px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 20px;
  background:
    linear-gradient(45deg, #000 25%, transparent 25%) 0 0/24px 24px,
    linear-gradient(-45deg, #000 25%, transparent 25%) 0 12px/24px 24px,
    linear-gradient(45deg, transparent 75%, #000 75%) 12px -12px/24px 24px,
    linear-gradient(-45deg, transparent 75%, #000 75%) -12px 0/24px 24px,
    #fff;
  color: #081218;
  font-weight: 800;
}

.embed-copy {
  margin: 0;
  color: var(--text-secondary);
}

.wallet-inline {
  display: grid;
  gap: 12px;
}

.agreement-preview {
  margin-top: 14px;
}

.engine-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.engine-header h3 {
  margin: 8px 0 0;
  font-size: 1.5rem;
}

.slider-group {
  margin-top: 28px;
}

.slider-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.slider-group input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.slider-meta {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.engine-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.engine-metrics > div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.engine-metrics > div.metric-pulse {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 160, 0.22);
  background: rgba(0, 229, 160, 0.08);
  box-shadow: 0 18px 40px rgba(0, 229, 160, 0.08);
}

.metric-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.bullet-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text-secondary);
}

.bullet-list li + li {
  margin-top: 10px;
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 40px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-shell {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 26px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(10, 10, 15, 0.86);
  color: var(--text-primary);
  padding: 14px 16px;
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
  min-height: 180px;
}

#recruiterForm select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2300e5a0' d='m1 1 5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}

.lead-summary p {
  margin: 0;
  color: var(--text-secondary);
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signup-page {
  padding-top: 6px;
  padding-bottom: 72px;
}

.signup-shell {
  padding-top: 0;
}

.signup-shell.section {
  padding-top: 12px;
  padding-bottom: 40px;
}

.signup-shell .section-head {
  gap: 10px;
  margin-bottom: 14px;
  opacity: 1;
  transform: none;
  transition: none;
}

.signup-shell .section-head h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.signup-shell .section-head p {
  max-width: 760px;
}

.signup-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.signup-main-column {
  display: grid;
  min-width: 0;
}

.signup-tabs {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 580px;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 16px;
}

.signup-wallet-panel {
  margin-bottom: 24px;
  width: 100%;
  max-width: 580px;
  min-width: 0;
}

.signup-tab {
  flex: 1 1 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  padding: var(--cta-padding-y) var(--cta-padding-x);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.signup-tab:hover {
  color: var(--text-primary);
}

.signup-tab.is-active {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
  box-shadow: 0 18px 40px rgba(0, 229, 160, 0.2);
}

.merchant-flow #merchantNokNokEnrollmentPrompt .button-secondary {
  min-width: 220px;
  justify-self: start;
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}

.signup-panels {
  display: grid;
  width: 100%;
  max-width: 580px;
  min-width: 0;
}

.signup-panels > * {
  width: 100%;
  justify-self: stretch;
  min-width: 0;
}

.signup-form {
  width: 100%;
  max-width: 580px;
  padding: 26px;
}

#individualForm,
#signupForm {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.signup-form-intro {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  max-width: 580px;
}

.signup-context-noknok .engine-side {
  display: none !important;
}

.signup-context-noknok .signup-grid {
  display: block;
  max-width: 580px;
}

.signup-context-noknok .signup-panels,
.signup-context-noknok .signup-form {
  max-width: 580px;
}

.signup-context-noknok .signup-form {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.signup-context-noknok .signup-wallet-panel {
  margin-bottom: 16px;
}

.signup-context-noknok #individualAccountPanel label {
  color: var(--text-primary);
  font-weight: 700;
}

.noknok-close-bar {
  display: none;
}

.signup-context-noknok .noknok-close-bar {
  position: sticky;
  bottom: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  padding: 14px 20px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.94);
  backdrop-filter: blur(14px);
}

.signup-context-noknok .noknok-close-bar .button {
  width: min(320px, 100%);
}

#noknokCloseButton.button-secondary {
  border: 1px solid var(--accent);
  border-radius: var(--cta-radius);
  color: var(--accent);
  background: rgba(0, 229, 160, 0.08);
}

.wallet-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  min-width: 0;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.agreement-panel {
  gap: 16px;
}

.agreement-copy {
  display: grid;
  gap: 12px;
  max-height: 340px;
  overflow-y: auto;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.72);
}

.agreement-copy p {
  margin: 0;
  color: var(--text-secondary);
}

.agreement-checkbox {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  color: var(--text-primary);
  min-width: 0;
}

.agreement-checkbox input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 0;
  padding: 0;
  flex: 0 0 18px;
  accent-color: var(--accent);
}

.agreement-checkbox span {
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 0;
  padding-top: 0;
}

.signup-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signup-two-col > * {
  min-width: 0;
}

.wallet-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.wallet-panel-head-split {
  display: grid;
  gap: 14px;
}

.wallet-panel-copy {
  display: grid;
  gap: 10px;
}

.wallet-panel-status-row {
  display: grid;
  gap: 16px;
  align-items: start;
}

.wallet-copy {
  margin: 0;
  color: var(--text-secondary);
}

.wallet-button {
  justify-self: start;
  margin: 0;
  cursor: pointer;
}

.wallet-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.wallet-status {
  flex: 1 1 auto;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 229, 160, 0.18);
  background: rgba(0, 229, 160, 0.08);
  color: var(--text-primary);
}

.wallet-status[data-state="error"] {
  border-color: rgba(255, 141, 87, 0.22);
  background: rgba(255, 141, 87, 0.1);
}

.merchant-flow {
  display: grid;
  gap: 18px;
}

.merchant-flow-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(18, 18, 26, .78);
}

.merchant-flow-card > .section-kicker {
  margin: 0;
}

/* Keep the wallet-install tile identical to NokNok's store buttons. */
.store-button {
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-rows: auto auto;
  flex: 0 0 164px;
  width: 164px;
  min-height: 58px;
  align-items: center;
  column-gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: #f6fbf8;
  color: #0b1718;
  font-size: 1rem;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease;
  text-transform: capitalize;
}

.store-button:hover,
.store-button:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.store-icon {
  position: static;
  grid-column: 1;
  grid-row: 1 / span 2;
  place-self: center;
  width: 28px;
  height: 28px;
  object-fit: contain;
  fill: currentColor;
}

.store-kicker,
.store-name {
  grid-column: 2;
  white-space: nowrap;
}

.store-kicker {
  color: #2f3b3d;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
}

.store-name {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.05;
}

.wallet-status[data-state="pending"] {
  border-color: rgba(255, 214, 102, 0.28);
  background: rgba(255, 214, 102, 0.12);
}

.wallet-status[data-state="success"] {
  border-color: rgba(0, 229, 160, 0.24);
  background: rgba(0, 229, 160, 0.1);
}

.wallet-address {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95em;
  word-break: break-all;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.social-links-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.social-link:hover {
  color: var(--accent);
}

.social-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.16);
  color: var(--accent);
  flex: 0 0 auto;
}

.social-link-icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

.rail-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.rail-fieldset legend {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.signup-result {
  min-height: 240px;
}

.result-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.result-block p {
  margin: 0;
}

.result-block p + p {
  margin-top: 10px;
  color: var(--text-secondary);
}

.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-label {
  color: var(--text-secondary);
  flex: 0 0 auto;
}

.detail-value {
  color: var(--text-primary);
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  word-break: break-word;
}

.api-key-block {
  display: block;
  margin: 12px 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  overflow-wrap: anywhere;
}

.integration-steps {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.steps-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text-secondary);
}

.steps-list li + li {
  margin-top: 8px;
}

.consulting-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.16);
}

.consulting-box p {
  margin: 0;
}

.consulting-box p + p {
  margin-top: 10px;
  color: var(--text-secondary);
}

.footer {
  padding: 0 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
}

.footer .brand {
  padding-top: 24px;
}

.footer p {
  padding-top: 24px;
  margin: 0;
  max-width: 420px;
  text-align: right;
}

.footer .portfolio-attribution a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .section-head.split,
  .engine-grid,
  .cta-shell,
  .signup-grid,
  .embed-grid,
  .embed-preview-grid,
  .embed-preview-bottom {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .stack-grid,
  .api-grid,
  .payments-grid,
  .stats-row,
  .hero-split-panels,
  .engine-metrics {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .footer {
    flex-direction: column;
  }

  .footer p {
    text-align: left;
  }

  .embed-frame {
    min-height: 760px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero > *,
  .section-head,
  .feature-grid > *,
  .engine-grid > *,
  .stack-grid > *,
  .embed-grid > *,
  .payments-grid > *,
  .cta-shell > *,
  .engine-metrics > div,
  .panel-card,
  .feature-card,
  .engine-card,
  .side-card,
  .stack-card,
  .payment-card,
  .embed-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero-actions,
  .slider-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-shell {
    padding: 22px;
  }

  .wallet-panel-head {
    flex-direction: column;
  }

  .signup-two-col {
    grid-template-columns: 1fr;
  }
}
