:root {
  --paper: #f7f2e8;
  --paper-strong: #efe2ca;
  --ink: #1f2526;
  --muted: #68706b;
  --line: #d9cab2;
  --cinnabar: #b7432f;
  --moss: #315b4b;
  --blue: #2f5368;
  --gold: #ad7a29;
  --white: #fffdf7;
  --shadow: 0 24px 70px rgba(31, 37, 38, 0.13);
  --radius: 8px;
  font-family: "Iowan Old Style", "Noto Serif CJK TC", "Songti TC", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
body.intro-active {
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  background: #0d1110;
}
body.intro-active .site-header,
body.intro-active main,
body.intro-active footer {
  display: none;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(49, 91, 75, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 91, 75, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.intro-video-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  background: #0d1110;
}
body.intro-active .intro-video-section {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.intro-video-section[hidden] {
  display: none;
}
.intro-video-section video {
  width: 100vw;
  height: 100svh;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
}
.intro-video-controls {
  position: absolute;
  inset: 22px clamp(18px, 4vw, 44px) auto;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.intro-brand {
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.42);
}
.button.secondary.intro-skip {
  border-color: rgba(255, 253, 247, 0.72);
  color: var(--white);
  background: rgba(13, 17, 16, 0.38);
  backdrop-filter: blur(12px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(31, 37, 38, 0.12);
  background: rgba(247, 242, 232, 0.9);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; white-space: nowrap; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}
.shop-hook-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 22px);
  min-height: 58px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(90deg, var(--cinnabar), var(--moss));
  box-shadow: 0 16px 40px rgba(31, 37, 38, 0.18);
}
.shop-hook-bar span,
.shop-hook-bar strong,
.shop-hook-bar em {
  display: block;
}
.shop-hook-bar span {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 800;
}
.shop-hook-bar strong {
  color: rgba(255, 253, 247, 0.86);
  font-size: 14px;
}
.shop-hook-bar em {
  padding: 7px 12px;
  border: 1px solid rgba(255, 253, 247, 0.56);
  border-radius: var(--radius);
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(13, 17, 16, 0.22);
}
nav { display: flex; flex: 1; justify-content: center; gap: clamp(12px, 2vw, 28px); }
nav a, .text-button { color: var(--muted); font-size: 15px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.account-menu {
  position: relative;
}
.session-pill {
  max-width: 220px;
  overflow: hidden;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--moss);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(255, 253, 247, 0.72);
}
.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  cursor: pointer;
}
.account-trigger[hidden] {
  display: none;
}
.account-caret {
  color: var(--muted);
  font-size: 15px;
}
.account-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: min(360px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 22px 70px rgba(31, 37, 38, 0.18);
}
.account-panel[hidden] {
  display: none;
}
.account-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(217, 202, 178, 0.72);
}
.account-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--moss);
}
.account-panel-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.account-panel-header strong {
  display: block;
  max-width: 260px;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.account-stats div {
  padding: 10px;
  border: 1px solid rgba(217, 202, 178, 0.72);
  border-radius: var(--radius);
  background: rgba(247, 242, 232, 0.62);
}
.account-stats dt {
  color: var(--muted);
  font-size: 12px;
}
.account-stats dd {
  margin: 4px 0 0;
  font-weight: 800;
}
.account-actions {
  display: grid;
  gap: 8px;
}
.account-actions .button,
.account-password .button {
  width: 100%;
}
.account-password {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(217, 202, 178, 0.72);
}
.account-password[hidden] {
  display: none;
}
.account-logout {
  width: 100%;
  margin-top: 10px;
  padding: 8px 0 0;
  border-top: 1px solid rgba(217, 202, 178, 0.72);
  text-align: left;
}
.text-button, .lang-tabs button, .icon-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.lang-tabs {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-tabs button { padding: 7px 10px; color: var(--muted); }
.lang-tabs button.active { color: var(--white); background: var(--moss); }

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 90px);
  min-height: calc(100vh - 64px);
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px) 42px;
}
.hero-copy { align-self: center; max-width: 820px; }
.hero-copy, .hero-workbench { min-width: 0; }
.eyebrow {
  color: var(--cinnabar);
  font-weight: 700;
  letter-spacing: 0;
}
h1 {
  margin: 0;
  max-width: 780px;
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
h2 { margin: 0; font-size: 42px; line-height: 1.12; letter-spacing: 0; }
h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: 0; }
.hero-copy > p:not(.eyebrow), .section-heading p, .panel > p, .pricing-strip p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions, .dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
}
.button.primary { color: var(--white); background: var(--ink); }
.button.secondary { color: var(--ink); background: transparent; }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.proof-strip div { border-left: 3px solid var(--cinnabar); padding-left: 14px; }
.proof-strip dt { font-weight: 800; }
.proof-strip dd { margin: 0; color: var(--muted); font-size: 14px; }

