:root {
  color-scheme: dark;
  --bg: #0f1115;
  --surface: #17191f;
  --surface2: #20232b;
  --border: #2d313a;
  --text: #f9fafb;
  --muted: #a7adb8;
  --faint: #707784;
  --accent: #ef334f;
  --accent-strong: #dc2626;
  --soft: rgba(239, 51, 79, 0.12);
  --hex-opacity: 0.13;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 18px 42px rgba(0, 0, 0, 0.28);
  --radius-card: 8px;
}
:root.light {
  color-scheme: light;
  --bg: #f9fafb;
  --surface: #fff;
  --surface2: #f3f4f6;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #4b5563;
  --faint: #9ca3af;
  --accent: #dc2626;
  --accent-strong: #b91c1c;
  --soft: rgba(220, 38, 38, 0.08);
  --hex-opacity: 0.09;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 10px 28px rgba(17, 24, 39, 0.05);
  --shadow-hover: 0 18px 36px rgba(17, 24, 39, 0.12);
}
* {
  box-sizing: border-box;
}
.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;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.55 Poppins,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
a {
  font: inherit;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 3px;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: 210px minmax(500px, 680px) 210px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: var(--text);
  text-decoration: none;
  font-size: 1.18rem;
  font-weight: 760;
}
.brand-logo {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.brand-upload {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-fallback {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-upload[hidden],
.brand-fallback[hidden] {
  display: none;
}
.brand .brand-fallback[hidden] {
  display: none;
}
.brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 24%, transparent);
}
.brand-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.steps {
  position: relative;
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
}
.progress-track {
  position: absolute;
  top: 18px;
  left: 5.5%;
  right: 5.5%;
  height: 3px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
}
.progress-track span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.4s ease;
}
.step-tab {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--faint);
  font-size: 0.68rem;
  cursor: pointer;
}
.step-tab:disabled {
  opacity: 0.35;
  cursor: default;
}
.step-tab i {
  width: 10px;
  height: 10px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--border);
  transition: 0.25s ease;
}
.step-tab.active,
.step-tab.done {
  color: var(--text);
}
.step-tab.active i,
.step-tab.done i {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--soft);
}
.step-tab.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 11%;
  right: 11%;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
}
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.language-picker select {
  width: auto;
  min-width: 0;
  field-sizing: content;
  height: 40px;
  padding: 0 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}
