:root {
  --ink: #101013;
  --muted: #6c6870;
  --paper: #ffffff;
  --white: #ffffff;
  --line: rgba(16, 16, 19, 0.12);
  --orange: #ff9f2e;
  --peach: #fff0e9;
  --coral: #ff5a35;
  --red: #f22d72;
  --amber: #ffbe45;
  --dark: #f6f6f6;
  --shadow: 0 26px 80px rgba(16, 16, 19, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 124px;
}

#top,
#download {
  scroll-margin-top: 0;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Space Grotesk", "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
.brand,
.nav,
.primary-button,
.ghost-button,
.stats-band strong {
  font-family: "Space Grotesk", "Noto Sans JP", ui-sans-serif, system-ui, sans-serif;
}

.site-header {
  position: fixed;
  inset: 18px clamp(16px, 3.8vw, 56px) auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 18px 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 60px rgba(16, 16, 19, 0.08);
  backdrop-filter: blur(22px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}

.brand-mark,
.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 9px;
  transition: border-radius 220ms ease;
}

.site-header:not(.is-scrolled):not(.menu-open) .brand-mark {
  border-radius: 0;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  color: rgba(16, 16, 19, 0.68);
  font-size: 14px;
  font-weight: 760;
}

.nav > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 72px;
}

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

.nav-item {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  width: 320px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu a {
  display: block;
  padding: 14px;
  border-radius: 6px;
}

.mega-menu a:hover {
  background: #fff0e9;
}

.mega-menu strong,
.mega-menu span {
  display: block;
}

.mega-menu span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  font-weight: 850;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button {
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(100deg, var(--orange) 0%, var(--coral) 48%, var(--red) 100%);
  box-shadow: 0 16px 34px rgba(242, 45, 114, 0.2);
}

.ghost-button {
  padding: 0 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(16, 16, 19, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(12px);
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.lang-button span {
  font-size: 18px;
  line-height: 1;
}

.lang-button.is-active {
  color: #fff;
  background: linear-gradient(100deg, var(--orange) 0%, var(--coral) 48%, var(--red) 100%);
  box-shadow: 0 10px 22px rgba(242, 45, 114, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-panel {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: grid;
  align-items: center;
  padding: 118px clamp(20px, 5vw, 72px) 72px;
  background:
    radial-gradient(circle at 74% 22%, rgba(255, 159, 46, 0.24), transparent 24%),
    radial-gradient(circle at 92% 66%, rgba(242, 45, 114, 0.18), transparent 25%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 248, 248, 0.78) 38%, rgba(255, 240, 233, 0.72) 100%),
    url("assets/quant-wallet-secure-desktop-wallet-hero.jpg") center top / cover no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 980px;
  min-height: auto;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin-bottom: 16px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 920;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 920px;
  margin-top: 104px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
  color: #cb7359;
  font-size: clamp(68px, 9.6vw, 128px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5.8vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.04;
}

.hero-lede {
  max-width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  justify-content: center;
}

.os-button {
  gap: 12px;
  padding-left: 15px;
}

.os-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
}

.hero-copy {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 22px auto 0;
}

.hero-proof div {
  min-height: 92px;
  padding: 18px 16px;
  border: 1px solid rgba(16, 16, 19, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 8px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
}

.hero-proof span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #0e0e10 0%, #171214 100%);
}

.stats-band div {
  min-height: 180px;
  padding: clamp(26px, 4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  position: relative;
  width: fit-content;
  margin-bottom: 14px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stats-band strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: -0.18em;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--coral), var(--red));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
}

.stats-band.is-counting strong::after {
  animation: stat-credit-line 980ms ease both;
}

.stats-band span {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 720;
}

@keyframes stat-credit-line {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  34% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px clamp(20px, 5vw, 72px);
}

.intro-section {
  max-width: none;
  padding-left: max(clamp(20px, 5vw, 72px), calc((100vw - 1240px) / 2 + 72px));
  padding-right: max(clamp(20px, 5vw, 72px), calc((100vw - 1240px) / 2 + 72px));
  background: #f8f8f8;
}

.intro-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 86px);
  max-width: 1240px;
  margin: 0 auto;
}

.intro-layout h2,
.section-kicker {
  position: relative;
  z-index: 2;
}

.intro-layout p,
.security-copy p,
.network-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.capability-section {
  padding: 36px clamp(20px, 5vw, 72px);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #0e0e10 0%, #171214 100%);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.capability-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
  min-height: 154px;
  padding: 22px 22px 22px 68px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 159, 46, 0), transparent 34%),
    transparent;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.capability-card::before,
