/* Final home page and prompt dock refinements. */
body,
button,
input,
select,
textarea {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: auto;
}

.hero-reference-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-reference-visual picture img {
  width: 100%;
  height: 100%;
}

.section-note,
.card-subtitle,
.avatar-role,
.result-meta {
  color: color-mix(in srgb, var(--ink-soft) 66%, var(--muted));
}

.home-hero.home-hero-showcase {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  grid-template-areas:
    "copy showcase"
    "stats showcase";
  gap: 22px;
  min-height: 560px;
  padding: 34px 34px 26px;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(70, 118, 255, 0.2),
      transparent 28%
    ),
    radial-gradient(
      circle at 78% 12%,
      rgba(103, 232, 249, 0.14),
      transparent 24%
    ),
    linear-gradient(
      135deg,
      rgba(7, 10, 24, 0.98),
      rgba(10, 14, 28, 0.92) 46%,
      rgba(12, 16, 30, 0.88)
    );
  border-color: rgba(125, 211, 252, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 34px 70px rgba(3, 6, 18, 0.38);
}

.home-hero-showcase .home-hero-copy {
  max-width: 580px;
}

.home-hero-showcase .home-hero-copy h1 {
  max-width: 9.4em;
  margin-top: 20px;
  font-size: 68px;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.home-hero-showcase .home-hero-copy p {
  max-width: 560px;
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.78;
  color: color-mix(in srgb, var(--ink-soft) 86%, white 14%);
}

.hero-showcase-grid {
  grid-area: showcase;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(96px, 1fr);
  gap: 14px;
  padding: 6px 0 6px 10px;
  align-self: stretch;
}

.hero-showcase-card {
  position: relative;
  overflow: hidden;
  min-height: 124px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(12, 18, 30, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 42px rgba(2, 6, 20, 0.38);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.hero-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 8, 20, 0.72), transparent 48%);
}

.hero-showcase-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(125, 211, 252, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 30px 56px rgba(2, 6, 20, 0.44);
}

.hero-showcase-meta {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-card-0,
.hero-card-4 {
  grid-row: span 2;
}

.hero-card-1,
.hero-card-6 {
  transform: rotate(-8deg) translateY(-4px);
}

.hero-card-2,
.hero-card-4 {
  transform: rotate(8deg) translateY(-12px);
}

.hero-card-3,
.hero-card-7 {
  transform: rotate(-6deg) translateY(10px);
}

.hero-card-0,
.hero-card-5 {
  transform: rotate(-10deg) translateY(12px);
}

.hero-feature-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-feature-card {
  min-height: 92px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(11, 16, 32, 0.56);
}

.hero-feature-card .metric-value {
  font-size: 18px;
}

.creative-gallery-head {
  margin-top: 10px;
}

.creative-gallery-head .section-head {
  margin-bottom: 2px;
}

.create-prompt-panel {
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 32px;
  background:
    linear-gradient(
      156deg,
      rgba(255, 255, 255, 0.072),
      rgba(255, 255, 255, 0.018) 42%,
      rgba(56, 189, 248, 0.032)
    ),
    rgba(8, 12, 24, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 18px 42px rgba(4, 8, 18, 0.24),
    0 0 26px rgba(56, 189, 248, 0.12);
  backdrop-filter: blur(28px) saturate(1.26);
  overflow: visible;
}

.create-prompt-panel:has(.prompt-input-box.has-references) {
  gap: 2px;
}

.create-prompt-panel:not(.compact-prompt-panel)::before,
.create-prompt-panel:not(.compact-prompt-panel)::after {
  content: none;
  display: none;
}

.create-prompt-panel.compact-prompt-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  cursor: pointer;
}

.create-prompt-panel.compact-prompt-panel::before,
.create-prompt-panel.compact-prompt-panel::after {
  content: none;
  display: none;
}

.create-prompt-panel.compact-prompt-panel .prompt-compact {
  justify-content: center;
  border: 1px solid rgba(125, 211, 252, 0.22);
  background:
    linear-gradient(180deg, rgba(13, 18, 34, 0.54), rgba(8, 12, 24, 0.38)),
    rgba(10, 14, 28, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 22px rgba(2, 8, 23, 0.16);
  animation: promptCompactGlowBreath 2.9s ease-in-out infinite;
}

.create-prompt-panel.compact-prompt-panel .prompt-compact::before,
.create-prompt-panel.compact-prompt-panel .prompt-compact::after {
  content: none;
  display: none;
}

.create-prompt-panel.compact-prompt-panel .prompt-compact-copy {
  width: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
  padding: 2px 18px 0;
}

.create-prompt-panel.compact-prompt-panel .prompt-compact-top-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: rgba(244, 247, 255, 0.94);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.02) 46%,
      rgba(56, 189, 248, 0.08)
    ),
    rgba(10, 14, 28, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 8px 18px rgba(2, 8, 23, 0.14);
  transform: translateY(-3px);
}

.create-prompt-panel.compact-prompt-panel .prompt-compact-top-icon .icon {
  width: 15px;
  height: 15px;
}

.create-prompt-panel.compact-prompt-panel .prompt-compact-hint {
  color: rgba(240, 246, 255, 0.86);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.create-prompt-panel.compact-prompt-panel .prompt-compact-icon {
  display: none;
}

@keyframes promptCompactGlowBreath {
  0%,
  100% {
    border-color: rgba(179, 92, 255, 0.24);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.04),
      0 10px 22px rgba(2, 8, 23, 0.16),
      0 0 0 rgba(255, 154, 68, 0),
      0 0 0 rgba(179, 92, 255, 0),
      0 0 0 rgba(75, 125, 255, 0);
  }
  50% {
    border-color: rgba(255, 154, 68, 0.4);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.06),
      0 12px 25px rgba(2, 8, 23, 0.17),
      0 0 12px rgba(255, 154, 68, 0.15),
      0 0 20px rgba(179, 92, 255, 0.14),
      0 0 28px rgba(75, 125, 255, 0.12);
  }
}

.create-prompt-panel:not(.compact-prompt-panel):focus-within {
  border-color: rgba(103, 232, 249, 0.54);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(56, 189, 248, 0.18),
    0 22px 52px rgba(4, 8, 18, 0.28),
    0 0 34px rgba(56, 189, 248, 0.18);
}

.create-prompt-dock > .dock-hot-prompt-rail {
  display: flex;
  width: 100%;
  max-width: min(100%, calc(100vw - 24px));
  margin-inline: auto;
  pointer-events: auto;
  justify-content: center;
  box-sizing: border-box;
  padding: 6px 12px 8px;
  margin-bottom: 10px;
  align-items: center;
  overflow-x: auto;
  overflow-y: visible;
  scroll-padding-inline: 12px;
  scrollbar-width: none;
}

.create-prompt-dock > .dock-hot-prompt-rail::-webkit-scrollbar {
  display: none;
}

