/*
 * Site optimization overrides.
 * Keeps the exported Next.js site readable even if client hydration fails.
 */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  background: #070a12;
  color: #f8fafc;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
canvas {
  max-width: 100%;
}

img[src*="logo2.png"],
img[src*="logo.png"] {
  object-fit: contain;
}

header img[src*="logo2.png"],
header img[src*="logo.png"] {
  filter: drop-shadow(0 0 14px rgba(239, 68, 68, 0.24));
}

/* Some exported utility classes can lose priority in the static bundle.
   Reassert the positioning utilities because decorative background blocks
   must not consume layout space. */
.absolute {
  position: absolute !important;
}

.relative {
  position: relative !important;
}

.fixed {
  position: fixed !important;
}

.sticky {
  position: sticky !important;
}

.inset-0 {
  inset: 0 !important;
}

/* Restore exported motion as lightweight static reveal animations. */
.yb-reveal-start {
  opacity: 0 !important;
  transform: translateY(26px) !important;
}

header.yb-reveal-start {
  transform: translateY(-28px) !important;
}

.yb-reveal-start.yb-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

header.yb-visible {
  transition-duration: 0.55s;
}

.focus-container {
  display: inline-flex !important;
  align-items: baseline;
  justify-content: center;
  gap: 0.04em;
  white-space: nowrap;
  max-width: 100%;
  line-height: 1;
  position: relative;
}

.focus-word {
  position: relative;
  display: inline-block;
  color: transparent;
  background: linear-gradient(92deg, #22d3ee 0%, #a78bfa 56%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 32px rgba(34, 211, 238, 0.16);
  transition: filter 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.55s ease;
}

.focus-frame {
  position: absolute;
  left: var(--yb-focus-left, 0px);
  top: var(--yb-focus-top, 0px);
  width: var(--yb-focus-width, 1em);
  height: var(--yb-focus-height, 1em);
  display: block !important;
  pointer-events: none;
  border: 1px solid var(--border-color, #06b6d4);
  box-shadow: 0 0 24px var(--glow-color, rgba(6, 182, 212, 0.62));
  transform: scale(1.12);
  opacity: 0.95;
  transition: left 0.55s cubic-bezier(0.16, 1, 0.3, 1), top 0.55s cubic-bezier(0.16, 1, 0.3, 1), width 0.55s cubic-bezier(0.16, 1, 0.3, 1), height 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.focus-frame .corner {
  position: absolute;
  width: 0.22em;
  height: 0.22em;
  border-color: var(--border-color, #06b6d4);
  filter: drop-shadow(0 0 8px var(--glow-color, rgba(6, 182, 212, 0.72)));
}

.focus-frame .top-left {
  left: -0.08em;
  top: -0.08em;
  border-left: 3px solid;
  border-top: 3px solid;
}

.focus-frame .top-right {
  right: -0.08em;
  top: -0.08em;
  border-right: 3px solid;
  border-top: 3px solid;
}

.focus-frame .bottom-left {
  left: -0.08em;
  bottom: -0.08em;
  border-left: 3px solid;
  border-bottom: 3px solid;
}

.focus-frame .bottom-right {
  right: -0.08em;
  bottom: -0.08em;
  border-right: 3px solid;
  border-bottom: 3px solid;
}

.focus-word.active {
  filter: blur(0) !important;
  transform: translateY(-0.035em) scale(1.045);
  text-shadow: 0 0 36px var(--glow-color, rgba(6, 182, 212, 0.55));
}

.focus-word:not(.active) {
  filter: blur(3px) !important;
  transform: translateY(0) scale(0.985);
}

.border-glow-card,
.rounded-2xl,
.rounded-3xl {
  max-width: 100%;
}

.dock-outer {
  width: 100%;
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: visible;
  justify-content: center;
  padding: 0.25rem 0.5rem 0.75rem;
  margin: 0 !important;
  scrollbar-width: thin;
}

.dock-panel {
  flex: 0 0 auto;
  max-width: max-content;
  gap: 0.55rem !important;
}

.dock-item {
  flex: 0 0 auto;
}

.inline-flex {
  max-width: 100%;
}

@media (max-width: 640px) {
  header {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  header .w-12 {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 4rem) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.12 !important;
  }

  p,
  .text-xl,
  .text-2xl {
    line-height: 1.7 !important;
  }

  .focus-container {
    font-size: 0.92em;
    gap: 0.02em;
  }

  .scroll-indicator {
    display: none !important;
  }

  .dock-outer {
    max-width: calc(100vw - 1rem);
    justify-content: flex-start;
  }

  .dock-panel {
    min-width: max-content;
    padding: 0.45rem !important;
  }

  .dock-label {
    display: none !important;
  }

  .border-glow-card {
    border-radius: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Visual media pass: real images, tighter rhythm, and preserved motion. */
:root {
  --yb-panel: rgba(15, 23, 42, 0.72);
  --yb-line: rgba(148, 163, 184, 0.16);
}

main > section {
  scroll-margin-top: 6rem;
}

@media (min-width: 768px) {
  main > section[class*="py-20"],
  main > section[class*="py-24"],
  main > section[class*="py-28"] {
    padding-top: clamp(3.5rem, 6vw, 5.5rem) !important;
    padding-bottom: clamp(3.5rem, 6vw, 5.5rem) !important;
  }

  main > section:first-child {
    padding-bottom: clamp(3rem, 5vw, 4.5rem) !important;
  }

  .mb-20 {
    margin-bottom: 3.75rem !important;
  }

  .mb-16 {
    margin-bottom: 3rem !important;
  }

  .mt-20 {
    margin-top: 3rem !important;
  }
}

.yb-media-panel,
.yb-video-panel,
.yb-card-image,
.yb-article-thumb {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--yb-line);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.82));
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.34);
}

.yb-media-panel::after,
.yb-video-panel::after,
.yb-card-image::after,
.yb-article-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0) 36%, rgba(2, 6, 23, 0.72) 100%),
    radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.22), transparent 34%);
  pointer-events: none;
}

