:root {
  --bg: #0a0b12;
  --card: #12141f;
  --card-2: #171a28;
  --line: #262a3d;
  --text: #eef1f8;
  --muted: #9aa2bd;
  --accent: #4f7cff;
  --accent-2: #22d3a6;
  --soon: #f5a623;
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(79, 124, 255, 0.18), transparent 70%),
    radial-gradient(50% 50% at 90% 20%, rgba(34, 211, 166, 0.14), transparent 70%);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark { font-size: 22px; }
.brand-name { font-size: 19px; letter-spacing: -0.02em; }

.pill {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.pill-soon { color: var(--soon); border-color: rgba(245, 166, 35, 0.4); background: rgba(245, 166, 35, 0.08); }
.pill-live { color: var(--accent-2); border-color: rgba(34, 211, 166, 0.4); background: rgba(34, 211, 166, 0.08); }

.hero {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 28px 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 16px; }
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub { font-size: 18px; color: var(--muted); line-height: 1.5; max-width: 460px; }
.feats { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.feats li { color: var(--text); font-size: 15px; }

/* ---- Swap card ---- */
.swap-card {
  position: relative;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}

.soon-banner {
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: var(--soon);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 9px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.field {
  background: #0d0f19;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.field + .field { margin-top: 10px; }

.field-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.field-head label { font-size: 13px; color: var(--muted); }
.hint { font-size: 12px; color: var(--muted); }

.row { display: flex; align-items: center; gap: 10px; }
.row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  width: 100%;
}
.row input::placeholder { color: #4b5270; }

.row select {
  background: #1b1f30;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  min-width: 96px;
}

.addr {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.addr::placeholder { color: #4b5270; font-family: inherit; }

.flip {
  display: block;
  margin: -6px auto;
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.flip:hover { transform: rotate(180deg); border-color: var(--accent); }

.quote-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 2px 4px;
  min-height: 18px;
  display: grid;
  gap: 4px;
}

.cta {
  width: 100%;
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.05s ease;
}
.cta:active { transform: translateY(1px); }
.cta:disabled {
  background: #2a2f45;
  color: #8b93b0;
  cursor: not-allowed;
}

.foot-note { text-align: center; font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

.site-foot {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 30px;
}
