/* PayFi static landing — tokens aligned with memberportal payfi-landing.css + reference mock */
:root {
  --text: #14141c;
  --muted: #70717b;
  --line: #e8e6ef;
  --surface: #ffffff;
  /* Matches --surface for rgba() overlays on cards / art wells */
  --surface-rgb: 255, 255, 255;
  --surface-soft: #f5f5f7;
  /* Matches --surface-soft (#f5f5f7) for use in rgba() scrims */
  --surface-soft-rgb: 245, 245, 247;
  --accent: #7b42ff;
  /* Matches --accent (#7b42ff) for soft borders / shadows */
  --accent-rgb: 123, 66, 255;
  --accent-strong: #5b21d6;
  --accent-soft: #c4b5fd;
  --shadow-sm: 0 8px 24px rgba(24, 18, 43, 0.08);
  --shadow-md: 0 16px 40px rgba(24, 18, 43, 0.12);
  --radius: 16px;
  --radius-lg: 20px;
  /* Slightly rounder tiles — matches 核心价值 reference cards */
  --radius-value: 22px;
  --container: min(1320px, 100% - 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface-soft);
  font-family: 'Noto Sans SC', 'Montserrat', system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  z-index: 200;
}
.skip-link:focus {
  left: 0.5rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

/* Keep desktop header always visible while scrolling */
@media (min-width: 1024px) {
  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 80;
  }

  .app-shell > main {
    padding-top: 72px;
  }
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  min-height: 72px;
  overflow: visible;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: Sora, 'Noto Sans SC', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand--footer {
  color: #fff;
}

/* Full wordmark from public/logo-dark-gold.png (icon + PFI + subline) */
.brand__logo-full {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(210px, 46vw);
  object-fit: contain;
}

@media (max-width: 660px) {
  .brand__logo-full {
    height: 34px;
    max-width: min(176px, 52vw);
  }
}

.brand__logo-full--footer {
  height: 48px;
  max-width: min(232px, 72vw);
}



.payfi-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #f5c542, #f0a202, #f5c542);
  box-shadow: 0 0 0 3px rgba(138, 92, 245, 0.2);
  display: inline-block;
}

