:root {
  --fluid-ink: #f6f7f4;
  --fluid-muted: rgba(246, 247, 244, 0.7);
  --fluid-line: rgba(246, 247, 244, 0.24);
  --fluid-accent: #83ffb5;
  --fluid-black: #000000;
}

html {
  background: var(--fluid-black);
}

body.home-redesign.fluid-home {
  min-height: 100dvh;
  color: var(--fluid-ink);
  background: var(--fluid-black);
  cursor: auto;
}

body.home-redesign.fluid-home::before,
body.home-redesign.fluid-home::after {
  content: none;
}

.fluid-cursor-mount {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0;
  display: block !important;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  pointer-events: none !important;
  background: #000000;
  contain: strict;
}

.fluid-cursor-canvas {
  position: fixed !important;
  inset: 0 !important;
  display: block;
  width: 100vw !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  pointer-events: none !important;
  background: #000000;
  touch-action: auto;
}

.fluid-home .home-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.fluid-home .home-hero {
  position: relative;
  display: block;
  width: min(1460px, calc(100% - 48px));
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fluid-home .home-hero::before,
.fluid-home .home-hero::after,
.fluid-home .home-hero-media,
.fluid-home .home-hero-wash,
.fluid-home .home-hero-scan,
.fluid-home .home-kinetic-ribbon,
.fluid-home .home-hero-console {
  display: none;
  content: none;
}

.fluid-home .home-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  align-content: stretch;
  min-height: calc(100dvh - clamp(68px, 10vw, 144px));
  gap: clamp(48px, 7vh, 76px);
  padding: 0;
}

.fluid-home .home-hero-copy {
  position: relative;
  inset: auto;
  align-self: center;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 0;
  text-align: center;
  transform: none;
  animation: none;
}

.fluid-home .home-hero-copy h1 {
  width: auto;
  max-width: 10ch;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  color: var(--fluid-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  text-wrap: balance;
  animation: none;
}

.fluid-home .home-hero-copy h1 span {
  display: block;
  width: auto;
  color: inherit;
  transform: none;
}

.fluid-home .home-hero-copy h1 span::before,
.fluid-home .home-hero-copy h1 span::after,
.fluid-home .home-hero-copy h1::before,
.fluid-home .home-hero-copy h1::after {
  content: none;
}

.fluid-home .home-hero-copy p {
  width: min(34em, 100%);
  max-width: none;
  margin: 28px auto 0;
  color: var(--fluid-muted);
  font-size: clamp(15px, 1.45vw, 18px);
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
  text-wrap: pretty;
}

.fluid-home .home-product-grid {
  position: relative;
  inset: auto;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(980px, 100%);
  margin: 0 auto;
  gap: 12px;
  transform: none;
}

.fluid-home .home-product-label {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: rgba(246, 247, 244, 0.78);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
}

.fluid-home .home-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 164px;
  padding: 25px 24px;
  overflow: hidden;
  border: 1px solid var(--fluid-line);
  border-radius: 8px;
  box-shadow: none;
  text-align: center;
  transform: none;
  animation: none;
  transition: transform 180ms cubic-bezier(0.25, 1, 0.5, 1), border-color 180ms ease, background-color 180ms ease;
}

.fluid-home .home-product-card::before,
.fluid-home .home-product-card::after {
  content: none;
}

.fluid-home .home-product-dark {
  color: #ffffff;
  border-width: 2px;
  border-color: #72ff9f;
  background: rgba(0, 0, 0, 0.74);
}

.fluid-home .home-product-light {
  color: #080908;
  background: rgba(250, 251, 248, 0.92);
}

.fluid-home .home-product-card:hover {
  transform: translateY(-3px);
  border-color: var(--fluid-accent);
  box-shadow: none;
}

.fluid-home .home-product-card:active {
  transform: translateY(0);
}

.fluid-home .home-product-card:focus-visible,
.fluid-home .home-mini-button:focus-visible {
  outline: 3px solid var(--fluid-accent);
  outline-offset: 3px;
}

.fluid-home .home-product-index,
.fluid-home .home-product-name,
.fluid-home .home-product-copy,
.fluid-home .home-product-meta {
  position: relative;
  inset: auto;
  margin: 0;
  transform: none;
}

.fluid-home .home-product-index {
  color: currentColor;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.72;
}

.fluid-home .home-product-name {
  margin-top: 8px;
  color: currentColor;
  font-size: clamp(2.45rem, 4.4vw, 3.8rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.03em;
}

.fluid-home .home-product-copy {
  margin-top: 12px;
  color: currentColor;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0.9;
}

.fluid-home .home-product-meta {
  margin-top: 7px;
  color: currentColor;
  font-size: 11px;
  line-height: 1.45;
  opacity: 0.58;
}

.fluid-home .home-brand-floor,
.fluid-home .home-mini-entry,
.fluid-home .home-site-footer {
  position: relative;
  z-index: 2;
}

.fluid-home .home-brand-floor {
  border-top: 1px solid rgba(8, 9, 8, 0.1);
}

@media (max-width: 720px) {
  .fluid-home .home-hero {
    width: 100%;
    min-height: 100dvh;
    padding: 24px 18px calc(28px + env(safe-area-inset-bottom));
  }

  .fluid-home .home-hero-layout {
    min-height: calc(100dvh - 52px - env(safe-area-inset-bottom));
    gap: 36px;
  }

  .fluid-home .home-hero-copy h1 {
    max-width: 8ch;
    font-size: 3.35rem;
    line-height: 1.02;
  }

  .fluid-home .home-hero-copy p {
    width: min(21em, 100%);
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.62;
  }

  .fluid-home .home-product-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .fluid-home .home-product-label {
    margin-bottom: 2px;
    font-size: 11px;
  }

  .fluid-home .home-product-card {
    min-height: 112px;
    padding: 17px 18px;
  }

  .fluid-home .home-product-name {
    font-size: 2.25rem;
  }

  .fluid-home .home-product-copy {
    margin-top: 8px;
    font-size: 12px;
  }

  .fluid-home .home-product-meta {
    display: none;
  }
}

@media (max-height: 690px) and (min-width: 721px) {
  .fluid-home .home-hero {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .fluid-home .home-hero-layout {
    min-height: calc(100dvh - 48px);
    gap: 30px;
  }

  .fluid-home .home-hero-copy h1 {
    font-size: 4.4rem;
  }

  .fluid-home .home-hero-copy p {
    margin-top: 18px;
  }

  .fluid-home .home-product-card {
    min-height: 136px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fluid-cursor-mount,
  .fluid-cursor-canvas {
    background: #000000;
  }

  .fluid-home .home-product-card {
    transition: none;
  }
}
