/* =========================================================
   LUMIA — REPLICA STYLESHEET
   Vanilla CSS, mobile-first breakpoints layered with desktop overrides
   ========================================================= */

:root {
  --black: #0a0a0a;
  --near-black: #101010;
  --white: #ffffff;
  --off-white: #f4f4f4;
  --grey-100: #e8e8e8;
  --grey-300: #b8b8b8;
  --grey-500: #8a8a8a;
  --grey-700: #4a4a4a;
  --grey-line: rgba(255, 255, 255, 0.14);
  --grey-line-dark: rgba(0, 0, 0, 0.12);



  /* single restrained accent — used sparingly in the CTA section only */
  --accent: #3ddc84;
  --accent-dim: #e9fbf1;

  --nav-height: 84px;
  --nav-height-mobile: 68px;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --container-pad: 5vw;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);

  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.section-title-lg {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 600;
}

.section-title-md {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 1rem;
  font-weight: 500;
}

.section-sub {
  color: var(--grey-500);
  font-size: 1rem;
  max-width: 44ch;
}

/* =========================================================
   PLACEHOLDER IMAGE UTILITY
   ========================================================= */
.placeholder-img {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px),
    #1c1c1c;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 80px;
}

.placeholder-img::after {
  content: attr(data-placeholder-label);

  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
}

/* placeholders sitting on white backgrounds need inverted styling */
.split-left .placeholder-img,
.purpose-left .placeholder-img,
.cta-section .placeholder-img {
  background:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.04) 0 2px, transparent 2px 14px),
    #eeeeee;

}

.split-left .placeholder-img::after,
.purpose-left .placeholder-img::after,
.cta-section .placeholder-img::after {
  color: rgba(0, 0, 0, 0.45);
}

/* =========================================================
   NAV
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height-mobile);
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background 0.3s var(--ease);
  border-bottom: none;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  font-family: "Montserrat", sans-serif;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1100;
  position: relative;
}

.brand-logo {
  width: 50px;
  height: 50px;
  background: var(--white);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--white);
}

.hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1100;
  flex-shrink: 0;
}

.hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), top 0.35s var(--ease);
}

.line-top {
  top: 0;
}

.line-bottom {
  top: 100%;
  transform: translateY(-100%);
}

.hamburger.is-open .line-top {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.is-open .line-bottom {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* Mobile nav (full screen drawer) */
.nav-links {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.6rem;
  padding: 0 8vw;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  z-index: 1050;
  font-family: "Montserrat", sans-serif;
}

.nav-links.is-open {
  transform: translateX(0);
}

.nav-link {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  position: relative;
}

.nav-mobile-footer {
  position: absolute;
  bottom: 3rem;
  left: 8vw;
  right: 8vw;
  padding-top: 1.4rem;
  border-top: 1px solid var(--grey-line);
}

.nav-mobile-footer p {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--grey-500);
  text-transform: uppercase;
}

.nav-overlay {
  display: none;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--nav-height-mobile);
  display: flex;
  flex-direction: column;
  background: var(--black);
  overflow: hidden;
}

.hero-visual {
  display: flex;
  flex-direction: column;
}

.hero-video-wrap {
  position: relative;
  width: 100%;
  height: 30vh;
  min-height: 200px;
  order: 1;
}

.hero-video-wrap video {
  width: 100vw;
  height: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
}

.hero-video-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;

  pointer-events: none;
}

.hero-globe-wrap {
  order: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.2rem 0 1rem;
  height: 32vh;
  min-height: 220px;
  background-color: black;
}

.hero-globe {
  width: min(70vw, 320px);
  height: min(70vw, 320px);
  border-radius: 50%;
  animation: spin 30s linear infinite;
  background-color: black;
}

