.cms-subtle-note,
.contact-legal-note,
.footer-copy-sub,
.checkout-legal-note,
.admin-inline-note {
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(192, 192, 192, 0.42);
  text-transform: uppercase;
}

.footer-copy-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-legal-note {
  margin-top: 14px;
  text-align: center;
}

.cband-legal-row {
  padding: 14px 20px 0;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.checkout-grid .full {
  grid-column: 1 / -1;
}

.checkout-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #8d8d8d;
  text-transform: uppercase;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(192, 192, 192, 0.12);
  color: #fff;
  padding: 12px 13px;
  font-size: 12px;
  font-family: inherit;
  resize: vertical;
}

.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
}

.pay-method {
  background: transparent;
  width: 100%;
  text-align: left;
}

.pay-method.is-active {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
}

.pay-method.is-disabled,
.pay-method:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: saturate(0);
  border-color: rgba(192, 192, 192, 0.1);
  box-shadow: none;
}

.pay-method.is-disabled:hover,
.pay-method:disabled:hover {
  transform: none;
  background: transparent;
  border-color: rgba(192, 192, 192, 0.1);
}

.pay-methods.stack {
  margin-top: 14px;
}

.checkout-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
  align-items: stretch;
}

.checkout-btn {
  flex: 1 1 180px;
  min-height: 52px;
  border: 1px solid rgba(192, 192, 192, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  color: rgba(255, 255, 255, 0.92);
  padding: 13px 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.checkout-btn:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.checkout-btn.primary {
  background: linear-gradient(180deg, #f4f4f4, #c9c9c9 58%, #b5b5b5);
  color: #090909;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.checkout-btn.primary:hover {
  background: linear-gradient(180deg, #ffffff, #d6d6d6 56%, #bbbbbb);
  border-color: #ffffff;
}

.checkout-status {
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(192, 192, 192, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.checkout-status strong {
  color: #fff;
}

.checkout-status.success {
  border-color: rgba(0, 200, 100, 0.26);
}

.checkout-status.warn {
  border-color: rgba(255, 190, 0, 0.26);
}

.checkout-status.error {
  border-color: rgba(255, 90, 90, 0.26);
}

.checkout-helper {
  margin-top: 16px;
  font-size: 10px;
  color: rgba(192, 192, 192, 0.5);
  line-height: 1.7;
}

.product-preview {
  margin: 16px 0 14px;
  border: 1px solid rgba(192, 192, 192, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  padding: 14px;
}

.product-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.product-preview-title {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: rgba(192, 192, 192, 0.55);
  text-transform: uppercase;
}

.product-preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(192, 192, 192, 0.7);
  box-shadow: 0 0 20px rgba(192, 192, 192, 0.2);
}

.product-preview-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.product-preview-chip {
  padding: 6px 9px;
  border: 1px solid rgba(192, 192, 192, 0.08);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-preview-lines {
  display: grid;
  gap: 8px;
}

.product-preview-line {
  height: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.product-preview-line.short {
  width: 56%;
}

.product-setup {
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: rgba(192, 192, 192, 0.45);
  text-transform: uppercase;
}

.portfolio-result {
  display: inline-flex;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: rgba(192, 192, 192, 0.55);
  text-transform: uppercase;
}

.demo-form-note {
  margin-top: 14px;
}

.admin-sync-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.admin-sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}

.toggle-shell {
  display: flex;
  align-items: center;
}

@media (max-width: 820px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-actions {
    gap: 8px;
  }

  .checkout-btn {
    flex-basis: 100%;
  }
}

.admin-grid-stack {
  display: grid;
  gap: 14px;
}

.admin-repeater {
  display: grid;
  gap: 12px;
}

.admin-repeater-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
}

.admin-repeater-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-repeater-title {
  font-size: 11px;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.admin-mini-btn {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 10px;
  cursor: pointer;
  font-size: 10px;
}

.admin-mini-btn.danger {
  color: rgba(255, 120, 120, 0.9);
}

.admin-empty {
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.admin-note-box {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.admin-note-box h4 {
  margin: 0 0 8px;
  font-size: 11px;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-note-box p {
  margin: 0;
  font-size: 11px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.66);
}

.admin-demo-shell {
  display: grid;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto 24px;
}

.admin-demo-intro {
  max-width: 820px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
  color: rgba(192, 192, 192, 0.7);
}

.admin-demo-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-demo-btn {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(192, 192, 192, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.admin-demo-btn:hover,
.admin-demo-btn.active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.admin-demo-meta {
  display: flex;
  justify-content: center;
}

.admin-demo-meta-card {
  width: min(760px, 100%);
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.admin-demo-meta-label,
.admin-demo-frame-kicker,
.showcase-preview-sub {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: rgba(192, 192, 192, 0.48);
  text-transform: uppercase;
}

.admin-demo-meta-title,
.admin-demo-frame-title,
.showcase-preview-title {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.admin-demo-meta-copy {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.85;
  color: rgba(192, 192, 192, 0.68);
}

.admin-demo-access {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-demo-access-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: rgba(192, 192, 192, 0.48);
  text-transform: uppercase;
}

.admin-demo-access-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.admin-demo-access-row span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  color: rgba(229, 229, 229, 0.8);
}

.admin-demo-access-note {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(192, 192, 192, 0.6);
}

.admin-demo-frame-shell,
.showcase-preview-shell {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
}

.admin-demo-frame-shell {
  display: none;
}

.admin-demo-frame-shell.active {
  display: block;
}

.admin-demo-frame-head,
.showcase-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-demo-frame-note {
  font-size: 10px;
  color: rgba(192, 192, 192, 0.58);
}

.admin-demo-frame,
.showcase-preview-frame {
  width: 100%;
  border: 0;
  background: #050505;
  display: block;
}

.admin-demo-external {
  padding: 28px;
  background: #050505;
}

.admin-demo-external-card {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 30px 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01) 58%);
  text-align: center;
}

.admin-demo-external-kicker {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: rgba(192, 192, 192, 0.48);
  text-transform: uppercase;
}

.admin-demo-external-domain {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.admin-demo-external-copy {
  margin: 14px auto 0;
  max-width: 560px;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(192, 192, 192, 0.68);
}

.admin-demo-external-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.admin-demo-external-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.admin-demo-external-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.admin-demo-frame {
  height: 760px;
}

.showcase-preview-frame {
  height: 440px;
}

.showcase-admin-card {
  display: grid;
  gap: 14px;
}

.showcase-upload-row {
  display: grid;
  gap: 10px;
}

.showcase-upload-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.showcase-upload-actions input[type="file"] {
  flex: 1 1 280px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-family: inherit;
}

.showcase-upload-actions input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  font: 600 10px Montserrat, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.showcase-upload-status {
  font-size: 10px;
  line-height: 1.7;
  color: rgba(192, 192, 192, 0.58);
}

.showcase-upload-status.success {
  color: rgba(220, 220, 220, 0.82);
}

.showcase-upload-status.error {
  color: rgba(255, 120, 120, 0.9);
}

textarea[id^="showcase-html-"] {
  min-height: 280px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

/* Production polish and responsive safeguards */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
iframe,
video,
canvas {
  max-width: 100%;
}

#hero,
#about,
#services,
#products,
#portfolio,
#pricing,
#store,
#blog,
#demo,
footer {
  scroll-margin-top: calc(var(--header-offset, 68px) + 18px);
}

.main,
.content,
.panel,
.pay-inner,
.invoice-inner,
.cw-lb-inner {
  max-width: 100%;
}

footer {
  padding-bottom: calc(34px + env(safe-area-inset-bottom));
}

header {
  isolation: auto !important;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34) !important;
}

header.scrolled nav {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(192, 192, 192, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

footer {
  background: var(--deep) !important;
}

.cband {
  background: var(--black) !important;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(229, 229, 229, 0.7);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}

.social-link:hover {
  color: #fff;
  transform: translateY(-1px);
}

.social-link-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(192, 192, 192, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
}

.social-link-mark svg {
  width: 13px;
  height: 13px;
  display: block;
}

.social-link-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.social-link-footer .social-link-label {
  display: none;
}

.social-link-footer .social-link-mark {
  min-width: 30px;
  width: 30px;
}

.contact-connect-row {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.contact-connect-title {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: rgba(192, 192, 192, 0.52);
  text-transform: uppercase;
}

.contact-connect-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.social-highlights-strip {
  padding: 0 20px 22px;
  background: #000;
}

.social-highlights-shell {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: grid;
  gap: 18px;
}

.social-highlights-head {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.social-highlights-kicker {
  font-size: 9px;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.5);
}

.social-highlights-title {
  font-size: 17px;
  line-height: 1.15;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.social-highlights-copy {
  max-width: 700px;
  font-size: 11px;
  line-height: 1.8;
  color: rgba(229, 229, 229, 0.62);
}

.social-highlights-actions {
  display: flex;
  justify-content: center;
}

.social-highlights-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.social-highlights-track {
  --social-gap: 14px;
  display: flex;
  gap: var(--social-gap);
  width: max-content;
  animation: socialHighlightsScroll 42s linear infinite;
  will-change: transform;
}

.social-highlights-strip:hover .social-highlights-track {
  animation-play-state: paused;
}

.social-highlights-run {
  display: flex;
  gap: var(--social-gap);
  flex: 0 0 auto;
}

.social-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(192, 192, 192, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-decoration: none;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, color 0.2s;
}

.social-follow-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.social-highlight-card {
  display: grid;
  gap: 12px;
  flex: 0 0 min(320px, 78vw);
  width: min(320px, 78vw);
  min-width: 0;
  padding: 16px 16px 15px;
  border: 1px solid rgba(192, 192, 192, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014));
  text-decoration: none;
  color: #fff;
  transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.social-highlight-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.social-highlight-top,
.social-highlight-platform,
.social-highlight-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.social-highlight-platform {
  justify-content: flex-start;
  min-width: 0;
}

.social-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(192, 192, 192, 0.14);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
}

.social-highlight-icon svg {
  width: 13px;
  height: 13px;
  display: block;
}

.social-highlight-platform span:last-child,
.social-highlight-meta,
.social-highlight-foot {
  font-size: 9px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.social-highlight-platform span:last-child {
  color: rgba(255, 255, 255, 0.82);
}

.social-highlight-meta {
  color: rgba(192, 192, 192, 0.48);
}

.social-highlight-title {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: #fff;
}

.social-highlight-copy {
  font-size: 11px;
  line-height: 1.78;
  color: rgba(229, 229, 229, 0.62);
}

.social-highlight-foot {
  color: rgba(255, 255, 255, 0.78);
}

@keyframes socialHighlightsScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - (var(--social-gap) / 2)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-highlights-track {
    animation: none;
  }
}

@media (max-width: 1024px) {
  .social-highlights-track {
    animation-duration: 48s;
  }
}

.social-link-contact {
  padding: 0 2px;
}

.social-link-contact .social-link-mark {
  min-width: 30px;
  width: 30px;
  height: 30px;
}

.social-link-contact .social-link-mark svg {
  width: 14px;
  height: 14px;
}

.service-popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  z-index: 8050;
}

.service-popup.open {
  display: flex;
}

.service-popup-inner {
  width: min(720px, 96vw);
  max-height: min(88dvh, 920px);
  overflow: auto;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(9, 9, 9, 0.98));
  border: 1px solid rgba(192, 192, 192, 0.12);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.48);
}

.service-popup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid rgba(192, 192, 192, 0.08);
}

.service-popup-kicker {
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.42);
  margin-bottom: 10px;
}

.service-popup-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
  color: #fff;
}

.service-popup-close {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(192, 192, 192, 0.16);
  color: rgba(192, 192, 192, 0.7);
  cursor: pointer;
  transition: color 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.service-popup-close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.03);
}

.service-popup-body {
  padding: 26px;
}

.service-popup-lead {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.service-popup-icon {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(192, 192, 192, 0.14);
  background: rgba(255, 255, 255, 0.024);
}

.service-popup-icon svg {
  width: 28px;
  height: 28px;
}

.service-popup-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(192, 192, 192, 0.76);
}

.service-popup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 18px;
}

.service-popup-block {
  padding: 20px 20px 18px;
  border: 1px solid rgba(192, 192, 192, 0.08);
  background: rgba(255, 255, 255, 0.018);
}

.service-popup-label {
  font-size: 8px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.42);
  margin-bottom: 12px;
}

.service-popup-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.service-popup-points li,
.service-popup-note,
.service-popup-fit {
  font-size: 11.5px;
  line-height: 1.82;
  color: rgba(192, 192, 192, 0.72);
}

.service-popup-points li {
  position: relative;
  padding-left: 18px;
}

.service-popup-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #c8c8c8;
}

.service-popup-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.service-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 9px;
  font-weight: 700;
  transition: background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.service-popup-btn.primary {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}

.service-popup-btn.primary:hover {
  background: transparent;
  color: #fff;
}

.service-popup-btn.secondary {
  color: rgba(192, 192, 192, 0.8);
  border: 1px solid rgba(192, 192, 192, 0.16);
  background: transparent;
}

.service-popup-btn.secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.store-card.adding-to-cart .store-img {
  animation: storePuff 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.store-card.adding-to-cart .store-add {
  animation: storeAddPulse 0.52s ease;
}

.cart-fly-ghost {
  position: fixed;
  z-index: 5200;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(192, 192, 192, 0.16);
  background: rgba(8, 8, 8, 0.96);
  color: #fff;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.42);
  pointer-events: none;
  opacity: 0.96;
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform 0.78s cubic-bezier(0.2, 1, 0.2, 1), opacity 0.78s ease, border-color 0.3s ease;
  will-change: transform, opacity;
}

.cart-fly-ghost.active {
  transform: translate3d(var(--cart-dx, 0px), var(--cart-dy, 0px), 0) scale(0.22) rotate(-10deg);
  opacity: 0;
  border-color: rgba(255, 255, 255, 0.34);
}

@keyframes storePuff {
  0% { transform: scale(1); }
  26% { transform: scale(1.08); }
  58% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

@keyframes storeAddPulse {
  0% { transform: translateX(0); opacity: 1; }
  35% { transform: translateX(6px); opacity: 1; }
  70% { transform: translateX(-2px); opacity: 0.94; }
  100% { transform: translateX(0); opacity: 1; }
}

.about-section {
  padding: 74px 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.016), rgba(255, 255, 255, 0));
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.about-main {
  min-width: 0;
}

.about-title {
  margin: 0 0 20px;
}

.about-copy {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.about-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.95;
  color: rgba(192, 192, 192, 0.76);
}

.about-side-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(192, 192, 192, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  padding: 28px 26px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
}

.about-side-label {
  margin-bottom: 16px;
  font-size: 8px;
  letter-spacing: 3px;
  color: rgba(192, 192, 192, 0.46);
  text-transform: uppercase;
}

.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.about-points li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(192, 192, 192, 0.82);
  box-shadow: 0 0 18px rgba(192, 192, 192, 0.22);
  flex-shrink: 0;
}

.about-legal-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(192, 192, 192, 0.08);
  font-size: 9px;
  letter-spacing: 1.4px;
  color: rgba(192, 192, 192, 0.46);
  text-transform: uppercase;
  line-height: 1.8;
}

.cw-slider-wrap {
  min-width: 0;
}

.cw-track-outer {
  min-width: 0;
  padding: 12px 0 18px;
  margin: 0;
  box-sizing: border-box;
}

.cw-track {
  align-items: stretch;
}

.cw-card {
  min-width: 0;
}

.pay-inner {
  max-height: min(92dvh, 1400px);
}

.pay-inner {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.pay-body {
  max-height: calc(92dvh - 92px);
  overflow-y: auto;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

.invoice-inner {
  max-height: none !important;
  overflow: visible !important;
  padding-bottom: 30px;
}

#pay-popup,
#invoice-popup,
#letterhead-popup,
.cw-lightbox {
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

.cart-drawer {
  padding-bottom: calc(26px + env(safe-area-inset-bottom));
}

.modal-inner {
  max-height: min(88dvh, 980px);
  overflow: hidden;
}

.modal-body {
  max-height: calc(88dvh - 128px);
  overflow: auto;
}

@media (max-width: 767px) {
  .footer-socials,
  .contact-connect-links {
    gap: 8px;
  }

  .social-highlights-strip {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 20px;
  }

  .social-highlights-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .social-highlights-track {
    animation-duration: 56s;
  }

  .social-highlight-card {
    flex-basis: min(280px, 82vw);
    width: min(280px, 82vw);
    padding: 15px 14px 14px;
  }

  .social-highlight-top,
  .social-highlight-foot {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .social-link-label {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
}

.section-header,
.panel-hd,
.panel-body,
.topbar,
.topbar-right,
.admin-row-actions,
.admin-repeater-head {
  min-width: 0;
}

.docs-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 16px;
  align-items: start;
}

.docs-editor-panel,
.docs-preview-panel {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.docs-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 3;
}

.docs-panel-title {
  font-size: 11px;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.docs-panel-sub {
  font-size: 10px;
  color: rgba(192, 192, 192, 0.54);
}

.docs-editor-scroll {
  padding: 18px;
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.docs-preview-stage {
  padding: 18px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
  min-height: 420px;
  position: relative;
  z-index: 1;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.035), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
}

.docs-doc-preview-canvas {
  width: min(100%, 760px);
  margin: 0 auto;
}

.docs-doc-preview-canvas .doc-paper {
  min-height: auto;
}

.docs-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.docs-toolbar .btn {
  min-height: 40px;
}

.docs-meta-grid,
.docs-company-grid,
.docs-client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.docs-item-list {
  display: grid;
  gap: 10px;
}

.docs-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 0.7fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
}

.docs-inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

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

.docs-template-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.docs-template-card:hover,
.docs-template-card.active,
.docs-template-card.is-active {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

.docs-template-grid.is-focused {
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.docs-template-name {
  font-size: 10px;
  color: #fff;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.docs-template-desc {
  font-size: 10px;
  line-height: 1.7;
  color: rgba(192, 192, 192, 0.58);
}

.docs-preview-tabs {
  display: none;
  gap: 8px;
}

.docs-preview-tab {
  flex: 1 1 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
}

.docs-preview-tab.active,
.docs-preview-tab.is-active {
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.doc-paper {
  position: relative;
  width: min(100%, 794px);
  min-height: 1123px;
  background: #f6f4ef;
  color: #111;
  padding: 48px 48px 42px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.34);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.doc-paper.theme-dark {
  background: #0d0d0d;
  color: #f3f3f3;
  border: 1px solid rgba(192, 192, 192, 0.18);
}

.doc-watermark {
  position: absolute;
  right: 36px;
  bottom: 108px;
  font-size: 180px;
  line-height: 0.8;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.05);
  letter-spacing: -10px;
  pointer-events: none;
  user-select: none;
}

.theme-dark .doc-watermark {
  color: rgba(255, 255, 255, 0.06);
}

.doc-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.doc-brand {
  display: grid;
  gap: 6px;
}

.doc-brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.doc-brand-sub {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.46);
}

.theme-dark .doc-brand-sub {
  color: rgba(255, 255, 255, 0.56);
}

.doc-layout-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 26%);
  gap: 26px;
  align-items: start;
}

.doc-sidebar {
  padding-left: 18px;
  border-left: 1px solid rgba(17, 17, 17, 0.12);
  display: grid;
  gap: 14px;
}

.theme-dark .doc-sidebar {
  border-left-color: rgba(255, 255, 255, 0.12);
}

.doc-title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}

.doc-eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.44);
}

.theme-dark .doc-eyebrow {
  color: rgba(255, 255, 255, 0.48);
}

.doc-client-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.72fr);
  gap: 22px;
}

.doc-copy-block,
.doc-recipient-block,
.doc-summary-card {
  display: grid;
  gap: 10px;
}

.doc-copy-block p,
.doc-recipient-block p,
.doc-summary-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.85;
  color: rgba(17, 17, 17, 0.78);
}

