:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-2: #f7f3ff;
  --panel-3: #eee7ff;
  --ink: #1d1530;
  --muted: #695f7c;
  --faint: #988cab;
  --line: #ded5ef;
  --violet: #6d3df5;
  --violet-2: #8b5cf6;
  --lime: #5b21d1;
  --orange: #ad8dff;
  --danger: #6d3df5;
  --success: #5b21d1;
  --mono: "SFMono-Regular", "Roboto Mono", "Cascadia Code", "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 13%, rgba(109, 61, 245, 0.16), transparent 27rem),
    radial-gradient(circle at 16% 72%, rgba(173, 141, 255, 0.12), transparent 29rem),
    linear-gradient(rgba(109, 61, 245, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 61, 245, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 70px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(109, 61, 245, 0.16);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-family: var(--mono);
}

.brand strong {
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -0.06em;
}

.brand > span:last-child {
  color: var(--muted);
  font-size: 10px;
}

.brand-logo {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(109, 61, 245, 0.2);
}

.site-header nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--lime);
}

.site-header nav .nav-launchpad {
  color: var(--violet);
  font-weight: 900;
}

.site-header nav .nav-prediction {
  color: var(--violet);
  cursor: default;
  font-weight: 900;
}

.site-header nav .nav-prediction::after {
  content: "SOON";
  margin-left: 6px;
  padding: 2px 5px;
  border-radius: 999px;
  background: var(--violet);
  color: #ffffff;
  font-size: 7px;
  vertical-align: 1px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.x-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--violet);
  border-radius: 999px;
  background: var(--violet);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.x-button > span {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1;
}

.x-button > b {
  font: inherit;
}

.x-button:hover,
.x-button:focus-visible {
  transform: translateY(-1px);
  background: #5122db;
  box-shadow: 0 10px 24px rgba(109, 61, 245, 0.22);
}

.wallet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #c9bced;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.wallet-button:hover,
.wallet-button:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

.graduation-banner {
  position: sticky;
  top: 70px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 30px;
  border-bottom: 1px solid var(--lime);
  background: var(--violet);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 12px;
}

.graduation-banner[hidden] {
  display: none;
}

.graduation-banner strong {
  color: #ffffff;
}

.graduation-banner button {
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 5px;
  background: #ffffff;
  color: var(--violet);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}

.trade-stage,
.mechanism-section,
.home-launchpad-section,
.graduation-section,
.ink-section,
.contract-section,
footer {
  width: min(1580px, calc(100% - 60px));
  margin: 0 auto;
}

.trade-stage {
  padding: 30px 0 62px;
}

.market-ident {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 19px;
}

.eyebrow,
.panel-kicker,
.section-index {
  color: var(--violet-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.market-ident h1 {
  margin: 7px 0 0;
  font-family: var(--mono);
  font-size: clamp(38px, 5.7vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.market-ident h1 span {
  color: var(--lime);
}

.market-ident h1 em {
  color: var(--faint);
  font-size: 0.28em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.market-status {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 9px;
  align-items: center;
  justify-items: end;
  font-family: var(--mono);
  font-size: 11px;
}

.market-status small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 10px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  box-shadow: 0 0 0 4px rgba(109, 61, 245, 0.12);
}

.status-dot.live {
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
}

.status-dot.ready {
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.phase-rail {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(180px, 1.4fr) minmax(180px, 0.7fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(247, 243, 255, 0.92);
}

.phase {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  font-family: var(--mono);
}

.phase > span {
  grid-row: 1 / 3;
  color: var(--faint);
  font-size: 20px;
  font-weight: 800;
}

.phase strong {
  font-size: 12px;
}

.phase small {
  color: var(--muted);
  font-size: 9px;
}

.phase.active > span,
.phase.active strong {
  color: var(--lime);
}

.phase-line {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7def8;
}

.phase-line i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--lime), var(--orange));
  box-shadow: 0 0 18px rgba(109, 61, 245, 0.38);
  transition: width 500ms ease;
}

.metric-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
}

.metric-rail article {
  min-width: 0;
  padding: 16px 18px 15px;
  border-right: 1px solid var(--line);
}

.metric-rail article:last-child {
  border-right: 0;
}

.metric-rail article:nth-child(3) {
  border-right: 0;
}

.metric-rail article:nth-child(n + 4) {
  border-top: 1px solid var(--line);
}

.metric-rail span,
.metric-rail small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
}

.metric-rail span {
  margin-bottom: 8px;
  color: var(--muted);
}

.metric-rail strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(16px, 1.6vw, 24px);
  letter-spacing: -0.05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-rail .metric-primary strong,
.metric-rail article:last-child strong {
  color: var(--lime);
}

.metric-rail small {
  margin-top: 5px;
  color: var(--faint);
}

.terminal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 430px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(73, 42, 135, 0.14);
}

