:root {
  color-scheme: light;
  --text-font: "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
  --display-font: "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
  --page: #f4f4f2;
  --ink: #171717;
  --muted: #5f625f;
  --line: #deded9;
  --soft: #ffffff;
  --green: #ccff00;
  --green-hover: #b8eb00;
  --green-text: #5f7900;
  --green-strong: #3f5200;
  --green-soft: #f4ffd1;
  --green-line: #d5e98a;
  --green-ring: rgba(204, 255, 0, 0.34);
  --blue: #83c7df;
  --pink: #ffeaf2;
  --plum: #6a0033;
  --tan: #eac17d;
  --brown: #9d4e12;
  --navy: #063144;
  --warning: #b66b00;
  --danger: #c2382d;
  --shadow: 0 18px 50px rgba(23, 23, 23, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: var(--text-font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body[data-phase="token-launch"] .mint-only,
body[data-phase="registry-live"] .launch-only {
  display: none !important;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--green-ring);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 88px;
  padding: 0 32px;
  background: rgba(244, 244, 242, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-symbol {
  width: 18px;
  height: 28px;
  border: 2px solid var(--green);
  border-radius: 50% 50% 48% 48%;
  transform: rotate(32deg);
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.top-search {
  justify-self: end;
  display: grid;
  grid-template-columns: minmax(180px, 330px) auto;
  gap: 10px;
  width: min(460px, 100%);
}

.top-search input,
.input-wrap input,
.wallet-grid input,
.payment-select {
  border: 1px solid var(--line);
  background: #fbfbfa;
  color: var(--ink);
}

.top-search input {
  min-height: 52px;
  border-radius: 8px;
  padding: 0 16px;
}

.top-search button {
  display: none;
}

.launch-button,
.primary-action,
.secondary-action,
.input-wrap button {
  min-height: 52px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  padding: 0 24px;
  font-weight: 700;
}

.launch-button {
  justify-self: end;
}

.launch-button,
.primary-action {
  background: var(--ink);
  color: #ffffff;
}

.secondary-action,
.input-wrap button {
  background: #ffffff;
  color: var(--ink);
}

.name-pill,
.soon-badge,
.section-label,
.message {
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - 88px);
  padding: 40px 24px 96px;
  text-align: center;
}

.launch-hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 72px max(32px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  background-color: var(--page);
  background-image: url("./assets/nametrade-x-banner.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: left;
  isolation: isolate;
}

.launch-hero::before,
.launch-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.launch-hero::before {
  background: rgba(244, 244, 242, 0.24);
}

.launch-hero::after {
  right: auto;
  width: 58%;
  background: rgba(244, 244, 242, 0.88);
}

.launch-hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 58vw);
}

.launch-hero .soon-badge {
  margin-bottom: 24px;
}

.launch-hero h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: 4.7rem;
  line-height: 0.98;
  text-align: left;
}

.launch-hero .hero-copy {
  max-width: 620px;
  margin: 0 0 34px;
  color: #292c29;
}

.launch-hero .hero-actions,
.launch-hero .proof-line {
  justify-content: flex-start;
}

.launch-hero .proof-line {
  max-width: 660px;
}

.token-section,
.sequence-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.launch-status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.launch-status-strip > div {
  min-width: 0;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.launch-status-strip > div:first-child {
  border-left: 0;
}

.launch-status-strip span:not(.status-dot) {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.launch-status-strip strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.launch-state {
  display: flex;
  align-items: center;
  gap: 14px;
}

.launch-state .status-dot {
  margin-right: 2px;
}

.lore-section {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 96px;
  align-items: start;
  padding: 104px max(32px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: #ffffff;
}

.lore-section .section-label {
  margin-bottom: 26px;
  color: var(--green);
}

.lore-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.45rem;
  font-weight: 500;
  line-height: 1.02;
}

.lore-copy p {
  margin-bottom: 22px;
  color: #d5d6d1;
  font-size: 1.06rem;
}

.lore-copy blockquote {
  margin: 42px 0 0;
  padding-top: 26px;
  border-top: 1px solid #4a4a46;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.12;
}

.sequence-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.sequence-list li {
  display: grid;
  grid-template-columns: 70px 250px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.sequence-list li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 4px;
  background: var(--green);
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
}

.sequence-list h3,
.sequence-list p {
  margin: 0;
}

.sequence-list h3 {
  padding-top: 7px;
  font-size: 1.15rem;
}

.sequence-list p {
  padding-top: 7px;
  color: var(--muted);
}

.floating-names {
  position: absolute;
  inset: 0;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  pointer-events: none;
  z-index: 1;
}

.name-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(23, 23, 23, 0.08);
  animation: name-drift var(--drift-duration, 12s) ease-in-out infinite;
  animation-delay: var(--drift-delay, 0s);
  will-change: transform;
}

.name-pill::after,
.chip {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: currentColor;
}

.name-pill::after {
  right: -8px;
  bottom: -8px;
}

.pill-a { top: 7%; left: 18%; background: var(--plum); color: #ffffff; --float-x: 18px; --float-y: 12px; --float-x2: -10px; --float-y2: -8px; --drift-duration: 13s; }
.pill-b { top: 24%; left: 5%; background: var(--green-soft); color: var(--ink); --float-x: 16px; --float-y: -14px; --float-x2: -8px; --float-y2: 16px; --drift-duration: 12s; --drift-delay: -2s; }
.pill-c { top: 37%; left: 12%; background: var(--pink); color: #6a0033; --float-x: -14px; --float-y: 10px; --float-x2: 14px; --float-y2: -12px; --drift-duration: 14s; --drift-delay: -6s; }
.pill-d { top: 9%; right: 13%; background: var(--green); color: var(--ink); --float-x: -18px; --float-y: 10px; --float-x2: 12px; --float-y2: -12px; --drift-duration: 11s; --drift-delay: -4s; }
.pill-e { top: 22%; right: 2%; background: var(--brown); color: #ffffff; --float-x: -16px; --float-y: -10px; --float-x2: 10px; --float-y2: 14px; --drift-duration: 12.5s; --drift-delay: -1s; }
.pill-f { top: 52%; right: 5%; background: #ffeaf2; color: #6a0033; --float-x: -12px; --float-y: 12px; --float-x2: 16px; --float-y2: -10px; --drift-duration: 15s; --drift-delay: -8s; }
.pill-g { top: 36%; right: 14%; background: var(--blue); color: #063144; --float-x: 14px; --float-y: -12px; --float-x2: -12px; --float-y2: 8px; --drift-duration: 13.5s; --drift-delay: -5s; }
.pill-h { bottom: 28%; left: 17%; background: var(--tan); color: #4a2106; --float-x: 12px; --float-y: -10px; --float-x2: -16px; --float-y2: 12px; --drift-duration: 14.5s; --drift-delay: -7s; }
.pill-i { bottom: 11%; left: 8%; background: var(--navy); color: #ffffff; --float-x: 18px; --float-y: -12px; --float-x2: -8px; --float-y2: 8px; --drift-duration: 12.8s; --drift-delay: -3s; }
.pill-j { bottom: 22%; right: 18%; background: var(--navy); color: #ffffff; --float-x: -14px; --float-y: -12px; --float-x2: 12px; --float-y2: 10px; --drift-duration: 13.8s; --drift-delay: -9s; }

.chip-a { top: 29%; left: 10%; color: var(--green); --chip-x: 12px; --chip-y: -14px; --chip-duration: 9s; }
.chip-b { top: 31%; left: 36%; color: var(--plum); --chip-x: -10px; --chip-y: 12px; --chip-duration: 8s; --chip-delay: -3s; }
.chip-c { top: 8%; right: 11%; color: var(--green); --chip-x: -14px; --chip-y: 10px; --chip-duration: 7.5s; --chip-delay: -2s; }
.chip-d { top: 59%; right: 27%; color: var(--plum); --chip-x: 12px; --chip-y: 14px; --chip-duration: 9.5s; --chip-delay: -5s; }
.chip-e { bottom: 16%; left: 15%; color: #008ed6; --chip-x: 14px; --chip-y: -10px; --chip-duration: 8.5s; --chip-delay: -4s; }

.soon-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin-bottom: 30px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--green);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spark {
  width: 26px;
  height: 26px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 8px 0 0 rgba(23, 23, 23, 0.2);
  animation: spark-breathe 3.6s ease-in-out infinite;
}

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

h1 {
  position: relative;
  z-index: 2;
  margin-bottom: 34px;
  color: #181818;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.65rem;
  font-weight: 500;
  line-height: 0.96;
}

h1 em {
  padding: 0 0.03em;
  color: var(--ink);
  font-style: normal;
  box-shadow: inset 0 -0.15em 0 var(--green);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto 42px;
  color: #343936;
  font-size: 1.08rem;
}

.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
}

.primary-action {
  min-width: 190px;
  text-transform: none;
  font-size: 0.95rem;
}

.text-action {
  color: var(--green-text);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: none;
}

.proof-line {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  color: #9c9d99;
}

.proof-line span {
  flex-basis: 100%;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.proof-line strong {
  color: #777a75;
  font-size: 1rem;
}

.rule-section,
.why-section,
.find-section,
.protocol-section {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 34px;
}

.section-label {
  margin: 0;
  color: var(--green-text);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-intro h2,
.find-copy h2,
.protocol-section h2 {
  margin-bottom: 12px;
  font-family: var(--display-font);
  font-size: 2.18rem;
  font-weight: 800;
  line-height: 1.08;
}

.section-intro p:not(.section-label),
.find-copy p,
.protocol-grid p,
.rule-grid p,
.result-meta dt,
footer p,
.register-dialog p:not(.section-label) {
  color: var(--muted);
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rule-grid article,
.protocol-grid article,
.checker-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.rule-grid article {
  min-height: 190px;
  padding: 22px;
}

.rule-grid span,
.protocol-grid article span {
  display: block;
  margin-bottom: 38px;
  color: #008ed6;
  font-weight: 900;
}

.rule-grid h3,
.protocol-grid h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.find-section {
  display: grid;
  grid-template-columns: 0.5fr 0.95fr;
  gap: 44px;
  align-items: start;
}

.checker-card {
  padding: 18px;
  font-family: var(--text-font);
  box-shadow: var(--shadow);
}

.name-form label,
.wallet-grid label {
  display: block;
  color: #242424;
  font-size: 0.94rem;
  font-weight: 800;
}

.name-form label {
  margin-bottom: 8px;
}

.input-wrap {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto auto;
  gap: 8px;
}

.input-wrap input {
  min-height: 52px;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 700;
}

.input-wrap span {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 13px;
  border: 1px solid var(--green-line);
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-weight: 900;
  white-space: nowrap;
}


.wallet-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--green-line);
  border-radius: 8px;
  background: #fbfff0;
}

.wallet-connect div {
  min-width: 0;
}

.wallet-connect p {
  margin: 0 0 3px;
  color: var(--green-text);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wallet-connect strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.wallet-connect span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.wallet-button {
  flex: 0 0 auto;
  min-width: 150px;
}
.route-row {
  margin-top: 16px;
}

.route-row p {
  margin: 0 0 8px;
  color: #242424;
  font-size: 0.94rem;
  font-weight: 800;
}

.route-control {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.route-control label {
  position: relative;
  min-width: 0;
}

.route-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.route-control span {
  display: grid;
  min-height: 48px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfa;
  color: #3b3e3a;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.route-control input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.route-control input:focus-visible + span {
  outline: 3px solid var(--green-ring);
  outline-offset: 3px;
}

.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.wallet-grid label:last-child {
  grid-column: 1 / -1;
}

.wallet-grid input,
.payment-select {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  border-radius: 8px;
  padding: 0 12px;
  font-weight: 700;
}

.fixed-payment {
  display: flex;
  align-items: center;
}

.money-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0;
  margin-top: 8px;
}

.money-field > span {
  display: grid;
  min-height: 50px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: var(--green-soft);
  color: var(--green-strong);
}

.money-field input {
  margin-top: 0;
  border-radius: 0 8px 8px 0;
}

.result-card {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.result-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.result-heading strong {
  overflow-wrap: anywhere;
  font-family: var(--display-font);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.12;
}

.status-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px var(--green-ring);
}

.status-dot.claimed,
.status-dot.reserved,
.status-dot.invalid,
.status-dot.blocked {
  background: var(--danger);
  box-shadow: 0 0 0 6px rgba(194, 56, 45, 0.11);
}

.status-dot.gated {
  background: var(--warning);
  box-shadow: 0 0 0 6px rgba(182, 107, 0, 0.13);
}

.result-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin: 22px 0 0;
}

.result-meta div {
  min-width: 0;
}

.result-meta dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.result-meta dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}


.checker-card input,
.checker-card select,
.checker-card button,
.result-meta dd {
  font-family: var(--text-font);
}

.checker-card .primary-action,
.checker-card .secondary-action {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: none;
}
.checker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

#register-button:disabled {
  border-color: var(--line);
  background: #ececea;
  color: #848782;
  cursor: not-allowed;
}

.complexity-card {
  position: relative;
  min-height: 350px;
  border: 1px solid #94c6d7;
  background: #c8e3ec;
  box-shadow: 22px 20px 0 #f5bdd7, 44px 10px 0 #a6dcc7;
  overflow: hidden;
}

.complexity-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 34px;
  background: #b7d7e3;
  border-bottom: 1px solid #94c6d7;
}

.message {
  position: absolute;
  max-width: min(72%, 520px);
  padding: 12px 15px;
  border-radius: 4px;
  background: #ffffff;
  color: #1d1d1b;
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
  box-shadow: 0 1px 0 rgba(23, 23, 23, 0.08);
}

.address-message {
  left: 19%;
  top: 42%;
  overflow-wrap: anywhere;
}

.name-message {
  right: 16%;
  top: 32%;
  background: #008ed6;
  color: #ffffff;
}

.reply-message {
  left: 22%;
  bottom: 20%;
}

.protocol-section {
  padding-bottom: 108px;
}

.section-intro.narrow {
  grid-template-columns: 1fr;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.protocol-grid article {
  min-height: 230px;
  padding: 22px;
}

.register-dialog {
  width: min(520px, calc(100% - 30px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 26px;
  box-shadow: 0 24px 64px rgba(23, 23, 23, 0.22);
}

.register-dialog::backdrop {
  background: rgba(23, 23, 23, 0.28);
}

.register-dialog h2 {
  margin-bottom: 14px;
  font-family: var(--display-font);
  font-size: 2rem;
  font-weight: 800;
}

.dialog-close {
  float: right;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: min(360px, calc(100% - 40px));
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

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

footer {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 32px;
  padding: 42px min(8vw, 90px);
  background: #002935;
  color: #ffffff;
}

footer span {
  font-weight: 900;
}

footer p {
  margin: 0;
  color: #d3e1e4;
}


.chip {
  animation: chip-drift var(--chip-duration, 8s) ease-in-out infinite;
  animation-delay: var(--chip-delay, 0s);
  will-change: transform, opacity;
}

@keyframes name-drift {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  35% {
    transform: translate3d(var(--float-x, 12px), var(--float-y, -12px), 0);
  }

  70% {
    transform: translate3d(var(--float-x2, -10px), var(--float-y2, 10px), 0);
  }
}

@keyframes chip-drift {
  0%, 100% {
    opacity: 0.9;
    transform: translate3d(0, 0, 0) scale(1);
  }

  45% {
    opacity: 1;
    transform: translate3d(var(--chip-x, 10px), var(--chip-y, -10px), 0) scale(1.12);
  }

  78% {
    opacity: 0.74;
    transform: translate3d(calc(var(--chip-x, 10px) * -0.45), calc(var(--chip-y, -10px) * -0.45), 0) scale(0.92);
  }
}

@keyframes spark-breathe {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

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

  .name-pill,
  .chip,
  .spark,
  .toast {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  nav {
    display: none;
  }

  .top-search {
    width: min(360px, 100%);
  }

  h1 {
    font-size: 4.8rem;
  }

  .launch-hero {
    padding-right: 32px;
    padding-left: 32px;
    background-position: 58% center;
  }

  .launch-hero::after {
    width: 66%;
  }

  .launch-hero-content {
    width: min(620px, 64vw);
  }

  .launch-hero h1 {
    font-size: 3.85rem;
  }

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

  .launch-status-strip > div:nth-child(3) {
    border-left: 0;
  }

  .launch-status-strip > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .lore-section {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .lore-heading {
    max-width: 720px;
  }

  .sequence-list li {
    grid-template-columns: 64px 210px 1fr;
  }

  .name-pill {
    min-height: 42px;
    font-size: 0.92rem;
  }

  .find-section,
  .section-intro {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    min-height: 74px;
    padding: 0 16px;
  }

  .top-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-bottom: 14px;
  }

  .launch-button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: auto;
    padding: 66px 16px 56px;
  }

  .launch-hero {
    min-height: calc(100svh - 74px);
    padding: 54px 20px 60px;
    background-position: 60% center;
  }

  .launch-hero::before {
    background: rgba(244, 244, 242, 0.48);
  }

  .launch-hero::after {
    width: 100%;
    background: rgba(244, 244, 242, 0.78);
  }

  .launch-hero-content {
    width: 100%;
  }

  .launch-hero h1 {
    max-width: 100%;
    font-size: 2.65rem;
  }

  .launch-hero .hero-actions {
    align-items: flex-start;
  }

  .launch-hero .proof-line {
    justify-content: flex-start;
    text-align: left;
  }

  .floating-names {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: min(100%, 520px);
    margin-bottom: 34px;
  }

  .name-pill {
    position: static;
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.86rem;
  }

  .name-pill::after,
  .chip {
    display: none;
  }

  .soon-badge {
    margin-bottom: 22px;
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
  }

  .rule-section,
  .why-section,
  .find-section,
  .protocol-section {
    width: min(100% - 28px, 980px);
    padding: 56px 0;
  }

  .token-section,
  .sequence-section {
    width: min(100% - 32px, 1180px);
    padding: 64px 0;
  }

  .launch-status-strip {
    grid-template-columns: 1fr;
  }

  .launch-status-strip > div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .launch-status-strip > div:first-child {
    border-top: 0;
  }

  .lore-section {
    gap: 42px;
    padding: 72px 20px;
  }

  .lore-heading h2 {
    font-size: 2.55rem;
  }

  .lore-copy blockquote {
    font-size: 1.65rem;
  }

  .sequence-list li {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .sequence-list li > span {
    width: 40px;
    height: 40px;
  }

  .sequence-list p {
    grid-column: 2;
    padding-top: 0;
  }

  .rule-grid,
  .wallet-grid,
  .protocol-grid,
  .result-meta,
  .route-control,
  .input-wrap,
  footer {
    grid-template-columns: 1fr;
  }

  .wallet-grid label:last-child {
    grid-column: auto;
  }

  .input-wrap span,
  .input-wrap button {
    justify-content: center;
  }

  .complexity-card {
    min-height: 360px;
    box-shadow: 12px 12px 0 #f5bdd7, 24px 6px 0 #a6dcc7;
  }

  .message {
    max-width: 78%;
  }

  .address-message {
    left: 10%;
    top: 43%;
  }

  .name-message {
    right: 8%;
    top: 30%;
  }

  .reply-message {
    left: 10%;
    bottom: 18%;
  }
}