.theme-dark .doc-copy-block p,
.theme-dark .doc-recipient-block p,
.theme-dark .doc-summary-card p {
  color: rgba(255, 255, 255, 0.76);
}

.doc-items-table {
  width: 100%;
  border-collapse: collapse;
}

.doc-items-table th,
.doc-items-table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.09);
  text-align: left;
  font-size: 11px;
}

.theme-dark .doc-items-table th,
.theme-dark .doc-items-table td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.doc-items-table th {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.46);
}

.theme-dark .doc-items-table th {
  color: rgba(255, 255, 255, 0.48);
}

.doc-totals {
  width: min(360px, 100%);
  margin-left: auto;
  display: grid;
  gap: 10px;
}

.doc-total-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
}

.doc-total-row.total {
  padding-top: 12px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  font-size: 20px;
  font-weight: 700;
}

.theme-dark .doc-total-row.total {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.doc-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 17, 17, 0.09);
  display: grid;
  gap: 10px;
}

.theme-dark .doc-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.docs-doc-sheet {
  overflow: hidden;
}

.docs-doc-watermark-img {
  position: absolute;
  right: 40px;
  bottom: 112px;
  width: min(190px, 32%);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}

.theme-dark .docs-doc-watermark-img {
  opacity: 0.1;
  filter: brightness(1.08) grayscale(1);
}

