:root {
  color-scheme: dark;
  --bg: #0a0d0e;
  --bg-soft: #111719;
  --panel: rgba(19, 24, 25, 0.82);
  --panel-strong: rgba(25, 30, 31, 0.94);
  --line: rgba(232, 218, 191, 0.18);
  --line-strong: rgba(242, 190, 92, 0.55);
  --text: #f5f1e9;
  --muted: #a9a49b;
  --muted-2: #746f66;
  --gold: #f2b85b;
  --gold-2: #ffd47e;
  --teal: #7ac4bd;
  --danger: #dd806f;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  --max: 1180px;
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(242, 184, 91, 0.025) 1px, transparent 1px) center top / 240px 240px,
    radial-gradient(circle at 78% 8%, rgba(242, 184, 91, 0.09), transparent 25rem),
    linear-gradient(180deg, #090b0c 0%, #111719 42%, #090b0c 100%);
  min-width: 320px;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 40px, 1240px);
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(232, 218, 191, 0.12);
  background: rgba(8, 10, 11, 0.72);
}

.brand,
.header-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1b1205;
  font-size: 14px;
  line-height: 1;
}

.nav-links {
  gap: 42px;
  color: #d9d2c6;
  font-size: 14px;
}

.nav-links a,
.login-link {
  opacity: 0.86;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.login-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-links a:hover,
.login-link:hover {
  color: var(--gold-2);
  opacity: 1;
}

.header-actions {
  gap: 22px;
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: rgba(255, 205, 128, 0.8);
  color: #201507;
  background: linear-gradient(180deg, #ffd37a 0%, #f0ae4f 100%);
  box-shadow: 0 12px 36px rgba(242, 184, 91, 0.26);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover {
  border-color: rgba(255, 221, 160, 0.58);
}

.button-large {
  min-width: 150px;
  min-height: 58px;
  padding-inline: 34px;
  font-size: 16px;
}

.mobile-break {
  display: none;
}

.desktop-inline {
  display: inline;
}

.section-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(540px, 1fr);
  gap: 52px;
  align-items: center;
  min-height: 690px;
  padding: 78px 0 72px;
}

.hero::before {
  position: absolute;
  inset: -92px calc((100vw - 100%) / -2) 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 10, 11, 0.98) 0%, rgba(8, 10, 11, 0.92) 31%, rgba(8, 10, 11, 0.58) 62%, rgba(8, 10, 11, 0.85) 100%),
    linear-gradient(0deg, rgba(8, 10, 11, 0.94) 0%, rgba(8, 10, 11, 0.12) 42%, rgba(8, 10, 11, 0.52) 100%),
    url("./assets/hero-studio-bg.png") center center / cover no-repeat;
}

.hero::after {
  position: absolute;
  left: calc((100vw - 100%) / -2);
  right: calc((100vw - 100%) / -2);
  bottom: 0;
  z-index: -1;
  height: 1px;
  content: "";
  background: rgba(232, 218, 191, 0.13);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 12px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 5.4vw, 82px);
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-subtitle {
  max-width: 550px;
  margin-bottom: 32px;
  color: #dfd8cb;
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions,
.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.value-chips {
  margin-top: 28px;
}

.value-chips span,
.pricing-notes span,
.case-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(242, 184, 91, 0.22);
  border-radius: 999px;
  color: #ead9b7;
  background: rgba(242, 184, 91, 0.08);
  font-size: 13px;
}

.hero-stage {
  position: relative;
  aspect-ratio: 1672 / 941;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 184, 91, 0.28);
  border-radius: var(--radius);
  background: rgba(5, 7, 8, 0.68);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.66);
  transform: translateY(10px);
}

.case-image::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 7, 8, 0.12), transparent 45%),
    linear-gradient(0deg, rgba(5, 7, 8, 0.76), transparent 60%);
}

.hero-stage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.workflow,
.features,
.case-section,
.gallery-section,
.submit-section,
.pricing,
.faq {
  padding: 76px 0;
  border-top: 1px solid rgba(232, 218, 191, 0.1);
}

