:root {
  color-scheme: light;
  --ink: #0c0a1f;
  --muted: #687386;
  --line: #dfe7f1;
  --surface: #ffffff;
  --surface-soft: #f6f6f3;
  --dark: #080b12;
  --purple: #705cff;
  --lime: #a9f76f;
  --blue: #176eea;
  --blue-dark: #0a3563;
  --teal: #23d3c8;
  --green: #16a56d;
  --shadow: 0 24px 70px rgba(9, 31, 66, 0.13);
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  text-rendering: geometricPrecision;
}

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

img,
svg {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.page-shell {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 0;
}

.hero {
  position: relative;
  min-height: clamp(620px, 72svh, 760px);
  padding: 18px max(16px, calc((100vw - 1120px) / 2)) 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(112, 92, 255, 0.24), transparent 34%),
    radial-gradient(circle at 50% 62%, rgba(11, 14, 35, 0.22), transparent 40%),
    linear-gradient(180deg, rgba(5, 7, 18, 0.66), rgba(11, 13, 33, 0.6) 46%, rgba(6, 8, 20, 0.8)),
    url("assets/vechain-wallet-hero-background.jpg") center / cover no-repeat;
  color: #ffffff;
}

.hero::after {
  display: none;
  content: none;
}

.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 20;
  width: min(1120px, calc(100% - 32px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 58px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateX(-50%);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease,
    top 180ms ease,
    width 180ms ease,
    border-radius 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  top: 0;
  width: 100%;
  padding: 8px max(16px, calc((100vw - 1120px) / 2));
  border-color: rgba(255, 255, 255, 0.2);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: rgba(7, 9, 22, 0.74);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px) saturate(150%);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 42px;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: auto;
  height: 46px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 0;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  white-space: nowrap;
  transition:
    color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.header-button:hover,
.header-button:focus-visible {
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.header-button-primary {
  justify-self: end;
  min-height: 42px;
  gap: 8px;
  padding: 0 16px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(112, 92, 255, 0.18);
  text-shadow: none;
  backdrop-filter: blur(14px);
}

.header-button-primary:hover,
.header-button-primary:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(112, 92, 255, 0.34);
  color: #ffffff;
}

.header-cta-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  background: #ffffff;
  color: var(--purple);
}

.header-cta-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(clamp(620px, 72svh, 760px) - 56px);
  grid-template-columns: minmax(0, 760px);
  align-items: center;
  justify-content: center;
  padding-top: clamp(108px, 15vh, 138px);
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
  min-width: 0;
  width: 100%;
}

h1 {
  max-width: 640px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 8vw, 6.4rem);
  font-weight: 850;
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.36);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 1.65vw, 1.24rem);
  font-weight: 500;
  line-height: 1.48;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.42);
}

.hero-downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: min(720px, 100%);
}

.hero-download {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 178px;
  min-height: 56px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  text-align: left;
  box-shadow: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.hero-download.is-default,
.hero-download.is-detected {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.hero-download:hover,
.hero-download:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
  outline: none;
  transform: translateY(-1px);
}

.hero-download-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-download-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.hero-download strong,
.hero-download small {
  display: block;
  min-width: 0;
}

.hero-download strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  font-weight: 420;
  line-height: 1.05;
  white-space: nowrap;
}

.hero-download small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.64rem;
  font-weight: 520;
  letter-spacing: 0.08em;
  line-height: 1;
}

.wallet-preview {
  display: none;
}

.wallet-preview img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.28);
}

.section-panel {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: clamp(72px, 9vw, 112px);
  scroll-margin-top: 96px;
}

.features-panel {
  padding-top: clamp(34px, 4.5vw, 58px);
}

.section-heading {
  display: block;
  margin-bottom: 22px;
}

.section-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  font-weight: 830;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.feature-grid,
.download-grid {
  display: grid;
  gap: 14px;
}

.feature-card,
.download-card,
.faq-list details {
  border: 1px solid #e5e5e1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.feature-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
}

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

.feature-card-wide {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36)),
    url("assets/vechain-wallet-self-custody-bg.jpg") center / cover no-repeat;
}

.feature-card-accent {
  grid-column: span 5;
  min-height: 240px;
  border-color: #121723;
  background: var(--dark);
  color: #ffffff;
}

.feature-card:nth-child(3) {
  grid-column: span 5;
  background: #f6f6f3;
}

.feature-card:nth-child(4) {
  grid-column: 1 / -1;
  min-height: 176px;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: 28px;
  align-items: end;
  background: #f0edff;
  border-color: #dcd5ff;
}

.feature-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 30px;
  margin-bottom: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f0edff;
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 880;
}

.feature-card-accent .feature-label {
  background: rgba(112, 92, 255, 0.26);
  color: #ffffff;
}