.docs-doc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.docs-doc-top--letter {
  align-items: center;
}

.docs-doc-logo {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: left;
  filter: invert(1) brightness(0.05);
}

.theme-dark .docs-doc-logo {
  filter: none;
}

.docs-doc-logo-spacer {
  height: 52px;
  width: 120px;
}

.docs-doc-word {
  font-size: 32px;
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: right;
  color: #111;
}

.theme-dark .docs-doc-word {
  color: #fff;
}

.docs-doc-rule {
  height: 1px;
  background: rgba(17, 17, 17, 0.14);
}

.theme-dark .docs-doc-rule {
  background: rgba(255, 255, 255, 0.12);
}

.docs-doc-rule--footer {
  margin-top: auto;
}

.docs-doc-bill-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}

.docs-doc-bill-block,
.docs-doc-copy-column,
.docs-doc-side-column,
.docs-doc-to-block,
.docs-doc-contact-col,
.docs-doc-company-block,
.docs-doc-signature-card,
.docs-doc-note-card,
.docs-doc-proposal-hero,
.docs-doc-signoff {
  display: grid;
  gap: 8px;
}

.docs-doc-bill-block {
  max-width: 340px;
}

.docs-doc-muted-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.46);
}

.theme-dark .docs-doc-muted-label {
  color: rgba(255, 255, 255, 0.5);
}

