/* ===== deposit-base.css ===== */
/* Avail Deposit · Base styles - matches original avail-deposit/style.css
   Uses shared variables.css for tokens, adds deposit-specific base rules. */

/* Deposit pages use Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* Page shell - bordered container */
.page-shell {
  position: relative;
  min-height: 100vh;
  background-color: #fffffe;
  border-top: 10px solid var(--border);
  border-left: 10px solid var(--border);
  border-right: 10px solid var(--border);
  overflow-x: hidden;
}

/* Hero landing - wraps nav + hero, transparent background */
.hero-landing {
  position: relative;
  overflow: visible;
}

.hero-landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Background.png?v=2') center bottom / cover no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

/* Inside .page-shell, .lower-sections already get outer borders from .page-shell;
   remove duplicate side borders on sections so we don't double them up */
.page-shell .lower-sections {
  border-left: none;
  border-right: none;
}

/* Wrap container - deposit pages use 80px gutters */
.wrap {
  width: 100%;
  max-width: var(--maxw, 1440px);
  margin: 0 auto;
  padding: 0 var(--gutter, 80px);
}

/* ---------- Buttons (deposit-specific sizing) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 30px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: opacity .2s ease, background .2s ease, color .2s ease;
}

.btn-primary {
  background: var(--btn-dark);
  color: var(--btn-dark-text);
}
.btn-primary:hover { opacity: .88; }

.btn-secondary {
  background: transparent;
  color: var(--btn-dark);
  border: 2px solid var(--btn-dark);
}
.btn-secondary:hover {
  background: var(--btn-dark);
  color: var(--btn-dark-text);
}

.btn-sm { height: 56px; }

/* ---------- Section headings ---------- */
.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.4;
  color: var(--heading);
  text-align: center;
}

.section-sub {
  max-width: 1050px;
  margin: 18px auto 0;
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
  text-align: center;
}

/* Tablet */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }


  .usp-row { grid-template-columns: 1fr; }
  .usp-row--reverse .usp-row__copy,
  .usp-row--reverse .usp-row__media { order: unset; }
  .features__panel { padding: 48px 40px; }
  .features-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .feature-card--large,
  .feature-card--tall { grid-row: span 1; min-height: 280px; }
  .use-cases__grid { grid-template-columns: 1fr; }
}

/* Mobile */

/* ---------- DA hero overrides ---------- */
.hero--da .hero__title {
  font-size: 84px;
  line-height: 1.2;
  letter-spacing: -1.68px;
}
.hero--da .hero__text + .hero__text { margin-top: 12px; }
.hero--da .hero__panel { aspect-ratio: 610 / 356; background: #eef2ff; }
.hero--da .hero__cta .btn { height: 56px; padding: 0 30px; }

/* ---------- USP rows ---------- */
.usp { padding: 20px 0 40px; }
.usp__stack { display: grid; gap: 40px; }
.usp-row {
  content-visibility: auto;
  contain-intrinsic-size: auto 435px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  min-height: 435px;
}
.usp-row--reverse .usp-row__copy { order: 2; }
.usp-row--reverse .usp-row__media { order: 1; }
.usp-row__copy {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.usp-row__title {
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: var(--heading);
}
.usp-row__text {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
}
.usp-row__text p + p { margin-top: 12px; }
.usp-row__media { min-height: 280px; background: #eef2ff; }
.usp-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Supported chain stacks ---------- */
.stacks { padding: 40px 0; }
.stacks .section-title { margin-bottom: 36px; }

/* ---------- Features bento (dark) ---------- */
.features { padding: 40px 0 60px; }
.features__panel {
  background: #2b2b2b;
  border-radius: 12px;
  padding: 80px 80px 60px;
}
.features__head {
  text-align: center;
  margin-bottom: 48px;
}
.features__head .section-title { color: var(--white); }
.features__head .section-sub { color: rgba(255, 255, 254, 0.85); max-width: 1004px; }
.features-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  grid-template-rows: repeat(2, minmax(232px, auto));
  gap: 24px;
}
.feature-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  padding: 24px;
  min-height: 232px;
}
.feature-card--large { grid-row: span 2; min-height: 480px; background: #17215c; }
.feature-card--tall { grid-row: span 2; min-height: 480px; }
.feature-card--predictable { background: #1e1e1e; }
.feature-card--private { background: #f0f0ef; }
.feature-card__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.feature-card__bg img { width: 100%; height: 100%; object-fit: cover; }
.feature-card__content { position: relative; z-index: 1; max-width: 430px; }
.feature-card__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: var(--white);
}
.feature-card--private .feature-card__title { color: var(--heading-soft); }
.feature-card__text {
  margin-top: 14px;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.6px;
  color: var(--white);
}
.feature-card--private .feature-card__text {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--body);
}
.feature-card--large .feature-card__illustration {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  pointer-events: none;
}
.feature-card--large .feature-card__illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ---------- Chain cards (marquee with names) ---------- */
.top-chains { padding: 20px 0 60px; }
.top-chains .section-sub { max-width: 728px; }
.top-chains .marquee { margin-top: 40px; }
.top-chains .marquee__track { gap: 12px; }
.chain-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
  flex-shrink: 0;
  gap: 12px;
}
.chain-card__logo {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--grey);
}
.chain-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.chain-card__name {
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.42px;
  color: var(--body);
  text-align: center;
}

/* ---------- Use cases grid ---------- */
.use-cases { padding: 40px 0 60px; }
.use-cases__head { text-align: center; margin-bottom: 40px; }
.use-cases__head .section-sub { max-width: 1255px; }
.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.use-case-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 273px;
  position: relative;
  background: var(--grey);
  border-radius: 8px;
  padding: 20px;
  min-height: 273px;
  overflow: hidden;
}
.use-case-card__icon {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
}
.use-case-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.use-case-card__title {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: var(--heading);
}
.use-case-card__text {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
  max-width: 562px;
}
.use-case-card__pixel {
  position: absolute;
  top: 0;
  right: 0;
  width: 94px;
  height: auto;
  pointer-events: none;
}

@media (max-width: 460px) {
  :root { --gutter: 20px; }

  .section-title { font-size: 28px; }
  .section-sub  { font-size: 16px; }

  .btn { height: 56px; padding: 0 24px; font-size: 15px; }
}


/* ===== deposit-components.css ===== */
/* Avail Deposit · Page components (hero, chains marquee, benefits, feature, partners, how, step, ready)
   Breakpoints unified with index: 1024px (tablet), 460px (mobile) */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 40px 0 60px;
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 591px 1fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 84px;
  line-height: 1.2;
  color: var(--heading);
  letter-spacing: -1.68px;
}
.hero__text {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
  max-width: 557px;
}
.hero__cta {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero__panel {
  aspect-ratio: 669 / 689;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #0473FF;
}
.hero__panel img,
.hero__panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

/* Contain video within panel (no edge cropping) */
.hero__panel--video video {
  object-fit: contain;
}

/* ---------- Marquee (chains + partners) ---------- */
.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: scroll-x var(--speed, 40s) linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 80px;
  padding: 0 32px;
}
.marquee__item img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Chains */
.chains { padding: 44px 0 50px; }
.chains .marquee { margin-top: 36px; }

/* ---------- Benefits ---------- */
.benefits { padding: 60px 0; }
.benefits__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feature__img {
  aspect-ratio: 413 / 155;
  background: var(--step-blue);
  overflow: hidden;
}
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: 28px 20px 32px; }
.feature__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: var(--heading);
}
.feature__text {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
}

/* ---------- Use cases (partners) ---------- */
.partners { padding: 50px 0; }
.partners .marquee { margin-top: 40px; }

/* ---------- How it works ---------- */
.how { padding: 60px 0; }
.how__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
}
.step__img {
  aspect-ratio: 413 / 374;
  background: var(--step-blue);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.step__img img { height: 100%; width: auto; object-fit: contain; }
.step__body { padding: 36px 40px 44px; }
.step__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: var(--heading);
}
.step__text {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
}