.yb-media-panel img,
.yb-video-panel img,
.yb-card-image img,
.yb-article-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.yb-media-panel:hover img,
.yb-video-panel:hover img,
.yb-card-image:hover img,
.yb-article-thumb:hover img,
.group:hover .yb-card-image img,
.group:hover .yb-article-thumb img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.04);
}

.yb-hero-media {
  max-width: min(100%, 980px);
  height: clamp(220px, 28vw, 360px);
  margin: clamp(1.75rem, 4vw, 3rem) auto 0;
  border-radius: 28px;
}

.yb-media-caption {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.15rem;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

.yb-media-caption strong {
  display: block;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.2;
}

.yb-media-caption span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(203, 213, 225, 0.86);
  font-size: 0.86rem;
}

.yb-live-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(8, 47, 73, 0.68);
  border: 1px solid rgba(125, 211, 252, 0.24);
  font-size: 0.78rem;
  font-weight: 700;
}

.yb-live-chip::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #22d3ee;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.75);
  animation: yb-pulse 1.8s ease-in-out infinite;
}

.yb-video-panel {
  max-width: min(100%, 900px);
  aspect-ratio: 16 / 8.5;
  margin: 2rem auto 0;
  border-radius: 26px;
}

.yb-play-button {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 4.3rem;
  height: 4.3rem;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  color: white;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(12px);
}

.yb-play-button::before {
  content: "";
  margin-left: 0.22rem;
  border-left: 1rem solid currentColor;
  border-top: 0.62rem solid transparent;
  border-bottom: 0.62rem solid transparent;
}

.yb-card-image {
  height: 150px;
  margin: -0.25rem -0.25rem 1.15rem;
  border-radius: 18px;
}

.yb-article-thumb {
  flex: 0 0 150px;
  width: 150px;
  min-height: 120px;
  border-radius: 18px;
}

.yb-contact-channels {
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 980px;
}

.yb-contact-channel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 92px;
  padding: 1.1rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.58);
  color: #e2e8f0;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.yb-contact-channel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, var(--yb-channel-glow, rgba(34, 211, 238, 0.16)), transparent 45%);
  opacity: 0.75;
  pointer-events: none;
}

.yb-contact-channel:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.26);
  background: rgba(15, 23, 42, 0.76);
}

.yb-contact-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--yb-channel-color, #22d3ee);
  background: color-mix(in srgb, var(--yb-channel-color, #22d3ee) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--yb-channel-color, #22d3ee) 28%, transparent);
}

.yb-contact-icon svg {
  width: 24px;
  height: 24px;
}

.yb-contact-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: left;
}