.docs-doc-client-name,
.docs-doc-to-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.12;
  color: inherit;
}

.docs-doc-client-line,
.docs-doc-to-line,
.docs-doc-contact-line,
.docs-doc-proposal-sub,
.docs-doc-signoff-line,
.docs-doc-signoff-role,
.docs-doc-company-site {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.72);
}

.docs-doc-contact-line {
  font-size: 10px;
  line-height: 1.6;
}

.docs-doc-to-name {
  font-size: 14px;
}

.theme-dark .docs-doc-client-line,
.theme-dark .docs-doc-to-line,
.theme-dark .docs-doc-contact-line,
.theme-dark .docs-doc-proposal-sub,
.theme-dark .docs-doc-signoff-line,
.theme-dark .docs-doc-signoff-role,
.theme-dark .docs-doc-company-site {
  color: rgba(255, 255, 255, 0.74);
}

.docs-doc-meta-stack {
  display: grid;
  gap: 6px;
  min-width: 240px;
  margin-left: auto;
}

.docs-doc-meta-row {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: end;
  gap: 24px;
  align-items: end;
  font-size: 11px;
}

.docs-doc-meta-row span {
  text-align: right;
  color: rgba(17, 17, 17, 0.48);
}

.docs-doc-meta-row strong {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  color: inherit;
}