.language-picker select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 3px;
}
.theme-toggle {
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.theme-toggle .moon {
  display: none;
}
.light .theme-toggle .sun {
  display: none;
}
.light .theme-toggle .moon {
  display: block;
}
main {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: 610px;
  padding: 58px max(4vw, 24px) 48px;
  overflow: hidden;
}
main:before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 74px 0 72px;
  background: url("./assets/images/hexagon-field.svg") center / cover no-repeat;
  opacity: var(--hex-opacity);
  pointer-events: none;
}
.page {
  display: none;
  width: min(1040px, 100%);
  margin: auto;
  opacity: 0;
}
.page.is-active {
  display: block;
  opacity: 1;
}
.page.is-active.is-entering {
  animation: enter 0.42s ease forwards;
}
@keyframes enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.page-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}
.page-head .eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.page-head .eyebrow:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: currentColor;
}
.page-head h1,
.page-head h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4.3vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.page-head p {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.06rem;
}
.no-eyebrow {
  margin-bottom: 52px;
}
.welcome-page .page-head h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.5rem);
}
.journey {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.journey article {
  width: 140px;
  min-height: 144px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.journey b {
  color: var(--accent);
  font-size: 1.55rem;
  font-weight: 400;
}
.journey strong {
  font-size: 0.94rem;
}
.journey small {
  color: var(--muted);
  font-size: 0.72rem;
}
.icon-tile,
.card-icon,
.token-icon,
.activity-icon {
  display: grid;
  place-items: center;
}
.icon-tile {
  width: 49px;
  height: 49px;
  margin-bottom: 10px;
  border-radius: 13px;
  background: var(--surface2);
}
.icon-tile.accent {
  background: var(--accent);
}
.icon-tile.keychain-tile {
  overflow: visible;
  border-radius: 0;
  background: transparent;
}
.keychain-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.icon-tile .hive-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.icon-tile svg,
.card-icon svg,
.token-icon svg,
.activity-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-tile.accent svg {
  stroke: #fff;
}
.three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.feature-card .card-icon {
  margin: 0;
}
.feature-card p {
  grid-column: 1 / -1;
}
.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: var(--soft);
  color: var(--accent);
}
.feature-card h3,
.key-card h3,
.token-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.feature-card > h3 {
  margin: 0;
}
.feature-card p,
.key-card p,
.token-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
#hive .page-head {
  margin-bottom: 26px;
}
.ecosystem-map {
  --map-gap: 12px;
  width: min(840px, 100%);
  margin: 0 auto 28px;
}
.map-node {
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  font-size: 0.88rem;
}
.map-node img,
.map-node > svg {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.map-node svg {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map-core,
.map-keychain {
  width: min(240px, 100%);
  margin-inline: auto;
}
.map-core {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
.map-keychain {
  border-color: var(--accent);
  background: var(--soft);
}
.map-link,
.map-branches {
  position: relative;
  color: var(--accent);
}
.map-link {
  height: 24px;
  background: linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
.map-link:after,
.map-branches > span:after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.map-branches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--map-gap);
  height: 36px;
}
.map-branches:before {
  content: "";
  position: absolute;
  left: calc(12.5% - var(--map-gap) * 0.375);
  right: calc(12.5% - var(--map-gap) * 0.375);
  border-top: 2px solid currentColor;
}
.map-branches:before {
  top: 14px;
}
.map-branches:after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 1px);
  height: 14px;
  border-left: 2px solid currentColor;
}
.map-branches > span {
  position: relative;
}
.map-branches > span:before {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  border-left: 2px solid currentColor;
}
.map-branches > span:before {
  top: 14px;
  bottom: 3px;
}
.map-dapps ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--map-gap);
  padding: 0;
  margin: 0;
  list-style: none;
}
.map-dapps .map-node {
  flex-direction: column;
  min-height: 88px;
  padding: 12px 6px;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}
.key-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.key-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.key-card > div {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
}
.key-card .card-icon {
  margin: 0;
}
.key-card small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.key-card h3 {
  margin: 0;
}
.key-card p {
  margin-top: 14px;
}
.account-warning,
.danger-note {
  margin-top: 20px;
  padding: 17px 20px;
  border: 1px solid rgba(246, 46, 82, 0.28);
  border-radius: 14px;
  background: var(--soft);
}
.account-warning strong,
.danger-note strong {
  font-size: 0.9rem;
}
.account-warning p,
.danger-note p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.token-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.token-card {
  display: flex;
  gap: 15px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.token-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 12px;
}
.token-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.token-icon.coral {
  background: rgba(246, 46, 82, 0.12);
  color: var(--accent);
}
.token-icon.amber {
  background: rgba(226, 150, 42, 0.12);
  color: #e2962a;
}
.token-icon.green {
  background: rgba(25, 177, 114, 0.12);
  color: #19b172;
}
.token-card h3 small {
  display: block;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
}
.conversion-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 18px;
}
.conversion-list article {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 16px;
  padding: 17px 20px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
}
.conversion-list article > div {
  display: grid;
  gap: 7px;
}
.conversion-list strong {
  font-size: 0.86rem;
}
.conversion-list span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.conversion-list b {
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--surface2);
  font-size: 0.7rem;
}
.conversion-list i {
  color: var(--accent);
  font-style: normal;
}
.conversion-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.activity-card {
  position: relative;
  display: block;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease;
}
.activity-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 30px;
}
.activity-card:hover,
.activity-card[aria-expanded="true"] {
  border-color: color-mix(in srgb, currentColor 38%, var(--border));
}
.activity-card .activity-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: color-mix(in srgb, currentColor 12%, transparent);
}
.activity-label {
  display: grid;
}
.activity-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.activity-card[aria-expanded="true"] .activity-arrow {
  transform: rotate(90deg);
}
.activity-label small {
  display: block;
  color: currentColor;
  font-size: 0.67rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.activity-label strong {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 1.28rem;
}
.activity-card > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.activity-card.coral {
  color: var(--accent);
}
.activity-card.blue {
  color: #139dd6;
}
.activity-card.purple {
  color: #8c63eb;
}
.activity-card.green {
  color: #19b172;
}
.tag-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  overflow: hidden;
  opacity: 0;
  transition: 0.25s ease;
}
.activity-card[aria-expanded="true"] .tag-row {
  max-height: 80px;
  margin-top: 16px;
  padding-top: 14px;
  border-color: var(--border);
  opacity: 1;
}
.tag-row i {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--surface2);
  color: var(--text);
  font-size: 0.7rem;
  font-style: normal;
}
.tag-row i:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 6px 1px 0;
  border-radius: 50%;
  background: currentColor;
}
.config-note {
  margin: 18px 0 0;
  text-align: center;
  color: var(--faint);
  font-size: 0.72rem;
}
.interface-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.interface-card {
  display: flex;
  flex-direction: column;
  min-height: 355px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.interface-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 1rem;
}
.interface-card h3 .card-icon {
  width: 36px;
  height: 36px;
  margin: 0;
}
.mini-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding-left: 25px;
}
.mini-flow:before {
  content: "";
  position: absolute;
  top: 17px;
  bottom: 17px;
  left: 7px;
  width: 2px;
  background: color-mix(in srgb, var(--accent) 38%, var(--border));
}
.mini-flow span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface2);
  font-size: 0.73rem;
}
.mini-flow span:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -23px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 38%, var(--border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, var(--border));
  transform: translateY(-50%);
}
.mini-flow span.hot {
  border-color: rgba(246, 46, 82, 0.3);
  background: var(--soft);
  color: var(--accent);
  font-weight: 700;
}
.mini-flow span.hot:before {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--soft);
}
.mini-flow svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.mini-flow i {
  display: none;
}
.sign-card .mini-flow {
  padding-bottom: 18px;
}
.interface-card > p {
  margin: auto 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}