.yb-contact-copy strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.25;
}

.yb-contact-copy span {
  display: block;
  margin-top: 0.3rem;
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.35;
}

body[data-page-kind="contact"] .yb-video-panel,
body[data-page-kind="contact"] .mt-20.text-center {
  display: none !important;
}

.yb-team-section {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.yb-team-heading {
  margin: 0 auto 1.8rem;
  max-width: 680px;
  text-align: center;
}

.yb-team-heading span {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(8, 145, 178, 0.12);
  border: 1px solid rgba(103, 232, 249, 0.18);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.yb-team-heading h2 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
}

.yb-team-heading p {
  color: #94a3b8;
  line-height: 1.75;
}

.yb-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.yb-team-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.62);
}

.yb-team-photo {
  height: 250px;
  overflow: hidden;
  background: #0f172a;
}

.yb-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.02);
}

.yb-team-copy {
  padding: 1rem 1rem 1.15rem;
  text-align: left;
}

.yb-team-copy strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
}

.yb-team-copy span {
  display: block;
  margin-top: 0.25rem;
  color: #67e8f9;
  font-size: 0.82rem;
  font-weight: 700;
}

.yb-team-copy p {
  margin: 0.65rem 0 0;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.65;
}

.yb-platform-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.yb-platform-logo[data-platform="chatgpt"],
.yb-platform-logo[data-platform="grok"] {
  padding: 4px;
  border-radius: 9px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.yb-platform-icon {
  flex: 0 0 auto;
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(248, 250, 252, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.22);
}

.yb-small-iconized {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 12px !important;
  margin-bottom: 0.75rem !important;
}

.yb-small-iconized svg {
  width: 18px !important;
  height: 18px !important;
}

.yb-article-letter-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 13px !important;
  font-size: 1rem !important;
}

.yb-platform-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin: 1.2rem auto 0;
}

.yb-platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.yb-platform-chip img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.yb-platform-chip img[data-platform="chatgpt"],
.yb-platform-chip img[data-platform="grok"] {
  padding: 3px;
  border-radius: 7px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.yb-home-platform-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -0.4rem;
}

.yb-home-platform-card {
  min-height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.75rem;
  padding: 1.15rem 1rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.52)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.yb-home-platform-card:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 232, 249, 0.28);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.64)),
    rgba(34, 211, 238, 0.035);
}