.feature-card h3 {
  max-width: 560px;
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 720;
  line-height: 1;
}

.feature-card-wide h3 {
  max-width: 560px;
  font-size: clamp(2.2rem, 4.6vw, 4.25rem);
  line-height: 0.96;
}

.feature-card p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-card-accent p {
  color: rgba(255, 255, 255, 0.68);
}

.feature-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.feature-formats span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(12, 10, 31, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  font-weight: 820;
}

.download-panel {
  position: relative;
  width: 100%;
  margin-top: clamp(32px, 4vw, 52px);
  padding: 28px max(16px, calc((100vw - 1120px) / 2));
  border-radius: 0;
  background:
    radial-gradient(circle at 86% 50%, rgba(112, 92, 255, 0.3), transparent 28%),
    linear-gradient(90deg, #050507 0%, #10121d 52%, #181337 100%);
  color: #ffffff;
}

.download-side {
  position: absolute;
  top: 50%;
  display: grid;
  gap: 7px;
  width: 180px;
  pointer-events: none;
  transform: translateY(-50%);
}

.download-side-left {
  left: max(16px, calc((100vw - 1120px) / 2));
  text-align: left;
}

.download-side-right {
  right: max(16px, calc((100vw - 1120px) / 2));
  justify-items: end;
  text-align: right;
}

.download-side-kicker {
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.download-token-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.download-side-right .download-token-row {
  justify-content: flex-end;
}

.download-token-row span {
  display: inline-grid;
  min-height: 28px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.76rem;
  font-weight: 820;
  line-height: 1;
}

.download-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: min(720px, 100%);
  margin: 0 auto;
}

.download-panel + .docs-panel {
  margin-top: 0;
  padding-top: clamp(24px, 3vw, 42px);
}

.download-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 178px;
  min-height: 56px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.download-card:hover,
.download-card:focus-visible,
.download-card.is-detected {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
  outline: none;
  transform: translateY(-1px);
}

.platform-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
}

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

.download-card strong,
.download-card small {
  display: block;
  min-width: 0;
}

.download-card strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  font-weight: 420;
  line-height: 1.05;
  white-space: nowrap;
}

.download-card small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.64rem;
  font-weight: 520;
  letter-spacing: 0.08em;
  line-height: 1;
}

.download-chevron {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
}

.download-chevron svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.faq-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.56fr) minmax(0, 1.16fr);
  gap: clamp(34px, 5vw, 66px);
  align-items: start;
}

.faq-media {
  position: sticky;
  top: 116px;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 27, 0.1);
  border-radius: 8px;
  background: #f3f4f6;
  box-shadow: 0 28px 74px rgba(24, 24, 27, 0.14);
}

.faq-media::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 42%;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.72) 0%, rgba(5, 7, 13, 0.36) 52%, transparent 100%);
  content: "";
  pointer-events: none;
}

