:root {
  --ink: #f4f5ed;
  --muted: #a6a99f;
  --paper: #050608;
  --cream: #0a0b0f;
  --lime: #baff21;
  --purple: #8f77ff;
  --orange: #ff9a5c;
  --line: rgba(255, 255, 255, 0.12);
  --dark: #050608;
  --panel: #0c0d12;
  --panel-soft: #12141a;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --premium-shell: min(1760px, calc(100% - clamp(48px, 6vw, 144px)));
}

html {
  background: #050608;
  color-scheme: dark;
  scroll-padding-top: 92px;
}

body {
  background: #050608;
  color: var(--ink);
  overflow-x: clip;
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
}

::selection {
  color: #050608;
  background: var(--lime);
}

.shell {
  width: var(--premium-shell);
  max-width: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: none;
  height: 94px;
  padding-inline: max(clamp(24px, 4vw, 76px), calc((100vw - 1760px) / 2));
  background: rgba(5, 6, 8, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(24px) saturate(130%);
  transition: height 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.nav.scrolled {
  height: 76px;
  background: rgba(5, 6, 8, 0.94);
  border-color: var(--line);
}

.brand {
  color: #fff;
  gap: 12px;
  font-size: 25px;
  letter-spacing: -0.06em;
}

.brand-mark-image {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
}

.brand small {
  color: #d9dccf;
  font-size: 8px;
}

.nav nav {
  gap: clamp(24px, 3vw, 48px);
}

.nav nav a {
  color: #aaada4;
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav nav a:hover,
.nav nav a:focus-visible {
  color: var(--lime);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-entry {
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #e8eae3;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.login-entry:hover,
.login-entry:focus-visible {
  color: #050608;
  border-color: var(--lime);
  background: var(--lime);
}

.nav-cta,
.primary {
  min-height: 52px;
  border: 1px solid rgba(186, 255, 33, 0.72);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-cta img,
.primary img {
  width: 18px;
  height: 18px;
  filter: invert(93%) sepia(87%) saturate(1060%) hue-rotate(28deg) brightness(108%);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: #050608;
  background: var(--lime);
  border-color: var(--lime);
}

.nav-cta:hover img,
.nav-cta:focus-visible img,
.primary:hover img,
.primary:focus-visible img {
  filter: brightness(0);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 94px));
  grid-template-columns: minmax(440px, 0.88fr) minmax(620px, 1.12fr);
  gap: clamp(32px, 4vw, 86px);
  padding-top: clamp(18px, 3vh, 42px);
  padding-bottom: clamp(38px, 5vh, 64px);
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding: 12px 0 0;
}

.eyebrow {
  color: #d8dbd2;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.16);
  padding: 10px 15px;
}

.eyebrow img {
  width: 15px;
  height: 15px;
  filter: invert(90%) sepia(82%) saturate(1636%) hue-rotate(25deg) brightness(104%);
}

.hero h1 {
  max-width: 760px;
  margin: clamp(26px, 3vh, 40px) 0 24px;
  color: #f5f6f0;
  font-size: clamp(60px, 5.25vw, 98px);
  line-height: 1.02;
  letter-spacing: -0.085em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--lime);
}

.hero h1 span::after {
  display: none;
}

.hero-copy > p {
  max-width: 610px;
  color: #a7aaa1;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.9;
}

.hero-actions {
  gap: 20px;
  margin-top: 36px;
}

.primary {
  min-width: 218px;
  min-height: 62px;
  padding: 17px 28px;
  color: #050608;
  background: var(--lime);
  border-color: var(--lime);
  font-size: 16px;
  box-shadow: 0 18px 46px rgba(186, 255, 33, 0.16);
}

.primary img {
  filter: brightness(0);
}

.primary:hover,
.primary:focus-visible {
  background: #d1ff6b;
  transform: translateY(-2px);
}

.ghost {
  color: #f4f5ed;
  font-size: 15px;
}

.play {
  width: 46px;
  height: 46px;
  border-color: rgba(255, 255, 255, 0.22);
}

.play img {
  width: 17px;
  height: 17px;
  filter: invert(1);
}

.hero-proof {
  margin-top: 34px;
  gap: 28px;
}

.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #a8aba3;
  font-size: 13px;
}

.proof-item img {
  width: 20px;
  height: 20px;
  filter: invert(73%) sepia(25%) saturate(601%) hue-rotate(151deg) brightness(100%);
}

.hero-art {
  --stage-rx: 0deg;
  --stage-ry: 0deg;
  position: relative;
  height: clamp(540px, 48vw, 680px);
  min-height: 540px;
  display: grid;
  place-items: center;
  overflow: visible;
  isolation: isolate;
  outline: none;
}

@media (min-width: 901px) {
  .hero-copy {
    align-self: start;
    padding-top: clamp(18px, 2.2vh, 30px);
  }

  .hero-art {
    width: calc(100% + 72px);
    margin-left: -72px;
  }

  .hero-stage-visual {
    transform: translateY(-110px) perspective(1300px) rotateX(var(--stage-rx)) rotateY(var(--stage-ry));
  }
}

.hero-art::before {
  display: none;
}

.hero-stage-visual {
  position: relative;
  width: min(100%, 790px);
  height: min(100%, 790px);
  display: grid;
  place-items: center;
  transform: perspective(1300px) rotateX(var(--stage-rx)) rotateY(var(--stage-ry));
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(.2,.75,.25,1);
}

.hero-model {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: saturate(1.03) contrast(1.03);
  animation: hero-float 6s ease-in-out infinite;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-prompt-card {
  position: absolute;
  z-index: 4;
  top: 28%;
  right: -1%;
  width: min(310px, 42%);
  padding: 18px 20px;
  color: #fff;
  background: rgba(12, 13, 18, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 18px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  transform: translateZ(42px);
}

.hero-prompt-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.55;
}

.hero-prompt-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-prompt-card span {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #93968e;
  font-size: 9px;
  text-align: center;
}

.hero-prompt-card span.active {
  color: var(--lime);
}

.hero-prompt-card span img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

.hero-prompt-card span.active img {
  filter: invert(91%) sepia(93%) saturate(1395%) hue-rotate(28deg) brightness(107%);
}

.hero-prompt-card i {
  color: #676a65;
  font-style: normal;
}

.drag-hint {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 17%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  color: #c9ccc3;
  background: rgba(11, 12, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  transform: translate(-50%, 28px) translateZ(55px);
  font-size: 11px;
}

.drag-hint img {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

.trust-strip {
  position: relative;
  z-index: 10;
  color: #f3f4ee;
  background: #090a0e;
  border-color: rgba(255, 255, 255, 0.1);
}

.trust-inner {
  height: 96px;
  font-size: 13px;
}

.trust-inner span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.trust-inner span b {
  color: #6f736c;
  font-family: "DM Sans", sans-serif;
  font-size: 23px;
  font-weight: 500;
}

.trust-inner i {
  color: var(--lime);
}

.community-showcase {
  padding: clamp(86px, 9vw, 150px) 0 clamp(60px, 8vw, 120px);
}

.showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 36px;
}

.showcase-heading h2 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(38px, 4vw, 64px);
  letter-spacing: -0.065em;
}

.showcase-heading p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.showcase-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: #020304;
  box-shadow: var(--shadow);
}

.showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.9s cubic-bezier(.2,.75,.25,1), filter 0.45s ease;
}

.showcase-frame:hover img {
  transform: scale(1.018);
  filter: saturate(1.08);
}

.studio,
.sizes,
.faq,
.checkout {
  color: #f1f2ec;
}

.studio {
  padding-top: clamp(92px, 9vw, 150px);
}

.section-heading h2,
.faq-title h2 {
  color: #f7f8f2;
  font-size: clamp(38px, 3.5vw, 62px);
}

.section-heading > p,
.faq-title p {
  color: var(--muted);
}

.section-no {
  color: var(--lime);
}

.studio-grid {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.creator-panel {
  color: #e8eae3;
  background: #0d0f13;
  border-color: rgba(255, 255, 255, 0.1);
}

.viewer-panel {
  color: #eef0e9;
  background: #090a0e;
}

.viewer-stage {
  background: #101116;
  border-color: rgba(255, 255, 255, 0.11);
}

.viewer-stage::before {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 0 rgba(255, 255, 255, 0.04), 0 36px 0 rgba(255, 255, 255, 0.02);
}

.restore-model-button {
  margin-top: 14px;
  padding: 10px 14px;
  color: var(--lime);
  background: transparent;
  border: 1px solid rgba(186, 255, 33, 0.4);
  border-radius: 999px;
  cursor: pointer;
}

.restore-model-button:hover,
.restore-model-button:focus-visible {
  color: #050608;
  background: var(--lime);
  border-color: var(--lime);
}

.creation-tabs,
.prompt-helper,
.image-settings,
.multi-view-option,
.reference-status,
.field-group,
.field-row {
  color: #e7e9e2;
}

.creation-tabs button,
.prompt-field textarea,
.prompt-chips button,
.image-model-select summary,
.image-model-menu,
.image-model-menu button,
.image-settings select,
.multi-view-option,
.segmented span,
.field-row select,
.upload,
.reference-status,
.image-task-panel,
.result-bar,
.model-preview-tip {
  color: #e8eae3;
  background: #15171d;
  border-color: rgba(255, 255, 255, 0.12);
}

.creation-tabs button.active,
.segmented input:checked + span {
  color: #050608;
  background: var(--lime);
  border-color: var(--lime);
}

.prompt-helper {
  background: #0a0b0f;
  border-color: rgba(255, 255, 255, 0.09);
}

.prompt-chips button:hover,
.prompt-chips button.selected {
  color: #050608;
  background: var(--lime);
  border-color: var(--lime);
}

.image-generate-button,
.generate-button {
  color: #050608;
  background: var(--lime);
}

.mode-pill {
  color: #aaada4;
  background: #17191e;
}

.process {
  position: relative;
  background: #090a0d;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.process-cards {
  gap: 16px;
}

.process-cards article,
.process-cards article.featured {
  min-height: 320px;
  color: #f5f6f0;
  background: #101116;
  border-color: rgba(255, 255, 255, 0.11);
  transform: none;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.process-cards article.featured {
  background: #171a1c;
  border-color: rgba(186, 255, 33, 0.55);
}

.process-cards article:hover {
  transform: translateY(-8px);
  border-color: rgba(186, 255, 33, 0.55);
  background: #15171d;
}

.process-cards p,
.featured p {
  color: #9ea198;
}

.process-icon {
  height: 98px;
}

.process-icon img {
  width: 42px;
  height: 42px;
  filter: invert(91%) sepia(93%) saturate(1395%) hue-rotate(28deg) brightness(107%);
}

.size-cards {
  gap: 22px;
}

.size-cards article,
.size-cards article.popular {
  color: #f4f5ed;
  background: #0d0f13;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  transform: none;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.size-cards article:hover,
.size-cards article.selected {
  transform: translateY(-6px);
  border-color: rgba(186, 255, 33, 0.68);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.size-visual {
  height: 260px;
  background: #030405;
}

.size-visual::after,
.size-visual span {
  display: none;
}

.size-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1);
  transition: transform 0.4s ease;
}

.size-visual.small img {
  transform: scale(0.76);
}

.size-visual.large img {
  transform: scale(1.13);
}

.size-cards article:hover .size-visual img {
  transform: scale(1.04);
}

.size-cards article:hover .size-visual.small img {
  transform: scale(0.8);
}

.size-cards article:hover .size-visual.large img {
  transform: scale(1.17);
}

.size-visual i {
  color: #050608;
  background: var(--lime);
  border-radius: 999px;
  padding: 7px 10px;
}

.size-cards p,
.size-cards li {
  color: #a6a99f;
}

.size-cards ul {
  border-color: rgba(255, 255, 255, 0.1);
}

.size-cards button {
  color: #f5f6f0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.26);
}

.size-cards article.selected button,
.popular button {
  color: #050608;
  background: var(--lime);
  border-color: var(--lime);
}

.popular-tag {
  color: #050608;
  background: var(--lime);
}

.faq-list details {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-list p {
  color: #9ea198;
}

.checkout-grid,
.order-summary,
.checkout-form,
.checkout-success {
  color: #eceee7;
  background: #0e1014;
  border-color: rgba(255, 255, 255, 0.11);
}

footer {
  background: #030405;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.chat-launcher {
  overflow: hidden;
  background: #050608;
  border-color: var(--lime);
}

.chat-launcher .bot-face,
.chat-panel header .bot-face {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-panel {
  color: #f4f5ed;
  background: #0c0e12;
  border-color: rgba(186, 255, 33, 0.52);
}

.chat-panel header {
  background: #060709;
}

.chat-panel header .bot-face {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.chat-messages {
  background: #111318;
}

.message p,
.quick-questions button,
.chat-input {
  color: #e8eae3;
  background: #191b21;
  border-color: rgba(255, 255, 255, 0.12);
}

.chat-input input {
  color: #fff;
}

.chat-input button {
  color: #050608;
  background: var(--lime);
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(.2,.75,.25,1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

body.auth-open {
  overflow: hidden;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 3, 5, 0.82);
  backdrop-filter: blur(18px);
}

.auth-overlay[hidden] {
  display: none;
}

.auth-modal {
  position: relative;
  width: min(940px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  overflow: auto;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  color: #f2f4ed;
  background: linear-gradient(145deg, #111319, #090a0e 72%);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.68);
}

.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #d9dcd3;
  background: rgba(255, 255, 255, 0.04);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.auth-close:hover,
.auth-close:focus-visible {
  color: #050608;
  border-color: var(--lime);
  background: var(--lime);
}

.auth-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: calc(100% - 48px);
  margin-bottom: 30px;
}

.auth-heading > img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.auth-heading span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.auth-heading h2 {
  margin: 4px 0 5px;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.055em;
}

.auth-heading p,
.auth-method-title p,
.auth-status,
.auth-footer {
  margin: 0;
  color: #999d94;
  font-size: 12px;
  line-height: 1.65;
}

.auth-method-tabs {
  display: none;
}

.auth-signed-in {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(186, 255, 33, 0.22);
  border-radius: 20px;
  background: rgba(186, 255, 33, 0.06);
}

.auth-signed-in[hidden] {
  display: none;
}

.auth-user-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 16px;
  color: #050608;
  background: var(--lime);
  font-weight: 900;
}

.auth-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-signed-in > div:nth-child(2) {
  display: grid;
  gap: 3px;
}

.auth-signed-in span,
.auth-signed-in small {
  color: #999d94;
  font-size: 10px;
}

.auth-signed-in strong {
  color: #fff;
  font-size: 16px;
}

.auth-signed-in button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  padding: 0 16px;
  color: #eceee7;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.auth-methods {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.auth-method {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.auth-method-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.auth-method-title > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #050608;
  background: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.auth-method-title h3 {
  margin: 0 0 3px;
  color: #f4f5ef;
  font-size: 17px;
}

.wechat-qr-wrap {
  position: relative;
  width: min(230px, 86%);
  margin: 0 auto 18px;
  padding: 10px;
  border-radius: 20px;
  background: #fff;
}

.wechat-qr-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.wechat-qr-wrap span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #050608;
  background: var(--lime);
  font-size: 9px;
  font-weight: 800;
}

.wechat-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin: 46px 0 42px;
  border: 0;
  border-radius: 16px;
  color: #050608;
  background: var(--lime);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.wechat-login-button span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: var(--lime);
  background: #050608;
  font-size: 11px;
}

.wechat-login-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(186, 255, 33, 0.18);
}

.wechat-login-button:disabled,
.phone-login-submit:disabled,
.code-input button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.auth-status {
  text-align: center;
}

.phone-login-form {
  display: grid;
  gap: 14px;
}

.phone-login-form label {
  display: grid;
  gap: 7px;
}

.phone-login-form label > span {
  color: #c7cac2;
  font-size: 11px;
  font-weight: 700;
}

.phone-input,
.code-input {
  display: flex;
  align-items: stretch;
  min-width: 0;
  min-height: 50px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #15171d;
}

.phone-input:focus-within,
.code-input:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(186, 255, 33, 0.12);
}

.phone-input b {
  display: flex;
  align-items: center;
  padding: 0 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: #dfe1da;
  font-size: 12px;
}

.phone-input input,
.code-input input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 13px;
  color: #f7f8f2;
  background: transparent;
  font-size: 16px;
}

.code-input button {
  flex: 0 0 auto;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 13px;
  color: var(--lime);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.phone-login-message {
  min-height: 18px;
  margin: -3px 0 0;
  color: #ffad7a;
  font-size: 11px;
  line-height: 1.5;
}

.phone-login-submit {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  color: #050608;
  background: var(--lime);
  font-weight: 900;
  cursor: pointer;
}

.auth-phone .auth-status {
  margin-top: 16px;
  text-align: left;
}

.auth-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 10px;
}

@media (max-width: 1180px) {
  :root {
    --premium-shell: min(100% - 48px, 1080px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(380px, 0.9fr) minmax(460px, 1.1fr);
    gap: 10px;
  }

  .hero h1 {
    font-size: clamp(54px, 6.3vw, 74px);
  }

  .hero-art {
    height: 620px;
    min-height: 560px;
  }

  .hero-prompt-card {
    right: -3%;
    width: 290px;
  }
}

@media (max-width: 900px) {
  :root {
    --premium-shell: min(100% - 36px, 760px);
  }

  .nav {
    padding-inline: 22px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 54px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .hero-copy > p {
    max-width: 640px;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .hero-art {
    left: auto;
    width: 100%;
    max-width: 100%;
    height: min(760px, 92vw);
    min-height: 560px;
    margin-top: -18px;
    justify-self: stretch;
    transform: none !important;
  }

  .hero-stage-visual,
  .hero-model {
    width: 100%;
    max-width: 100%;
  }

  .hero-prompt-card {
    top: 30%;
    right: 1%;
    max-width: calc(100% - 28px);
  }

  .studio-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .creator-panel,
  .viewer-panel,
  .creation-tabs,
  .creation-source-panel,
  .prompt-field,
  .prompt-helper,
  .image-settings,
  .multi-view-option,
  .reference-status,
  .image-task-panel,
  .field-group,
  .field-row {
    min-width: 0;
    max-width: 100%;
  }

  .trust-inner {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 24px;
    scrollbar-width: none;
  }

  .trust-inner::-webkit-scrollbar {
    display: none;
  }

  .showcase-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-modal {
    width: min(520px, 100%);
  }

  .auth-method-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 14px;
    padding: 5px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
  }

  .auth-method-tabs button {
    min-height: 44px;
    border: 0;
    border-radius: 11px;
    color: #aeb1a8;
    background: transparent;
    font-weight: 800;
    cursor: pointer;
  }

  .auth-method-tabs button.active {
    color: #050608;
    background: var(--lime);
  }

  .auth-methods {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth-method {
    display: none;
  }

  .auth-method.active {
    display: block;
  }
}

@media (max-width: 620px) {
  :root {
    --premium-shell: calc(100% - 28px);
  }

  .nav {
    height: 72px;
    padding-inline: 14px;
  }

  .nav.scrolled {
    height: 66px;
  }

  .brand {
    font-size: 19px;
  }

  .brand-mark-image {
    width: 37px;
    height: 37px;
    border-radius: 11px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 10px 13px;
    font-size: 11px;
  }

  .nav-actions .nav-cta {
    display: none;
  }

  .login-entry {
    min-height: 42px;
    padding: 9px 13px;
    font-size: 11px;
  }

  .nav-cta img {
    width: 15px;
    height: 15px;
  }

  .hero {
    min-width: 0;
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    margin-top: 22px;
    width: 100%;
    font-size: clamp(38px, 11.2vw, 46px);
    line-height: 1.06;
  }

  .hero-copy > p {
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    gap: 10px;
  }

  .primary {
    min-width: 0;
    width: 100%;
    min-height: 56px;
  }

  .ghost {
    display: none;
  }

  .hero-proof {
    gap: 18px;
  }

  .proof-item {
    font-size: 11px;
  }

  .hero-art {
    left: auto;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    height: 440px;
    min-height: 440px;
    margin: 18px 0 0;
    transform: none !important;
  }

  .hero-stage-visual {
    width: 100%;
    height: 100%;
  }

  .hero-prompt-card {
    top: auto;
    right: 14px;
    bottom: 16%;
    width: 230px;
    padding: 12px;
  }

  .hero-prompt-card strong {
    font-size: 10px;
  }

  .hero-prompt-card span {
    font-size: 7px;
  }

  .hero-prompt-card span img {
    width: 18px;
    height: 18px;
  }

  .drag-hint {
    bottom: 4%;
    font-size: 9px;
  }

  .trust-inner {
    height: 76px;
  }

  .trust-inner span b {
    font-size: 18px;
  }

  .community-showcase {
    padding-top: 74px;
  }

  .showcase-heading h2,
  .section-heading h2,
  .faq-title h2 {
    font-size: 38px;
  }

  .showcase-frame {
    border-radius: 18px;
  }

  .showcase-frame img {
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .showcase-frame:hover img {
    transform: none;
  }

  .size-visual {
    height: 230px;
  }

  .chat-launcher {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .auth-overlay {
    align-items: end;
    padding: 10px;
  }

  .auth-modal {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 24px 18px max(20px, env(safe-area-inset-bottom));
    border-radius: 24px;
  }

  .auth-heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }

  .auth-heading > img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .auth-heading h2 {
    font-size: 29px;
  }

  .auth-heading p {
    font-size: 11px;
  }

  .auth-signed-in {
    grid-template-columns: auto 1fr;
  }

  .auth-signed-in button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .auth-method {
    padding: 18px;
  }

  .wechat-login-button {
    margin-block: 28px;
  }

  .code-input button {
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-model,
  .reveal-up,
  .showcase-frame img,
  .process-cards article,
  .size-cards article {
    animation: none !important;
    transition: none !important;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
  }
}
