:root {
  --bg: #f8fbff;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --ink: #071636;
  --muted: #5d6f91;
  --line: #dce8fb;
  --blue: #075ff0;
  --blue-2: #21c5ff;
  --cyan: #00d1ff;
  --green: #12b981;
  --red: #e25563;
  --shadow: 0 1px 2px rgba(12, 88, 190, 0.08);
  --radius: 18px;
  --max: 1480px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-fast: 160ms;
  --motion-medium: 280ms;
  --theme-transition:
    color 360ms var(--ease-out),
    background-color 360ms var(--ease-out),
    border-color 360ms var(--ease-out),
    box-shadow 360ms var(--ease-out),
    opacity 360ms var(--ease-out);
  font-family:
    "Manrope", "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.dark-theme {
  --bg: #06101f;
  --panel: #091427;
  --panel-strong: #0a1529;
  --ink: #eef6ff;
  --muted: #9fb3d5;
  --line: rgba(114, 156, 220, 0.24);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg) 0%, #f7fbff 42%, #f5f9ff 100%);
  min-width: 320px;
  transition: var(--theme-transition);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #06101f 0%, #08162a 52%, #06101f 100%);
  content: "";
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
}

html.dark-theme body::before {
  opacity: 1;
}

body > * {
  position: relative;
  z-index: 1;
}

html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition-property: color, background-color, border-color, box-shadow, opacity, fill, stroke, transform;
  transition-duration: 420ms;
  transition-timing-function: var(--ease-out);
}

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

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

button,
input {
  font: inherit;
}

code {
  color: var(--blue);
  font-size: 0.92em;
}

.site-header,
.mobile-nav,
.brand,
.desktop-nav,
.mobile-nav a,
.hero-copy h1,
.hero-copy p,
.sub-hero h1,
.sub-hero p,
.status-pill,
.hero-metrics div,
.feature-strip article,
.feature-strip h3,
.feature-strip p,
.swap-card,
.swap-field,
.swap-field input,
.exchange-route div,
.exchange-route strong,
.vesting-summary div,
.vesting-summary strong,
.exchange-status,
.network-badge,
.token-chip,
.info-card,
.info-card h2,
.info-card h3,
.info-card p,
.table-card,
.tokenomics-card,
.tokenomics-card h2,
.process-grid article,
.process-grid h3,
.process-grid p,
.roadmap article,
.roadmap h3,
.roadmap p,
.paper-cover,
.architecture-flow article,
.footer-brand p,
.footer-bottom,
.footer-links h3,
.footer-links a,
.footer-links button,
.newsletter h3,
.newsletter p,
.newsletter form,
.contract-row button,
.contract-footer,
.social-row a,
.social-row button,
.icon-button,
.menu-button,
th,
td {
  transition: var(--theme-transition), transform var(--motion-fast) var(--ease-out);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(20px, 4vw, 64px);
  background: #ffffff;
  border-bottom: 1px solid rgba(210, 226, 249, 0.82);
}

html.dark-theme .site-header,
html.dark-theme .mobile-nav,
html.dark-theme .swap-card,
html.dark-theme .info-card,
html.dark-theme .table-card,
html.dark-theme .tokenomics-card,
html.dark-theme .process-grid article,
html.dark-theme .roadmap article,
html.dark-theme .paper-cover,
html.dark-theme .architecture-flow article {
  background: rgba(9, 20, 39, 0.78);
  border-color: var(--line);
}

html.dark-theme .site-header {
  background: #06101f;
  border-bottom-color: transparent;
  box-shadow: none;
}

html.dark-theme .secondary-button {
  color: #dceaff;
  background: rgba(13, 31, 60, 0.82);
  border-color: rgba(101, 159, 238, 0.34);
}

