:root {
  --bg: #090514;
  --bg-soft: #100923;
  --panel: rgba(25, 15, 50, 0.72);
  --panel-solid: #17102d;
  --panel-bright: #221543;
  --text: #f7f5ff;
  --muted: #b8b1cc;
  --muted-2: #8d86a2;
  --primary: #8b5cf6;
  --primary-2: #b37cff;
  --cyan: #44d7ff;
  --gold: #e3b76a;
  --green: #5ee7b0;
  --danger: #ff746c;
  --line: rgba(255,255,255,0.11);
  --line-strong: rgba(255,255,255,0.2);
  --shadow: 0 24px 80px rgba(0,0,0,0.38);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(101, 55, 230, 0.18), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(29, 126, 167, 0.11), transparent 32%),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  left: 14px;
  top: -80px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  color: #0b061a;
  background: white;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section { padding: 112px 0; position: relative; }
.section-shell { position: relative; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(9,5,20,0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  background: rgba(9,5,20,0.9);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand img { border-radius: 50%; box-shadow: 0 0 26px rgba(139,92,246,.36); }
.brand strong { color: var(--primary-2); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
.site-nav > a:not(.button) { transition: color .2s ease; }
.site-nav > a:not(.button):hover,
.site-nav > a:not(.button):focus-visible { color: var(--text); }
.language-select {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  padding: 6px 32px 6px 10px;
  color: var(--muted);
  cursor: pointer;
  font-size: .9rem;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.language-select:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.language-select:focus-visible { outline: 3px solid rgba(68,215,255,.55); outline-offset: 3px; }
.language-select option { background: #1a1030; color: var(--text); }
.menu-button { display: none; border: 0; background: none; padding: 8px; cursor: pointer; }
.menu-button span { display: block; width: 23px; height: 2px; margin: 5px 0; background: white; border-radius: 2px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.button svg { width: 18px; height: 18px; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .language-select:focus-visible, .menu-button:focus-visible, a:focus-visible { outline: 3px solid rgba(68,215,255,.55); outline-offset: 3px; }
.button-primary {
  border-color: rgba(184,134,255,.68);
  background: linear-gradient(135deg, #7045e8, #a25cf6 58%, #6b57ea);
  box-shadow: 0 14px 36px rgba(117,72,232,.3), inset 0 1px 0 rgba(255,255,255,.25);
}
.button-primary:hover { box-shadow: 0 18px 46px rgba(117,72,232,.42), inset 0 1px 0 rgba(255,255,255,.25); }
.button-ghost { background: rgba(255,255,255,.035); }
.button-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); }
.button-small { min-height: 40px; padding: 0 18px; font-size: 13px; }
.button-large { min-height: 56px; padding: 0 28px; }
.button.is-disabled { opacity: .58; cursor: not-allowed; }
.button.is-disabled:hover { transform: none; }

.hero {
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 76px 0 92px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  align-items: center;
  gap: 54px;
  position: relative;
  z-index: 2;
}
.hero-copy { max-width: 680px; }
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c8b1ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(94,231,176,.12), 0 0 18px rgba(94,231,176,.65);
}
.hero h1 {
  margin: 24px 0 22px;
  max-width: 780px;
  font-size: clamp(48px, 6.4vw, 84px);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-lead {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.wallet-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}
.status-indicator { width: 8px; height: 8px; border-radius: 50%; background: #797289; }
.wallet-status.detected .status-indicator { background: var(--green); box-shadow: 0 0 12px rgba(94,231,176,.7); }
.wallet-status.not-detected .status-indicator { background: var(--gold); }
.microcopy { max-width: 560px; margin: 10px 0 0; color: var(--muted-2); font-size: 12px; }

.hero-visual { min-height: 600px; position: relative; display: grid; place-items: center; }
.coin-card {
  width: min(100%, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 100px rgba(53,21,120,.45), 0 0 90px rgba(68,215,255,.11);
  animation: float 6s ease-in-out infinite;
}
.coin-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 40% 28%, rgba(255,255,255,.17), transparent 25%);
  pointer-events: none;
}
.coin-card img { width: 100%; height: 100%; object-fit: cover; }
.coin-orbit { position: absolute; border: 1px solid rgba(152,113,255,.22); border-radius: 50%; }
.orbit-one { width: 620px; height: 620px; animation: spin 24s linear infinite; }
.orbit-two { width: 720px; height: 720px; border-style: dashed; animation: spinReverse 36s linear infinite; }
.orbit-one::before, .orbit-two::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(68,215,255,.85);
  top: -5px;
  left: 50%;
}
.orbit-two::before { background: var(--primary-2); top: 50%; left: -5px; }
.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(21,11,46,.72);
  backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 13px;
  box-shadow: var(--shadow);
}
.floating-icon {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: linear-gradient(135deg, rgba(139,92,246,.9), rgba(68,215,255,.4));
  font-size: 11px;
  font-weight: 900;
}
.floating-card-top { right: -10px; top: 90px; animation: float 7s ease-in-out infinite .8s; }
.floating-card-bottom { left: -10px; bottom: 90px; animation: float 8s ease-in-out infinite 1.2s; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 480px; height: 480px; right: 9%; top: 18%; background: radial-gradient(circle, rgba(115,64,230,.22), transparent 68%); }
.hero-glow-two { width: 360px; height: 360px; left: 6%; bottom: -20%; background: radial-gradient(circle, rgba(32,151,194,.12), transparent 70%); }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.trust-grid { min-height: 102px; display: grid; grid-template-columns: repeat(4,1fr); align-items: stretch; }
.trust-grid > div { display: flex; align-items: center; gap: 14px; padding: 24px 28px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid span { color: var(--muted-2); font-size: 12px; }
.trust-grid strong { font-size: 14px; letter-spacing: .01em; }

.section-heading { max-width: 780px; margin-bottom: 48px; }
.section-heading h2, .content-stack h2, .visual-copy h2, .cta-card h2 {
  margin: 14px 0 18px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.section-heading p, .content-stack > p, .visual-copy > p, .cta-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  min-height: 330px;
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.016));
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(157,115,255,.36); background: linear-gradient(165deg, rgba(139,92,246,.12), rgba(255,255,255,.018)); }
.feature-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -90px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(139,92,246,.2), transparent 68%);
}
.feature-number { color: var(--muted-2); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.feature-icon { width: 52px; height: 52px; margin: 52px 0 24px; color: var(--primary-2); }
.feature-card h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--muted); }