.curve-panel {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  padding: 17px 21px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin: 5px 0 0;
  font-size: clamp(18px, 2vw, 27px);
  letter-spacing: -0.04em;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend .line {
  width: 15px;
  height: 2px;
}

.legend .curve {
  background: var(--lime);
}

.legend .buyback {
  background: var(--violet);
}

.legend .target {
  border-top: 2px dashed var(--orange);
}

.chart-wrap {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 30%, rgba(109, 61, 245, 0.16), transparent 31%),
    linear-gradient(180deg, rgba(238, 231, 255, 0.92), rgba(255, 255, 255, 0.72) 72%);
}

#curve-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.chart-watermark {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 0;
  color: rgba(72, 38, 140, 0.055);
  font-family: var(--mono);
  font-size: clamp(46px, 6vw, 92px);
  font-weight: 900;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.chart-watermark span {
  color: rgba(109, 61, 245, 0.105);
}

.chart-crosshair {
  position: absolute;
  z-index: 5;
  min-width: 230px;
  padding: 9px 11px;
  border: 1px solid rgba(109, 61, 245, 0.4);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 36px rgba(73, 42, 135, 0.18);
  font-family: var(--mono);
  pointer-events: none;
}

.chart-crosshair strong,
.chart-crosshair span {
  display: block;
}

.chart-crosshair strong {
  color: var(--lime);
  font-size: 12px;
}

.chart-crosshair span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.curve-tape {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 0 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.curve-tape code {
  color: var(--violet-2);
}

.curve-tape strong {
  color: var(--lime);
}

.tape-spacer {
  flex: 1;
}

.graduation-meter {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(109, 61, 245, 0.11), rgba(247, 243, 255, 0.82));
  font-family: var(--mono);
}

.graduation-meter > div:first-child {
  min-width: 165px;
}

.graduation-meter span,
.graduation-meter strong {
  display: block;
  font-size: 9px;
}

.graduation-meter span {
  color: var(--muted);
}

.graduation-meter strong {
  margin-top: 4px;
  color: var(--lime);
}

.meter-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #e7def8;
}

.meter-track i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--lime));
  box-shadow: 0 0 16px rgba(109, 61, 245, 0.34);
  transition: width 500ms ease;
}

.meter-track span {
  position: absolute;
  top: 15px;
  left: 0%;
  transform: translateX(-50%);
  color: var(--faint);
  white-space: nowrap;
  transition: left 500ms ease;
}

.trade-panel {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(109, 61, 245, 0.115), transparent 42%),
    var(--panel);
}

.trade-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f3ff;
}

.trade-tabs button {
  min-height: 39px;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}

.trade-tabs button.active {
  background: var(--lime);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(91, 33, 209, 0.23);
}

.trade-tabs #sell-tab.active {
  background: var(--violet);
  color: white;
}

.trade-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 2px 12px;
}

.trade-heading span,
.trade-heading small {
  display: block;
  font-family: var(--mono);
}

.trade-heading > div > span {
  font-size: 11px;
  font-weight: 900;
}

.trade-heading small,
.wallet-balance {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.wallet-balance {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amount-box {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-2);
}

.amount-box > span:first-child,
.receive-box > span,
.receive-box > small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.amount-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.amount-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.amount-row input::placeholder {
  color: #a89bc0;
}

.amount-row strong {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
}

.quick-amounts {
  display: flex;
  gap: 5px;
  margin-top: 12px;
}

.quick-amounts button {
  min-width: 52px;
  min-height: 28px;
  border: 1px solid #cbbdea;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
}

.quick-amounts button:hover {
  border-color: var(--violet);
  color: var(--violet-2);
}

.quote-arrow {
  align-self: center;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: -2px 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--violet-2);
  font-family: var(--mono);
}

.receive-box {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #ffffff;
}

.receive-box strong {
  display: block;
  margin: 7px 0 2px;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 25px;
  letter-spacing: -0.05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.receive-box small {
  color: var(--lime);
}

.quote-details {
  margin: 14px 0;
}

.quote-details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  border-bottom: 1px solid rgba(109, 61, 245, 0.15);
  font-family: var(--mono);
  font-size: 10px;
}