html.dark-theme .brand,
html.dark-theme .desktop-nav,
html.dark-theme .mobile-nav a,
html.dark-theme .hero-copy h1,
html.dark-theme .sub-hero h1,
html.dark-theme .section-heading h2,
html.dark-theme .tokenomics-card h2,
html.dark-theme .info-card h2,
html.dark-theme .feature-strip h3,
html.dark-theme .info-card h3,
html.dark-theme .process-grid h3,
html.dark-theme .roadmap h3,
html.dark-theme .exchange-head h2,
html.dark-theme .exchange-route strong,
html.dark-theme .vesting-summary strong,
html.dark-theme .footer-links h3,
html.dark-theme .newsletter h3,
html.dark-theme td,
html.dark-theme th {
  color: var(--ink);
}

html.dark-theme .hero-copy p,
html.dark-theme .sub-hero p,
html.dark-theme .feature-strip p,
html.dark-theme .info-card p,
html.dark-theme .process-grid p,
html.dark-theme .roadmap p,
html.dark-theme .footer-brand p,
html.dark-theme .newsletter p,
html.dark-theme .footer-bottom,
html.dark-theme .footer-links a,
html.dark-theme .footer-links button {
  color: var(--muted);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand span {
  font-size: 2rem;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  flex: 1;
  color: #10254b;
  font-size: 0.98rem;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-button,
.menu-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #1b3767;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out),
    background-color var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) var(--ease-out);
}

.menu-button {
  display: none;
}

.wallet-button,
.primary-button,
.secondary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 750;
  letter-spacing: 0;
  transition:
    transform var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    background-color var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out);
}

.wallet-button,
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #075ff0 0%, #0e80ff 56%, #23c4ff 100%);
  box-shadow: 0 2px 8px rgba(7, 95, 240, 0.18);
}

.wallet-button.connected {
  gap: 8px;
  background: linear-gradient(135deg, #0d9f72, #26d9a0);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.wallet-icon {
  font-size: 1.1em;
  line-height: 1;
}

.wallet-button.connected::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.secondary-button {
  color: var(--blue);
  background: #ffffff;
  border: 1px solid rgba(7, 95, 240, 0.38);
}

.text-button {
  width: fit-content;
  min-height: 40px;
  padding: 0;
  color: var(--blue);
  background: transparent;
}

.primary-button:hover,
.secondary-button:hover,
.wallet-button:hover {
  transform: translateY(-2px);
}

.primary-button:active,
.secondary-button:active,
.wallet-button:active,
.icon-button:active,
.menu-button:active {
  transform: translateY(0) scale(0.98);
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(7, 95, 240, 0.28);
  outline-offset: 3px;
}

.full {
  width: 100%;
}

.center {
  text-align: center;
}

.mobile-nav {
  display: none;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr) minmax(330px, 0.52fr);
  align-items: center;
  gap: clamp(26px, 4vw, 58px);
  max-width: var(--max);
  min-height: 740px;
  margin: 0 auto;
  padding: 78px clamp(20px, 4vw, 42px) 60px;
  overflow: hidden;
}

.hero-section > *,
.sub-hero > * {
  min-width: 0;
}

.hero-section::before,
.hero-section::after {
  position: absolute;
  display: none;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  content: "";
}

.hero-section::before {
  top: 90px;
  left: 36%;
  background: transparent;
}

.hero-section::after {
  right: 8%;
  bottom: 0;
  background: transparent;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-bottom: 34px;
  padding: 12px 18px;
  color: #15305a;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(7, 95, 240, 0.08);
  font-size: 0.94rem;
  font-weight: 650;
}

html.dark-theme .status-pill {
  color: #cfe1ff;
}

html.dark-theme .status-pill,
html.dark-theme .hero-metrics div,
html.dark-theme .feature-strip article,
html.dark-theme .swap-field,
html.dark-theme .exchange-route div,
html.dark-theme .vesting-summary div,
html.dark-theme .exchange-status,
html.dark-theme .network-badge,
html.dark-theme .token-chip,
html.dark-theme .newsletter form,
html.dark-theme .contract-row button,
html.dark-theme .contract-footer,
html.dark-theme .social-row a,
html.dark-theme .social-row button,
html.dark-theme .icon-button,
html.dark-theme .menu-button {
  background: rgba(12, 27, 52, 0.82);
  border-color: var(--line);
}