.key-visual {
  display: grid;
  gap: 10px;
}
.key-visual span,
.key-visual b {
  position: relative;
  padding: 11px 11px 11px 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface2);
  text-align: left;
  font-size: 0.75rem;
}
.key-visual span:before,
.key-visual b:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 28%, var(--border));
  transform: translateY(-50%);
}
.key-visual b {
  border-color: rgba(246, 46, 82, 0.32);
  background: var(--soft);
  color: var(--accent);
}
.key-visual b:before {
  background: var(--accent);
}
.login-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 900px;
  margin: -18px auto 16px;
  padding: 13px 16px;
  border: 1px solid #eadc87;
  border-radius: 12px;
  background: #fffbe5;
  color: #5c4a25;
}
.login-notice p {
  margin: 0;
  font-size: 0.82rem;
}
.login-notice a {
  color: inherit;
  font-weight: 800;
}
.demo-label {
  width: max-content;
  margin: 0 auto 12px;
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.7rem;
}
.demo-label i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: #df8c1b;
}
.browser-demo {
  position: relative;
  width: min(760px, 100%);
  min-height: 300px;
  margin: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.browser-bar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-bottom: 1px solid var(--border);
}
.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d85b5b;
}
.browser-bar i:nth-child(2) {
  background: #d6a53e;
}
.browser-bar i:nth-child(3) {
  background: #24a583;
}
.browser-bar span {
  margin-left: 8px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.72rem;
}
.browser-body {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 260px;
  padding: 28px;
}
.demo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.demo-brand .brand-mark {
  width: 36px;
  height: 36px;
}
.demo-keychain-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  object-fit: contain;
}
.login-keychain-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
}
.demo-brand strong {
  font-size: 1.25rem;
}
.browser-body h3 {
  margin: 20px 0 4px;
  font-size: 1.35rem;
}
.browser-body > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.84rem;
}
.login-button,
.ghost {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 11px;
  font-weight: 750;
  cursor: pointer;
}
.login-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}
.login-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.login-progress {
  min-height: 22px;
  margin: 16px 0 0 !important;
}
.login-profile[hidden] {
  display: none;
}
.login-profile {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  margin-top: 14px;
  text-align: left;
}
.login-avatar {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--soft);
}
.login-avatar img,
.login-avatar-fallback {
  width: 100%;
  height: 100%;
  grid-area: 1 / 1;
}
.login-avatar img {
  display: block;
  object-fit: cover;
}
.login-avatar-fallback {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
}
.login-avatar-fallback[hidden] {
  display: none;
}
.login-profile-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.login-profile-copy small {
  color: var(--muted);
  font-size: 0.72rem;
}
.login-profile-copy strong {
  overflow: hidden;
  max-width: min(260px, 65vw);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.approval-panel {
  position: absolute;
  z-index: 3;
  inset: 70px 48px auto;
  max-width: 470px;
  margin: auto;
  border: 1px solid rgba(246, 46, 82, 0.25);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.25s ease;
}
.approval-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.approval-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--border);
  background: var(--soft);
}
.approval-head .brand-mark {
  width: 34px;
  height: 34px;
}
.approval-head p {
  display: grid;
  margin: 0;
}
.approval-head small {
  color: var(--muted);
}
.approval-body {
  padding: 16px;
}
.approval-body h4 {
  margin: 0 0 10px;
}
.approval-body dl {
  margin: 0;
}
.approval-body dl div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}
.approval-body dt {
  color: var(--muted);
}
.approval-body dd {
  margin: 0;
  font-weight: 700;
}
.approval-body > p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
}
.approval-body > p svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
}
.approval-body > div {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.ghost {
  border: 1px solid var(--border);
  background: var(--surface2);
}
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.safety-grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.safety-grid header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.safety-grid header b {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
}
.safety-grid h3 {
  margin: 0;
  font-size: 1rem;
}
.safety-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.danger-note {
  max-width: 820px;
  margin-inline: auto;
}
.ready-page {
  max-width: 720px;
}
.ready-page .page-head {
  margin-bottom: 26px;
}
.powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 26px;
}
.powered .powered-logo {
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.powered-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.powered p {
  display: grid;
  margin: 0;
}
.powered strong {
  font-size: 1.05rem;
}
.powered small {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.final-links {
  display: grid;
  gap: 11px;
}
.final-links a {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.final-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.final-links b {
  color: var(--muted);
  font-size: 1.1rem;
}
.final-links .primary-link {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.final-links .primary-link b {
  color: #fff;
}
.bottom-nav {
  position: sticky;
  z-index: 20;
  bottom: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 7vw;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  backdrop-filter: blur(18px);
}
.nav-back,
.nav-next {
  width: max-content;
  min-height: 42px;
  border: 0;
  background: none;
  cursor: pointer;
  font-weight: 650;
}
.nav-back {
  color: var(--muted);
}
.nav-back.is-hidden {
  display: none;
}
.nav-back em {
  font-style: normal;
}
.nav-back:disabled {
  opacity: 0.32;
  cursor: default;
}
.nav-next {
  justify-self: end;
  padding: 0 21px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
}
.nav-next.finish {
  background: #079b67;
}
.page-count {
  color: var(--faint);
  font-size: 0.76rem;
}
.page-count b {
  color: var(--text);
}
.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 88px;
  max-width: calc(100% - 30px);
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface2);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: 0.22s ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 12px;
    padding-inline: 22px;
  }
  .step-tab {
    font-size: 0.62rem;
  }
  .three-cards,
  .token-grid,
  .interface-grid {
    gap: 11px;
  }
  .conversion-list article {
    grid-template-columns: 1fr;
  }
  .page-head {
    margin-bottom: 32px;
  }
}
@media (max-width: 720px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    min-height: 64px;
    padding: 0 20px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .steps {
    height: 64px;
  }
  .step-tab {
    display: none;
  }
  .progress-track {
    top: 29px;
    left: 8%;
    right: 8%;
    height: 3px;
  }
  .theme-toggle {
    width: 38px;
    height: 38px;
  }
  .language-picker select {
    height: 38px;
    padding: 0 5px;
  }
  .brand span:last-child {
    display: block;
  }
  main {
    display: block;
    min-height: calc(100vh - 136px);
    padding: 58px 20px 42px;
    overflow: visible;
  }
  main:before {
    inset: 64px 0 62px;
  }
  .page {
    width: 100%;
  }
  .page-head {
    margin-bottom: 30px;
  }
  .page-head h1,
  .page-head h2,
  .welcome-page .page-head h1 {
    font-size: 1.82rem;
  }
  .page-head p {
    font-size: 1rem;
  }
  .desktop-only {
    display: none;
  }
  .journey {
    display: grid;
    grid-template-columns: 1fr;
  }
  .journey article {
    width: 100%;
    min-height: 118px;
  }
  .journey b {
    display: none;
  }
  .three-cards,
  .key-grid,
  .token-grid,
  .activity-grid,
  .interface-grid,
  .safety-grid,
  .conversion-list {
    grid-template-columns: 1fr;
  }
  .ecosystem-map {
    --map-gap: 8px;
  }
  .map-dapps .map-node {
    padding-inline: 4px;
    font-size: 0.75rem;
  }
  .key-card {
    text-align: center;
  }
  .key-card > div {
    align-items: center;
  }
  .token-card {
    padding: 22px;
  }
  .interface-card {
    min-height: 360px;
  }
  .login-notice {
    margin-top: -8px;
  }
  .browser-demo {
    min-height: 300px;
  }
  .approval-panel {
    inset: 72px 18px auto;
  }
  .safety-grid article {
    min-height: 170px;
  }
  .bottom-nav {
    min-height: 62px;
    padding: 0 20px;
  }
  .nav-back em {
    display: none;
  }
  .nav-next {
    min-height: 42px;
  }
  .no-eyebrow {
    margin-top: 100px;
  }
  .ready-page .no-eyebrow {
    margin-top: 70px;
  }
}
@media (max-width: 460px) {
  .brand span:last-child {
    font-size: 1.08rem;
  }
  .topbar {
    padding-inline: 20px;
  }
  .page-head h2 {
    font-size: 1.75rem;
  }
  .journey {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .journey article {
    min-height: 130px;
  }
  .browser-body {
    padding-inline: 18px;
  }
  .approval-body dl div {
    gap: 12px;
  }
  .final-links a {
    min-height: 50px;
  }
  .account-warning {
    font-size: 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.login-notice[hidden] {
  display: none;
}
.journey article,
.feature-card,
.key-card,
.token-card,
.conversion-list article,
.activity-card,
.interface-card,
.browser-demo,
.approval-panel,
.safety-grid article {
  border-radius: var(--radius-card);
}

@keyframes reveal-item {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes login-success {
  50% {
    box-shadow: 0 0 0 7px color-mix(in srgb, #16a36a 18%, transparent);
  }
}
.page.is-active.is-entering .journey article,
.page.is-active.is-entering .feature-card,
.page.is-active.is-entering .key-card,
.page.is-active.is-entering .token-card,
.page.is-active.is-entering .conversion-list article,
.page.is-active.is-entering .activity-card,
.page.is-active.is-entering .interface-card,
.page.is-active.is-entering .browser-demo,
.page.is-active.is-entering .safety-grid article,
.page.is-active.is-entering .final-links a {
  animation: reveal-item 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.page.is-active.is-entering
  :is(
    .journey,
    .three-cards,
    .key-grid,
    .token-grid,
    .conversion-list,
    .activity-grid,
    .interface-grid,
    .safety-grid,
    .final-links
  )
  > :nth-child(2) {
  animation-delay: 70ms;
}
.page.is-active.is-entering
  :is(
    .journey,
    .three-cards,
    .key-grid,
    .token-grid,
    .conversion-list,
    .activity-grid,
    .interface-grid,
    .safety-grid,
    .final-links
  )
  > :nth-child(3) {
  animation-delay: 140ms;
}
.page.is-active.is-entering
  :is(.journey, .key-grid, .activity-grid, .final-links)
  > :nth-child(4) {
  animation-delay: 210ms;
}
.activity-card,
.final-links a,
.nav-next,
.theme-toggle,
.login-button,
.ghost {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}
.activity-card:hover,
.final-links a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.nav-next:hover,
.theme-toggle:hover,
.login-button:hover:not(:disabled),
.ghost:hover {
  transform: translateY(-1px);
}
.login-button.is-success {
  border-color: #16a36a;
  background: #16a36a;
  animation: login-success 0.55s ease;
}