.capability-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease, transform 260ms ease;
}

.capability-card::before {
  inset: -1px;
  z-index: -1;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 159, 46, 0.34), transparent 0 84px),
    linear-gradient(135deg, rgba(255, 159, 46, 0.08), rgba(242, 45, 114, 0.1) 52%, transparent 78%);
}

.capability-card::after {
  left: 0;
  bottom: 0;
  width: 58%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--coral), var(--red));
  transform: translateX(-102%);
}

.capability-card:hover {
  border-color: rgba(255, 159, 46, 0.38);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 159, 46, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 159, 46, 0.1);
}

.capability-card:hover::before {
  opacity: 1;
}

.capability-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.capability-card img {
  position: absolute;
  left: 22px;
  top: 23px;
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.95;
  filter: brightness(0) invert(1) drop-shadow(0 10px 18px rgba(242, 45, 114, 0.18));
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.capability-card:hover img {
  opacity: 1;
  transform: translateX(4px) rotate(-5deg);
  filter: brightness(0) saturate(100%) invert(69%) sepia(86%) saturate(1615%) hue-rotate(337deg) brightness(101%) contrast(101%) drop-shadow(0 12px 22px rgba(255, 159, 46, 0.34));
}

.capability-card b,
.capability-card p {
  display: block;
}

.capability-card b {
  margin-bottom: 9px;
  color: #fff;
  font-size: 17px;
  line-height: 1.15;
  transition: color 220ms ease;
}

.capability-card:hover b {
  color: #ffbe45;
}

.capability-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.45;
  transition: color 220ms ease;
}

.capability-card:hover p {
  color: rgba(255, 255, 255, 0.82);
}

.security-section {
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(0, 0.84fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.security-copy {
  position: sticky;
  top: 128px;
  order: 2;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  border-bottom: 2px solid var(--orange);
  font-weight: 900;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  order: 1;
}

.security-grid article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --accent: #ff9f2e;
  --accent-2: #ff5a35;
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 240, 233, 0.36)),
    #fff;
  transition: border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.security-grid article:nth-child(2) {
  --accent: #f22d72;
  --accent-2: #ff7aa8;
}

.security-grid article:nth-child(3) {
  --accent: #cb7359;
  --accent-2: #ffbe45;
}

.security-grid article:nth-child(4) {
  --accent: #ff5a35;
  --accent-2: #f22d72;
}

.security-grid article::before,
.security-grid article::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease, transform 420ms ease, clip-path 420ms ease;
}

.security-grid article::before {
  right: -72px;
  bottom: -72px;
  z-index: 0;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--accent) 78%, white 0%) 0 34%, transparent 35%),
    radial-gradient(circle, color-mix(in srgb, var(--accent-2) 82%, white 0%) 0 62%, transparent 63%);
  transform: translate(34px, 34px);
}

.security-grid article::after {
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, transparent 0 54%, color-mix(in srgb, var(--accent) 28%, transparent) 54% 100%);
  clip-path: polygon(100% 100%, 100% 100%, 100% 100%);
}

.security-grid article > * {
  position: relative;
  z-index: 1;
}

.security-grid article:hover,
.security-grid article:nth-child(3) {
  border-color: color-mix(in srgb, var(--accent) 58%, white 0%);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), color-mix(in srgb, var(--accent) 12%, white 88%)),
    #fff;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent), 0 22px 48px rgba(16, 16, 19, 0.11);
}

.security-grid article:hover::before,
.security-grid article:nth-child(3)::before {
  opacity: 1;
  transform: translate(0, 0);
}

.security-grid article:hover::after,
.security-grid article:nth-child(3)::after {
  opacity: 1;
  clip-path: polygon(48% 100%, 100% 48%, 100% 100%);
}

.security-grid span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 34px;
  margin-bottom: 38px;
  border-radius: 6px;
  color: #1b1008;
  background: var(--peach);
  font-weight: 900;
  transition: color 240ms ease, background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.security-grid article:hover span,