/* ---------- Ready / CTA ---------- */
.ready { padding: 50px 0 70px; }
.ready__buttons {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero__title { font-size: 44px; }

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

@media (max-width: 460px) {
  .hero { padding: 24px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero__title { font-size: 36px; line-height: 1.2; }
  .hero__text { font-size: 16px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 auto; }

  .section-title { font-size: 28px; }
  .section-sub { font-size: 16px; }

  .marquee__item { padding: 0 22px; }
  .marquee__item img { height: 32px; }

  .benefits__grid { grid-template-columns: 1fr; gap: 16px; }
  .feature__title { font-size: 22px; }
  .feature__text, .step__text { font-size: 16px; }

  .how__grid { grid-template-columns: 1fr; gap: 16px; }
  .step__body { padding: 28px 28px 32px; }

  .ready__buttons { flex-direction: column; align-items: stretch; }
  .ready__buttons .btn { width: 100%; }
}


/* ===== lower-sections.css ===== */
/* Avail Website · Lower page sections shared background */

.lower-sections {
  position: relative;
  background: var(--white);
  border-left: 10px solid var(--border);
  border-right: 10px solid var(--border);
  overflow: hidden;
  margin-bottom: 10px;
}

.lower-sections__bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  pointer-events: none;
}

.lower-sections__bg-piece {
  flex: none;
  width: 100%;
  background-color: var(--white);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
}

.lower-sections__bg-piece--primary {
  aspect-ratio: 5940 / 12768;
  background-image: url('../assets/Background_2.png?v=6');
}

.lower-sections__bg-piece--secondary {
  aspect-ratio: 5940 / 3908;
  background-image: url('../assets/Background_3.png?v=1');
}

.lower-sections > section {
  position: relative;
  z-index: 1;
  background: transparent;
  border-left: none;
  border-right: none;
}

@media (max-width: 460px) {
  .lower-sections {
    border-left-width: 0;
    border-right-width: 0;
  }

  .lower-sections__bg-piece {
    flex: 1 1 50%;
    aspect-ratio: auto;
    min-height: 0;
    background-image: url('../assets/stats/pattern-light.png');
    background-size: calc((100vw - 60px) * 3 / (2 * 100vw) * 100%) auto;
    background-repeat: repeat;
    background-position: center top;
    opacity: 0.2;
  }

  .lower-sections__bg-piece--primary,
  .lower-sections__bg-piece--secondary {
    background-image: url('../assets/stats/pattern-light.png');
  }
}


/* ---------- Shared components (from nexus.css) ---------- */

/* ---------- Section labels & pills ---------- */
.section-label {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.pill-label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  background: #d2daea;
  color: #0473ff;
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.32px;
  text-transform: uppercase;
  position: relative;
  padding-right: 20px;
}
.pill-label::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 0;
  width: 10px;
  height: 40px;
  background: url("../assets/deposit/badge-notch.png") center / contain no-repeat;
}
.section-sub--center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Toolkit ---------- */
.toolkit { padding: 40px 0 60px; }
.toolkit .section-title { margin-top: 8px; }
.toolkit__layout {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 500px);
  gap: 40px;
  align-items: start;
}
.toolkit__list { display: grid; gap: 0; }
.toolkit__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
  width: 100%;
  text-align: left;
  padding: 20px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.toolkit__item.is-active { background: rgba(210, 218, 234, 0.35); }
.toolkit__icon { width: 40px; height: 40px; object-fit: contain; }
.toolkit__item-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: var(--heading);
}
.toolkit__item-text {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
}
.toolkit__preview {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2ff;
}
.toolkit__preview img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Featured integrations ---------- */
.integrations { padding: 40px 0 60px; }
.integrations .section-title { margin-bottom: 48px; }
.split-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 435px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  min-height: 435px;
  margin-bottom: 40px;
}
.split-card--reverse .split-card__content { order: 2; }
.split-card--reverse .split-card__media { order: 1; }
.split-card__content { padding: 39px 40px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  background: #d2daea;
  color: #0473ff;
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.32px;
  text-transform: uppercase;
  position: relative;
  padding-right: 20px;
  margin-bottom: 19px;
}
.badge::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 0;
  width: 10px;
  height: 40px;
  background: url("../assets/deposit/badge-notch.png") center / contain no-repeat;
}
.split-card__logo {
  display: block;
  height: 50px;
  width: auto;
  max-width: 255px;
  margin-bottom: 11px;
  object-fit: contain;
}
.split-card__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: var(--heading);
}
.split-card__text {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
  max-width: 530px;
}
.split-card__media { background: #eef2ff; }
.split-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }

/* ---------- Builder partners grid ---------- */
.builders { padding: 40px 0 60px; }
.builders .section-title { margin-top: 8px; }
.builders .section-sub { margin-top: 12px; max-width: 943px; }
.partners-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.partner-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 215px;
  background: var(--card);
  border-radius: 5px;
  padding: 40px 40px 24px;
  min-height: 215px;
  display: flex;
  flex-direction: column;
}
.partner-card__logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 89px;
}
.partner-card__logo img {
  display: block;
  flex-shrink: 0;
  max-width: min(220px, 100%);
  max-height: 89px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.partner-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: auto;
  padding-top: 16px;
}
.partner-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(187, 187, 187, 0.15);
  color: #888;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.32px;
}

/* ---------- Try it out ---------- */
.try-out { padding: 40px 0; }
.try-out__inner {
  text-align: center;
  padding: 40px 0;
}
.try-out .section-title { margin-top: 8px; }
.try-out .section-sub { margin-top: 12px; max-width: 516px; }
.try-out .btn { margin-top: 24px; }

/* ---------- Quote ---------- */
.quote { padding: 20px 0 40px; }
.quote__card {
  position: relative;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--grey);
  border-radius: 12px;
  padding: 30px 60px;
  margin: 0;
}
.quote__media { border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.quote__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.quote__text {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: var(--heading);
}
.quote__cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
}
.quote__pixel {
  position: absolute;
  width: 90px;
  height: auto;
  pointer-events: none;
}
.quote__pixel--tl { top: 0; left: 0; width: 155px; }
.quote__pixel--br { bottom: 0; right: 0; transform: translate(0, 50%); }

/* ---------- Ready / CTA ---------- */
.ready { padding: 40px 0 70px; }
.ready__inner { text-align: center; }
.ready .section-title { margin-top: 8px; }
.ready__buttons {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .toolkit__layout { grid-template-columns: 1fr; }
  .toolkit__preview { max-width: 500px; margin: 0 auto; }
  .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
  .split-card { grid-template-columns: 1fr; min-height: 0; }
  .split-card--reverse .split-card__content,
  .split-card--reverse .split-card__media { order: unset; }
  .split-card__media img { min-height: 220px; }

  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .partner-card { padding: 28px 24px 20px; min-height: 180px; }

  .quote__card { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .quote__pixel--br { display: none; }

  .ready__buttons { flex-direction: column; align-items: stretch; }
  .ready__buttons .btn { width: 100%; }


  .hero--da .hero__title { font-size: 36px; line-height: 1.2; }
  .features__panel { padding: 40px 20px; }
  .features-bento { grid-template-columns: 1fr; }
  .feature-card { min-height: 240px; }
  .feature-card__text { font-size: 16px; }
  .quote__pixel--tl { left: 20px; width: 64px; }
  .quote__pixel--br { width: 72px; }
}


/* ===== Ecosystem components ===== */

/* ---------- Ecosystem hero ---------- */
.hero--ecosystem { padding: 40px 0 20px; }
.hero--ecosystem__inner {
  display: grid;
  grid-template-columns: 620px 1fr;
  gap: 20px;
  align-items: center;
}
.hero__eyebrow {
  font-family: var(--display);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.4;
  color: var(--ink);
}
.hero__title--display {
  font-family: var(--display);
  font-weight: 500;
  font-size: 120px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 10px;
}

/* ---------- Featured partners ---------- */
.featured-partners { padding: 40px 0; }
.featured-partners .section-title { margin-bottom: 48px; }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card);
  border-radius: 8px;
  padding: 19px 20px 40px;
  min-height: 331px;
  text-align: center;
  transition: box-shadow 0.2s ease;
}
.featured-card:hover { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06); }
.featured-card__pixel {
  position: absolute;
  width: 66px;
  height: auto;
  pointer-events: none;
}
.featured-card__pixel--tl { top: -1px; left: -7px; }
.featured-card__pixel--br { bottom: 0; right: 0; }
.featured-card__pixel--tr { top: 49px; right: -7px; }
.category-badge {
  display: inline-flex;
  align-items: stretch;
  min-height: 40px;
  margin-bottom: 39px;
}
.category-badge span {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.32px;
  text-transform: uppercase;
}
.category-badge--white span {
  background: var(--white);
  color: var(--ink);
  border: 1px solid #ededed;
}
.category-badge::after {
  content: "";
  width: 10px;
  height: 40px;
  background: url("../assets/ecosystem/decor/badge-notch.png") center / contain no-repeat;
}
.featured-card__logo {
  height: 50px;
  width: auto;
  max-width: 252px;
  object-fit: contain;
  margin-bottom: 40px;
}
.featured-card__text {
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
  max-width: 320px;
}