html.dark-theme .token-chip,
html.dark-theme .swap-field input,
html.dark-theme .network-badge,
html.dark-theme .contract-row button,
html.dark-theme .contract-footer {
  color: var(--ink);
}

html.dark-theme .swap-tabs,
html.dark-theme th {
  background: rgba(20, 40, 72, 0.86);
}

html.dark-theme .swap-tabs .active {
  color: var(--ink);
  background: rgba(7, 95, 240, 0.24);
}

html.dark-theme tbody tr:hover {
  background: rgba(13, 62, 128, 0.22);
}

.status-pill span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(18, 185, 129, 0.12);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.status-pill a {
  color: var(--blue);
  white-space: nowrap;
}

.hero-copy h1,
.sub-hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #061434;
  font-size: clamp(3.45rem, 5.8vw, 6.2rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy h1 span {
  display: block;
  font-weight: 760;
  letter-spacing: 0;
}

.hero-copy p,
.sub-hero p {
  max-width: 680px;
  margin: 0;
  color: #274066;
  font-size: clamp(1.12rem, 1.5vw, 1.45rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.hero-actions .primary-button,
.hero-actions .secondary-button {
  min-width: 160px;
  min-height: 58px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 54px;
}

.hero-metrics div {
  padding: 18px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.hero-metrics strong {
  display: block;
  color: var(--blue);
  font-size: 1.3rem;
}

.hero-metrics span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.83rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  isolation: isolate;
}

.hero-visual.refined {
  display: grid;
  place-items: center;
  min-height: 590px;
}

.hero-illustration {
  width: min(100%, 720px);
  height: auto;
  animation: aix-float 8s var(--ease-out) infinite;
}

html.dark-theme .hero-visual.refined {
  background: transparent;
}

html.dark-theme .hero-illustration {
  opacity: 0.96;
}

.hero-proof-card {
  align-self: center;
  display: grid;
  gap: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(192, 218, 249, 0.82);
  border-radius: 26px;
  box-shadow: 0 2px 8px rgba(7, 95, 240, 0.1);
  transition:
    transform var(--motion-medium) var(--ease-out),
    border-color var(--motion-medium) var(--ease-out),
    background-color var(--motion-medium) var(--ease-out),
    box-shadow var(--motion-medium) var(--ease-out);
}

.proof-illustration {
  width: 100%;
  border-radius: 20px;
  animation: aix-float 9s var(--ease-out) infinite reverse;
}

.proof-copy {
  padding: 0 6px;
}

.proof-copy span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-copy h2 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  letter-spacing: 0;
}

.proof-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.proof-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 6px;
}

.proof-pills span {
  padding: 8px 10px;
  color: #174171;
  background: #ffffff;
  border: 1px solid rgba(192, 218, 249, 0.8);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 760;
}

.hero-proof-card .text-button {
  margin: 0 6px 4px;
}

html.dark-theme .hero-proof-card {
  background: linear-gradient(180deg, #0a1930, #071122);
  border-color: rgba(101, 159, 238, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

html.dark-theme .proof-illustration {
  opacity: 0.96;
}

html.dark-theme .proof-copy h2 {
  color: var(--ink);
}

html.dark-theme .proof-pills span {
  color: #c8dcff;
  background: rgba(13, 31, 60, 0.82);
  border-color: rgba(101, 159, 238, 0.22);
}

.swap-card {
  position: relative;
  z-index: 3;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition:
    transform var(--motion-medium) var(--ease-out),
    border-color var(--motion-medium) var(--ease-out),
    background-color var(--motion-medium) var(--ease-out),
    box-shadow var(--motion-medium) var(--ease-out);
}

.swap-card.large {
  width: min(100%, 520px);
}

.exchange-card {
  width: min(100%, 640px);
  padding: clamp(24px, 3vw, 34px);
  border-radius: 30px;
}

.exchange-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.exchange-head h2 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

.network-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--blue);
  background: rgba(240, 247, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 850;
}

.swap-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 18px;
  padding: 4px;
  background: #f0f6ff;
  border-radius: 14px;
}

.large .swap-tabs {
  grid-template-columns: repeat(3, 1fr);
}

.exchange-card .swap-tabs {
  margin-bottom: 24px;
}

.swap-tabs button {
  height: 44px;
  color: #566a8a;
  background: transparent;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 700;
}

.swap-tabs .active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 2px rgba(7, 95, 240, 0.1);
}

.exchange-field-grid {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.exchange-field-grid > * {
  min-width: 0;
}

.swap-field {
  min-width: 0;
  padding: 14px;
  background: rgba(248, 251, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.swap-field label {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.exchange-card .swap-field {
  padding: 20px 22px;
  border-radius: 20px;
}

.exchange-card .swap-field label {
  margin-bottom: 16px;
  font-size: 0.86rem;
}

.swap-field div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.swap-field input {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1.7rem;
  font-weight: 650;
}

.exchange-card .swap-field input {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
}

.token-chip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-width: max-content;
  padding: 9px 12px;
  color: #193965;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    background-color var(--motion-fast) var(--ease-out);
}

.token-chip::before {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
  background: #16a68a;
  border-radius: 999px;
  content: "T";
  font-size: 0.75rem;
}

.token-aix::before {
  display: none;
}

.token-aix img {
  width: 24px;
  height: 24px;
}

.swap-direction {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: -4px auto;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(7, 95, 240, 0.1);
  transition:
    transform var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    background-color var(--motion-fast) var(--ease-out);
}

html.dark-theme .swap-direction {
  color: #8edfff;
  background: rgba(13, 31, 60, 0.92);
  border-color: rgba(101, 159, 238, 0.28);
}

.swap-meta,
.contract-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.exchange-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.exchange-route div {
  padding: 14px;
  background: rgba(248, 251, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.exchange-route span,
.exchange-route strong {
  display: block;
}

.exchange-route span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.exchange-route strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.94rem;
}

.exchange-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.exchange-primary-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.exchange-primary-actions .primary-button,
.exchange-actions .secondary-button {
  min-width: 0;
}

.vesting-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.vesting-summary div {
  min-width: 0;
  padding: 12px;
  background: rgba(248, 251, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.vesting-summary span,
.vesting-summary strong {
  display: block;
}

.vesting-summary span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 760;
}

.vesting-summary strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.88rem;
  word-break: break-word;
}

.exchange-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
}

/* Sale Status Bar */
.sale-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(248, 251, 255, 0.76);
  border: 1px solid var(--line);
  color: var(--muted);
}
.sale-status-bar.active { background: rgba(18, 185, 129, 0.08); border-color: rgba(18, 185, 129, 0.3); color: #0d9f72; }
.sale-status-bar.closed { background: rgba(226, 85, 99, 0.06); border-color: rgba(226, 85, 99, 0.25); color: var(--red); }
html.dark-theme .sale-status-bar { background: rgba(12, 27, 52, 0.6); }
html.dark-theme .sale-status-bar.active { background: rgba(18, 185, 129, 0.08); color: #26d9a0; }
html.dark-theme .sale-status-bar.closed { background: rgba(226, 85, 99, 0.06); color: #f08090; }
.sale-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--muted);
  flex-shrink: 0;
}
.sale-status-bar.active .sale-dot { background: #12b981; animation: pulse-dot 2.4s ease-in-out infinite; }
.sale-status-bar.closed .sale-dot { background: var(--red); }
.sale-timer { margin-left: auto; font-size: 0.82rem; opacity: 0.85; }

/* Sale Window */
.sale-window {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 0;
}
.sale-window div {
  padding: 12px;
  background: rgba(248, 251, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.sale-window span { display: block; color: var(--muted); font-size: 0.76rem; font-weight: 760; }
.sale-window strong { display: block; margin-top: 4px; color: var(--ink); font-size: 0.86rem; }
html.dark-theme .sale-window div { background: rgba(12, 27, 52, 0.6); border-color: var(--line); }

/* Exchange Action Stack */
.exchange-action-stack {
  margin-top: 16px;
}
.exchange-main-btn {
  min-height: 56px;
  font-size: 1.05rem;
  border-radius: 16px;
}
.exchange-btn {
  gap: 10px;
  background: linear-gradient(135deg, #075ff0, #23c4ff);
}

/* Button Spinner */
.btn-spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 999px;
  animation: spin 0.7s linear infinite;
}
.btn-spinner[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.primary-button.loading {
  pointer-events: none;
  opacity: 0.85;
}

/* Vesting Panel Section */
.vesting-panel-section {
  max-width: var(--max);
  margin: 0 auto;
}
.vesting-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.vesting-stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--theme-transition), transform var(--motion-fast) var(--ease-out);
}
.vesting-stat:hover { transform: translateY(-2px); }
html.dark-theme .vesting-stat { background: rgba(9, 20, 39, 0.78); border-color: var(--line); }
.vesting-stat-icon { font-size: 1.5rem; }
.vesting-stat span { color: var(--muted); font-size: 0.82rem; font-weight: 700; }
.vesting-stat strong { color: var(--ink); font-size: 1.15rem; font-weight: 800; word-break: break-word; }
.claimable-stat { border-color: rgba(18, 185, 129, 0.3); }
html.dark-theme .claimable-stat { border-color: rgba(18, 185, 129, 0.2); }

/* Claim Button */
.claim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, #0d9f72, #26d9a0);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 750;
  transition: transform var(--motion-fast) var(--ease-out), opacity var(--motion-fast);
}
.claim-btn:hover { transform: translateY(-1px); }
.claim-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.claim-btn .btn-spinner { width: 16px; height: 16px; border-width: 2px; }

/* Vesting Progress Bar */
.vesting-progress-wrap {
  margin-top: 20px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
html.dark-theme .vesting-progress-wrap { background: rgba(9, 20, 39, 0.78); border-color: var(--line); }
.vesting-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}
.vesting-progress-bar {
  height: 10px;
  background: rgba(7, 95, 240, 0.1);
  border-radius: 999px;
  overflow: hidden;
}
.vesting-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #075ff0, #23c4ff);
  border-radius: 999px;
  transition: width 0.6s var(--ease-out);
}

button:disabled,
.primary-button:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.contract-row {
  align-items: center;
  margin-bottom: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contract-row button,
.contract-footer {
  color: #24446e;
  background: #f5f9ff;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  padding: 8px 10px;
  transition:
    transform var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    background-color var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out);
}

.feature-strip,
.three-grid,
.four-grid,
.process-grid,
.roadmap,
.split-section {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 42px);
  padding-right: clamp(20px, 4vw, 42px);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 42px;
  padding-top: 0;
}

.feature-strip article {
  display: flex;
  gap: 16px;
  min-height: 112px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-right: 0;
  transition:
    transform var(--motion-medium) var(--ease-out),
    border-color var(--motion-medium) var(--ease-out),
    background-color var(--motion-medium) var(--ease-out),
    box-shadow var(--motion-medium) var(--ease-out);
}

.feature-strip article:first-child {
  border-radius: 18px 0 0 18px;
}

.feature-strip article:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 18px 18px 0;
}

.feature-icon,
.card-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--blue);
  background: linear-gradient(135deg, #fff, #e8f5ff);
  border: 1px solid rgba(7, 95, 240, 0.16);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(7, 95, 240, 0.08);
  font-weight: 850;
  transition:
    transform var(--motion-medium) var(--ease-out),
    border-color var(--motion-medium) var(--ease-out),
    background-color var(--motion-medium) var(--ease-out);
}

.feature-icon svg,
.card-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 26px;
}