.security-grid article:nth-child(3) span {
  color: #fff;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent), 0 14px 30px color-mix(in srgb, var(--accent) 24%, transparent);
  transform: translateX(8px);
}

.security-grid h3 {
  font-size: 23px;
  transition: color 240ms ease, transform 240ms ease;
}

.security-grid article:hover h3,
.security-grid article:nth-child(3) h3 {
  color: var(--accent);
  transform: translateX(8px);
}

.security-grid p,
.ecosystem-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.security-grid article p {
  transition: color 240ms ease, transform 240ms ease;
}

.security-grid article:hover p,
.security-grid article:nth-child(3) p {
  color: #3f383b;
  transform: translateX(8px);
}

.network-section {
  overflow: hidden;
  padding: 110px 0 110px clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: linear-gradient(135deg, #ffffff 0%, #fff7f2 100%);
}

.network-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  max-width: calc((100vw - 1240px) / 2 + 1240px);
  margin-left: auto;
}

.network-copy p {
  color: var(--muted);
}

.network-art {
  min-width: 0;
  justify-self: stretch;
}

.network-art img {
  display: block;
  width: min(100%, 820px);
  margin-left: auto;
  object-fit: contain;
}

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

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

.ecosystem-grid article {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 240, 233, 0.42)),
    #fff;
}

.ecosystem-grid article::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  height: 5px;
  background: linear-gradient(100deg, var(--orange) 0%, var(--coral) 48%, var(--red) 100%);
}

.ecosystem-grid img {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 92px;
  height: 92px;
  object-fit: contain;
  opacity: 0.08;
  transform: rotate(-8deg);
}

.ecosystem-grid b,
.ecosystem-grid span {
  position: relative;
  z-index: 1;
  display: block;
}

.ecosystem-grid b {
  max-width: 220px;
  margin: 74px 0 14px;
  font-size: 24px;
  line-height: 1.05;
}

.ecosystem-grid span {
  max-width: 250px;
}

.dark-ghost {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1fr;
  gap: 40px;
  padding: 56px clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, #0e0e10 0%, #171214 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-columns span,
.footer-columns a {
  display: block;
}

.footer-columns span {
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-columns a {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-columns a:hover {
  color: #fff;
}

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

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

.download-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 19, 0.58);
  backdrop-filter: blur(10px);
}

.download-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.download-modal__panel h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1;
}

.download-modal__panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.download-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.download-modal__button {
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    grid-column: 1;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    grid-column: 3;
    justify-self: end;
  }

  .lang-switch {
    grid-column: 2;
    justify-self: end;
  }

  .mobile-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-panel a {
    padding: 14px;
    border-radius: 6px;
    color: var(--ink);
    font-weight: 850;
  }

.mobile-panel a:hover {
    background: #fff0e9;
  }

  .site-header.menu-open .mobile-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .intro-layout,
  .security-section,
  .network-inner,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    max-width: none;
  }

  .security-copy {
    position: static;
    order: initial;
  }

  .security-grid {
    order: initial;
  }

  .stats-band,
  .capability-grid,
  .ecosystem-grid,
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .network-inner {
    gap: 34px;
  }
}

@media (max-width: 620px) {
  [id] {
    scroll-margin-top: 88px;
  }

  .site-header {
    inset: 10px 10px auto;
    min-height: 62px;
    padding: 0 10px 0 14px;
    gap: 10px;
    grid-template-columns: auto 1fr auto;
    justify-content: space-between;
  }

  .brand span {
    display: none;
  }

  .lang-button {
    min-width: 42px;
    padding: 0 10px;
  }

  .lang-button b {
    display: none;
  }

  .lang-switch {
    grid-column: 2;
  }

  .menu-toggle {
    display: inline-block;
    grid-column: 3;
  }

  .hero {
    padding-top: 92px;
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 58px);
    line-height: 0.92;
    max-width: 7ch;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .stats-band,
  .capability-grid,
  .security-grid,
  .ecosystem-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .stats-band div {
    min-height: 132px;
  }

  .section,
  .network-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-head-row {
    display: block;
  }

  .network-section {
    padding-left: 20px;
    padding-right: 0;
  }

  .network-art img {
    width: 100%;
  }

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