.hero-workbench {
  display: grid;
  align-items: center;
  min-height: 560px;
}
.hero-index {
  align-content: center;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}
.hero-index a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  min-height: 142px;
  padding: 26px;
  background: rgba(255, 253, 247, 0.9);
}
.hero-index span {
  grid-row: span 2;
  color: var(--cinnabar);
  font-weight: 800;
}
.hero-index strong {
  font-size: 26px;
  line-height: 1.1;
}
.hero-index small {
  color: var(--muted);
  font-size: 15px;
}
.hero-video-stage {
  grid-template-rows: auto auto;
  gap: 18px;
  align-self: center;
}
.hero-video-card {
  overflow: hidden;
  border: 1px solid rgba(217, 202, 178, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.86);
  box-shadow: var(--shadow);
}
.hero-video-card video {
  border-radius: 0;
}
.hero-video-caption {
  padding: 18px 20px 20px;
}
.hero-video-caption .eyebrow {
  margin: 0 0 8px;
}
.hero-video-caption h2 {
  font-size: 31px;
}
.hero-video-caption h3 {
  margin: 0;
}
.hero-video-caption p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}
.hero-video-secondary {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(190px, 0.48fr);
  align-items: center;
}

.section { padding: 92px clamp(18px, 5vw, 72px); }
.page-section { min-height: calc(100vh - 64px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.remotion-section {
  background: var(--paper-strong);
}
.remotion-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 18px;
}
.remotion-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(31, 37, 38, 0.08);
}
.remotion-mini {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.remotion-mini + .remotion-mini { margin-top: 18px; }
video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--ink);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.project-card {
  display: grid;
  align-content: start;
  min-height: 430px;
  padding: 24px;
  background: var(--white);
}
.project-card span {
  color: var(--cinnabar);
  font-weight: 800;
}
.project-card p {
  color: var(--muted);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.service-grid article {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 26px;
  background: var(--paper);
}
.service-grid span { color: var(--cinnabar); font-weight: 800; }
.service-grid p { color: var(--muted); }
.service-compare {
  position: relative;
  min-height: 210px;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.service-compare figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  border: 1px solid rgba(255, 253, 247, 0.5);
  border-radius: 6px;
  color: var(--white);
  background: rgba(31, 37, 38, 0.72);
  font-size: 12px;
}
.service-sample-image {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.work-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.demo-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 24px;
  align-items: start;
}
.demo-workspace .section-heading {
  display: block;
}
.auth-inline {
  align-self: start;
}
.auth-code-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.dialog-actions.compact {
  margin-top: 12px;
}
.session-note {
  margin: 0 0 14px;
  color: var(--muted);
}
.panel {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(31, 37, 38, 0.08);
}
label { display: grid; gap: 7px; margin: 18px 0; color: var(--muted); }
input, textarea, select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fffaf0;
}
.workflow-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf5e9;
}
.workflow-controls legend {
  padding: 0 8px;
  color: var(--cinnabar);
  font-weight: 800;
}
.workflow-controls label {
  margin: 0;
  font-size: 14px;
}
.workflow-controls select {
  min-height: 40px;
}
.workflow-check-group {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.workflow-checks {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}
.workflow-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.workflow-checks input {
  width: 16px;
  min-height: 16px;
  padding: 0;
  accent-color: var(--cinnabar);
}
.muted { color: var(--muted); font-size: 14px; }
.demo-result {
  position: relative;
  margin-top: 22px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(183, 67, 47, 0.2), transparent);
  animation: scan 1.4s infinite;
}
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.demo-output-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-output-grid pre, .demo-output-grid article { margin: 0; padding: 16px; background: var(--white); border-radius: var(--radius); white-space: pre-wrap; }
.progress-line { display: flex; justify-content: space-between; margin: 18px 0 8px; }
.meter { height: 10px; overflow: hidden; border-radius: 999px; background: var(--paper-strong); }
.meter span { display: block; height: 100%; background: var(--moss); }
.auth-message {
  min-height: 20px;
  color: var(--muted);
}
.error { color: #a93f35; }
.status-note {
  margin: 0 0 14px;
  color: var(--moss);
  font-weight: 800;
}

.pricing-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--paper-strong);
}
.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.pricing-strip li { margin: 12px 0; }
.faq-list { max-width: 980px; margin: 0 auto; }
.faq-list article { border-top: 1px solid var(--line); }
.faq-list article:last-child { border-bottom: 1px solid var(--line); }
.faq-list button {
  width: 100%;
  padding: 20px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-weight: 800;
}
.faq-list p { display: none; margin-top: 0; color: var(--muted); }
.faq-list article.open p { display: block; }
footer { padding: 28px clamp(18px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); }