.workflow h2,
.section-heading h2,
.faq h2,
.final-cta h2 {
  margin-bottom: 34px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.18;
  text-align: center;
  overflow-wrap: break-word;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}

.step-card,
.feature-card,
.price-card,
.faq-list details {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(11, 14, 15, 0.78);
}

.step-card {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 236px;
  padding: 34px 30px;
  text-align: center;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border: 1px solid rgba(242, 184, 91, 0.44);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 800;
}

.step-card h3,
.feature-card h3,
.price-card h3,
.case-copy h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.step-card p,
.feature-card p,
.price-card p,
.faq p,
.case-copy p,
.final-cta p {
  color: var(--muted);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.step-arrow {
  align-self: center;
  color: var(--gold);
  font-size: 28px;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

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

.feature-card {
  min-height: 420px;
  padding: 26px;
  overflow: hidden;
}

.script-lines {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 13px;
  border: 1px solid rgba(232, 218, 191, 0.12);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.18);
}

.script-lines span {
  display: block;
  padding: 11px;
  border: 1px solid rgba(242, 184, 91, 0.14);
  border-radius: 5px;
  color: #c8c0b2;
  font-size: 12px;
  line-height: 1.55;
}

.script-lines b {
  color: var(--gold);
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.thumb-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.76;
  border: 1px solid rgba(242, 184, 91, 0.18);
  border-radius: 6px;
  object-fit: cover;
}

.branch-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  align-content: center;
  min-height: 210px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(232, 218, 191, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(rgba(242, 184, 91, 0.34), rgba(242, 184, 91, 0.34)) 50% 50px / 1px calc(100% - 98px) no-repeat,
    linear-gradient(90deg, transparent, rgba(242, 184, 91, 0.34) 18%, rgba(242, 184, 91, 0.34) 82%, transparent) 50% 86px / 70% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(242, 184, 91, 0.26) 18%, rgba(242, 184, 91, 0.26) 82%, transparent) 50% 154px / 70% 1px no-repeat,
    radial-gradient(circle at 50% 42%, rgba(35, 123, 212, 0.2), transparent 42%),
    rgba(255, 255, 255, 0.015);
}

.branch-map::before {
  position: absolute;
  inset: 18px;
  content: "";
  border-radius: 6px;
  background-image:
    linear-gradient(rgba(232, 218, 191, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 218, 191, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(232, 218, 191, 0.18);
  border-radius: 6px;
  color: #e5ddcf;
  background: #131819;
  font-size: 13px;
}

.node-main {
  grid-column: 1 / -1;
  width: min(190px, 64%);
  justify-self: center;
  border-color: rgba(242, 184, 91, 0.52);
  color: var(--gold-2);
}

.dashboard-preview {
  margin-top: 24px;
}

.dashboard-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1.84 / 1;
  border: 1px solid rgba(242, 184, 91, 0.16);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.case-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.case-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.case-strip span {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(242, 184, 91, 0.18);
  border-radius: 6px;
  color: #d9c9a7;
  background: rgba(242, 184, 91, 0.055);
  font-size: 13px;
  text-align: center;
}

.case-image {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 6px;
  background: #080a0b;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 14px 20px 8px;
}

.case-copy h3 {
  margin-top: 22px;
  font-size: clamp(36px, 4vw, 58px);
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 28px;
}

.case-stats span {
  display: grid;
  gap: 4px;
  padding: 14px 12px;
  border: 1px solid rgba(242, 184, 91, 0.18);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
}

.case-stats b {
  color: var(--gold);
  font-size: 26px;
}

.submit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.upload-panel,
.task-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(11, 14, 15, 0.78);
}

.upload-panel {
  padding: 28px;
}

.upload-guest {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 380px;
}

.upload-guest h3,
.task-panel h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.upload-guest p,
.task-empty,
.task-card p,
.task-message {
  color: var(--muted);
  line-height: 1.7;
}

.task-form {
  display: grid;
  gap: 16px;
}

.task-form[hidden],
.upload-guest[hidden] {
  display: none;
}

.task-form label {
  display: grid;
  gap: 9px;
  color: #ded6c8;
  font-size: 14px;
  font-weight: 700;
}

.task-form input,
.task-form textarea,
.admin-key-row input,
.admin-key-row select {
  width: 100%;
  border: 1px solid rgba(232, 218, 191, 0.16);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  outline: none;
}

.task-form input,
.admin-key-row input,
.admin-key-row select {
  min-height: 46px;
  padding: 0 13px;
}

.task-form textarea {
  min-height: 178px;
  padding: 13px;
  resize: vertical;
}

.task-form input:focus,
.task-form textarea:focus,
.password-row input:focus,
.admin-key-row input:focus,
.admin-key-row select:focus {
  border-color: rgba(255, 205, 128, 0.72);
  box-shadow: 0 0 0 3px rgba(242, 184, 91, 0.12);
}

.task-form .button {
  width: 100%;
  min-height: 50px;
}

.task-message {
  min-height: 24px;
  margin: 0;
  color: var(--danger);
  font-size: 13px;
}

.task-message.is-success {
  color: var(--teal);
}

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

.gallery-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px dashed rgba(232, 218, 191, 0.2);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.14);
}