.compact-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
}

.compact-icon svg {
  width: 28px;
  height: 28px;
}

.feature-strip h3,
.info-card h3,
.process-grid h3,
.roadmap h3 {
  margin: 0 0 8px;
  color: #0b1f42;
  font-size: 1rem;
}

.feature-strip p,
.info-card p,
.process-grid p,
.roadmap p,
.whitepaper-card p,
.tokenomics-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
  font-size: 0.94rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px clamp(20px, 4vw, 42px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading.between {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  text-align: left;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading span,
.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2,
.tokenomics-card h2,
.whitepaper-card h2,
.info-card h2 {
  margin: 0;
  color: #081a39;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.section-heading p {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.68;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
}

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

.info-card,
.table-card,
.tokenomics-card,
.whitepaper-card,
.process-grid article,
.roadmap article,
.paper-cover,
.architecture-flow article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(7, 95, 240, 0.08);
  transition:
    transform var(--motion-medium) var(--ease-out),
    border-color var(--motion-medium) var(--ease-out),
    background-color var(--motion-medium) var(--ease-out),
    box-shadow var(--motion-medium) var(--ease-out);
}

.info-card {
  min-height: 220px;
  padding: 34px;
}

.info-card.small {
  min-height: 180px;
}

.info-card h3 {
  font-size: 1.24rem;
}

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

.process-grid article {
  position: relative;
  padding: 28px;
}

.process-grid article:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -16px;
  color: var(--blue);
  content: "\2192";
  font-size: 1.5rem;
}