/* ---------- Spotlight ---------- */
.spotlight { padding: 40px 0; }
.spotlight .section-title { margin-bottom: 48px; }
.spotlight__panel {
  background: var(--blue);
  border-radius: 8px;
  padding: 40px;
  color: var(--white);
}
.spotlight__logo {
  height: 60px;
  width: auto;
  max-width: 242px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.spotlight__quote {
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.3;
  max-width: 100%;
}
.spotlight__video {
  position: relative;
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
}
.spotlight__video img {
  width: 100%;
  height: auto;
  display: block;
}
.spotlight__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.spotlight__cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ---------- Blogs ---------- */
.blogs { padding: 40px 0; }
.blogs .section-title { margin-bottom: 48px; }
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
}
.blog-card__media {
  display: block;
  border-radius: 6px;
  overflow: hidden;
}
.blog-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 383 / 217;
  object-fit: cover;
}
.blog-card__body { padding: 20px 0 10px; }
.blog-card__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
}
.blog-card__title a:hover { opacity: 0.8; }
.blog-card__meta {
  margin-top: 20px;
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--body);
}

/* ---------- Testimonials carousel ---------- */
.testimonials { padding: 40px 0; }
.testimonials .section-title { margin-bottom: 48px; }
.testimonials__stage {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}
.testimonials__track {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%;
}
.testimonial-card {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--card);
  border-radius: 8px;
  padding: 60px;
  min-height: 500px;
}
.testimonial-card__pixel {
  position: absolute;
  width: 64px;
  height: auto;
  pointer-events: none;
}
.testimonial-card__pixel--tl { top: 0; left: 0; width: 110px; }
.testimonial-card__pixel--br { bottom: 0; right: 0; }
.testimonial-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 315px;
}
.testimonial-card__logo img {
  max-width: 420px;
  max-height: 315px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.testimonial-card__quote p {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
}
.testimonial-card__quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
}
.testimonials__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.testimonials__nav:hover { opacity: 1; }
.testimonials__nav--prev { left: 20px; }
.testimonials__nav--next { right: 20px; }

/* ---------- Partner listings ---------- */
.listings { padding: 40px 0 80px; }
.listings .section-title { margin-bottom: 48px; }
.listings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.listing-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 285px;
  background: var(--card);
  border-radius: 5px;
  padding: 40px;
  min-height: 285px;
  display: flex;
  flex-direction: column;
}
.listing-card__name {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}
.listing-card__logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  min-height: 100px;
}
.listing-card__logo img {
  max-width: 220px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.listing-card__footer {
  display: flex;
  justify-content: flex-end;
}
.listing-card__tag {
  display: inline-flex;
  padding: 2px 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--body);
  background: var(--grey);
  border-radius: 4px;
}

/* Tablet */
@media (max-width: 1080px) {
  .hero--ecosystem__inner { grid-template-columns: 1fr 1fr; }
  .hero__title--display { font-size: 72px; }
  .hero__eyebrow { font-size: 36px; }
  .featured-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .blogs-grid { grid-template-columns: 1fr; max-width: 403px; margin: 0 auto; }
  .listings-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .testimonial-card {
    grid-template-columns: 1fr;
    padding: 40px;
    min-height: 0;
  }
  .testimonial-card__logo { min-height: 180px; }
}

/* Mobile */
@media (max-width: 760px) {
  .hero--ecosystem__inner { grid-template-columns: 1fr; }
  .hero__title--display { font-size: 48px; }
  .hero__eyebrow { font-size: 28px; }
  .hero__panel { justify-content: center; }
  .split-card { grid-template-columns: 1fr; min-height: 0; }
  .split-card--reverse .split-card__content,
  .split-card--reverse .split-card__media { order: unset; }
  .split-card__media img { min-height: 220px; }
  .listings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .listing-card { padding: 28px 24px; min-height: 220px; }
  .testimonials__nav--prev { left: 8px; }
  .testimonials__nav--next { right: 8px; }
}

@media (max-width: 480px) {
  .listings-grid { grid-template-columns: 1fr; }
}


/* Avail Website · Landing & Hero sections */

.landing {
  position: relative;
  width: 100%;
  min-height: 878px;
  background: var(--white);
  border-top: 10px solid var(--border);
  border-left: 10px solid var(--border);
  border-right: 10px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.landing__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--white) url('../assets/Background.png?v=2') center bottom / cover no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
}

.landing__container {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 1390px) {
  .landing {
    min-height: 100svh;
  }

  .product__visual-panel,
  .product__content-panel {
    height: calc(75svh - var(--section-frame) * 2);
    min-height: 0;
  }
}

.hero-layout {
  display: contents;
}

.hero-section {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 72px 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 760px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.hero-title {
  max-width: 504px;
  font-family: 'Delight', Georgia, serif;
  font-size: 84px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.68px;
  text-transform: capitalize;
  color: var(--black);
}

.hero-description {
  width: 100%;
  max-width: 667px;
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
  color: var(--body-text);
}

.hero-cta {
  display: none;
}

.hero-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
}

.hero-roll {
  position: relative;
  width: 471px;
  height: 429px;
  flex-shrink: 0;
  background: var(--nexus-blue);
  isolation: isolate;
}

@media (min-width: 1390px) {
  .hero-roll {
    width: clamp(363px, 32.34vw, 631px);
    height: auto;
    aspect-ratio: 471 / 429;
  }
}

.hero-roll__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-roll__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 80ms linear;
  will-change: opacity;
  transform: translateZ(0);
}

.hero-roll__slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-roll__slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .hero-roll__slide {
    transition: none;
  }
}

/* HERO → PRODUCT HANDOFF (desktop) */

.hero-handoff__expander {
  display: none;
}

@media (min-width: 1025px) {
  .hero-handoff__expander {
    display: block;
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    border-radius: 4px;
    overflow: hidden;
    will-change: top, left, width, height;
  }

  .hero-handoff__expander.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .hero-handoff__panel-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    clip-path: inset(0 round 4px);
  }

  .hero-roll.is-handoff-hidden {
    opacity: 0;
    visibility: hidden;
  }

  .hero-handoff.is-handoff-complete .hero-visual {
    visibility: hidden;
    pointer-events: none;
  }

  .product--nexus.is-handoff-pending .product__visual-panel-img {
    opacity: 0;
  }

  .product--nexus.is-handoff-pending .product__content-inner {
    opacity: 0;
  }

  .product--nexus.is-handoff-pending .product__visual-panel {
    background: transparent;
  }
}

/* TABLET (≤1024px) - Hero responsive rules */

@media (max-width: 1024px) {
  .nav-header {
    padding: 40px;
  }

  .nav-logo {
    height: 24px;
    gap: 3px;
  }

  .nav-logo__mark {
    width: 24px;
    height: 24px;
  }

  .nav-logo__wordmark {
    width: 46px;
    height: 17px;
  }

  .nav-links,
  .nav-header__cta {
    display: none;
  }

  .nav-menu {
    display: inline-flex;
  }

  .mobile-menu:not([hidden]) {
    display: block;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-section {
    align-items: center;
    padding: 32px 72px 0;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-text {
    align-items: center;
    text-align: center;
  }

  .hero-title {
    max-width: 711px;
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.96px;
  }

  .hero-description {
    max-width: 566px;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-cta {
    display: inline-flex;
  }

  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 60px;
    padding: 0 72px 96px;
    box-sizing: border-box;
  }

  .hero-roll {
    width: min(471px, 100%);
    height: auto;
    aspect-ratio: 439 / 400;
    margin-inline: auto;
  }
}

/* MOBILE (≤460px) - Hero responsive rules */

@media (max-width: 460px) {
  .nav-header {
    padding: 20px 24px 0;
  }

  .nav-pill {
    height: 50px;
    background: transparent;
    padding: 0;
  }

  .mobile-menu {
    inset: 70px 0 0;
    padding: 16px 24px 24px;
  }

  .landing {
    min-height: 100svh;
    border-top-width: 0;
    border-left-width: 0;
    border-right-width: 0;
  }

  .hero-layout {
    flex: 1;
    justify-content: center;
  }

  .hero-section {
    width: 100%;
    padding: 100px 24px 0;
  }

  .hero-content {
    gap: 32px;
  }

  .hero-text {
    gap: 20px;
  }

  .hero-title {
    max-width: none;
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: -0.64px;
    text-transform: none;
  }

  .hero-description {
    max-width: none;
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-visual {
    justify-content: center;
    margin-top: 32px;
    padding: 0 24px 140px;
    box-sizing: border-box;
  }

  .hero-roll {
    width: min(371px, 100%);
    max-width: 100%;
    margin-inline: auto;
  }
}/* Avail Website · Product sections */

.product {
  background: var(--section-gutter);
  padding: 10px;
}

#hero-handoff + .product,
.product + .product {
  padding-top: 0;
}

.product__layout {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.product__visual-col,
.product__content-col {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
}

.product__visual-panel,
.product__content-panel {
  flex: 1;
  width: 100%;
  min-height: 647px;
}

.product__visual-panel {
  position: relative;
  border-radius: 4px;
  background: var(--nexus-blue);
  overflow: hidden;
  clip-path: inset(0 round 4px);
  isolation: isolate;
}

.product__visual-panel--dark {
  background: #141413;
}

.product__cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.product__logo--fastbridge {
  height: 32px;
}

.product__logo--da {
  height: 24px;
}

.product__visual-panel-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  clip-path: inset(0 round 4px);
}

.product__content-panel {
  position: relative;
  border-radius: 4px;
  background: var(--white);
  overflow: hidden;
}

.product__content-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--white) url('../assets/Product%20Section%20Background.png?v=4') center bottom / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
}

.product__content-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 125px var(--content-inset) 80px;
  /* Match hero text: centered 1440 container + 72px inset, minus product frame */
  padding-left: calc(
    var(--content-inset) - var(--section-frame) + max(0px, (100vw - var(--max-width)) / 2)
  );
}

