@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/barlow-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/barlow-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #030303;
  --surface: #0c0c0c;
  --surface-strong: #101010;
  --text: #f5f1e8;
  --muted: #d0cbc1;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f5f1e8;
  --accent-dark: #cbc4b7;
  --solana-green: #14f195;
  --solana-purple: #9945ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --container: min(980px, calc(100vw - 2rem));
  --site-header-height: 4.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.06), transparent 18%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.02), transparent 35%),
    var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

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

code {
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", "Liberation Mono", monospace;
}

.section,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.site-shell {
  padding: 0 0 3rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0.95rem max(1rem, calc((100vw - min(980px, calc(100vw - 2rem))) / 2));
  background: rgba(3, 3, 3, 0.58);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
  color: #f3eee4;
}

.brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
  z-index: 2;
}

.hero-nav {
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(3, 7, 16, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-nav a,
.footer-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-button {
  width: 3.3rem;
  height: 3.3rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  justify-content: center;
  gap: 0.28rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.menu-button:hover,
.menu-button[aria-expanded="true"] {
  border-color: rgba(20, 241, 149, 0.42);
  background: linear-gradient(135deg, rgba(20, 241, 149, 0.14), rgba(153, 69, 255, 0.16));
  color: #f4efe5;
}

.menu-button span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.menu-button[aria-expanded="true"] span {
  background: linear-gradient(90deg, var(--solana-green), var(--solana-purple));
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  color: var(--muted);
  font-size: 0.98rem;
  position: relative;
  z-index: 2;
}

.site-nav a:hover,
.footer-nav a:hover,
.text-link:hover {
  color: var(--text);
}

.section {
  padding: 1rem 0;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-top: 1.15rem;
}

.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 0;
  position: relative;
  overflow: clip;
  isolation: isolate;
}

.hero .hero-stage {
  width: var(--container);
  margin: 0 auto;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.88) brightness(0.68) contrast(1.06);
  transform: scale(1.03);
}

.hero-video:not([data-playing="true"]) {
  opacity: 0.96;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.8px),
    radial-gradient(circle at 26% 11%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.8px),
    radial-gradient(circle at 41% 18%, rgba(255, 255, 255, 0.65) 0 1px, transparent 1.7px),
    radial-gradient(circle at 63% 13%, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.8px),
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.6px),
    radial-gradient(circle at 9% 32%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.6px),
    linear-gradient(180deg, rgba(2, 4, 10, 0.34), rgba(2, 4, 10, 0.06) 34%, rgba(2, 4, 10, 0.54) 100%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.08), transparent 14%),
    radial-gradient(circle at 50% 30%, rgba(77, 105, 197, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(1, 2, 5, 0.08), rgba(1, 2, 5, 0.3) 58%, rgba(1, 2, 5, 0.64));
  pointer-events: none;
  z-index: 1;
}

.hero-stage {
  flex: 1;
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hero-stage-copy-only {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  min-height: 48vh;
}

.hero-stage-copy-only .hero-copy {
  align-items: center;
  text-align: center;
  max-width: 42rem;
}

.hero-stage-copy-only .hero-description {
  margin-inline: auto;
}

.hero-stage-copy-only .hero-cta-row {
  justify-content: center;
}

.hero-badge {
  width: min(152px, 27vw);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.38));
  opacity: 0.96;
  margin-top: 7.35rem;
  position: relative;
  z-index: 2;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  margin-bottom: 0;
  color: rgba(242, 238, 229, 0.82);
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-description {
  max-width: 36rem;
  color: #ebe5da;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-secondary-button {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-swap-card {
  position: relative;
  z-index: 2;
  padding: 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.76), rgba(7, 10, 18, 0.52));
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.hero-swap-card .button {
  min-height: 2.45rem;
  padding: 0.62rem 1rem;
  font-size: 0.88rem;
}

.swap-header-wallet-button {
  margin-bottom: 0.65rem;
  width: fit-content;
}

.swap-header-wallet-button-connected {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-right: 0.55rem;
}

.swap-wallet-address {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.swap-wallet-disconnect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 17, 15, 0.18);
  background: rgba(6, 17, 15, 0.12);
  color: inherit;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.swap-wallet-disconnect:hover {
  background: rgba(6, 17, 15, 0.22);
}

.swap-wallet-disconnect:active {
  transform: scale(0.96);
}

.swap-wallet-disconnect svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.hero-swap-card h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
}