.process-grid strong,
.roadmap span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 850;
}

.table-card {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 22px 26px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: #577095;
  background: #f3f8ff;
  font-size: 0.8rem;
  font-weight: 850;
}

td {
  color: #193258;
  font-weight: 650;
}

tbody tr:hover {
  background: rgba(232, 245, 255, 0.42);
}

.table-note {
  margin: 0;
  padding: 18px 26px;
  color: var(--muted);
  font-size: 0.88rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.tokenomics-card,
.whitepaper-card {
  padding: 34px;
}

.tokenomics-panel {
  overflow: hidden;
}

.donut-wrap {
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) minmax(260px, 1fr);
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}

.donut {
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  text-align: center;
  color: var(--ink);
  background:
    radial-gradient(circle, #fff 0 43%, transparent 44%),
    conic-gradient(
      #075ff0 0 45%,
      #40c7ff 45% 65%,
      #1f73ff 65% 80%,
      #84dfff 80% 92%,
      #bcdfff 92% 100%
    );
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(7, 95, 240, 0.14);
}

.donut div {
  display: grid;
  place-items: center;
  width: 102px;
  height: 102px;
  background: var(--panel-strong);
  border-radius: 999px;
}

.donut strong {
  display: block;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.donut span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.donut-wrap ul,
.allocation-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.allocation-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.donut-wrap li strong,
.allocation-list li strong {
  display: inline-flex;
  width: 54px;
  color: var(--blue);
}

.whitepaper-card {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, #081938, #08357a);
  color: #fff;
  overflow: hidden;
}

.whitepaper-card img {
  width: 170px;
  height: 220px;
  object-fit: contain;
  padding: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
}

.whitepaper-card h2,
.whitepaper-card p {
  color: #fff;
}

.whitepaper-card p {
  color: rgba(255, 255, 255, 0.72);
  margin: 14px 0 24px;
}

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

.roadmap article {
  position: relative;
  padding: 28px;
}

.roadmap article::before {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(7, 95, 240, 0.1);
  content: "";
}

.security-section {
  padding-bottom: 82px;
}

.feature-strip.security {
  padding: 0;
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.05fr 1.5fr 0.8fr;
  gap: 46px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px clamp(24px, 4vw, 42px) 30px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.compact-footer {
  margin-top: 54px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p,
.newsletter p,
.footer-bottom {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.92rem;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social-row a,
.social-row button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--blue);
  background: #f2f7ff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  transition:
    transform var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    background-color var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out);
}

.social-row svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-row button:hover,
.footer-links button:hover,
.footer-links a:hover {
  color: var(--blue);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.compact-footer .footer-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-links h3,
.newsletter h3 {
  margin: 0 0 16px;
  color: #122849;
  font-size: 0.96rem;
}

.footer-links a,
.footer-links button {
  display: block;
  margin: 10px 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
  text-align: left;
  transition:
    transform var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out);
}

.newsletter form {
  display: flex;
  gap: 8px;
  margin: 18px 0 14px;
  padding: 6px;
  background: #f4f8ff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.newsletter input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 10px;
}

.newsletter button[type="submit"] {
  display: grid;
  place-items: center;
  width: 44px;
  height: 40px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 9px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.subpage {
  min-height: 70vh;
}

.sub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  align-items: center;
  gap: 42px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px clamp(20px, 4vw, 42px) 60px;
}

.sub-hero h1 {
  font-size: clamp(3rem, 5vw, 5.6rem);
}

.token-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 640px);
  align-items: start;
}