.product__logo {
  display: block;
  width: auto;
  height: 24px;
  flex-shrink: 0;
}

.product__headline {
  max-width: 396px;
  font-family: 'Delight', Georgia, serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 68px;
  letter-spacing: -0.96px;
  color: var(--heading);
}

.product--deposit .product__headline {
  max-width: 515px;
}

.product--fastbridge .product__headline {
  max-width: 534px;
}

.product--da .product__headline {
  max-width: 438px;
  font-size: 42px;
  line-height: 1.5;
  letter-spacing: -0.84px;
}

.product--da .product__description {
  color: #6b6b6a;
}

.product__description {
  max-width: 553px;
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
  color: var(--body-text);
}

.product__cta {
  flex-shrink: 0;
}

/* TABLET (≤1024px) - Product responsive rules */

@media (max-width: 1024px) {
  .product__layout {
    flex-direction: column;
  }

  .product__visual-col,
  .product__content-col {
    flex: none;
    width: 100%;
  }

  .product__visual-panel {
    min-height: 409px;
  }

  .product__content-panel {
    min-height: 326px;
  }

  .product__content-inner {
    align-items: center;
    max-width: none;
    margin: 0 auto;
    padding: 40px 72px 48px;
    gap: 12px;
    text-align: center;
  }

  .product__logo {
    margin-left: 0;
  }

  .product__headline,
  .product--da .product__headline {
    max-width: 711px;
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: -0.56px;
  }

  .product__description {
    max-width: 578px;
    font-size: 16px;
    line-height: 1.5;
  }

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

  .product__cta-row .btn-primary {
    display: none;
  }
}

/* MOBILE (≤460px) - Product responsive rules */

@media (max-width: 460px) {
  .product__layout {
    gap: 0;
  }

  .product__visual-col,
  .product__content-col {
    padding: 0;
  }

  .product__visual-panel {
    min-height: 332px;
  }

  .product__content-panel {
    min-height: 389px;
  }

  .product__content-inner {
    align-items: center;
    padding: 68px 14px 40px;
    gap: 12px;
  }

  .product__logo {
    width: auto;
    height: 16px;
    margin-left: 0;
  }

  .product__logo--fastbridge {
    height: 21px;
  }

  .product__headline,
  .product--da .product__headline {
    max-width: none;
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: -0.56px;
  }

  .product__description {
    max-width: none;
    font-size: 14px;
    line-height: 1.5;
  }

  .product__cta {
    font-size: 13px;
  }
}/* Avail Website · Chains section (Figma 490:6597) */

.chains {
  /* styling from .lower-sections in common.css */
}

.chains__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--white);
}

.chains__bg-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.chains__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 78px;
}

.chains__headline {
  font-family: 'Delight', Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.84px;
  color: var(--heading);
  text-align: center;
}

.chains__logos {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.chains__logos-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 80px;
  animation: chains-marquee var(--chains-marquee-speed, 50s) linear infinite;
  will-change: transform;
}

.chains__logos-img {
  display: block;
  flex: 0 0 auto;
  height: 48px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

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

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

@media (prefers-reduced-motion: reduce) {
  .chains__logos-track {
    animation: none;
  }
}

@media (max-width: 1024px) {
  .chains__inner {
    padding: 48px 40px;
    gap: 20px;
    min-height: 0;
  }

  .chains__headline {
    font-size: 28px;
    letter-spacing: -0.56px;
  }
}

@media (max-width: 460px) {
  .chains {
    border-left-width: 0;
    border-right-width: 0;
  }

  .chains__inner {
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    gap: 16px;
    min-height: 0;
  }

  .chains__headline {
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: -0.56px;
    text-align: center;
  }

  .chains__logos {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .chains__logos-img {
    height: 48px;
  }
}/* Avail Website · Testimonials section (Figma 808:480) */

.testimonials {
  padding: 80px 0 64px;
  /* background, borders, margin from .lower-sections in common.css */
}

.testimonials__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--white);
}

.testimonials__bg-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.testimonials__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonials__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 680px;
  text-align: center;
}

.testimonials__title {
  font-family: 'Delight', Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 68px;
  letter-spacing: -0.84px;
  color: var(--heading);
}

.testimonials__subtitle {
  font-size: 20px;
  line-height: 32px;
  color: #6b6b6a;
}

.testimonials__carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 63px;
  width: 100%;
  max-width: 1240px;
}

.testimonials__viewport {
  --t-slide-w: 100%;
  position: relative;
  width: 100%;
  max-width: 1012px;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 32px;
  width: 100%;
  will-change: transform;
}

.testimonials__slide {
  flex: 0 0 var(--t-slide-w);
  min-width: 0;
}

.testimonials__slide-frame {
  position: relative;
  width: 100%;
  height: 290px;
}

.testimonials__slide-shadow {
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 10px);
  height: 280px;
  background: var(--black);
  border-radius: 4px;
}

.testimonials__slide-surface {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 10px);
  height: 280px;
  background: var(--nexus-blue);
  overflow: hidden;
  border-radius: 4px;
}

.testimonials__slide-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
}

.testimonials__slide-pattern img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.4;
}

.testimonials__slide-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: 100%;
  padding: 24px 20px;
  text-align: center;
}