.theme-dark .docs-doc-meta-row span {
  color: rgba(255, 255, 255, 0.48);
}

.docs-doc-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.docs-doc-table thead th {
  padding: 16px 20px;
  background: #141414;
  color: #fff;
  text-align: left;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.theme-dark .docs-doc-table thead th {
  background: rgba(255, 255, 255, 0.08);
}

.docs-doc-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.11);
  font-size: 12px;
  color: rgba(17, 17, 17, 0.78);
}

.theme-dark .docs-doc-table tbody td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
}

.docs-doc-total-block {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.docs-doc-total-lines {
  width: min(320px, 100%);
  margin-left: auto;
  display: grid;
  gap: 8px;
}

.docs-doc-total-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 11px;
  color: rgba(17, 17, 17, 0.72);
}

.theme-dark .docs-doc-total-line {
  color: rgba(255, 255, 255, 0.74);
}

.docs-doc-total-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  width: min(360px, 100%);
  margin-left: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.docs-doc-total-row span:first-child {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.56);
}

.docs-doc-total-row span:last-child {
  font-size: 20px;
  font-weight: 800;
  color: #111;
}

.theme-dark .docs-doc-total-row {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.theme-dark .docs-doc-total-row span:first-child {
  color: rgba(255, 255, 255, 0.58);
}

.theme-dark .docs-doc-total-row span:last-child {
  color: #fff;
}

.docs-doc-bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 28px;
  align-items: end;
  margin-top: 26px;
}