.chain-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.chain-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); color: #d9d1e8; font-size: 12px; font-weight: 750; }
.chain-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px rgba(68,215,255,.75); }

.swap-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 35%, rgba(68,215,255,.09), transparent 34%),
    radial-gradient(circle at 14% 70%, rgba(139,92,246,.12), transparent 36%),
    #0b0618;
}
.swap-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 72px; }
.swap-copy h2 { margin: 14px 0 18px; font-size: clamp(38px, 5vw, 60px); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.swap-copy > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.72; }
.swap-points { display: grid; gap: 17px; margin-top: 34px; }
.swap-points > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding-top: 17px; border-top: 1px solid var(--line); }
.swap-point-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(179,124,255,.28); border-radius: 10px; background: rgba(139,92,246,.08); color: #c9b4ff; font-size: 10px; font-weight: 900; }
.swap-points strong { display: block; margin: 1px 0 3px; font-size: 15px; }
.swap-points p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.swap-shell { position: relative; }
.swap-shell::before { content: ""; position: absolute; inset: 8% -4% -6% 8%; border-radius: 40px; background: radial-gradient(circle, rgba(112,69,232,.25), transparent 64%); filter: blur(30px); pointer-events: none; }
.swap-card { position: relative; z-index: 1; max-width: 560px; margin-left: auto; padding: 28px; display: flex; flex-direction: column; gap: 14px; border: 1px solid rgba(179,124,255,.28); border-radius: 30px; background: linear-gradient(165deg, rgba(30,18,61,.96), rgba(13,8,29,.96)); box-shadow: 0 34px 90px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04); }
.swap-card-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.swap-mini { color: var(--muted-2); font-size: 11px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.swap-card-head h3 { margin: 5px 0 0; font-size: 24px; letter-spacing: -.025em; }
.swap-card-head h3 span { color: var(--primary-2); padding: 0 5px; }
.preview-status { flex: 0 0 auto; max-width: 170px; padding: 7px 10px; border: 1px solid rgba(227,183,106,.24); border-radius: 999px; background: rgba(227,183,106,.07); color: #e6d4aa; font-size: 10px; font-weight: 750; text-align: center; }
.swap-field { display: block; padding: 17px 18px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.026); }
.swap-field > span { display: block; margin-bottom: 9px; color: var(--muted-2); font-size: 11px; font-weight: 750; }
.swap-input-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.swap-input-row input, .swap-input-row output { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: clamp(28px, 4vw, 38px); font-weight: 720; letter-spacing: -.035em; }
.swap-input-row input::-webkit-outer-spin-button, .swap-input-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.swap-input-row input[type=number] { -moz-appearance: textfield; }
.swap-input-row strong { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 11px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: 13px; }
.swap-input-row select {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 8px 28px 8px 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.swap-input-row select:hover { border-color: rgba(255,255,255,.25); }
.swap-input-row select option { background: #1a1030; color: var(--text); }
.swap-input-row strong img { border-radius: 50%; }
.receive-network-value { color: var(--primary-2); font-size: 15px; font-weight: 700; line-height: 38px; letter-spacing: -.01em; }
.swap-arrow { width: 38px; height: 38px; display: grid; place-items: center; margin: 4px auto; position: relative; z-index: 2; border: 5px solid #17102d; border-radius: 50%; background: #2b1b50; color: #d8c4ff; font-size: 16px; font-weight: 900; }
.swap-output { background: rgba(139,92,246,.055); }
.swap-details { margin: 20px 2px 22px; padding: 0; display: grid; gap: 8px; }
.swap-details > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.swap-details dt { color: var(--muted-2); font-size: 12px; }
.swap-details dd { margin: 0; color: #ddd6ea; font-size: 12px; font-weight: 700; text-align: right; }
.swap-preview-button { width: 100%; border: 0; }
.swap-note { margin: 13px 4px 0; color: var(--muted-2); font-size: 10.5px; line-height: 1.55; text-align: center; }

.media-section { background: linear-gradient(180deg, transparent, rgba(91,48,172,.08), transparent); }
.split-layout { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; }
.media-frame {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.028);
  box-shadow: var(--shadow);
}
.media-frame img { width: 100%; border-radius: 21px; aspect-ratio: 1.25 / 1; object-fit: cover; }
.media-caption {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(7,4,18,.72);
  backdrop-filter: blur(12px);
}
.media-caption span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--primary); font-size: 11px; font-weight: 900; }
.media-caption strong { font-size: 13px; }
.content-stack h2 { font-size: clamp(36px, 4.3vw, 54px); }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 32px; color: #ddd7eb; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(94,231,176,.1);
  font-size: 12px;
  font-weight: 900;
}
.token-infra-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.token-infra-list li { color: var(--muted); font-size: 15px; padding-left: 4px; }

.process-section { background: #0b0618; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5,1fr); gap: 0; counter-reset: process-step; }
.process-item {
  display: flex;
  flex-direction: column;
  padding: 28px 16px 28px 0;
  position: relative;
}
.process-item::after {
  content: "→";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-2);
  font-size: 18px;
  font-weight: 700;
  opacity: .5;
}
.process-item:last-child::after { display: none; }
.process-index { color: var(--primary-2); font-size: 13px; font-weight: 800; letter-spacing: .12em; margin-bottom: 12px; }
.process-item h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.02em; }
.process-item p { max-width: 780px; margin: 0; color: var(--muted); font-size: 14px; }

