:root {
  --bg: #07090c;
  --bg-2: #0c1016;
  --panel: rgba(14, 18, 26, 0.82);
  --line: rgba(190, 214, 230, 0.1);
  --line-strong: rgba(62, 224, 194, 0.35);
  --mint: #3ee0c2;
  --mint-2: #1aa889;
  --gold: #e8b86d;
  --rose: #e85d6c;
  --ink: #f2f5f8;
  --muted: #8b97a8;
  --dim: #5f6b7a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --font-display: "Inter Tight", "Noto Sans KR", "Noto Sans JP", "Noto Sans SC", sans-serif;
  --font-body: "Inter", "Noto Sans KR", "Noto Sans JP", "Noto Sans SC", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[lang="ja"] body,
html[lang="zh"] body,
html[lang="ko"] body {
  word-break: keep-all;
}

html[lang="ko"] .hero h1,
html[lang="ko"] .section h2,
html[lang="ko"] .cta-card h2,
html[lang="ko"] .btn {
  word-break: break-word;
  overflow-wrap: anywhere;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(62, 224, 194, 0.08), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(232, 184, 109, 0.05), transparent 50%),
    linear-gradient(180deg, #080b10 0%, var(--bg) 40%, #080b10 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 75%);
  z-index: 0;
}

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

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.orb-a {
  width: 340px;
  height: 340px;
  right: 8%;
  top: 80px;
  background: rgba(62, 224, 194, 0.12);
}

.orb-b {
  width: 260px;
  height: 260px;
  left: -60px;
  top: 42%;
  background: rgba(232, 184, 109, 0.08);
}

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

button,
input {
  font: inherit;
  color: inherit;
}

img,
svg {
  display: block;
}

.nav,
main,
.footer,
.drawer {
  position: relative;
  z-index: 2;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 12, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  color: var(--mint);
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 13px;
}

.brand-sub {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 12px;
  flex: 1;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  margin-left: 2px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(62, 224, 194, 0.16);
  color: var(--mint);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-solid .trial-badge {
  background: rgba(6, 36, 29, 0.14);
  color: #06241d;
}

body.is-wallet-connected .trial-badge {
  display: none;
}

.lang {
  position: relative;
}

.lang-btn,
.menu-btn {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.lang-btn svg {
  width: 10px;
  height: 10px;
  color: var(--muted);
}

.lang-code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 148px;
  background: #10151d;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.lang-menu button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 13px;
}

.lang-menu button:hover,
.lang-menu button[aria-current="true"] {
  background: rgba(62, 224, 194, 0.1);
  color: var(--mint);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn-lg {
  height: 48px;
  padding: 0 22px;
}

.btn-block {
  width: 100%;
}

.btn-solid {
  background: var(--mint);
  color: #06241d;
}

.btn-solid:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-ghost,
.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-line:hover {
  border-color: var(--line-strong);
  color: var(--mint);
}

.wallet-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dim);
  box-shadow: 0 0 0 3px rgba(95, 107, 122, 0.18);
}

body.is-wallet-connected .wallet-dot {
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(62, 224, 194, 0.18);
}

.menu-btn {
  display: none;
  width: 38px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 14px;
  height: 1.4px;
  background: var(--ink);
}

.drawer {
  display: none;
  position: sticky;
  top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  z-index: 19;
  padding: 12px 24px 18px;
  background: rgba(7, 9, 12, 0.94);
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  gap: 12px;
}

.drawer:not([hidden]) {
  display: flex;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(62, 224, 194, 0.6);
  animation: ping 2.2s infinite;
}

@keyframes ping {
  70% { box-shadow: 0 0 0 8px rgba(62, 224, 194, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 194, 0); }
}

.hero h1,
.section h2,
.cta-card h2,
.invest-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
}

.title-mute {
  display: block;
  color: #c5d0db;
}

.lead,
.section-lead {
  margin: 18px 0 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 16.5px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--dim);
  font-size: 12.5px;
  font-family: var(--font-mono);
}

.hero-meta li::before {
  content: "▸ ";
  color: var(--mint);
}