.paper-cover {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 42px;
  text-align: center;
  background: linear-gradient(145deg, #091532, #054896);
  color: #fff;
}

.paper-cover img {
  width: 140px;
  margin-bottom: 28px;
}

.paper-cover strong {
  font-size: 4.2rem;
  line-height: 1;
}

.paper-cover span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.architecture-flow article {
  padding: 24px;
}

.architecture-flow strong {
  color: var(--blue);
}

.release-card {
  min-height: auto;
}

.release-lines {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.release-lines span {
  display: block;
  height: 10px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  border-radius: 999px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  padding: 14px 18px;
  color: #fff;
  background: #071636;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(10px);
  transition: 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(7, 95, 240, 0.42);
  border-radius: 999px;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0) translate(-50%, -50%) scale(0.72);
  transition:
    opacity 120ms ease,
    transform 120ms ease,
    border-color 120ms ease,
    background-color 120ms ease;
}

.cursor-ring.active {
  opacity: 1;
  transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0) translate(-50%, -50%) scale(1);
}

.cursor-ring.intent {
  border-color: rgba(7, 95, 240, 0.9);
  background: rgba(7, 95, 240, 0.06);
}

.cursor-ring.active.intent {
  transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0) translate(-50%, -50%) scale(1.32);
}

html.dark-theme .cursor-ring {
  border-color: rgba(35, 196, 255, 0.52);
}