.visual-break { overflow: hidden; }
.visual-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 56px; }
.visual-copy h2 { font-size: clamp(34px, 4.3vw, 52px); }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: #d1bcff; font-weight: 700; }
.text-link:hover { color: white; }
.wide-media { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.wide-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }

.asset-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.asset-image { min-height: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel-solid); }
.asset-image img { width: 100%; height: 100%; object-fit: cover; }
.asset-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.asset-card { min-height: 172px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.asset-card span { color: var(--muted-2); font-size: 11px; font-weight: 800; }
.asset-card h3 { margin: 26px 0 6px; font-size: 18px; }
.asset-card p { margin: 0; color: var(--muted); font-size: 14px; }

.cta-section { padding: 40px 0 110px; }
.cta-card {
  min-height: 320px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 58px;
  border: 1px solid rgba(179,124,255,.32);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 10%, rgba(68,215,255,.16), transparent 32%),
    radial-gradient(circle at 10% 100%, rgba(139,92,246,.26), transparent 35%),
    linear-gradient(135deg, #1a0e37, #120a27 65%);
  box-shadow: var(--shadow);
}
.cta-card h2 { font-size: clamp(36px, 4.8vw, 58px); }
.cta-card p { max-width: 700px; }

.risk-section { padding: 0 0 90px; }
.risk-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding: 28px 30px;
  border: 1px solid rgba(255,116,108,.25);
  border-radius: 18px;
  background: rgba(255,116,108,.055);
}
.risk-card > svg { width: 34px; height: 34px; color: var(--danger); margin-top: 2px; }
.risk-card h2 { margin: 0 0 6px; font-size: 18px; }
.risk-card p { margin: 0; color: #c6bdce; font-size: 13px; }

.site-footer { border-top: 1px solid var(--line); background: #07040f; padding: 54px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-brand p { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 12px; }

.config-toast {
  position: fixed;
  z-index: 3000;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  max-width: min(92vw, 620px);
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(14,8,31,.96);
  box-shadow: var(--shadow);
  color: white;
  font-size: 13px;
}

.legal-page .site-header { position: relative; }
.legal-main { min-height: 70vh; padding: 80px 0 110px; }
.legal-content { max-width: 840px; }
.legal-content h1 { margin: 12px 0 20px; font-size: clamp(42px,6vw,68px); letter-spacing: -.045em; line-height: 1.02; }
.legal-content > p { color: var(--muted); font-size: 17px; }
.legal-block { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-block h2 { margin: 0 0 12px; font-size: 24px; }
.legal-block p, .legal-block li { color: var(--muted); }
.legal-block ul { padding-left: 22px; }
.placeholder-note { margin-top: 28px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(227,183,106,.28); background: rgba(227,183,106,.07); color: #e6d7b7; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes float { 0%,100% { transform: translateY(0) rotate(.001deg); } 50% { transform: translateY(-13px) rotate(.001deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }

@media (max-width: 1040px) {
  .site-nav { gap: 16px; }
  .hero-grid { grid-template-columns: 1fr 440px; gap: 28px; }
  .hero-visual { min-height: 520px; }
  .orbit-one { width: 500px; height: 500px; }
  .orbit-two { width: 590px; height: 590px; }
  .floating-card { min-width: 165px; }
  .split-layout { gap: 44px; }
  .swap-layout { gap: 44px; }
  .asset-layout { grid-template-columns: 1fr; }
  .asset-image { max-height: 520px; }
}

@media (max-width: 860px) {
  :root { --header-height: 68px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .menu-button { display: block; z-index: 3; }
  .site-nav {
    position: absolute;
    left: 15px;
    right: 15px;
    top: calc(100% + 8px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(12,7,26,.98);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.button), .language-select { padding: 12px 13px; text-align: left; }
  .site-nav .button { margin-top: 6px; }
  .hero { min-height: auto; padding: 68px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { order: -1; min-height: 470px; }
  .coin-card { width: min(82vw, 460px); }
  .orbit-one { width: min(88vw, 500px); height: min(88vw, 500px); }
  .orbit-two { width: min(102vw, 590px); height: min(102vw, 590px); }
  .floating-card-top { right: 2%; top: 52px; }
  .floating-card-bottom { left: 2%; bottom: 54px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 270px; }
  .feature-icon { margin-top: 34px; }
  .split-layout, .visual-grid, .swap-layout { grid-template-columns: 1fr; }
  .swap-card { margin: 0 auto; }
  .visual-copy { max-width: 760px; }
  .asset-grid { grid-template-columns: repeat(2,1fr); }
  .cta-card { grid-template-columns: 1fr; padding: 44px 34px; }
  .cta-card .button { justify-self: start; }
}

@media (max-width: 560px) {
  .section { padding: 82px 0; }
  .hero { padding: 36px 0 66px; }
  .hero-visual { min-height: 380px; }
  .coin-card { width: min(84vw, 365px); }
  .orbit-one { width: 94vw; height: 94vw; }
  .orbit-two { display: none; }
  .floating-card { min-width: 148px; padding: 10px 12px; font-size: 11px; }
  .floating-icon { min-width: 32px; height: 32px; }
  .floating-card-top { right: -2%; top: 30px; }
  .floating-card-bottom { left: -2%; bottom: 30px; }
  .hero h1 { font-size: clamp(43px, 14vw, 64px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .trust-grid > div { padding: 20px 14px; gap: 9px; }
  .trust-grid strong { font-size: 12px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .content-stack h2, .visual-copy h2, .cta-card h2 { font-size: 36px; }
  .section-heading p, .content-stack > p, .visual-copy > p, .cta-card p { font-size: 16px; }
  .feature-card { padding: 26px; }
  .swap-card { padding: 20px; border-radius: 24px; gap: 12px; }
  .swap-card-head { flex-direction: column; margin-bottom: 6px; }
  .swap-arrow { margin: 2px auto; }
  .preview-status { max-width: none; }
  .swap-input-row input, .swap-input-row output { font-size: 30px; }
  .swap-copy h2 { font-size: 36px; }
  .media-frame { padding: 8px; border-radius: 22px; }
  .media-frame img { border-radius: 15px; }
  .media-caption { left: 18px; right: 18px; bottom: 18px; }
  .process-item { padding: 24px 0; }
  .process-item h3 { font-size: 20px; }
  .process-list { grid-template-columns: 1fr; }
  .process-item::after { content: "↓"; font-size: 14px; right: 50%; top: auto; bottom: -4px; transform: translateX(50%); }
  .asset-grid { grid-template-columns: 1fr; }
  .asset-card { min-height: 146px; }
  .cta-section { padding-bottom: 82px; }
  .cta-card { padding: 34px 24px; border-radius: 24px; }
  .cta-card .button { width: 100%; }
  .risk-card { grid-template-columns: 1fr; padding: 24px; }
  .footer-grid, .footer-bottom { flex-direction: column; }
  .footer-links { justify-content: flex-start; gap: 16px 22px; }
  .footer-bottom { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