.create-prompt-dock > .dock-hot-prompt-rail > .dock-hot-prompt-row {
  display: flex;
  width: max-content;
  max-width: none;
  margin-inline: auto;
  pointer-events: auto;
  justify-content: center;
  box-sizing: border-box;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.create-prompt-dock > .dock-hot-prompt-rail > .dock-hot-prompt-row .hot-prompt {
  border-color: rgba(125, 211, 252, 0.38);
  padding-inline: 9px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 8px 18px rgba(4, 8, 18, 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.create-prompt-dock
  > .dock-hot-prompt-rail
  > .dock-hot-prompt-row
  .hot-prompt:hover,
.create-prompt-dock
  > .dock-hot-prompt-rail
  > .dock-hot-prompt-row
  .hot-prompt:focus-visible {
  color: #fff;
  border-color: rgba(103, 232, 249, 0.54);
  background:
    linear-gradient(
      135deg,
      rgba(56, 189, 248, 0.22),
      rgba(167, 139, 250, 0.18)
    ),
    rgba(15, 23, 42, 0.72);
  box-shadow:
    0 10px 22px rgba(14, 165, 233, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.create-prompt-dock
  > .dock-hot-prompt-rail
  > .dock-hot-prompt-row
  .hot-prompt-wrap {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: stretch;
}

.create-prompt-dock
  > .dock-hot-prompt-rail.is-admin
  > .dock-hot-prompt-row.is-admin {
  width: max-content;
  min-width: 100%;
  max-width: none;
  overflow: visible;
}

.create-prompt-dock
  > .dock-hot-prompt-rail.is-admin
  > .dock-hot-prompt-row.is-admin
  .hot-prompt-wrap.with-close {
  padding: 4px 5px 0;
  overflow: visible;
}

.create-prompt-dock
  > .dock-hot-prompt-rail.is-admin
  > .dock-hot-prompt-row.is-admin
  .hot-prompt-wrap.with-close
  .hot-prompt {
  padding-left: 9px;
  padding-right: 9px;
}

.create-prompt-dock
  > .dock-hot-prompt-rail.is-admin
  > .dock-hot-prompt-row.is-admin
  .hot-prompt-close {
  position: absolute;
  top: -1px;
  right: 0;
  z-index: 3;
  width: 18px;
  height: 18px;
  padding: 0;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  line-height: 1;
  overflow: hidden;
  transform: scale(0.9);
  transform-origin: center center;
  opacity: 0;
  pointer-events: none;
}

.create-prompt-dock
  > .dock-hot-prompt-rail.is-admin
  > .dock-hot-prompt-row.is-admin
  .hot-prompt-close
  .icon {
  width: 10px;
  height: 10px;
  display: block;
  margin: 0;
  flex: 0 0 auto;
}

.create-prompt-dock
  > .dock-hot-prompt-rail.is-admin
  > .dock-hot-prompt-row.is-admin
  .hot-prompt-wrap:hover
  .hot-prompt-close,
.create-prompt-dock
  > .dock-hot-prompt-rail.is-admin
  > .dock-hot-prompt-row.is-admin
  .hot-prompt-wrap:focus-within
  .hot-prompt-close {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

@media (hover: none) {
  .create-prompt-dock
    > .dock-hot-prompt-rail.is-admin
    > .dock-hot-prompt-row.is-admin
    .hot-prompt-close {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
}

.prompt-input-box {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.sidebar .brand-modes {
  color: color-mix(in srgb, var(--muted) 92%, var(--ink-soft) 8%);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.14;
}

.sidebar .brand-subtitle {
  color: color-mix(in srgb, var(--ink-soft) 70%, var(--muted) 30%);
  font-size: 12px;
  font-weight: 780;
}

@media (max-width: 1080px) {
  .home-hero.home-hero-showcase {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "showcase"
      "stats";
    min-height: 0;
    padding: 26px 22px 22px;
  }

  .home-hero-showcase .home-hero-copy h1 {
    max-width: none;
    font-size: 54px;
  }

  .hero-showcase-grid {
    min-height: 420px;
    padding-left: 0;
  }
}

@media (max-width: 720px) {
  .home-hero.home-hero-showcase {
    padding: 22px 18px 18px;
    border-radius: 24px;
  }

  .home-hero-showcase .home-hero-copy h1 {
    font-size: 40px;
  }

  .home-hero-showcase .home-hero-copy p {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(104px, 1fr);
    min-height: 0;
  }

  .hero-feature-strip {
    grid-template-columns: 1fr;
  }

  .sidebar .brand-modes {
    font-size: 9px;
  }

  .sidebar .brand-subtitle {
    font-size: 10px;
  }
}

/* Closer-to-reference hero section */
.home-hero.home-hero-showcase {
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr);
  grid-template-areas:
    "copy showcase"
    "stats stats";
  gap: 18px 26px;
  min-height: 760px;
  padding: 34px 36px 24px;
  border-radius: 0;
  border: 0;
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(77, 84, 255, 0.16),
      transparent 22%
    ),
    radial-gradient(
      circle at 78% 26%,
      rgba(69, 211, 255, 0.1),
      transparent 28%
    ),
    linear-gradient(135deg, #090d22 0%, #0a1028 42%, #091020 100%);
  box-shadow: none;
}

.home-hero.home-hero-showcase .home-hero-bg {
  opacity: 0.08;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.11),
      transparent 55%
    ),
    linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, 0.045) 40px),
    linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, 0.03) 40px);
  background-size:
    auto,
    40px 40px,
    40px 40px;
}

.home-hero-showcase .home-hero-copy {
  align-self: center;
  padding-top: 22px;
}

.home-hero-showcase .home-hero-copy h1 {
  max-width: 8.6em;
  margin-top: 22px;
  font-size: 72px;
  font-weight: 950;
  line-height: 1.06;
}

.home-hero-showcase .home-hero-copy h1 span {
  color: transparent;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #b9b4ff 12%,
    #8769ff 56%,
    #5f85ff 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
}

.home-hero-showcase .home-hero-copy p {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(233, 236, 255, 0.78);
  font-size: 16px;
  line-height: 1.82;
}

.home-hero-showcase .hero-tools {
  margin-top: 28px;
  gap: 16px;
}

.home-hero-showcase .hero-tools .button {
  min-width: 152px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  font-size: 15px;
}

.home-hero-showcase .hero-tools .button.primary {
  background: linear-gradient(90deg, #7080ff 0%, #8a5cff 100%);
  border-color: rgba(255, 255, 255, 0.16);
}

.home-hero-showcase .hero-api-button {
  color: rgba(246, 248, 255, 0.92);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-reference-visual {
  grid-area: showcase;
  position: relative;
  min-height: 520px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 34, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 26px 56px rgba(1, 4, 16, 0.34);
}

.hero-reference-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(9, 13, 34, 0.18),
      transparent 18%,
      transparent 82%,
      rgba(9, 13, 34, 0.12)
    ),
    linear-gradient(
      180deg,
      rgba(9, 13, 34, 0.08),
      transparent 18%,
      transparent 84%,
      rgba(9, 13, 34, 0.12)
    );
  pointer-events: none;
}

.hero-reference-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-showcase-card {
  position: absolute;
  width: 212px;
  height: 146px;
  min-height: 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1122;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.32);
  transform: var(--hero-transform, none);
}

.hero-showcase-card::after {
  background: linear-gradient(
    to top,
    rgba(6, 10, 24, 0.86),
    rgba(6, 10, 24, 0.08) 42%,
    rgba(6, 10, 24, 0.04)
  );
}

.hero-showcase-card:hover {
  transform: var(--hero-transform, none) scale(1.02);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.38);
}

.hero-showcase-meta {
  left: 16px;
  top: 14px;
  bottom: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-card-0 {
  left: 26px;
  top: 136px;
  width: 196px;
  height: 292px;
  --hero-transform: rotate(-18deg);
  opacity: 0.28;
}
.hero-card-1 {
  left: 182px;
  top: 34px;
  width: 208px;
  height: 142px;
  --hero-transform: rotate(-10deg);
}
.hero-card-2 {
  left: 360px;
  top: 18px;
  width: 230px;
  height: 150px;
  --hero-transform: rotate(10deg);
}
.hero-card-3 {
  left: 544px;
  top: 56px;
  width: 212px;
  height: 140px;
  --hero-transform: rotate(12deg);
}
.hero-card-4 {
  left: 726px;
  top: 88px;
  width: 188px;
  height: 134px;
  --hero-transform: rotate(14deg);
}
.hero-card-5 {
  left: 186px;
  top: 200px;
  width: 246px;
  height: 168px;
  --hero-transform: rotate(8deg);
}
.hero-card-6 {
  left: 474px;
  top: 220px;
  width: 242px;
  height: 168px;
  --hero-transform: rotate(8deg);
}
.hero-card-7 {
  left: 350px;
  top: 418px;
  width: 208px;
  height: 148px;
  --hero-transform: rotate(-18deg);
}
.hero-card-8 {
  left: 590px;
  top: 420px;
  width: 220px;
  height: 152px;
  --hero-transform: rotate(4deg);
}

.hero-service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  grid-area: stats;
  align-self: end;
  margin-top: -6px;
  padding: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.hero-service-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
}

.hero-service-card + .hero-service-card {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #d9d8ff;
  background: linear-gradient(
    180deg,
    rgba(130, 96, 255, 0.34),
    rgba(98, 86, 214, 0.18)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-service-icon .icon {
  width: 20px;
  height: 20px;
}

.hero-service-copy strong {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.hero-service-copy p {
  margin: 4px 0 0;
  color: rgba(232, 236, 255, 0.64);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1280px) {
  .home-hero.home-hero-showcase {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "showcase"
      "stats";
    min-height: 0;
    padding: 28px 26px 22px;
  }

  .home-hero-showcase .home-hero-copy h1 {
    font-size: 58px;
  }

  .hero-reference-visual {
    min-height: 440px;
  }

  .hero-service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-service-card:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .home-hero.home-hero-showcase {
    padding: 22px 18px 16px;
  }

  .home-hero-showcase .home-hero-copy h1 {
    font-size: 42px;
  }

  .home-hero-showcase .hero-tools {
    gap: 10px;
  }

  .home-hero-showcase .hero-tools .button {
    min-width: 132px;
    min-height: 48px;
    padding: 0 18px;
  }

  .hero-reference-visual {
    min-height: 270px;
    border-radius: 22px;
  }

  .hero-service-strip {
    grid-template-columns: 1fr;
  }

  .hero-service-card,
  .hero-service-card + .hero-service-card {
    border-left: 0;
  }
}

/* Final hero structure: make the reference art span the full hero, with copy floating above it. */
.home-hero.home-hero-showcase {
  display: block;
  position: relative;
  min-height: 820px;
  padding: 54px 54px 34px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(112, 100, 255, 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at 92% 82%,
      rgba(226, 90, 255, 0.16),
      transparent 20%
    ),
    linear-gradient(135deg, #060915 0%, #090d20 36%, #10091f 100%);
}

.home-hero.home-hero-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(6, 9, 21, 0.96) 0%,
      rgba(6, 9, 21, 0.9) 18%,
      rgba(6, 9, 21, 0.78) 32%,
      rgba(6, 9, 21, 0.48) 48%,
      rgba(6, 9, 21, 0.14) 68%,
      rgba(6, 9, 21, 0.16) 100%
    ),
    radial-gradient(
      circle at 18% 46%,
      rgba(93, 95, 255, 0.16),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      rgba(6, 9, 21, 0.08),
      transparent 16%,
      transparent 82%,
      rgba(6, 9, 21, 0.24)
    );
  pointer-events: none;
}

.home-hero.home-hero-showcase .home-hero-bg {
  opacity: 0.045;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.08),
      transparent 55%
    ),
    linear-gradient(90deg, transparent 0 47px, rgba(255, 255, 255, 0.026) 48px),
    linear-gradient(0deg, transparent 0 47px, rgba(255, 255, 255, 0.018) 48px);
  background-size:
    auto,
    48px 48px,
    48px 48px;
  z-index: 0;
}