.yb-home-platform-logo {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.yb-home-platform-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.yb-home-platform-logo img[data-platform="chatgpt"],
.yb-home-platform-logo img[data-platform="grok"] {
  padding: 5px;
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.yb-home-platform-card strong {
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.yb-featured-article-image {
  height: clamp(210px, 28vw, 320px);
  margin: 0 0 1.5rem;
  border-radius: 24px;
}

.yb-featured-article-image + .p-8,
.yb-featured-article-image + .p-12 {
  padding-top: 1.5rem !important;
}

@keyframes yb-pulse {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@media (max-width: 767px) {
  main > section[class*="py-20"],
  main > section[class*="py-24"],
  main > section[class*="py-28"] {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .yb-hero-media,
  .yb-video-panel {
    height: auto;
    aspect-ratio: 16 / 10.5;
    border-radius: 20px;
    margin-top: 1.4rem;
  }

  .yb-media-caption {
    left: 1rem;
    right: 1rem;
    bottom: 0.9rem;
    align-items: start;
    flex-direction: column;
  }

  .yb-card-image {
    height: 132px;
    border-radius: 16px;
  }

  .yb-article-thumb {
    width: 100%;
    flex-basis: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    margin-bottom: 0.25rem;
  }

  .yb-contact-channels {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .yb-contact-channel {
    min-height: 78px;
    padding: 0.9rem 1rem;
    border-radius: 16px;
  }

  .yb-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .yb-team-grid {
    grid-template-columns: 1fr;
  }

  .yb-team-photo {
    height: 220px;
  }

  .yb-platform-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .yb-platform-logo {
    width: 28px;
    height: 28px;
  }

  .yb-home-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: -0.8rem;
  }

  .yb-home-platform-card {
    min-height: 112px;
    border-radius: 16px;
    padding: 0.95rem 0.75rem;
  }

  .yb-home-platform-logo {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .yb-home-platform-logo img {
    width: 38px;
    height: 38px;
  }
}


body.static-menu-open {
  overflow: hidden;
}

[data-static-mobile-menu][hidden] {
  display: none !important;
}

[data-static-mobile-menu] {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.static-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(10px);
}

.static-menu-panel {
  position: absolute;
  top: 5rem;
  right: 1rem;
  left: 1rem;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.static-menu-panel a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  color: #cbd5e1;
  font-size: 1rem;
  text-decoration: none;
}

.static-menu-panel a:hover,
.static-menu-panel a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.static-menu-panel .static-menu-cta {
  justify-content: center;
  margin-top: 0.35rem;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, #0891b2, #9333ea);
}

@media (max-width: 1023px) {
  [data-static-mobile-menu] {
    display: block;
  }
}
/* UI polish pass: calmer layout, stronger readability, better mobile ergonomics. */
:root {
  --site-bg: #070a12;
  --site-panel: rgba(15, 23, 42, 0.72);
  --site-panel-strong: rgba(15, 23, 42, 0.9);
  --site-border: rgba(148, 163, 184, 0.16);
  --site-text: #f8fafc;
  --site-muted: #94a3b8;
  --site-cyan: #22d3ee;
  --site-violet: #a78bfa;
  --site-green: #34d399;
}

html {
  scroll-padding-top: 96px;
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 211, 238, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(167, 139, 250, 0.13), transparent 30rem),
    linear-gradient(180deg, #070a12 0%, #0b1020 45%, #070a12 100%);
}

header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 10, 18, 0.78) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

header.is-scrolled {
  background: rgba(7, 10, 18, 0.93) !important;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.32);
}

header a {
  text-decoration: none;
}

.gooey-nav-container a {
  border-radius: 999px;
}

.gooey-nav-container a[aria-current="page"] {
  color: #fff !important;
  background: rgba(34, 211, 238, 0.12);
}

main > section {
  position: relative;
}

main > section:not(:first-child) {
  padding-top: clamp(4rem, 7vw, 6.5rem) !important;
  padding-bottom: clamp(4rem, 7vw, 6.5rem) !important;
}

section .text-center.mb-16 {
  margin-bottom: clamp(2.25rem, 4vw, 4rem) !important;
}

h1,
h2,
h3 {
  letter-spacing: 0 !important;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.section-label,
[class*="section-label"] {
  letter-spacing: 0.06em !important;
}

.grid-pattern {
  opacity: 0.62;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.btn-glow,
a[href="/contact"],
a[href="/services"],
a[href="/cases"],
a[href="/insights"] {
  text-decoration: none;
}

.btn-glow {
  box-shadow: 0 14px 34px rgba(14, 165, 233, 0.17), 0 12px 38px rgba(147, 51, 234, 0.14) !important;
}

.btn-glow:hover {
  transform: translateY(-1px) !important;
}

.border-glow-card,
.glass,
[class*="bg-white/[0.02]"],
[class*="bg-white/[0.03]"],
[style*="rgba(26,29,39"] {
  border-color: var(--site-border) !important;
}

.border-glow-card {
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24) !important;
}

.border-glow-inner {
  overflow: visible !important;
}

.border-glow-card:hover,
[class*="hover:border-"]:hover {
  border-color: rgba(34, 211, 238, 0.32) !important;
}

.gradient-text {
  background: linear-gradient(92deg, var(--site-cyan), var(--site-violet) 58%, var(--site-green)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

article .prose,
.prose {
  max-width: 72ch !important;
  margin-inline: auto;
}

.prose p,
article p {
  line-height: 1.82 !important;
}

.prose h2,
.prose h3 {
  scroll-margin-top: 110px;
}

input[type="email"] {
  min-width: 0;
}

input[type="email"]:focus {
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.11);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.8) !important;
  outline-offset: 3px;
}

footer {
  background: rgba(7, 10, 18, 0.82) !important;
}

footer a {
  text-decoration: none;
}

/* Homepage hero: reduce the generated spectacle just enough to read like a serious service site. */
body[data-page-kind="home"] main > section:first-child {
  min-height: clamp(680px, 100vh, 920px) !important;
}

body:not([data-page-kind="home"]) main > section:first-child {
  min-height: 0 !important;
}

main > section:first-child .space-y-8 {
  max-width: 960px;
  margin-inline: auto;
}

main > section:first-child h1 {
  max-width: 980px;
  margin-inline: auto;
}

main > section:first-child p {
  max-width: 820px !important;
}

main > section:first-child .focus-word {
  line-height: 0.98;
}

/* Dashboard responsive rescue. The exported dashboard uses inline flex widths; override them on smaller screens. */
@media (max-width: 980px) {
  body:has([style*="GEO 战略仪表盘"]) {
    background: #0f1117;
  }

  main [style*="height:600px"],
  main [style*="height: 600px"] {
    height: auto !important;
    min-height: 0 !important;
  }

  main [style*="display:flex"][style*="height:600px"],
  main [style*="display: flex"][style*="height: 600px"] {
    flex-direction: column !important;
  }

  main [style*="flex:0 0 55%"],
  main [style*="flex: 0 0 55%"],
  main [style*="flex:0 0 calc(45%"],
  main [style*="flex: 0 0 calc(45%"] {
    flex: 1 1 auto !important;
    width: 100% !important;
  }

  main [style*="min-height:400px"],
  main [style*="min-height: 400px"] {
    min-height: 340px !important;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    background:
      radial-gradient(circle at 50% -5%, rgba(34, 211, 238, 0.14), transparent 18rem),
      linear-gradient(180deg, #070a12 0%, #0b1020 52%, #070a12 100%);
  }

  header .text-xl {
    font-size: 1.08rem !important;
  }

  header .text-xs {
    font-size: 0.68rem !important;
  }

  main > section:first-child {
    min-height: auto !important;
    padding-top: 7.25rem !important;
    padding-bottom: 4rem !important;
    align-items: flex-start !important;
  }

  main > section:first-child .space-y-8 {
    display: grid;
    gap: 1.45rem;
  }

  main > section:first-child h1 {
    font-size: clamp(2.65rem, 12.2vw, 3.65rem) !important;
  }

  main > section:first-child p {
    font-size: 1.05rem !important;
    line-height: 1.78 !important;
  }

  main > section:first-child a {
    min-height: 3.4rem;
  }

  main > section:not(:first-child) {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .grid {
    row-gap: 1rem !important;
  }

  .grid.grid-cols-2 {
    gap: 0.85rem !important;
  }

  [class*="p-6"] {
    padding: 1.15rem !important;
  }

  [class*="p-8"] {
    padding: 1.35rem !important;
  }

  [class*="rounded-2xl"],
  [class*="rounded-3xl"] {
    border-radius: 16px !important;
  }

  .text-base {
    font-size: 0.96rem !important;
  }

  .text-lg {
    font-size: 1.03rem !important;
  }

  .text-xl {
    font-size: 1.12rem !important;
  }

  .section-label,
  [class*="section-label"] {
    font-size: 0.68rem !important;
  }

  .static-menu-panel {
    top: 4.75rem;
    border-radius: 16px;
  }

  footer .py-16 {
    padding-top: 2.6rem !important;
    padding-bottom: 2.6rem !important;
  }

  footer .gap-12 {
    gap: 2rem !important;
  }

  /* Contact page note should wrap instead of feeling like a desktop chip. */
  .inline-flex:has(svg + span) {
    align-items: flex-start !important;
    text-align: left;
  }

  /* Insights subscribe form stacks better on narrow phones. */
  input[type="email"] {
    width: 100%;
  }

  input[type="email"] + button,
  input[type="email"] ~ button {
    min-width: 6rem;
  }

  /* Dashboard mobile: keep data readable rather than squeezed. */
  table {
    font-size: 0.78rem !important;
  }
}
/* UI polish fix: prevent decorative glow layers from widening mobile layout. */
@media (max-width: 640px) {
  .edge-light,
  .border-glow-card::before,
  .border-glow-card::after {
    display: none !important;
  }

  .border-glow-card {
    overflow: hidden !important;
  }
}
/* Image and layout polish: stronger logo placement, better hero image anchor, cleaner mobile headings. */
header .flex.items-center.gap-3.group > .relative,
footer .flex.items-center.gap-3 .relative {
  display: grid !important;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.18);
}

header img[src*="logo2"],
footer img[src*="logo2"] {
  width: 76% !important;
  height: 76% !important;
  object-fit: contain !important;
  object-position: center center !important;
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.28));
}

header .flex.items-center.gap-3.group {
  min-width: max-content;
}

.gradient-text,
.focus-container,
h1 span {
  word-break: keep-all;
}

/* Desktop hero image anchor using the existing brand mark. */
@media (min-width: 1024px) {
  main > section:first-child::after {
    content: "";
    position: absolute;
    right: max(2rem, calc((100vw - 1180px) / 2));
    top: 50%;
    width: min(28vw, 360px);
    aspect-ratio: 1;
    transform: translateY(-45%);
    background:
      radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 66%),
      url("/logo2.png") center / 42% auto no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    opacity: 0.2;
    pointer-events: none;
    filter: saturate(1.2);
  }

  main > section:first-child .relative.z-10.max-w-6xl {
    transform: translateX(-5%);
  }
}

/* Generic hero pages: keep the brand/product image as a subtle right-side visual on desktop. */
@media (min-width: 900px) {
  main > section:first-child:not(.min-h-screen)::after,
  main > main > .fixed + .max-w-5xl::after {
    content: "";
    position: absolute;
    right: 7vw;
    top: 8.5rem;
    width: 220px;
    aspect-ratio: 1;
    background: url("/logo2.png") center / 46% auto no-repeat, rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    opacity: 0.16;
    pointer-events: none;
  }
}

/* Team emoji avatars become intentional visual tokens instead of floating text. */
section:has(h2) .text-5xl.mb-4 {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem !important;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.13), rgba(167, 139, 250, 0.13));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  font-size: 2rem !important;
}

/* Icon tiles: consistent image/icon alignment across cards. */
[class*="w-10"][class*="h-10"],
[class*="w-12"][class*="h-12"],
[class*="w-14"][class*="h-14"],
[class*="w-16"][class*="h-16"] {
  flex: 0 0 auto;
}

[class*="w-10"][class*="h-10"] svg,
[class*="w-12"][class*="h-12"] svg,
[class*="w-14"][class*="h-14"] svg,
[class*="w-16"][class*="h-16"] svg {
  display: block;
}

/* Article cards: icon block should not dominate text on phones. */
@media (max-width: 640px) {
  header .flex.items-center.gap-3.group > .relative {
    width: 2.25rem !important;
    height: 2.25rem !important;
    border-radius: 10px;
  }

  footer .flex.items-center.gap-3 .relative {
    width: 2.15rem !important;
    height: 2.15rem !important;
  }

  main > section:first-child {
    padding-top: 6.25rem !important;
  }

  main > section:first-child:not(.min-h-screen) {
    padding-top: 6rem !important;
    padding-bottom: 3.25rem !important;
  }

  main > section:first-child h1 {
    font-size: clamp(2.3rem, 10.8vw, 3.25rem) !important;
    line-height: 1.12 !important;
  }

  h1 .gradient-text,
  h2 .gradient-text {
    display: inline-block;
    white-space: nowrap;
  }

  .focus-container {
    white-space: normal;
    flex-wrap: nowrap;
  }

  main > section:first-child .inline-flex:first-child {
    max-width: calc(100vw - 2rem);
  }

  main > section:first-child .inline-flex:first-child span {
    white-space: normal;
  }

  section:has(h2) .text-5xl.mb-4 {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    font-size: 1.75rem !important;
  }

  a[href^="/insights/"] .w-16.h-16,
  a[href^="/insights/"] [class*="w-16"][class*="h-16"] {
    width: 3rem !important;
    height: 3rem !important;
    border-radius: 14px !important;
    font-size: 1.2rem !important;
  }

  a[href^="/insights/"] .p-6,
  a[href^="/insights/"] .p-8 {
    gap: 1rem !important;
  }

  .rounded-full {
    border-radius: 999px !important;
  }
}

@media (max-width: 380px) {
  header .text-xl {
    font-size: 0.98rem !important;
  }

  header .text-xs {
    font-size: 0.62rem !important;
  }

  main > section:first-child h1 {
    font-size: clamp(2.05rem, 10vw, 2.8rem) !important;
  }
}
/* Desktop nav/image correction: keep nav horizontal and prevent decorative watermarks from entering the header area. */
@media (min-width: 1024px) {
  header .max-w-7xl {
    max-width: 1320px !important;
  }

  header nav,
  header nav ul,
  header nav li,
  header nav a,
  .gooey-nav-container,
  .gooey-nav-container * {
    white-space: nowrap !important;
    word-break: keep-all !important;
  }

  header nav ul {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
  }

  header nav li,
  header nav a {
    width: auto !important;
    min-width: max-content !important;
  }

  header nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-inline: 0.9rem !important;
  }

  header .flex.items-center.justify-between {
    gap: 1.25rem !important;
  }

  header .hidden.lg\:flex.btn-glow {
    min-width: max-content !important;
    padding-inline: 1.6rem !important;
  }

  main > section:first-child::after,
  main > section:first-child:not(.min-h-screen)::after,
  main > main > .fixed + .max-w-5xl::after {
    display: none !important;
  }

  main > section:first-child .relative.z-10.max-w-6xl {
    transform: none !important;
  }
}
/* Navigation active state polish: avoid the default white gooey block. */
.gooey-nav-container nav ul li.active {
  color: #e0f2fe !important;
  text-shadow: none !important;
}