.quote-details dt {
  color: var(--muted);
}

.quote-details dd {
  margin: 0;
  color: var(--ink);
}

.quote-details select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
}

.graduation-warning {
  margin-bottom: 9px;
  padding: 9px;
  border: 1px solid rgba(169, 140, 255, 0.45);
  border-radius: 5px;
  background: rgba(169, 140, 255, 0.08);
  color: var(--orange);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.primary-action {
  width: 100%;
  min-height: 52px;
  border-radius: 7px;
  background: linear-gradient(100deg, var(--lime), var(--violet-2));
  color: #ffffff;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 40px rgba(91, 33, 209, 0.24);
}

.primary-action.sell {
  background: linear-gradient(100deg, var(--violet), #6d53dc);
  color: white;
  box-shadow: 0 14px 40px rgba(138, 108, 255, 0.12);
}

.primary-action:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.primary-action:disabled {
  cursor: not-allowed;
  filter: saturate(0.3);
  opacity: 0.55;
}

.trade-message {
  min-height: 17px;
  margin: 9px 2px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
}

.trade-message.error {
  color: var(--danger);
}

.trade-message.success {
  color: var(--success);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 13px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8px;
}

.proof-strip span::before {
  content: "◇";
  margin-right: 4px;
  color: var(--violet);
}

.activity-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 45px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 11px;
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--mono);
  font-size: 9px;
}

.activity-title,
.activity-strip > a {
  color: var(--violet-2);
  font-weight: 800;
}

#activity-feed {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-event.buy {
  color: var(--lime);
}

.feed-event.sell {
  color: var(--violet-2);
}

.mechanism-section,
.graduation-section,
.ink-section,
.contract-section {
  border-top: 1px solid var(--line);
  padding: 78px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.62fr);
  gap: 60px;
  align-items: end;
  margin-top: 19px;
}

.section-heading h2,
.graduation-copy h2,
.ink-copy h2,
.contract-layout h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.section-heading p,
.graduation-copy p,
.ink-copy p,
.contract-layout p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.flow-grid article {
  position: relative;
  min-height: 260px;
  padding: 23px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.flow-grid article:last-child {
  border-right: 0;
}

.flow-grid article.accent-card {
  background: linear-gradient(160deg, rgba(238, 231, 255, 0.98), rgba(109, 61, 245, 0.13));
}

.flow-number {
  color: var(--violet-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.flow-grid h3 {
  margin: 62px 0 10px;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.flow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.flow-grid code {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  overflow: hidden;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.graduation-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(480px, 1.25fr);
  gap: 70px;
  align-items: center;
}

.graduation-copy h2,
.ink-copy h2 {
  margin-top: 19px;
}

.graduation-copy p,
.ink-copy p {
  margin-top: 26px;
}

.graduation-copy p span {
  color: var(--lime);
}

.graduation-copy a,
.ink-copy a {
  display: inline-block;
  margin-top: 25px;
  color: var(--violet-2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}

.migration-map {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background:
    radial-gradient(circle at 82% 18%, rgba(109, 61, 245, 0.15), transparent 34%),
    var(--panel);
}

.migration-node {
  padding: 20px;
  border: 1px solid #cbbdea;
  border-radius: 10px;
  font-family: var(--mono);
}

.migration-node span,
.migration-node strong,
.migration-node small {
  display: block;
}

.migration-node span,
.migration-node small {
  color: var(--muted);
  font-size: 9px;
}

.migration-node strong {
  margin: 8px 0 4px;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.migration-node.current {
  box-shadow: inset 3px 0 var(--violet);
}

.migration-node.destination {
  border-color: rgba(109, 61, 245, 0.46);
  box-shadow: inset 3px 0 var(--lime);
}

.migration-node.destination strong {
  color: var(--lime);
}

.migration-pipe {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 58px;
  padding-left: 28px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 9px;
}

.migration-pipe i {
  position: relative;
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(var(--violet), var(--lime));
}

.migration-pipe i::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--lime);
  border-bottom: 1px solid var(--lime);
  transform: rotate(45deg);
}

.migration-map dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.migration-map dl > div {
  padding: 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
}

.migration-map dt {
  color: var(--muted);
  font-size: 8px;
}

.migration-map dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 11px;
}

.ink-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(390px, 1.1fr);
  gap: 85px;
  overflow: hidden;
}

.ink-word {
  position: absolute;
  top: 6px;
  right: 1vw;
  color: rgba(109, 61, 245, 0.075);
  font-family: var(--mono);
  font-size: clamp(150px, 26vw, 390px);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.12em;
  pointer-events: none;
}

.ink-copy,
.ink-facts {
  position: relative;
  z-index: 1;
}

.ink-facts {
  align-self: end;
  margin: 0;
  border-top: 1px solid var(--line);
}

.ink-facts > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
}

.ink-facts dt {
  color: var(--muted);
  font-size: 10px;
}

.ink-facts dd {
  margin: 0;
  font-size: 12px;
  text-align: right;
}

.contract-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(450px, 1.1fr);
  gap: 70px;
  align-items: end;
  margin-top: 20px;
}