.docs-doc-bottom-row.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.docs-doc-bottom-main,
.docs-doc-bottom-side {
  display: grid;
  gap: 16px;
}

.docs-doc-bottom-side {
  align-content: end;
}

.docs-doc-text-block {
  display: grid;
  gap: 8px;
}

.docs-doc-text-block-copy {
  display: grid;
  gap: 0;
}

.docs-doc-text-block-copy .doc-body-paragraph {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.76);
}

.theme-dark .docs-doc-text-block-copy .doc-body-paragraph {
  color: rgba(255, 255, 255, 0.78);
}

.docs-doc-signature-inline {
  display: grid;
  gap: 6px;
}

.docs-doc-signature-inline strong {
  font-size: 13px;
  line-height: 1.18;
}

.docs-doc-signature-inline span {
  font-size: 11px;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.72);
}

.theme-dark .docs-doc-signature-inline span {
  color: rgba(255, 255, 255, 0.74);
}

.docs-doc-company-block--invoice {
  margin-top: 6px;
}

.docs-doc-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.44fr);
  gap: 24px;
  align-items: start;
}

.docs-doc-copy {
  display: grid;
  gap: 0;
}

.docs-doc-copy .doc-body-paragraph,
.docs-doc-letter-copy .doc-body-paragraph {
  font-size: 13px;
  line-height: 1.86;
  color: rgba(17, 17, 17, 0.78);
}

.theme-dark .docs-doc-copy .doc-body-paragraph,
.theme-dark .docs-doc-letter-copy .doc-body-paragraph {
  color: rgba(255, 255, 255, 0.8);
}

.docs-doc-note-card,
.docs-doc-signature-card,
.docs-doc-metric-card {
  padding: 16px 18px;
  border: 1px solid rgba(17, 17, 17, 0.09);
  background: rgba(17, 17, 17, 0.024);
}

.theme-dark .docs-doc-note-card,
.theme-dark .docs-doc-signature-card,
.theme-dark .docs-doc-metric-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.docs-doc-note-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.76);
}

.theme-dark .docs-doc-note-card p {
  color: rgba(255, 255, 255, 0.78);
}

.docs-doc-signature-card strong,
.docs-doc-signoff-name,
.docs-doc-company-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
}

.docs-doc-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.72);
}

.theme-dark .docs-doc-status-chip {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.docs-doc-thanks {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.72);
}

.theme-dark .docs-doc-thanks {
  color: rgba(255, 255, 255, 0.76);
}

.docs-doc-accent,
.docs-doc-subject-bar {
  width: 56px;
  height: 3px;
  background: #111;
}

.theme-dark .docs-doc-accent,
.theme-dark .docs-doc-subject-bar {
  background: #fff;
}

.docs-doc-company-name {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.docs-doc-legal-line {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 17, 17, 0.09);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.58);
}

.theme-dark .docs-doc-legal-line {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
}

.docs-doc-contact-col {
  text-align: right;
}

.docs-doc-letter-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
}

.docs-doc-to-intro,
.docs-doc-date-chip {
  font-size: 12px;
  color: rgba(17, 17, 17, 0.62);
}

.theme-dark .docs-doc-to-intro,
.theme-dark .docs-doc-date-chip {
  color: rgba(255, 255, 255, 0.64);
}

.docs-doc-subject-row {
  display: grid;
  gap: 10px;
}

.docs-doc-subject-row strong {
  font-size: 13px;
  line-height: 1.45;
  color: inherit;
}

.docs-doc-letter-copy {
  display: grid;
  gap: 0;
}

.docs-doc-footerbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 12px;
  font-size: 10px;
  color: rgba(17, 17, 17, 0.56);
}

