/* ZEON palette aligned with zeon-onramp-landing (port 5180) */
:root {
  --zeon-bg: #070708;
  --zeon-surface: #0f1012;
  --zeon-elevated: #16181c;
  --zeon-border: #252830;
  --zeon-muted: #8b919c;
  --accent: #c4f542;
  --accent-hover: #d4ff5c;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-display: "Sora", system-ui, sans-serif;
  --radius-card: 24px;
  --radius-input: 8px;
  --radius-pill: 999px;
  /* Cursor-follow glow (updated via JS) */
  --glow-x: 50vw;
  --glow-y: 50vh;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  min-height: 100svh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: #f4f4f5;
  background: var(--zeon-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.92em;
}

.app-wrapper {
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
}

/* Background grid (same idea as on-ramp landing) */
.app-wrapper::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to bottom, transparent 0%, var(--zeon-bg) 88%),
    linear-gradient(90deg, rgba(37, 40, 48, 0.35) 1px, transparent 1px),
    linear-gradient(rgba(37, 40, 48, 0.35) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  pointer-events: none;
}

/* Lit grid lines near cursor — smaller disc, intensity falls off with distance (mask gradient) */
.cursor-glow-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cursor-glow-grid {
  position: absolute;
  inset: 0;
  /* 1px grid strokes; radial mask = strong at cursor, fades with distance */
  background-image: linear-gradient(90deg, rgba(196, 245, 66, 0.58) 1px, transparent 1px),
    linear-gradient(180deg, rgba(196, 245, 66, 0.58) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 0 0;
  -webkit-mask-image: radial-gradient(
    circle 100px at var(--glow-x) var(--glow-y),
    #000 0%,
    rgba(0, 0, 0, 0.72) 28%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.1) 78%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle 100px at var(--glow-x) var(--glow-y),
    #000 0%,
    rgba(0, 0, 0, 0.72) 28%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.1) 78%,
    transparent 100%
  );
  mix-blend-mode: normal;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cursor-glow-wrap {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(7, 7, 8, 0.82);
  border-bottom: 1px solid rgba(37, 40, 48, 0.85);
}

.announcement-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(196, 245, 66, 0.2) 50%, var(--accent) 100%);
  opacity: 0.85;
}

.nav-bar {
  display: flex;
  justify-content: center;
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  padding: max(14px, env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 14px
    max(20px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .nav-inner {
    padding-left: max(15px, env(safe-area-inset-left, 0px));
    padding-right: max(15px, env(safe-area-inset-right, 0px));
  }
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-link-sm .logo-text {
  font-size: 1rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--zeon-bg);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 0 28px rgba(196, 245, 66, 0.4);
}

.logo-mark-sm {
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
}

.logo-text {
  font-size: 1.125rem;
  color: #fff;
}

.nav-links {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--zeon-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--zeon-bg);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

@media (min-width: 900px) {
  .nav-cta {
    display: inline-flex;
  }
}

.nav-cta:hover {
  background: #e4e4e7;
}

/* Mirrors HAR layout: .main.flex.py-2 */
/* Use block layout inside main — nested flex + percentage widths can collapse to
   min-content width in Chrome, squeezing sections into a narrow left column. */
.main {
  flex: 1 1 auto;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.main.flex {
  display: block;
}

.py-2 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.main-content {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Every section after the hero must span the full content width */
.main-content > section.marketing-section {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: start;
  padding: 24px 0 48px;
  width: 100%;
  min-width: 0;
}

.hero-copy,
.buy-card-wrap {
  min-width: 0;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr minmax(0, 0.95fr);
    gap: 56px;
    padding-top: 32px;
    align-items: start;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--zeon-border);
  background: rgba(15, 16, 18, 0.75);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--zeon-muted);
  margin: 0 0 16px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.lede {
  margin: 20px 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  color: var(--zeon-muted);
}

.trust-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.trust-list li {
  font-size: 0.8125rem;
  color: #a1a6b0;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--zeon-border);
  background: var(--zeon-elevated);
}

.convert-swap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}

.convert-slot[data-slot="fiat"] {
  order: 1;
}

.convert-slot[data-slot="crypto"] {
  order: 3;
}

.swap-dir-btn {
  order: 2;
  align-self: center;
  margin: 6px 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--zeon-border);
  background: rgba(22, 24, 28, 0.9);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.swap-dir-btn:hover {
  border-color: rgba(196, 245, 66, 0.45);
  background: rgba(196, 245, 66, 0.08);
  box-shadow: 0 0 24px rgba(196, 245, 66, 0.15);
}

.swap-dir-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.convert-swap.is-sell .convert-slot[data-slot="fiat"] {
  order: 3;
}

.convert-swap.is-sell .convert-slot[data-slot="crypto"] {
  order: 1;
}

.convert-swap .input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.convert-swap .input-row .input-grow {
  flex: none;
  width: 100%;
  min-width: 0;
}

.convert-swap .input-row .select-wrap,
.convert-swap .input-row .select-wrap-asset {
  flex-shrink: unset;
  min-width: 0;
  width: 100%;
  max-width: none;
}

.convert-swap .input-row .select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.quote-sync-hint {
  margin: 2px 0 16px;
  font-size: 0.75rem;
  color: #71717a;
  line-height: 1.45;
}

.buy-card-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  justify-self: center;
}

@media (min-width: 960px) {
  .buy-card-wrap {
    margin: 0;
    justify-self: end;
  }
}

.buy-card {
  border-radius: var(--radius-card);
  padding: 28px 24px 24px;
  background: linear-gradient(180deg, rgba(22, 24, 28, 0.95) 0%, rgba(15, 16, 18, 0.98) 100%);
  border: 1px solid var(--zeon-border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  max-width: 100%;
  min-width: 0;
}

.buy-card-head,
.flow-step-head {
  margin-bottom: 22px;
}

.buy-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.buy-card-sub {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  color: var(--zeon-muted);
}

.field-group {
  margin-bottom: 18px;
}

.field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--zeon-muted);
  margin-bottom: 8px;
}