html.dark-theme .cursor-ring.intent {
  border-color: rgba(35, 196, 255, 0.95);
  background: rgba(35, 196, 255, 0.08);
}

@keyframes aix-float {
  0%,
  100% {
    transform: translateY(0);
  }

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

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(18, 185, 129, 0.1);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(18, 185, 129, 0.16);
  }
}

@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover {
    color: var(--blue);
  }

  .primary-button:hover,
  .wallet-button:hover {
    box-shadow: 0 3px 10px rgba(7, 95, 240, 0.22);
  }

  .secondary-button:hover,
  .icon-button:hover,
  .menu-button:hover,
  .social-row a:hover,
  .social-row button:hover,
  .contract-row button:hover,
  .contract-footer:hover {
    border-color: rgba(7, 95, 240, 0.42);
    transform: translateY(-2px);
  }

  .text-button:hover,
  .footer-links a:hover,
  .footer-links button:hover {
    transform: translateX(2px);
  }

  .info-card:hover,
  .table-card:hover,
  .tokenomics-card:hover,
  .whitepaper-card:hover,
  .process-grid article:hover,
  .roadmap article:hover,
  .architecture-flow article:hover,
  .swap-card:hover,
  .hero-proof-card:hover,
  .feature-strip article:hover {
    border-color: rgba(7, 95, 240, 0.3);
    box-shadow: 0 3px 10px rgba(7, 95, 240, 0.12);
    transform: translateY(-4px);
  }

  html.dark-theme .info-card:hover,
  html.dark-theme .table-card:hover,
  html.dark-theme .tokenomics-card:hover,
  html.dark-theme .whitepaper-card:hover,
  html.dark-theme .process-grid article:hover,
  html.dark-theme .roadmap article:hover,
  html.dark-theme .architecture-flow article:hover,
  html.dark-theme .swap-card:hover,
  html.dark-theme .hero-proof-card:hover,
  html.dark-theme .feature-strip article:hover {
    border-color: rgba(35, 196, 255, 0.32);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
  }

  .feature-strip article:hover {
    position: relative;
    z-index: 2;
  }

  .feature-strip article:hover .feature-icon,
  .info-card:hover .card-icon,
  .process-grid article:hover .card-icon {
    border-color: rgba(7, 95, 240, 0.34);
    transform: translateY(-2px) scale(1.04);
  }

  .swap-field:focus-within {
    border-color: rgba(7, 95, 240, 0.42);
    box-shadow: 0 2px 8px rgba(7, 95, 240, 0.08);
  }

  .token-chip:hover,
  .swap-direction:hover {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .cursor-ring {
    display: none !important;
  }
}