.payfi-mark--invert {
  background: conic-gradient(from 200deg, #fde68a, #f59e0b, #fde68a);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.brand__text {
  font-size: 1.05rem;
}

.header-nav {
  display: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.45rem;
  font-size: 0.78rem;
  font-weight: 600;
}

@media (min-width: 1024px) and (max-width: 1380px) {
  .header-nav {
    gap: 0.45rem 1.05rem;
    font-size: 0.74rem;
  }
}

.header-nav a:hover {
  color: var(--accent-strong);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: end;
}

/* Language: previous pill trigger + dropdown list */
.lang-dropdown {
  position: relative;
  z-index: 70;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem 0.45rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #e4e4e7;
  background: #fafafa;
  font-family: Sora, 'Noto Sans SC', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.lang-trigger:hover {
  border-color: rgba(123, 66, 255, 0.35);
}

.lang-dropdown.is-open .lang-trigger {
  border-color: rgba(123, 66, 255, 0.45);
}

.lang-trigger__flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.lang-trigger__chev {
  display: inline-block;
  font-size: 0.65rem;
  color: var(--muted);
  margin-left: 0.1rem;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.lang-dropdown.is-open .lang-trigger__chev {
  transform: rotate(180deg);
  color: var(--accent);
}

.lang-dd-enter-active,
.lang-dd-leave-active {
  transition:
    opacity 0.18s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.lang-dd-enter-from,
.lang-dd-leave-to {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}

.lang-dd-enter-to,
.lang-dd-leave-from {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lang-dropdown__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 12.5rem;
  max-height: min(70vh, 22rem);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.45rem;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--accent-soft) 28%, var(--line));
  border-radius: 16px;
  box-shadow:
    0 4px 12px rgba(24, 18, 43, 0.06),
    0 20px 48px rgba(123, 66, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transform-origin: top right;
}

.lang-dropdown__option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  font-family: Sora, 'Noto Sans SC', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition:
    background 0.14s ease,
    color 0.14s ease;
}

.lang-dropdown__option:hover {
  background: color-mix(in srgb, var(--surface-soft) 88%, var(--accent-soft));
}

.lang-dropdown__option.is-active {
  background: linear-gradient(135deg, rgba(123, 66, 255, 0.1), rgba(196, 181, 253, 0.18));
  color: var(--accent-strong);
}

.lang-dropdown__opt-label {
  flex: 1;
  min-width: 0;
}

.lang-dropdown__check {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
}

.lang-dropdown__opt-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.mobile-drawer__lang {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(138, 92, 245, 0.12);
}

.mobile-drawer__lang-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 0.5rem;
}

.mobile-drawer__lang-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.6rem 0.25rem;
  margin: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.mobile-drawer__lang-row:hover {
  background: rgba(138, 92, 245, 0.06);
}

.mobile-drawer__lang-row.is-active {
  color: var(--accent-strong);
}

.mobile-drawer__lang-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.lang-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.lang-btn--dark {
  background: #1a1a1e;
  border-color: #2e2e36;
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-family: Sora, 'Noto Sans SC', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--ghost {
  background: linear-gradient(#fff, #faf8ff);
  border-color: rgba(32, 33, 41, 0.12);
  box-shadow: var(--shadow-sm);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(145deg, #5b21d6, var(--accent) 45%, #9f7aea);
  border-color: rgba(123, 66, 255, 0.35);
  box-shadow: 0 10px 22px rgba(123, 66, 255, 0.22);
}

.btn--join {
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(123, 66, 255, 0.55);
  box-shadow: 0 4px 14px rgba(24, 18, 43, 0.06);
}

.btn--join:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.btn--lg {
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
}

.btn--xl {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  background: #1e1f26;
  margin-inline: auto;
}

@media (min-width: 1024px) {

  .header-nav {
    display: flex;
    justify-self: center;
  }
  .menu-toggle {
    display: none;
  }
}

/* Language lives in the mobile drawer below this breakpoint */
@media (max-width: 1023px) {
  .site-header .header-actions > .lang-dropdown {
    display: none;
  }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  justify-items: end;
}

.mobile-drawer[hidden] {
  display: none !important;
}

.mobile-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.mobile-drawer__panel {
  position: relative;
  z-index: 1;
  width: min(88vw, 20rem);
  height: 100%;
  max-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: #f4f2f7;
  border-top-left-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
  padding: 4.5rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  animation: slideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mobile-drawer__panel a {
  padding: 0.65rem 0;
  font-weight: 700;
  border-bottom: 1px solid rgba(138, 92, 245, 0.08);
}

.mobile-drawer__cta {
  margin-top: 1rem;
  justify-content: center;
}

.mobile-drawer__close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  background: #f9d5dc;
  font-size: 1.35rem;
  line-height: 1;
}

.coin-exchanged-widget {
  position: fixed;
  right: 1rem;
  top: 52%;
  bottom: auto;
  z-index: 1200;
  transform: translateY(-50%);
  isolation: isolate;
  transition: transform 0.2s ease;
}

.coin-exchanged-widget.is-docked-right:not(.is-dragging) {
  transform: translateY(-50%);
}

.coin-exchanged-widget.is-docked-left:not(.is-dragging) {
  transform: translateY(-50%);
}

.coin-exchanged-widget::before {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 3.95rem;
  height: 3.95rem;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(141, 67, 242, 0.24) 0%, rgba(141, 67, 242, 0.08) 45%, transparent 72%);
  transform: translate(-50%, -50%) scale(0.9);
  z-index: -1;
  pointer-events: none;
  animation: coinWidgetHalo 2.4s ease-in-out infinite;
}

.coin-exchanged-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(141, 67, 242, 0.38);
  background: linear-gradient(135deg, #8d43f2 0%, #7b42ff 100%);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 10px 22px rgba(55, 34, 104, 0.28),
    0 2px 6px rgba(14, 8, 32, 0.2);
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
  animation: coinWidgetPulse 2.2s ease-in-out infinite;
}

.coin-exchanged-fab:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 26px rgba(55, 34, 104, 0.35),
    0 4px 8px rgba(14, 8, 32, 0.25);
}

.coin-exchanged-fab:active {
  transform: translateY(0);
}

.coin-exchanged-fab__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.08rem;
  line-height: 1;
  animation: coinIconNudge 1.35s ease-in-out infinite;
}

@keyframes coinWidgetPulse {
  0%,
  100% {
    box-shadow:
      0 10px 22px rgba(55, 34, 104, 0.28),
      0 2px 6px rgba(14, 8, 32, 0.2);
  }
  50% {
    box-shadow:
      0 14px 30px rgba(89, 45, 173, 0.38),
      0 0 0 8px rgba(141, 67, 242, 0.09);
  }
}

@keyframes coinWidgetHalo {
  0%,
  100% {
    opacity: 0.36;
    transform: translate(-50%, -50%) scale(0.88);
  }
  50% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes coinIconNudge {
  0%,
  40%,
  100% {
    transform: translateY(0) scale(1);
    background: rgba(255, 255, 255, 0.18);
  }
  12% {
    transform: translateY(-1px) scale(1.08) rotate(-6deg);
    background: rgba(255, 255, 255, 0.29);
  }
  20% {
    transform: translateY(-1px) scale(1.09) rotate(6deg);
    background: rgba(255, 255, 255, 0.31);
  }
  28% {
    transform: translateY(0) scale(1.04) rotate(-4deg);
    background: rgba(255, 255, 255, 0.23);
  }
}

.coin-exchanged-fab__text {
  display: none;
}

.coin-exchanged-panel {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: min(18.5rem, 86vw);
  border-radius: 16px;
  padding: 0.82rem;
  border: 1px solid rgba(141, 67, 242, 0.28);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 30px rgba(28, 18, 56, 0.2);
  backdrop-filter: blur(6px);
}

.coin-exchanged-widget.is-docked-right .coin-exchanged-panel {
  right: calc(100% + 0.7rem);
}

.coin-exchanged-widget.is-docked-left .coin-exchanged-panel {
  left: calc(100% + 0.7rem);
}

.coin-exchanged-panel__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2a1750;
}

.coin-exchanged-panel__desc {
  margin-top: 0.36rem;
  color: #5f5773;
  font-size: 0.78rem;
  line-height: 1.45;
}

.coin-exchanged-panel__actions {
  margin-top: 0.66rem;
  display: flex;
  gap: 0.5rem;
}

.coin-exchanged-panel__btn {
  flex: 1;
  min-height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(141, 67, 242, 0.28);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.coin-exchanged-panel__btn--ghost {
  background: #fff;
  color: #4f4372;
}

.coin-exchanged-panel__btn--primary {
  background: #8d43f2;
  color: #fff;
}

.coin-widget-pop-enter-active,
.coin-widget-pop-leave-active {
  transition: opacity 0.16s ease, transform 0.18s ease;
}

.coin-widget-pop-enter-from,
.coin-widget-pop-leave-to {
  opacity: 0;
  transform: translateY(5px);
}

@media (max-width: 640px) {
  .coin-exchanged-widget {
    right: calc(0.55rem + env(safe-area-inset-right, 0px));
    top: calc(45% + env(safe-area-inset-top, 0px));
    bottom: auto;
    transform: translateY(-50%);
  }

  .coin-exchanged-fab {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    animation: none;
  }

  .coin-exchanged-widget::before {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    animation-duration: 2.8s;
    opacity: 0.48;
  }

  .coin-exchanged-fab__icon {
    animation-duration: 1.6s;
  }

  .coin-exchanged-fab:hover,
  .coin-exchanged-fab:active {
    transform: none;
  }

  .coin-exchanged-panel {
    top: 0;
    transform: none;
    width: min(16.6rem, 82vw);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Hero — two-column banner: copy left, art right, vertically centered (reference layout) */
.hero {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  background: #e8e6ef;
}

.hero-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
  max-width: 38rem;
}

.hero-copy h1 {
  font-family: Sora, 'Noto Sans SC', sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-line {
  display: block;
}

.hero-line--accent {
  color: var(--accent-strong);
  margin-top: 0.35rem;
}

.hero-line--purple {
  color: var(--accent);
  margin-top: 0.45rem;
}

.hero-lead {
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 48ch;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: min(100%, 720px);
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.14fr);
    gap: clamp(2rem, 4.5vw, 3.5rem);
    align-items: center;
  }

  .hero-media {
    justify-content: flex-end;
  }

  .hero-image {
    max-width: min(100%, 780px);
  }
}

/* Sections */
.section {
  padding: 4.25rem 0;
  background: var(--surface);
}

.section--soft {
  background: var(--surface-soft);
}

.section-title {
  font-family: Sora, 'Noto Sans SC', sans-serif;
  text-align: center;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title--left {
  text-align: left;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-top: 0.85rem;
  max-width: 62ch;
  margin-inline: auto;
  line-height: 1.6;
}

.section-sub--left {
  text-align: left;
  margin-inline: 0;
}

/* Values — cards match reference: soft tint, art as full-card background (no inner “well”) */
.values-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.value-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-value);
  border: 1px solid color-mix(in srgb, var(--line) 82%, var(--accent-soft));
  box-shadow: var(--shadow-sm);
}

.value-card__copy {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  padding: 1.6rem 1.45rem 0;
  max-width: 44ch;
}

.value-card--bg {
  --value-card-art: none;
  min-height: 20em;
  padding-bottom: 1.1rem;
  /* Slight lavender wash vs section — tokenized, not a one-off hex */
  background-color: color-mix(in srgb, var(--surface-soft) 86%, var(--accent-soft));
  background-image: linear-gradient(
      180deg,
      rgba(var(--surface-rgb), 0.78) 0%,
      rgba(var(--surface-rgb), 0.2) 34%,
      transparent 56%
    ),
    var(--value-card-art);
  background-repeat: no-repeat, no-repeat;
  background-position:
    0 0,
    center bottom;
  background-size:
    100% 100%,
    min(96%, 400px) auto;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.value-card p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 42ch;
}

.value-card--hero.value-card--bg {
  min-height: clamp(20rem, 42vh, 30rem);
  background-size:
    100% 100%,
    min(96%, 460px) auto;
}

@media (min-width: 960px) {
  .values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-items: stretch;
  }
  .value-card--hero {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .value-card--hero.value-card--bg {
    min-height: 100%;
    background-size:
      100% 100%,
      min(98%, 520px) auto;
  }
}

/* Split / about */
.about-inner {
  width: var(--container);
  margin-inline: auto;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.split__copy p {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.about-vision {
  margin-top: 1.35rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
}

.split__copy .btn {
  margin-top: 1.75rem;
}

.about-visual {
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-visual__img {
  width: 100%;
  max-width: min(100%, 520px);
  height: auto;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

/* Products — open liquidity row matches reference: art left, copy right, white ground */
.products-head {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  margin-top: 2.5rem;
}

.products-head__art {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-head__photo {
  width: 100%;
  max-width: min(100%, 480px);
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.products-head__copy {
  min-width: 0;
}

.products-head__subtitle {
  font-family: Sora, 'Noto Sans SC', sans-serif;
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.products-head__lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 56ch;
}

.products-head__kicker {
  margin-top: 1.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.65rem;
  max-width: 28rem;
}

.pill-grid--products {
  margin-top: 0.75rem;
  gap: 0.65rem 0.85rem;
  max-width: 36rem;
}

.pill {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(138, 92, 245, 0.22);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-strong);
}

/* Mock: 2×2 “tiles”, not full pills — ~12–14px radius, even height */
.pill--products {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.35rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent-soft) 35%, var(--line));
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.65rem 1rem;
  text-align: center;
}

.product-cards {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

/* Three feature cards — art PNG is background of whole .product-card */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 22rem;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.product-card--bg {
  padding: 1.75rem 1.5rem 1.35rem;
  /* Fallback only where layers don’t paint yet */
  background-color: var(--surface-soft);
  /* Scrim uses same token as section--soft / body wash */
  background-image: linear-gradient(
      180deg,
      rgba(var(--surface-soft-rgb), 0.99) 0%,
      rgba(var(--surface-soft-rgb), 0.94) 22%,
      rgba(var(--surface-soft-rgb), 0.55) 42%,
      rgba(var(--surface-soft-rgb), 0.12) 58%,
      transparent 72%
    ),
    var(--product-card-art);
  background-repeat: no-repeat, no-repeat;
  background-position:
    0 0,
    right 0.25rem bottom 0.15rem;
  background-size:
    100% 100%,
    min(94%, 460px) auto;
}

.product-card--accent-cyan.product-card--bg {
  background-image: linear-gradient(
      180deg,
      rgba(var(--surface-soft-rgb), 0.99) 0%,
      rgba(var(--surface-soft-rgb), 0.94) 22%,
      rgba(224, 242, 254, 0.45) 44%,
      rgba(var(--surface-soft-rgb), 0.1) 60%,
      transparent 74%
    ),
    var(--product-card-art);
}

.product-card__top {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  max-width: 26rem;
}

.product-card h3 {
  font-family: Sora, 'Noto Sans SC', sans-serif;
  font-size: clamp(1.18rem, 2.2vw, 1.42rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.product-card p {
  margin-top: 0.65rem;
  color: var(--text);
  line-height: 1.55;
  font-size: 0.95rem;
  font-weight: 500;
  max-width: none;
}

.product-card__glow {
  position: absolute;
  right: -18%;
  bottom: -35%;
  width: 75%;
  height: 95%;
  border-radius: 50%;
  z-index: 1;
  background: radial-gradient(circle, rgba(123, 66, 255, 0.2), transparent 62%);
  pointer-events: none;
}

.product-card__glow--alt {
  right: -22%;
  bottom: -38%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 62%);
}

.product-card__glow--wide {
  right: -12%;
  bottom: -42%;
  width: 88%;
  background: radial-gradient(circle, rgba(123, 66, 255, 0.2), transparent 60%);
}

@media (min-width: 900px) {
  .products-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
  }

  .products-head__art {
    justify-content: flex-start;
  }
  .product-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-card {
    min-height: 24rem;
  }
  .product-card--bg {
    background-size:
      100% 100%,
      min(94%, 500px) auto;
  }
}

/* Partners */
.logo-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 0.75rem;
}

/* Partners — flush grid: no gutter or cell padding */
.logo-grid--partners {
  margin-top: 2.25rem;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .logo-grid--partners {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .logo-grid--partners {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .logo-grid--partners {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.logo-grid--partners .logo-tile {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.logo-grid--partners .logo-tile img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(2.35rem, 5.8vw, 4rem);
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) brightness(0.48);
  opacity: 1;
}

.logo-grid--dense {
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.logo-grid--dense .logo-tile {
  border-radius: 8px;
}

.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f4f4f5;
  color: #71717a;
  font-family: Sora, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid #e4e4e7;
}

.logo-tile img {
  max-width: none;
  filter: grayscale(1) brightness(0.35);
  opacity: 0.88;
}

.fine-print {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.fine-print code {
  font-size: 0.78em;
}

/* FAQ */
.split--faq {
  align-items: start;
}

.accordion {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #ececf0;
}

.faq-item:first-of-type {
  border-top: 1px solid #ececf0;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border: none;
  background: none;
  text-align: left;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
}

.faq-item.is-open .faq-q {
  color: var(--accent);
}

.faq-chevron {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--accent);
  line-height: 1;
}

.faq-item:not(.is-open) .faq-chevron {
  color: var(--muted);
}

.faq-a {
  padding: 0 0 1.1rem;
}

.faq-a p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
  max-width: 52ch;
}

.accordion__item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.25rem 1rem 0.75rem;
  box-shadow: var(--shadow-sm);
}

.accordion__item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.75rem 0;
  list-style: none;
}

.accordion__item summary::-webkit-details-marker {
  display: none;
}

.accordion__item p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-bubble {
  margin-top: 2rem;
  height: 260px;
  border-radius: 32px;
  background: linear-gradient(160deg, #ede9ff, #d8b4fe);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(138, 92, 245, 0.2);
  position: relative;
  overflow: hidden;
}

.faq-bubble__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.92;
}

.faq-bubble__q {
  position: relative;
  z-index: 1;
  font-family: Sora, sans-serif;
  font-size: 6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 12px 40px rgba(91, 33, 182, 0.35);
}

@media (min-width: 900px) {
  .split--faq {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .faq-bubble {
    margin-top: 3.5rem;
  }
}

/* Compliance — left column: PNG only, no frame / shadow / border */
.compliance-cert {
  min-width: 0;
}

.compliance-cert__img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
}

.compliance-cert__note {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.compliance-split {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2rem;
  align-items: start;
}

.compliance-copy h2 {
  font-family: Sora, 'Noto Sans SC', sans-serif;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.compliance-lead {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.compliance-license {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.compliance-body {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.compliance-partner-label {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: #a1a1aa;
}

/* Compliance-only partner grid — no gutter; logos unfiltered */
.compliance-logo-wall {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
  max-width: 100%;
}

@media (min-width: 480px) {
  .compliance-logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .compliance-logo-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .compliance-logo-wall {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.compliance-logo-chip {
  min-width: 0;
  min-height: 2.55rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.35rem;
  border-radius: 10px;
  background: #f5f5f5;
  border: 1px solid #e8e8ec;
  box-sizing: border-box;
}

.compliance-logo-chip__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(1.55rem, 3.65vw, 2.35rem);
  object-fit: contain;
  object-position: center;
}

.compliance-cta-wrap {
  margin-top: 2rem;
  text-align: center;
}

@media (min-width: 900px) {
  .compliance-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }
}

.bank-grid {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bank-chip {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.bank-grid li:nth-child(3n) .bank-chip {
  background: #ecfccb;
  color: #3f6212;
  border-color: #d9f99d;
}

.bank-grid li:nth-child(3n + 2) .bank-chip {
  background: #ffe4e6;
  color: #9f1239;
  border-color: #fecdd3;
}

/* CTA */
.cta-band {
  padding: 4.5rem 0;
  text-align: center;
  background: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22160%22 height=%22160%22 viewBox=%220 0 160 160%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop stop-color=%22%237529d4%22/%3E%3Cstop offset=%221%22 stop-color=%22%238a5cf5%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width=%22160%22 height=%22160%22 fill=%22url(%23g)%22/%3E%3C/svg%3E')
      center/cover,
    radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, 0.2), transparent 55%),
    linear-gradient(145deg, #5b21b6, var(--accent) 55%, #a78bfa);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute;
  width: min(40vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
  pointer-events: none;
}

.cta-band::before {
  top: -40%;
  left: -8%;
}

.cta-band::after {
  bottom: -45%;
  right: -10%;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: Sora, 'Noto Sans SC', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-sub {
  margin-top: 0.75rem;
  color: #ede9fe;
  font-size: 0.98rem;
}

.cta-inner .btn {
  margin-top: 1.5rem;
}

/* Footer — layout & type per design (black bar, white / #a0a0a0 hierarchy) */
.site-footer {
  background: #000000;
  color: #ffffff;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.footer-grid {
  display: grid;
  gap: 2rem 2.5rem;
  padding-bottom: clamp(1.75rem, 3vw, 2.25rem);
}

.footer-contact {
  margin-top: 1rem;
  color: #a1a1aa;
  line-height: 1.65;
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-links h3 {
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  color: #fff;
}

.footer-links a {
  color: #a1a1aa;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Social: unstyled links — only the image asset is visible */
.footer-social a {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.footer-social a img {
  display: block;
  width: auto;
  height: clamp(28px, 2.6vw, 36px);
  object-fit: contain;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
    align-items: start;
    justify-content: space-between;
  }
}

.footer-brand-shell {
  align-self: start;
}

.footer-grid--pfi .footer-contact-block__title {
  color: #ffffff;
  font-family: Sora, 'Noto Sans SC', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.625rem;
  letter-spacing: -0.01em;
}

.footer-contact-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact-line {
  margin: 0;
  padding: 0;
  font-family: Sora, 'Noto Sans SC', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.55;
  color: #a0a0a0;
}

.footer-contact-line + .footer-contact-line {
  margin-top: 0.2rem;
}

.footer-contact-line__label {
  color: #a0a0a0;
}

.footer-contact-line__email {
  margin-left: 0.25rem;
  color: #a0a0a0;
  font-weight: 400;
  text-decoration: none;
}

.footer-contact-line__email:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-legal {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 58rem;
  text-align: center;
}

.footer-legal li {
  margin-top: 0.28rem;
  font-family: Sora, 'Noto Sans SC', sans-serif;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.42;
  color: #a0a0a0;
  letter-spacing: 0.01em;
}

.footer-legal li:first-child {
  margin-top: 0;
}

.footer-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.footer-aside__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  justify-content: flex-end;
}

.footer-aside__links a {
  color: #ffffff;
  font-family: Sora, 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.3;
  text-decoration: none;
}

.footer-aside__links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 767px) {
  /* Footer — mobile stack: centered brand, dividers, readable contact, centered links + social */
  #contact.site-footer {
    padding-top: clamp(2rem, 6vw, 2.85rem);
    padding-bottom: clamp(1.65rem, 5vw, 2.35rem);
  }

  #contact .footer-grid.footer-grid--pfi {
    gap: 0;
    padding-bottom: 1.25rem;
  }

  #contact .footer-brand-shell {
    display: flex;
    justify-content: center;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid #2a2a2a;
  }

  #contact .brand__logo-full--footer {
    height: clamp(40px, 10.5vw, 50px);
    max-width: min(240px, 88vw);
  }

  #contact .footer-contact-block {
    padding: 1.2rem 0 1.15rem;
    border-bottom: 1px solid #2a2a2a;
  }

  #contact .footer-contact-block__title {
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
    text-align: center;
  }

  #contact .footer-contact-lines {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  #contact .footer-contact-line {
    font-size: 0.9rem;
    line-height: 1.45;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  #contact .footer-contact-line + .footer-contact-line {
    margin-top: 0;
  }

  #contact .footer-contact-line__label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #888888;
  }

  #contact .footer-contact-line__email {
    margin-left: 0;
    font-size: 0.9rem;
    word-break: break-word;
  }

  #contact .footer-aside {
    align-items: stretch;
    padding-top: 1.15rem;
    gap: 1.15rem;
  }

  #contact .footer-aside__links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem 1.75rem;
  }

  #contact .footer-aside__links a {
    font-size: 0.9rem;
    padding: 0.35rem 0.15rem;
  }

  #contact .footer-social {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
  }

  #contact .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3.35rem;
    min-height: 3.35rem;
    padding: 0.45rem;
    border-radius: 12px;
    transition: background 0.15s ease;
  }

  #contact .footer-social a:hover,
  #contact .footer-social a:focus-visible {
    background: rgba(255, 255, 255, 0.07);
  }

  #contact .footer-social a img {
    width: auto;
    height: clamp(34px, 9.5vw, 46px);
    object-fit: contain;
  }

  #contact .footer-bottom {
    padding-top: 1.05rem;
  }

  #contact .footer-legal li {
    font-size: 0.72rem;
    line-height: 1.48;
    padding-inline: 0.35rem;
  }
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: clamp(1rem, 2.5vw, 1.35rem) 0 0;
  margin-top: 0;
  text-align: center;
}