.globe {
  border-radius: 60%;
  width: 100%;
  height: 100%;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  order: 3;
  padding: 1rem 6vw 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-title {
  font-size: clamp(2.1rem, 8vw, 3.2rem);
  color: var(--white);
  margin-bottom: 0.9rem;
  font-family: 'Space Grotesk', sans-serif !important;
  font-style: normal;
  font-weight: 600;
}

.hero-rotating {
  font-size: 0.95rem;
  color: var(--grey-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  height: 1.4em;
  margin-bottom: 1.8rem;
  min-width: 200px;
}

.hero-rotating.is-fading {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hero-rotating.is-visible {
  opacity: 1;
  transition: opacity 0.25s ease;
}

.hero-cta-row {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.explore-btn {
  position: relative;
  padding: 1.1rem 2.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  transition: border-color 0.3s var(--ease);
}

.explore-btn::before,
.explore-btn::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--white);
  transition: opacity 0.3s var(--ease);
}

.explore-btn::before {
  top: -1px;
  right: -1px;
  border-top: 1px solid var(--white);
  border-right: 1px solid var(--white);
}

.explore-btn::after {
  bottom: -1px;
  left: -1px;
  border-bottom: 1px solid var(--white);
  border-left: 1px solid var(--white);
}

.explore-btn-arrow {
  display: none;
  align-items: center;
  width: 18px;
  height: 18px;
}

.explore-btn-arrow svg {
  width: 100%;
  height: 100%;
}

.explore-btn:hover,
.explore-btn:focus-visible {
  border-color: var(--white);
}

.explore-btn:hover .explore-btn-text,
.explore-btn:focus-visible .explore-btn-text {
  display: none;
}

.explore-btn:hover .explore-btn-arrow,
.explore-btn:focus-visible .explore-btn-arrow {
  display: inline-flex;
}

.explore-btn:hover::before,
.explore-btn:hover::after,
.explore-btn:focus-visible::before,
.explore-btn:focus-visible::after {
  opacity: 0;
}

.made-in-divider {
  width: 1px;
}

.made-in-usa {
  display: flex;
  align-items: center;
  width: 60px;
  height: 60px;
  border: none;
}

.made-in-usa img {
  width: 100%;
  height: 100%;
}

.flag-placeholder {
  width: 40px;
  height: 28px;
  min-height: 0;
  flex-shrink: 0;
}

.flag-placeholder::after {
  font-size: 0.5rem;
  padding: 0.1rem;
}

.made-in-text {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--grey-300);
  line-height: 1.4;
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee-section {
  background: var(--black);
  overflow: hidden;
  padding: 1.5rem 0 1.5rem;
  border-top: none;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  height: 48px;
  width: 170px;
  min-height: 0;
  flex-shrink: 0;
  opacity: 0.75;
  background-color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* =========================================================
   CTA / QUICK ACTIONS SECTION (white theme)
   ========================================================= */
.cta-section {
  background: var(--off-white);
  color: var(--black);
  padding: 5rem 6vw;
}

.cta-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.cta-header {
  margin-bottom: 3rem;
  text-align: left;
}

.cta-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--grey-700);
}

.cta-header .eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  flex-shrink: 0;
}

.cta-header .section-title-md {
  color: var(--black);
  margin-bottom: 0.6rem;
}

.cta-header .section-sub {
  color: var(--grey-700);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.cta-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.cta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.cta-card--primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  position: relative;
  overflow: hidden;
}

.cta-card--primary::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(61, 220, 132, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card--primary .cta-card-icon {
  color: var(--accent);
  position: relative;
}

.cta-card--primary h3,
.cta-card--primary p {
  position: relative;
}

.cta-card-icon {
  width: 34px;
  height: 34px;
  color: var(--black);
}

.cta-card-icon svg {
  width: 100%;
  height: 100%;
}

.cta-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: none;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.cta-card p {
  font-size: 0.88rem;
  color: var(--grey-700);
  flex-grow: 1;
}

.cta-card--primary p {
  color: rgba(255, 255, 255, 0.65);
}

.cta-btn {
  margin-top: 0.6rem;
  padding: 0.8rem 1.2rem;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  background: var(--black);
  color: var(--white);
  transition: opacity 0.25s ease;
}

.cta-btn:hover {
  opacity: 0.8;
}

.cta-card--primary .cta-btn {
  background: var(--accent);
  color: var(--black);
  font-weight: 700;
}

.cta-card--primary .cta-btn:hover {
  opacity: 0.88;
}

.cta-btn--outline {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.cta-btn--outline:hover {
  background: var(--black);
  color: var(--white);
  opacity: 1;
  border-color: var(--black);
}

.cta-card:hover .cta-card-icon {
  color: var(--accent-strong, var(--black));
}

.cta-card--primary:hover .cta-card-icon {
  color: var(--accent);
}

/* =========================================================
   SPLIT SECTION (RWA transformation)
   ========================================================= */
.split-section {
  display: flex;
  flex-direction: column;
  background: var(--white);
  font-family: "Montserrat", sans-serif;
}

.split-left {
  background: var(--white);
  color: var(--black);
  padding: 4rem 6vw;
  display: flex;
  align-items: center;
}

.split-left-inner {
  max-width: 640px;
}

.split-left .eyebrow {
  color: var(--grey-700);
}

.split-left .section-title-lg {
  color: var(--black);
  margin-bottom: 1.4rem;
}

.split-copy {
  color: var(--grey-700);
  font-size: 1rem;
  max-width: 60ch;
}

.split-right {
  width: 100%;
}

.split-video {
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 280px;
}

/* =========================================================
   TOKENIZED SECTORS
   ========================================================= */
.sectors-section {
  background: var(--black);
  padding: 5rem 6vw 4rem;
}

.sectors-header {
  margin-bottom: 2.6rem;
}

.sectors-header .section-title-lg {
  margin-bottom: 1rem;
}

.sectors-sub {
  color: var(--grey-500);
  max-width: 44ch;
  font-size: 0.95rem;
}

.sectors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.sector-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--grey-line);
  min-height: 260px;
  display: flex;
  align-items: flex-end;
}