@media (max-width: 1220px) {
  .hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  }

  .swap-card {
    grid-column: 1 / -1;
    width: min(100%, 680px);
    justify-self: center;
  }

  .hero-proof-card {
    grid-column: 1 / -1;
    width: min(100%, 760px);
    justify-self: center;
  }

  .feature-strip,
  .four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-strip article,
  .feature-strip article:first-child,
  .feature-strip article:last-child {
    border: 1px solid var(--line);
    border-radius: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-section {
    gap: 28px;
    padding-top: 38px;
  }

  .hero-visual {
    min-height: 340px;
    order: 2;
  }

  .swap-card {
    order: 3;
  }

  .hero-proof-card {
    order: 3;
  }

  .donut-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .allocation-list {
    width: 100%;
  }
}

@media (max-width: 920px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .site-header {
    height: 76px;
    justify-content: space-between;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    font-size: 1.6rem;
  }

  .menu-button {
    display: inline-grid;
  }

  .mobile-nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    z-index: 60;
    display: none;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .mobile-nav.open {
    display: grid;
    gap: 14px;
  }

  .mobile-nav a {
    padding: 12px;
    color: var(--ink);
    font-weight: 750;
  }

  .hero-section,
  .sub-hero,
  .token-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .exchange-card {
    width: 100%;
  }

  .hero-metrics,
  .three-grid,
  .process-grid,
  .roadmap,
  .split-section,
  .architecture-flow {
    grid-template-columns: 1fr;
  }

  .process-grid article:not(:last-child)::after {
    display: none;
  }

  .donut-wrap,
  .whitepaper-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links,
  .compact-footer .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero-copy h1,
  .sub-hero h1 {
    font-size: 3.1rem;
  }

  .status-pill {
    border-radius: 18px;
    flex-wrap: wrap;
  }

  .hero-actions,
  .swap-meta,
  .contract-row,
  .exchange-head,
  .exchange-actions,
  .exchange-primary-actions,
  .exchange-route,
  .section-heading.between {
    flex-direction: column;
    align-items: stretch;
  }

  .exchange-route,
  .exchange-actions,
  .exchange-primary-actions,
  .vesting-summary {
    grid-template-columns: 1fr;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: 100%;
  }

  .sub-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .exchange-card {
    max-width: 100%;
    padding: 20px;
    border-radius: 24px;
  }

  .exchange-card .swap-field {
    padding: 18px 14px;
  }

  .exchange-card .swap-field input {
    font-size: clamp(1.9rem, 12vw, 2.6rem);
  }

  .exchange-head {
    align-items: flex-start;
  }

  .network-badge {
    align-self: flex-start;
  }

  .token-chip {
    padding: 8px 10px;
  }

  .feature-strip,
  .four-grid {
    grid-template-columns: 1fr;
  }

  .vesting-panel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    min-height: 340px;
  }

  th,
  td {
    padding: 16px 14px;
    font-size: 0.82rem;
  }

  .table-card {
    overflow-x: auto;
  }

  .site-footer {
    border-radius: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .token-hero > div,
  .token-hero .exchange-card {
    width: min(100%, 350px);
    max-width: 350px;
  }
}

/* Hidden attribute override */
[hidden] {
  display: none !important;
}