.home-hero-showcase .home-hero-copy {
  position: relative;
  z-index: 4;
  width: min(44%, 560px);
  max-width: none;
  padding-top: 86px;
}

.home-hero-showcase .brand-pill,
.home-hero-showcase .home-hero-copy h1,
.home-hero-showcase .home-hero-copy p,
.home-hero-showcase .hero-tools {
  position: relative;
  z-index: 1;
}

.home-hero-showcase .home-hero-copy h1 {
  max-width: none;
  font-size: 74px;
  line-height: 1.02;
  text-shadow: 0 10px 36px rgba(3, 7, 18, 0.32);
}

.home-hero-showcase .home-hero-copy p {
  max-width: 560px;
  color: rgba(241, 245, 255, 0.82);
  text-shadow: 0 8px 30px rgba(3, 7, 18, 0.28);
}

.hero-reference-visual {
  position: absolute;
  inset: -7% -5% -10% -6%;
  z-index: 1;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  overflow: hidden;
}

.hero-reference-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(
      circle at 68% 52%,
      rgba(104, 92, 255, 0.18),
      transparent 22%
    ),
    radial-gradient(
      circle at 86% 84%,
      rgba(219, 80, 255, 0.18),
      transparent 18%
    ),
    linear-gradient(
      90deg,
      rgba(6, 9, 21, 0.2) 0%,
      transparent 28%,
      transparent 100%
    );
  pointer-events: none;
}

.hero-reference-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(
      120deg,
      rgba(126, 100, 255, 0.15) 0%,
      transparent 26%,
      transparent 74%,
      rgba(160, 76, 255, 0.13) 100%
    ),
    radial-gradient(
      circle at 8% 50%,
      rgba(255, 255, 255, 0.035),
      transparent 30%
    );
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-reference-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.04) brightness(1.02)
    drop-shadow(0 0 30px rgba(105, 89, 255, 0.18))
    drop-shadow(0 30px 50px rgba(2, 6, 20, 0.34));
}

.hero-service-strip {
  position: absolute;
  left: 54px;
  right: 54px;
  bottom: 74px;
  z-index: 4;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  background: rgba(10, 14, 28, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: none;
  backdrop-filter: blur(2px) saturate(1.005);
  -webkit-backdrop-filter: blur(2px) saturate(1.005);
}

@media (max-width: 720px) {
  .mobile-theme-toggle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    gap: 0;
    background: rgba(15, 18, 33, 0.24);
  }

  .home-hero.home-hero-showcase {
    min-height: 672px;
  }

  .home-hero-showcase .brand-pill {
    min-height: 20px;
    padding: 0 9px;
    font-size: 6.5px;
    letter-spacing: 0.01em;
  }

  .home-hero-showcase .home-hero-copy {
    width: min(62%, 236px);
    max-width: calc(100vw - 144px);
    padding-top: 24px;
  }

  .home-hero-showcase .hero-tools {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .home-hero-showcase .hero-tools .button {
    flex: 0 0 auto;
    min-width: 106px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
    border-radius: 14px;
  }

  .hero-service-strip {
    left: 18px;
    right: 18px;
    bottom: 90px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 8px 0;
    border-radius: 16px;
    background: rgba(10, 14, 28, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px) saturate(1.02);
    -webkit-backdrop-filter: blur(4px) saturate(1.02);
  }

  .hero-service-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    padding: 8px 5px;
    text-align: center;
  }

  .hero-service-card + .hero-service-card {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-service-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  .hero-service-icon .icon {
    width: 14px;
    height: 14px;
  }

  .hero-service-copy strong {
    font-size: 11px;
    line-height: 1.08;
  }

  .hero-service-copy p {
    margin-top: 2px;
    font-size: 9px;
    line-height: 1.22;
    word-break: break-word;
  }

  .mobile-menu-toggle {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(10, 14, 28, 0.42);
    box-shadow: 0 14px 28px rgba(4, 8, 20, 0.2);
  }

  .mobile-menu-toggle.is-open {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
  }

  .mobile-menu-scrim {
    background: rgba(3, 7, 18, 0.44);
  }

  .mobile-drawer {
    width: max-content;
    min-width: 198px;
    max-width: calc(100vw - 56px);
    padding: 18px 14px calc(22px + env(safe-area-inset-bottom, 0px));
    background:
      linear-gradient(180deg, rgba(20, 26, 46, 0.88), rgba(9, 13, 24, 0.92)),
      rgba(8, 12, 24, 0.9);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36);
  }
}

.hero-service-card {
  min-width: 0;
}

.hero-service-copy strong,
.hero-service-copy p {
  word-break: keep-all;
}

@media (max-width: 1280px) {
  .home-hero.home-hero-showcase {
    min-height: 760px;
    padding: 34px 28px 24px;
  }

  .home-hero-showcase .home-hero-copy {
    width: min(52%, 520px);
    padding-top: 56px;
  }

  .home-hero-showcase .home-hero-copy h1 {
    font-size: 58px;
  }

  .hero-reference-visual {
    inset: -8% -8% -12% -10%;
  }

  .hero-reference-visual img {
    object-position: 66% center;
    transform: scale(1.08);
  }

  .hero-service-strip {
    left: 28px;
    right: 28px;
    bottom: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-service-card:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .home-hero.home-hero-showcase {
    min-height: 720px;
    padding: 24px 18px 16px;
  }

  .home-hero.home-hero-showcase::before {
    background:
      linear-gradient(
        180deg,
        rgba(6, 9, 21, 0.92) 0%,
        rgba(6, 9, 21, 0.76) 30%,
        rgba(6, 9, 21, 0.22) 58%,
        rgba(6, 9, 21, 0.72) 100%
      ),
      radial-gradient(
        circle at 24% 18%,
        rgba(98, 97, 255, 0.18),
        transparent 28%
      );
  }

  .home-hero-showcase .home-hero-copy {
    width: min(86%, 420px);
    padding-top: 16px;
  }

  .home-hero-showcase .home-hero-copy h1 {
    font-size: 42px;
  }

  .home-hero-showcase .home-hero-copy p {
    font-size: 15px;
    line-height: 1.68;
  }

  .hero-reference-visual {
    inset: -2% -26% -14% -10%;
  }

  .hero-reference-visual img {
    object-position: 66% 30%;
    transform: scale(1.12);
  }

  .hero-service-strip {
    left: 18px;
    right: 18px;
    bottom: 16px;
    grid-template-columns: 1fr;
  }
}

/* Final homepage/header pass */
.topbar-hidden {
  display: none !important;
}

.page.page-home {
  padding-top: 0;
  overflow-anchor: none;
}

.page.page-home .inspiration-grid,
.page.page-home .inspiration-grid * {
  overflow-anchor: none;
}

.sidebar {
  min-height: 90px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(6, 9, 21, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: none;
  backdrop-filter: blur(24px) saturate(1.18);
}

.site-header {
  position: relative;
  width: min(1360px, calc(100vw - 48px));
  min-height: 90px;
  margin: 0 auto;
  transform: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.site-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  gap: 8px;
  width: auto;
  min-height: 60px;
  cursor: default;
  user-select: text;
  -webkit-user-select: text;
}

.site-brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
}

.site-brand-lockup {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}

.site-brand-copy {
  display: grid;
  gap: 1px;
  margin-left: 0;
  transform: translate(3px, 2px);
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
}

.site-brand-title {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  transform: translateY(-4px);
  color: #fff;
  user-select: text;
  -webkit-user-select: text;
}

.site-brand-title-main {
  color: #f7fbff;
}

.site-brand-ai {
  display: inline-block;
  font-family: "Avenir Next", "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 1.1em;
  font-weight: 880;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-left: 0.5px;
  transform: translateY(0.2px) scaleX(1.08);
  transform-origin: left bottom;
  background: linear-gradient(135deg, #ff9a44 0%, #b35cff 48%, #4b7dff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.site-brand-subtitle {
  font-size: 10.5px;
  font-weight: 640;
  line-height: 1.05;
  margin-top: 4px;
  color: rgba(240, 243, 255, 0.82);
  user-select: text;
  -webkit-user-select: text;
}

.site-nav {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  justify-self: center;
}

.site-nav-item {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(236, 241, 255, 0.76);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.02;
}

.site-nav-item:hover {
  color: rgba(255, 255, 255, 0.92);
  transform: none;
}

.site-nav-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7f66ff, #9f5bff);
  transform: translateX(-50%) scaleX(0);
  opacity: 0;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.site-nav-item.active {
  color: #fff;
}

.site-nav-item.active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

.site-auth {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.site-user-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.site-user-shell::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 232px;
  height: 14px;
  background: transparent;
}

.site-user-trigger {
  width: 34px;
  min-width: 34px;
  max-width: 34px;
  height: 34px;
  padding: 0;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  justify-content: center;
  flex: 0 0 34px;
  outline: none;
}

.site-user-trigger:hover {
  border-color: transparent;
  background: transparent !important;
  box-shadow: none !important;
}

.site-user-trigger:focus-visible {
  outline: none;
}

.site-user-trigger:focus-visible .site-user-avatar {
  box-shadow:
    0 0 0 3px rgba(139, 92, 246, 0.2),
    0 10px 26px rgba(78, 72, 205, 0.28);
}

.site-user-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(255, 154, 68, 0.96),
    rgba(179, 92, 255, 0.96) 48%,
    rgba(75, 125, 255, 0.96)
  );
  box-shadow: 0 10px 26px rgba(78, 72, 205, 0.28);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.site-user-avatar.small {
  width: 28px;
  height: 28px;
}

.site-user-avatar.large {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.site-user-avatar .icon {
  width: 16px;
  height: 16px;
}

.site-user-avatar.large .icon {
  width: 20px;
  height: 20px;
}

.site-user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 232px;
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 18% 14%,
      rgba(255, 154, 68, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 0%,
      rgba(129, 106, 255, 0.16),
      transparent 36%
    ),
    linear-gradient(180deg, rgba(17, 20, 38, 0.94), rgba(10, 12, 24, 0.97));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px) saturate(1.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  z-index: 40;
}

.site-user-shell:hover .site-user-menu,
.site-user-shell:focus-within .site-user-menu,
.site-user-shell.is-open .site-user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.site-user-shell:hover .site-user-avatar,
.site-user-shell:focus-within .site-user-avatar,
.site-user-shell.is-open .site-user-avatar {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 14px 30px rgba(87, 81, 219, 0.34);
}

.site-user-menu-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-user-menu-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.site-user-menu-copy strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
}