.sector-card--tall {
  min-height: 340px;
}

.sector-card--short {
  min-height: 220px;
}

.sector-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  min-height: 0;
  border: none;
}

.sector-arrow {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  font-size: 1.1rem;
  color: var(--white);
  z-index: 2;
}

.sector-label {
  position: relative;
  z-index: 2;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* =========================================================
   BUILT WITH PURPOSE
   ========================================================= */
.purpose-section {
  background: var(--white);
  color: var(--black);
  padding: 5rem 6vw;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.purpose-left .section-title-lg {
  color: var(--black);
  margin-bottom: 1.2rem;
}

.purpose-copy {
  color: var(--grey-700);
  max-width: 50ch;
  margin-bottom: 2.4rem;
  font-size: 1rem;
}

.purpose-cubes {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.3/1;
  min-height: 200px;
}

.purpose-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.purpose-card {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  padding: 1.8rem;
}

.purpose-icon {
  width: 30px;
  height: 30px;
  color: var(--black);
  margin-bottom: 1rem;
}

.purpose-icon svg {
  width: 100%;
  height: 100%;
}

.purpose-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--black);
}

.purpose-card p {
  font-size: 0.9rem;
  color: var(--grey-700);
  text-transform: none;
  font-family: var(--font-body);
}

/* =========================================================
   PRODUCTS CAROUSEL
   ========================================================= */
.products-section {
  background: var(--black);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.products-header {
  padding: 0 6vw;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.6rem;
}

.products-highlight-title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin-bottom: 0.7rem;
}

.products-highlight-sub {
  color: var(--grey-500);
  max-width: 44ch;
  font-size: 0.95rem;
}

.products-track-wrap {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 6vw;
  scrollbar-width: none;
}

.products-track-wrap::-webkit-scrollbar {
  display: none;
}

.products-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
}

.product-card {
  position: relative;
  width: min(78vw, 320px);
  scroll-snap-align: start;
  border: 1px solid var(--grey-line);
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 1.2rem;
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
}

.product-card.is-active {
  opacity: 1;
}

.product-tag {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--white);
}

.product-img {
  width: 100%;
  aspect-ratio: 1/1;
  min-height: 0;
  border: none;
  border-bottom: 1px solid var(--grey-line);
}

.product-name {
  display: block;
  padding: 1rem 1.2rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-section {
  background: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
}

.testimonial-left {
  padding: 4rem 6vw 2.5rem;
}

.testimonial-left .section-title-lg {
  color: var(--black);
  margin-bottom: 1.4rem;
}

.testimonial-copy {
  color: var(--grey-700);
  font-size: 0.98rem;
  max-width: 56ch;
  margin-bottom: 2.4rem;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#testimonialCount {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--grey-700);
  flex-shrink: 0;
}

.testimonial-progress {
  flex-grow: 1;
  height: 2px;
  background: rgba(0, 0, 0, 0.12);
  position: relative;
  max-width: 240px;
}

.testimonial-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--black);
  width: 16.66%;
  transition: width 0.4s var(--ease);
}