dialog {
  width: min(560px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(31, 37, 38, 0.45); }
.icon-button { float: right; width: 34px; height: 34px; border-radius: var(--radius); color: var(--muted); }
.qr-box {
  display: grid;
  place-items: center;
  margin: 22px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7faf8;
}
.qr-box img {
  width: min(260px, 78vw);
  aspect-ratio: 828 / 1124;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
}
.qr-box figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}
.deal-note {
  color: var(--muted);
  font-size: 15px;
}

.admin-shell { max-width: 1100px; margin: 0 auto; padding: 46px 22px; }
.admin-order {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin: 16px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.payment-alert {
  position: sticky;
  top: 72px;
  z-index: 9;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 12px clamp(18px, 4vw, 56px) 0;
  padding: 14px 16px 14px 18px;
  border: 1px solid rgba(31, 37, 38, 0.28);
  border-radius: var(--radius);
  color: #1d220d;
  background:
    linear-gradient(90deg, rgba(255, 247, 88, 0.98), rgba(255, 252, 178, 0.95)),
    var(--white);
  box-shadow: 0 14px 42px rgba(173, 122, 41, 0.22);
  overflow: hidden;
  animation: payment-alert-pulse 1.9s ease-in-out infinite;
}
.payment-alert[hidden] { display: none; }
.payment-alert-track {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #f2d600;
}
.payment-alert-track::after {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 42%;
  background: #1f2526;
  animation: payment-alert-scan 1.15s linear infinite;
}
.payment-alert-kicker {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.payment-alert strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}
.payment-alert p {
  margin: 3px 0 0;
  color: rgba(31, 37, 38, 0.72);
}
@keyframes payment-alert-pulse {
  0%, 100% { box-shadow: 0 14px 42px rgba(173, 122, 41, 0.22); }
  50% { box-shadow: 0 18px 54px rgba(242, 214, 0, 0.42); }
}
@keyframes payment-alert-scan {
  from { transform: translateY(-120%); }
  to { transform: translateY(360%); }
}
.admin-actions { display: grid; gap: 8px; min-width: 260px; }
.order-desk { grid-column: 1 / -1; }
.desk-header, .user-order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.desk-header h3 { margin-bottom: 6px; }
.order-toast {
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid rgba(42, 94, 72, 0.35);
  border-radius: var(--radius);
  color: #214b3a;
  background: #eff8f2;
}
.order-toast.error {
  border-color: rgba(135, 61, 45, 0.35);
  color: #873d2d;
  background: #fff2ed;
}
.user-orders { display: grid; gap: 12px; }
.user-order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.75);
}
.user-order-card p { margin: 6px 0 0; color: var(--muted); }
.user-order-main { min-width: 0; }
.user-order-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.user-order-heading strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.3;
}
.order-kicker {
  margin: 0 0 3px !important;
  color: var(--gold) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
}
.order-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.order-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.status-received, .status-quoted { color: var(--blue); background: rgba(47, 83, 104, 0.08); }
.status-processing { color: var(--gold); background: rgba(173, 122, 41, 0.1); }
.status-delivered, .payment-paid { color: var(--moss); background: rgba(49, 91, 75, 0.1); }
.status-cancelled { color: var(--muted); background: rgba(104, 112, 107, 0.09); }
.payment-unpaid { color: var(--cinnabar); background: rgba(183, 67, 47, 0.08); }
.order-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 18px 0 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(217, 202, 178, 0.72);
  border-bottom: 1px solid rgba(217, 202, 178, 0.72);
}
.order-facts div { min-width: 0; }
.order-facts dt {
  color: var(--muted);
  font-size: 12px;
}
.order-facts dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
}
.order-details { display: grid; gap: 8px; }
.order-details p { margin: 0; overflow-wrap: anywhere; }
.order-details span {
  display: inline-block;
  min-width: 74px;
  margin-right: 8px;
  color: var(--ink);
  font-weight: 800;
}
.order-deliverable {
  display: inline-flex;
  margin-top: 14px;
  color: var(--moss);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.user-order-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 120px;
}
.user-order-actions .button { width: 100%; }
.danger-button { color: var(--cinnabar); }
.order-readonly {
  margin-top: 14px !important;
  font-size: 13px;
}
.order-edit-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(47, 83, 104, 0.28);
  border-radius: var(--radius);
  background: rgba(47, 83, 104, 0.045);
}
.order-edit-form[hidden] { display: none; }
.order-edit-form label { display: grid; gap: 5px; }
.order-edit-form label > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.order-edit-form p { margin: 0; font-size: 13px; }
.order-edit-form .button { justify-self: start; }

