@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));
}

* {
  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;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.2rem 0 2rem;
}

.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,
.drawer-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 span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
}

.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 .site-header,
.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::before {
  content: "";
  position: absolute;
  top: -0.4rem;
  left: 50%;
  width: min(92vw, 820px);
  height: min(64vw, 500px);
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.12), transparent 12%),
    radial-gradient(circle at 50% 32%, rgba(85, 107, 194, 0.14), transparent 24%),
    radial-gradient(circle at 50% 56%, rgba(255, 255, 255, 0.03), transparent 40%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 1;
}

.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.5rem;
  border-radius: 28px;
  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 24px 60px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.swap-card-kicker {
  margin-bottom: 0.8rem;
  color: rgba(242, 238, 229, 0.76);
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-swap-card h2 {
  margin-bottom: 0.75rem;
}

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

.swap-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 241, 149, 0.18);
  background: rgba(20, 241, 149, 0.08);
  color: #dffcf0;
  font-size: 0.78rem;
  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.75rem;
  margin-top: 1.2rem;
}

.swap-input-card {
  padding: 1rem;
  border-radius: 20px;
  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.75rem;
  margin-bottom: 0.85rem;
  color: #d9d3c5;
  font-size: 0.8rem;
  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-amount-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.swap-amount-preset {
  min-width: 2.75rem;
  padding: 0.35rem 0.7rem;
  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.78rem;
  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: 1rem;
}

.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.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

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

.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: 5.75rem;
  min-height: 2.65rem;
  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.65rem;
  padding: 0.35rem 2rem 0.35rem 0.85rem;
  border: 0;
  background: transparent;
  color: #f4efe5;
  font: inherit;
  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-flip-button {
  width: 3rem;
  height: 3rem;
  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.75rem;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  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.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swap-custom-token-input {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.85rem 1rem;
  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.swap-custom-token-hint-error {
  color: #ffe0aa;
}

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

.swap-preview-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.swap-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  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.96rem;
  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.85rem;
  margin-top: 1.2rem;
}

.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,
.step 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;
}

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

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

.community-block,
.steps-panel {
  text-align: 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-links a,
.inline-links a,
.footer-nav a {
  color: var(--text);
}

.steps-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.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;
}

.tracker-panel .section-heading {
  max-width: 36rem;
}

.tracker-panel {
  display: grid;
  gap: 1.5rem;
}

.tracker-embed-shell {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.tracker-embed {
  width: 100%;
  height: 620px;
  border: 0;
  display: block;
  background: #05070d;
}

.tracker-actions {
  display: flex;
  justify-content: center;
}

.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-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

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

.copyright {
  color: var(--muted);
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 84vw);
  padding: 5.5rem 1.2rem 1.2rem;
  background: rgba(6, 6, 6, 0.96);
  border-left: 1px solid var(--line);
  z-index: 20;
}

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

.drawer-nav a {
  color: var(--text);
  font-size: 1.05rem;
}

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

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

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

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

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

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

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

  .site-header {
    padding-bottom: 1rem;
  }

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

  .hero-stage {
    min-height: 62vh;
  }

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

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

  .tracker-embed {
    height: 520px;
  }
}

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

  .panel {
    padding: 1.3rem;
  }

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

  .hero-badge {
    margin-top: 5.6rem;
  }

  .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.8rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.65rem;
  }

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

  .hero-badge {
    width: min(140px, 34vw);
    margin-top: 7rem;
  }

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

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

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

  .tracker-embed {
    height: 420px;
  }

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

  .hero::after {
    top: 1rem;
    width: min(96vw, 500px);
  }

  .hero-stage::before {
    top: 1.2rem;
    width: min(100vw, 560px);
    height: 280px;
  }
}