.testimonial-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.testimonial-arrow:hover {
  background: var(--black);
  color: var(--white);
}

.testimonial-right {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

.testimonial-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  min-height: 0;
  border: none;
  filter: grayscale(1);
}

.testimonial-bg::after {
  color: rgba(255, 255, 255, 0.5);
}

.testimonial-cards {
  position: relative;
  z-index: 2;
  padding: 2.4rem 6vw;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.testimonial-card {
  display: none;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 2rem;
  color: var(--black);
}

.testimonial-card.is-active {
  display: block;
}

.testimonial-logo-placeholder {
  width: 100px;
  height: 32px;
  min-height: 0;
  margin-bottom: 1.2rem;
}

.testimonial-logo-placeholder::after {
  font-size: 0.55rem;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1.4rem;
  color: var(--black);
}

.testimonial-person {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.92rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--grey-700);
}

/* =========================================================
   WHAT'S NEW
   ========================================================= */
.news-section {
  background: var(--black);
  padding: 4rem 0 3rem;
}

.news-left {
  padding: 0 6vw;
  margin-bottom: 2.6rem;
}

.news-left .section-title-lg {
  margin-bottom: 1.2rem;
}

.news-copy {
  color: var(--grey-500);
  max-width: 46ch;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.news-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#newsCount {
  font-size: 0.85rem;
  color: var(--grey-500);
  flex-shrink: 0;
}

.news-progress {
  flex-grow: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
  max-width: 240px;
  position: relative;
}

.news-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--white);
  width: 14.28%;
  transition: width 0.4s var(--ease);
}

.news-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid var(--grey-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.news-arrow:hover {
  background: var(--white);
  color: var(--black);
}

.news-track-wrap {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 6vw;
  scrollbar-width: none;
}

.news-track-wrap::-webkit-scrollbar {
  display: none;
}

.news-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
}

.news-card {
  position: relative;
  width: min(80vw, 340px);
  scroll-snap-align: start;
  border: 1px solid var(--grey-line);
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 1.4rem;
  transition: border-color 0.3s var(--ease);
}

.news-card.is-active {
  border-color: rgba(255, 255, 255, 0.5);
}

.news-date {
  position: absolute;
  margin: 1rem;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--white);
  z-index: 2;
}

.news-img {
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 0;
  border: none;
  border-bottom: 1px solid var(--grey-line);
}

.news-card h3 {
  padding: 1.1rem 1.2rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
  text-transform: uppercase;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--black);
  padding: 4rem 6vw 1.6rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

.build-card {
  position: relative;
  border: 1px solid var(--grey-line);
  border-radius: 14px;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
}

.build-card-graphic {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  min-height: 0;
  border: none;
}

.build-card-text {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.build-card-text h3 {
  font-size: 1.4rem;
}

.build-card-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-align: right;
  text-transform: uppercase;
}

.build-card-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid var(--grey-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--grey-500);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: var(--grey-300);
  margin-bottom: 0.7rem;
  transition: color 0.2s ease;
}

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

.social-icons {
  display: flex;
  gap: 0.8rem;
}

.social-icons svg {
  width: 18px;
  height: 18px;
}

.social-icons a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--grey-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-question h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.footer-form {
  display: flex;
  border: 1px solid var(--grey-line);
  border-radius: 4px;
  overflow: hidden;
}

.footer-form input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 1rem 1.2rem;
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
}

.footer-form input::placeholder {
  color: var(--grey-500);
}

.footer-form button {
  padding: 1rem 1.6rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s ease;
  flex-shrink: 0;
}

.footer-form button:hover {
  background: var(--white);
  color: var(--black);
}