.testimonials__slide-logo {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.testimonials__slide-logo--clober {
  height: 34px;
}

.testimonials__slide-logo--bean {
  height: 55px;
}

.testimonials__slide-logo--mace {
  height: 30px;
  filter: brightness(0) invert(1);
}

.testimonials__quote {
  margin: 0;
  max-width: 582px;
}

.testimonials__quote p {
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
  color: var(--white);
}

.testimonials__attribution {
  max-width: 354px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
}

.testimonials__nav {
  position: relative;
  width: 100%;
  border-top: 2px solid #e8e8e7;
  padding: 30px 40px;
}

.testimonials__progress {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
}

.testimonials__progress-fill {
  width: calc(100% / 3);
  height: 2px;
  background: var(--nexus-blue);
  transform: translateX(0);
  transition: transform 0.35s ease;
}

.testimonials__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.testimonials__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 55px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.testimonials__logo img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.testimonials__logo:first-child img {
  height: 35px;
}

.testimonials__logo:nth-child(2) img {
  height: 55px;
}

.testimonials__logo:last-child img {
  height: 30px;
}

.testimonials__logo.is-active img {
  filter: brightness(0);
  opacity: 1;
}

.testimonials__logo:not(.is-active) img {
  opacity: 0.35;
}

@media (prefers-reduced-motion: reduce) {
  .testimonials__progress-fill {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .testimonials {
    padding: 40px 0 48px;
  }

  .testimonials__title {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.56px;
  }

  .testimonials__subtitle {
    font-size: 16px;
    line-height: 1.5;
  }

  .testimonials__carousel {
    gap: 40px;
  }

  .testimonials__quote p {
    font-size: 16px;
    line-height: 1.5;
  }

  .testimonials__nav {
    padding: 24px 24px;
  }
}

@media (max-width: 460px) {
  .testimonials {
    padding: 32px 0 40px;
    border-left-width: 0;
    border-right-width: 0;
  }

  .testimonials__inner {
    gap: 32px;
    padding: 0 24px;
  }

  .testimonials__header {
    gap: 12px;
  }

  .testimonials__title {
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: -0.56px;
    max-width: 250px;
  }

  .testimonials__subtitle {
    font-size: 14px;
    line-height: 1.5;
  }

  .testimonials__carousel {
    gap: 24px;
    max-width: none;
  }

  .testimonials__viewport {
    max-width: none;
  }

  .testimonials__track {
    gap: 20px;
    min-height: 0;
  }

  .testimonials__slide-frame {
    height: 221px;
  }

  .testimonials__slide-shadow {
    top: 8px;
    left: 8px;
    width: calc(100% - 8px);
    height: 213px;
  }

  .testimonials__slide-surface {
    width: calc(100% - 8px);
    height: 213px;
  }

  .testimonials__slide-content {
    gap: 12px;
    padding: 40px 16px;
  }

  .testimonials__slide-logo--clober {
    height: 28px;
  }

  .testimonials__slide-logo--bean {
    height: 40px;
  }

  .testimonials__slide-logo--mace {
    height: 24px;
  }

  .testimonials__quote p {
    font-size: 14px;
    line-height: 1.5;
  }

  .testimonials__attribution {
    font-size: 14px;
  }

  .testimonials__nav {
    padding: 30px 0 0;
  }

  .testimonials__progress {
    left: 0;
    right: 0;
  }

  .testimonials__progress-fill {
    width: 100%;
    transform: none;
  }

  .testimonials__logos {
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .testimonials__logos::-webkit-scrollbar {
    display: none;
  }

  .testimonials__logo {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }

  .testimonials__logo:first-child img {
    height: 32px;
  }

  .testimonials__logo:nth-child(2) img {
    height: 48px;
  }

  .testimonials__logo:last-child img {
    height: 26px;
  }
}/* Avail Website · Stats section (Figma 808:428) */

.stats {
  /* styling from .lower-sections in common.css */
}

.stats__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--white);
}

.stats__bg-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.stats__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: var(--max-width);
  min-height: 704px;
  margin: 0 auto;
  padding: 77px 88px 77px 68px;
  --stats-grid-gap: 28px;
  --stats-card-padding: 25px;
  --stats-value-size: 80px;
  --stats-value-lh: 85px;
  --stats-label-size: 20px;
  --stats-label-lh: 32px;
}

.stats__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 280px;
  min-width: 0;
  max-width: 592px;
}

.stats__headline {
  max-width: 530px;
  font-family: 'Delight', Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 68px;
  letter-spacing: -0.84px;
  color: var(--heading);
}

.stats__description {
  max-width: 592px;
  font-size: 20px;
  line-height: 32px;
  color: #6b6b6a;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: var(--stats-grid-gap);
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: 588px;
}

.stats__card {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  height: auto;
  border-radius: 4px;
  overflow: hidden;
}

.stats__card-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.stats__card-pattern img {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: cover;
}

.stats__card-pattern--blue {
  opacity: 0.34;
}

.stats__card-pattern--blue img {
  width: 259%;
  height: 145.69%;
  left: -49.19%;
  top: -14.5%;
}

.stats__card-pattern--light-a,
.stats__card-pattern--light-b {
  opacity: 0.29;
}

.stats__card-pattern--light-a img {
  width: 300%;
  height: 168.75%;
  left: -150%;
  top: 0;
}

.stats__card-pattern--light-b img {
  width: 300%;
  height: 168.75%;
  left: -88.1%;
  top: -9.86%;
}

.stats__card-pattern--dark img {
  width: 300%;
  height: 168.75%;
  left: -10.17%;
  top: -41.33%;
}

.stats__card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: var(--stats-card-padding);
}

.stats__value {
  font-family: 'Delight', Georgia, serif;
  font-size: var(--stats-value-size);
  font-weight: 500;
  line-height: var(--stats-value-lh);
  letter-spacing: -0.02em;
}

.stats__label {
  font-size: var(--stats-label-size);
  line-height: var(--stats-label-lh);
}

.stats__card--blue {
  background: var(--nexus-blue);
  color: var(--white);
}

.stats__card--light {
  background: var(--grey);
}

.stats__card--blue-text {
  color: var(--nexus-blue);
}

.stats__card--dark-text {
  color: var(--black);
}

.stats__card--dark {
  background: var(--black);
  color: var(--white);
}

@media (max-width: 1024px) {
  .stats__inner {
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding: 46px 40px 48px;
    gap: 40px;
    --stats-grid-gap: 24px;
    --stats-card-padding: 25px;
    --stats-value-size: clamp(42px, 10.5vw, 80px);
    --stats-value-lh: 1.06;
    --stats-label-size: clamp(12px, 2.6vw, 20px);
    --stats-label-lh: 1.6;
  }

  .stats__content {
    align-items: center;
    flex: none;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .stats__headline {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: -0.56px;
  }

  .stats__description {
    font-size: 16px;
    line-height: 1.5;
  }

  .stats__grid {
    flex: none;
    width: 100%;
    max-width: min(588px, 100%);
  }
}

@media (max-width: 460px) {
  .stats {
    border-left-width: 0;
    border-right-width: 0;
  }

  .stats__inner {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 46px 24px 48px;
    gap: 26px;
    min-height: 0;
    --stats-grid-gap: 12px;
    --stats-card-padding: 14px;
    --stats-value-size: 42px;
    --stats-value-lh: 47px;
    --stats-label-size: 12px;
    --stats-label-lh: 18px;
  }

  .stats__content {
    flex: none;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .stats__headline {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: -0.56px;
  }

  .stats__description {
    max-width: none;
    font-size: 14px;
    line-height: 1.5;
  }

  .stats__grid {
    flex: none;
    width: 100%;
    max-width: min(588px, 100%);
  }

  .stats__card {
    border-radius: 2px;
  }

  .stats__value {
    letter-spacing: -0.84px;
  }
}

@media (min-width: 1025px) and (max-width: 1199px) {
  .stats__inner {
    min-height: 0;
    padding: 60px 40px;
    gap: 24px;
    --stats-grid-gap: 20px;
    --stats-card-padding: clamp(14px, 2vw, 25px);
    --stats-value-size: clamp(42px, 5.5vw, 72px);
    --stats-value-lh: 1.06;
    --stats-label-size: clamp(12px, 1.6vw, 18px);
    --stats-label-lh: 1.5;
  }

  .stats__content {
    flex: 1 1 300px;
    max-width: min(420px, 45%);
  }

  .stats__headline {
    font-size: clamp(32px, 3.2vw, 42px);
    line-height: 1.3;
    max-width: none;
  }

  .stats__description {
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.5;
  }

  .stats__grid {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .stats__inner {
    min-height: 0;
    padding: 68px clamp(48px, 6vw, 88px) 68px clamp(48px, 5vw, 68px);
    gap: 28px;
    --stats-grid-gap: 24px;
    --stats-card-padding: clamp(18px, 2vw, 25px);
    --stats-value-size: clamp(56px, 6vw, 80px);
    --stats-value-lh: 1.06;
    --stats-label-size: clamp(14px, 1.5vw, 20px);
    --stats-label-lh: 1.5;
  }

  .stats__content {
    flex: 1 1 360px;
    max-width: 592px;
  }

  .stats__grid {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}/* Avail Website · Investors section (Figma 452:1390) */

.investors {
  /* styling from .lower-sections in common.css */
}

.investors__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--white);
}

.investors__bg-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.investors__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 40px 68px 64px;
  text-align: center;
}

.investors__headline {
  font-family: 'Delight', Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 68px;
  letter-spacing: -0.84px;
  color: var(--heading);
  text-align: center;
}

.investors__grid {
  display: grid;
  width: 100%;
}

.investors__grid--desktop {
  --inv-gap: 21px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: var(--inv-gap);
  width: 100%;
  max-width: 100%;
}

.investors__grid--tablet,
.investors__grid--mobile {
  display: none;
}

.investors__cell {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 4px;
  box-sizing: border-box;
}

.investors__cell--empty {
  background: transparent;
}

.investors__cell--logo {
  background: var(--white);
  box-shadow: 0 0 35px 8px rgba(0, 0, 0, 0.12);
  padding: 6.13%;
  display: flex;
}

.investors__logo-surface {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.investors__logo-surface--fill {
  padding: 0;
}

.investors__logo-surface--fill img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.investors__logo-surface--border {
  background: var(--white);
  border: 1px solid var(--grey);
}

.investors__logo-surface--border img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.investors__logo-surface--a16z {
  background: var(--white);
}

.investors__logo-surface--a16z img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .investors__inner {
    align-items: center;
    gap: 32px;
    padding: 40px 40px 48px;
  }

  .investors__headline {
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.72px;
    text-align: center;
  }

  .investors__grid--desktop {
    display: none;
  }

  .investors__grid--tablet {
    --inv-gap: 12px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: var(--inv-gap);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 460px) {
  .investors {
    border-left-width: 0;
    border-right-width: 0;
  }

  .investors__inner {
    align-items: center;
    gap: 32px;
    padding: 46px 24px;
  }

  .investors__headline {
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: -0.64px;
    max-width: 282px;
    text-align: center;
  }

  .investors__grid--tablet {
    display: none;
  }

  .investors__grid--mobile {
    --inv-gap: 8px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: var(--inv-gap);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}/* Avail Website · News section (Figma 452:1373) */

.news {
  /* styling from .lower-sections in common.css */
}

.news__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--white);
}

.news__bg-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.news__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  min-height: 0;
  margin: 0 auto;
  padding: 64px 0 0;
}