.contract-layout h2 {
  font-size: clamp(38px, 5vw, 72px);
}

.contract-layout p {
  margin-top: 22px;
}

.contract-data {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.contract-data > div {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  font-family: var(--mono);
  font-size: 10px;
}

.contract-data > div:last-child {
  border-bottom: 0;
}

.contract-data dt {
  color: var(--muted);
}

.contract-data dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.contract-data a {
  color: var(--violet-2);
}

.contract-data .verified-contract {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.contract-verified-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(112, 39, 255, 0.3);
  border-radius: 999px;
  background: rgba(112, 39, 255, 0.09);
  color: var(--violet-2);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.contract-verified-badge[hidden] {
  display: none;
}

.contract-verified-badge:hover {
  border-color: var(--violet-2);
  background: var(--violet-2);
  color: #fff;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  min-height: 100px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

footer p {
  margin: 0;
}

footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 17px;
}

footer > div a:hover {
  color: var(--lime);
}

.home-launchpad-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.home-launchpad-copy h2 {
  max-width: 720px;
  margin: 16px 0 24px;
  font-size: clamp(43px, 5.7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.home-launchpad-copy p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.home-launchpad-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 30px;
  padding: 0 17px;
  border-radius: 9px;
  background: var(--violet);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-launchpad-link:hover,
.home-launchpad-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(109, 61, 245, 0.24);
}

.home-launchpad-system {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) auto minmax(0, 1.25fr);
  gap: 13px;
  align-items: stretch;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(109, 61, 245, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(139, 92, 246, 0.22), transparent 42%),
    linear-gradient(145deg, rgba(238, 231, 255, 0.9), rgba(255, 255, 255, 0.94));
  box-shadow: 0 30px 82px rgba(73, 42, 135, 0.13);
}

.home-token-node,
.home-launch-node {
  padding: 22px;
  border: 1px solid rgba(109, 61, 245, 0.2);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.82);
}

.home-token-node img {
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border-radius: 14px;
  box-shadow: 0 13px 30px rgba(109, 61, 245, 0.25);
}

.home-token-node span,
.home-token-node strong,
.home-token-node small,
.home-launch-node span,
.home-launch-node strong,
.home-launch-node small {
  display: block;
}

.home-token-node span,
.home-launch-node span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8px;
}

.home-token-node strong {
  margin: 7px 0;
  color: var(--violet);
  font-family: var(--mono);
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: -0.07em;
}

.home-token-node small,
.home-launch-node small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.45;
}

.home-launch-node {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--violet);
  color: #ffffff;
}

.home-launch-node span,
.home-launch-node small {
  color: rgba(255, 255, 255, 0.65);
}

.home-launch-node strong {
  margin: 10px 0;
  font-family: var(--mono);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.home-launch-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--violet);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 900;
}

.home-launch-rail i {
  width: 1px;
  height: 30px;
  background: rgba(109, 61, 245, 0.3);
}

.home-launchpad-system dl {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(109, 61, 245, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.76);
}

.home-launchpad-system dl > div {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid rgba(109, 61, 245, 0.16);
}

.home-launchpad-system dl > div:last-child {
  border-right: 0;
}

.home-launchpad-system dt,
.home-launchpad-system dd {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-launchpad-system dt {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 7px;
}

.home-launchpad-system dd {
  margin: 7px 0 0;
  color: var(--violet);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 900;
}

.home-launchpad-system > p {
  grid-column: 1 / -1;
  margin: 0 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.stocks-page {
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

.stocks-page .site-header nav a[aria-current="page"] {
  color: var(--violet);
}

.stocks-market,
.stocks-page footer {
  width: min(1380px, calc(100% - 60px));
  margin: 0 auto;
}

.stocks-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.55fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: end;
  padding: 72px 0 64px;
}

.stocks-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: 5px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 61, 245, 0.18), rgba(109, 61, 245, 0) 68%);
  pointer-events: none;
}