.gallery-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 230px;
  padding: 20px;
  border: 1px solid rgba(232, 218, 191, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(11, 14, 15, 0.78);
}

.gallery-id {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.gallery-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.gallery-meta,
.task-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-meta span,
.task-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(232, 218, 191, 0.14);
  border-radius: 999px;
  color: #d2c8b7;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
}

.task-panel {
  padding: 22px;
}

.task-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.task-refresh {
  min-height: 36px;
  padding-inline: 14px;
  font-size: 13px;
}

.task-list {
  display: grid;
  gap: 12px;
}

.task-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(232, 218, 191, 0.2);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.14);
  font-size: 13px;
}

.task-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.task-stats[hidden] {
  display: none;
}

.task-stats span {
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding: 11px 10px;
  border: 1px solid rgba(232, 218, 191, 0.14);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.14);
  font-size: 12px;
}

.task-stats b {
  color: var(--gold-2);
  font-size: 20px;
  line-height: 1;
}

.task-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(232, 218, 191, 0.14);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.16);
}

.task-card strong {
  color: var(--gold-2);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.task-card h4 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.task-meta span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(232, 218, 191, 0.14);
  border-radius: 999px;
  color: #d2c8b7;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
}

.status-pill {
  border-color: rgba(122, 196, 189, 0.38);
  color: var(--teal);
}

.task-card a {
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 700;
}

.task-settings {
  display: grid;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(232, 218, 191, 0.1);
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #dcd2c2;
  font-size: 13px;
  font-weight: 700;
}

.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.password-row input {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(232, 218, 191, 0.16);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  outline: none;
}

.password-row .button,
.task-actions .button {
  min-height: 36px;
  padding-inline: 12px;
  font-size: 12px;
}

.task-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.admin-page {
  min-height: 100vh;
}

.admin-main {
  padding: 72px 0 96px;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(640px, 0.9fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 24px;
}

.admin-toolbar h1 {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 68px);
}