.theme-dark .docs-doc-footerbar {
  color: rgba(255, 255, 255, 0.58);
}

.docs-doc-footer-sep {
  opacity: 0.5;
}

.docs-doc-proposal-hero {
  gap: 10px;
}

.docs-doc-proposal-title {
  font-size: 32px;
  line-height: 1.04;
  font-weight: 700;
  color: inherit;
}

.docs-doc-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.docs-doc-metric-card {
  min-height: 96px;
}

.docs-doc-metric-card strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  color: inherit;
}

.docs-doc-metric-card span {
  font-size: 11px;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.64);
}

.theme-dark .docs-doc-metric-card span {
  color: rgba(255, 255, 255, 0.66);
}

.docs-doc-note-card--wide {
  margin-top: 4px;
}

.doc-meta-stack {
  display: grid;
  gap: 6px;
}

.doc-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 11px;
}

.doc-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.theme-dark .doc-pill {
  border-color: rgba(255, 255, 255, 0.12);
}

.doc-empty-state {
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: rgba(192, 192, 192, 0.56);
  font-size: 11px;
}

.documents-page-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.docs-library {
  display: grid;
  gap: 10px;
}

.docs-library-item {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.015));
  cursor: pointer;
  transition: border-color 0.24s ease, transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.docs-library-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.docs-library-item.active {
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.024));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.docs-library-meta,
.docs-inline-head,
.docs-template-badges,
.docs-actions,
.docs-type-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.docs-actions .btn,
.docs-type-actions .btn,
.docs-preview-tab,
.panel-action {
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

.docs-library-type,
.docs-doc-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 9px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.72);
  background: rgba(255, 255, 255, 0.02);
}

.docs-doc-status[data-status="Sent"],
.docs-doc-status[data-status="Approved"],
.docs-doc-status[data-status="Paid"] {
  color: #d8f7e8;
  border-color: rgba(60, 198, 122, 0.26);
  background: rgba(60, 198, 122, 0.09);
}

.docs-library-name {
  margin-top: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.docs-library-note,
.docs-company-note,
.docs-toolbar-note,
.docs-actions-note {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(192, 192, 192, 0.58);
}

.docs-library-empty {
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: rgba(192, 192, 192, 0.56);
  font-size: 11px;
}

.docs-field-stack {
  display: grid;
  gap: 16px;
}

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

.docs-item-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(90px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.018);
}

.docs-item-row .fg {
  min-width: 0;
}

.docs-item-row .admin-mini-btn {
  align-self: center;
}

.docs-template-card.active {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.docs-template-card.active .docs-template-name {
  color: #fff;
}

.docs-template-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.58);
}

.docs-toolbar {
  justify-content: space-between;
}

.docs-preview-stage {
  overflow: auto;
}

.doc-body-paragraph {
  margin: 0 0 16px;
  line-height: 1.78;
}

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

.doc-summary-card h4 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.doc-summary-card p {
  margin: 0;
  line-height: 1.7;
}

.doc-cover-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.doc-cover-metric {
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(17, 17, 17, 0.024);
}

.theme-dark .doc-cover-metric {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.doc-cover-metric strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  color: inherit;
}

@media (max-width: 1200px) {
  .cw-slider-wrap {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 16px;
    align-items: center;
  }

  .cw-prev,
  .cw-next {
    margin: 0;
  }

  .cw-track-outer {
    padding-left: 6px;
    padding-right: 6px;
  }

  .cw-track {
    gap: 16px;
  }

  .cw-card {
    flex: 0 0 clamp(272px, calc(100vw - 188px), 360px);
    width: clamp(272px, calc(100vw - 188px), 360px);
  }
}