.gooey-nav-container nav ul li.active::after {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(167, 139, 250, 0.18)) !important;
  border: 1px solid rgba(34, 211, 238, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 22px rgba(34, 211, 238, 0.08);
}

.gooey-nav-container .effect.text.active {
  color: #e0f2fe !important;
}

.gooey-nav-container .effect.filter::after,
.gooey-nav-container .effect.active::after {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(167, 139, 250, 0.18)) !important;
  opacity: 0.82 !important;
}
/* Final visual polish: clearer visual anchors, static counters, and calmer cards. */
.counter-number {
  font-variant-numeric: tabular-nums;
}

body[data-page-kind="about"] main > section:first-child,
body[data-page-kind="contact"] main main,
body[data-page-kind="insights"] main > section:first-child {
  isolation: isolate;
}

@media (min-width: 1024px) {
  body[data-page-kind="about"] main > section:first-child::before,
  body[data-page-kind="contact"] main main::before,
  body[data-page-kind="insights"] main > section:first-child::before {
    content: "";
    position: absolute;
    z-index: 0;
    right: clamp(2rem, 7vw, 7rem);
    top: clamp(7rem, 14vw, 10rem);
    width: 230px;
    aspect-ratio: 1;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
      linear-gradient(145deg, rgba(34, 211, 238, 0.10), rgba(167, 139, 250, 0.10)),
      url("/logo2.png") center / 42% auto no-repeat;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 30px 90px rgba(0, 0, 0, 0.28);
    opacity: 0.32;
    pointer-events: none;
  }

  body[data-page-kind="about"] main > section:first-child > *,
  body[data-page-kind="contact"] main main > *,
  body[data-page-kind="insights"] main > section:first-child > * {
    position: relative;
    z-index: 1;
  }
}

