:root {
  color-scheme: light;
  --ink: #121826;
  --muted: #667085;
  --line: #d9e0ea;
  --soft: #f5f7fb;
  --paper: #ffffff;
  --accent: #c93d13;
  --accent-dark: #9f2f0e;
  --green: #0f6b45;
  --yellow: #915f00;
  --red: #a12b1f;
  --admin-bg: #0f172a;
  --admin-panel: #111827;
  --admin-line: #334155;
  --admin-text: #e5e7eb;
  --admin-muted: #94a3b8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.public-page {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 61, 19, .10), transparent 28%),
    radial-gradient(circle at 82% 4%, rgba(15, 107, 69, .10), transparent 26%),
    linear-gradient(180deg, #fff 0, #f2f5f9 52%, #eef2f7 100%);
  line-height: 1.55;
}

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

.wrap { width: min(1480px, calc(100vw - 96px)); margin: 0 auto; }

.legalbar {
  background: #fff3ec;
  border-bottom: 1px solid #f1cfbf;
  color: #3d1b0d;
  font-weight: 700;
  text-align: center;
  padding: 10px 18px;
  letter-spacing: .01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--accent);
  border: 1px solid #f0b095;
  border-radius: 999px;
  padding: 7px 13px;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-weight: 700;
  padding: 10px 13px;
  border-radius: 999px;
}

nav a.active,
nav a:hover {
  background: #fff1e9;
  color: #8d310f;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.lang-switch a {
  padding: 7px 9px;
  font-size: 13px;
  letter-spacing: .04em;
}