/* Values — mobile / tablet: compact rows + readable hero (desktop grid unchanged ≥960px) */
@media (max-width: 959px) {
  .values-grid {
    margin-top: 1.75rem;
    gap: 0.75rem;
  }

  /* Secondary cards: text-first row, illustration as a calm right accent (no tall “poster” tiles) */
  .value-card.value-card--bg:not(.value-card--hero) {
    min-height: clamp(6.25rem, 28vw, 8.25rem);
    padding-bottom: 0;
    align-items: stretch;
    background-image: linear-gradient(
        100deg,
        rgba(var(--surface-rgb), 1) 0%,
        rgba(var(--surface-rgb), 0.97) 40%,
        rgba(var(--surface-soft-rgb), 0.45) 62%,
        rgba(var(--surface-soft-rgb), 0) 88%
      ),
      var(--value-card-art);
    background-position:
      0 0,
      100% 50%;
    background-size:
      100% 100%,
      min(34%, 6.75rem) auto;
    background-repeat: no-repeat, no-repeat;
  }

  .value-card:not(.value-card--hero) .value-card__copy {
    padding: 0.95rem 0 0.95rem 1.05rem;
    padding-inline-end: clamp(5.75rem, 30vw, 8.25rem);
    max-width: none;
  }

  .value-card:not(.value-card--hero) h3 {
    font-size: clamp(0.98rem, 3.2vw, 1.06rem);
    letter-spacing: -0.01em;
    line-height: 1.25;
  }

  .value-card:not(.value-card--hero) p {
    margin-top: 0.35rem;
    font-size: 0.86rem;
    line-height: 1.45;
    max-width: none;
  }

  /* Hero: one strong focal card, art anchored under copy with a tight scrim */
  .value-card--hero.value-card--bg {
    min-height: clamp(13.5rem, 38vh, 18.5rem);
    padding-bottom: 0.85rem;
    background-image: linear-gradient(
        180deg,
        rgba(var(--surface-rgb), 1) 0%,
        rgba(var(--surface-rgb), 0.88) 22%,
        rgba(var(--surface-rgb), 0.45) 48%,
        rgba(var(--surface-soft-rgb), 0.08) 68%,
        transparent 100%
      ),
      var(--value-card-art);
    background-position:
      0 0,
      50% 100%;
    background-size:
      100% 100%,
      min(78%, 200px) auto;
    background-repeat: no-repeat, no-repeat;
  }

  .value-card--hero .value-card__copy {
    padding: 1.2rem 1.1rem 0;
    max-width: 36ch;
  }

  .value-card--hero h3 {
    font-size: clamp(1.05rem, 3.6vw, 1.18rem);
    letter-spacing: -0.015em;
    line-height: 1.2;
  }

  .value-card--hero p {
    margin-top: 0.45rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 899px) {
  .header-row {
    min-height: 64px;
    gap: 0.65rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-actions .btn.btn--join.btn--lg {
    padding: 0.58rem 0.8rem;
    font-size: 0.8rem;
  }

  .hero {
    padding: clamp(1.65rem, 5vw, 2.6rem) 0 clamp(1.85rem, 6vw, 3rem);
  }

  .hero-grid {
    gap: 1.25rem;
    text-align: center;
    justify-items: center;
  }

  .hero-copy {
    max-width: 40rem;
    order: 2;
  }

  .hero-media {
    order: 1;
    width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(1.75rem, 6.5vw, 2.35rem);
  }

  .hero-lead {
    margin-top: 1rem;
    margin-inline: auto;
    font-size: 0.94rem;
    max-width: 36ch;
  }

  .hero-image {
    max-width: min(100%, 520px);
  }

  .section {
    padding: clamp(2.35rem, 7vw, 3.35rem) 0;
  }

  .section-title {
    font-size: clamp(1.42rem, 5vw, 1.85rem);
    line-height: 1.2;
  }

  .section-sub {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    padding-inline: 0;
  }

  /* About — no outer container inset on mobile: full-bleed visual, padded copy only */
  #about .about-inner.split:has(.about-visual) {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    gap: 0;
    align-items: stretch;
  }

  #about .about-inner.split:has(.about-visual) .about-visual {
    order: -1;
    width: 100%;
    max-width: none;
    margin: 0;
    display: block;
  }

  #about .about-visual__img {
    width: 100%;
    max-width: none;
    margin: 0;
    display: block;
    border-radius: 0;
  }

  #about .split__copy {
    padding-top: clamp(1.15rem, 4vw, 1.5rem);
    padding-bottom: 0;
    padding-inline-start: max(clamp(1.25rem, 5vw, 1.75rem), env(safe-area-inset-left, 0px));
    padding-inline-end: max(clamp(1.25rem, 5vw, 1.75rem), env(safe-area-inset-right, 0px));
    max-width: 40rem;
    margin-inline: auto;
  }

  #about .split__copy .section-title--left {
    font-size: clamp(1.35rem, 5.2vw, 1.72rem);
    letter-spacing: -0.02em;
    line-height: 1.18;
  }

  #about .split__copy p {
    margin-top: 0.85rem;
    font-size: 0.93rem;
    line-height: 1.62;
  }

  #about .split__copy p:first-of-type {
    margin-top: 0.65rem;
  }

  #about .about-vision {
    margin-top: 1.1rem;
    font-size: 1rem;
  }

  #about .split__copy .btn.btn--lg {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
    margin-top: 1.5rem;
    justify-content: center;
  }

  /* Products — mobile intro + compact cards (desktop grid unchanged ≥900px) */
  #products .products-head {
    margin-top: 1.5rem;
    gap: 1rem;
    text-align: center;
  }

  #products .products-head__art {
    justify-content: center;
  }

  #products .products-head__photo {
    max-width: min(100%, 340px);
    margin-inline: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
  }

  #products .products-head__copy {
    text-align: left;
  }

  #products .products-head__subtitle {
    margin-top: 0.1rem;
    font-size: clamp(1.06rem, 4vw, 1.3rem);
    line-height: 1.22;
  }

  #products .products-head__lead {
    margin-top: 0.75rem;
    font-size: 0.93rem;
    line-height: 1.62;
    max-width: none;
  }

  #products .products-head__kicker {
    margin-top: 1rem;
    font-size: 0.76rem;
  }

  .pill-grid--products {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 0.5rem;
    margin-top: 0.6rem;
  }

  .pill--products {
    min-height: 3.25rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
    border-radius: 12px;
  }

  #products .product-cards {
    margin-top: 1.35rem;
    gap: 0.75rem;
  }

  #products .product-card.product-card--bg {
    min-height: clamp(6.5rem, 30vw, 8.75rem);
    padding: 0;
    align-items: stretch;
    background-image: linear-gradient(
        100deg,
        rgba(var(--surface-soft-rgb), 1) 0%,
        rgba(var(--surface-soft-rgb), 0.97) 40%,
        rgba(var(--surface-soft-rgb), 0.42) 62%,
        rgba(var(--surface-soft-rgb), 0) 88%
      ),
      var(--product-card-art);
    background-position:
      0 0,
      100% 50%;
    background-size:
      100% 100%,
      min(34%, 7.25rem) auto;
    background-repeat: no-repeat, no-repeat;
  }

  #products .product-card--accent-cyan.product-card--bg {
    background-image: linear-gradient(
        100deg,
        rgba(var(--surface-soft-rgb), 1) 0%,
        rgba(224, 242, 254, 0.62) 46%,
        rgba(var(--surface-soft-rgb), 0.28) 66%,
        rgba(var(--surface-soft-rgb), 0) 90%
      ),
      var(--product-card-art);
  }

  #products .product-card__top {
    padding: 0.95rem 0 0.95rem 1.05rem;
    padding-inline-end: clamp(5.65rem, 30vw, 8.25rem);
    max-width: none;
    align-self: stretch;
  }

  #products .product-card h3 {
    font-size: clamp(1.02rem, 3.4vw, 1.12rem);
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  #products .product-card p {
    margin-top: 0.4rem;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  #products .product-card__glow,
  #products .product-card__glow--alt,
  #products .product-card__glow--wide {
    opacity: 0.28;
  }

  /* Partners — mobile: soft panel + individual logo cells (desktop grid columns unchanged ≥900px) */
  #partners .logo-grid--partners {
    margin-top: 1.5rem;
    gap: 0.45rem;
    border-radius: var(--radius-lg);
  }

  #partners .logo-grid--partners .logo-tile {
    min-height: 3.35rem;
  }

  #partners .logo-grid--partners .logo-tile img {
    filter: grayscale(1) brightness(0.5);
    margin-inline: auto;
  }

  .split--faq {
    gap: 1.35rem;
  }

  .split--faq .faq-bubble {
    order: -1;
    margin-top: 0;
    height: clamp(10.5rem, 34vw, 13.5rem);
    border-radius: 22px;
  }

  .split--faq .faq-bubble__q {
    font-size: clamp(2.75rem, 16vw, 3.75rem);
  }

  .split--faq .section-title--left {
    text-align: center;
    width: 100%;
  }

  .split--faq .accordion {
    margin-top: 1.1rem;
  }

  .faq-q {
    padding: 1.05rem 0;
    font-size: 0.93rem;
    gap: 0.75rem;
  }

  .faq-a p {
    font-size: 0.9rem;
    max-width: none;
  }

  /* Compliance — mobile: edge-to-edge cert, padded copy, partner strip (desktop grid ≥900px unchanged) */
  #compliance .container.compliance-split {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    margin-top: 1.5rem;
    gap: 0;
    align-items: stretch;
  }

  #compliance .compliance-cert {
    width: 100%;
  }

  #compliance .compliance-cert__img {
    width: 100%;
    border-radius: 0;
  }

  #compliance .compliance-copy {
    padding-top: clamp(1.05rem, 3.5vw, 1.4rem);
    padding-bottom: 0.15rem;
    padding-inline-start: max(clamp(1.25rem, 5vw, 1.75rem), env(safe-area-inset-left, 0px));
    padding-inline-end: max(clamp(1.25rem, 5vw, 1.75rem), env(safe-area-inset-right, 0px));
    max-width: 40rem;
    margin-inline: auto;
  }

  #compliance .compliance-copy h2 {
    font-size: clamp(1.32rem, 4.9vw, 1.72rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  #compliance .compliance-lead {
    margin-top: 0.8rem;
    font-size: 0.93rem;
    line-height: 1.55;
  }

  #compliance .compliance-license {
    margin-top: 0.4rem;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  #compliance .compliance-body {
    margin-top: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.62;
  }

  #compliance .compliance-partner-label {
    margin-top: 1.25rem;
    font-size: 0.82rem;
    color: var(--muted);
  }

  /* Partner logos: 3 per row, larger marks (desktop column counts unchanged ≥900px) */
  #compliance .compliance-logo-wall {
    margin-top: 0.55rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: clamp(0.75rem, 3vw, 1rem) clamp(0.55rem, 2.2vw, 0.85rem);
    gap: 0.5rem 0.55rem;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--surface-soft) 94%, var(--accent-soft));
    border: 1px solid color-mix(in srgb, var(--line) 90%, var(--accent-soft));
    box-shadow: var(--shadow-sm);
  }

  #compliance .compliance-logo-chip {
    min-height: 3.35rem;
    padding: 0.45rem 0.42rem;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(24, 18, 43, 0.05);
  }

  #compliance .compliance-logo-chip__img {
    max-height: clamp(2rem, 10vw, 3.1rem);
  }

  #compliance .compliance-cta-wrap {
    margin-top: 1.55rem;
  }

  #compliance .compliance-cta-wrap .btn.btn--primary.btn--xl {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
    justify-content: center;
  }
}