.stocks-hero > * {
  position: relative;
  z-index: 1;
}

.stocks-hero h1 {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: clamp(56px, 7.7vw, 118px);
  line-height: 0.84;
  letter-spacing: -0.09em;
}

.stocks-hero h1 span {
  color: var(--violet);
}

.stocks-hero-note {
  padding: 30px;
  border: 1px solid rgba(109, 61, 245, 0.3);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(238, 231, 255, 0.96), rgba(255, 255, 255, 0.92));
  box-shadow: 0 24px 70px rgba(73, 42, 135, 0.12);
}

.stocks-soon-pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--violet);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}

.stocks-hero-note p {
  margin: 38px 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.stocks-hero-note strong {
  display: block;
  padding-top: 15px;
  border-top: 1px solid rgba(109, 61, 245, 0.2);
  color: var(--violet);
  font-family: var(--mono);
  font-size: 14px;
}

.stocks-watch {
  padding: 40px 0 74px;
  border-top: 1px solid var(--line);
}

.stocks-section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}

.stocks-section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 3vw, 46px);
  letter-spacing: -0.055em;
}

.stocks-section-head > p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 5px rgba(109, 61, 245, 0.12), 0 0 18px rgba(109, 61, 245, 0.65);
}

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

.stock-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background:
    radial-gradient(circle at 100% 0, rgba(109, 61, 245, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(73, 42, 135, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.stock-card:hover,
.stock-card:focus-visible {
  border-color: rgba(109, 61, 245, 0.55);
  box-shadow: 0 18px 46px rgba(73, 42, 135, 0.14);
  transform: translateY(-3px);
}

.stock-card-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.stock-card-top i {
  color: var(--violet);
  font-family: var(--mono);
  font-style: normal;
  font-weight: 900;
}

.stock-monogram {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--panel-3);
  color: var(--violet);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 950;
}

.stock-quote {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  margin: 36px 0 24px;
}

.stock-quote strong {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(29px, 3vw, 43px);
  letter-spacing: -0.075em;
  text-overflow: ellipsis;
}

.stock-quote span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.stock-quote .positive {
  color: var(--violet);
}

.stock-quote .negative {
  color: #d34a78;
}

.stock-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
}

.stock-meta b {
  color: var(--violet);
}

.stock-meta span {
  color: var(--faint);
}

.stocks-source {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 12px;
}

.stock-lp {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(480px, 1.28fr);
  gap: clamp(38px, 7vw, 100px);
  padding: clamp(38px, 6vw, 78px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 10%, rgba(196, 181, 253, 0.48), transparent 32%),
    linear-gradient(140deg, #4d19c4, #6d3df5 58%, #8759f7);
  color: #ffffff;
  box-shadow: 0 34px 90px rgba(91, 33, 209, 0.25);
}

.stock-lp .section-index {
  color: #d9d1ff;
}

.stock-lp-copy h2 {
  margin: 17px 0 24px;
  font-family: var(--mono);
  font-size: clamp(52px, 6.5vw, 96px);
  line-height: 0.83;
  letter-spacing: -0.09em;
}

.stock-lp-copy h2 span {
  color: #d9d1ff;
}

.stock-lp-copy > p {
  max-width: 470px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.6;
}

.lp-pair-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 32px;
}

.lp-pair-list span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 11px;
}

.stock-lp-visual {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 17px;
  background: rgba(34, 14, 76, 0.2);
  backdrop-filter: blur(15px);
}

.lp-token,
.lp-output {
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--mono);
}

.lp-token small,
.lp-token strong,
.lp-token span,
.lp-output small,
.lp-output strong,
.lp-output span {
  display: block;
}

.lp-token small,
.lp-output small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.lp-token strong {
  margin: 43px 0 7px;
  font-size: clamp(21px, 3vw, 34px);
  letter-spacing: -0.06em;
}

.lp-token span,
.lp-output span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.lp-token-stock {
  background: rgba(216, 203, 255, 0.18);
}

.lp-plus {
  align-self: center;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 900;
}

.lp-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: #d9d1ff;
  font-family: var(--mono);
  font-size: 10px;
}

.lp-flow i {
  height: 1px;
  background: rgba(255, 255, 255, 0.23);
}