.swap-widget-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.swap-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.6rem;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 241, 149, 0.18);
  background: rgba(20, 241, 149, 0.08);
  color: #dffcf0;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swap-status-pill.swap-status-live {
  border-color: rgba(20, 241, 149, 0.32);
  background: rgba(20, 241, 149, 0.14);
}

.swap-status-pill.swap-status-fallback {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.swap-status-pill.swap-status-warning {
  border-color: rgba(255, 196, 82, 0.26);
  background: rgba(255, 196, 82, 0.1);
  color: #ffe6ab;
}

.swap-widget-panel {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.swap-input-card {
  padding: 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.swap-input-card-accent {
  background: linear-gradient(180deg, rgba(20, 241, 149, 0.08), rgba(153, 69, 255, 0.08));
}

.swap-input-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.6rem;
  color: #d9d3c5;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.swap-token-balance {
  color: rgba(244, 239, 229, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: none;
  white-space: nowrap;
}

.swap-input-topline-pay {
  align-items: flex-start;
  margin-bottom: 0.6rem;
}

.swap-pay-topline-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start;
}

.swap-slippage-button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 1.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 241, 149, 0.28);
  background: linear-gradient(90deg, rgba(20, 241, 149, 0.18), rgba(153, 69, 255, 0.18));
  color: #dffcf0;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.swap-slippage-button:hover {
  border-color: rgba(20, 241, 149, 0.5);
  box-shadow: 0 0 0 1px rgba(153, 69, 255, 0.18);
}

.swap-slippage-button:active {
  transform: translateY(1px);
}

.swap-slippage-button svg {
  width: 0.78rem;
  height: 0.78rem;
  fill: currentColor;
  flex-shrink: 0;
}

.swap-slippage-button-value {
  line-height: 1;
}

.swap-slippage-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.swap-slippage-modal[hidden] {
  display: none;
}

.swap-slippage-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
  cursor: pointer;
}

