:root {
  --ink: #141414;
  --muted: #67635d;
  --paper: #f4f0ea;
  --surface: #fffdf8;
  --line: #e3ddd2;
  --blue: #246bfe;
  --yellow: #f4c84a;
  --mint: #2fb47c;
  --coral: #ff694d;
  --shadow: 0 20px 70px rgba(42, 34, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent calc(50% - 620px), rgba(20, 20, 20, 0.08) calc(50% - 620px), rgba(20, 20, 20, 0.08) calc(50% - 619px), transparent calc(50% - 619px)),
    linear-gradient(90deg, transparent calc(50% + 619px), rgba(20, 20, 20, 0.08) calc(50% + 619px), rgba(20, 20, 20, 0.08) calc(50% + 620px), transparent calc(50% + 620px)),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header,
.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1200px, calc(100% - 28px));
  min-height: 66px;
  margin: 14px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #f8f4ea;
  background: rgba(16, 17, 19, 0.74);
  backdrop-filter: blur(22px);
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.35);
}

.brand,
.site-nav,
.main-nav,
.hero-actions,
.metrics,
.button,
.status-pill,
.card-top,
.order-meta,
.file-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #101113;
  border-radius: 12px;
  background: var(--yellow);
  box-shadow: inset 0 0 0 2px #101113;
}

.site-nav,
.main-nav {
  gap: 18px;
  overflow-x: auto;
  color: rgba(248, 244, 234, 0.72);
  font-size: 14px;
  font-weight: 800;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar,
.main-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a,
.main-nav a {
  flex: 0 0 auto;
  border-bottom: 0;
}

.main-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #f8f4ea;
}

.nav-cta,
.button {
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
  opacity 160ms ease;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  color: #101113;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: none;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.12);
}

.button.primary {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.button.dark {
  color: #fff;
  background: var(--ink);
}

.button.light {
  background: #fff;
}

.button.small {
  min-height: 42px;
  padding: 10px 15px;
}

.topbar .button.dark {
  min-height: 46px;
  color: #101113;
  border-color: transparent;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: none;
}

.button.wide {
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.hero-shell,
.section,
.page-hero,
.order-layout,
.detail-layout,
.admin-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(380px, 1.04fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: min(760px, calc(100vh - 92px));
  padding: 76px 0 84px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 650px;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.metrics {
  flex-wrap: wrap;
  gap: 10px;
}

.metrics div {
  display: grid;
  gap: 3px;
  min-width: 128px;
  padding: 12px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
}

.metrics strong {
  font-size: 18px;
}

.metrics span {
  color: var(--muted);
  font-size: 13px;
}

.hero-board {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.76), transparent 22%),
    linear-gradient(145deg, #276cff 0%, #7438d8 45%, #ff6a4d 100%);
  box-shadow: 12px 12px 0 var(--ink);
}

.board-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  color: #fff;
  font-weight: 900;
}

.board-top span {
  color: rgba(255, 255, 255, 0.78);
}

.hero-stack img {
  position: absolute;
  width: 52%;
  aspect-ratio: 1.24 / 1;
  object-fit: contain;
  background: #fff;
  border: 8px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.hero-stack img:nth-child(1) {
  top: 88px;
  right: 42px;
  transform: rotate(4deg);
}

.hero-stack img:nth-child(2) {
  top: 202px;
  left: 34px;
  transform: rotate(-6deg);
}

.hero-stack img:nth-child(3) {
  right: 38px;
  bottom: 118px;
  transform: rotate(5deg);
}

.floating-ticket {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(16px);
}

.floating-ticket span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.floating-ticket strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 20px;
}

.floating-ticket p {
  margin: 0;
  font-size: 13px;
}

.section {
  padding: clamp(54px, 8vw, 92px) 0;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 0.7fr;
  gap: 40px;
  align-items: end;
}

.service-strip,
.service-catalog,
.creator-catalog,
.process-grid,
.showcase-grid {
  display: grid;
  gap: 16px;
}

.service-strip {
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
}

.service-card,
.creator-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card img,
.creator-card > img {
  width: calc(100% - 28px);
  margin: 14px;
  aspect-ratio: 1 / 0.72;
  object-fit: contain;
  background: #f6f1e8;
  border-radius: 10px;
}

.card-top {
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 0;
}

.status-pill {
  gap: 7px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 950;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(47, 180, 124, 0.12);
}

.card-top small {
  color: var(--muted);
  font-weight: 800;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 18px 18px;
}

.service-kind {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.service-body p {
  min-height: 72px;
  font-size: 14px;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 10px 0 16px;
  color: #3a3630;
  font-size: 13px;
  font-weight: 800;
}

.service-body .button {
  margin-top: auto;
}

.process-section {
  text-align: center;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 28px;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.process-grid article {
  min-height: 280px;
  padding: 26px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.process-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 50px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 950;
}

.process-grid article:nth-child(2) {
  color: #fff;
  background: var(--blue);
}

.process-grid article:nth-child(2) p,
.process-grid article:nth-child(3) p {
  color: rgba(255, 255, 255, 0.78);
}

.process-grid article:nth-child(3) {
  color: #fff;
  background: var(--ink);
}

.showcase-grid {
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  grid-auto-rows: 230px;
}

.showcase-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f6f1e8;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.showcase-grid img:first-child {
  grid-row: span 2;
}

.video-section,
.case-lab,
.directory-section {
  scroll-margin-top: 110px;
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.7fr);
  gap: 16px;
}

.feature-video,
.mini-video-card,
.prompt-case,
.directory-feature,
.tool-directory section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-video {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: 0;
  grid-row: span 2;
}

.feature-video video,
.mini-video-card video {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: #111;
}

.feature-video div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 4vw, 42px);
}