.news__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 592px;
  margin: 0 auto;
  text-align: center;
}

.news__headline {
  max-width: 530px;
  font-family: 'Delight', Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 68px;
  letter-spacing: -0.84px;
  color: var(--heading);
}

.news__description {
  max-width: 592px;
  font-size: 20px;
  line-height: 32px;
  color: #6b6b6a;
}

.news__carousel {
  position: relative;
  z-index: 1;
  margin-top: 55px;
  overflow: hidden;
  width: 100%;
}

.news__track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding: 0 0 64px;
  animation: chains-marquee var(--news-marquee-speed, 60s) linear infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .news__track {
    animation: none;
  }
}

.news__card {
  flex-shrink: 0;
  width: 429px;
  height: 429px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--black);
}

.news__card img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .news__inner {
    min-height: 0;
    padding-top: 46px;
  }

  .news__headline {
    max-width: 418px;
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: -0.56px;
  }

  .news__description {
    font-size: 16px;
    line-height: 1.5;
  }

  .news__carousel {
    margin-top: 40px;
  }

  .news__track {
    padding: 0 0 48px;
  }

  .news__card {
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 460px) {
  .news {
    border-left-width: 0;
    border-right-width: 0;
  }

  .news__inner {
    min-height: 0;
    padding: 46px 24px 0;
  }

  .news__header {
    gap: 12px;
    max-width: none;
    padding: 0;
  }

  .news__headline {
    max-width: 278px;
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: -0.56px;
  }

  .news__description {
    max-width: 322px;
    font-size: 14px;
    line-height: 1.5;
  }

  .news__carousel {
    margin-top: 46px;
  }

  .news__track {
    padding: 0 0 40px;
    gap: 8px;
  }

  .news__card {
    width: 275px;
    height: 275px;
  }
}
/* ===== about.css ===== */
/* Avail · About Us page-specific styles
   (team-panel, founders-grid, team-grid, person-card, values, backed-by, investors marquee, life-at-avail)
   Base variables, page-shell, nav, footer are provided by base.css, nav.css, footer.css, common.css. */

/* ---------- Hero ---------- */
.hero--about {
  position: relative;
  min-height: 500px;
  padding: 80px 0 120px;
}
.hero--about .hero__copy {
  text-align: center;
  max-width: 910px;
  margin: 0 auto;
}
.hero--about .hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 84px;
  line-height: 1.2;
  letter-spacing: -1.68px;
  color: var(--heading);
}
.hero--about .hero__text {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 760px) {
  .hero--about { padding: 40px 0 60px; }
  .hero--about .hero__title { font-size: 44px; }
}

/* ---------- Team panel ---------- */
.team-panel {
  padding: 40px 0 80px;
}
.team-panel__section + .team-panel__section {
  margin-top: 48px;
}
.team-panel__heading {
  font-family: var(--display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.4;
  color: var(--heading);
  text-align: center;
  margin-bottom: 32px;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.person-card {
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.person-card__photo {
  width: 100%;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
}
.person-card--founder .person-card__photo {
  aspect-ratio: 620 / 512;
}
.person-card--team .person-card__photo {
  aspect-ratio: 193 / 240;
}
.person-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person-card__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 40px;
  padding: 8px 0;
}
.person-card__social {
  display: flex;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.person-card__social:hover { opacity: 1; }
.person-card__info {
  padding: 10px 10px 20px;
  width: 100%;
}
.person-card__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 8px;
}
.person-card--team .person-card__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-height: 58px;
}
.person-card__name-line { display: block; }
.person-card__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--body);
}

/* ---------- Values ---------- */
.values {
  padding: 80px 0;
}
.values__inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}
.values .section-title { margin-bottom: 32px; }
.values__text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--body);
}

/* ---------- Investors / Backed By ---------- */
.backed-by {
  padding: 80px 0 80px;
}
.backed-by .section-title { margin-bottom: 32px; }
.investors__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 64px;
}
.investors__item img {
  width: auto;
  height: auto;
  max-height: 56px;
  max-width: 180px;
  object-fit: contain;
}

/* ---------- Life at Avail ---------- */
.life-at-avail {
  padding: 80px 0 80px;
}
.life-at-avail__inner {
  display: grid;
  grid-template-columns: 554px 1fr;
  gap: 64px;
  align-items: center;
}
.life-at-avail__media {
  border-radius: 5px;
  overflow: hidden;
}
.life-at-avail__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.life-at-avail__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 24px;
}
.life-at-avail__text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--body);
  margin-bottom: 20px;
}
.life-at-avail__cta {
  height: auto;
  padding: 14px 22px;
  font-size: 15px;
  border-radius: 4px;
  margin-top: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero--about .hero__title { font-size: 44px; }
  .founders-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .life-at-avail__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero--about { padding: 40px 0 60px; }
  .hero--about .hero__title { font-size: 36px; }
  .team-panel__heading { font-size: 28px; }
  .founders-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .person-card__name { font-size: 20px; }
  .life-at-avail__inner { grid-template-columns: 1fr; }
}

/* ===== atomic.css ===== */
/* ===== Avail Atomic page styles ===== */