.input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-input);
  border: 1px solid var(--zeon-border);
  background: rgba(7, 7, 8, 0.65);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus {
  border-color: rgba(196, 245, 66, 0.45);
  box-shadow: 0 0 0 3px rgba(196, 245, 66, 0.18);
}

.input-grow {
  flex: 1;
  min-width: 0;
}

.select-wrap {
  flex-shrink: 0;
  min-width: 100px;
}

.select-wrap-wide {
  flex: 1;
  min-width: 0;
}

.select {
  width: 100%;
  height: 100%;
  min-height: 48px;
  padding: 0 36px 0 14px;
  border-radius: var(--radius-input);
  border: 1px solid var(--zeon-border);
  background: rgba(7, 7, 8, 0.65);
  color: #fff;
  font-size: 0.9375rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%238b919c' stroke-width='2' stroke-linecap='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.select:focus {
  outline: none;
  border-color: rgba(196, 245, 66, 0.45);
  box-shadow: 0 0 0 3px rgba(196, 245, 66, 0.18);
}

.hint {
  margin: 8px 0 0;
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 500;
}

.summary {
  margin: 22px 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--zeon-border);
  background: rgba(7, 7, 8, 0.45);
  font-size: 0.8125rem;
  color: var(--zeon-muted);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary-row + .summary-row {
  margin-top: 8px;
}

.summary-row span:last-child {
  color: #d4d4d8;
  text-align: right;
}

.btn-primary {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--accent);
  color: var(--zeon-bg);
  box-shadow: 0 0 32px rgba(196, 245, 66, 0.22);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:active {
  transform: scale(0.99);
}

.fine-print {
  margin: 14px 0 0;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #6b7280;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--zeon-border);
  padding: 56px max(20px, env(safe-area-inset-right, 0px)) max(40px, env(safe-area-inset-bottom, 0px))
    max(20px, env(safe-area-inset-left, 0px));
  background: rgba(7, 7, 8, 0.5);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.footer-cols {
  display: grid;
  gap: 24px;
}

@media (min-width: 520px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    max-width: 420px;
  }
}

@media (min-width: 720px) {
  .footer-inner {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(280px, 1.2fr);
    grid-template-rows: auto auto;
    gap: 24px 40px;
    align-items: start;
  }

  .footer-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-cols {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
  }

  .footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding-top: 16px;
    border-top: 1px solid rgba(37, 40, 48, 0.6);
  }
}

.footer-col-title {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
}

.footer-col-text {
  margin: 8px 0 0;
  font-size: 0.8125rem;
  color: var(--zeon-muted);
  line-height: 1.45;
  max-width: 220px;
}