.swap-slippage-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  padding: 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.98), rgba(7, 10, 18, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.swap-slippage-modal-title {
  margin: 0 0 1rem;
  color: #f4efe5;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.swap-slippage-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.swap-slippage-preset {
  min-height: 2.45rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f0ebe1;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.swap-slippage-preset:hover,
.swap-slippage-preset.is-active {
  border-color: rgba(20, 241, 149, 0.45);
  background: linear-gradient(90deg, rgba(20, 241, 149, 0.14), rgba(153, 69, 255, 0.14));
}

.swap-slippage-custom {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.swap-slippage-custom span {
  color: #d9d3c5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swap-slippage-custom-input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f4efe5;
  font: inherit;
  font-size: 0.95rem;
}

.swap-slippage-custom-input:focus {
  outline: none;
  border-color: rgba(20, 241, 149, 0.45);
}

.swap-slippage-warning {
  margin: -0.35rem 0 0.85rem;
  color: #ffe6ab;
  font-size: 0.82rem;
  line-height: 1.45;
}

.swap-slippage-warning[hidden] {
  display: none;
}

.swap-slippage-save-button {
  width: 100%;
}

.wallet-connect-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.wallet-connect-modal.is-open {
  display: flex;
}

.wallet-connect-modal[hidden] {
  display: none;
}

.wallet-connect-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
  cursor: pointer;
}

.wallet-connect-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 24rem);
  padding: 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.98), rgba(7, 10, 18, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.wallet-connect-modal-title {
  margin: 0 0 0.55rem;
  color: #f4efe5;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.wallet-connect-modal-subtitle {
  margin: 0 0 1rem;
  color: #c8c0b0;
  font-size: 0.84rem;
  line-height: 1.45;
}

.wallet-connect-options {
  display: grid;
  gap: 0.65rem;
}

.wallet-connect-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f4efe5;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.wallet-connect-option:hover,
.wallet-connect-option:focus-visible {
  border-color: rgba(20, 241, 149, 0.45);
  background: linear-gradient(90deg, rgba(20, 241, 149, 0.12), rgba(153, 69, 255, 0.12));
  outline: none;
}

.wallet-connect-option:active {
  transform: scale(0.985);
}

.wallet-connect-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.wallet-connect-option-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wallet-connect-option-copy {
  display: grid;
  gap: 0.15rem;
}

.wallet-connect-option-copy strong {
  font-size: 0.96rem;
  font-weight: 700;
}

.wallet-connect-option-copy span {
  color: #c8c0b0;
  font-size: 0.78rem;
  line-height: 1.35;
}

body.modal-open {
  overflow: hidden;
}

.swap-amount-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.swap-amount-preset {
  min-width: 2.35rem;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f0ebe1;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.swap-amount-preset:hover {
  border-color: rgba(20, 241, 149, 0.45);
  background: rgba(20, 241, 149, 0.08);
}

.swap-amount-preset:active {
  transform: translateY(1px);
}

.swap-input-card-accent .swap-amount-preset {
  border-color: rgba(20, 241, 149, 0.24);
  background: linear-gradient(90deg, rgba(20, 241, 149, 0.12), rgba(153, 69, 255, 0.12));
}

.swap-input-card-accent .swap-amount-preset:hover {
  border-color: rgba(20, 241, 149, 0.55);
  background: linear-gradient(90deg, rgba(20, 241, 149, 0.2), rgba(153, 69, 255, 0.2));
}

.swap-input-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.swap-output-stack {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.swap-output-kicker {
  color: rgba(217, 211, 197, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.swap-amount-input,
.swap-amount-output {
  min-width: 0;
  background: transparent;
  border: 0;
  color: #f5f1e8;
  font: inherit;
  font-size: clamp(1.42rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.swap-amount-input {
  width: 100%;
  padding: 0;
  appearance: textfield;
}

.swap-amount-input::placeholder {
  color: rgba(245, 241, 232, 0.28);
  opacity: 1;
}

.swap-amount-output.swap-amount-placeholder {
  color: rgba(245, 241, 232, 0.28);
}

.swap-amount-input::-webkit-outer-spin-button,
.swap-amount-input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.swap-amount-output {
  display: inline-flex;
  align-items: center;
}

.swap-token-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  min-height: 2.65rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #f4efe5;
  font-weight: 700;
}

.swap-token-pill-accent {
  background: linear-gradient(90deg, rgba(20, 241, 149, 0.18), rgba(153, 69, 255, 0.18));
}

.swap-token-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 4.9rem;
  min-height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.swap-token-select-wrap-accent {
  background: linear-gradient(90deg, rgba(20, 241, 149, 0.18), rgba(153, 69, 255, 0.18));
}

.swap-token-select {
  width: 100%;
  min-height: 2.15rem;
  padding: 0.26rem 1.6rem 0.26rem 0.65rem;
  border: 0;
  background: transparent;
  color: #f4efe5;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  appearance: none;
  cursor: pointer;
}

.swap-token-select-wrap::after {
  content: "▾";
  position: absolute;
  right: 0.7rem;
  color: rgba(244, 239, 229, 0.82);
  pointer-events: none;
}

.swap-token-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 6.4rem;
}

.swap-token-picker-accent .swap-token-picker-trigger {
  background: linear-gradient(90deg, rgba(20, 241, 149, 0.18), rgba(153, 69, 255, 0.18));
}

.swap-token-picker-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.15rem;
  padding: 0.2rem 0.55rem 0.2rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #f4efe5;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.swap-token-picker-trigger:hover,
.swap-token-picker-trigger[aria-expanded="true"] {
  border-color: rgba(20, 241, 149, 0.45);
}

.swap-token-picker-logo-wrap,
.swap-token-picker-option-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.swap-token-picker-logo-wrap {
  width: 1.35rem;
  height: 1.35rem;
}

.swap-token-picker-option-logo-wrap {
  width: 1.5rem;
  height: 1.5rem;
}

.swap-token-picker-logo,
.swap-token-picker-option-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 160ms ease;
}

.swap-token-picker-logo.is-loaded,
.swap-token-picker-option-logo.is-loaded {
  opacity: 1;
}

.swap-token-picker-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.62rem;
  font-weight: 800;
  color: #f4efe5;
  background: linear-gradient(135deg, rgba(20, 241, 149, 0.35), rgba(153, 69, 255, 0.35));
}

.swap-token-picker-symbol {
  line-height: 1;
}

.swap-token-picker-caret {
  margin-left: 0.1rem;
  color: rgba(244, 239, 229, 0.82);
  font-size: 0.72rem;
}

.swap-token-picker-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 30;
  min-width: 8.5rem;
  max-height: 14rem;
  overflow-y: auto;
  padding: 0.3rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 14, 22, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.swap-token-picker-menu[hidden] {
  display: none;
}

.swap-token-picker-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  color: #f4efe5;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.swap-token-picker-option:hover,
.swap-token-picker-option.is-selected {
  background: rgba(20, 241, 149, 0.12);
}

.swap-token-picker-option-label {
  line-height: 1;
}

.swap-flip-button {
  width: 2.4rem;
  height: 2.4rem;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #f4efe5;
  cursor: pointer;
}

.swap-flip-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.swap-custom-token-panel {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.swap-custom-token-field {
  display: grid;
  gap: 0.45rem;
}

.swap-custom-token-field span {
  color: #d9d3c5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swap-custom-token-input {
  width: 100%;
  min-height: 2.35rem;
  padding: 0.62rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #f5f1e8;
  font: inherit;
}

.swap-custom-token-input::placeholder {
  color: rgba(216, 209, 194, 0.6);
}

.swap-custom-token-input:focus {
  outline: 1px solid rgba(20, 241, 149, 0.32);
  border-color: rgba(20, 241, 149, 0.32);
}

.swap-custom-token-input.swap-custom-token-input-invalid {
  border-color: rgba(255, 142, 103, 0.7);
  outline: 1px solid rgba(255, 142, 103, 0.38);
}

.swap-custom-token-hint {
  margin: 0;
  color: rgba(216, 209, 194, 0.82);
  font-size: 0.84rem;
  line-height: 1.45;
}

.swap-custom-token-hint:empty {
  display: none;
}

.swap-custom-token-hint.swap-custom-token-hint-error {
  color: #ffe0aa;
}

.swap-custom-token-hint.swap-custom-token-hint-valid {
  color: #a8f3c8;
}

.swap-route-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.swap-input-card-accent .swap-route-chip {
  border-color: rgba(20, 241, 149, 0.18);
  background: linear-gradient(90deg, rgba(20, 241, 149, 0.08), rgba(153, 69, 255, 0.08));
}

.swap-route-chip span {
  color: rgba(216, 209, 194, 0.72);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.swap-route-chip strong {
  color: #ece7dd;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.swap-preview-grid {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.swap-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.swap-preview-row span,
.swap-card-note {
  color: #d8d1c2;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
}

.swap-card-note:empty {
  display: none;
}

.swap-card-note.swap-card-note-error {
  color: #ffe0aa;
}

.swap-preview-row strong {
  color: #f4efe5;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.swap-preview-row-accent strong {
  background: linear-gradient(90deg, var(--solana-green), #c8a3ff 68%, var(--solana-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.swap-card-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.swap-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.swap-card-button {
  width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  text-shadow: 0 10px 38px rgba(0, 0, 0, 0.72);
}

.hero-stage h1 {
  background: linear-gradient(90deg, var(--solana-green), #8cf7d3 34%, #d2b8ff 66%, var(--solana-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 38px rgba(0, 0, 0, 0.52);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.section p,
.footer-panel p {
  color: var(--muted);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
  font-size: 1.04rem;
  line-height: 1.82;
  letter-spacing: 0.01em;
}

.inline-links,
.inline-links,
.social-links,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button,
.text-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
  box-shadow: none;
  border: 1px solid var(--line);
}

.button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.button-small {
  min-height: 2.5rem;
  padding: 0.7rem 1rem;
}

.button-primary {
  background: var(--text);
  color: #090909;
  position: relative;
  z-index: 2;
}

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

.hero-swap-button {
  background: linear-gradient(90deg, var(--solana-green), #8ef6d6 42%, #b98dff 70%, var(--solana-purple));
  color: #06110f;
  border-color: rgba(20, 241, 149, 0.28);
  box-shadow: 0 16px 40px rgba(20, 241, 149, 0.16), 0 16px 46px rgba(153, 69, 255, 0.18);
}

.hero-swap-button:hover {
  background: linear-gradient(90deg, #2cf5a2, #a5ffe0 40%, #c8a3ff 70%, #aa64ff);
}

.text-button,
.text-link {
  color: var(--text);
  font-weight: 700;
  background: transparent;
  padding: 0;
}

.section-heading {
  max-width: 40rem;
}

.panel-kicker {
  margin-bottom: 0.75rem;
  color: rgba(245, 241, 232, 0.58);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.center-heading {
  margin: 0 auto;
  text-align: center;
}

.text-block {
  max-width: 36rem;
}

.panel-empty {
  min-height: 12rem;
}

.panel-large {
  min-height: 18rem;
}

.ordered-panel {
  padding: 2.25rem 2rem;
}

.ordered-panel h2,
.card-lite h3 {
  background: linear-gradient(90deg, var(--solana-green), #9ef8df 45%, #c7a4ff 72%, var(--solana-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.ordered-panel .section-heading p,
.card-lite p {
  color: #ddd8ce;
}

.ordered-panel .section-heading p,
.card-lite p,
.hero-swap-card p {
  text-wrap: pretty;
}

#pulseSubtitle {
  text-wrap: wrap;
}

.ordered-panel .section-heading p strong {
  color: #f2eee5;
}

.panel-centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links {
  justify-content: center;
  margin-bottom: 1rem;
}

.social-links-large {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.social-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-weight: 700;
}

.social-link-pill-compact {
  min-height: 2.9rem;
  padding: 0.65rem 1rem;
}

.social-link-pill:hover {
  background: rgba(255, 255, 255, 0.1);
}

.social-icon {
  width: 1.55rem;
  height: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  line-height: 1;
}

.social-icon svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.social-icon-x {
  font-size: 0.9rem;
  font-weight: 700;
}

.social-icon-github svg {
  width: 1rem;
  height: 1rem;
}

.drawer-link-leading {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.drawer-link-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.drawer-link-icon svg {
  width: 0.82rem;
  height: 0.82rem;
  fill: currentColor;
}

.drawer-link-icon-telegram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawer-link-icon-x svg,
.drawer-link-icon-github svg {
  width: 0.78rem;
  height: 0.78rem;
}

.social-links a,
.inline-links a,
.footer-nav a {
  color: var(--text);
}

.card-lite {
  padding: 1.5rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.card-lite h2 {
  font-size: 1.5rem;
}

.pulse-panel {
  display: grid;
  gap: 1.25rem;
}

.pulse-panel-heading {
  max-width: none;
}

.pulse-barky-swap-label {
  font-size: 1.12em;
  font-weight: 700;
  letter-spacing: 0.02em;
  background-image: linear-gradient(90deg, var(--solana-green), #c7a4ff 72%, var(--solana-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--solana-green);
}

.pulse-swap-bar {
  padding: 1rem 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.76), rgba(7, 10, 18, 0.52));
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pulse-swap-bar .swap-widget-header {
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pulse-swap-bar .swap-widget-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pulse-swap-bar .swap-header-slippage-button {
  min-height: 2.45rem;
  padding: 0.35rem 0.65rem;
}

.pulse-swap-bar h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.pulse-swap-bar .swap-header-wallet-button {
  margin-bottom: 0;
}

.pulse-swap-bar .swap-widget-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: stretch;
  margin-top: 0;
}

.pulse-swap-bar .swap-flip-button {
  align-self: center;
  margin: 0;
  width: 2.25rem;
  height: 2.25rem;
}

.pulse-swap-bar .swap-input-card {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.75rem;
  min-height: 100%;
}

.pulse-swap-bar .swap-input-main {
  flex: 1;
}

.pulse-swap-bar .swap-amount-presets,
.pulse-swap-bar .swap-route-chip {
  margin-top: auto;
  padding-top: 0.45rem;
}

.pulse-swap-bar .swap-route-chip {
  align-self: flex-start;
}

.pulse-swap-bar .swap-amount-input,
.pulse-swap-bar .swap-amount-output {
  flex: 1;
  min-width: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.1;
}

.pulse-swap-bar .swap-input-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.pulse-swap-bar .swap-custom-token-panel {
  width: min(100%, 26rem);
  margin-top: 0.65rem;
  margin-inline: auto;
  padding: 0.55rem 0.75rem;
  text-align: center;
}

.pulse-swap-bar .swap-custom-token-field {
  width: 100%;
}

.pulse-swap-bar .swap-custom-token-field span {
  display: block;
  font-size: 0.68rem;
  text-align: center;
}

.pulse-swap-bar .swap-custom-token-hint {
  text-align: center;
}

.pulse-swap-bar .swap-compact-footer {
  display: flex;
  justify-content: center;
  margin-top: 0.65rem;
}

.pulse-swap-bar .swap-card-actions {
  margin-top: 0;
  gap: 0.35rem;
  width: min(100%, 22rem);
  justify-items: center;
  text-align: center;
}

.pulse-swap-bar .swap-card-button {
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.pulse-feed {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.76), rgba(7, 10, 18, 0.52));
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pulse-panel .section-heading {
  max-width: none;
}

@media (min-width: 921px) {
  #pulseSubtitle {
    white-space: nowrap;
  }
}

.pulse-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.pulse-tab-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.pulse-tab {
  min-height: 2.2rem;
  padding: 0.35rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ddd8ce;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.pulse-tab:hover,
.pulse-tab.is-active {
  background: linear-gradient(90deg, rgba(20, 241, 149, 0.16), rgba(153, 69, 255, 0.16));
  color: #f4efe5;
}

.pulse-token-list {
  display: grid;
  gap: 0.65rem;
}

.pulse-token-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.pulse-token-row:hover {
  border-color: rgba(20, 241, 149, 0.34);
  background: linear-gradient(90deg, rgba(20, 241, 149, 0.08), rgba(153, 69, 255, 0.08));
  transform: translateY(-1px);
}

.pulse-token-row.is-scout:hover {
  border-color: rgba(153, 69, 255, 0.42);
  background: linear-gradient(90deg, rgba(153, 69, 255, 0.1), rgba(20, 241, 149, 0.08));
}

.pulse-token-swap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.pulse-chart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  align-self: stretch;
  border-left: 1px solid rgba(20, 241, 149, 0.24);
  background: linear-gradient(180deg, rgba(20, 241, 149, 0.08), rgba(153, 69, 255, 0.06));
  color: #8ef6d6;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.pulse-chart-link svg {
  width: 1.05rem;
  height: 1.05rem;
}

.pulse-chart-link:hover,
.pulse-chart-link:focus-visible {
  color: #fff;
  border-left-color: rgba(153, 69, 255, 0.42);
  background: linear-gradient(180deg, rgba(20, 241, 149, 0.18), rgba(153, 69, 255, 0.16));
}

.pulse-token-row:hover .pulse-chart-link {
  border-left-color: rgba(20, 241, 149, 0.38);
}

.pulse-token-logo-wrap {
  display: inline-flex;
  overflow: hidden;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
}

.pulse-token-logo,
.pulse-token-logo-fallback {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.pulse-token-logo {
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 160ms ease;
  background: rgba(255, 255, 255, 0.06);
}

.pulse-token-logo.is-loaded {
  opacity: 1;
}

.pulse-token-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(20, 241, 149, 0.18), rgba(153, 69, 255, 0.18));
  color: #f4efe5;
  font-size: 0.82rem;
  font-weight: 700;
}

.pulse-token-main {
  min-width: 0;
}

.pulse-token-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
  margin-bottom: 0.18rem;
}

.pulse-token-heading strong {
  color: #f4efe5;
  font-size: 0.96rem;
  line-height: 1.1;
}

.pulse-token-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  max-width: 100%;
}

.pulse-badge-short {
  display: none;
}

.pulse-token-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.18rem;
}

.pulse-token-title strong {
  color: #f4efe5;
  font-size: 0.96rem;
}

.pulse-token-name {
  overflow: hidden;
  color: rgba(216, 209, 194, 0.78);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-token-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  color: rgba(216, 209, 194, 0.82);
  font-size: 0.74rem;
}

.pulse-token-side {
  display: grid;
  justify-items: end;
  gap: 0.2rem;
  text-align: right;
}

.pulse-token-price {
  color: #f4efe5;
  font-size: 0.92rem;
  font-weight: 700;
}

.pulse-token-change {
  font-size: 0.78rem;
  font-weight: 700;
}

.pulse-token-change.is-up {
  color: #8ef6d6;
}

.pulse-token-change.is-down {
  color: #ffb4a2;
}

.pulse-token-change.is-flat {
  color: rgba(216, 209, 194, 0.78);
}

.pulse-token-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 241, 149, 0.22);
  background: rgba(20, 241, 149, 0.08);
  color: #c7ffe8;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-token-badge.is-verified {
  border-color: rgba(153, 69, 255, 0.24);
  background: rgba(153, 69, 255, 0.1);
  color: #e6d4ff;
}

.pulse-empty,
.pulse-loading,
.pulse-error {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: #ddd8ce;
  text-align: center;
}

.pulse-meta {
  margin: 0;
  color: rgba(216, 209, 194, 0.72);
  font-size: 0.78rem;
  text-align: center;
}

.pulse-meta:empty {
  display: none;
}

.pulse-disclaimer {
  margin: 0;
  color: rgba(216, 209, 194, 0.62);
  font-size: 0.72rem;
  text-align: center;
}

.pulse-disclaimer[hidden] {
  display: none;
}

.pulse-tab-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.1rem;
  margin-left: 0.35rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: rgba(153, 69, 255, 0.18);
  color: #e6d4ff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: middle;
}

.pulse-token-row.is-new {
  border-color: rgba(153, 69, 255, 0.42);
  animation: pulse-scout-enter 520ms ease;
}

.pulse-token-row.is-scout:hover {
  border-color: rgba(153, 69, 255, 0.42);
  background: linear-gradient(90deg, rgba(153, 69, 255, 0.1), rgba(20, 241, 149, 0.08));
}

.pulse-token-badge.is-safe {
  border-color: rgba(20, 241, 149, 0.34);
  background: rgba(20, 241, 149, 0.14);
  color: #b8ffe4;
}

.pulse-token-badge.is-early {
  border-color: rgba(153, 69, 255, 0.28);
  background: rgba(153, 69, 255, 0.12);
  color: #e6d4ff;
}

.pulse-token-badge.is-new {
  border-color: rgba(255, 196, 86, 0.34);
  background: rgba(255, 196, 86, 0.12);
  color: #ffe3a8;
}

@keyframes pulse-scout-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 2rem;
}

.contract-card {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  max-width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.contract-card code {
  overflow-wrap: anywhere;
  font-size: 0.96rem;
  color: var(--text);
}

.media-frame {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem;
}

.media-frame img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 18px;
  filter: saturate(0.85) contrast(1.05);
}

.site-footer {
  width: auto;
  margin: 1.15rem 0 0;
}

.footer-panel {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand img {
  width: 90px;
  filter: grayscale(1) brightness(1.08);
}

.footer-nav {
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav .footer-ecosystem-link {
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--solana-green);
  -webkit-appearance: none;
  appearance: none;
}

.footer-ecosystem-text {
  background-image: linear-gradient(90deg, var(--solana-green), #c7a4ff 72%, var(--solana-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: inherit;
  pointer-events: none;
}

.footer-nav .footer-ecosystem-link:hover .footer-ecosystem-text,
.footer-nav .footer-ecosystem-link:focus-visible .footer-ecosystem-text {
  background-image: linear-gradient(90deg, #4dffb5, #d9b8ff 72%, #b56dff);
}

.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.footer-social-links {
  gap: 0.75rem;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0.35rem 0 0;
  color: var(--muted);
  text-align: center;
}

.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 19;
  border: 0;
  background: rgba(2, 6, 12, 0.72);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  padding: 1rem 1rem 1.25rem;
  background:
    linear-gradient(180deg, rgba(20, 241, 149, 0.08), transparent 24%),
    linear-gradient(225deg, rgba(153, 69, 255, 0.12), transparent 40%),
    rgba(6, 8, 12, 0.98);
  border-left: 1px solid rgba(20, 241, 149, 0.22);
  box-shadow: -18px 0 48px rgba(153, 69, 255, 0.14);
  z-index: 20;
  overflow-y: auto;
}

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.drawer-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--solana-green), #c7a4ff 72%, var(--solana-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.drawer-close {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 241, 149, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #ece7dd;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.drawer-close:hover,
.drawer-close:focus-visible {
  border-color: rgba(153, 69, 255, 0.45);
  background: linear-gradient(135deg, rgba(20, 241, 149, 0.18), rgba(153, 69, 255, 0.2));
  color: #fff;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.78rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #ece7dd;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.drawer-nav a::after {
  content: "↗";
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(20, 241, 149, 0.78);
  flex-shrink: 0;
}

.drawer-nav a:hover,
.drawer-nav a:focus-visible {
  border-color: rgba(20, 241, 149, 0.34);
  background: linear-gradient(90deg, rgba(20, 241, 149, 0.12), rgba(153, 69, 255, 0.14));
  color: #fff;
  transform: translateX(-2px);
}

.drawer-nav a:hover::after,
.drawer-nav a:focus-visible::after {
  color: #d8b8ff;
}

.drawer-section-label {
  margin: 1rem 0 0.55rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236, 231, 221, 0.58);
}

@media (max-width: 920px) {
  .split-panel,
  .footer-panel {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-block: 0.85rem;
  }

  .hero {
    justify-content: flex-start;
    min-height: auto;
    padding-bottom: 0.35rem;
  }

  .hero.section {
    padding-bottom: 0.35rem;
  }

  .hero + .panel {
    margin-top: 0.65rem;
  }

  .hero-video {
    object-position: center 14%;
  }

  .hero-stage,
  .hero-stage.hero-stage-copy-only {
    flex: 0 0 auto;
    min-height: auto;
    align-items: start;
    align-content: start;
    padding-top: 0;
    padding-bottom: 0.5rem;
  }

  .hero-badge {
    width: min(140px, 34vw);
    margin-top: calc(var(--site-header-height) + 0.85rem);
  }

  .hero-copy {
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }

  .hero-nav {
    order: 3;
    width: 100%;
  }

  .swap-widget-header,
  .swap-input-topline,
  .swap-input-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .swap-input-topline-pay {
    flex-direction: row;
    align-items: flex-start;
    align-self: stretch;
    justify-content: space-between;
  }

  .swap-token-pill {
    min-width: 0;
  }

  .site-nav {
    gap: 0.75rem 1rem;
  }

  .hero-swap-card {
    width: 100%;
  }

  .pulse-swap-bar .swap-widget-panel {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .pulse-swap-bar .swap-flip-button {
    margin: 0 auto;
  }

  .pulse-swap-bar .swap-compact-footer {
    justify-content: center;
  }

  .pulse-swap-bar .swap-card-actions {
    width: 100%;
  }

  .pulse-swap-bar .swap-input-main {
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    width: 100%;
    flex: none;
    gap: 0.65rem;
  }

  .pulse-swap-bar .swap-input-card {
    min-height: auto;
    gap: 0.35rem;
  }

  .pulse-swap-bar .swap-amount-presets {
    margin-top: 0.55rem;
    padding-top: 0;
  }

  .pulse-swap-bar .swap-route-chip {
    margin-top: 0.75rem;
    padding-top: 0;
  }

  .pulse-swap-bar .swap-amount-input,
  .pulse-swap-bar .swap-amount-output {
    align-self: flex-start;
    width: 100%;
    text-align: left;
  }

  .pulse-swap-bar .swap-amount-output {
    justify-content: flex-start;
  }

  .pulse-swap-bar .swap-input-main > .swap-token-select-wrap,
  .pulse-swap-bar .swap-input-main > .swap-token-picker {
    align-self: flex-start;
  }

  .pulse-controls {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  .pulse-tab-group {
    justify-content: center;
    width: 100%;
    max-width: fit-content;
  }

  .footer-cta {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(1120px, calc(100vw - 1.25rem));
    --radius: 20px;
    --site-header-height: 4.1rem;
  }

  .site-header {
    padding-inline: max(0.625rem, calc((100vw - min(1120px, calc(100vw - 1.25rem))) / 2));
  }

  .panel {
    padding: 1.3rem;
  }

  .ordered-panel {
    padding: 1.45rem 1.3rem;
  }

  .hero-cta-row {
    width: 100%;
  }

  .hero-cta-row .button {
    width: 100%;
  }

  .swap-action-row {
    grid-template-columns: 1fr;
  }

  .swap-amount-input,
  .swap-amount-output {
    font-size: 1.42rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .site-nav {
    gap: 0.8rem;
    font-size: 0.92rem;
  }

  .menu-button {
    width: 3rem;
    height: 3rem;
  }

  .contract-card {
    align-items: flex-start;
  }

  .social-link-pill,
  .social-link-pill-compact {
    width: 100%;
    justify-content: center;
  }

  .footer-brand img {
    width: 72px;
  }

  .pulse-token-swap {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    row-gap: 0.2rem;
    align-items: start;
  }

  .pulse-token-logo-wrap,
  .pulse-token-logo-fallback {
    grid-row: 1 / span 2;
  }

  .pulse-token-main {
    grid-column: 2;
    grid-row: 1;
  }

  .pulse-token-side {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    text-align: left;
  }

  .pulse-token-badge {
    min-height: 1.25rem;
    padding: 0.08rem 0.38rem;
    font-size: 0.58rem;
  }

  .pulse-badge-full {
    display: none;
  }

  .pulse-badge-short {
    display: inline;
  }

  .pulse-chart-link {
    width: 2.55rem;
  }
}