.console {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.console-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.console-dots {
  display: flex;
  gap: 5px;
}

.console-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a3340;
}

.console-dots i:first-child { background: #e85d6c; }
.console-dots i:nth-child(2) { background: #e8b86d; }
.console-dots i:last-child { background: #3ee0c2; }

.console-title {
  margin: 0;
  flex: 1;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.console-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--mint);
}

.console-status.is-busy {
  color: var(--gold);
}

.console-status.is-high {
  color: var(--rose);
}

.scan-gate,
.scan-session {
  padding: 18px 18px 10px;
}

.scan-gate-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}

.scan-gate-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.scan-gate-copy {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
}

.trial-steps {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.trial-steps li {
  position: relative;
  padding: 8px 0 8px 32px;
  border-top: 1px solid var(--line);
  color: #d7dee8;
  font-size: 13px;
  line-height: 1.45;
}

.trial-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.trial-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 18px;
  text-align: center;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.trust-pills li {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(62, 224, 194, 0.06);
  color: #cfe8e2;
  font-size: 11.5px;
}

.trust-pills-center {
  justify-content: center;
  margin: 18px 0 8px;
}

.scan-gate-foot {
  margin: 10px 0 0;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.45;
}

.cta-card .scan-gate-foot {
  margin-left: auto;
  margin-right: auto;
  max-width: 460px;
}

.trial-remain {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.trial-remain b {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--mint);
}

.trial-dots {
  display: inline-flex;
  gap: 4px;
}

.trial-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.trial-dots i.is-used {
  background: #2a3340;
}

.scan-session {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scan-session .btn {
  flex-shrink: 0;
}

.scan-session[hidden] {
  display: none;
}

.session-copy {
  flex: 1;
  min-width: 0;
}

.session-copy span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.session-copy strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console.is-locked .result {
  opacity: 0.38;
  pointer-events: none;
}

.result {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px 16px;
  padding: 8px 18px 20px;
  align-items: center;
}

.gauge-wrap {
  position: relative;
  width: 140px;
  height: 140px;
}

.gauge {
  width: 140px;
  height: 140px;
  transform: rotate(-90deg);
}

.gauge-track,
.gauge-value {
  fill: none;
  stroke-width: 8;
}

.gauge-track {
  stroke: #1b2430;
}

.gauge-value {
  stroke: var(--mint);
  stroke-linecap: round;
  stroke-dasharray: 339.3;
  stroke-dashoffset: 339.3;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1), stroke 0.4s ease;
}

.gauge-readout {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gauge-readout strong {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.gauge-readout span {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.result-level {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 18px;
}

.result-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12.5px;
}

.bars {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bars li {
  display: grid;
  grid-template-columns: 92px 1fr 36px;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
  font-size: 11px;
  color: var(--muted);
}

.bars b {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: #1b2430;
  position: relative;
  overflow: hidden;
}

.bars b::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  background: linear-gradient(90deg, var(--mint), var(--gold));
  transition: width 0.8s ease;
}

.bars em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  text-align: right;
}

.strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.strip-label {
  margin: 0;
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.strip-list {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #c5d0db;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
}

.section {
  padding: 88px 0 8px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

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

.feature {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.feature-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 18px;
  align-items: start;
}

.feature-idx {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}

.feature-icon {
  width: 36px;
  height: 36px;
  color: var(--mint);
  margin-bottom: 16px;
}

.feature-wide .feature-icon {
  margin: 0;
}

.feature h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps li {
  padding: 8px 8px 8px 0;
  border-top: 1px solid var(--line);
}

.steps span {
  display: block;
  margin: 16px 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mint);
}

.steps h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.invest-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(500px 240px at 90% 20%, rgba(232, 184, 109, 0.08), transparent),
    linear-gradient(180deg, rgba(16, 21, 29, 0.9), rgba(10, 13, 18, 0.9));
}

.ticks {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding: 7px 0 7px 22px;
  color: #d5dee8;
  font-size: 14.5px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.graph {
  min-height: 280px;
}

.graph-svg {
  width: 100%;
  height: auto;
}

.graph-svg text {
  fill: var(--dim);
  font-size: 9px;
  letter-spacing: 0.16em;
  font-family: var(--font-mono);
}

.g-edge {
  fill: none;
  stroke: url(#gline);
  stroke-width: 1.3;
  stroke-dasharray: 6 7;
  animation: dash 8s linear infinite;
}

.g-edge.dim {
  opacity: 0.45;
}

@keyframes dash {
  to { stroke-dashoffset: -120; }
}

.g-node {
  fill: #0c1118;
  stroke: #9eb0c2;
  stroke-width: 1.4;
}

.g-node.mint { stroke: var(--mint); }
.g-node.warn { stroke: var(--gold); }
.g-node.rose { stroke: var(--rose); }

.cta {
  padding-top: 64px;
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.price-card.is-featured {
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(62, 224, 194, 0.1), rgba(62, 224, 194, 0.02));
  transform: translateY(-6px);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: #06241d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.price-audience {
  margin: 0 0 10px;
  min-height: 2.6em;
  color: var(--dim);
  font-size: 12.5px;
}

.price-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.price-amt {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 10px 0 0;
}

.price-amt strong {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.price-amt span {
  color: var(--dim);
  font-size: 14px;
}

.price-range {
  margin: 6px 0 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.price-card ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-top: 1px solid var(--line);
  color: #d5dee8;
  font-size: 14px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.price-notes {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13.5px;
}

.price-notes li {
  padding-left: 14px;
  position: relative;
}

.price-notes li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--mint);
}

.cta-card {
  padding: 48px 40px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(62, 224, 194, 0.08), rgba(62, 224, 194, 0.015));
  text-align: center;
}

.cta-card .lead,
.cta-card p {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
  color: var(--muted);
}

.cta-card .hero-cta {
  justify-content: center;
}

.partners {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 20px;
}

.partners h2 {
  margin: 0 0 22px;
  text-align: center;
  font-size: 22px;
}

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

.partner-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 12px;
  background: #10141c;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.partner-tile img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
}

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 20px;
}

.legal-page h1 {
  margin: 8px 0 24px;
  font-size: 32px;
}

.legal-body article {
  background: #10141c;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 10px;
}

.legal-body h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.legal-body p {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.75;
}

.footer {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 36px 24px 40px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.footer h4 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-blurb,
.footer ul,
.footer li,
.footer a {
  color: var(--dim);
  font-size: 13px;
  line-height: 1.7;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--ink);
}

.footer-bottom {
  color: var(--dim);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
  }

  .nav-demo {
    display: none;
  }

  .nav-inner {
    gap: 10px;
  }

  .nav-actions {
    margin-left: auto;
    gap: 8px;
  }

  .brand-sub {
    display: none;
  }

  .hero,
  .invest-panel,
  .grid-features,
  .steps,
  .result,
  .price-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .price-card.is-featured {
    transform: none;
  }

  .hero {
    padding-top: 28px;
    gap: 22px;
  }

  .hero h1 {
    font-size: clamp(26px, 8.2vw, 40px);
    overflow-wrap: anywhere;
  }

  .eyebrow {
    max-width: 100%;
    white-space: normal;
    line-height: 1.45;
    letter-spacing: 0.08em;
  }

  .hero-cta,
  .cta-card .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn,
  .cta-card .hero-cta .btn {
    width: 100%;
  }

  .feature-wide {
    grid-template-columns: 1fr;
  }

  .strip {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .partner-tile span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    padding: 0 12px;
  }

  main {
    padding: 0 16px 56px;
  }

  .partners,
  .legal-page,
  .footer {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .footer {
    padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
  }

  .btn-ghost {
    padding: 0 10px;
    min-height: 44px;
  }

  .lang-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .wallet-label {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .trial-badge {
    display: none;
  }

  .scan-session {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-card {
    padding: 32px 20px;
  }

  .invest-panel {
    padding: 24px;
  }

  .legal-page h1 {
    font-size: 26px;
  }

  .price-grid {
    gap: 12px;
  }
}

wcm-modal,
w3m-modal {
  z-index: 100000 !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