.footer-bottom {
  border-top: 1px solid var(--grey-line);
  padding-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-bottom-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.footer-logo-mark {
  width: 18px;
  height: 18px;
  background: var(--white);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--grey-500);
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

  .hero-globe,
  .marquee-track {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */
@media (min-width: 640px) {
  .cta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .purpose-right {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================================
   RESPONSIVE — DESKTOP (≥1024px): switch to Lumia's true desktop layout
   ========================================================= */
@media (min-width: 1024px) {
  :root {
    --container-pad: 4vw;
  }

  .site-header {
    height: var(--nav-height);
  }

  .hero {
    padding-top: var(--nav-height);
  }

  .nav-links {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 2.6rem;
    padding: 0;
    transform: none;
    transition: none;
  }

  .nav-link {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s var(--ease);
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .nav-mobile-footer {
    display: none;
  }

  .hamburger {
    display: none;
  }

  /* HERO desktop: globe left, video right (half width), text overlays video */
  .hero {
    display: block;
    height: 100vh;
    min-height: 720px;
  }

  .hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    flex-direction: row;
  }

  .hero-globe-wrap {
    order: 0;
    width: 50%;
    height: 100%;
    padding: 0;
    min-height: 0;
  }

  .hero-globe {
    width: min(38vw, 480px);
    height: min(38vw, 480px);
  }

  .hero-video-wrap {
    order: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 20vh;
    min-height: 0;
  }

  .heroclip {
    height: 10px;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    width: 50%;
    margin-left: 50%;
    padding: 0 4vw 6rem;
    justify-content: flex-end;
    padding-top: var(--nav-height);
  }

  .hero-title {
    font-size: clamp(2.6rem, 3.6vw, 4rem);
  }

  .marquee-section {
    position: relative;
    z-index: 3;
  }

  /* CTA grid desktop: 3 columns */
  .cta-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
  }

  /* Split section desktop: side by side */
  .split-section {
    flex-direction: row;
  }

  .split-left {
    width: 50%;
    padding: 0 4vw;
  }

  .split-right {
    width: 50%;
  }

  .split-video {
    height: 100%;
    min-height: 640px;
    aspect-ratio: auto;
  }

  /* Sectors desktop: text row + 4-col asymmetric grid like reference */
  .sectors-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 3rem;
  }

  .sectors-header .section-title-lg {
    margin-bottom: 0;
  }

  .sectors-sub {
    text-align: left;
    padding-bottom: 0.4rem;
  }

  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 1.4rem;
  }

  .sector-card--tall:nth-child(1) {
    grid-row: 1 / 3;
  }

  .sector-card--tall:nth-child(2) {
    grid-row: 1 / 3;
  }

  .sector-card--short:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .sector-card--short:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
  }

  .sector-card {
    min-height: 0;
  }

  /* Purpose section desktop: left column + right 2-col grid */
  .purpose-section {
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
  }

  .purpose-left {
    width: 34%;
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
  }

  .purpose-right {
    width: 66%;
    grid-template-columns: repeat(2, 1fr);
  }

  /* Products header row */
  .products-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .products-highlight-title {
    text-align: right;
  }

  .products-highlight-sub {
    text-align: right;
    margin-left: auto;
  }

  /* Testimonials desktop: split */
  .testimonial-section {
    flex-direction: row;
  }

  .testimonial-left {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4vw;
  }

  .testimonial-right {
    width: 60%;
    min-height: 720px;
  }

  .testimonial-cards {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    padding: 3rem;
    justify-content: center;
  }

  .testimonial-card {
    max-width: 480px;
  }

  /* News desktop */
  .news-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .news-card {
    width: 320px;
  }

  /* Footer desktop */
  .footer-top {
    flex-direction: row;
    gap: 2.5rem;
  }

  .build-card {
    width: 32%;
    flex-shrink: 0;
  }

  .footer-links {
    flex-grow: 1;
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-question {
    width: 26%;
    flex-shrink: 0;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-title {
    font-size: clamp(2.2rem, 3.4vw, 2.8rem);
  }
}


/* ══════════════════════════════════════════════════
       WALLET OVERLAY
    ══════════════════════════════════════════════════ */
.w-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 8, 0.6);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}

.w-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Wallet overlay — Lumia black/white techno theme ── */
.w-overlay {
  /* Core palette — black/white techno */
  --plum: #ffffff;
  /* primary accent = white */
  --plum-hv: #e0e0e0;
  /* hover = slightly off-white */
  --plum-dim: rgba(255, 255, 255, 0.08);
  /* subtle white tint */
  --plum-glow: rgba(255, 255, 255, 0.04);
  /* very faint glow */
  --surface: #181818;
  /* card surface */
  --bg3: #0f0f0f;
  /* panel background */
  --bg2: #161616;
  /* secondary surface */
  --bg: #0a0a0a;
  /* deepest bg */
  --text: #ffffff;
  /* primary text */
  --text-2: #b0b0b0;
  /* secondary text */
  --text-3: #666666;
  /* muted text */
  --border: rgba(255, 255, 255, 0.10);
  /* subtle border */
  --border-hv: rgba(255, 255, 255, 0.35);
  /* hover border */
  --muted: #666666;
  --accent: #ffffff;
  --white: #0a0a0a;
  /* used as active-tab bg */
}