/* ---------- Hero ---------- */
.hero--atomic { padding: 40px 0 20px; }
.hero--atomic__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero--atomic .hero__title--display {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 84px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--heading);
}
.hero--atomic .hero__text {
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--body);
  max-width: 500px;
}
.hero--atomic .hero__cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__panel--video {
  aspect-ratio: 600 / 647;
  border-radius: 14px;
  overflow: hidden;
  background: #0473FF;
}
.hero__panel--video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ---------- Section eyebrow ---------- */
.section-eyebrow {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-eyebrow--light { color: var(--white); }

/* ---------- Intro / What is ---------- */
.atomic-intro { padding: 60px 0 40px; }
.atomic-intro .section-title { text-align: left; margin-bottom: 12px; }
.atomic-steps .section-title { text-align: left; }
.atomic-value .section-title { text-align: left; }
.atomic-intro .section-sub {
  text-align: left;
  max-width: 760px;
  margin: 0;
}
.atomic-intro__diagram { margin-top: 48px; }
.atomic-intro__diagram img { width: 100%; height: auto; display: block; }

/* ---------- How It Works (sticky scroll) ---------- */
.atomic-steps { padding: 40px 0 60px; }
.atomic-steps__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  margin-top: 44px;
  align-items: start;
}
.atomic-steps__list { display: grid; gap: 0; }
.atomic-step {
  position: relative;
  padding: 20px 26px 20px 32px;
  cursor: pointer;
  border-left: 3px solid rgba(0, 72, 255, 0.22);
  transition: background 0.2s ease;
}
.atomic-step:hover:not(.is-active) { background: #f4f6fd; }
.atomic-step.is-active { background: #edf1fc; }
.atomic-step__fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  background: var(--blue);
  transition: height 0.3s ease;
}
.atomic-step__visual {
  display: none;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 12px;
}
.atomic-step__num {
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 4px;
}
.atomic-step__soon {
  font-size: 13px;
  color: var(--body);
  margin-left: 4px;
}
.atomic-step__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: #6b6b6a;
  margin-bottom: 8px;
}
.atomic-step.is-active .atomic-step__title { color: var(--heading); }
.atomic-step__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
}
.atomic-steps__visual-wrap {
  position: sticky;
  top: 100px;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2ff;
}
.atomic-steps__panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.atomic-steps__panel.is-active { opacity: 1; pointer-events: auto; }
.atomic-steps__panel img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Value proposition ---------- */
.atomic-value { padding: 40px 0 60px; }
.atomic-value__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.atomic-value__card {
  background: #f5f8ff;
  border-radius: 8px;
  padding: 24px 20px 32px;
}
.atomic-value__icon { width: 48px; height: 48px; margin-bottom: 16px; }
.atomic-value__num {
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 8px;
}
.atomic-value__card-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.atomic-value__desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.atomic-cta { padding: 40px 0 80px; }
.atomic-cta__panel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 60px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.atomic-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.atomic-cta__copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.atomic-cta__copy .section-title { color: var(--white); margin-bottom: 12px; }
.atomic-cta__sub {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
.atomic-cta__actions {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Light buttons for CTA ---------- */
.btn-light {
  background: #fff;
  color: var(--black);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

/* Tablet */
@media (max-width: 1024px) {
  .hero--atomic__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .atomic-steps__grid { grid-template-columns: 1fr; gap: 40px; }
  .atomic-steps__visual-wrap { position: relative; top: 0; }
  .atomic-value__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 760px) {
  .hero--atomic__inner { grid-template-columns: 1fr; }
  .hero--atomic .hero__title--display { font-size: 48px; }
  .hero__panel--video { max-width: 400px; margin: 0 auto; }
  .atomic-step__visual { display: block; }
  .atomic-steps__visual-wrap { display: none; }
  .atomic-value__grid { grid-template-columns: 1fr; }
  .atomic-cta__panel { padding: 40px 24px; }
}

/* ===== brand.css ===== */
/* Avail · Brand Assets page-specific styles
   (hero--brand, brand-logos, brand-colours)
   Base variables, page-shell, nav, footer are provided by base.css, nav.css, footer.css, common.css. */

/* ---------- Hero ---------- */
.hero--brand {
  padding: 80px 0 100px;
}
.hero--brand .hero__copy {
  max-width: 910px;
  margin: 0 auto;
  text-align: center;
}
.hero--brand .hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 84px;
  line-height: 1.2;
  letter-spacing: -1.68px;
  color: var(--heading);
  margin-bottom: 16px;
}
.hero--brand .hero__text {
  font-size: 20px;
  line-height: 1.5;
  color: var(--body);
  margin: 0 auto 32px;
  text-align: center;
  max-width: 700px;
}
.brand-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 4px;
  background: var(--btn-dark);
  color: var(--btn-dark-text);
  transition: opacity .2s ease;
}
.brand-download:hover { opacity: .88; }
.brand-download img {
  width: 20px;
  height: 20px;
}

/* ---------- Brand logos ---------- */
.brand-logos {
  padding: 80px 0 40px;
}
.brand-logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.brand-logo-card {
  background: var(--white);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}
.brand-logo-card--wide {
  grid-column: 1 / -1;
}
.brand-logo-card__label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  color: var(--heading);
  padding: 20px 24px 0;
  margin: 0;
}
.brand-logo-card__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 24px;
}
.brand-logo-card__preview img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

/* ---------- Brand colours ---------- */
.brand-colours {
  padding: 40px 0 80px;
}
.brand-section__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 40px;
}
.brand-colour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.brand-colour-swatch {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}
.brand-colour-swatch__tile {
  height: 160px;
}
.brand-colour-swatch__info {
  padding: 20px;
  text-align: center;
}
.brand-colour-swatch__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  color: var(--heading);
  margin-bottom: 4px;
}
.brand-colour-swatch__hex {
  font-size: 14px;
  color: var(--body);
  font-family: var(--sans);
  letter-spacing: 0.05em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero--brand__title { font-size: 48px; }
  .brand-logo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .hero--brand { padding: 40px 0 60px; }
  .hero--brand__title { font-size: 36px; }
  .brand-logo-grid { grid-template-columns: 1fr; }
  .brand-logo-card--wide { grid-column: auto; }
  .brand-colour-grid { grid-template-columns: 1fr; }
  .brand-logos,
  .brand-colours { padding: 40px 0; }
}

/* ===== events.css ===== */
/* Avail · Events page-specific styles
   (hero--events, events-section, events-grid, event-card, events-footer)
   Base variables, page-shell, nav, footer are provided by deposit-base.css, nav.css, footer.css, deposit-components.css. */

/* ---------- Events nav variation ---------- */
.nav-header--events { padding: 40px 80px; }

/* ---------- Hero ---------- */
.hero--events { padding: 40px 0 0; }
.hero--events .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 48px;
}
.hero--events__copy {
  max-width: 924px;
  text-align: center;
  margin: 0 auto;
}
.hero--events__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 84px;
  line-height: 1.2;
  letter-spacing: -1.68px;
  color: var(--ink);
  margin-bottom: 16px;
}
.hero--events__subtitle {
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
}

/* ---------- Events sections ---------- */
.events-section { padding: 48px 0 64px; }
.events-section--past { padding-top: 24px; padding-bottom: 80px; }
.events-section .section-title { margin-bottom: 48px; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.event-card {
  background: var(--card);
  display: flex;
  flex-direction: column;
}
.event-card__media {
  padding: 10px 10px 0;
  aspect-ratio: 380 / 215;
  overflow: hidden;
}
.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-card__body {
  padding: 20px 10px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.event-card__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
}
.event-card--past .event-card__title,
.event-card--past .event-card__desc {
  color: #2b2b2b;
}
.event-card__desc {
  font-size: 18px;
  line-height: 1.3;
  color: var(--body);
}
.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.42px;
  color: var(--body);
}

/* ---------- Events footer ---------- */
.events-footer {
  position: relative;
  background: #ededed;
  overflow: hidden;
}
.events-footer__wordmark {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 614px;
  max-width: 90%;
  opacity: 0.4;
  pointer-events: none;
}
.events-footer__wordmark img { width: 100%; height: auto; }
.events-footer__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 30px 40px;
}
.events-footer__main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.events-footer__heading {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 16px;
}
.events-footer__pages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 0;
  max-width: 600px;
  margin-bottom: 32px;
}
.events-footer__pages-grid a {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: #2b2b2b;
  transition: color 0.2s ease;
}
.events-footer__pages-grid a:hover { color: var(--ink); }
.events-footer__ancillary {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
}
.events-footer__group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 120px;
}
.events-footer__group a {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: #2b2b2b;
}
.events-footer__group a:hover { color: var(--ink); }
.events-footer__socials {
  display: flex;
  align-items: center;
  gap: 14px;
}
.events-footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.events-footer__demo {
  position: relative;
  background: #e3e1e1;
  padding: 40px 20px 20px;
  min-height: 141px;
}
.events-footer__demo-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1;
  color: #202224;
  margin-bottom: 10px;
}
.events-footer__demo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  background: #202224;
  color: #fffffe;
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
  transition: opacity 0.2s ease;
}
.events-footer__demo-btn:hover { opacity: 0.88; }
.events-footer__demo-decor {
  position: absolute;
  top: 0;
  right: 0;
  width: 79px;
  height: 44px;
  object-fit: cover;
}
.events-footer__copyright {
  margin-top: 48px;
  font-size: 14px;
  line-height: 1.4;
  color: #c0c0c7;
}

/* ---------- Mobile menu (events variant) ---------- */
.mobile-menu__sub {
  display: block;
}
.mobile-menu__heading {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0 4px;
  color: var(--black);
}
.mobile-menu__sublink {
  display: block;
  padding: 8px 0 8px 16px;
  font-size: 15px;
  color: var(--nav-link);
}
.mobile-menu__sublink:hover { color: var(--black); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-header--events { padding: 40px; }
  .hero--events__title { font-size: 44px; }
  .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .events-footer__main { grid-template-columns: 1fr; }
  .events-footer__demo { max-width: 300px; }
}

@media (max-width: 1024px) {
  .events-footer__pages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero--events { padding-top: 20px; }
  .hero--events__title { font-size: 36px; }
  .hero--events__subtitle { font-size: 16px; }
  .events-grid { grid-template-columns: 1fr; }
  .event-card__title { font-size: 20px; }
  .event-card__desc { font-size: 16px; }
  .events-footer__inner { padding: 40px 20px 32px; }
  .events-footer__pages-grid {
    grid-template-columns: 1fr;
    max-width: 140px;
  }
  .events-footer__ancillary {
    flex-direction: column;
    gap: 24px;
  }
  .events-footer__demo { max-width: none; }
  .events-footer__wordmark { width: 80%; }
}
/* ===== terms.css ===== */
/* Avail · Terms & Conditions page-specific styles
   (hero--terms, terms-body, terms-link, terms-list)
   Base variables, page-shell, nav, footer are provided by base.css, nav.css, footer.css, common.css. */