.site-user-menu-copy span {
  color: rgba(229, 233, 255, 0.7);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.site-user-menu-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-user-menu-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(239, 243, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 800;
}

button.site-user-menu-pill {
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

button.site-user-menu-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

button.site-user-menu-pill:active {
  transform: scale(0.96);
}

.site-user-menu-pill .icon,
.site-user-menu-action .icon {
  width: 14px;
  height: 14px;
}

.site-user-menu-actions {
  display: grid;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-user-menu-action {
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 750;
}

.site-user-menu-action:hover {
  border-color: rgba(167, 139, 250, 0.34);
  background: rgba(109, 93, 252, 0.14);
}

.site-user-menu-action.danger {
  color: #ffb2c5;
}

.site-user-menu-action.danger:hover {
  border-color: rgba(255, 114, 153, 0.28);
  background: rgba(255, 98, 146, 0.12);
}

html.mobile-menu-open,
body.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu-toggle,
.mobile-header-spacer,
.mobile-header-actions,
.mobile-header-shortcuts,
.mobile-menu-scrim,
.mobile-drawer {
  display: none;
}

.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #fff;
  background: rgba(15, 18, 33, 0.28);
  box-shadow: 0 10px 24px rgba(4, 8, 20, 0.18);
  backdrop-filter: blur(16px) saturate(1.14);
}

.mobile-menu-toggle .icon,
.mobile-drawer-close .icon {
  width: 18px;
  height: 18px;
}

.mobile-menu-toggle.is-open {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 84;
  border: 0;
  opacity: 0;
  pointer-events: none;
  background: rgba(3, 7, 18, 0.52);
  transition: opacity 0.22s ease;
}

.mobile-menu-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 85;
  width: min(320px, 86vw);
  height: auto;
  max-height: calc(100dvh - 24px);
  padding: 18px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(22, 27, 48, 0.96), rgba(11, 15, 28, 0.98)),
    rgba(8, 12, 24, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(28px) saturate(1.24);
  transform: translateX(calc(-100% - 20px));
  transition: transform 0.24s ease;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-drawer-brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.mobile-drawer-brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.mobile-drawer-brand-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  text-align: left;
}

.mobile-drawer-brand-copy strong {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.05;
}

.mobile-drawer-brand-copy span {
  color: rgba(232, 239, 255, 0.68);
  font-size: 11px;
  line-height: 1.2;
}

.mobile-drawer-close {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(245, 247, 255, 0.92);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-drawer-nav {
  display: grid;
  gap: 10px;
}

.mobile-drawer-nav .site-nav-item {
  min-height: 48px;
  justify-content: flex-start;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(236, 241, 255, 0.78);
}

.mobile-drawer-nav .site-nav-item::after {
  display: none;
}

.mobile-drawer-nav .site-nav-item.active {
  border-color: rgba(167, 139, 250, 0.38);
  background: linear-gradient(
    135deg,
    rgba(120, 102, 255, 0.24),
    rgba(86, 171, 255, 0.14)
  );
  color: #fff;
}

.mobile-drawer-actions {
  margin-top: auto;
  display: grid;
  gap: 14px;
}

.mobile-drawer-actions .site-theme-switch {
  width: max-content;
  margin-right: 0;
}

.mobile-drawer-auth {
  display: grid;
  gap: 10px;
}

.mobile-drawer-auth .site-auth-button {
  width: 100%;
  min-width: 0;
}

.mobile-shortcut-item {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(236, 241, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.mobile-shortcut-item::after {
  display: none;
}

.mobile-shortcut-item.active {
  border-color: rgba(167, 139, 250, 0.42);
  background: linear-gradient(
    135deg,
    rgba(120, 102, 255, 0.24),
    rgba(86, 171, 255, 0.14)
  );
  color: #fff;
}

.site-theme-switch {
  margin-right: 2px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(15, 18, 33, 0.18);
}

.site-theme-switch .theme-toggle {
  width: 30px;
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  justify-content: center;
}

.site-theme-switch .theme-toggle .icon {
  width: 14px;
  height: 14px;
}

.site-auth-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-auth-button {
  min-width: 72px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(15, 18, 33, 0.24);
  color: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 650;
  backdrop-filter: blur(16px) saturate(1.12);
}

.site-auth-button:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.site-auth-button.primary {
  background: linear-gradient(135deg, #9b7bff, var(--brand-strong));
  border-color: rgba(185, 161, 255, 0.46);
  box-shadow: 0 12px 28px rgba(99, 91, 255, 0.25);
}

.site-auth-button.primary:hover {
  background: linear-gradient(135deg, #a88bff, #5b55f4);
}



.site-auth-button.subtle {
  min-width: 68px;
  background: rgba(15, 18, 33, 0.18);
}

:root[data-theme="light"] .sidebar {
  background: rgba(255, 255, 255, 0.84);
  border-bottom-color: rgba(31, 41, 55, 0.08);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

:root[data-theme="light"] .site-brand-title-main {
  color: #15172b;
}

:root[data-theme="light"] .site-brand-subtitle {
  color: rgba(45, 55, 82, 0.68);
}

:root[data-theme="light"] .site-nav-item {
  color: rgba(35, 39, 64, 0.68);
}

:root[data-theme="light"] .site-nav-item:hover,
:root[data-theme="light"] .site-nav-item.active {
  color: #15172b;
}

:root[data-theme="light"] .site-theme-switch,
:root[data-theme="light"] .mobile-theme-toggle,
:root[data-theme="light"] .mobile-shortcut-item,
:root[data-theme="light"] .site-auth-button {
  border-color: rgba(90, 101, 134, 0.16);
  color: rgba(26, 31, 55, 0.82);
  background: rgba(255, 255, 255, 0.62);
}

:root[data-theme="light"] .theme-toggle:hover,
:root[data-theme="light"] .theme-toggle.active,
:root[data-theme="light"] .mobile-shortcut-item.active {
  color: var(--brand-strong);
  background: rgba(109, 93, 252, 0.11);
}

:root[data-theme="light"] .site-auth-button.primary {
  color: #fff;
}

:root[data-theme="light"] .site-user-menu {
  border-color: rgba(90, 101, 134, 0.14);
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 154, 68, 0.1), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(129, 106, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 255, 0.98));
  box-shadow: 0 24px 58px rgba(27, 34, 58, 0.16);
}

:root[data-theme="light"] .site-user-menu-copy strong {
  color: var(--ink);
}

:root[data-theme="light"] .site-user-menu-copy span {
  color: var(--muted);
}

:root[data-theme="light"] .site-user-menu-pill,
:root[data-theme="light"] .site-user-menu-action {
  border-color: rgba(90, 101, 134, 0.13);
  color: var(--ink-soft);
  background: rgba(109, 93, 252, 0.055);
}

:root[data-theme="light"] button.site-user-menu-pill:hover {
  background: rgba(109, 93, 252, 0.12);
  border-color: rgba(90, 101, 134, 0.25);
  color: var(--ink);
}

:root[data-theme="light"] .site-user-menu-action:hover {
  background: rgba(109, 93, 252, 0.11);
}

.site-auth-desktop-login {
  min-width: 74px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
}

.site-auth-mobile-user {
  min-width: 0;
  height: 36px;
  padding: 0 10px 0 6px;
  gap: 8px;
  border-radius: 999px;
}

.site-auth-mobile-label {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-header-user-trigger {
  margin-left: auto;
}

.home-hero.home-hero-showcase {
  min-height: 684px;
  padding: 58px 54px 24px 92px;
  background: none !important;
  border-color: transparent;
  box-shadow: none;
}

.home-hero.home-hero-showcase::before {
  content: none;
  background: none;
}

.home-hero.home-hero-showcase .home-hero-bg {
  display: none;
}

.home-hero-showcase .home-hero-copy {
  width: min(45%, 586px);
  padding-top: 72px;
  transform: translateY(-108px);
}

.home-hero-showcase .brand-pill {
  padding: 0 18px;
  min-height: 40px;
  border-radius: 999px;
  border-color: rgba(137, 105, 255, 0.38);
  color: rgba(240, 243, 255, 0.92);
  background: rgba(34, 23, 64, 0.34);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-hero-showcase .home-hero-copy h1 {
  display: grid;
  width: max-content;
  max-width: 100%;
  margin-top: 30px;
  gap: 18px;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 68px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}

.home-hero-showcase .home-hero-copy .hero-title-line,
.home-hero-showcase .home-hero-copy .hero-title-accent {
  white-space: nowrap;
}

.home-hero-showcase .home-hero-copy .hero-title-line {
  color: #ffffff;
}

.home-hero-showcase .home-hero-copy .hero-title-line-primary,
.home-hero-showcase .home-hero-copy .hero-title-line-secondary {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.home-hero-showcase .home-hero-copy .hero-title-connector {
  display: inline-flex;
  width: 1em;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow: none;
}

.home-hero-showcase .home-hero-copy .hero-title-accent {
  background: linear-gradient(
    92deg,
    #d66aff 0%,
    #b15fff 22%,
    #876bff 58%,
    #5f7eff 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 24px rgba(125, 102, 255, 0.18);
}

.home-hero-showcase .home-hero-copy p {
  display: grid;
  max-width: 500px;
  margin-top: 22px;
  gap: 4px;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 520;
  line-height: 1.54;
  letter-spacing: 0.03em;
  color: rgba(234, 238, 255, 0.7);
}

.home-hero-showcase .home-hero-copy .hero-copy-line-nowrap {
  white-space: nowrap;
}

.home-hero-showcase .hero-tools {
  margin-top: 36px;
  gap: 16px;
}

.home-hero-showcase .hero-tools .button {
  min-width: 156px;
  min-height: 54px;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 650;
  border-radius: 18px;
}

.hero-reference-visual {
  inset: -3% 0 14% 34%;
}

.hero-reference-visual::before {
  background:
    linear-gradient(
      90deg,
      rgba(5, 8, 19, 0.96) 0%,
      rgba(5, 8, 19, 0.88) 20%,
      rgba(5, 8, 19, 0.68) 36%,
      rgba(5, 8, 19, 0.3) 54%,
      transparent 76%
    ),
    radial-gradient(
      circle at 74% 24%,
      rgba(104, 92, 255, 0.16),
      transparent 20%
    ),
    radial-gradient(
      circle at 94% 74%,
      rgba(219, 80, 255, 0.12),
      transparent 18%
    );
}

.hero-reference-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(6, 9, 21, 0.16), rgba(6, 9, 21, 0.16)),
    radial-gradient(circle at 4% 50%, rgba(6, 9, 21, 0.56), transparent 20%),
    radial-gradient(circle at 98% 50%, rgba(6, 9, 21, 0.42), transparent 18%),
    radial-gradient(circle at 50% 0%, rgba(6, 9, 21, 0.32), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(6, 9, 21, 0.34), transparent 18%);
  pointer-events: none;
}

.hero-reference-visual img {
  object-fit: contain;
  object-position: right top;
  transform: none;
  filter: saturate(1) brightness(1);
}

.hero-service-strip {
  left: 78px;
  right: 52px;
  bottom: 104px;
}

.creative-gallery-head .section-head {
  align-items: end;
}

.gallery-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(238, 241, 255, 0.82);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.gallery-more-link .icon {
  width: 16px;
  height: 16px;
}

.gallery-more-link:hover {
  color: #fff;
}

.example-card,
.work-card {
  content-visibility: auto;
  contain-intrinsic-size: 320px 440px;
}

.inspiration-grid {
  display: grid;
  position: relative;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  column-gap: 12px;
  row-gap: 13px;
  grid-auto-rows: auto;
  grid-auto-flow: row;
  align-items: start;
  content-visibility: visible;
}

.inspiration-grid .example-card {
  display: block;
  width: auto;
  margin: 0;
  align-self: start;
  border: 0;
  background: transparent;
  box-shadow: none;
  content-visibility: visible;
  contain-intrinsic-size: 320px 420px;
}

.inspiration-grid .example-card,
.inspiration-grid .example-card:hover {
  border-radius: 0;
  backdrop-filter: none;
}

.inspiration-grid .inspiration-cover,
.inspiration-grid .same-style-cover,
.inspiration-grid .cover,
.inspiration-grid .cover.tall {
  aspect-ratio: var(--home-card-aspect, 4 / 5);
  min-height: 140px;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  line-height: 0;
  isolation: isolate;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.inspiration-grid .gallery-cover-image,
.inspiration-grid .inspiration-cover img,
.inspiration-grid .cover img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: transparent;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transform-origin: center;
  transition:
    transform 0.28s ease,
    filter 0.28s ease;
  will-change: transform, filter;
}

.inspiration-grid .same-style-cover::after {
  border-radius: inherit;
}

.inspiration-grid .same-style-cover:hover,
.inspiration-grid .same-style-cover:focus-visible {
  border: 0;
  border-radius: 18px;
  box-shadow: none;
}

.inspiration-grid .same-style-cover:hover .gallery-cover-image,
.inspiration-grid .same-style-cover:hover .inspiration-cover img,
.inspiration-grid .same-style-cover:hover .cover img,
.inspiration-grid .same-style-cover:focus-visible .gallery-cover-image,
.inspiration-grid .same-style-cover:focus-visible .inspiration-cover img,
.inspiration-grid .same-style-cover:focus-visible .cover img {
  transform: scale(1.08);
  filter: saturate(1.1) contrast(1.08) brightness(1.04);
}

.lazy-image {
  width: 100%;
  height: 100%;
  display: block;
  background: rgba(255, 255, 255, 0.04);
  opacity: 0.04;
  transition:
    opacity 0.22s ease,
    filter 0.24s ease,
    transform 0.24s ease;
}

.lazy-image.is-loaded {
  opacity: 1;
}

.work-cover-image.lazy-image {
  opacity: 1;
}

.lazy-image.is-error,
.inspiration-grid .gallery-cover-image.is-error {
  opacity: 1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 48%),
    color-mix(in srgb, var(--panel-strong) 78%, rgba(139, 92, 246, 0.22));
  filter: saturate(0.92);
}

.feed-sentinel {
  width: 100%;
  height: 2px;
  opacity: 0;
  pointer-events: none;
  break-inside: avoid;
  grid-column: 1 / -1;
}

@media (max-width: 1280px) {
  .site-header {
    width: min(1360px, calc(100vw - 40px));
    transform: none;
    gap: 34px;
  }

  .site-brand {
    width: auto;
  }

  .site-brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .site-brand-lockup {
    height: 100%;
  }

  .site-nav {
    gap: 30px;
  }

  .home-hero.home-hero-showcase {
    min-height: 646px;
    padding: 44px 32px 20px 48px;
  }

  .home-hero-showcase .home-hero-copy {
    width: min(47%, 520px);
    padding-top: 52px;
    transform: translateY(-84px);
  }

  .home-hero-showcase .home-hero-copy h1 {
    gap: 15px;
    font-size: 60px;
  }

  .hero-reference-visual {
    inset: -4% -2% 12% 30%;
  }

  .hero-service-strip {
    left: 42px;
    right: 32px;
    bottom: 100px;
  }
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100vw - 28px);
    position: static;
    transform: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .site-brand,
  .site-auth {
    justify-content: center;
    justify-self: center;
    width: auto;
  }

  .site-user-menu {
    right: 50%;
    transform: translate(50%, -6px);
  }

  .site-user-shell:hover .site-user-menu,
  .site-user-shell:focus-within .site-user-menu,
  .site-user-shell.is-open .site-user-menu {
    transform: translate(50%, 0);
  }

  .site-brand-lockup {
    height: 100%;
  }

  .site-nav {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    justify-content: center;
    gap: 18px;
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  .page.page-home {
    padding-top: 0;
    padding-bottom: max(142px, calc(118px + env(safe-area-inset-bottom)));
  }

  .sidebar {
    min-height: 72px;
  }

  .site-header {
    width: calc(100vw - 24px);
    min-height: 112px;
    position: static;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-rows: auto auto;
    align-items: center;
    align-content: space-between;
    gap: 18px 12px;
    padding: 12px 0 3px;
  }

  .site-brand {
    position: absolute;
    left: 50%;
    top: 12px;
    width: auto;
    min-height: 44px;
    justify-content: center;
    gap: 7px;
    transform: translateX(-50%);
  }

  .site-brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .site-brand-lockup {
    height: 100%;
  }

  .site-brand-copy {
    transform: translate(1px, 0);
  }

  .site-brand-title {
    font-size: 18px;
    transform: translateY(-2px);
  }

  .site-brand-subtitle {
    display: none;
  }

  .mobile-header-spacer {
    display: block;
    grid-column: 3;
    grid-row: 1;
    width: 44px;
    height: 44px;
  }

  .site-nav,
  .site-auth {
    display: none;
  }

  .mobile-menu-toggle,
  .mobile-header-spacer,
  .mobile-header-actions,
  .mobile-header-shortcuts,
  .mobile-menu-scrim,
  .mobile-drawer {
    display: block;
  }

  .mobile-menu-toggle {
    display: inline-grid;
    grid-column: 1;
    grid-row: 1;
    place-items: center;
    justify-self: start;
  }

  .mobile-header-shortcuts {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
  }

  .mobile-header-shortcuts .site-theme-switch {
    margin-right: 0;
    min-height: 36px;
  }

  .mobile-header-shortcuts .theme-toggle {
    width: 28px;
    min-width: 28px;
    min-height: 28px;
  }

  .mobile-nav {
    display: none !important;
  }

  .create-prompt-dock {
    width: calc(100vw - 16px);
    bottom: 8px;
    z-index: 140;
  }

  .create-prompt-panel {
    gap: 8px;
    padding: 10px;
    overflow: visible;
  }

  .create-prompt-panel:has(.prompt-input-box.has-references) {
    gap: 2px;
  }

  .prompt-input-box,
  .prompt-input-box.ratio-open {
    min-height: auto;
    gap: 8px;
    padding: 8px 10px 10px;
  }

  .prompt-input-box.ratio-open {
    z-index: 20;
    isolation: isolate;
  }

  .prompt-input-floating,
  .prompt-input-box.ratio-open .prompt-input-floating {
    min-height: 36px;
    max-height: 120px;
    padding: 6px 10px 2px;
    font-size: 16px;
    line-height: 1.38;
    resize: none;
  }

  .prompt-input-box.has-references {
    min-height: 146px;
  }

  .prompt-input-box.has-references.ratio-open {
    min-height: 146px;
  }

  .prompt-input-box.has-references .prompt-input-floating,
  .prompt-input-box.has-references.ratio-open .prompt-input-floating {
    min-height: 88px;
    max-height: 164px;
    padding-top: 66px;
  }

  .prompt-input-box.has-references .prompt-input-hint {
    top: 70px;
  }

  .prompt-input-box.has-references .ratio-picker-panel.floating,
  .create-prompt-dock
    .prompt-input-box.has-references
    .ratio-picker-panel.floating {
    top: 48px;
    z-index: 160;
    transform: translate(-50%, -50px);
  }

  .create-prompt-actions {
    --dock-control-width: 100px;
    --dock-control-height: 34px;
    --dock-control-gap: 6px;
    --dock-control-font-size: 11px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--dock-control-gap);
    padding-right: 0;
    align-items: end;
  }

  .create-prompt-controls {
    display: flex;
    align-items: center;
    gap: var(--dock-control-gap);
  }

  .dock-control-strip {
    display: flex;
    align-items: center;
    gap: var(--dock-control-gap);
    overflow: visible;
  }

  .dock-upload-button,
  .count-stepper,
  .ratio-picker {
    width: var(--dock-control-width);
    min-width: var(--dock-control-width);
  }

  .dock-upload-button {
    width: var(--dock-control-width);
    min-width: var(--dock-control-width);
    height: var(--dock-control-height);
    min-height: var(--dock-control-height);
    padding: 0 10px;
    gap: 6px;
    font-size: var(--dock-control-font-size);
    justify-content: center;
    white-space: nowrap;
  }

  .count-stepper {
    height: var(--dock-control-height);
    min-height: var(--dock-control-height);
    justify-content: space-between;
    padding: 0 10px;
    gap: 6px;
    font-size: var(--dock-control-font-size);
  }

  .count-stepper-buttons {
    align-items: center;
  }

  .count-stepper button {
    width: 17px;
    height: 16px;
  }

  .ratio-picker {
    display: flex;
  }

  .ratio-picker-trigger {
    width: 100%;
    height: var(--dock-control-height);
    min-height: var(--dock-control-height);
    justify-content: space-between;
    padding: 0 10px;
    gap: 6px;
    font-size: var(--dock-control-font-size);
  }

  .dock-reference-row {
    left: 10px;
    top: 2px;
    width: max-content;
    max-width: calc(100% - 20px);
  }

  .prompt-submit-stack {
    width: 42px;
    min-width: 42px;
  }

  .prompt-enhance-anchor {
    bottom: calc(100% + 25px);
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .prompt-enhance-button {
    padding: 0;
    font-size: var(--dock-control-font-size);
  }

  .prompt-enhance-button::before {
    display: none;
  }

  .prompt-enhance-button::after {
    inset: 0;
  }

  .prompt-enhance-button .icon {
    width: 18px;
    height: 18px;
  }

  .create-submit-button {
    width: 42px;
    height: 42px;
    min-width: 42px;
    flex-basis: 42px;
    border-radius: 50%;
  }

  .prompt-input-box .ratio-picker-panel.floating,
  .create-prompt-dock .prompt-input-box .ratio-picker-panel.floating {
    position: absolute;
    top: 10px;
    left: 50%;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    padding: 10px;
    z-index: 160;
    transform: translate(-50%, -95px);
  }

  .prompt-input-box .ratio-picker-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .creative-gallery-head .section-head {
    align-items: flex-start;
    gap: 10px;
  }

  .inspiration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 11px;
    row-gap: 12px;
    grid-auto-rows: auto;
  }

  .inspiration-grid .example-card {
    margin: 0;
    break-inside: auto;
    -webkit-column-break-inside: auto;
    page-break-inside: auto;
  }

  .home-hero.home-hero-showcase {
    min-height: 648px;
    padding: 18px 18px 18px;
  }

  .home-hero-showcase .home-hero-copy {
    width: 232px !important;
    max-width: calc(100vw - 142px);
    padding-top: 26px !important;
    transform: none !important;
  }

  .home-hero-showcase .home-hero-copy h1 {
    width: 100%;
    margin-top: 20px;
    gap: 8px;
    font-size: 30px !important;
    line-height: 0.98 !important;
  }

  .home-hero-showcase .home-hero-copy .hero-title-line {
    display: block;
    white-space: nowrap;
  }

  .home-hero-showcase .home-hero-copy .hero-title-line-primary,
  .home-hero-showcase .home-hero-copy .hero-title-line-secondary {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    flex-wrap: nowrap;
  }

  .home-hero-showcase .home-hero-copy .hero-title-connector {
    width: auto;
    margin: 0 0.06em;
  }

  .home-hero-showcase .home-hero-copy .hero-title-accent {
    white-space: nowrap;
  }

  .home-hero-showcase .home-hero-copy p {
    max-width: 236px;
    margin-top: 16px !important;
    gap: 5px;
    font-size: 14px !important;
    line-height: 1.42 !important;
    letter-spacing: 0;
  }

  .home-hero-showcase .home-hero-copy .hero-copy-line {
    display: block;
  }

  .hero-reference-visual {
    inset: 1% -8% 1% -2%;
  }

  .hero-service-strip {
    left: 18px;
    right: 18px;
    bottom: 108px;
    grid-template-columns: 1fr;
  }
}

/* Final hero dissolve + gallery handoff cleanup. */
.site-header {
  width: min(1360px, calc(100vw - 48px));
  transform: none;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 32px;
}

.site-brand {
  justify-self: start;
  justify-content: flex-start;
}

.site-nav {
  justify-self: center;
}

.site-auth {
  justify-self: end;
}

body[data-view="create"] .sidebar {
  display: flex;
  justify-content: center;
}

body[data-view="create"] .site-header {
  margin: 0 auto;
  transform: none;
}

.home-hero.home-hero-showcase {
  min-height: 668px;
  padding-bottom: 18px;
}

.home-hero-showcase .home-hero-copy {
  z-index: 5;
}

.hero-reference-visual {
  inset: -5% -8% 8% 12%;
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.03) 5%,
    rgba(0, 0, 0, 0.08) 10%,
    rgba(0, 0, 0, 0.18) 16%,
    rgba(0, 0, 0, 0.32) 24%,
    rgba(0, 0, 0, 0.5) 34%,
    rgba(0, 0, 0, 0.68) 44%,
    rgba(0, 0, 0, 0.84) 54%,
    rgba(0, 0, 0, 0.94) 64%,
    #000 72%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.03) 5%,
    rgba(0, 0, 0, 0.08) 10%,
    rgba(0, 0, 0, 0.18) 16%,
    rgba(0, 0, 0, 0.32) 24%,
    rgba(0, 0, 0, 0.5) 34%,
    rgba(0, 0, 0, 0.68) 44%,
    rgba(0, 0, 0, 0.84) 54%,
    rgba(0, 0, 0, 0.94) 64%,
    #000 72%,
    #000 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-reference-visual::before {
  background:
    radial-gradient(
      130% 110% at 2% 50%,
      rgba(5, 8, 19, 0.92) 0%,
      rgba(5, 8, 19, 0.8) 22%,
      rgba(5, 8, 19, 0.62) 40%,
      rgba(5, 8, 19, 0.3) 58%,
      transparent 76%
    ),
    linear-gradient(
      90deg,
      rgba(5, 8, 19, 0.34) 0%,
      rgba(5, 8, 19, 0.18) 24%,
      rgba(5, 8, 19, 0.06) 42%,
      transparent 64%
    ),
    radial-gradient(
      circle at 74% 24%,
      rgba(104, 92, 255, 0.14),
      transparent 22%
    ),
    radial-gradient(circle at 94% 74%, rgba(219, 80, 255, 0.1), transparent 20%);
}

.hero-reference-visual::after {
  background:
    linear-gradient(0deg, rgba(6, 9, 21, 0.24), rgba(6, 9, 21, 0.24)),
    radial-gradient(circle at 2% 50%, rgba(6, 9, 21, 0.38), transparent 22%),
    radial-gradient(circle at 98% 50%, rgba(6, 9, 21, 0.26), transparent 16%),
    radial-gradient(circle at 50% 0%, rgba(6, 9, 21, 0.2), transparent 16%),
    radial-gradient(circle at 50% 100%, rgba(6, 9, 21, 0.22), transparent 16%);
}

.hero-reference-visual img {
  object-fit: contain;
  object-position: 82% center;
  transform: translateX(3.5%) scale(1.055);
  filter: saturate(0.94) brightness(0.87);
}

.hero-service-strip {
  bottom: 88px;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.creative-gallery-head {
  position: relative;
  z-index: 5;
  margin-top: -54px;
}

.creative-gallery-head .section-head {
  margin-bottom: 8px;
}

.creative-gallery-head .creative-gallery-title {
  margin-top: 0;
  background: linear-gradient(
    92deg,
    #d66aff 0%,
    #b15fff 22%,
    #876bff 58%,
    #5f7eff 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 24px rgba(125, 102, 255, 0.18);
}

@media (max-width: 1280px) {
  .site-header {
    width: min(1360px, calc(100vw - 40px));
    transform: none;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 30px;
  }

  .home-hero.home-hero-showcase {
    min-height: 636px;
  }

  .hero-reference-visual {
    inset: -5% -8% 8% 10%;
  }

  .hero-service-strip {
    bottom: 84px;
  }

  .creative-gallery-head {
    margin-top: -42px;
  }
}

@media (max-width: 900px) {
  .creative-gallery-head {
    margin-top: -12px;
  }
}

@media (max-width: 720px) {
  .sidebar {
    min-height: 72px;
  }

  .site-header {
    width: calc(100vw - 24px);
    min-height: 72px;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px 0;
  }

  .site-brand {
    min-height: 52px;
    justify-content: flex-start;
    justify-self: start;
  }

  .site-brand-copy {
    transform: translate(2px, 0);
  }

  .site-brand-title {
    font-size: 18px;
    transform: translateY(-2px);
  }

  .site-brand-subtitle {
    display: none;
  }

  .home-hero.home-hero-showcase {
    min-height: 572px;
  }

  .hero-reference-visual {
    inset: 1% -8% 1% -2%;
    -webkit-mask-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.06) 0%,
      rgba(0, 0, 0, 0.5) 16%,
      #000 30%,
      #000 100%
    );
    mask-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.06) 0%,
      rgba(0, 0, 0, 0.5) 16%,
      #000 30%,
      #000 100%
    );
  }

  .hero-reference-visual img {
    object-position: center top;
    transform: scale(1);
  }

  .hero-service-strip {
    bottom: 58px;
  }

  .creative-gallery-head {
    margin-top: -6px;
  }
}

@media (max-width: 720px) {
  .sidebar {
    min-height: auto;
  }

  .site-header {
    width: calc(100vw - 24px);
    min-height: 92px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 10px 12px;
    padding: 10px 0 12px;
  }

  .site-brand {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-height: 44px;
    justify-content: center;
    justify-self: center;
    gap: 7px;
  }

  .site-brand-copy {
    transform: translate(1px, 0);
  }

  .site-brand-title {
    font-size: 18px;
    transform: translateY(-2px);
  }

  .site-brand-subtitle {
    display: none;
  }

  .site-nav,
  .site-auth {
    display: none;
  }

  .mobile-menu-toggle,
  .mobile-header-spacer,
  .mobile-header-shortcuts,
  .mobile-menu-scrim,
  .mobile-drawer {
    display: block;
  }

  .mobile-menu-toggle {
    display: inline-grid;
    grid-column: 1;
    grid-row: 1;
    place-items: center;
    justify-self: start;
  }

  .mobile-header-spacer {
    display: block;
    grid-column: 3;
    grid-row: 1;
    width: 44px;
    height: 44px;
  }

  .mobile-header-shortcuts {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .mobile-header-shortcuts .site-theme-switch {
    margin-right: 0;
    min-height: 36px;
  }

  .mobile-header-shortcuts .theme-toggle {
    width: 28px;
    min-width: 28px;
    min-height: 28px;
  }

  .home-hero.home-hero-showcase {
    min-height: 648px;
    padding: 18px 18px 18px;
  }

  .home-hero-showcase .home-hero-copy {
    width: min(64%, 248px);
    padding-top: 26px;
    transform: none;
  }

  .home-hero-showcase .home-hero-copy h1 {
    width: 100%;
    margin-top: 20px;
    gap: 8px;
    font-size: 30px;
    line-height: 0.98;
  }

  .home-hero-showcase .home-hero-copy .hero-title-line {
    display: block;
    white-space: nowrap;
  }

  .home-hero-showcase .home-hero-copy .hero-title-line-primary,
  .home-hero-showcase .home-hero-copy .hero-title-line-secondary {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    flex-wrap: nowrap;
  }

  .home-hero-showcase .home-hero-copy .hero-title-connector {
    width: auto;
    margin: 0 0.06em;
  }

  .home-hero-showcase .home-hero-copy .hero-title-accent {
    white-space: nowrap;
  }

  .home-hero-showcase .home-hero-copy p {
    max-width: 236px;
    margin-top: 16px;
    gap: 5px;
    font-size: 14px;
    line-height: 1.42;
    letter-spacing: 0;
  }

  .home-hero-showcase .home-hero-copy .hero-copy-line {
    display: block;
  }

  .hero-reference-visual {
    inset: 1% -8% 1% -2%;
  }

  .hero-service-strip {
    left: 18px;
    right: 18px;
    bottom: 108px;
    grid-template-columns: 1fr;
  }

  .home-hero-showcase .hero-tools {
    margin-top: 20px;
    gap: 10px;
  }

  .home-hero-showcase .hero-tools .button {
    min-width: 124px;
    min-height: 42px;
    padding: 0 16px;
    font-size: 13px;
    border-radius: 15px;
  }

  .hot-prompt-row {
    gap: 5px;
  }

  .hot-prompt {
    min-height: 22px;
    padding: 0 8px;
    font-size: 10px;
    font-weight: 800;
  }
}

/* Final mobile header + dock polish */
.mobile-theme-toggle,
.mobile-prompt-compact,
.mobile-prompt-collapse {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.mobile-header-actions {
  display: none;
}

.mobile-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: rgba(245, 248, 255, 0.92);
  background: rgba(15, 18, 33, 0.2);
  font-size: 12px;
  font-weight: 700;
}

.mobile-theme-toggle .icon {
  width: 14px;
  height: 14px;
}

.mobile-prompt-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 0;
  padding-bottom: 0;
}

.mobile-prompt-heading {
  flex: 0 0 auto;
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 6px;
  color: rgba(244, 247, 255, 0.94);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.mobile-prompt-heading span {
  color: rgba(167, 199, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-prompt-collapse {
  flex: 0 0 auto;
  margin-left: auto;
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 12px;
  color: rgba(244, 247, 255, 0.94);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.02) 46%,
      rgba(56, 189, 248, 0.06)
    ),
    rgba(9, 13, 24, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 22px rgba(4, 8, 18, 0.2),
    0 0 18px rgba(56, 189, 248, 0.1);
  backdrop-filter: blur(16px) saturate(1.22);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.mobile-prompt-collapse:hover,
.mobile-prompt-collapse:focus-visible {
  border-color: rgba(103, 232, 249, 0.42);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.03) 46%,
      rgba(56, 189, 248, 0.1)
    ),
    rgba(10, 15, 28, 0.76);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 14px 28px rgba(4, 8, 18, 0.24),
    0 0 22px rgba(56, 189, 248, 0.14);
  transform: translateY(-1px);
}

.mobile-prompt-collapse:active {
  transform: translateY(0) scale(0.98);
}

.mobile-prompt-collapse .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.15;
}

@media (max-width: 720px) {
  .site-header {
    width: calc(100vw - 24px);
    min-height: 104px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 10px 12px;
    padding: 10px 0 12px;
  }

  .site-brand {
    grid-column: 2;
    grid-row: 1;
    min-height: 52px;
    justify-content: center;
    justify-self: center;
    gap: 7px;
    transform: translateY(-8px);
  }

  .site-brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .site-brand-copy {
    gap: 1px;
    transform: none;
  }

  .site-brand-title {
    font-size: 17px;
    transform: translateY(-1px);
  }

  .site-brand-subtitle {
    display: block;
    margin-top: 0;
    font-size: 8.5px;
    font-weight: 620;
    line-height: 1.18;
    white-space: nowrap;
    color: rgba(240, 243, 255, 0.74);
  }

  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(10, 14, 28, 0.56);
    box-shadow: 0 14px 28px rgba(4, 8, 20, 0.24);
    backdrop-filter: blur(18px) saturate(1.18);
  }

  .mobile-menu-toggle .icon,
  .mobile-drawer-close .icon {
    width: 20px;
    height: 20px;
  }

  .mobile-menu-toggle.is-open {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
  }

  .mobile-menu-scrim {
    background: rgba(3, 7, 18, 0.66);
  }

  .mobile-drawer {
    width: min(300px, 82vw);
    padding: 20px 16px calc(24px + env(safe-area-inset-bottom, 0px));
    gap: 16px;
    border-right-color: rgba(255, 255, 255, 0.12);
    background:
      linear-gradient(180deg, rgba(20, 26, 46, 0.98), rgba(9, 13, 24, 0.99)),
      rgba(8, 12, 24, 0.98);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.46);
  }

  .mobile-drawer-head {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-drawer-nav {
    gap: 8px;
  }

  .mobile-drawer-nav .site-nav-item {
    min-height: 44px;
    border-radius: 14px;
  }

  .mobile-header-shortcuts {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .mobile-shortcut-item,
  .mobile-theme-toggle {
    min-height: 34px;
    padding: 0 11px;
    border-radius: 12px;
    font-size: 12px;
  }

  .mobile-shortcut-item {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(15, 18, 33, 0.18);
  }

  .mobile-theme-toggle {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(15, 18, 33, 0.28);
  }

  .create-prompt-dock {
    width: calc(100vw - 16px);
    bottom: 8px;
  }

  .create-prompt-panel.mobile-collapsed-panel {
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .create-prompt-dock.mobile-collapsed,
  .create-prompt-panel.mobile-collapsed-panel,
  .mobile-prompt-compact {
    touch-action: manipulation;
  }

  .mobile-prompt-compact {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: #fff;
    background: rgba(10, 14, 28, 0.38);
  }

  .mobile-prompt-compact-copy {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 7px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
    padding: 2px 10px 0;
  }

  .mobile-prompt-compact-top-icon {
    width: 24px;
    height: 24px;
    transform: translateY(-2px);
  }

  .mobile-prompt-compact-top-icon .icon {
    width: 13px;
    height: 13px;
  }

  .mobile-prompt-compact-hint {
    color: rgba(244, 247, 255, 0.88);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
  }

  .mobile-prompt-compact-icon {
    display: none;
  }

  .mobile-prompt-toolbar {
    position: relative;
    z-index: 4;
    margin-bottom: 0;
    gap: 8px;
  }

  .mobile-prompt-collapse {
    position: relative;
    z-index: 5;
  }
}

@media (max-width: 720px) {
  .inspiration-cover .cover-action {
    right: 8px !important;
    bottom: 8px !important;
    min-height: 20px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    gap: 4px !important;
  }

  .inspiration-cover .cover-action .icon {
    width: 10px !important;
    height: 10px !important;
  }

  .site-header {
    position: relative !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-rows: auto !important;
    min-height: 54px !important;
    align-items: center !important;
    gap: 0 12px !important;
    padding: 10px 0 8px !important;
  }

  .site-brand {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    min-height: 34px !important;
    gap: 0 !important;
    transform: none !important;
    z-index: 3 !important;
  }

  .site-brand-mark {
    display: none !important;
  }

  .site-brand-copy {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 0 !important;
    text-align: left !important;
  }

  .site-brand-title {
    transform: translateY(0) !important;
  }

  .site-brand-subtitle {
    display: none !important;
  }

  .mobile-header-actions {
    position: relative !important;
    z-index: 2 !important;
  }

  .mobile-theme-toggle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .mobile-header-actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-self: end !important;
    gap: 6px !important;
    position: relative !important;
    z-index: 24 !important;
    pointer-events: auto !important;
  }

  .mobile-header-actions .site-auth {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 34px !important;
    gap: 0 !important;
  }

  .mobile-header-actions .site-user-shell {
    display: inline-flex !important;
    align-items: center !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 25 !important;
  }

  .mobile-header-actions .site-user-shell::after {
    content: none !important;
  }

  .mobile-header-actions .site-user-trigger {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    touch-action: manipulation !important;
  }

  .mobile-header-actions .site-user-menu {
    position: fixed !important;
    right: max(12px, env(safe-area-inset-right, 0px)) !important;
    top: calc(52px + env(safe-area-inset-top, 0px)) !important;
    width: min(220px, calc(100vw - 24px)) !important;
    max-height: calc(100dvh - 68px - env(safe-area-inset-top, 0px)) !important;
    overflow-y: auto !important;
    transform: translateY(-6px) !important;
    z-index: 20060 !important;
  }

  .mobile-header-actions .site-user-shell:hover .site-user-menu,
  .mobile-header-actions .site-user-shell:focus-within .site-user-menu,
  .mobile-header-actions .site-user-shell.is-open .site-user-menu {
    transform: translateY(0) !important;
  }

  .mobile-header-shortcuts .site-user-shell {
    display: inline-flex !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .mobile-header-shortcuts .site-user-shell::after {
    content: none !important;
  }

  .mobile-header-shortcuts .site-user-trigger {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .mobile-header-shortcuts .site-user-menu {
    right: 0 !important;
    top: calc(100% + 8px) !important;
    width: min(220px, calc(100vw - 24px)) !important;
    transform: translateY(-6px) !important;
  }

  .mobile-header-shortcuts .site-user-shell:hover .site-user-menu,
  .mobile-header-shortcuts .site-user-shell:focus-within .site-user-menu,
  .mobile-header-shortcuts .site-user-shell.is-open .site-user-menu {
    transform: translateY(0) !important;
  }

  .mobile-header-shortcuts {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    justify-self: stretch !important;
    align-self: center !important;
    gap: 5px !important;
    flex-wrap: nowrap !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    transform: none !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    z-index: 1 !important;
  }

  .mobile-header-shortcuts::-webkit-scrollbar {
    display: none !important;
  }

  .mobile-shortcut-item {
    flex: 0 0 auto !important;
    position: relative !important;
    min-height: 30px !important;
    padding: 0 8px !important;
    border-radius: 10px !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 11.5px !important;
  }

  .mobile-shortcut-item::after {
    display: block !important;
    bottom: 1px !important;
    width: 20px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #7f66ff, #9f5bff) !important;
  }

  .mobile-shortcut-item.active {
    border-color: transparent !important;
    color: #fff !important;
    background: transparent !important;
  }

  :root[data-theme="light"] .mobile-shortcut-item.active {
    color: #15172b !important;
  }

  .mobile-menu-toggle,
  .mobile-menu-scrim,
  .mobile-drawer {
    display: none !important;
  }

  .mobile-header-login {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    height: 30px !important;
    line-height: 1 !important;
    margin-left: 0 !important;
    min-width: auto !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 9px !important;
    border-radius: 11px !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    background: linear-gradient(90deg, #7080ff 0%, #8a5cff 100%) !important;
    box-shadow: 0 10px 22px rgba(100, 95, 255, 0.24) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
  }

  .mobile-header-user-trigger {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    margin-left: auto !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .mobile-header-actions .mobile-header-login {
    margin-left: 0 !important;
  }

  .home-hero.home-hero-showcase {
    min-height: 0 !important;
    padding-bottom: 12px !important;
  }

  .home-hero-showcase .brand-pill {
    min-height: 20px !important;
    padding: 0 8px !important;
    font-size: 6px !important;
    letter-spacing: 0.01em !important;
  }

  .home-hero-showcase .home-hero-copy {
    width: min(67%, 252px) !important;
    max-width: calc(100vw - 126px) !important;
    padding-top: 22px !important;
  }

  .home-hero-showcase .home-hero-copy p {
    max-width: 252px !important;
    margin-top: 12px !important;
    gap: 3px !important;
    font-size: 10px !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
  }

  .home-hero-showcase .home-hero-copy .hero-copy-line {
    display: block !important;
    white-space: nowrap !important;
  }

  .home-hero-showcase .hero-tools {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
  }

  .home-hero-showcase .hero-tools .button {
    flex: 0 0 auto !important;
    min-width: 96px !important;
    min-height: 34px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
    border-radius: 13px !important;
  }

  .hero-service-strip {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 12px !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 7px 0 !important;
    border-radius: 16px !important;
    background: rgba(10, 14, 28, 0.1) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(4px) saturate(1.01) !important;
    -webkit-backdrop-filter: blur(4px) saturate(1.01) !important;
    z-index: 5 !important;
  }

  .hero-service-card,
  .hero-service-card + .hero-service-card {
    border-left: 0 !important;
  }

  body[data-view="create"] .create-prompt-dock:not(.mobile-collapsed) {
    width: calc(100vw - 16px) !important;
    max-width: 520px !important;
    bottom: max(8px, env(safe-area-inset-bottom, 0px)) !important;
  }

  body[data-view="create"]
    .create-prompt-dock:not(.mobile-collapsed)
    .prompt-input-box,
  body[data-view="create"]
    .create-prompt-dock:not(.mobile-collapsed)
    .prompt-input-box.ratio-open {
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body[data-view="create"]
    .create-prompt-dock:not(.mobile-collapsed)
    .prompt-input-box.has-references,
  body[data-view="create"]
    .create-prompt-dock:not(.mobile-collapsed)
    .prompt-input-box.has-references.ratio-open {
    height: 146px !important;
    min-height: 146px !important;
    max-height: 146px !important;
  }

  body[data-view="create"]
    .create-prompt-dock:not(.mobile-collapsed)
    .prompt-input-floating,
  body[data-view="create"]
    .create-prompt-dock:not(.mobile-collapsed)
    .prompt-input-box.ratio-open
    .prompt-input-floating {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    font-size: 16px !important;
    line-height: 1.38 !important;
    resize: none !important;
    overflow-y: auto !important;
  }

  body[data-view="create"]
    .create-prompt-dock:not(.mobile-collapsed)
    .prompt-input-box.has-references
    .prompt-input-floating,
  body[data-view="create"]
    .create-prompt-dock:not(.mobile-collapsed)
    .prompt-input-box.has-references.ratio-open
    .prompt-input-floating {
    height: 114px !important;
    min-height: 114px !important;
    max-height: 114px !important;
    padding-top: 66px !important;
  }

  body[data-view="create"]
    .create-prompt-dock:not(.mobile-collapsed)
    .prompt-input-hint {
    font-size: 16px !important;
    line-height: 1.38 !important;
  }
}