.admin-key-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(150px, 0.65fr) minmax(130px, 0.55fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.admin-key-row .button {
  min-height: 46px;
}

.admin-message {
  margin: 0 0 14px;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-summary span {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(232, 218, 191, 0.16);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.admin-summary b {
  color: var(--gold-2);
  font-size: 28px;
  line-height: 1;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 14, 15, 0.78);
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 15px 14px;
  border-bottom: 1px solid rgba(232, 218, 191, 0.1);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.55;
}

.admin-table th {
  color: #ead9b7;
  background: rgba(242, 184, 91, 0.06);
  font-size: 12px;
  letter-spacing: 0;
}

.admin-table td {
  color: #d8d0c4;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table strong,
.admin-table a {
  color: var(--gold-2);
}

.admin-mini-button {
  display: block;
  width: max-content;
  min-height: 26px;
  margin-top: 8px;
  padding: 0 9px;
  border: 1px solid rgba(232, 218, 191, 0.16);
  border-radius: 5px;
  color: #d8cfbf;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  cursor: pointer;
}

.admin-control {
  width: 100%;
  min-height: 34px;
  margin-top: 8px;
  padding: 0 9px;
  border: 1px solid rgba(232, 218, 191, 0.16);
  border-radius: 5px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  outline: none;
}

.admin-note {
  min-width: 180px;
  min-height: 74px;
  padding: 8px 9px;
  resize: vertical;
}

.admin-save {
  width: 100%;
  min-height: 34px;
  margin-top: 8px;
  padding-inline: 10px;
  font-size: 12px;
}

.admin-title {
  color: var(--text);
  font-weight: 800;
}

.admin-story {
  max-width: 380px;
  margin-top: 6px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-share {
  margin-top: 6px;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 435px;
  padding: 34px;
}

.featured-price {
  border-color: var(--line-strong);
  box-shadow: 0 18px 58px rgba(242, 184, 91, 0.12);
}

.recommend {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 999px;
  color: #211506;
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.price {
  margin: 8px 0;
  color: var(--gold);
  font-size: 46px;
  font-weight: 800;
}

.price span,
.price small {
  color: #dfd4bf;
  font-size: 18px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
  color: #c6beb1;
}

.price-card li::before {
  content: "•";
  color: var(--gold);
  margin-right: 9px;
}

.price-card .button {
  margin-top: auto;
}

.pricing-notes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.faq h2 {
  text-align: left;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  color: #efe7d7;
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 13px 0 0;
}

.final-cta {
  position: relative;
  z-index: 1;
  min-height: 430px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 88px 24px;
  border-top: 1px solid rgba(232, 218, 191, 0.1);
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 11, 0.76), rgba(8, 10, 11, 0.5) 50%, rgba(8, 10, 11, 0.76)),
    linear-gradient(0deg, rgba(8, 10, 11, 0.9), rgba(8, 10, 11, 0.34)),
    url("./assets/final-cta-studio-bg.png") center center / cover;
  filter: saturate(0.82);
}

.final-cta-content {
  position: relative;
  display: grid;
  justify-items: center;
  max-width: 740px;
  text-align: center;
}

.final-cta p {
  margin-bottom: 28px;
  font-size: 18px;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 64px, var(--max));
  margin: 0 auto;
  padding: 28px 0 38px;
  color: var(--muted-2);
  font-size: 13px;
}

.mobile-sticky-cta {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

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

.auth-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 6, 7, 0.72);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.auth-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 30px;
  border: 1px solid rgba(242, 184, 91, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    #0c1011;
  box-shadow: var(--shadow);
}

.auth-panel h2 {
  margin-bottom: 22px;
  font-size: 30px;
  line-height: 1.18;
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(232, 218, 191, 0.16);
  border-radius: 6px;
  color: #d8cfbf;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
  padding: 5px;
  border: 1px solid rgba(232, 218, 191, 0.12);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.18);
}

.auth-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.auth-tabs button.is-active {
  color: #201507;
  background: linear-gradient(180deg, #ffd37a 0%, #f0ae4f 100%);
}

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

.auth-form label {
  display: grid;
  gap: 8px;
  color: #ded6c8;
  font-size: 14px;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(232, 218, 191, 0.16);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  outline: none;
}

.auth-form input:focus {
  border-color: rgba(255, 205, 128, 0.72);
  box-shadow: 0 0 0 3px rgba(242, 184, 91, 0.12);
}

.auth-form .button {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
}

.auth-helper,
.auth-message,
.auth-session p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.auth-message {
  min-height: 22px;
  color: var(--danger);
}

.auth-message.is-success {
  color: var(--teal);
}

.auth-session {
  display: grid;
  gap: 20px;
}

.auth-session[hidden],
.auth-entry[hidden] {
  display: none;
}

.auth-session p {
  margin-top: 0;
}

.auth-session strong {
  color: var(--gold-2);
}

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

.play-page {
  min-height: 100vh;
}

.play-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 92px);
  padding: 62px 0 92px;
}

