:root {
  --paper: #fbfbfc;
  --paper-deep: #f1f6f8;
  --ink: #242536;
  --ink-soft: #323343;
  --muted: #6f7387;
  --line: #dbe5ea;
  --accent: #2cd1ff;
  --accent-soft: #d6f8ff;
  --badge: #10111b;
  --shadow: 0 30px 80px rgba(36, 37, 54, 0.12);
  --shadow-soft: 0 15px 40px rgba(36, 37, 54, 0.08);
  --header-height: 92px;
  --container: min(1180px, calc(100vw - 120px));
  --section-space: 40px;
  --panel-space: 92px;
  --block-space: 24px;
  --block-pad: 32px;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 12%, rgba(44, 209, 255, 0.22), transparent 24%),
    radial-gradient(circle at 80% 24%, rgba(44, 209, 255, 0.16), transparent 21%),
    radial-gradient(circle at 52% 78%, rgba(36, 37, 54, 0.05), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fcfe 52%, #f2f8fb 100%);
}

body.has-modal {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(58deg, transparent 0 48.7%, rgba(219, 229, 234, 0.62) 49%, transparent 49.3%) 0 0 / 240px 210px,
    linear-gradient(-58deg, transparent 0 48.7%, rgba(219, 229, 234, 0.56) 49%, transparent 49.3%) 0 0 / 240px 210px,
    linear-gradient(0deg, transparent 0 98.7%, rgba(219, 229, 234, 0.38) 99%, transparent 99.3%) 0 0 / 240px 210px;
  opacity: 0.92;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.64), transparent 19%),
    radial-gradient(circle at 74% 66%, rgba(44, 209, 255, 0.08), transparent 24%);
  pointer-events: none;
  z-index: 0;
}

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

button {
  font: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  height: var(--header-height);
  margin: 0;
  isolation: isolate;
  background: transparent;
  box-shadow: none;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow: 0 10px 28px rgba(36, 37, 54, 0.08);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: -1;
}