@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  nav { order: 3; justify-content: flex-start; overflow-x: auto; width: 100%; }
  .hero-section, .work-forms, .pricing-strip, .remotion-grid, .remotion-feature, .project-grid, .demo-workspace { grid-template-columns: 1fr; }
  .hero-section { min-height: auto; }
  .shop-hook-bar { flex-wrap: wrap; justify-content: flex-start; }
  .payment-alert { top: 132px; }
  .service-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .project-card { min-height: auto; }
}

@media (max-width: 620px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px 16px;
  }
  .header-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .account-menu,
  .account-trigger {
    width: 100%;
  }
  .account-panel {
    left: 0;
    right: auto;
    width: 100%;
  }
  .account-stats {
    grid-template-columns: 1fr;
  }
  nav {
    padding-bottom: 4px;
    flex-wrap: wrap;
    overflow-x: hidden;
  }
  .payment-alert {
    position: static;
    grid-template-columns: 1fr;
    margin: 10px 16px 0;
  }
  .hero-section {
    padding-left: 18px;
    padding-right: 18px;
  }
  h1 {
    font-size: 28px;
    line-height: 1.16;
    max-width: 330px;
    word-break: break-all;
    line-break: anywhere;
  }
  h2 { font-size: 28px; }
  .section { padding-top: 58px; padding-bottom: 58px; }
  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
    word-break: break-all;
    line-break: anywhere;
  }
  .proof-strip, .demo-output-grid { grid-template-columns: 1fr; }
  .hero-workbench { min-height: auto; }
  .hero-index a { min-height: 118px; }
  .hero-video-secondary { grid-template-columns: 1fr; }
  .hero-video-caption { padding: 16px; }
  .hero-video-caption h2 { font-size: 24px; }
  .admin-order { grid-template-columns: 1fr; }
  .desk-header { align-items: stretch; flex-direction: column; }
  .user-order-card { grid-template-columns: 1fr; }
  .user-order-actions { flex-direction: row; flex-wrap: wrap; }
  .user-order-actions .button { width: auto; }
  .order-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-badges { justify-content: flex-start; }
}