.play-panel {
  width: min(100%, 520px);
  padding: 34px;
  border: 1px solid rgba(242, 184, 91, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    #0c1011;
  box-shadow: var(--shadow);
}

.play-panel h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
}

.play-message {
  min-height: 26px;
  margin: 0 0 18px;
  color: var(--danger);
  line-height: 1.65;
}

.play-message.is-success {
  color: var(--teal);
}

.play-form {
  display: grid;
  gap: 14px;
  margin: 12px 0 16px;
}

.play-form[hidden] {
  display: none;
}

.play-form label {
  display: grid;
  gap: 8px;
  color: #ded6c8;
  font-size: 14px;
  font-weight: 700;
}

.play-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(232, 218, 191, 0.16);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  outline: none;
}

.play-form input:focus {
  border-color: rgba(255, 205, 128, 0.72);
  box-shadow: 0 0 0 3px rgba(242, 184, 91, 0.12);
}

.play-form .button,
.play-back {
  width: 100%;
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
  }

  .hero-stage {
    min-height: 0;
    transform: none;
  }

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

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

  .case-hero,
  .submit-grid,
  .admin-toolbar,
  .faq {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    gap: 16px;
  }
}

@media (max-width: 760px) {
  body {
    min-width: 0;
    padding-bottom: 78px;
    background:
      radial-gradient(circle at 75% -6%, rgba(242, 184, 91, 0.12), transparent 18rem),
      linear-gradient(180deg, #090b0c 0%, #0f1415 38%, #090b0c 100%);
  }

  body::before {
    opacity: 0.2;
    background-size: 56px 56px;
  }

  .site-header {
    width: 100%;
    min-height: 58px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(232, 218, 191, 0.08);
    background: rgba(8, 10, 11, 0.78);
  }

  .brand {
    gap: 8px;
    font-size: 18px;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 12px;
  }

  .login-link,
  .header-actions .button {
    display: none;
  }

  .section-shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero {
    gap: 22px;
    padding-top: 24px;
    padding-bottom: 46px;
  }

  .hero::before {
    inset: -72px calc((100vw - 100%) / -2) 0;
    background:
      linear-gradient(180deg, rgba(8, 10, 11, 0.86) 0%, rgba(8, 10, 11, 0.96) 42%, rgba(8, 10, 11, 0.86) 100%),
      url("./assets/hero-studio-bg.png") 57% top / auto 440px no-repeat;
  }

  .hero-copy {
    padding-top: 0;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
  }

  h1 {
    max-width: 8em;
    margin-bottom: 16px;
    font-size: clamp(38px, 10.2vw, 44px);
    line-height: 1.08;
  }

  .hero-subtitle {
    max-width: 22em;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .value-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 11px;
    margin-top: 14px;
  }

  .value-chips span,
  .pricing-notes span,
  .case-tag {
    justify-content: center;
    min-height: 30px;
    padding: 0 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .value-chips span {
    flex: 0 0 auto;
    min-height: 0;
    padding: 0;
    border: 0;
    color: #d8c7a4;
    background: transparent;
    font-size: 12px;
  }

  .value-chips span + span::before {
    width: 4px;
    height: 4px;
    margin-right: 11px;
    border-radius: 50%;
    background: rgba(242, 184, 91, 0.58);
    content: "";
  }

  .mobile-break {
    display: block;
  }

  .desktop-inline {
    display: none;
  }

  .workflow h2,
  .section-heading h2,
  .faq h2,
  .final-cta h2 {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: clamp(28px, 7.6vw, 32px);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .button {
    border-radius: 7px;
  }

  .button-large {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding-inline: 16px;
    font-size: 15px;
  }

  .hero-stage,
  .hero-stage img {
    min-height: 0;
  }

  .hero-stage {
    border-color: rgba(242, 184, 91, 0.34);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.58);
  }

  .hero-stage img {
    height: 100%;
    object-position: center;
  }

  .step-arrow {
    display: none;
  }

  .steps,
  .feature-grid,
  .pricing-grid,
  .case-strip {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 12px;
  }

  .step-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "copy copy";
    align-items: flex-start;
    justify-items: start;
    height: auto;
    min-height: 0;
    padding: 18px 16px;
    gap: 7px 14px;
    overflow: visible;
    text-align: left;
  }

  .step-card > *,
  .feature-card > *,
  .price-card > *,
  .case-copy > * {
    min-width: 0;
  }

  .step-icon {
    grid-area: icon;
    width: 44px;
    height: 44px;
    margin: 2px 0 0;
    font-size: 13px;
  }

  .step-card h3 {
    grid-area: title;
    align-self: center;
    justify-self: start;
    margin-bottom: 0;
    font-size: 20px;
  }

  .step-card p {
    grid-area: copy;
    margin: 5px 0 0;
  }

  .step-card p,
  .feature-card p,
  .price-card p,
  .case-copy p {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    font-size: 14px;
    line-height: 1.65;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: anywhere;
  }

  .step-card p {
    font-size: 13px;
    line-height: 1.58;
    overflow: visible;
  }

  .feature-card,
  .price-card,
  .case-hero,
  .faq-list details {
    overflow: hidden;
  }

  .script-lines span,
  .node,
  .case-strip span,
  .price-card li,
  .faq-list summary,
  .faq-list p {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: anywhere;
  }

  .section-heading {
    margin-bottom: 24px;
    text-align: left;
  }

  .section-heading h2,
  .faq h2,
  .workflow h2 {
    text-align: left;
  }

  .feature-card {
    min-height: auto;
    padding: 20px;
  }

  .feature-card h3,
  .price-card h3,
  .case-copy h3 {
    font-size: 21px;
  }

  .script-lines {
    gap: 8px;
    margin-top: 16px;
    padding: 10px;
  }

  .script-lines span {
    padding: 9px;
  }

  .thumb-grid {
    gap: 8px;
    margin-top: 16px;
  }

  .thumb-grid img {
    aspect-ratio: 1 / 0.72;
  }

  .branch-map {
    gap: 10px;
    margin-top: 16px;
  }

  .branch-map::before {
    display: none;
  }

  .node {
    width: 100%;
    min-height: 36px;
  }

  .dashboard-preview {
    margin-top: 16px;
  }

  .workflow,
  .features,
  .case-section,
  .gallery-section,
  .submit-section,
  .pricing,
  .faq {
    padding: 56px 0;
  }

  .case-hero {
    gap: 18px;
    padding: 10px;
  }

  .case-image {
    min-height: 0;
    aspect-ratio: 1 / 0.74;
  }

  .case-copy {
    padding: 2px 4px 8px;
  }

  .case-copy h3 {
    margin-top: 16px;
    font-size: 34px;
  }

  .case-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin: 18px 0 22px;
  }

  .case-stats span {
    min-width: 0;
    padding: 10px 7px;
    font-size: 11px;
    line-height: 1.35;
  }

  .case-stats b {
    font-size: 22px;
  }

  .case-strip {
    gap: 8px;
  }

  .case-strip span {
    justify-content: flex-start;
    min-height: 40px;
    font-size: 12px;
    text-align: left;
  }

  .case-tag {
    justify-content: flex-start;
    min-height: auto;
    padding-block: 6px;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
  }

  .upload-panel,
  .task-panel {
    padding: 18px;
  }

  .gallery-list,
  .task-stats,
  .password-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .password-row {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    min-height: 0;
    padding: 18px;
  }

  .upload-guest {
    min-height: 240px;
  }

  .upload-guest h3,
  .task-panel h3 {
    font-size: 21px;
  }

  .task-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .task-refresh {
    width: 100%;
  }

  .price-card {
    min-height: 0;
    padding: 24px 22px 22px;
  }

  .price {
    margin: 4px 0 6px;
    font-size: 39px;
  }

  .price-card ul {
    gap: 9px;
    margin: 18px 0 22px;
    font-size: 14px;
  }

  .pricing-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .faq {
    gap: 18px;
  }

  .faq-list details {
    padding: 17px 18px;
  }

  .faq-list summary {
    line-height: 1.45;
  }

  .final-cta {
    min-height: 340px;
    padding: 58px 18px;
  }

  .final-cta-content {
    justify-items: stretch;
    text-align: left;
  }

  .final-cta p {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .final-cta .hero-actions {
    grid-template-columns: 1fr;
  }

  .final-cta-bg {
    background:
      linear-gradient(90deg, rgba(8, 10, 11, 0.86), rgba(8, 10, 11, 0.58)),
      linear-gradient(0deg, rgba(8, 10, 11, 0.92), rgba(8, 10, 11, 0.38)),
      url("./assets/final-cta-studio-bg.png") 54% center / cover;
  }

  .site-footer {
    width: min(calc(100% - 28px), var(--max));
    flex-direction: column;
    padding-bottom: 22px;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid rgba(255, 205, 128, 0.8);
    border-radius: 7px;
    color: #201507;
    background: linear-gradient(180deg, #ffd37a 0%, #f0ae4f 100%);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(242, 184, 91, 0.24);
    font-weight: 800;
  }

  .auth-modal {
    align-items: end;
    padding: 14px;
  }

  .auth-panel {
    width: 100%;
    padding: 24px 18px 18px;
  }

  .auth-panel h2 {
    margin-bottom: 18px;
    font-size: 25px;
  }

  .auth-actions {
    grid-template-columns: 1fr;
  }

  .play-main {
    min-height: calc(100vh - 58px);
    padding: 44px 0 78px;
  }

  .play-panel {
    padding: 24px 18px 18px;
  }

  .admin-main {
    padding: 40px 0 78px;
  }

  .admin-toolbar {
    align-items: stretch;
    gap: 18px;
  }

  .admin-toolbar h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .admin-key-row,
  .admin-summary {
    grid-template-columns: 1fr;
  }

  .admin-key-row .button {
    width: 100%;
  }

  .admin-summary span {
    min-height: 58px;
  }
}

@media (max-width: 520px) {
  .workflow,
  .features,
  .case-section,
  .gallery-section,
  .submit-section,
  .pricing,
  .faq {
    padding: 50px 0;
  }

  .hero {
    padding-bottom: 42px;
  }

  .hero-actions {
    gap: 8px;
  }

  .button-large {
    min-height: 50px;
  }

  .feature-card {
    padding: 18px;
  }

  .thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .thumb-grid img:nth-child(n + 3) {
    display: block;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metrics span {
    grid-template-columns: 64px 1fr;
    align-items: center;
    min-height: 52px;
    text-align: left;
  }

  .metrics b {
    font-size: 20px;
  }

  .mini-share {
    grid-template-columns: 1fr 58px;
  }

  .case-hero {
    padding: 9px;
  }

  .case-image {
    aspect-ratio: 1 / 0.82;
  }

  .case-stats,
  .gallery-list,
  .pricing-notes {
    grid-template-columns: 1fr;
  }

  .case-stats span {
    grid-template-columns: 58px 1fr;
    align-items: center;
    min-height: 48px;
  }

  .pricing-notes span {
    justify-content: flex-start;
    min-height: 38px;
    padding-inline: 12px;
  }

  .price-card {
    padding: 23px 20px 21px;
  }

  .faq-list details {
    padding: 16px;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-inline: 14px;
  }

  .section-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  h1 {
    font-size: 37px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .value-chips {
    gap: 7px 9px;
  }

  .value-chips span {
    font-size: 11px;
  }

  .step-card,
  .feature-card {
    padding: 16px 14px;
  }

  .case-stats span,
  .pricing-notes span {
    min-height: 38px;
  }
}