/* Make repeated cards feel like product UI, not decorative blocks. */
.border-glow-card,
[class*="bg-white/"] {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.border-glow-card:hover {
  transform: translateY(-2px) !important;
}

[class*="grid-cols-1"] > .group,
[class*="grid-cols-2"] > .group,
[class*="grid-cols-3"] > .group,
[class*="grid-cols-4"] > .group {
  min-width: 0;
}

/* Case metric blocks need stable proportions. */
.grid.grid-cols-3 > div[class*="p-4"] {
  min-height: 86px;
  display: grid;
  align-content: center;
}

/* Footer should read as site infrastructure, not another hero. */
footer {
  margin-top: 0 !important;
}

footer .gradient-text {
  filter: none !important;
}

/* Brand mark: keep the logo itself clean, without a boxed/circled area. */
header a[href="/"] > .relative:has(img[src*="logo2"]),
header a[href="/"] > .relative:has(img[src*="logo.png"]),
footer .flex.items-center.gap-3 > .relative:has(img[src*="logo2"]),
footer .flex.items-center.gap-3 > .relative:has(img[src*="logo.png"]) {
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

header img[src*="logo2"],
header img[src*="logo.png"],
footer img[src*="logo2"],
footer img[src*="logo.png"] {
  width: 100% !important;
  height: 100% !important;
  filter: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

header a[href="/"].flex.items-center,
footer .flex.items-center.gap-3:has(img[src*="logo2"]),
footer .flex.items-center.gap-3:has(img[src*="logo.png"]) {
  gap: 0.25rem !important;
}

main > section:first-child::after,
main > section:first-child:not(.min-h-screen)::after,
main > main > .fixed + .max-w-5xl::after,
body[data-page-kind="about"] main > section:first-child::before,
body[data-page-kind="contact"] main main::before,
body[data-page-kind="insights"] main > section:first-child::before {
  display: none !important;
  content: none !important;
}

/* Services: replace emoji-style markers with compact business tokens. */
.yb-audience-section {
  padding-top: 3.5rem !important;
  padding-bottom: 4rem !important;
}

.yb-audience-section .grid > div {
  align-items: center !important;
  min-height: 108px;
  border-radius: 18px !important;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.84), rgba(15, 23, 42, 0.56)),
    rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.yb-audience-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #e2e8f0;
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.16), rgba(16, 185, 129, 0.12)),
    rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(125, 211, 252, 0.24);
  font-size: 0.72rem !important;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.24);
}