:root {
  --link: #0099ff;
}

/* ---------- Hero ---------- */
.hero--terms {
  padding: 48px 0 40px;
  text-align: center;
}
.hero--terms__inner {
  max-width: 1260px;
  margin: 0 auto;
}
.hero--terms__eyebrow {
  font-family: var(--display);
  font-weight: 400;
  font-size: 62px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 10px;
}
.hero--terms__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 84px;
  line-height: 1.2;
  letter-spacing: -1.68px;
  color: var(--ink);
  word-break: break-word;
}

/* ---------- Terms body ---------- */
.terms-body {
  padding: 40px 0 80px;
}
.terms-body__inner {
  max-width: 1260px;
  font-size: 16px;
  line-height: 1.2;
  color: var(--ink);
}
.terms-body__inner p {
  margin-bottom: 18px;
}
.terms-body__inner p strong {
  font-weight: 700;
}
.terms-link {
  color: var(--link);
  text-decoration: underline;
  text-underline-position: from-font;
}
.terms-link:hover { opacity: 0.85; }
.terms-list {
  margin: 0 0 18px 20px;
  padding: 0;
  list-style: disc;
}
.terms-list li {
  margin-bottom: 8px;
  line-height: 1.2;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero--terms__eyebrow { font-size: 44px; }
  .hero--terms__title { font-size: 44px; }
}

@media (max-width: 760px) {
  .hero--terms { padding-top: 24px; }
  .hero--terms__eyebrow { font-size: 32px; }
  .hero--terms__title { font-size: 36px; }
  .terms-body__inner { font-size: 15px; }
}
/* ===== whitepaper.css ===== */
/* Avail · Whitepaper page-specific styles
   (hero--whitepaper, whitepaper-viewer)
   Base variables, page-shell, nav, footer are provided by base.css, nav.css, footer.css, common.css. */

:root {
  --viewer-height: 900px;
}

/* ---------- Hero ---------- */
.hero--whitepaper {
  padding: 48px 0 32px;
  text-align: center;
}
.hero--whitepaper__inner {
  max-width: 1260px;
  margin: 0 auto;
}
.hero--whitepaper__eyebrow {
  font-family: var(--display);
  font-weight: 400;
  font-size: 62px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 10px;
}
.hero--whitepaper__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 84px;
  line-height: 1.2;
  letter-spacing: -1.68px;
  color: var(--ink);
  word-break: break-word;
}

/* ---------- PDF viewer ---------- */
.whitepaper-viewer {
  padding: 40px 0 80px;
}
.whitepaper-viewer__inner {
  max-width: 1260px;
}
.whitepaper-viewer__frame {
  display: block;
  width: 100%;
  height: var(--viewer-height);
  border: none;
  background: var(--grey);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  :root { --viewer-height: 640px; }
  .hero--whitepaper__eyebrow { font-size: 44px; }
  .hero--whitepaper__title { font-size: 44px; }
}

@media (max-width: 760px) {
  :root { --viewer-height: 780px; }
  .hero--whitepaper { padding-top: 24px; }
  .hero--whitepaper__eyebrow { font-size: 32px; }
  .hero--whitepaper__title { font-size: 36px; }
}
/* Deposits page: transparent shell so grey body shows through gaps */
.page-shell--transparent {
  background-color: transparent;
}

/* Deposits page: section background images via ::before pseudo-element */
.page-deposits .lower-sections::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Background_2.png?v=6') center top / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

.page-deposits .lower-sections > * {
  position: relative;
  z-index: 1;
}

/* Deposits page: gap between hero and first section */
.page-shell .hero-landing {
  margin-bottom: 10px;
}

/* ---------- Page: whitepaper ---------- */
.page-whitepaper .lower-sections::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Background_2.png?v=6') center top / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.page-whitepaper .lower-sections > * { position: relative; z-index: 1; }

/* ---------- Page: contact ---------- */
.page-contact .lower-sections::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Background_2.png?v=6') center top / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.page-contact .lower-sections > * { position: relative; z-index: 1; }

.page-atomic .lower-sections::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Background_2.png?v=6') center top / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.page-atomic .lower-sections > * { position: relative; z-index: 1; }

/* ---------- Page: terms ---------- */
.page-terms .lower-sections::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Background_2.png?v=6') center top / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.page-terms .lower-sections > * { position: relative; z-index: 1; }

/* ---------- Page: guide ---------- */
.page-guide .lower-sections::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Background_2.png?v=6') center top / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.page-guide .lower-sections > * { position: relative; z-index: 1; }

/* terms hero should be single-column */
.hero--terms .wrap,
.hero--whitepaper .wrap {
  display: block;
}

/* ---------- Page: about ---------- */
.page-about .lower-sections::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Background_2.png?v=6') center top / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.page-about .lower-sections > * { position: relative; z-index: 1; }


/* ---------- Page: brand ---------- */
.page-brand .lower-sections::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Background_2.png?v=6') center top / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.page-brand .lower-sections > * { position: relative; z-index: 1; }

/* ---------- Page: nexus ---------- */
.page-nexus .lower-sections::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Background_2.png?v=6') center top / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.page-nexus .lower-sections > * { position: relative; z-index: 1; }

/* ---------- Page: da ---------- */
.page-da .lower-sections::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Background_2.png?v=6') center top / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.page-da .lower-sections > * { position: relative; z-index: 1; }

/* ---------- Page: ecosystem ---------- */
.page-ecosystem .lower-sections::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Background_2.png?v=6') center top / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.page-ecosystem .lower-sections > * { position: relative; z-index: 1; }

/* ---------- Page: events ---------- */
.page-events .lower-sections::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Background_2.png?v=6') center top / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.page-events .lower-sections > * { position: relative; z-index: 1; }

/* ---------- Page: home ---------- */
.page-home .lower-sections::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white) url('../assets/Product%20Section%20Background.png?v=4') center bottom / 100% auto no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.page-home .lower-sections > * { position: relative; z-index: 1; }

/* ---------- Page: guide body ---------- */
.guide-body {
  padding: 40px 0 80px;
}
.guide-body__inner {
  max-width: 1260px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}
.guide-body__inner h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 36px 0 16px;
  line-height: 1.3;
}
.guide-body__inner h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
  line-height: 1.35;
}
.guide-body__inner p {
  margin-bottom: 16px;
}
.guide-body__inner ul {
  margin: 0 0 18px 20px;
  padding: 0;
  list-style: disc;
}
.guide-body__inner ul li {
  margin-bottom: 8px;
}
.guide-body__inner a {
  color: var(--link);
  text-decoration: underline;
  text-underline-position: from-font;
}
.guide-body__inner a:hover { opacity: 0.85; }

.guide-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.6;
  margin-bottom: 8px;
}

.guide-table-wrap {
  overflow-x: auto;
  margin: 20px 0 32px;
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
}
.guide-table th,
.guide-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.guide-table th {
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}
.guide-table tr:nth-child(even) td {
  background: rgba(0,0,0,0.03);
}

.guide-cta {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.guide-cta--prominent {
  background: var(--ink);
  color: var(--white);
  border: none;
}
.guide-cta--prominent h3 {
  color: var(--white);
  margin-top: 0;
}
.guide-cta--prominent a {
  color: var(--white);
}
.guide-cta--prominent a:hover {
  opacity: 0.9;
}

@media (max-width: 760px) {
  .guide-body__inner { font-size: 15px; }
  .guide-table th,
  .guide-table td { padding: 8px 10px; font-size: 13px; }
}

/* ---------- Contact form ---------- */
.hero--contact {
  position: relative;
  min-height: 500px;
  padding: 80px 0 120px;
}
.hero--contact .hero__copy {
  text-align: center;
  max-width: 910px;
  margin: 0 auto;
}
.hero--contact .hero__text {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.contact-body {
  padding: 40px 0 80px;
}
.contact-body__inner {
  max-width: 680px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form__label-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.7;
}
.contact-form__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.contact-form__input:focus {
  outline: none;
  border-color: var(--blue);
}
.contact-form__input::placeholder {
  color: var(--ink);
  opacity: 0.4;
}
.contact-form__textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form__submit {
  align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .hero--contact .hero__title { font-size: 44px; }
  .hero--contact .hero__text { font-size: 16px; }
  .hero--contact { padding: 40px 0 60px; }
  .contact-body__inner { padding: 0 20px; }
}