.feature-video span,
.mini-video-card strong {
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.feature-video h3 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.02;
}

.mini-video-card {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.mini-video-card video {
  min-height: 190px;
  border-radius: 12px;
}

.mini-video-card strong {
  padding: 0 4px 6px;
}

.case-masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.prompt-case,
.case-card-image {
  display: grid;
  min-height: 360px;
  background: #111;
}

.prompt-case.large,
.case-card-image.large {
  grid-column: span 2;
  grid-row: span 2;
}

.prompt-case.wide,
.case-card-image.wide {
  grid-column: span 2;
}

.prompt-case.tall,
.case-card-image.tall {
  grid-row: span 2;
}

.case-card-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  background: #f6f1e8;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.prompt-case img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: contain;
  background: #111;
}

.prompt-case div {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: #151515;
}

.prompt-case span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 950;
}

.prompt-case p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.62;
}

.directory-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.54fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.directory-feature {
  position: sticky;
  top: 110px;
  padding: clamp(24px, 4vw, 42px);
  color: #fff;
  background: var(--ink);
}

.directory-feature span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 950;
}

.directory-feature h3 {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.directory-feature p {
  color: rgba(255, 255, 255, 0.76);
}

.tool-directory {
  display: grid;
  gap: 16px;
}

.tool-directory section {
  padding: 18px;
}

.tool-directory h3 {
  margin-bottom: 14px;
}

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

.tool-links a {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.tool-links a:hover {
  border-color: var(--blue);
  background: #eef4ff;
}

.tool-links strong {
  font-size: 17px;
}

.tool-links span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.page-hero {
  padding: 74px 0 30px;
}

.page-hero.compact h1 {
  max-width: 900px;
  font-size: clamp(42px, 6vw, 76px);
}

.page-hero.compact p:not(.eyebrow) {
  max-width: 760px;
  font-size: 18px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.catalog-toolbar div {
  display: grid;
  gap: 4px;
}

.catalog-toolbar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.catalog-toolbar strong {
  font-size: 22px;
}

.service-catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.creator-market {
  padding-top: 0;
}

.creator-catalog {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.creator-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.74fr) minmax(0, 1fr);
  min-height: 360px;
}

.creator-card > img {
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  min-height: 320px;
  aspect-ratio: auto;
}

.creator-card.is-closed {
  opacity: 0.68;
}

.creator-card.is-closed .status-pill {
  color: #9a9187;
}

.creator-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 18px 0;
}

.creator-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.creator-head h3 {
  margin-bottom: 3px;
  font-size: 28px;
}

.creator-head p,
.creator-body > p {
  margin-bottom: 0;
}

.creator-actions {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-list span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #403c35;
  font-size: 12px;
  font-weight: 850;
}

.order-layout,
.detail-layout,
.admin-layout {
  display: grid;
  gap: 18px;
  padding: 18px 0 82px;
}

.order-layout {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.64fr);
  align-items: start;
}