.site-header.is-scrolled {
  background: transparent;
  box-shadow: none;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

main {
  padding-top: var(--header-height);
  perspective: 1800px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(36, 37, 54, 0.16);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong {
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.powered-by {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
}

.brand-copy .powered-by {
  font-size: 11px;
}

.powered-by__label {
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: rgba(36, 37, 54, 0.64);
}

.powered-by__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.powered-by__coin {
  color: #d1a34a;
}

.powered-by__ninja {
  color: #313547;
}

.top-nav {
  display: inline-flex;
  align-items: center;
  gap: 30px;
}

.top-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.top-nav__download {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(16, 17, 27, 0.18);
  background: linear-gradient(180deg, #2f3347, #191c28);
  box-shadow: 0 14px 28px rgba(36, 37, 54, 0.16);
  color: #ffffff !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.top-nav__download:hover,
.top-nav__download:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(44, 209, 255, 0.5);
  background: linear-gradient(180deg, #34cbfb, #20bde9);
  box-shadow: 0 18px 34px rgba(44, 209, 255, 0.28);
}

.top-nav__download::after {
  display: none;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--accent);
  transition: transform 180ms ease;
}

.top-nav a:hover::after,
.top-nav a.is-active::after {
  transform: scaleX(1);
}

.panel {
  display: grid;
  align-items: center;
  width: var(--container);
  min-height: auto;
  margin: 0 auto;
  padding: var(--panel-space) 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transform-origin: center top;
  will-change: transform, opacity, filter;
  transition:
    transform 780ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 780ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 780ms cubic-bezier(0.22, 1, 0.36, 1);
}

.panel.is-current {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
}

.panel.is-before {
  opacity: 0.56;
  filter: blur(1.5px) saturate(0.9);
  transform: translate3d(0, -54px, -30px) scale(0.968) rotateX(9deg);
}

.panel.is-after {
  opacity: 0.62;
  filter: blur(1.5px) saturate(0.92);
  transform: translate3d(0, 72px, -30px) scale(0.972) rotateX(-8deg);
}

.hero-panel.is-before {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
}

.hero-panel,
.product-panel {
  grid-template-columns: minmax(420px, 1fr) minmax(470px, 560px);
  gap: 44px;
}

.hero-panel {
  grid-template-columns: 1fr;
  min-height: auto;
  justify-items: center;
  align-items: start;
  padding-top: 18px;
  padding-bottom: 54px;
}

.product-panel {
  min-height: auto;
  padding-top: calc(var(--panel-space) - 8px);
  padding-bottom: var(--panel-space);
}

.features-panel {
  grid-template-columns: 1fr;
  gap: calc(var(--panel-space) - 20px);
  padding-top: var(--panel-space);
  padding-bottom: var(--panel-space);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }

  .panel,
  .panel.is-current,
  .panel.is-before,
  .panel.is-after {
    transition: none;
    opacity: 1;
    filter: none;
    transform: none;
  }
}

.copy-block h1,
.copy-block h2,
.bottom-cta h2 {
  margin: 0;
  color: var(--ink);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

.hero-brand-lockup {
  display: grid;
  justify-items: center;
  margin: 0 0 17px;
}

.hero-brand-lockup__main {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.hero-brand-lockup__mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  background: #292a3a;
  box-shadow: 0 10px 26px rgba(36, 37, 54, 0.14);
}

.hero-brand-lockup__mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-brand-lockup__name {
  display: inline-flex;
  align-items: baseline;
  color: #242536;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 84px;
  font-weight: 400;
  line-height: 0.94;
}

.hero-brand-lockup__name-gap {
  margin-left: 0.08em;
}

.hero-brand-lockup__powered {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin: 6px 0 0;
  color: rgba(36, 37, 54, 0.5);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-brand-lockup__powered strong {
  color: #343746;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.hero-brand-lockup__powered strong span {
  color: #d7a23a;
}

.copy-block h1 {
  max-width: 760px;
  font-size: 43px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.copy-block h2,
.bottom-cta h2 {
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(36, 37, 54, 0.54);
}

.section-kicker {
  color: var(--accent);
}

.support-copy,
.copy-block p,
.bottom-cta p {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(36, 37, 54, 0.48);
}

.copy-block .hero-brand-lockup__powered {
  margin: 6px 0 0;
  color: rgba(36, 37, 54, 0.5);
  font-size: 17px;
  line-height: 1;
}

.hero-panel .copy-block {
  text-align: center;
}

.hero-panel .copy-block h1 {
  white-space: normal;
}

.hero-panel .support-copy {
  margin-left: auto;
  margin-right: auto;
}

.hero-panel .download-wallet-button {
  margin-left: auto;
  margin-right: auto;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.store-row--center {
  justify-content: center;
}

.download-wallet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  margin-top: 30px;
  padding: 17px 26px;
  border-radius: 15px;
  background: linear-gradient(180deg, #2f3347, #191c28);
  box-shadow: 0 18px 34px rgba(36, 37, 54, 0.24);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.download-wallet-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #34cbfb, #20bde9);
  box-shadow: 0 24px 42px rgba(44, 209, 255, 0.28);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  padding: 10px 16px;
  border-radius: 13px;
  border: 1px solid rgba(16, 17, 27, 0.16);
  background: var(--badge);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(16, 17, 27, 0.18);
}

.store-badge__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  font-weight: 700;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
}

.store-badge__text small {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.74);
}

.store-badge__text strong {
  font-size: 18px;
  font-weight: 600;
}

.copy-block--wide p {
  max-width: 630px;
}

.text-link {
  display: inline-block;
  margin-top: 26px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
}

.wallet-stack {
  position: relative;
  min-height: 520px;
}

.wallet-stack::before {
  content: "";
  position: absolute;
  inset: 52px 10px 42px 54px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 18% 18%, rgba(44, 209, 255, 0.22), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(241, 246, 248, 0.88));
  box-shadow: inset 0 0 0 1px rgba(219, 229, 234, 0.78);
}

.wallet-card {
  position: absolute;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.wallet-card--primary {
  top: 70px;
  right: 10px;
  width: 360px;
  min-height: 250px;
  transform: rotate(6deg);
}

.wallet-card--secondary {
  left: 40px;
  bottom: 36px;
  width: 320px;
  min-height: 220px;
  transform: rotate(-8deg);
}

.wallet-card__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.wallet-card__header strong {
  color: var(--accent);
}

.wallet-card__body {
  margin-top: 28px;
}

.message-pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(44, 209, 255, 0.18), rgba(44, 209, 255, 0.06));
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.wallet-balance {
  margin-top: 42px;
}

.wallet-balance small,
.wallet-note {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.wallet-balance strong {
  display: block;
  margin-top: 8px;
  font-size: 38px;
  letter-spacing: -0.05em;
}

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

.contact-grid span {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 18px;
  background: rgba(36, 37, 54, 0.04);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.wallet-note {
  margin-top: 24px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--block-space);
}

.feature-card {
  padding: var(--block-pad) 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(36, 37, 54, 0.08), rgba(36, 37, 54, 0.02));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(36, 37, 54, 0.08);
}

.feature-icon img {
  display: block;
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.24;
}

.feature-card p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: #2e2e2e;
}

.features-showcase {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(520px, 610px);
  gap: 48px;
  align-items: center;
}

.product-showcase {
  grid-column: 1 / -1;
}

.features-copy h2 {
  max-width: 560px;
  margin: 0;
  font-size: 56px;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

.features-copy p:last-child {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.62;
  color: #51607a;
}

.features-stage {
  padding: var(--block-pad);
  border-radius: 22px;
  background: linear-gradient(180deg, #2d3043, #232638);
  box-shadow:
    0 10px 0 rgba(36, 37, 54, 0.18),
    0 26px 54px rgba(24, 25, 35, 0.18);
}

.feature-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow:
    4px 4px 0 var(--accent),
    0 12px 24px rgba(36, 37, 54, 0.1);
}

.feature-strip + .feature-strip {
  margin-top: var(--block-space);
}

.feature-strip__icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(180deg, #34cbfb, #20bde9);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(36, 37, 54, 0.12);
}

.feature-strip__icon svg {
  width: 20px;
  height: 20px;
}

.feature-strip p {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.downloads-block {
  display: grid;
  gap: var(--section-space);
  margin-top: calc(var(--panel-space) - 16px);
  padding: var(--block-pad);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 252, 0.98));
  border: 1px solid rgba(219, 229, 234, 0.94);
  box-shadow: var(--shadow-soft);
}

.downloads-block__head {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.downloads-block__head h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.downloads-block__head p:last-child {
  margin: 12px 0 0;
  font-size: 17px;
  color: #51607a;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--block-space);
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 298px;
  padding: 22px;
  border-radius: 28px;
  border: 2px solid rgba(36, 37, 54, 0.92);
  background: #ffffff;
  box-shadow: 6px 6px 0 rgba(36, 37, 54, 0.2);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 8px 8px 0 rgba(36, 37, 54, 0.22);
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2e3145, #25283a);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.platform-icon svg {
  width: 28px;
  height: 28px;
}

.platform-icon__image {
  display: block;
  width: 28px;
  height: 28px;
}

.platform-icon__image--light {
  filter: brightness(0) invert(1);
}

.platform-card strong {
  display: block;
  margin-top: 18px;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.platform-card small {
  display: block;
  margin-top: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #51607a;
}

.platform-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #2f3347, #191c28);
  box-shadow: 4px 4px 0 rgba(36, 37, 54, 0.24);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.platform-button:hover {
  background: linear-gradient(180deg, #34cbfb, #20bde9);
}

.platform-hash {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #7a8498;
  overflow-wrap: anywhere;
}

.faq-block {
  display: grid;
  gap: var(--section-space);
  margin-top: 0;
  padding: var(--block-pad);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 249, 251, 0.96));
  border: 1px solid rgba(219, 229, 234, 0.9);
  box-shadow: var(--shadow-soft);
}

.faq-block__head {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.faq-block__head h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.faq-block__head p:last-child {
  margin: 12px 0 0;
  font-size: 17px;
  color: #51607a;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 18px;
  border: 2px solid rgba(36, 37, 54, 0.92);
  background: #ffffff;
  box-shadow: 6px 6px 0 rgba(36, 37, 54, 0.2);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 72px;
  padding: 20px 18px 20px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-question span:first-child {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.faq-question__icon {
  flex: 0 0 auto;
  min-width: 22px;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  color: #ff8b2b;
  transition: transform 180ms ease, color 180ms ease;
}

.faq-question:hover .faq-question__icon,
.faq-question:focus-visible .faq-question__icon {
  color: #f26b1d;
}

.faq-question[aria-expanded="true"] .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px;
}

.faq-answer p {
  max-width: 840px;
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: #51607a;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) auto auto;
  gap: var(--block-space);
  align-items: start;
  padding: var(--block-pad);
  border-radius: 32px;
  background: linear-gradient(180deg, #2d3043, #1f2232);
  box-shadow: 0 30px 56px rgba(24, 25, 35, 0.24);
}

.site-footer .brand-mark {
  width: 40px;
  height: 40px;
  box-shadow: none;
}

.site-footer__lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer__copy strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.site-footer__copy small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.site-footer__brand p {
  max-width: 360px;
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__links,
.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__links {
  padding-top: 6px;
}

.site-footer__links a {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.social-row {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer__legal a,
.site-footer__meta p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__meta p {
  margin: 0;
}

.download-modal[hidden] {
  display: none;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.download-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 17, 27, 0.54);
  backdrop-filter: blur(8px);
}

.download-modal__panel {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border-radius: 24px;
  border: 2px solid rgba(36, 37, 54, 0.92);
  background: #ffffff;
  box-shadow:
    8px 8px 0 rgba(44, 209, 255, 0.55),
    0 28px 70px rgba(16, 17, 27, 0.28);
}

.download-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f1f6f8;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.download-modal__panel h2 {
  max-width: 390px;
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.download-modal__panel p:last-of-type {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #51607a;
}

.download-modal__button {
  width: auto;
  min-width: 150px;
}

.legal-main {
  padding-top: var(--header-height);
}

.legal-hero {
  width: var(--container);
  margin: 0 auto;
  padding: 72px 0 28px;
  text-align: center;
}

.legal-hero__mark {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(36, 37, 54, 0.08), rgba(36, 37, 54, 0.02));
  box-shadow: inset 0 0 0 1px rgba(36, 37, 54, 0.08);
}

.legal-hero__mark img {
  display: block;
  width: 54px;
  height: 54px;
}

.legal-hero h1 {
  margin: 0;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.legal-hero p {
  max-width: 680px;
  margin: 18px auto 0;
  font-size: 18px;
  line-height: 1.7;
  color: #51607a;
}

.legal-content {
  display: grid;
  gap: 18px;
  width: var(--container);
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 0 var(--panel-space);
}

.legal-section {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 229, 234, 0.94);
  box-shadow: var(--shadow-soft);
}

.legal-section h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: -0.03em;
}

.legal-section p,
.legal-section li {
  font-size: 16px;
  line-height: 1.78;
  color: #51607a;
}

.legal-section p {
  margin: 14px 0 0;
}

.legal-section ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.legal-footer {
  width: var(--container);
  margin: 0 auto var(--panel-space);
}

@media (max-width: 1439px) {
  :root {
    --container: min(1120px, calc(100vw - 90px));
  }

  .copy-block h1 {
    font-size: 54px;
  }
}

@media (max-width: 1279px) {
  :root {
    --container: min(1040px, calc(100vw - 48px));
    --panel-space: 72px;
  }

}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
    --container: min(720px, calc(100vw - 32px));
    --section-space: 28px;
    --panel-space: 56px;
    --block-pad: 24px;
  }

  .site-header {
    align-items: center;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-copy strong {
    font-size: 24px;
  }

  .top-nav {
    gap: 14px;
  }

  .top-nav a:not(.top-nav__download) {
    display: none;
  }

  .top-nav__download {
    padding: 10px 14px;
    font-size: 12px;
  }

  .hero-panel,
  .product-panel {
    grid-template-columns: 1fr;
  }

  .hero-brand-lockup__main {
    gap: 12px;
  }

  .hero-brand-lockup__mark {
    width: 60px;
    height: 60px;
  }

  .hero-brand-lockup__name {
    font-size: 60px;
  }

  .hero-brand-lockup__powered {
    font-size: 13px;
  }

  .hero-brand-lockup__powered strong {
    font-size: 15px;
  }

  .copy-block h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .support-copy,
  .copy-block p,
  .bottom-cta p {
    font-size: 16px;
    line-height: 1.62;
  }

  .features-showcase,
  .feature-grid,
  .platform-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .features-copy h2,
  .downloads-block__head h2,
  .faq-block__head h2,
  .legal-hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .feature-card,
  .downloads-block,
  .site-footer {
    border-radius: 22px;
  }

  .feature-strip {
    align-items: flex-start;
  }

  .legal-hero {
    padding-top: 50px;
  }

  .download-modal__panel {
    padding: 28px 22px;
  }
}

@media (max-width: 520px) {
  :root {
    --container: min(480px, calc(100vw - 24px));
    --block-pad: 20px;
  }

  .copy-block h1 {
    font-size: 31px;
  }

  .hero-panel {
    padding-top: 30px;
  }

  .hero-brand-lockup__mark {
    width: 50px;
    height: 50px;
  }

  .hero-brand-lockup__name {
    font-size: 47px;
  }

  .hero-brand-lockup__powered {
    font-size: 11px;
  }

  .hero-brand-lockup__powered strong {
    font-size: 13px;
  }

  .download-wallet-button {
    width: 100%;
    min-width: 0;
    padding: 16px 20px;
    font-size: 14px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-strip,
  .faq-question {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer__legal {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-height: 560px) {
  :root {
    --header-height: 62px;
  }

  .hero-panel {
    padding-top: 8px;
    padding-bottom: 24px;
  }

  .hero-brand-lockup {
    margin-bottom: 10px;
  }

  .hero-brand-lockup__mark {
    width: 40px;
    height: 40px;
  }

  .hero-brand-lockup__name {
    font-size: 42px;
  }

  .hero-brand-lockup__powered {
    margin-top: 3px;
    font-size: 11px;
  }

  .hero-brand-lockup__powered strong {
    font-size: 13px;
  }

  .copy-block h1 {
    font-size: 24px;
  }

  .hero-panel .support-copy {
    max-width: 500px;
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.38;
  }

  .download-wallet-button {
    min-width: 158px;
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 10px;
  }
}

@media (max-width: 620px) and (max-height: 560px) {
  .hero-brand-lockup__mark {
    width: 40px;
    height: 40px;
  }

  .hero-brand-lockup__name {
    font-size: 42px;
  }

  .copy-block h1 {
    font-size: 24px;
  }
}