/* Services: denser, more intentional delivery cards. */
.yb-service-card-v2 {
  border-radius: 18px !important;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.62)),
    rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(148, 163, 184, 0.15) !important;
}

.yb-service-card-v2 .border-glow-inner > div,
.yb-service-card-v2 .border-glow-inner > .p-6 {
  padding: 1.35rem !important;
}

.yb-service-card-v2 h3 {
  margin-bottom: 0.7rem !important;
  font-size: 1.1rem !important;
}

.yb-service-card-v2 p {
  margin-bottom: 1rem !important;
  line-height: 1.65 !important;
}

.yb-service-card-v2 ul {
  display: grid;
  gap: 0.45rem !important;
  padding-top: 0.2rem;
}

.yb-service-card-v2 li {
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.yb-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.yb-service-badge span {
  min-width: 44px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 0 0.65rem;
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(8, 145, 178, 0.16);
  border: 1px solid rgba(103, 232, 249, 0.22);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.yb-service-badge i {
  width: 42px;
  height: 1px;
  display: block;
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.55), transparent);
}

.yb-authority-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin: -0.15rem 0 1rem;
}

.yb-authority-rail span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(251, 146, 60, 0.18);
  font-size: 0.68rem;
  font-weight: 800;
}

/* Cases: make the page read like a proof library instead of repeated large cards. */
.yb-case-card-v2 {
  border-radius: 18px !important;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.66)),
    rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
}