.footer-tagline {
  margin: 12px 0 0;
  max-width: 280px;
  font-size: 0.8125rem;
  color: var(--zeon-muted);
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--zeon-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-muted {
  font-size: 0.875rem;
  color: #52525b;
  cursor: default;
}

.copyright {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 20px;
  text-align: center;
  font-size: 0.6875rem;
  color: #52525b;
}

#solution,
#buy,
#about,
#when-to-use,
#faq,
#contact,
#blog,
#pricing {
  scroll-margin-top: 72px;
}

/* —— Hero CTA & visual (Kryptonim-style structure, ZEON styling) —— */
.hero-actions {
  margin-top: 20px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--accent);
  color: var(--zeon-bg);
  box-shadow: 0 0 32px rgba(196, 245, 66, 0.22);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-hero-primary:hover {
  background: var(--accent-hover);
}

.btn-hero-primary:active {
  transform: scale(0.99);
}

/* —— Marketing sections —— */
.marketing-section {
  padding: 52px 0;
  border-top: 1px solid rgba(37, 40, 48, 0.7);
  width: 100%;
  min-width: 0;
}

.contact-section {
  padding-bottom: 64px;
}

.section-kicker {
  display: block;
  width: 100%;
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--accent);
}

@media (min-width: 768px) {
  .section-kicker {
    font-size: 1.25rem;
    letter-spacing: 0.07em;
    margin-bottom: 32px;
  }
}

.feature-panel .section-kicker {
  margin-bottom: 36px;
}

.faq-section .section-kicker {
  margin-bottom: 18px;
}

.contact-copy .section-kicker {
  margin-bottom: 18px;
}

.feature-grid {
  display: grid;
  gap: 20px;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
  }
}

.feature-card {
  padding: 28px 22px 26px;
  border-radius: var(--radius-card);
  border: 1px solid var(--zeon-border);
  background: rgba(15, 16, 18, 0.72);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(196, 245, 66, 0.35);
  box-shadow: 0 0 0 1px rgba(196, 245, 66, 0.08), 0 20px 48px rgba(0, 0, 0, 0.35);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border-radius: 14px;
  background: rgba(196, 245, 66, 0.08);
  border: 1px solid rgba(196, 245, 66, 0.22);
  box-shadow: 0 0 24px rgba(196, 245, 66, 0.12);
}

.feature-icon-svg {
  width: 30px;
  height: 30px;
  display: block;
}

.feature-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
}

@media (min-width: 1024px) {
  .feature-title {
    font-size: 1.125rem;
  }
}

.feature-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--zeon-muted);
  line-height: 1.55;
}

/* —— When to use —— */
.when-use-grid {
  display: grid;
  gap: 20px;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .when-use-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.when-card {
  padding: 24px 22px;
  border-radius: var(--radius-card);
  border: 1px solid var(--zeon-border);
  background: linear-gradient(180deg, rgba(22, 24, 28, 0.55) 0%, rgba(15, 16, 18, 0.85) 100%);
}

.when-logo {
  margin-bottom: 16px;
}

.when-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.when-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--zeon-muted);
  line-height: 1.55;
}

/* —— FAQ —— */
.faq-heading {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: left;
}

.faq-intro {
  margin: 0 0 28px;
  max-width: 42rem;
  font-size: 1.0625rem;
  color: var(--zeon-muted);
  line-height: 1.55;
  text-align: left;
}

@media (min-width: 768px) {
  .faq-intro {
    font-size: 1.125rem;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--zeon-border);
  background: rgba(7, 7, 8, 0.45);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  padding-right: 40px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  margin-top: -4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0;
}

.faq-a {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 0.875rem;
  color: var(--zeon-muted);
  line-height: 1.55;
}

/* —— Contact —— */
.contact-inner {
  display: grid;
  gap: 32px;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .contact-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
    gap: 48px;
  }
}

.contact-heading {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: left;
}

.contact-lede {
  margin: 0 0 20px;
  max-width: 36rem;
  font-size: 1.0625rem;
  color: var(--zeon-muted);
  text-align: left;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .contact-lede {
    font-size: 1.125rem;
  }
}

.contact-form {
  padding: 24px 22px;
  border-radius: var(--radius-card);
  border: 1px solid var(--zeon-border);
  background: rgba(15, 16, 18, 0.7);
  width: 100%;
  min-width: 0;
}