/* shared panel shell */
.w-panel,
.w-sub {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.85),
    0 4px 24px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  margin: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.w-panel::-webkit-scrollbar,
.w-sub::-webkit-scrollbar {
  display: none;
}

.w-panel.hidden {
  display: none !important;
}

.w-sub {
  display: none;
  animation: panelIn 0.25s cubic-bezier(.22, 1, .36, 1) both;
}

.w-sub.active {
  display: block;
}

/* animated shimmer accent top line */
.w-panel::before,
.w-sub::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--plum) 25%,
      #aaaaaa 50%,
      var(--plum) 75%,
      transparent 100%);
  background-size: 200% 100%;
  animation: shimmerBar 3s ease-in-out infinite;
  border-radius: 20px 20px 0 0;
  z-index: 2;
}

@keyframes shimmerBar {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── HEADER ──────────────────────────────────────── */
.w-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(8, 15, 29, 0.92);
  z-index: 1;
  border-radius: 20px 20px 0 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.w-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.w-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.w-close:hover {
  background: var(--plum-dim);
  border-color: var(--border-hv);
  color: var(--plum);
}

/* ── SCREEN 1 BODY ───────────────────────────────── */
.w-body {
  padding: 18px 22px 22px;
}

/* featured wallet */
.w-featured {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(26, 86, 255, 0.25);
  background: var(--plum-glow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  transition: border-color 0.18s, background 0.18s, transform 0.15s;
}

.w-featured::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--plum);
}

.w-featured:hover {
  border-color: rgba(26, 86, 255, 0.5);
  background: var(--plum-dim);
  transform: translateX(3px);
}

.w-featured-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plum);
  background: rgba(26, 86, 255, 0.1);
  border: 1px solid rgba(26, 86, 255, 0.28);
  border-radius: 20px;
  padding: 2px 8px;
  font-weight: 600;
}

.w-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.w-feat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.w-feat-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.w-feat-desc {
  font-size: 11.5px;
  color: var(--text-2);
  margin-top: 2px;
}

/* divider */
.w-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.w-divider::before,
.w-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.w-divider span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}

/* wallet list */
.w-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.w-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
}

.w-item:hover {
  background: var(--surface);
  border-color: var(--border);
  transform: translateX(3px);
}

.w-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.w-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.w-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.w-item-desc {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 1px;
}

.w-item-arrow {
  margin-left: auto;
  font-size: 16px;
  color: var(--text-3);
  flex-shrink: 0;
  transition: color 0.18s, transform 0.18s;
}

.w-item:hover .w-item-arrow {
  color: var(--plum);
  transform: translateX(2px);
}

/* other wallets item */
.w-item-other {
  border: 1px dashed rgba(26, 86, 255, 0.3);
}

.w-item-other .w-item-icon {
  background: var(--plum-dim);
  border-color: rgba(26, 86, 255, 0.2);
  color: var(--plum);
  font-size: 17px;
}

.w-item-other:hover {
  border-style: solid;
  border-color: rgba(26, 86, 255, 0.4);
}

/* note */
.w-note {
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.65;
}

.w-note a {
  color: var(--text-3);
  text-decoration: none;
}

.w-note a:hover {
  color: var(--plum);
}