.yb-case-card-v2 .border-glow-inner > .relative {
  padding: 1.2rem !important;
}

.yb-case-card-v2 .yb-card-image {
  height: 170px;
  margin-bottom: 1rem;
  border-radius: 14px;
}

.yb-case-type {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.18);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
}

.yb-case-card-v2 .flex.items-center.gap-2 {
  align-items: flex-start !important;
  flex-wrap: wrap;
}

.yb-case-card-v2 .text-xl {
  font-size: 1.08rem !important;
  line-height: 1.35 !important;
}

.yb-case-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.65rem !important;
  margin-bottom: 1rem !important;
}

.yb-case-metrics > div {
  min-height: 76px !important;
  padding: 0.75rem !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

@media (max-width: 640px) {
  .counter-number {
    font-size: 0.95em;
  }

  .grid.grid-cols-3 > div[class*="p-4"] {
    min-height: 78px;
  }

  main > section:first-child .pt-6.flex {
    gap: 0.85rem !important;
    font-size: 0.92rem !important;
  }

  main > section:first-child .pt-6.flex span {
    min-width: max-content;
  }

  /* Prevent CTA buttons from visually touching screen edges. */
  main > section:first-child a,
  section a.btn-glow {
    max-width: calc(100vw - 2rem);
  }

  .yb-audience-section {
    padding-top: 2.75rem !important;
    padding-bottom: 3rem !important;
  }

  .yb-audience-section .grid > div {
    min-height: 96px;
    padding: 1rem !important;
  }

  .yb-audience-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .yb-authority-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yb-case-card-v2 .yb-card-image {
    height: 145px;
  }

  .yb-case-metrics {
    grid-template-columns: 1fr 1fr !important;
  }
}