.contact-form .field-group:last-of-type {
  margin-bottom: 16px;
}

.contact-privacy {
  margin: 0 0 12px;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #6b7280;
}

.contact-check {
  margin-bottom: 18px;
}

.contact-submit {
  width: 100%;
  margin-top: 4px;
}

.contact-status {
  margin: 0 0 12px;
  font-size: 0.875rem;
  padding: 12px 14px;
  border-radius: 10px;
}

.contact-status--ok {
  color: var(--accent);
  background: rgba(196, 245, 66, 0.08);
  border: 1px solid rgba(196, 245, 66, 0.25);
}

.contact-status--err {
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
}

/* —— Footer legal strip —— */
.footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 0;
  border-top: 1px solid rgba(37, 40, 48, 0.7);
  width: 100%;
  box-sizing: border-box;
}

.footer-legal p {
  margin: 0 0 14px;
  font-size: 0.6875rem;
  line-height: 1.55;
  color: #52525b;
}

.footer-legal strong {
  color: #71717a;
  font-weight: 600;
}

/* —— Multi-step checkout flow —— */
.flow-stepper {
  display: flex;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.flow-stepper-item {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--zeon-muted);
  border: 1px solid var(--zeon-border);
  background: rgba(7, 7, 8, 0.5);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  user-select: none;
}

.flow-stepper-item.is-done {
  background: rgba(196, 245, 66, 0.12);
  border-color: rgba(196, 245, 66, 0.35);
  color: var(--accent);
}

.flow-stepper-item.is-current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--zeon-bg);
  box-shadow: 0 0 20px rgba(196, 245, 66, 0.35);
}

.flow-steps {
  min-height: 280px;
}

.flow-step {
  display: none;
}

.flow-step.is-active {
  display: block;
}

.phone-phase-enter.is-hidden,
.phone-phase-code.is-hidden {
  display: none !important;
}

.flow-error {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  color: #f87171;
  line-height: 1.4;
}

.flow-actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: 20px;
}

.flow-actions .btn-primary {
  flex: 1;
}

.btn-secondary {
  flex-shrink: 0;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--zeon-border);
  background: transparent;
  color: var(--zeon-muted);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn-secondary:hover {
  color: #fff;
  border-color: #52525b;
  background: rgba(255, 255, 255, 0.04);
}

.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pay-card {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}

.pay-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--zeon-border);
  background: rgba(7, 7, 8, 0.45);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pay-card input:focus-visible + .pay-card-body {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pay-card input:checked + .pay-card-body {
  border-color: rgba(196, 245, 66, 0.55);
  box-shadow: 0 0 0 1px rgba(196, 245, 66, 0.2);
}

.pay-card:hover .pay-card-body {
  border-color: #3f3f46;
}

.pay-card-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.pay-card-desc {
  font-size: 0.75rem;
  color: var(--zeon-muted);
}

.step-note {
  margin: 0;
  font-size: 0.75rem;
  color: #71717a;
  line-height: 1.45;
}

.upload-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed var(--zeon-border);
  background: rgba(7, 7, 8, 0.35);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.upload-zone:hover {
  border-color: rgba(196, 245, 66, 0.35);
  background: rgba(196, 245, 66, 0.04);
}

.upload-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.upload-zone-text {
  font-size: 0.8125rem;
  color: var(--zeon-muted);
  text-align: center;
}

.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: #d4d4d8;
  cursor: pointer;
}

.check-row input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.input-textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.45;
}

.review-summary {
  margin-top: 0;
}

.success-lead {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  color: var(--zeon-muted);
}

.success-lead strong {
  color: var(--accent);
  font-weight: 600;
}

/* Version badge (bottom-left) */
.version-badge {
  position: fixed;
  left: 16px;
  bottom: 12px;
  z-index: 60;
  font-size: 0.75rem;
  color: var(--zeon-muted);
  background: rgba(7, 7, 8, 0.55);
  border: 1px solid rgba(37, 40, 48, 0.85);
  backdrop-filter: blur(10px);
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  pointer-events: none;
}

@media (max-width: 360px) {
  .version-badge {
    left: 12px;
    bottom: 10px;
    font-size: 0.72rem;
    padding: 6px 9px;
  }
}