.order-form,
.order-aside,
.order-detail-card,
.timeline-card,
.admin-sidebar,
.admin-order-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.order-form {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.form-block {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.form-block h2 {
  margin-bottom: 0;
  font-size: 25px;
}

.block-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.block-head span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

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

label {
  display: grid;
  gap: 8px;
  color: #33302b;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

input,
select {
  min-height: 48px;
  padding: 0 12px;
}

textarea {
  min-height: 160px;
  resize: vertical;
  padding: 13px;
  line-height: 1.62;
}

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

.reference-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 2px solid var(--blue);
  border-radius: 12px;
  background: #fff;
}

.reference-card img {
  width: 100%;
  aspect-ratio: 1 / 0.74;
  object-fit: contain;
  background: #f6f1e8;
}

.reference-card span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 20, 20, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.upload-box {
  padding: 16px;
  border: 1px dashed #c7beb1;
  border-radius: 14px;
  background: #fff;
}

.upload-box > span {
  font-size: 15px;
}

.upload-box input {
  padding: 12px;
  background: var(--surface);
}

.upload-box small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.upload-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.upload-choice-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.upload-choice-card img {
  width: 100%;
  aspect-ratio: 1 / 0.76;
  object-fit: cover;
  background: #f6f1e8;
}

.upload-choice-card span,
.upload-choice-card small {
  display: block;
  padding: 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-choice-card span {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 900;
}

.upload-choice-card small {
  padding-bottom: 10px;
  font-size: 11px;
}

.quote-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(36, 107, 254, 0.22);
  border-radius: 14px;
  background: #f1f5ff;
}

.quote-card span {
  color: var(--blue);
  font-weight: 950;
}

.quote-card strong {
  color: var(--blue);
  font-size: 42px;
}

.quote-card p {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.form-notice {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.55;
}

.form-notice.working {
  border: 1px solid rgba(36, 107, 254, 0.24);
  color: #1f55c5;
  background: #eef4ff;
}

.form-notice.error,
.warning-box {
  border-color: rgba(255, 105, 77, 0.32);
  color: #9f321f;
  background: #fff2ee;
}

.order-aside {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.aside-card {
  padding: 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--ink);
}

.aside-card span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 950;
}

.aside-card h2 {
  margin-top: 10px;
  font-size: 30px;
}

.aside-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-card li {
  color: rgba(255, 255, 255, 0.82);
}

.mini-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f6f1e8;
  border-radius: 12px;
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

.order-detail-card,
.timeline-card,
.admin-sidebar,
.admin-order-card {
  padding: 22px;
}

.order-empty {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.order-status-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.status-badge {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 950;
}

.order-meta {
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0;
}

.order-meta span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #f1f5ff;
  color: #2e3e5e;
  font-size: 13px;
  font-weight: 850;
}

.delivery-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 12px;
  margin: 18px 0;
}

.delivery-gallery img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f6f1e8;
  border-radius: 12px;
}

.delivery-gallery a {
  display: block;
}

.delivery-gallery:has(a:only-child) {
  grid-template-columns: 1fr;
}

.delivery-gallery:has(a:only-child) img {
  height: min(680px, 70vh);
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--line);
}

.admin-delivery-preview {
  grid-template-columns: 1fr;
  margin-top: 12px;
}

.admin-delivery-preview img {
  height: 360px;
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--line);
}

.file-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.file-row {
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-weight: 850;
}

.file-row small {
  color: var(--muted);
}

.merchant-upload-card .file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.merchant-upload-card .file-row strong,
.merchant-upload-card .file-row small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: #cbc4b9;
}

.timeline-step.done .timeline-dot {
  background: var(--mint);
}

.timeline-step strong {
  display: block;
  margin-bottom: 3px;
}

.timeline-step p {
  margin: 0;
  font-size: 13px;
}

.admin-layout {
  grid-template-columns: 300px minmax(0, 1fr);
}

.merchant-hero {
  padding-top: 58px;
}

.merchant-layout {
  width: min(100% - 56px, 1440px);
  margin: 0 auto;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  align-items: start;
}

.merchant-layout .admin-order-card {
  min-width: 0;
}

.admin-sidebar {
  display: grid;
  gap: 14px;
  align-self: start;
}

.admin-sidebar span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.admin-sidebar strong {
  font-size: 28px;
}

.admin-push-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-order-list {
  display: grid;
  gap: 10px;
}

.admin-order-item {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.admin-order-item.is-active {
  border-color: var(--blue);
  background: #eef4ff;
}

.admin-order-item span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 950;
}

.admin-order-item strong {
  font-size: 15px;
}

.admin-order-item small {
  color: var(--muted);
  line-height: 1.4;
}

.admin-order-card {
  display: grid;
  gap: 18px;
}

.backend-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
}

.merchant-detail-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
  grid-template-areas:
    "brief quote"
    "uploads chat"
    "preview chat";
  align-items: start;
  gap: 16px;
}

.merchant-brief-card {
  grid-area: brief;
}

.merchant-quote-card {
  grid-area: quote;
}

.merchant-upload-card {
  grid-area: uploads;
}