.faq-media img {
  width: 100%;
  height: min(760px, 74vh);
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.faq-media-caption {
  position: absolute;
  top: clamp(18px, 3vw, 30px);
  left: clamp(18px, 3vw, 30px);
  z-index: 2;
  width: min(310px, calc(100% - 36px));
  color: #ffffff;
}

.faq-media-caption span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(112, 92, 255, 0.32);
  color: #f4f0ff;
  font-size: 0.72rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.faq-media-caption strong {
  display: block;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 760;
  line-height: 1.05;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-list details {
  padding: 22px 0;
  border-width: 1px 0 0;
  border-radius: 0;
  background: transparent;
}

.faq-list details:last-child {
  border-bottom: 1px solid #e5e5e1;
}

.faq-list summary {
  cursor: pointer;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 780;
}

.faq-list p {
  padding-top: 10px;
}

.faq-list a {
  color: var(--purple);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-panel {
  position: relative;
  margin-top: clamp(72px, 9vw, 112px);
  padding: clamp(72px, 8vw, 112px) 0 clamp(76px, 9vw, 124px);
  overflow: hidden;
  background: #f7f6f7;
  color: #18181b;
  scroll-margin-top: 96px;
}

.docs-panel::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 330px;
  background:
    linear-gradient(180deg, #f7f6f7 0%, rgba(247, 246, 247, 0.86) 18%, rgba(247, 246, 247, 0.46) 54%, rgba(247, 246, 247, 0.1) 100%),
    url("assets/vechain-ecosystem-stats-bg.png") center bottom / min(1560px, 100vw) auto no-repeat;
  content: "";
  pointer-events: none;
}

.docs-panel::after {
  display: none;
  content: "";
}

.docs-panel-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.docs-panel-inner > * {
  position: relative;
  z-index: 1;
}

.docs-panel .section-heading {
  margin-bottom: 30px;
}

.docs-panel .section-kicker {
  color: var(--purple);
}

.docs-panel h2 {
  color: #18181b;
}

.docs-showcase {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.docs-showcase::before {
  display: none;
  content: "";
}

.docs-showcase::after {
  display: none;
  content: "";
}

.docs-stat-card {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 176px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px 24px 20px;
  background: transparent;
  color: #18181b;
  text-align: center;
}

.docs-stat-card + .docs-stat-card {
  border-left: 1px solid rgba(24, 24, 27, 0.1);
}

.docs-stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.7rem, 5.7vw, 5.05rem);
  font-weight: 820;
  line-height: 1.1;
  letter-spacing: 0;
}

.docs-stat-card > span {
  display: block;
  min-height: 24px;
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: 0.03em;
  line-height: 24px;
}

.docs-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 8px;
}

.docs-logo-chip {
  display: grid;
  width: 42px;
  height: 42px;
  margin-left: -8px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 27, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: #18181b;
  box-shadow: 0 10px 18px rgba(24, 24, 27, 0.1);
}

.docs-logo-chip:first-child {
  margin-left: 0;
}

.docs-logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.docs-logo-chip svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.docs-logo-chip-icon {
  background: #ffffff;
  color: #18181b;
}

.docs-logo-chip-text,
.docs-logo-chip-more {
  background: #f0f2f5;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
}

.docs-logo-chip-more {
  background: #18181b;
  color: #ffffff;
}

html.reveal-ready .reveal-item {
  --reveal-delay: 0ms;
  opacity: 0.001;
  will-change: clip-path, opacity, transform;
}

html.reveal-ready .reveal-card,
html.reveal-ready .reveal-panel,
html.reveal-ready .reveal-chip,
html.reveal-ready .reveal-frame {
  position: relative;
  overflow: hidden;
}

html.reveal-ready .reveal-card,
html.reveal-ready .reveal-panel,
html.reveal-ready .reveal-chip,
html.reveal-ready .reveal-frame,
html.reveal-ready .reveal-media {
  clip-path: inset(0 100% 0 0 round 8px);
  transition:
    clip-path 960ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay),
    opacity 260ms ease var(--reveal-delay);
}

html.reveal-ready .reveal-tile {
  clip-path: circle(0% at 50% 52%);
  transition:
    clip-path 900ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay),
    opacity 260ms ease var(--reveal-delay);
}

html.reveal-ready .reveal-line {
  clip-path: inset(0 100% 0 0);
  transition:
    clip-path 760ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay),
    opacity 220ms ease var(--reveal-delay);
}

html.reveal-ready .reveal-card.is-visible,
html.reveal-ready .reveal-panel.is-visible,
html.reveal-ready .reveal-chip.is-visible,
html.reveal-ready .reveal-frame.is-visible,
html.reveal-ready .reveal-media.is-visible,
html.reveal-ready .reveal-line.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 8px);
}

html.reveal-ready .reveal-tile.is-visible {
  opacity: 1;
  clip-path: circle(150% at 50% 52%);
}

html.reveal-ready .reveal-panel::after,
html.reveal-ready .reveal-card::after,
html.reveal-ready .reveal-chip::after,
html.reveal-ready .reveal-frame::after,
html.reveal-ready .reveal-media::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(100deg, transparent 0 36%, rgba(255, 255, 255, 0.6) 46%, rgba(112, 92, 255, 0.26) 52%, transparent 64%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
}

html.reveal-ready .reveal-panel.is-visible::after,
html.reveal-ready .reveal-card.is-visible::after,
html.reveal-ready .reveal-chip.is-visible::after,
html.reveal-ready .reveal-frame.is-visible::after,
html.reveal-ready .reveal-media.is-visible::after {
  animation: reveal-scan 950ms cubic-bezier(0.19, 1, 0.22, 1) calc(var(--reveal-delay) + 80ms) both;
}

html.reveal-ready .reveal-tile strong {
  transform: scale(0.74);
  transform-origin: center;
  transition: transform 680ms cubic-bezier(0.19, 1, 0.22, 1) calc(var(--reveal-delay) + 120ms);
}

html.reveal-ready .reveal-tile.is-visible strong {
  transform: scale(1);
}

html.reveal-ready .reveal-tile .docs-logo-chip {
  opacity: 0;
  transform: scale(0.5) rotate(-16deg);
  transition:
    opacity 260ms ease calc(var(--reveal-delay) + 260ms),
    transform 520ms cubic-bezier(0.19, 1, 0.22, 1) calc(var(--reveal-delay) + 260ms);
}