.lp-output {
  grid-column: 1 / -1;
  background: #ffffff;
  color: var(--ink);
}

.lp-output small {
  color: var(--faint);
}

.lp-output strong {
  margin: 9px 0 7px;
  color: var(--violet);
  font-size: clamp(24px, 3.5vw, 44px);
  letter-spacing: -0.06em;
}

.lp-output span {
  color: var(--muted);
}

.stocks-page footer {
  margin-top: 82px;
}

@media (max-width: 1120px) {
  .site-header nav {
    gap: 16px;
  }

  .x-button {
    width: 42px;
    padding: 0;
  }

  .x-button > b {
    display: none;
  }

  .metric-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric-rail article:nth-child(3),
  .metric-rail article:nth-child(6) {
    border-right: 0;
  }

  .metric-rail article:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .terminal-layout {
    grid-template-columns: minmax(0, 1fr) 370px;
  }

  .legend {
    max-width: 180px;
  }

  .flow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flow-grid article:nth-child(2) {
    border-right: 0;
  }

  .flow-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .graduation-section {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 38px;
  }

  .stocks-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  }

  .stock-lp {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 38px;
  }

  .home-launchpad-section {
    gap: 50px;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    padding: 0 18px;
  }

  .site-header nav {
    display: flex;
  }

  .site-header nav a:not(.nav-launchpad),
  .site-header nav span:not(.nav-prediction) {
    display: none;
  }

  .trade-stage,
  .mechanism-section,
  .home-launchpad-section,
  .graduation-section,
  .ink-section,
  .contract-section,
  footer {
    width: min(100% - 30px, 720px);
  }

  .market-ident {
    align-items: flex-start;
  }

  .market-status {
    margin-top: 4px;
  }

  .phase-rail {
    grid-template-columns: 1fr;
  }

  .phase-line {
    height: 4px;
  }

  .terminal-layout {
    display: block;
  }

  .curve-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .chart-wrap {
    min-height: 420px;
  }

  .trade-panel {
    min-height: 590px;
  }

  .section-heading,
  .home-launchpad-section,
  .graduation-section,
  .ink-section,
  .contract-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-heading {
    align-items: start;
  }

  .migration-map,
  .contract-data {
    width: 100%;
  }

  .home-launchpad-system {
    width: 100%;
    max-width: 680px;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  .stocks-page footer {
    width: min(100% - 30px, 720px);
  }

  .stocks-market {
    width: min(100% - 30px, 720px);
  }

  .stocks-hero,
  .stock-lp {
    grid-template-columns: 1fr;
  }

  .stocks-hero-note {
    max-width: 520px;
  }

  .stock-grid {
    grid-template-columns: 1fr 1fr;
  }

  footer p {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand > span:last-child {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-rows: 54px 30px;
    gap: 10px;
    min-height: 94px;
    padding-bottom: 6px;
  }

  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }

  .site-header nav .nav-launchpad,
  .site-header nav .nav-prediction {
    font-size: 9px;
  }

  .graduation-banner {
    top: 94px;
  }

  .wallet-button {
    min-height: 42px;
    padding: 0 11px;
    font-size: 9px;
  }

  .stocks-page .header-actions .wallet-button {
    display: none;
  }

  .stocks-hero {
    gap: 30px;
    padding: 48px 0 44px;
  }

  .stocks-hero h1 {
    font-size: clamp(45px, 14vw, 63px);
    line-height: 0.87;
  }

  .stocks-hero-note {
    padding: 24px;
  }

  .stocks-section-head {
    display: block;
  }

  .stocks-section-head > p {
    margin-top: 18px;
  }

  .stock-grid {
    grid-template-columns: 1fr;
  }

  .stock-quote strong {
    font-size: 38px;
  }

  .stock-lp {
    padding: 28px;
    border-radius: 16px;
  }

  .stock-lp-copy h2 {
    font-size: 57px;
  }

  .stock-lp-visual {
    grid-template-columns: 1fr;
  }

  .lp-token strong {
    margin-top: 22px;
  }

  .lp-plus {
    justify-self: center;
  }

  .lp-flow,
  .lp-output {
    grid-column: 1;
  }

  .graduation-banner {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px 15px;
  }

  .graduation-banner button {
    margin-left: 0;
  }

  .trade-stage {
    padding-top: 20px;
  }

  .market-ident {
    display: block;
  }

  .market-ident h1 {
    font-size: 39px;
  }

  .market-status {
    justify-content: start;
    justify-items: start;
    margin-top: 18px;
  }

  .metric-rail {
    grid-template-columns: 1fr 1fr;
  }

  .metric-rail article,
  .metric-rail article:nth-child(3) {
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .metric-rail article:nth-child(-n + 2) {
    border-top: 0;
  }

  .metric-rail article:nth-child(2n) {
    border-right: 0;
  }

  .metric-rail article:last-child {
    border-right: 0;
  }

  .panel-head {
    display: block;
  }

  .legend {
    justify-content: flex-start;
    max-width: none;
    margin-top: 14px;
  }

  .chart-wrap {
    min-height: 330px;
  }

  .curve-tape {
    flex-wrap: wrap;
    padding: 10px 14px;
  }

  .curve-tape code,
  .tape-spacer {
    display: none;
  }

  .graduation-meter {
    grid-template-columns: 1fr;
    padding-bottom: 28px;
  }

  .activity-strip {
    grid-template-columns: 1fr auto;
  }

  #activity-feed {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-bottom: 10px;
  }

  .mechanism-section,
  .home-launchpad-section,
  .graduation-section,
  .ink-section,
  .contract-section {
    padding: 58px 0;
  }

  .section-heading h2,
  .home-launchpad-copy h2,
  .graduation-copy h2,
  .ink-copy h2,
  .contract-layout h2 {
    font-size: 42px;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .home-launchpad-system {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .home-launch-rail {
    flex-direction: row;
  }

  .home-launch-rail i {
    width: 36px;
    height: 1px;
  }

  .home-launchpad-system dl {
    grid-template-columns: 1fr;
  }

  .home-launchpad-system dl > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid rgba(109, 61, 245, 0.16);
  }

  .home-launchpad-system dl > div:last-child {
    border-bottom: 0;
  }

  .home-launchpad-system dd {
    margin-top: 0;
  }

  .flow-grid article {
    min-height: 230px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .flow-grid article:first-child {
    border-top: 0;
  }

  .migration-map {
    padding: 14px;
  }

  .migration-map dl {
    grid-template-columns: 1fr;
  }

  .ink-facts dd {
    max-width: 190px;
  }

  .contract-data > div {
    grid-template-columns: 1fr;
  }

  .contract-data dd {
    text-align: left;
  }

  .contract-data .verified-contract {
    align-items: flex-start;
  }

  footer {
    display: block;
    padding: 24px 0;
  }

  footer > div {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* Launch gate and explicit access to the independent legacy curve. */
.launch-notice { margin: 20px auto 0; width: min(1440px, calc(100% - 40px)); padding: 20px 24px; border: 1px solid #d9c9ff; border-radius: 18px; background: #f5f0ff; color: #4a238b; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.launch-notice[hidden] { display: none; }
.launch-notice > div { flex: 1 1 340px; }
.launch-notice strong { font-size: 12px; letter-spacing: .12em; }
.launch-notice p { margin: 7px 0 0; font-size: 13px; line-height: 1.6; }
.launch-notice a { font-size: 12px; font-weight: 700; color: #6d28d9; }
.launch-notice button[hidden], .launch-notice a[hidden] { display: none; }

/* A persistent entry point to the creator on every public page. */
.create-token-button{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:12px 14px;border-radius:10px;background:#7735df;color:#fff!important;font:700 11px var(--sans, sans-serif);text-decoration:none;box-shadow:0 4px 16px #7735df20}
.create-token-button:hover{background:#6222c5}
@media(max-width:1250px){.site-header{grid-template-columns:1fr auto;grid-template-rows:auto auto;padding-top:10px;padding-bottom:10px;gap:10px}.site-header nav{grid-column:1/-1;grid-row:2;justify-self:start}.header-actions{grid-column:2;grid-row:1}.header-actions .x-button{display:none}}
@media(max-width:560px){.site-header{padding-left:12px;padding-right:12px}.header-actions{gap:6px}.create-token-button{padding:11px 8px;font-size:10px}.header-actions .wallet-button{padding:0 8px;font-size:8px}.site-header .brand{gap:6px}.site-header .brand strong{font-size:15px}.site-header .brand-logo{width:26px;height:26px}}
/* Canonical navigation: a full second row before resorting to a mobile menu. */
.site-header.navigation-ready{grid-template-columns:170px minmax(0,1fr) 330px;grid-template-rows:auto;gap:18px;padding:0 24px}
.site-header.navigation-ready>.brand{grid-column:1;grid-row:1}
.site-header.navigation-ready>nav{display:flex;position:static;grid-column:2;grid-row:1;justify-self:stretch;align-items:center;gap:14px;font-size:11px;min-width:0}
.site-header.navigation-ready>nav>a,.site-header.navigation-ready>nav>span{display:block;white-space:nowrap;font-size:11px}
.site-header.navigation-ready>nav>.mobile-social-link{display:none}
.site-header.navigation-ready>nav>.nav-launchpad{margin-left:auto}
.site-header.navigation-ready>.header-actions{grid-column:3;grid-row:1;justify-self:end;min-width:0}
.site-header.navigation-ready>nav>[aria-current=page]{color:#7130d5;text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:2px}
@media(min-width:801px) and (max-width:1400px){
 .site-header.navigation-ready{grid-template-columns:1fr auto;grid-template-rows:auto auto;padding:10px 18px;gap:10px}
 .site-header.navigation-ready>.header-actions{grid-column:2;grid-row:1}
 .site-header.navigation-ready>nav{grid-column:1/-1;grid-row:2;min-height:34px;gap:16px}
 .site-header.navigation-ready .header-actions .x-button{display:none}
}
/* Every route remains reachable in phone-width menus. */
.site-header .menu-toggle,.site-header nav .mobile-social-link{display:none}
@media(max-width:800px){
 .site-header.navigation-ready{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto;gap:12px;min-height:70px;padding:12px 18px}
 .site-header.navigation-ready>.brand{grid-column:1;grid-row:1}
 .site-header.navigation-ready>.header-actions{grid-column:2;grid-row:1;min-width:0;justify-self:end}
 .site-header.navigation-ready>.menu-toggle{display:block;grid-column:3;grid-row:1;border:1px solid #d9c4ef;background:#f7efff;border-radius:10px;color:#7031b2;font:600 12px var(--mono);min-height:42px;padding:0 14px;cursor:pointer}
 .site-header.navigation-ready>nav{display:none;position:absolute;top:100%;left:12px;right:12px;grid-column:auto;grid-row:auto;justify-self:stretch;max-height:calc(100dvh - 145px);overflow-y:auto;padding:12px;border:1px solid #decaf2;border-radius:14px;background:#fff;box-shadow:0 16px 36px #35134921;font-size:12px;gap:4px}
 .site-header.navigation-ready.menu-open>nav{display:flex;flex-direction:column}
 .site-header.navigation-ready>nav>a,.site-header.navigation-ready>nav>span{display:block;white-space:normal;padding:13px 12px;font-size:12px;line-height:1.6;border-radius:8px}
 .site-header.navigation-ready>nav>a:hover{background:#f5ecff}
 .site-header.navigation-ready>nav>.nav-launchpad{margin-left:0}
 .site-header.navigation-ready>nav>.nav-prediction{font-size:11px;background:#f8f3fc}
 .site-header.navigation-ready>nav>.nav-prediction::after{display:inline-block}
 .site-header.navigation-ready .header-actions .x-button{display:none}
 .site-header.navigation-ready>nav>.mobile-social-link{display:block}
 .site-header .menu-toggle:focus-visible{outline:2px solid #8c45d3;outline-offset:3px}
}
@media(max-width:560px){
 .site-header.navigation-ready{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;padding:10px 12px;gap:8px}
 .site-header.navigation-ready>.menu-toggle{grid-column:2;grid-row:1}
 .site-header.navigation-ready>.header-actions{grid-column:1/-1;grid-row:2;justify-self:stretch;justify-content:space-between;gap:8px}
 .site-header.navigation-ready .header-actions .wallet-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;font-size:10px;padding:0 12px;max-width:55%;overflow:hidden;text-overflow:ellipsis}
 .site-header.navigation-ready .create-token-button{font-size:11px;padding:11px 14px}
 .site-header.navigation-ready>nav{max-height:calc(100dvh - 145px)}
}
.historical-releases { display:flex; flex-wrap:wrap; gap:12px; padding:12px 16px; margin:0 0 20px; border:1px solid #a570df55; border-radius:12px; font-size:12px; }
.historical-releases a { color:#a06ce5; text-decoration:underline; }
.test-environment-label{padding:8px 16px;background:#f5efff;border-bottom:1px solid #e7d9fa;color:#6e36a8;text-align:center;font:600 10px/1.5 var(--mono,monospace);letter-spacing:.07em;overflow-wrap:anywhere}