.merchant-chat-card {
  grid-area: chat;
}

.merchant-preview-card {
  grid-area: preview;
}

.backend-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.backend-box span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.backend-box p {
  margin: 8px 0 0;
  font-size: 14px;
}

.upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.merchant-upload-card .upload-preview-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 220px));
  justify-content: start;
}

.upload-preview-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.74;
  object-fit: contain;
  background: #f6f1e8;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions.compact {
  margin: 0;
}

.merchant-workbench,
.delivery-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.merchant-workbench {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.merchant-workbench span,
.delivery-form span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.merchant-workbench strong,
.delivery-form strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.delivery-form p {
  margin: 5px 0 0;
  font-size: 13px;
}

.creator-profile {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 80px;
}

.profile-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: clamp(24px, 5vw, 58px);
  border-radius: 14px;
  background: var(--surface);
}

.profile-copy h1 {
  margin-bottom: 8px;
}

.profile-copy > p {
  max-width: 660px;
}

.profile-hero-card > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  background: #f6f1e8;
  border-radius: 14px;
}

.profile-work-section {
  width: 100%;
  padding-bottom: 0;
}

.profile-work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-work-grid img:first-child {
  grid-row: auto;
}

.chat-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.chat-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.chat-head span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.chat-head h2 {
  margin-bottom: 0;
  font-size: 28px;
}

.chat-list {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface);
}

.merchant-chat-list {
  max-height: 520px;
  overflow-y: auto;
  align-content: start;
}