html.reveal-ready .reveal-tile.is-visible .docs-logo-chip {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

html.reveal-ready .reveal-tile.is-visible .docs-logo-chip:nth-child(2) {
  transition-delay: calc(var(--reveal-delay) + 310ms);
}

html.reveal-ready .reveal-tile.is-visible .docs-logo-chip:nth-child(3) {
  transition-delay: calc(var(--reveal-delay) + 360ms);
}

html.reveal-ready .reveal-tile.is-visible .docs-logo-chip:nth-child(4) {
  transition-delay: calc(var(--reveal-delay) + 410ms);
}

html.reveal-ready .reveal-tile.is-visible .docs-logo-chip:nth-child(5) {
  transition-delay: calc(var(--reveal-delay) + 460ms);
}

html.reveal-ready .reveal-tile.is-visible .docs-logo-chip:nth-child(6) {
  transition-delay: calc(var(--reveal-delay) + 510ms);
}

@keyframes reveal-scan {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  24% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item,
  .reveal-item::after,
  .reveal-tile strong,
  .reveal-tile .docs-logo-chip {
    animation: none !important;
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 1120px) {
  .download-side {
    display: none;
  }
}

.site-footer {
  margin-top: clamp(70px, 9vw, 116px);
  padding: clamp(42px, 6vw, 72px) max(16px, calc((100vw - 1120px) / 2)) 24px;
  border-radius: 0;
  background:
    radial-gradient(circle at 86% 12%, rgba(35, 211, 200, 0.16), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(112, 92, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #080b12 0%, #05070d 100%);
  color: #ffffff;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  border-radius: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 0.78fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
  padding-bottom: clamp(34px, 5vw, 56px);
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  width: auto;
  height: 38px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.65;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 54px);
}

.footer-nav h2 {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  font-weight: 860;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-nav a {
  display: block;
  width: fit-content;
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  font-weight: 700;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  font-weight: 620;
}

@media (max-width: 940px) {
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero-copy {
    justify-items: center;
  }

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

  .wallet-preview {
    width: min(720px, 100%);
  }

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

  .download-side {
    display: none;
  }

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

  .docs-panel::before {
    height: 410px;
    background-size: auto 100%;
  }

  .docs-stat-card {
    min-height: 166px;
  }

  .docs-stat-card:nth-child(odd) {
    border-left: 0;
  }

  .docs-stat-card:nth-child(n + 3) {
    border-top: 1px solid rgba(24, 24, 27, 0.1);
  }

  .feature-card-wide,
  .feature-card-accent,
  .feature-card:nth-child(3),
  .feature-card:nth-child(4) {
    grid-column: auto;
  }

  .feature-card:nth-child(4) {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .faq-panel {
    grid-template-columns: 1fr;
  }

  .faq-media {
    position: relative;
    top: auto;
    width: min(420px, 100%);
  }

  .faq-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 0.56;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-bottom: 36px;
  }

  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 10px;
  }

  .header-nav {
    display: none;
  }

  .site-header.is-scrolled {
    top: 0;
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand-logo {
    height: 38px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 100%);
    padding-top: 104px;
  }

  .hero-copy {
    max-width: 100%;
    overflow: hidden;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4.3rem);
  }

  .hero-lead {
    max-width: min(100%, 430px);
  }

  .hero-downloads {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 430px;
  }

  .hero-download {
    width: 100%;
  }

  .wallet-preview {
    width: min(560px, 100%);
  }

  .docs-showcase {
    grid-template-columns: 1fr;
  }

  .docs-panel::before {
    height: 690px;
    background-size: auto 100%;
  }

  .docs-stat-card + .docs-stat-card {
    border-top: 1px solid rgba(24, 24, 27, 0.1);
    border-left: 0;
  }

  .docs-stat-card {
    min-height: 156px;
    padding: 22px 18px 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }

}

@media (max-width: 440px) {
  .hero {
    padding-right: 12px;
    padding-left: 12px;
  }

  .site-header {
    gap: 8px;
  }

  .brand-logo {
    height: 34px;
  }

  .header-button {
    min-height: 38px;
    padding: 0 8px;
    font-size: 0.82rem;
  }

  .header-nav .header-button:not(.header-button-primary) {
    display: none;
  }

  .header-button-primary {
    padding: 0 14px;
  }

  .section-panel {
    width: min(100% - 24px, 1120px);
  }

  .download-panel {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .download-grid {
    flex-direction: column;
  }

  .download-card {
    width: 100%;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .docs-panel-inner {
    width: min(100% - 24px, 1120px);
  }

  .feature-card,
  .faq-list details {
    padding: 16px;
  }

  .faq-media {
    width: 100%;
  }

  .docs-stat-card {
    min-height: 148px;
    padding: 20px 16px 18px;
  }

  .docs-stat-card strong {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .docs-stat-card > span {
    font-size: 0.78rem;
    line-height: 1.25;
  }

}