@media (min-width: 1281px) {
  .cw-slider-wrap {
    display: grid;
    grid-template-columns: 56px minmax(0, 972px) 56px;
    gap: 20px;
    align-items: center;
    justify-content: center;
  }

  .cw-prev,
  .cw-next {
    margin: 0;
  }

  .cw-track-outer {
    width: min(972px, 100%);
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 1024px) {
  .mob-menu {
    max-height: calc(100dvh - var(--header-offset, 68px));
    overflow-y: auto;
    padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
  }

  .mob-menu-cta {
    margin-top: 18px;
    height: 54px;
    max-height: 54px;
    flex: 0 0 54px;
    align-self: stretch;
    border-bottom: 1px solid var(--white) !important;
  }

  .about-section {
    padding: 58px 28px;
  }

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

  .admin-demo-frame {
    height: 700px;
  }
}

@media (max-width: 980px) {
  .docs-top-grid {
    grid-template-columns: 1fr;
  }

  .docs-shell {
    grid-template-columns: 1fr;
  }

  .docs-preview-stage {
    padding: 14px;
    min-height: 0;
  }

  .docs-doc-preview-canvas {
    width: 100%;
  }

  .docs-preview-tabs {
    display: flex;
  }

  .documents-page-wrap[data-doc-view="editor"] .docs-preview-panel {
    display: none;
  }

  .documents-page-wrap[data-doc-view="preview"] .docs-editor-panel {
    display: none;
  }
}

@media (max-width: 900px) {
  .content {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .sidebar {
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .docs-meta-grid,
  .docs-company-grid,
  .docs-client-grid,
  .docs-template-grid,
  .doc-mini-grid,
  .doc-cover-metrics {
    grid-template-columns: 1fr;
  }

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

  .docs-actions {
    width: 100%;
  }

  .docs-actions .btn {
    flex: 1 1 180px;
  }

  .cw-slider-wrap {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .service-popup-grid {
    grid-template-columns: 1fr;
  }

  .admin-demo-frame-head,
  .showcase-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cw-track-outer {
    padding: 10px 0 16px;
    margin: 0;
  }

  .cw-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
  }

  .cw-thumb {
    height: 184px;
  }

  .cw-info {
    padding: 18px 16px;
  }

  .doc-paper {
    padding: 34px 28px 30px;
    min-height: auto;
  }

  .doc-layout-split,
  .doc-client-grid {
    grid-template-columns: 1fr;
  }

  .doc-sidebar {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    padding-top: 16px;
  }

  .theme-dark .doc-sidebar {
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .docs-doc-bill-row,
  .docs-doc-letter-row,
  .docs-doc-bottom-row,
  .docs-doc-lower-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .docs-doc-meta-stack {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .docs-doc-meta-row {
    justify-content: space-between;
  }

  .docs-doc-contact-col {
    text-align: left;
  }

  .docs-doc-metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .docs-actions .btn {
    width: 100%;
  }

  .tbl-wrap[data-mobile-cards="true"] {
    overflow: visible;
  }

  .tbl-wrap[data-mobile-cards="true"]::after {
    display: none !important;
  }

  .tbl[data-mobile-cards="true"],
  .tbl[data-mobile-cards="true"] tbody,
  .tbl[data-mobile-cards="true"] tr,
  .tbl[data-mobile-cards="true"] td {
    display: block;
    width: 100%;
  }

  .tbl[data-mobile-cards="true"] thead {
    display: none;
  }

  .tbl[data-mobile-cards="true"] tbody {
    display: grid;
    gap: 12px;
  }

  .tbl[data-mobile-cards="true"] tr {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.024);
    padding: 12px 14px;
    overflow: hidden;
  }

  .tbl[data-mobile-cards="true"] td {
    border: none;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    text-align: right;
    font-size: 11px;
  }

  .tbl[data-mobile-cards="true"] td::before {
    content: attr(data-label);
    flex: 0 0 42%;
    text-align: left;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(192, 192, 192, 0.46);
  }

  .tbl[data-mobile-cards="true"] td:last-child {
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .tbl[data-mobile-cards="true"] td:last-child::before {
    flex-basis: 100%;
    margin-bottom: 6px;
  }

  .tbl[data-mobile-cards="true"] td .badge,
  .tbl[data-mobile-cards="true"] td .tbl-action {
    margin-left: auto;
  }

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

@media (max-width: 600px) {
  .about-section {
    padding: 52px 18px;
  }

  .about-copy p {
    font-size: 11.5px;
  }

  .doc-paper {
    padding: 26px 18px 24px;
  }

  .doc-headline {
    flex-direction: column;
  }

  .doc-title {
    font-size: 24px;
  }

  .doc-watermark {
    font-size: 128px;
    right: 18px;
    bottom: 92px;
  }

  .docs-doc-logo,
  .docs-doc-logo-spacer {
    height: 40px;
    max-width: 170px;
  }

  .docs-doc-word {
    font-size: clamp(28px, 11vw, 40px);
  }

  .docs-doc-watermark-img {
    width: min(150px, 38%);
    right: 18px;
    bottom: 88px;
  }

  .docs-doc-table thead th,
  .docs-doc-table tbody td {
    padding-left: 14px;
    padding-right: 14px;
  }

  .docs-doc-client-name,
  .docs-doc-to-name {
    font-size: 18px;
  }

  .docs-doc-proposal-title {
    font-size: 25px;
  }

  .docs-doc-footerbar {
    justify-content: flex-start;
    gap: 10px;
  }

  .service-popup {
    padding: 14px;
  }

  .service-popup-head,
  .service-popup-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-popup-lead {
    grid-template-columns: 1fr;
  }

  .service-popup-icon {
    width: 62px;
    height: 62px;
  }

  .admin-demo-frame {
    height: 620px;
  }

  .showcase-preview-frame {
    height: 360px;
  }
}

@media (max-width: 480px) {
  .cw-slider-wrap {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 6px;
  }

  .cw-arrow {
    width: 34px;
    height: 34px;
  }

  .cw-card {
    flex: 0 0 100%;
    width: 100%;
  }

  .topbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .admin-demo-btn {
    flex: 1 1 100%;
  }

  .admin-demo-intro {
    font-size: 11px;
  }
}