.chat-bubble {
  max-width: 72%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.merchant-chat-list .chat-bubble {
  max-width: min(560px, 92%);
  line-height: 1.62;
}

.chat-bubble.is-me {
  justify-self: end;
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.chat-bubble p {
  margin: 0 0 5px;
  color: inherit;
  font-size: 14px;
}

.chat-bubble small {
  color: currentColor;
  opacity: 0.68;
  font-weight: 800;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.merchant-chat-card .chat-form {
  margin-top: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.merchant-chat-card .chat-form input {
  min-width: 0;
}

.merchant-console-body {
  background:
    radial-gradient(circle at 80% 0%, rgba(36, 107, 254, 0.12), transparent 32%),
    linear-gradient(135deg, #eef1f6 0%, #f8f3ea 46%, #edf4f0 100%);
}

.merchant-console-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.merchant-console-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  height: 100vh;
  padding: 22px;
  color: #f8f4ea;
  background: #151617;
  box-shadow: 22px 0 70px rgba(0, 0, 0, 0.18);
}

.merchant-console-brand,
.merchant-console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.merchant-console-brand strong {
  font-size: 18px;
}

.merchant-console-identity {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.merchant-console-identity span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 950;
}

.merchant-console-identity strong {
  font-size: 22px;
}

.merchant-console-identity p,
.merchant-console-foot a {
  margin: 0;
  color: rgba(248, 244, 234, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.merchant-console-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.merchant-console-nav button {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(248, 244, 234, 0.72);
  background: transparent;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.merchant-console-nav button:hover,
.merchant-console-nav button.is-active {
  color: #151617;
  border-color: rgba(244, 200, 74, 0.35);
  background: var(--yellow);
}

.merchant-console-main {
  min-width: 0;
  padding: 32px clamp(20px, 4vw, 52px) 70px;
}

.merchant-console-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.merchant-console-header h1 {
  margin-bottom: 8px;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.95;
}

.merchant-console-header p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.merchant-console-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.merchant-console-stats div {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(42, 34, 24, 0.08);
}

.merchant-console-stats span,
.merchant-panel-card span,
.merchant-order-rail span,
.merchant-form-card > label,
.merchant-section-head span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.merchant-console-stats strong {
  display: block;
  margin-top: 12px;
  font-size: 26px;
}

.merchant-console-content {
  display: grid;
  gap: 18px;
}

.merchant-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(42, 34, 24, 0.08);
}

.merchant-section-head h2 {
  margin-bottom: 4px;
  font-size: clamp(30px, 4vw, 52px);
}

.merchant-section-head p {
  margin: 0;
  color: var(--muted);
}

.merchant-orders-layout {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.merchant-order-rail,
.merchant-order-detail,
.merchant-panel-card,
.merchant-form-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 54px rgba(42, 34, 24, 0.09);
}

.merchant-order-rail,
.merchant-order-detail,
.merchant-panel-card,
.merchant-form-card {
  padding: 18px;
}

.merchant-order-rail {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 12px;
}

.merchant-order-rail > strong {
  font-size: 30px;
}

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

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

.merchant-claim-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 54px rgba(42, 34, 24, 0.09);
}

.merchant-claim-card.is-mine {
  border-color: rgba(47, 109, 246, 0.3);
  background: #f4f7ff;
}

.claim-card-head,
.claim-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.claim-card-head span,
.claim-meta span,
.merchant-form-message {
  color: #2f6df6;
  font-size: 13px;
  font-weight: 950;
}

.claim-card-head strong {
  font-size: 22px;
}

.merchant-claim-card h3 {
  margin: 0;
  font-size: 26px;
}

.merchant-claim-card p {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
}

.merchant-form-message {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(47, 109, 246, 0.18);
  border-radius: 14px;
  background: rgba(47, 109, 246, 0.08);
}

.merchant-form-message.is-error {
  color: #c5362c;
  border-color: rgba(197, 54, 44, 0.22);
  background: rgba(197, 54, 44, 0.08);
}

.merchant-panel-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.merchant-panel-card h3 {
  margin: 0;
  font-size: 24px;
}

.merchant-panel-card p,
.merchant-panel-card small,
.muted-line {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.merchant-panel-card img {
  width: 100%;
  aspect-ratio: 1 / 0.74;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.merchant-form-card {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.merchant-form-card label {
  display: grid;
  gap: 8px;
}

.merchant-form-card.agreement-list label {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

.merchant-form-card.agreement-list input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

@media (max-width: 960px) {
  .site-nav,
  .main-nav {
    order: 3;
    display: flex;
    width: 100%;
    padding: 2px 4px 4px;
  }

  .hero-shell,
  .two-col,
  .video-grid,
  .feature-video,
  .directory-layout,
  .order-layout,
  .detail-layout,
  .admin-layout,
  .profile-hero-card,
  .backend-grid {
    grid-template-columns: 1fr;
  }

  .service-strip,
  .service-catalog,
  .creator-catalog,
  .process-grid,
  .case-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-feature {
    position: static;
  }

  .prompt-case.large,
  .prompt-case.wide,
  .case-card-image.large,
  .case-card-image.wide {
    grid-column: span 1;
  }

  .prompt-case.tall,
  .prompt-case.large,
  .case-card-image.tall,
  .case-card-image.large {
    grid-row: span 1;
  }

  .creator-card {
    grid-template-columns: 1fr;
  }

  .creator-body {
    padding: 0 18px 18px;
  }

  .profile-hero-card > img,
  .profile-copy {
    min-height: auto;
  }

  .detail-layout,
  .admin-layout {
    padding-bottom: 60px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .topbar,
  .hero-shell,
  .section,
  .page-hero,
  .order-layout,
  .detail-layout,
  .admin-layout,
  .service-strip {
    width: min(100% - 24px, 1180px);
  }

  .site-header,
  .topbar {
    top: 8px;
    width: calc(100% - 18px);
    min-height: 58px;
    padding: 9px;
    border-radius: 28px;
  }

  .brand span:last-child {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-cta,
  .topbar .button.dark {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 14px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .hero-shell {
    padding-top: 52px;
  }

  .hero-board {
    min-height: 480px;
  }

  .service-strip,
  .service-catalog,
  .creator-catalog,
  .creator-card,
  .process-grid,
  .case-masonry,
  .tool-links,
  .showcase-grid,
  .field-pair,
  .reference-grid,
  .upload-choice-grid,
  .delivery-gallery,
  .creator-actions,
  .chat-form,
  .profile-work-grid {
    grid-template-columns: 1fr;
  }

  .merchant-layout {
    width: min(100% - 24px, 1180px);
    grid-template-columns: 1fr;
  }

  .merchant-detail-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brief"
      "quote"
      "uploads"
      "chat"
      "preview";
  }

  .chat-bubble {
    max-width: 100%;
  }

  .showcase-grid {
    grid-auto-rows: auto;
  }

  .showcase-grid img,
  .delivery-gallery img {
    height: auto;
    aspect-ratio: 1 / 0.72;
  }

  .catalog-toolbar,
  .order-status-head {
    align-items: stretch;
    flex-direction: column;
  }

  .merchant-console-shell,
  .merchant-console-header,
  .merchant-orders-layout,
  .merchant-card-grid {
    grid-template-columns: 1fr;
  }

  .merchant-claim-grid {
    grid-template-columns: 1fr;
  }

  .merchant-console-sidebar {
    position: relative;
    height: auto;
  }

  .merchant-console-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .merchant-console-stats {
    grid-template-columns: 1fr;
  }

  .merchant-section-head {
    align-items: stretch;
    flex-direction: column;
  }
}