.hero { padding: clamp(56px, 7vw, 104px) 0 clamp(44px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: clamp(42px, 7vw, 96px); align-items: center; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-weight: 900; font-size: 13px; }
body.public-page h1 { margin: 14px 0 18px; font-size: clamp(48px, 5.8vw, 92px); line-height: .95; letter-spacing: -.06em; max-width: 960px; }
body.public-page h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: -.04em; }
body.public-page h3 { margin: 0 0 8px; font-size: 21px; }
body.public-page p { margin: 0 0 16px; font-size: 19px; color: #273244; max-width: 820px; }
.muted { color: var(--muted); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 900;
  border: 1px solid var(--line);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(201, 61, 19, .18);
}

.btn.primary:hover { background: var(--accent-dark); }
.btn.secondary { background: #fff; color: var(--ink); }

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(18, 24, 38, .07);
  padding: 24px;
}

.status-card { padding: 28px; }
.status-note {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #4b5563;
}
.status-row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.status-row:last-child { border-bottom: 0; }
.status-row strong { font-size: 14px; color: #475467; letter-spacing: .02em; }
.status-row span { color: #111827; font-size: 15px; font-weight: 600; text-align: right; max-width: 230px; line-height: 1.4; }

body.public-page section { padding: 64px 0; }
.split { display: grid; grid-template-columns: minmax(360px, .72fr) minmax(720px, 1.28fr); gap: clamp(42px, 6vw, 88px); align-items: start; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(340px, 1fr)); gap: 20px; }
.card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; min-height: 180px; }
.card .num { color: var(--accent); font-weight: 900; letter-spacing: .16em; margin-bottom: 22px; }
.card p,
body.public-page .card p { font-size: 17px; line-height: 1.45; }
.process-cards { grid-template-columns: repeat(2, minmax(340px, 1fr)); }
.process-cards .card { min-height: 210px; }
.scope-list { display: grid; gap: 12px; }
.scope-item { padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.scope-item strong { display: block; }
.warning { background: #171b25; color: #fff; border-radius: 32px; padding: 42px; }
.warning p,
body.public-page .warning p { color: #d9dfeb; }
.lane-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 28px;
}
.lane-grid span {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  color: #f8fafc;
  font-weight: 800;
  line-height: 1.25;
}
.buyer-supplier {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.buyer-supplier .panel { padding: 34px; }
.clean-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.clean-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
  color: #344054;
  font-weight: 750;
}

form { display: grid; gap: 18px; }
label { display: grid; gap: 7px; color: #344054; font-weight: 800; }
input, select, textarea, button {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd7e3;
  border-radius: 12px;
  padding: 11px 13px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 118px; resize: vertical; }
button { cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.full { grid-column: 1 / -1; }
.request-panel { padding: 28px; }
.notice { font-size: 15px; color: var(--muted); }
.checkout-page {
  background: #f6f7f9;
}
.checkout-shell { padding: 26px 0 54px; }
.checkout-form-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  border-bottom: 2px solid #111827;
  padding-bottom: 18px;
}
.checkout-private {
  margin: 0 0 8px;
  color: #475467;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.checkout-page h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.checkout-form-header p { font-size: 17px; }
.checkout-total {
  background: #fff;
  color: #111827;
  border: 1px solid #cfd7e3;
  border-radius: 12px;
  padding: 18px;
}
.checkout-total span,
.checkout-total small { display: block; color: #667085; font-weight: 800; }
.checkout-total strong { display: block; margin: 8px 0; font-size: 28px; line-height: 1; }
.checkout-form-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.checkout-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.checkout-summary,
.checkout-form-panel,
.checkout-details {
  border-radius: 14px;
  box-shadow: none;
}
.checkout-dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 14px; margin: 0; }
.checkout-dl dt { color: var(--muted); font-weight: 900; }
.checkout-dl dd { margin: 0; font-weight: 750; }
.checkout-note {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  white-space: pre-wrap;
}
.checkout-summary h3 { margin: 22px 0 10px; }
.checkout-downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.checkout-table { width: 100%; border-collapse: collapse; }
.checkout-table th,
.checkout-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.checkout-table th { background: #f8fafc; font-size: 14px; color: #475467; }
.checkout-scope-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.acceptance-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  padding: 18px;
}
.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 800;
  margin-bottom: 10px;
}
.checkline input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  min-height: auto;
  height: 18px;
  margin-top: 4px;
  padding: 0;
}
.payment-card { border-color: rgba(15, 107, 69, .35); }
.legal { max-width: 860px; padding: 48px 0 80px; }
body.public-page .legal h1 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -.025em;
  max-width: 720px;
}
.legal p, .legal li { font-size: 17px; color: #344054; }

footer { border-top: 1px solid var(--line); background: #fff; padding: 32px 0; color: #667085; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: #475467; font-weight: 700; }

body.artists-page {
  margin: 0;
  color: #f4f1e8;
  background:
    radial-gradient(circle at 12% 0%, rgba(194, 155, 91, .20), transparent 32%),
    radial-gradient(circle at 88% 6%, rgba(69, 118, 143, .22), transparent 34%),
    linear-gradient(135deg, #101722 0%, #17202c 48%, #0b111a 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.artist-wrap {
  width: min(1180px, calc(100vw - 44px));
  margin: 0 auto;
}

.artist-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  background: rgba(12, 18, 28, .82);
  border-bottom: 1px solid rgba(244, 241, 232, .13);
  backdrop-filter: blur(16px);
}

.artist-brand {
  color: #f7d79a;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.artist-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.artist-nav a {
  color: rgba(244, 241, 232, .74);
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 999px;
}

.artist-nav a:hover,
.artist-lang a.active {
  color: #101722;
  background: #f7d79a;
}

.artist-lang {
  display: inline-flex;
  gap: 3px;
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid rgba(244, 241, 232, .18);
}

.artist-lang a {
  font-size: 13px;
  letter-spacing: .06em;
}

.artist-hero {
  padding: clamp(68px, 10vw, 130px) 0 clamp(46px, 7vw, 86px);
}

.artist-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .55fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.artist-eyebrow {
  color: #f7d79a;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .22em;
  text-transform: uppercase;
}

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

.artists-page h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: .98;
  letter-spacing: -.055em;
}

.artists-page h2 {
  margin-bottom: 14px;
  font-size: clamp(27px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.artists-page h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.artist-lead {
  max-width: 760px;
  color: rgba(244, 241, 232, .88);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.35;
}

.artist-focus,
.artist-section p,
.artist-footer {
  color: rgba(244, 241, 232, .72);
}

.artist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.artist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(244, 241, 232, .22);
  border-radius: 12px;
  color: #f4f1e8;
  font-weight: 900;
}

.artist-btn.primary {
  color: #101722;
  background: #f7d79a;
  border-color: #f7d79a;
  box-shadow: 0 18px 44px rgba(247, 215, 154, .12);
}

.artist-panel,
.artist-cards article,
.artist-step,
.artist-boundary,
.artist-contact {
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(244, 241, 232, .14);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .18);
}

.artist-positioning {
  padding: 26px;
}

.artist-positioning p {
  margin-bottom: 18px;
  color: #f4f1e8;
  font-size: 19px;
  font-weight: 900;
}

.artist-positioning div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(244, 241, 232, .13);
}

.artist-positioning strong {
  color: rgba(244, 241, 232, .58);
}

.artist-positioning span {
  max-width: 210px;
  text-align: right;
  color: #f4f1e8;
  font-weight: 800;
}

.artist-section {
  padding: clamp(42px, 7vw, 82px) 0;
}

.artist-cards {
  display: grid;
  gap: 18px;
}

.artist-cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.artist-cards article {
  padding: 25px;
}

.artist-cards p {
  margin-bottom: 0;
  font-size: 17px;
}

.artist-split {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 7vw, 82px);
  align-items: start;
}

.artist-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.artist-checklist li {
  padding: 13px 15px;
  border: 1px solid rgba(244, 241, 232, .13);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
  color: rgba(244, 241, 232, .86);
  font-weight: 760;
}

.artist-checklist.compact li,
.artist-checklist.muted li {
  font-weight: 680;
}

.artist-checklist.muted li {
  color: rgba(244, 241, 232, .64);
}

.artist-section-head {
  max-width: 820px;
  margin-bottom: 24px;
}

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

.artist-step {
  padding: 25px;
}

.artist-step span {
  display: inline-flex;
  margin-bottom: 28px;
  color: #f7d79a;
  font-weight: 950;
  letter-spacing: .16em;
}

.artist-boundary,
.artist-contact {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 30px;
  padding: clamp(26px, 5vw, 42px);
}

.artist-contact-section {
  padding-bottom: 96px;
}

.artist-note {
  margin-bottom: 0;
  font-size: 16px;
}

.artist-email {
  align-self: center;
  justify-self: end;
  color: #101722;
  background: #f7d79a;
  border-radius: 18px;
  padding: 22px 24px;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 950;
  letter-spacing: -.02em;
}

.artist-footer {
  border-top: 1px solid rgba(244, 241, 232, .13);
  padding: 28px 0;
  font-size: 14px;
}

@media (max-width: 920px) {
  .artist-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .artist-hero-grid,
  .artist-split,
  .artist-boundary,
  .artist-contact {
    grid-template-columns: 1fr;
  }
  .artist-cards.three,
  .artist-steps,
  .artist-checklist {
    grid-template-columns: 1fr;
  }
  .artist-email {
    justify-self: start;
    width: 100%;
    text-align: center;
  }
}

body:not(.public-page):not(.artists-page) {
  background: var(--admin-bg);
  color: var(--admin-text);
}

body:not(.public-page):not(.artists-page) .wrap { max-width: 1100px; padding: 20px; }
body:not(.public-page):not(.artists-page) header { border-bottom: 1px solid var(--admin-line); }
body:not(.public-page):not(.artists-page) .nav { justify-content: flex-start; min-height: auto; }
body:not(.public-page):not(.artists-page) a { color: #93c5fd; }
body:not(.public-page):not(.artists-page) .panel {
  background: var(--admin-panel);
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  box-shadow: none;
  margin-bottom: 20px;
}
body:not(.public-page):not(.artists-page) .grid { display: grid; gap: 20px; }
body:not(.public-page):not(.artists-page) .grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
body:not(.public-page):not(.artists-page) input,
body:not(.public-page):not(.artists-page) textarea,
body:not(.public-page):not(.artists-page) select,
body:not(.public-page):not(.artists-page) button {
  border: 1px solid var(--admin-line);
  background: #0b1220;
  color: var(--admin-text);
}
body:not(.public-page):not(.artists-page) table { width: 100%; border-collapse: collapse; }
body:not(.public-page):not(.artists-page) th,
body:not(.public-page):not(.artists-page) td { text-align: left; border-bottom: 1px solid var(--admin-line); padding: 10px; }
body:not(.public-page):not(.artists-page) .admin-inline-form { margin-top: 18px; }
body:not(.public-page):not(.artists-page) .checkline { color: var(--admin-muted); }
body:not(.public-page):not(.artists-page) .btn.secondary { background: #0b1220; color: #bfdbfe; border-color: var(--admin-line); }
.admin-hero { padding: 28px; }
.admin-hero h1 { margin: 8px 0 10px; font-size: clamp(28px, 5vw, 44px); line-height: 1.05; }
.admin-hero .actions { margin-top: 18px; }
.kicker { margin: 0 0 8px; color: #f59e0b; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.admin-subtle { margin: 0; color: var(--admin-muted); max-width: 760px; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 20px 0; }
.metric-card { padding: 22px; }
.metric-label { display: block; color: var(--admin-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.metric-value { display: block; margin-top: 8px; font-size: 34px; line-height: 1; }
.pipeline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.queue-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.queue-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--admin-line); }
.queue-list li:last-child { border-bottom: 0; }
.queue-list span { color: var(--admin-muted); }
.table-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.table-head h2 { margin: 0; }
.table-note { margin-top: 6px; font-size: 12px; color: var(--admin-muted); }
.case-thread h2 { margin: 4px 0 8px; }
.thread-next { margin: 0; max-width: 820px; color: var(--admin-text); }
.needed-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; list-style: none; }
.needed-list li { border: 1px solid var(--admin-line); border-radius: 999px; padding: 6px 10px; color: var(--admin-muted); }
.thread-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.thread-steps li { border: 1px solid var(--admin-line); border-radius: 8px; padding: 12px; color: var(--admin-muted); min-height: 70px; }
.thread-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin-bottom: 8px; color: var(--admin-muted); font-weight: 800; font-size: 12px; }
.thread-steps { counter-reset: step; }
.thread-steps li.done { border-color: rgba(34, 197, 94, .45); color: var(--admin-text); background: rgba(34, 197, 94, .08); }
.thread-steps li.done::before { color: #86efac; }

.badge { display: inline-block; padding: 4px 8px; border-radius: 999px; text-transform: uppercase; font-size: 12px; font-weight: 800; }
.badge.green { background: var(--green); color: #fff; }
.badge.yellow { background: var(--yellow); color: #fff; }
.badge.red { background: var(--red); color: #fff; }
dl { display: grid; grid-template-columns: 180px 1fr; gap: 8px; }
dt { color: var(--admin-muted); }
.audit { list-style: none; padding: 0; }
.audit li { padding: 12px 0; border-bottom: 1px solid var(--admin-line); }
pre { white-space: pre-wrap; background: #020617; padding: 10px; border-radius: 8px; overflow: auto; }

@media (max-width: 860px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .hero { padding: 52px 0 34px; }
  .hero-grid, .split, .footer-grid, .cards, .form-grid, .buyer-supplier, .lane-grid { grid-template-columns: 1fr; }
  .checkout-form-header, .checkout-form-grid, .checkout-grid, .checkout-dl, .checkout-scope-columns { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  nav { gap: 4px; }
  .warning { padding: 28px; }
  .footer-links { justify-content: flex-start; }
  .thread-steps { grid-template-columns: 1fr 1fr; }
}