/* ── OTHER WALLETS SCREEN ────────────────────────── */
.ow-search-wrap {
  padding: 14px 22px 10px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.ow-search-wrap i {
  position: absolute;
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 15px;
  pointer-events: none;
}

.ow-search {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  font-family: inherit;
}

.ow-search::placeholder {
  color: var(--text-3);
}

.ow-search:focus {
  border-color: var(--border-hv);
  box-shadow: 0 0 0 3px rgba(26, 86, 255, 0.12);
}

.ow-count {
  font-size: 10.5px;
  color: var(--text-3);
  text-align: right;
  padding: 6px 22px 0;
  letter-spacing: 0.06em;
}

.ow-list {
  padding: 8px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 380px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ow-list::-webkit-scrollbar {
  display: none;
}

.ow-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.13s;
}

.ow-item:hover {
  background: var(--surface);
  border-color: var(--border);
  transform: translateX(3px);
}

.ow-item.hidden {
  display: none;
}

.ow-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ow-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ow-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.ow-chain {
  font-size: 10.5px;
  color: var(--text-3);
  margin-top: 1px;
}

.ow-no-results {
  display: none;
  text-align: center;
  padding: 32px 0;
  color: var(--text-3);
  font-size: 13.5px;
}

.ow-no-results i {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
  opacity: 0.4;
}

/* ── LOADING SCREEN ──────────────────────────────── */
.w-loading-body {
  padding: 32px 22px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.w-wallet-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
}

.w-chip-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plum-dim);
}

.w-chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.w-chip-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}

.w-spinner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid rgba(26, 86, 255, 0.1);
  border-top-color: var(--plum);
  border-right-color: rgba(26, 86, 255, 0.45);
  animation: spin 0.85s linear infinite;
  position: relative;
}

.w-spinner::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(26, 86, 255, 0.12);
  animation: spinnerPulse 2s ease-in-out infinite;
}

@keyframes spinnerPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.06);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.w-status {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  min-height: 42px;
  max-width: 280px;
  transition: opacity 0.15s;
}

.w-progress-wrap {
  width: 100%;
  background: rgba(26, 86, 255, 0.1);
  border-radius: 4px;
  height: 2px;
  overflow: hidden;
}

.w-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--plum);
  border-radius: 4px;
  transition: width 0.2s linear;
}

/* ── ERROR SCREEN ────────────────────────────────── */
.w-error-body {
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.w-error-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  font-size: 22px;
}

.w-error-msg strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.w-error-msg {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 290px;
}

/* ── MANUAL SCREEN (custom) ──────────────────────── */
.w-manual-body {
  padding: 18px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* chip in manual screen */
.w-manual-body .w-wallet-chip {
  align-self: center;
}

/* ── TYPE TOGGLE (Phrase / Keystore JSON / Private Key) */
.type-toggle {
  display: flex;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}

.type-btn {
  flex: 1;
  padding: 8px 6px;
  border-radius: 7px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.type-btn.active {
  background: var(--plum);
  color: #000;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.type-btn:not(.active):hover {
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.07);
}

/* input panes */
.input-pane {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.input-pane.active {
  display: flex;
}

.w-textarea,
.w-input {
  width: 100%;
  padding: 13px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.7;
  resize: none;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.w-textarea::placeholder,
.w-input::placeholder {
  color: var(--text-3);
}

.w-textarea:focus,
.w-input:focus {
  border-color: var(--border-hv);
  background: rgba(13, 21, 38, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.w-textarea.phrase-area {
  height: 110px;
}

.w-textarea.keystore-area {
  height: 130px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

.w-textarea.privkey-area {
  height: 80px;
  font-family: 'Courier New', monospace;
  font-size: 12.5px;
}

/* attach button (keystore only) */
.attach-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px dashed var(--border-hv);
  color: var(--text-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  width: 100%;
  justify-content: center;
}

.attach-btn:hover {
  background: var(--plum-dim);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--plum);
}

.attach-btn i {
  font-size: 15px;
}

#keystoreFileInput {
  display: none;
}

.attach-file-name {
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  margin-top: -6px;
}

/* encrypt note */
.w-encrypt-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px;
}

.w-encrypt-note i {
  font-size: 14px;
  color: var(--plum);
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.8;
}

.w-encrypt-note p {
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.65;
}

.w-encrypt-note strong {
  color: #93c5fd;
  font-weight: 600;
}

/* ── BUTTONS ─────────────────────────────────────── */
.w-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  color: black;
}

.w-btn {
  width: 100%;
  padding: 13px 20px;
  border-radius: 11px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform 0.15s, box-shadow 0.18s, background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.w-btn-plum {
  background: var(--plum);
  color: #000;
  border: none;
}

.w-btn-plum:hover {
  background: var(--plum-hv);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.2);
}

.w-btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}

.w-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
  transform: translateY(-1px);
}