@media (max-width: 899px) and (min-width: 380px) and (max-width: 639px) {
  #partners .logo-grid--partners {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }
}

@media (max-width: 899px) and (min-width: 480px) {
  .pill-grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Scroll-triggered section entrance (used by ScrollReveal.vue) */
.scroll-reveal {
  --scroll-reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 2rem, 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--scroll-reveal-delay),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--scroll-reveal-delay);
}

.scroll-reveal.scroll-reveal--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.scroll-reveal.scroll-reveal--reduced {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer__panel {
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }

  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Partner logo marquee */
.marquee-container {
  width: 100vw;
  position: relative;
  left: 50%;
  overflow: hidden;
  transform: translate(-50%);
}

.marquee-container:before,
.marquee-container:after {
  content: '';
  z-index: 2;
  pointer-events: none;
  width: 100px;
  position: absolute;
  top: 0;
  bottom: 0;
}

.marquee-container:before {
  background: linear-gradient(to right, var(--surface-main), transparent);
  left: 0;
}

.marquee-container:after {
  background: linear-gradient(to left, var(--surface-main), transparent);
  right: 0;
}

.marquee-track {
  will-change: transform;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  animation: 26s linear infinite runlightMove;
  display: flex;
  transform: translateZ(0);
}

.marquee-item {
  backface-visibility: hidden;
  flex: 0 0 200px;
  justify-content: center;
  align-items: center;
  width: 200px;
  display: inline-flex;
  transform: translateZ(0);
}

.marquee-logo {
  object-fit: contain;
  filter: grayscale() opacity(0.72);
  width: auto;
  max-height: 60px;
  transform: translateZ(0);
}

.partners-strip {
  padding: 0 0 3.2rem;
}

@keyframes runlightMove {
  0% {
    transform: translate(0);
  }

  to {
    transform: translate(-50%);
  }
}