:root {
  color-scheme: dark;
  --bg: #101012;
  --surface: #18181b;
  --surface-2: #222226;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f6f3ee;
  --muted: #b9b2a9;
  --muted-2: #817a72;
  --primary: #62a9e0;
  --secondary: #f05a7e;
  --accent: #62a9e0;
  --ink: #101012;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  --radius: 10px;
  --max: 1240px;
}

/* Customer account settings and fixed sidebar overflow */
.customer-page .customer-sidebar {
  max-height: calc(100dvh - 112px);
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.customer-page .customer-sidebar::-webkit-scrollbar {
  width: 6px;
}

.customer-page .customer-sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 26%, transparent);
}

.customer-sidebar__summary,
.customer-sidebar__support,
.customer-sidebar__logout {
  flex-shrink: 0;
}

.customer-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.customer-form-grid label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.customer-form-grid input,
.customer-form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  padding: 12px 14px;
  outline: none;
}

.customer-form-grid textarea {
  resize: vertical;
}

.customer-form-grid input:focus,
.customer-form-grid textarea:focus {
  border-color: color-mix(in srgb, var(--primary) 54%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}

.customer-form-grid small {
  color: #dc2626;
  font-size: 12px;
  font-weight: 800;
}

.customer-form-grid__full {
  grid-column: 1 / -1;
}

.customer-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .customer-page .customer-sidebar {
    max-height: calc(100dvh - 70px);
    overflow: auto;
  }
}

@media (max-width: 760px) {
  .customer-form-grid {
    grid-template-columns: 1fr;
  }
}

.captcha-field {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.captcha-field small {
  color: #dc2626;
  font-size: 12px;
  font-weight: 800;
}

.social-login-options {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.social-login-options__button {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-weight: 900;
  background: color-mix(in srgb, var(--surface-2) 54%, transparent);
}

.social-login-options__button:hover {
  border-color: color-mix(in srgb, var(--primary) 38%, var(--line));
  background: color-mix(in srgb, var(--primary) 12%, var(--surface-2));
}

.social-login-options__button svg {
  width: 18px;
  height: 18px;
}

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(430px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.cookie-consent a {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.cookie-consent button {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  background: var(--primary);
  cursor: pointer;
}

/* Contact page */
.contact-page main {
  background: var(--bg);
  color: var(--text);
}

.contact-hero {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 64%, var(--bg));
}

.contact-hero__inner {
  padding-top: clamp(56px, 7vw, 94px);
  padding-bottom: clamp(54px, 7vw, 88px);
}

.contact-hero__copy {
  max-width: 920px;
  margin-top: 30px;
}

.contact-hero__copy h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

.contact-hero__copy p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.contact-content {
  padding: clamp(54px, 7vw, 92px) 0;
  background: var(--bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.35fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.contact-section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 650;
  letter-spacing: 0;
}

.contact-section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-detail-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.contact-detail-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

a.contact-detail-row:hover b {
  color: var(--primary);
}

.contact-detail-row > svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--primary);
}

.contact-detail-row > svg:last-child {
  width: 17px;
  height: 17px;
  color: var(--muted);
}

.contact-detail-row b,
.contact-detail-row small {
  display: block;
}

.contact-detail-row b {
  font-size: 14px;
  transition: color 160ms ease;
}

.contact-detail-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.contact-response-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  margin-top: 28px;
  padding: 18px 0 0;
}

.contact-response-note > svg {
  width: 21px;
  color: var(--primary);
}

.contact-response-note strong {
  display: block;
  font-size: 15px;
}

.contact-response-note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-form-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.contact-form {
  margin-top: 30px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 38px;
}

.contact-form textarea {
  min-height: 158px;
  resize: vertical;
  line-height: 1.6;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.contact-form label > small {
  color: #ef6a78;
  font-weight: 600;
}

.contact-form__message {
  margin-top: 19px;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 22px;
}

.contact-form__footer p {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.contact-form__footer p svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.contact-form__footer .primary-btn {
  flex: 0 0 auto;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.contact-alert svg {
  width: 18px;
  height: 18px;
}

.contact-alert--success {
  border-color: color-mix(in srgb, #2fb171 42%, var(--line));
  background: color-mix(in srgb, #2fb171 10%, var(--surface));
}

.contact-alert--error {
  border-color: color-mix(in srgb, #ef6a78 42%, var(--line));
  background: color-mix(in srgb, #ef6a78 10%, var(--surface));
}

.contact-map {
  margin-top: clamp(48px, 7vw, 82px);
}

.contact-map iframe {
  width: 100%;
  height: clamp(300px, 38vw, 470px);
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  filter: saturate(0.75) contrast(1.04);
}

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

  .contact-details {
    order: 2;
  }
}

@media (max-width: 620px) {
  .contact-hero__copy h1 {
    font-size: 42px;
  }

  .contact-form-panel {
    padding: 20px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form__footer .primary-btn {
    justify-content: center;
    width: 100%;
  }
}

/* Customer notification center */
.customer-page[data-panel-page="notifications"] .customer-notification-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.customer-page[data-panel-page="notifications"] .customer-notification-toolbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.customer-page[data-panel-page="notifications"] .customer-notification-filters {
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin: 0;
  border: 0;
  overflow-x: auto;
}

.customer-page[data-panel-page="notifications"] .customer-notification-filters a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.customer-page[data-panel-page="notifications"] .customer-notification-filters a.active {
  border-bottom-color: var(--primary);
  color: var(--text);
}

.customer-page[data-panel-page="notifications"] .customer-notification-filters a span {
  color: var(--primary);
  font-size: 12px;
}

.customer-notification-clear {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
}

.customer-notification-clear:hover {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--line));
  color: var(--text);
}

.customer-notification-clear svg,
.customer-sidebar nav a > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.customer-page[data-panel-page="notifications"] .customer-notification-list {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.customer-page[data-panel-page="notifications"] .customer-notification-item {
  min-height: 88px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: background-color 160ms ease;
}

.customer-page[data-panel-page="notifications"] .customer-notification-item:last-child {
  border-bottom: 0;
}

.customer-page[data-panel-page="notifications"] .customer-notification-item:hover,
.customer-page[data-panel-page="notifications"] .customer-notification-item.is-unread {
  background: color-mix(in srgb, var(--primary) 7%, var(--surface));
}

.customer-page[data-panel-page="notifications"] .customer-notification-item > svg {
  color: var(--muted-2);
}

.customer-page[data-panel-page="notifications"] .customer-notification-copy strong {
  color: var(--text);
  line-height: 1.4;
}

.customer-page[data-panel-page="notifications"] .customer-notification-copy p {
  overflow-wrap: anywhere;
}

.customer-notification-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.customer-notification-pagination a,
.customer-notification-pagination span,
.customer-notification-pagination strong {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  background: var(--surface);
}

.customer-notification-pagination span {
  color: var(--muted-2);
}

.customer-notification-pagination svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 640px) {
  .customer-page[data-panel-page="notifications"] .customer-intro {
    align-items: stretch;
  }

  .customer-page[data-panel-page="notifications"] .customer-intro form,
  .customer-page[data-panel-page="notifications"] .customer-intro button {
    width: 100%;
  }

  .customer-page[data-panel-page="notifications"] .customer-notification-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 0 14px 14px;
  }

  .customer-page[data-panel-page="notifications"] .customer-notification-filters {
    width: 100%;
  }

  .customer-page[data-panel-page="notifications"] .customer-notification-toolbar form,
  .customer-page[data-panel-page="notifications"] .customer-notification-clear {
    width: 100%;
  }

  .customer-page[data-panel-page="notifications"] .customer-notification-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
  }

  .customer-page[data-panel-page="notifications"] .customer-notification-icon {
    width: 38px;
    height: 38px;
  }

  .customer-page[data-panel-page="notifications"] .customer-notification-item > svg {
    display: none;
  }

  .customer-notification-pagination {
    justify-content: space-between;
  }

  .customer-notification-pagination a,
  .customer-notification-pagination span {
    flex: 1;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-2: #eef2f5;
  --line: rgba(16, 16, 18, 0.12);
  --text: #111316;
  --muted: #5d6570;
  --muted-2: #7a828c;
  --primary: #62a9e0;
  --secondary: #d94a6d;
  --accent: #62a9e0;
  --ink: #08111a;
  --shadow: 0 10px 26px rgba(30, 42, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Aptos", "Helvetica Neue", sans-serif;
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb, 98, 169, 224), 0.04), transparent 420px),
    var(--bg);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
  overflow: clip;
}

.topbar {
  background: #0b0b0c;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.topbar__inner,
.topbar__contact,
.topbar__tools {
  display: flex;
  align-items: center;
}

.topbar__inner {
  justify-content: space-between;
  min-height: 38px;
  gap: 18px;
}

.topbar__contact,
.topbar__tools {
  gap: 14px;
}

.topbar a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 160ms ease;
}

.topbar a:hover {
  color: var(--text);
}

.topbar svg,
.site-header svg,
.footer svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

.topbar select {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 26px 5px 9px;
}

.agency-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.agency-select__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.agency-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.agency-select__trigger:hover {
  background: var(--surface-2);
}

.agency-select__trigger:focus-visible,
.agency-select.is-open .agency-select__trigger {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.7);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.12);
}

.agency-select__trigger svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 160ms ease;
}

.agency-select.is-open .agency-select__trigger svg {
  transform: rotate(180deg);
}

.agency-select__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agency-select.has-placeholder .agency-select__value {
  color: var(--muted);
}

.agency-select__menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 6px);
  left: 0;
  width: max(100%, 180px);
  max-height: 280px;
  padding: 5px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.agency-select__menu[hidden] {
  display: none;
}

.agency-select__option {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  outline: 0;
}

.agency-select__option:hover,
.agency-select__option:focus-visible {
  background: var(--surface-2);
}

.agency-select__option.is-selected {
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.15);
  color: var(--primary);
  font-weight: 800;
}

.agency-select__option:disabled {
  color: var(--muted-2);
  cursor: not-allowed;
}

.agency-select.is-disabled {
  opacity: 0.55;
}

.agency-select--compact {
  width: auto;
  min-width: 84px;
}

.agency-select--compact .agency-select__trigger {
  min-height: 32px;
  padding: 0 9px;
  border-radius: 8px;
  font-size: 13px;
}

.topbar .agency-select__menu {
  right: 0;
  left: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(var(--bg-rgb, 16, 16, 18), 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.compact {
  background: rgba(var(--bg-rgb, 12, 12, 13), 0.92);
  box-shadow: var(--shadow);
}

body[data-agency-header-style="solid-dark"] .site-header {
  background: var(--bg);
  backdrop-filter: none;
}

body[data-agency-header-style="solid-dark"] .site-header.compact {
  background: color-mix(in srgb, var(--bg) 94%, #000000);
}

body[data-agency-header-style="light"] .topbar {
  background: color-mix(in srgb, var(--surface) 96%, #ffffff);
}

body[data-agency-header-style="light"] .site-header,
body[data-agency-header-style="light"] .site-header.compact {
  background: rgba(255, 255, 255, 0.94);
  color: #111316;
  backdrop-filter: blur(12px);
}

body[data-agency-header-style="light"] .nav-link,
body[data-agency-header-style="light"] .topbar a {
  color: #5d6570;
}

body[data-agency-header-style="light"] .nav-link:hover,
body[data-agency-header-style="light"] .nav-item:hover .nav-link {
  color: #111316;
  background: rgba(16, 16, 18, 0.06);
}

body[data-agency-header-style="light"] .icon-btn,
body[data-agency-header-style="light"] .menu-toggle {
  background: #f6f7f8;
  color: #111316;
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  transition: min-height 180ms ease;
}

.site-header.compact .nav-wrap {
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
}

.brand strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.brand span {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}

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

.desktop-nav {
  gap: 3px;
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -28px;
  right: -28px;
  height: 14px;
  display: none;
}

.nav-item:hover::after,
.nav-item:focus-within::after {
  display: block;
}

.nav-link {
  color: var(--muted);
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.nav-item:hover .nav-link {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link svg {
  width: 14px;
  height: 14px;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -60px;
  width: 620px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 12px;
  padding: 12px;
  background: rgba(24, 24, 27, 0.97);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-feature,
.mega-product {
  background: #111113;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}

.mega-feature h3,
.mega-product strong {
  margin: 0 0 8px;
  font-size: 17px;
}

.mega-feature p,
.mega-product p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.mega-feature a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--primary);
  font-weight: 700;
}

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

.mega-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: #141416;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.mega-grid a:hover {
  color: var(--text);
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.32);
  background: #19191c;
}

.mega-menu--products {
  width: 560px;
  left: -140px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-menu--managed {
  width: min(720px, calc(100vw - 32px));
  left: 50%;
  gap: 8px;
  transform: translate(-50%, 6px);
}

.nav-item:hover .mega-menu--managed,
.nav-item:focus-within .mega-menu--managed {
  transform: translate(-50%, 0);
}

.mega-menu--columns-1 {
  width: 280px;
  grid-template-columns: 1fr;
}

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

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

.mega-menu--columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mega-menu--managed .mega-product > svg,
.mega-menu--managed .mega-product > .agency-menu-icon,
.mega-menu--managed .mega-product > .agency-menu-icon svg {
  width: 20px;
  height: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}

.agency-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mega-product b {
  display: block;
  color: var(--primary);
  margin-top: 14px;
}

.header-actions {
  gap: 8px;
}

.icon-btn,
.primary-btn,
.secondary-btn,
.ghost-link {
  border-radius: 9px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.icon-btn {
  position: relative;
  width: 40px;
  background: #151517;
  color: var(--text);
}

.icon-btn em {
  position: absolute;
  top: -6px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--ink);
  font-size: 10px;
  font-style: normal;
  display: grid;
  place-items: center;
}

.primary-btn,
.secondary-btn,
.ghost-link {
  padding: 0 14px;
  font-weight: 800;
  font-size: 14px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.primary-btn {
  background: var(--primary);
  color: var(--ink);
  border-color: var(--primary);
}

.primary-btn:hover {
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.14);
}

body[data-agency-radius="sharp"] .icon-btn,
body[data-agency-radius="sharp"] .primary-btn,
body[data-agency-radius="sharp"] .secondary-btn,
body[data-agency-radius="sharp"] .ghost-link,
body[data-agency-radius="sharp"] .menu-toggle,
body[data-agency-radius="sharp"] .hero-search,
body[data-agency-radius="sharp"] .service-card,
body[data-agency-radius="sharp"] .product-card,
body[data-agency-radius="sharp"] .pricing-card,
body[data-agency-radius="sharp"] .blog-card,
body[data-agency-radius="sharp"] .customer-card,
body[data-agency-radius="sharp"] .checkout-card,
body[data-agency-radius="sharp"] .domain-console {
  border-radius: 8px;
}

body[data-agency-radius="rounded"] .hero-search,
body[data-agency-radius="rounded"] .service-card,
body[data-agency-radius="rounded"] .product-card,
body[data-agency-radius="rounded"] .pricing-card,
body[data-agency-radius="rounded"] .blog-card,
body[data-agency-radius="rounded"] .customer-card,
body[data-agency-radius="rounded"] .checkout-card,
body[data-agency-radius="rounded"] .domain-console {
  border-radius: 18px;
}

.agency-domain-hero {
  background: var(--bg);
}

.agency-domain-hero__bg {
  background:
    radial-gradient(circle at 30% 10%, rgba(var(--primary-rgb, 98, 169, 224), 0.24), transparent 32%),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 72%, var(--surface)) 100%);
}

.secondary-btn,
.ghost-link {
  background: transparent;
  color: var(--text);
}

.secondary-btn:hover,
.ghost-link:hover,
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: #151517;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 9px;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.08), transparent 42%),
    #101012;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer__head,
.mobile-drawer__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-drawer nav {
  display: grid;
  gap: 6px;
  margin: 46px 0;
}

.mobile-drawer nav a {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-group {
  border-bottom: 1px solid var(--line);
}

.mobile-menu-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-size: 28px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.mobile-menu-group summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-group summary svg {
  width: 20px;
  height: 20px;
  transition: transform 160ms ease;
}

.mobile-menu-group[open] summary svg {
  transform: rotate(180deg);
}

.mobile-menu-group div {
  display: grid;
  padding: 0 0 12px 16px;
}

.mobile-menu-group div a {
  border-bottom: 0;
  padding: 8px 0;
  font-size: 17px;
  font-weight: 600;
}

.announcement {
  border-bottom: 1px solid var(--line);
}

.announcement__inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.announcement__viewport {
  position: relative;
  width: 100%;
  height: 46px;
  overflow: hidden;
}

.announcement__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(100%);
  animation: announcement-slide calc(var(--announcement-count) * 4.2s) cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: calc(var(--announcement-index) * 4.2s);
}

.announcement__inner[style*="--announcement-count: 1"] .announcement__item {
  position: relative;
  opacity: 1;
  transform: none;
  animation: none;
}

.announcement strong {
  flex: 0 0 auto;
  color: var(--primary);
}

.announcement p {
  margin: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcement a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 700;
}

@keyframes announcement-slide {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }

  8%,
  30% {
    opacity: 1;
    transform: translateY(0);
  }

  38%,
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

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

  .announcement__item:first-child {
    opacity: 1;
    transform: none;
  }
}

.hero {
  position: relative;
  padding: 76px 0 84px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.13), transparent 34%),
    linear-gradient(315deg, rgba(var(--secondary-rgb, 240, 90, 126), 0.13), transparent 42%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 48px;
}

body[data-agency-hero-style="minimal"] .hero {
  padding: 72px 0 78px;
  background: var(--bg);
}

body[data-agency-hero-style="minimal"] .hero::before,
body[data-agency-hero-style="minimal"] .hero-stage {
  display: none;
}

body[data-agency-hero-style="minimal"] .hero__grid {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  text-align: center;
}

body[data-agency-hero-style="minimal"] .hero__meta,
body[data-agency-hero-style="minimal"] .hero__actions,
body[data-agency-hero-style="minimal"] .slider-controls {
  justify-content: center;
}

body[data-agency-hero-style="minimal"] .hero h1,
body[data-agency-hero-style="minimal"] .hero p,
body[data-agency-hero-style="minimal"] .hero-search {
  margin-inline: auto;
}

body[data-agency-hero-style="split"] .hero {
  padding: 64px 0 72px;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 53%, color-mix(in srgb, var(--primary) 10%, var(--surface)) 53%, color-mix(in srgb, var(--primary) 10%, var(--surface)) 100%);
}

body[data-agency-hero-style="split"] .hero::before,
body[data-agency-hero-style="split"] .stage-orbit,
body[data-agency-hero-style="split"] .stage-cube {
  display: none;
}

body[data-agency-hero-style="split"] .hero__grid {
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 42px;
}

body[data-agency-hero-style="split"] .hero-stage {
  min-height: 460px;
}

body[data-agency-hero-style="split"] .stage-card--mockup {
  inset: 18px 0;
  border-radius: var(--radius-lg, 16px);
  transform: none;
  animation: none;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  max-width: 780px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 690px;
  margin: 22px 0 0;
}

.hero-search {
  position: relative;
  margin-top: 30px;
  max-width: 680px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  padding: 7px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.hero-search:focus-within {
  box-shadow: 0 0 0 5px rgba(var(--primary-rgb, 98, 169, 224), 0.22);
  transform: translateY(-1px);
}

.hero-search svg {
  margin: 0 auto;
  color: #242426;
}

.hero-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #101012;
  font-weight: 700;
}

.hero-search input::placeholder {
  color: #615c56;
}

.hero-search button {
  height: 44px;
  min-width: 86px;
  border: 0;
  border-radius: 12px;
  background: #101012;
  color: #f6f3ee;
  font-weight: 800;
  cursor: pointer;
}

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

.slider-controls {
  display: flex;
  gap: 9px;
  margin-top: 28px;
}

.slider-dot {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--primary);
}

.hero-stage {
  position: relative;
  min-height: 520px;
  perspective: 1200px;
}

.stage-card {
  position: absolute;
  inset: 58px 38px 62px 26px;
  background: linear-gradient(180deg, #202025, #111113);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transform: rotateX(58deg) rotateZ(-33deg) translate3d(0, 0, 0);
  transform-style: preserve-3d;
  animation: stageFloat 7s ease-in-out infinite;
}

.stage-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(var(--primary-rgb, 98, 169, 224), 0.28);
  border-radius: 12px;
}

.stage-card--mockup {
  inset: 34px 0 44px 18px;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border-radius: 14px;
  transform: rotateZ(-3deg) translate3d(0, 0, 0);
  animation: stageMockupFloat 7s ease-in-out infinite;
}

.stage-card--mockup::after {
  content: none;
}

.stage-card--mockup img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 9px;
  transition: opacity 180ms ease, filter 180ms ease;
}

.stage-card--mockup img.is-changing {
  opacity: 0;
  filter: blur(4px);
}

.stage-toolbar {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.stage-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted-2);
}

.stage-toolbar span:nth-child(2) {
  background: var(--secondary);
}

.stage-toolbar span:nth-child(3) {
  background: var(--primary);
}

.stage-screen {
  padding: 34px;
}

.stage-metric {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 26px;
}

.stage-metric b {
  font-size: 48px;
  color: var(--primary);
  letter-spacing: -0.05em;
}

.stage-metric span {
  color: var(--muted);
  max-width: 150px;
}

.stage-bars {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.stage-bars i {
  height: 15px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  overflow: hidden;
}

.stage-bars i::before {
  content: "";
  display: block;
  height: 100%;
  width: 68%;
  background: var(--accent);
  animation: barPulse 4s ease-in-out infinite;
}

.stage-bars i:nth-child(2)::before {
  width: 84%;
  background: var(--primary);
}

.stage-bars i:nth-child(3)::before {
  width: 51%;
  background: var(--secondary);
}

.stage-bars i:nth-child(4)::before {
  width: 76%;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.stage-grid span {
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.stage-orbit {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(24, 24, 27, 0.9);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 800;
  box-shadow: var(--shadow);
  animation: orbitFloat 6s ease-in-out infinite;
}

.orbit-a {
  top: 26px;
  right: 80px;
}

.orbit-b {
  left: 0;
  bottom: 95px;
  animation-delay: -1.4s;
}

.orbit-c {
  right: 10px;
  bottom: 44px;
  animation-delay: -2.8s;
}

.stage-cube {
  position: absolute;
  width: 96px;
  height: 96px;
  right: 72px;
  top: 210px;
  transform-style: preserve-3d;
  animation: cubeSpin 11s linear infinite;
}

.stage-cube span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--primary-rgb, 98, 169, 224), 0.52);
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.1);
}

.stage-cube span:nth-child(1) {
  transform: rotateY(0deg) translateZ(48px);
}

.stage-cube span:nth-child(2) {
  transform: rotateY(90deg) translateZ(48px);
}

.stage-cube span:nth-child(3) {
  transform: rotateX(90deg) translateZ(48px);
}

.section {
  padding: 86px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(260px, 0.45fr);
  align-items: end;
  gap: 30px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.055em;
}

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

.service-grid,
.product-grid,
.blog-grid,
.stats-grid {
  display: grid;
  gap: 14px;
}

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

.service-card,
.product-card,
.blog-card,
.stat,
.timeline-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  position: relative;
  min-height: 246px;
  padding: 24px;
  overflow: hidden;
  transition: border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.16), rgba(var(--secondary-rgb, 240, 90, 126), 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 170ms ease;
}

.service-card:hover {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.42);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.09);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
}

.service-card > svg,
.stat > svg {
  color: var(--primary);
  width: 28px;
  height: 28px;
}

.service-card h3,
.product-card h3,
.timeline-step h3,
.blog-card h3,
.footer h3 {
  margin: 20px 0 10px;
  letter-spacing: -0.025em;
}

.service-card p,
.product-card p,
.timeline-step p,
.blog-card p,
.footer p {
  color: var(--muted);
  line-height: 1.6;
}

.service-card a,
.blog-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 800;
}

.products {
  background: #0c0c0d;
  border-block: 1px solid var(--line);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

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

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  isolation: isolate;
  overflow: hidden;
  padding: 18px;
  transition: border-color 190ms ease, background 190ms ease, box-shadow 190ms ease, transform 190ms ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at 22% 0%, rgba(var(--primary-rgb, 98, 169, 224), 0.22), transparent 36%),
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.1), rgba(var(--secondary-rgb, 240, 90, 126), 0.08) 46%, transparent 72%);
  transition: opacity 190ms ease;
}

.product-card > * {
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.5);
  background: var(--surface);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.08);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card.featured {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.44);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.08);
}

.product-card.featured:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.58);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.12);
}

.product-visual {
  height: 164px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 18px;
  border-radius: 9px;
  overflow: hidden;
  background: #111113;
  position: relative;
  transition: transform 190ms ease, box-shadow 190ms ease;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: auto -12% -45% -12%;
  height: 126px;
  background: rgba(255, 255, 255, 0.08);
  transform: skewY(-8deg);
  transition: transform 240ms ease, opacity 240ms ease;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 12%, rgba(255, 255, 255, 0.22) 46%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 620ms ease;
}

.product-card:hover .product-visual {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.product-card:hover .product-visual::before {
  opacity: 0.95;
  transform: translateY(-12px) skewY(-8deg);
}

.product-card:hover .product-visual::after {
  transform: translateX(120%);
}

.product-visual svg {
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 1;
}

.product-visual span,
.blog-card b {
  position: relative;
  z-index: 1;
  color: var(--ink);
  background: var(--primary);
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.commerce {
  background: linear-gradient(135deg, #222226, #332018);
}

.crm {
  background: linear-gradient(135deg, #1f2624, #231b25);
}

.booking {
  background: linear-gradient(135deg, #221f18, #1c2723);
}

.portal {
  background: linear-gradient(135deg, #182126, #231f2a);
}

.product-card ul {
  list-style: none;
  padding: 0 0 20px;
  margin: 18px 0 0;
  display: grid;
  gap: 9px;
  color: var(--muted);
  min-height: 78px;
}

.product-card > h3 {
  min-height: 2.6em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card > p {
  min-height: 4.8em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.product-foot {
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.product-price-current {
  font-size: 24px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.product-actions {
  display: flex;
  gap: 8px;
}

.product-actions form {
  display: flex;
}

.product-actions .primary-btn,
.product-actions .secondary-btn {
  min-height: 42px;
  padding-inline: 14px;
  white-space: nowrap;
}

.hosting {
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb, 98, 169, 224), 0.07), transparent 280px),
    #101012;
  border-bottom: 1px solid var(--line);
}

.billing-row {
  width: fit-content;
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 0 0 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.billing-toggle {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  padding: 0 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.billing-toggle.active {
  background: var(--primary);
  color: var(--ink);
}

.billing-toggle span {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 900;
}

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

.pricing-card,
.reseller-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  transition: border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.pricing-card.featured,
.reseller-card.premium {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.48);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.08);
}

.pricing-card:hover,
.reseller-card:hover {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.38);
}

.pricing-top svg,
.reseller-card svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.pricing-top h3,
.reseller-card h3 {
  margin: 18px 0 8px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.pricing-top p,
.reseller-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.price {
  margin: 24px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.price strong {
  font-size: 42px;
  letter-spacing: -0.06em;
}

.price span {
  color: var(--muted);
  font-weight: 800;
}

.pricing-card ul,
.reseller-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.pricing-card li,
.reseller-card li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card li svg,
.reseller-card li svg {
  width: 16px;
  height: 16px;
}

.pricing-card > a {
  width: 100%;
  margin-top: auto;
}

.resellers {
  background: #0c0c0d;
  border-bottom: 1px solid var(--line);
}

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

.reseller-card {
  min-height: 376px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.reseller-card strong {
  display: block;
  margin: 22px 0;
  font-size: 32px;
  letter-spacing: -0.05em;
}

.reseller-card > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--primary);
  font-weight: 900;
}

.why__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
}

.why .section-head {
  display: block;
  margin: 0;
}

.why .section-head p {
  margin-top: 18px;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  min-height: 176px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat strong {
  font-size: 44px;
  letter-spacing: -0.05em;
}

.stat span {
  color: var(--muted);
}

.process {
  background: #121214;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  transform-origin: left;
  animation: lineDraw 4s ease infinite alternate;
}

.timeline-step {
  position: relative;
  padding: 78px 16px 18px;
  min-height: 220px;
}

.timeline-step b {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--ink);
  border-radius: 50%;
  font-size: 13px;
}

.brands {
  padding-bottom: 58px;
}

.brand-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0c0c0d;
}

.brand-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.brand-track span {
  min-width: 190px;
  padding: 26px 34px;
  color: var(--muted-2);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-align: center;
  filter: grayscale(1);
  transition: color 180ms ease, filter 180ms ease;
}

.brand-track span:hover {
  color: var(--text);
  filter: grayscale(0);
}

.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.blog-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.blog-card div {
  padding: 20px;
}

.blog-card time {
  color: var(--muted-2);
  margin-left: 8px;
  font-size: 13px;
}

.testimonials {
  background:
    linear-gradient(90deg, rgba(var(--primary-rgb, 98, 169, 224), 0.08), transparent),
    #0c0c0d;
}

.testimonials__grid,
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
}

.testimonials .section-head,
.faq .section-head {
  display: block;
  margin: 0;
}

.testimonials .section-head p,
.faq .section-head p {
  margin-top: 18px;
}

.testimonial-slider {
  position: relative;
  min-height: 318px;
  background: rgba(24, 24, 27, 0.82);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  padding: 22px;
  overflow: hidden;
}

.testimonial {
  position: absolute;
  inset: 22px;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.testimonial.active {
  opacity: 1;
  pointer-events: auto;
}

.testimonial img {
  width: 116px;
  height: 116px;
  object-fit: cover;
  border-radius: 10px;
}

.stars {
  color: var(--primary);
  letter-spacing: 2px;
}

.testimonial p {
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.testimonial strong,
.testimonial span {
  display: block;
}

.testimonial span {
  color: var(--muted);
  margin-top: 5px;
}

.testimonial-actions {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 8px;
}

.testimonial-actions button {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line);
  color: var(--text);
  background: #111113;
  cursor: pointer;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  position: relative;
  text-align: left;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 54px 18px 18px;
  cursor: pointer;
}

.accordion-item > span {
  font-weight: 900;
}

.accordion-item svg {
  position: absolute;
  top: 18px;
  right: 18px;
  transition: transform 180ms ease;
}

.accordion-item p {
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  margin: 0;
  line-height: 1.55;
  transition: max-height 220ms ease, margin 220ms ease;
}

.accordion-item.active p {
  max-height: 120px;
  margin-top: 12px;
}

.accordion-item.active svg {
  transform: rotate(45deg);
}

.footer {
  padding: 74px 0 30px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.13), transparent 34%),
    linear-gradient(315deg, rgba(var(--secondary-rgb, 240, 90, 126), 0.12), transparent 46%),
    #0b0b0c;
  border-top: 1px solid var(--line);
}

.footer-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.footer-cta h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.8fr 1fr;
  gap: 28px;
  padding: 36px 0;
}

.footer-grid--managed {
  grid-template-columns: minmax(260px, 1.35fr) repeat(auto-fit, minmax(150px, 1fr));
}

.footer-grid h3 {
  margin-top: 0;
}

.footer-grid a,
.footer-grid span,
.newsletter label {
  display: block;
  color: var(--muted);
  margin-top: 10px;
}

.footer-grid a:hover {
  color: var(--text);
}

.newsletter div:not(.socials) {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  margin-top: 14px;
}

.newsletter input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #141416;
  color: var(--text);
  padding: 0 12px;
}

.newsletter button {
  border-radius: 9px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--ink);
  cursor: pointer;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted-2);
  font-size: 14px;
}

.software-hero {
  position: relative;
  padding: 72px 0 66px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.13), transparent 34%),
    linear-gradient(315deg, rgba(var(--secondary-rgb, 240, 90, 126), 0.11), transparent 44%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.software-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
  pointer-events: none;
}

.software-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 46px;
}

.software-breadcrumb,
.software-tags,
.software-actions,
.software-meta {
  display: flex;
  align-items: center;
}

.software-breadcrumb {
  gap: 8px;
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 14px;
}

.software-breadcrumb a {
  color: var(--primary);
  font-weight: 900;
}

.software-breadcrumb svg {
  width: 15px;
  height: 15px;
}

.software-tags {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.software-tags span {
  color: var(--ink);
  background: var(--primary);
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.software-tags span:not(:first-child) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.software-hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.software-hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.software-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.software-meta {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.software-meta div {
  min-width: 152px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.software-meta strong,
.software-meta span {
  display: block;
}

.software-meta strong {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.software-meta span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
}

.software-preview {
  min-height: 430px;
}

.preview-window {
  border: 1px solid rgba(var(--primary-rgb, 98, 169, 224), 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotateX(56deg) rotateZ(-28deg);
  transform-origin: center;
}

.preview-window__bar {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.preview-window__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted-2);
}

.preview-window__bar span:nth-child(2) {
  background: var(--secondary);
}

.preview-window__bar span:nth-child(3) {
  background: var(--primary);
}

.preview-window__body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 360px;
}

.preview-sidebar {
  padding: 22px;
  background: rgba(0, 0, 0, 0.12);
  border-right: 1px solid var(--line);
}

.preview-sidebar b {
  display: block;
  margin-bottom: 24px;
}

.preview-sidebar i {
  display: block;
  height: 13px;
  margin-top: 14px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
}

.preview-content {
  padding: 24px;
}

.preview-kpi,
.preview-chart,
.preview-table {
  display: grid;
  gap: 12px;
}

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

.preview-kpi div {
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.preview-kpi span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.preview-kpi strong {
  display: block;
  margin-top: 10px;
  color: var(--primary);
  font-size: 26px;
  letter-spacing: -0.05em;
}

.preview-chart {
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  min-height: 130px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.preview-chart i {
  border-radius: 6px 6px 0 0;
  background: var(--primary);
}

.preview-chart i:nth-child(1) { height: 44px; }
.preview-chart i:nth-child(2) { height: 72px; }
.preview-chart i:nth-child(3) { height: 58px; }
.preview-chart i:nth-child(4) { height: 96px; }
.preview-chart i:nth-child(5) { height: 82px; }

.preview-table {
  margin-top: 18px;
}

.preview-table span {
  height: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.detail-nav {
  position: sticky;
  top: 76px;
  z-index: 40;
  background: rgba(16, 16, 18, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header.compact + .mobile-drawer + main .detail-nav,
.site-header.compact ~ main .detail-nav {
  top: 60px;
}

.detail-nav__inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  min-height: 52px;
  align-items: center;
  scrollbar-width: none;
}

.detail-nav__inner::-webkit-scrollbar {
  display: none;
}

.detail-nav a {
  flex: 0 0 auto;
  color: var(--muted);
  border-radius: 8px;
  padding: 9px 11px;
  font-weight: 800;
  font-size: 14px;
  transition: color 160ms ease, background 160ms ease;
}

.detail-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

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

.feature-card,
.review-card,
.requirements-table,
.buy-card,
.screenshot-viewer,
.update-list article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card {
  min-height: 214px;
  padding: 22px;
}

.feature-card svg,
.review-card svg,
.buy-card svg {
  color: var(--primary);
}

.feature-card > svg {
  width: 28px;
  height: 28px;
}

.feature-card h3,
.update-list h3 {
  margin: 18px 0 10px;
  letter-spacing: -0.025em;
}

.feature-card p,
.description-copy p,
.update-list p,
.purchase-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.software-description {
  background: #0c0c0d;
  border-block: 1px solid var(--line);
}

.software-description__grid,
.reviews__grid,
.updates__grid,
.requirements__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
}

.software-description .section-head,
.reviews .section-head,
.updates .section-head,
.requirements .section-head {
  display: block;
  margin: 0;
}

.software-description .section-head p,
.reviews .section-head p,
.updates .section-head p,
.requirements .section-head p {
  margin-top: 18px;
}

.description-copy {
  display: grid;
  gap: 16px;
  font-size: 17px;
}

.screenshot-viewer {
  padding: 18px;
}

.screenshot-frame {
  position: relative;
  min-height: 470px;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.14), transparent 38%),
    var(--surface-2);
  border: 1px solid var(--line);
}

.shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.shot.active {
  opacity: 1;
  pointer-events: auto;
}

.shot-dashboard {
  display: grid;
  grid-template-columns: 210px 1fr;
}

.shot-sidebar {
  background: rgba(0, 0, 0, 0.16);
  border-right: 1px solid var(--line);
}

.shot-main {
  padding: 28px;
}

.shot-main b,
.shot-orders b {
  display: block;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.shot-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.shot-cards i {
  height: 112px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.shot-lines,
.shot-orders {
  display: grid;
  gap: 12px;
}

.shot-lines {
  margin-top: 22px;
}

.shot-lines span,
.shot-orders span {
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.shot-store {
  padding: 28px;
}

.store-hero {
  height: 170px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.34), rgba(var(--secondary-rgb, 240, 90, 126), 0.2)),
    rgba(255, 255, 255, 0.08);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.store-grid i {
  height: 190px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.shot-orders {
  padding: 34px;
}

.shot-orders span {
  height: 54px;
}

.screenshot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.screenshot-tabs button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.screenshot-tabs button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--ink);
}

.reviews {
  background:
    linear-gradient(90deg, rgba(var(--primary-rgb, 98, 169, 224), 0.08), transparent),
    #0c0c0d;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  padding: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-author img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 9px;
}

.review-author span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.review-card p {
  color: var(--muted);
  line-height: 1.6;
}

.updates {
  border-bottom: 1px solid var(--line);
}

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

.update-list article {
  padding: 18px;
}

.update-list time {
  color: var(--primary);
  font-weight: 900;
  font-size: 14px;
}

.requirements-table {
  overflow: hidden;
}

.requirements-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.requirements-table div:last-child {
  border-bottom: 0;
}

.requirements-table strong {
  letter-spacing: -0.02em;
}

.requirements-table span {
  color: var(--muted);
  line-height: 1.55;
}

.software-purchase {
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.1), transparent 36%),
    var(--bg);
}

.purchase-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 28px;
  align-items: start;
}

.purchase-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.purchase-copy p {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: 17px;
}

.demo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.buy-card {
  position: sticky;
  top: 92px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.buy-card > span {
  color: var(--muted);
  font-weight: 800;
}

.buy-card > strong {
  display: block;
  margin: 10px 0 18px;
  font-size: 46px;
  letter-spacing: -0.06em;
}

.buy-card ul {
  list-style: none;
  padding: 18px 0;
  margin: 0;
  border-block: 1px solid var(--line);
  display: grid;
  gap: 11px;
  color: var(--muted);
}

.buy-card li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.buy-card li svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.buy-card .primary-btn {
  width: 100%;
  margin-top: 18px;
}

.software-hero--compact {
  padding: 58px 0 76px;
}

.software-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 26px;
  align-items: start;
}

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

.software-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.software-side__price {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.software-side__price span,
.license-box span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.software-side__price strong {
  display: block;
  margin-top: 8px;
  font-size: 46px;
  letter-spacing: -0.06em;
}

.software-side__actions {
  display: grid;
  gap: 8px;
}

.software-side__actions .primary-btn,
.software-side__actions .secondary-btn {
  width: 100%;
}

.agency-check-row,
.agency-quantity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.agency-check-row {
  cursor: pointer;
  padding: 12px;
}

.agency-check-row + .agency-check-row {
  margin-top: 8px;
}

.agency-check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

.agency-check-row span {
  min-width: 0;
}

.agency-check-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.agency-quantity-row {
  justify-content: space-between;
  padding: 10px 12px;
  font-weight: 900;
}

.agency-quantity-row input {
  width: 92px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  outline: 0;
}

.agency-quantity-row input:focus {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.7);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.12);
}

.license-box,
.side-requirements {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.license-box h3,
.side-requirements h3 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.license-box strong {
  display: block;
  margin-bottom: 5px;
}

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

.side-requirements li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.side-requirements svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
  flex: 0 0 auto;
  margin-top: 2px;
}

.featured-gallery {
  margin-top: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-gallery__stage {
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.14), transparent 42%),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.featured-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.featured-shot.active {
  opacity: 1;
  pointer-events: auto;
}

.agency-product-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.featured-shot--dashboard {
  display: grid;
  grid-template-columns: 180px 1fr;
}

.fg-sidebar {
  padding: 22px;
  background: rgba(0, 0, 0, 0.16);
  border-right: 1px solid var(--line);
}

.fg-sidebar b {
  display: block;
  margin-bottom: 24px;
}

.fg-sidebar span {
  display: block;
  height: 14px;
  margin-top: 13px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.fg-main {
  padding: 26px;
}

.fg-topline {
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.fg-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.fg-metrics i {
  height: 96px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
}

.fg-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  min-height: 136px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.fg-chart span {
  border-radius: 7px 7px 0 0;
  background: var(--primary);
}

.fg-chart span:nth-child(1) { height: 42px; }
.fg-chart span:nth-child(2) { height: 84px; }
.fg-chart span:nth-child(3) { height: 64px; }
.fg-chart span:nth-child(4) { height: 104px; }
.fg-chart span:nth-child(5) { height: 78px; }

.featured-shot--store {
  padding: 26px;
}

.fg-store-hero {
  height: 138px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.36), rgba(var(--secondary-rgb, 240, 90, 126), 0.16)),
    rgba(255, 255, 255, 0.08);
}

.fg-store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.fg-store-grid i {
  height: 156px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.featured-shot--mobile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 26px;
}

.fg-phone {
  width: 170px;
  min-height: 300px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(var(--primary-rgb, 98, 169, 224), 0.38);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
}

.fg-phone span,
.fg-phone i {
  display: block;
  border-radius: 10px;
}

.fg-phone span {
  height: 84px;
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.36);
}

.fg-phone i {
  height: 46px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.fg-mobile-copy b {
  display: block;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.fg-mobile-copy p {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.6;
}

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

.featured-gallery__thumbs button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.featured-gallery__thumbs button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--ink);
}

.featured-gallery__thumbs svg {
  width: 18px;
  height: 18px;
}

.software-tabs-section {
  margin-top: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.software-tablist {
  display: flex;
  gap: 4px;
  min-height: 58px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.software-tablist::-webkit-scrollbar {
  display: none;
}

.software-tablist button {
  flex: 0 0 auto;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.software-tablist button.active {
  background: var(--primary);
  color: var(--ink);
}

.software-tablist button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.14);
}

.software-tabpanels {
  padding: 22px;
}

.software-tabpanel {
  animation: tabFade 180ms ease;
}

.tab-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(260px, 0.54fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 20px;
}

.tab-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.tab-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.description-copy--tabs {
  max-width: 820px;
}

.review-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.review-form textarea {
  width: 100%;
  min-height: 116px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 12px;
  outline: 0;
  line-height: 1.5;
}

.review-form .input-wrap select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: 0;
  font: inherit;
}

.agency-review-avatar {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.12);
  border: 1px solid rgba(var(--primary-rgb, 98, 169, 224), 0.32);
  color: var(--primary);
  font-weight: 900;
}

.review-form textarea:focus {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.7);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.12);
}

.review-form textarea::placeholder {
  color: var(--muted-2);
}

.review-form .secondary-btn {
  width: fit-content;
}

.review-list--tabs {
  grid-template-columns: 1fr;
}

.update-tree {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 28px;
}

.update-tree::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 18px;
  left: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(var(--primary-rgb, 98, 169, 224), 0.12));
}

.update-tree article {
  position: relative;
  padding: 0 0 24px 20px;
}

.update-tree article::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -26px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(var(--primary-rgb, 98, 169, 224), 0.14);
}

.update-tree time {
  color: var(--primary);
  font-weight: 900;
  font-size: 14px;
}

.update-tree h3 {
  margin: 8px 0;
  letter-spacing: -0.025em;
}

.update-tree p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

@keyframes tabFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.auth-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 16, 18, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.auth-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.auth-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-main {
  min-height: calc(100vh - 110px);
  padding: 74px 0;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.11), transparent 34%),
    linear-gradient(315deg, rgba(var(--secondary-rgb, 240, 90, 126), 0.08), transparent 44%),
    var(--bg);
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 54px;
}

.auth-grid--register {
  grid-template-columns: minmax(280px, 0.72fr) minmax(460px, 0.9fr);
}

.auth-copy h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(38px, 5.6vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.auth-copy p {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.auth-proof {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin-top: 30px;
}

.auth-proof div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
}

.auth-proof svg {
  width: 19px;
  height: 19px;
  color: var(--primary);
  flex: 0 0 auto;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.auth-card__head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.auth-card__head h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.045em;
}

.auth-card__head p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.customer-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.customer-type__btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.customer-type__btn svg {
  width: 18px;
  height: 18px;
}

.customer-type__btn.active {
  background: var(--primary);
  color: var(--ink);
}

.customer-type__btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.16);
}

.customer-fields {
  display: none;
}

.customer-fields.active {
  display: grid;
  gap: 16px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
}

.input-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.input-wrap:focus-within {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.7);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.12);
}

.input-wrap > svg {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  color: var(--muted-2);
}

.input-wrap input,
.input-wrap select {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 0 12px 0 0;
}

.input-wrap input::placeholder {
  color: var(--muted-2);
}

.input-wrap select {
  appearance: none;
}

.input-wrap .agency-select {
  grid-column: 2;
  min-width: 0;
}

.input-wrap .agency-select__trigger {
  min-height: 46px;
  padding: 0 34px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.input-wrap .agency-select__trigger:hover,
.input-wrap .agency-select__trigger:focus-visible,
.input-wrap .agency-select.is-open .agency-select__trigger {
  background: transparent;
  box-shadow: none;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.password-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.input-wrap:has(.password-toggle) input {
  padding-right: 48px;
}

.auth-options,
.checkline,
.auth-switch {
  display: flex;
  align-items: center;
}

.auth-options {
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.auth-options a,
.auth-switch a {
  color: var(--primary);
  font-weight: 900;
}

.checkline {
  gap: 9px;
  color: var(--muted);
  line-height: 1.45;
}

.checkline input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

.checkline--wide {
  align-items: flex-start;
  font-size: 14px;
}

.form-message {
  display: none;
  margin: -4px 0 0;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 800;
}

.form-message.active {
  display: block;
}

.auth-submit {
  width: 100%;
  min-height: 48px;
}

.auth-switch {
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.customer-page {
  background: var(--bg);
}

.customer-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  background: var(--bg);
}

.customer-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 16px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.customer-sidebar__brand {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-height: 40px;
}

.customer-sidebar__brand strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.customer-sidebar__brand span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.customer-sidebar nav {
  display: grid;
  gap: 4px;
}

.customer-sidebar nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  color: var(--muted);
  border-radius: 8px;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease;
}

.customer-nav-count {
  margin-left: auto;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.customer-notification-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.customer-notification-filters a,
.customer-notification-filters button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
}

.customer-notification-filters a.active {
  color: var(--text);
  border-bottom-color: var(--primary);
}

.customer-notification-filters form {
  margin-left: auto;
}

.customer-notification-filters svg {
  width: 16px;
  height: 16px;
}

.customer-notification-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}

.customer-notification-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.customer-notification-item:last-child {
  border-bottom: 0;
}

.customer-notification-item:hover,
.customer-notification-item.is-unread {
  background: color-mix(in srgb, var(--surface-2) 58%, transparent);
}

.customer-notification-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  color: var(--primary);
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.1);
}

.customer-notification-icon[data-level="success"] { color: #2fb477; background: rgba(47, 180, 119, 0.1); }
.customer-notification-icon[data-level="danger"] { color: #e45b69; background: rgba(228, 91, 105, 0.1); }
.customer-notification-icon[data-level="warning"] { color: #d99a3e; background: rgba(217, 154, 62, 0.1); }

.customer-notification-icon svg,
.customer-notification-item > svg {
  width: 18px;
  height: 18px;
}

.customer-notification-copy {
  min-width: 0;
}

.customer-notification-copy > span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-notification-copy em {
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--primary);
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.1);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.customer-notification-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.customer-notification-copy time {
  display: block;
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 12px;
}

.customer-notification-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 50px 20px;
  text-align: center;
}

.customer-notification-empty > svg {
  width: 30px;
  height: 30px;
  color: var(--muted-2);
}

.customer-notification-empty p {
  margin: 0;
  color: var(--muted);
}

.customer-sidebar nav a:hover,
.customer-sidebar nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.customer-sidebar nav a.active {
  box-shadow: inset 3px 0 0 var(--primary);
}

.customer-sidebar svg,
.customer-topbar svg,
.customer-card svg {
  width: 18px;
  height: 18px;
}

.customer-sidebar__foot {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.customer-content {
  min-width: 0;
}

.customer-topbar {
  position: sticky;
  top: 0;
  z-index: 35;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
  background: rgba(16, 16, 18, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.customer-topbar__left,
.customer-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.customer-topbar h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.customer-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: transparent;
}

.customer-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--ink);
  font-weight: 900;
}

.customer-main {
  padding: 28px;
}

.customer-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.customer-intro h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.customer-intro p {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.customer-grid,
.customer-grid-2,
.customer-grid-3,
.customer-table,
.customer-form,
.customer-list {
  display: grid;
  gap: 14px;
}

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

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

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

.customer-card,
.customer-table,
.customer-form,
.customer-list-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.customer-card {
  padding: 18px;
}

.customer-card__label {
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

.customer-card strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
  letter-spacing: -0.045em;
}

.customer-card p {
  color: var(--muted);
  line-height: 1.55;
}

.customer-card .secondary-btn {
  width: fit-content;
  margin-top: 16px;
}

.customer-card__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--primary);
}

.customer-section {
  margin-top: 22px;
}

.customer-section__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.customer-section__head h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.customer-table {
  overflow: hidden;
}

.customer-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr 0.8fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.customer-row:last-child {
  border-bottom: 0;
}

.customer-row.header {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.customer-row strong,
.customer-list-item strong {
  letter-spacing: -0.02em;
}

.customer-row span,
.customer-list-item span {
  color: var(--muted);
}

.status {
  width: fit-content;
  border-radius: 7px;
  padding: 5px 8px;
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.12);
  color: var(--primary);
  font-weight: 900;
  font-size: 12px;
}

.status.due {
  color: var(--secondary);
  background: rgba(var(--secondary-rgb, 240, 90, 126), 0.12);
}

.customer-form {
  padding: 18px;
}

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

.customer-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.customer-form label + label,
.customer-form .customer-form-grid + label {
  margin-top: 14px;
}

.customer-form input,
.customer-form select,
.customer-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 12px;
  outline: 0;
  font: inherit;
}

.customer-form input,
.customer-form select {
  min-height: 56px;
}

.customer-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 18px) 24px / 6px 6px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 12px) 24px / 6px 6px no-repeat,
    rgba(255, 255, 255, 0.04);
  padding-right: 34px;
}

.customer-form select option,
.customer-form select optgroup {
  color: #f7f7f8;
  background: #1b1b1f;
}

.customer-form select option:checked {
  color: #0b1118;
  background: var(--primary);
}

.customer-form input:focus,
.customer-form select:focus,
.customer-form textarea:focus {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.55);
}

.customer-form input[type="file"] {
  display: flex;
  align-items: center;
  color: var(--muted);
}

.customer-form em {
  color: var(--secondary);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.customer-form .primary-btn {
  margin-top: 16px;
}

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

.customer-form textarea {
  min-height: 120px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 12px;
  outline: 0;
}

.customer-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

.customer-list-item__main {
  display: grid;
  gap: 4px;
}

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

.balance-options button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.balance-options button:hover,
.balance-options button.is-active {
  border-color: var(--secondary);
  background: rgba(90, 166, 219, 0.12);
  color: var(--secondary);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
}

.detail-summary {
  display: grid;
  gap: 10px;
}

.detail-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.detail-summary__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-summary__row strong {
  color: var(--text);
}

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

.message {
  max-width: 78%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.message.customer {
  margin-left: auto;
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.1);
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.28);
}

.message__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.message p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.dns-records .customer-row {
  grid-template-columns: 0.7fr 1.2fr 0.7fr 0.6fr auto;
}

.line-items .customer-row {
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr auto;
}

.detail-timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 26px;
}

.detail-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 10px;
  left: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(var(--primary-rgb, 98, 169, 224), 0.08));
}

.detail-timeline article {
  position: relative;
  padding: 0 0 18px 18px;
}

.detail-timeline article::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -23px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.detail-timeline time {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.detail-timeline h4 {
  margin: 6px 0;
}

.detail-timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.customer-overlay {
  display: none;
}

:root[data-theme="light"] .customer-topbar {
  background: rgba(255, 255, 255, 0.84);
}

:root[data-theme="light"] .customer-sidebar nav a:hover,
:root[data-theme="light"] .customer-sidebar nav a.active {
  background: #eef2f5;
}

:root[data-theme="light"] .customer-form textarea {
  background: #f8fafc;
}

:root[data-theme="light"] .customer-form input,
:root[data-theme="light"] .customer-form select {
  background-color: #f8fafc;
}

:root[data-theme="light"] .customer-form select {
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 18px) 24px / 6px 6px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 12px) 24px / 6px 6px no-repeat,
    #f8fafc;
}

:root[data-theme="light"] .customer-form select option,
:root[data-theme="light"] .customer-form select optgroup {
  color: #111827;
  background: #ffffff;
}

:root[data-theme="light"] .customer-form select option:checked {
  color: #ffffff;
  background: var(--primary);
}

.typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.85em;
  margin-left: 0.06em;
  background: var(--primary);
  vertical-align: -0.06em;
  animation: caretBlink 760ms steps(1) infinite;
}

:root[data-theme="light"] body {
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb, 98, 169, 224), 0.08), transparent 420px),
    var(--bg);
}

:root[data-theme="light"] .topbar,
:root[data-theme="light"] .products,
:root[data-theme="light"] .process,
:root[data-theme="light"] .resellers,
:root[data-theme="light"] .brand-marquee,
:root[data-theme="light"] .testimonials,
:root[data-theme="light"] .software-description,
:root[data-theme="light"] .reviews {
  background: #eef2f5;
}

:root[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.78);
}

:root[data-theme="light"] .auth-header {
  background: rgba(255, 255, 255, 0.82);
}

:root[data-theme="light"] .site-header.compact {
  background: rgba(255, 255, 255, 0.94);
}

:root[data-theme="light"] .announcement {
  background: #f2f6fa;
}

:root[data-theme="light"] .hero {
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.18), transparent 36%),
    linear-gradient(315deg, rgba(var(--secondary-rgb, 240, 90, 126), 0.09), transparent 44%),
    #f7f9fb;
}

:root[data-theme="light"] .software-hero,
:root[data-theme="light"] .software-purchase {
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.16), transparent 36%),
    linear-gradient(315deg, rgba(var(--secondary-rgb, 240, 90, 126), 0.07), transparent 44%),
    #f7f9fb;
}

:root[data-theme="light"] .hero::before {
  background-image:
    linear-gradient(rgba(16, 16, 18, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 16, 18, 0.05) 1px, transparent 1px);
}

:root[data-theme="light"] .software-hero::before {
  background-image:
    linear-gradient(rgba(16, 16, 18, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 16, 18, 0.05) 1px, transparent 1px);
}

:root[data-theme="light"] .hero-search {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(16, 16, 18, 0.12);
}

:root[data-theme="light"] .mega-menu,
:root[data-theme="light"] .mobile-drawer,
:root[data-theme="light"] .stage-orbit,
:root[data-theme="light"] .testimonial-slider {
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.08), transparent 44%),
    #ffffff;
}

:root[data-theme="light"] .detail-nav {
  background: rgba(255, 255, 255, 0.86);
}

:root[data-theme="light"] .mega-feature,
:root[data-theme="light"] .mega-product,
:root[data-theme="light"] .mega-grid a,
:root[data-theme="light"] .icon-btn,
:root[data-theme="light"] .menu-toggle,
:root[data-theme="light"] .newsletter input,
:root[data-theme="light"] .testimonial-actions button {
  background: #f6f7f8;
}

:root[data-theme="light"] .mega-grid a:hover,
:root[data-theme="light"] .secondary-btn:hover,
:root[data-theme="light"] .ghost-link:hover,
:root[data-theme="light"] .icon-btn:hover {
  background: #eef2f5;
}

:root[data-theme="light"] .stage-card {
  background: linear-gradient(180deg, #ffffff, #e9eef3);
}

:root[data-theme="light"] .preview-window {
  background: linear-gradient(180deg, #ffffff, #e9eef3);
}

:root[data-theme="light"] .stage-grid span,
:root[data-theme="light"] .stage-bars i,
:root[data-theme="light"] .product-visual::before,
:root[data-theme="light"] .preview-sidebar i,
:root[data-theme="light"] .preview-table span,
:root[data-theme="light"] .shot-lines span,
:root[data-theme="light"] .shot-orders span,
:root[data-theme="light"] .shot-cards i,
:root[data-theme="light"] .store-grid i {
  background: rgba(16, 16, 18, 0.08);
}

:root[data-theme="light"] .preview-sidebar {
  background: rgba(16, 16, 18, 0.04);
}

:root[data-theme="light"] .fg-sidebar,
:root[data-theme="light"] .fg-sidebar span,
:root[data-theme="light"] .fg-metrics i,
:root[data-theme="light"] .fg-topline,
:root[data-theme="light"] .fg-store-grid i,
:root[data-theme="light"] .fg-phone i {
  background: rgba(16, 16, 18, 0.08);
}

:root[data-theme="light"] .fg-phone {
  background: rgba(255, 255, 255, 0.78);
}

:root[data-theme="light"] .software-tags span:not(:first-child),
:root[data-theme="light"] .software-meta div {
  background: rgba(255, 255, 255, 0.72);
}

:root[data-theme="light"] .review-form,
:root[data-theme="light"] .review-form textarea {
  background: #f8fafc;
}

:root[data-theme="light"] .product-card:hover {
  background: #ffffff;
  box-shadow:
    0 16px 34px rgba(39, 58, 76, 0.14),
    0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.12);
}

:root[data-theme="light"] .product-card.featured:hover {
  box-shadow:
    0 16px 34px rgba(39, 58, 76, 0.14),
    0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.14);
}

:root[data-theme="light"] .product-card::before {
  background:
    radial-gradient(circle at 22% 0%, rgba(var(--primary-rgb, 98, 169, 224), 0.2), transparent 36%),
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.12), rgba(var(--secondary-rgb, 240, 90, 126), 0.06) 46%, transparent 74%);
}

:root[data-theme="light"] .product-card:hover .product-visual {
  box-shadow: 0 10px 24px rgba(39, 58, 76, 0.12);
}

:root[data-theme="light"] .hosting {
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb, 98, 169, 224), 0.12), transparent 280px),
    #f7f9fb;
}

:root[data-theme="light"] .footer {
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.18), transparent 34%),
    linear-gradient(315deg, rgba(var(--secondary-rgb, 240, 90, 126), 0.1), transparent 46%),
    #f6f7f8;
}

:root[data-theme="light"] .auth-main {
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.14), transparent 34%),
    linear-gradient(315deg, rgba(var(--secondary-rgb, 240, 90, 126), 0.06), transparent 44%),
    #f6f7f8;
}

:root[data-theme="light"] .auth-proof div,
:root[data-theme="light"] .input-wrap,
:root[data-theme="light"] .customer-type {
  background: #f8fafc;
}

:root[data-theme="light"] .password-toggle:hover {
  background: #eef2f5;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes stageFloat {
  0%,
  100% {
    transform: rotateX(58deg) rotateZ(-33deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotateX(58deg) rotateZ(-33deg) translate3d(0, -12px, 20px);
  }
}

@keyframes stageMockupFloat {
  0%,
  100% {
    transform: rotateZ(-3deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotateZ(-3deg) translate3d(0, -10px, 0);
  }
}

@keyframes orbitFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes cubeSpin {
  to {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

@keyframes barPulse {
  50% {
    opacity: 0.62;
  }
}

@keyframes lineDraw {
  from {
    transform: scaleX(0.18);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes caretBlink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero__grid,
  .why__grid,
  .testimonials__grid,
  .faq__grid,
  .software-hero__grid,
  .software-layout,
  .software-description__grid,
  .reviews__grid,
  .updates__grid,
  .requirements__grid,
  .purchase-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 430px;
  }

  .service-grid,
  .blog-grid,
  .feature-grid,
  .review-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .timeline::before {
    display: none;
  }

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

  .software-preview {
    min-height: 360px;
  }

  .preview-window {
    transform: none;
  }

  .buy-card {
    position: static;
  }

  .software-side {
    position: static;
  }

  .auth-grid,
  .auth-grid--register {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .auth-copy {
    max-width: 760px;
  }

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

  .customer-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100;
    width: 280px;
    transform: translateX(-100%);
    transition: transform 180ms ease;
  }

  .customer-shell.sidebar-open .customer-sidebar {
    transform: translateX(0);
  }

  .customer-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    background: rgba(0, 0, 0, 0.46);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .customer-shell.sidebar-open .customer-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .customer-menu-btn {
    display: grid;
    place-items: center;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__contact a:not(:first-child),
  .topbar__tools a {
    display: none;
  }

  .topbar__tools {
    gap: 8px;
  }

  .nav-wrap {
    min-height: 62px;
  }

  .announcement__inner {
    min-height: 52px;
    padding: 0;
  }

  .announcement__viewport {
    height: 52px;
  }

  .announcement__item {
    gap: 8px;
  }

  .announcement p {
    font-size: 13px;
  }

  .hero {
    padding: 46px 0 58px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero-search {
    grid-template-columns: 40px 1fr;
    border-radius: 14px;
  }

  .hero-search button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
  }

  .hero-stage {
    min-height: 360px;
  }

  .stage-card {
    inset: 56px 10px 58px 0;
  }

  .stage-card--mockup {
    inset: 18px 0 34px;
  }

  .stage-orbit {
    font-size: 12px;
  }

  .orbit-a {
    right: 8px;
  }

  .stage-cube {
    right: 40px;
    width: 70px;
    height: 70px;
  }

  .stage-cube span:nth-child(1) {
    transform: rotateY(0deg) translateZ(35px);
  }

  .stage-cube span:nth-child(2) {
    transform: rotateY(90deg) translateZ(35px);
  }

  .stage-cube span:nth-child(3) {
    transform: rotateX(90deg) translateZ(35px);
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-grid,
  .blog-grid,
  .stats-grid,
  .timeline,
  .pricing-grid,
  .reseller-grid,
  .feature-grid,
  .feature-grid--tabs,
  .review-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .billing-row {
    width: 100%;
  }

  .billing-toggle {
    flex: 1;
  }

  .product-foot,
  .footer-cta,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .software-hero {
    padding: 46px 0 52px;
  }

  .software-hero h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .software-hero p {
    font-size: 16px;
  }

  .software-preview {
    min-height: auto;
  }

  .preview-window__body,
  .shot-dashboard {
    grid-template-columns: 1fr;
  }

  .preview-sidebar,
  .shot-sidebar {
    display: none;
  }

  .preview-window__body {
    min-height: 310px;
  }

  .preview-kpi,
  .shot-cards,
  .store-grid {
    grid-template-columns: 1fr;
  }

  .store-grid i {
    height: 90px;
  }

  .screenshot-frame {
    min-height: 420px;
  }

  .requirements-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-nav {
    top: 62px;
  }

  .software-layout {
    gap: 18px;
  }

  .software-tabs-section {
    margin-top: 24px;
  }

  .featured-gallery {
    margin-top: 24px;
  }

  .featured-gallery__stage {
    min-height: 330px;
  }

  .featured-shot--dashboard,
  .featured-shot--mobile {
    grid-template-columns: 1fr;
  }

  .fg-sidebar {
    display: none;
  }

  .fg-main,
  .featured-shot--store,
  .featured-shot--mobile {
    padding: 18px;
  }

  .fg-metrics,
  .fg-store-grid,
  .featured-gallery__thumbs {
    grid-template-columns: 1fr;
  }

  .fg-chart {
    min-height: 104px;
  }

  .fg-store-grid i {
    height: 72px;
  }

  .fg-phone {
    min-height: 220px;
  }

  .fg-mobile-copy {
    display: none;
  }

  .software-tabpanels {
    padding: 16px;
  }

  .tab-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .software-side__price strong {
    font-size: 40px;
  }

  .product-actions {
    flex-wrap: wrap;
  }

  .product-foot {
    grid-template-columns: 1fr;
  }

  .product-actions .primary-btn,
  .product-actions .secondary-btn,
  .product-actions form {
    flex: 1;
  }

  .product-actions button {
    width: 100%;
  }

  .testimonial-slider {
    min-height: 430px;
  }

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

  .testimonial p {
    font-size: 18px;
  }

  .mobile-drawer__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-header__inner {
    min-height: 64px;
  }

  .auth-header__actions .ghost-link {
    display: none;
  }

  .auth-header__actions .primary-btn {
    padding: 0 10px;
  }

  .auth-main {
    padding: 44px 0;
  }

  .auth-copy h1 {
    font-size: clamp(36px, 13vw, 54px);
  }

  .auth-copy p {
    font-size: 16px;
  }

  .auth-card {
    padding: 20px;
  }

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

  .auth-options,
  .auth-switch {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-topbar {
    padding: 0 14px;
  }

  .customer-topbar h1 {
    font-size: 18px;
  }

  .customer-main {
    padding: 20px 14px;
  }

  .customer-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-grid,
  .customer-grid-2,
  .customer-grid-3,
  .detail-hero-grid,
  .customer-form-grid,
  .customer-form__split,
  .balance-options {
    grid-template-columns: 1fr;
  }

  .customer-row,
  .customer-row.header {
    grid-template-columns: 1fr;
  }

  .customer-row.header {
    display: none;
  }

  .customer-list-item {
    align-items: stretch;
    flex-direction: column;
  }

  .message {
    max-width: 100%;
  }

  .dns-records .customer-row,
  .line-items .customer-row {
    grid-template-columns: 1fr;
  }
}

/* Software card media */
.product-visual.has-image {
  height: auto;
  aspect-ratio: 16 / 9;
  background: #111113;
}

.category-product-card .product-visual.has-image {
  height: auto;
}

.product-visual.has-image img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-visual.has-image::before {
  inset: 0;
  z-index: 1;
  height: auto;
  opacity: 1;
  background: linear-gradient(180deg, transparent 58%, rgba(8, 10, 13, 0.48));
  transform: none;
}

.product-visual.has-image::after {
  display: none;
}

.product-visual.has-image span {
  z-index: 2;
}

.product-card:hover .product-visual.has-image::before {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.customer-page .customer-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 24px;
  min-height: auto;
  background: var(--bg);
}

.customer-page .customer-content {
  min-width: 0;
}

.customer-page .customer-topbar,
.customer-page .customer-overlay,
.customer-page .customer-sidebar__brand,
.customer-page .customer-sidebar__foot {
  display: none;
}

.customer-page .customer-sidebar {
  position: sticky;
  top: 84px;
  z-index: 34;
  width: 252px;
  height: calc(100vh - 108px);
  display: flex;
  padding: 18px 12px;
  margin: 24px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  backdrop-filter: none;
  transform: none;
}

.customer-page .customer-sidebar nav {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 4px;
  overflow-x: visible;
}

.customer-page .customer-sidebar nav::-webkit-scrollbar {
  display: none;
}

.customer-page .customer-sidebar nav a {
  min-height: 42px;
  padding: 0 10px;
  box-shadow: none;
  border-radius: 8px;
}

.customer-page .customer-sidebar nav a.active {
  color: var(--ink);
  background: var(--primary);
  box-shadow: none;
}

.customer-page .customer-main {
  width: 100%;
  margin: 0;
  padding: 54px 0 72px;
}

.customer-page .customer-intro {
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
}

.customer-theme-footer {
  padding: 28px 0;
}

.customer-theme-footer .footer-bottom {
  border-top: 0;
}

:root[data-theme="light"] .customer-page .customer-sidebar {
  background: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1100px) {
  .customer-page .customer-shell {
    width: min(100% - 28px, var(--max));
    grid-template-columns: 1fr;
    gap: 0;
  }

  .customer-page .customer-sidebar {
    position: sticky;
    top: 62px;
    z-index: 36;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 8px 0;
    background: rgba(16, 16, 18, 0.86);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    transform: none !important;
  }

  .customer-page .customer-sidebar nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
  }
}

@media (max-width: 760px) {
  .customer-page .customer-main {
    width: 100%;
    padding: 36px 0 56px;
  }

  .customer-page .customer-sidebar nav a {
    font-size: 14px;
  }

  .customer-page .customer-sidebar nav {
    scrollbar-width: none;
  }

  .customer-list-item {
    align-items: flex-start;
  }

  .customer-list-item .secondary-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Customer panel refinement */
.customer-page .customer-shell {
  width: min(1360px, 100%);
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.customer-page .customer-sidebar {
  top: 64px;
  width: 260px;
  height: calc(100vh - 64px);
  margin: 0;
  padding: 22px 16px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.customer-page .customer-sidebar nav {
  gap: 2px;
}

.customer-page .customer-sidebar nav a {
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 800;
}

.customer-page .customer-sidebar nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.customer-page .customer-sidebar nav a.active {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--line);
}

.customer-page .customer-main {
  max-width: 1120px;
  padding: 34px 32px 84px;
}

.customer-page .customer-intro {
  align-items: flex-start;
  padding: 0 0 18px;
}

.customer-page .customer-intro h2 {
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.customer-page .customer-intro p {
  max-width: 680px;
  margin-top: 8px;
}

.customer-page .customer-card,
.customer-page .customer-table,
.customer-page .customer-form,
.customer-page .customer-list-item {
  border-radius: 8px;
  background: var(--surface);
}

.customer-page .customer-card {
  min-width: 0;
}

.customer-page .customer-card strong {
  font-size: 24px;
  letter-spacing: -0.035em;
}

.customer-page .customer-card__label {
  color: var(--muted);
  font-size: 13px;
}

.customer-page .customer-card:hover,
.customer-page .customer-list-item:hover,
.customer-page .customer-table:hover,
.customer-page .customer-form:hover {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.32);
}

.customer-row {
  min-width: 0;
  transition: background 140ms ease;
}

.customer-row:not(.header):hover {
  background: rgba(255, 255, 255, 0.025);
}

.customer-row a,
.customer-list-item a {
  color: var(--primary);
  font-weight: 900;
}

.panel-overview,
.panel-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 16px;
  margin-top: 18px;
}

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

.panel-lines {
  display: grid;
  gap: 0;
}

.panel-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.panel-line:last-child {
  border-bottom: 0;
}

.panel-line span,
.panel-meta {
  color: var(--muted);
  line-height: 1.5;
}

.panel-line strong {
  text-align: right;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.panel-service-list {
  display: grid;
  gap: 10px;
}

.panel-service {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-2) 52%, transparent);
}

.panel-service svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.panel-service__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel-service strong,
.panel-service span {
  display: block;
}

.panel-service span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.panel-amount {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.customer-page .customer-form .primary-btn {
  margin-top: 4px;
}

.message {
  min-width: 0;
}

.message__meta {
  flex-wrap: wrap;
}

:root[data-theme="light"] .customer-page .customer-sidebar {
  background: #ffffff;
}

:root[data-theme="light"] .customer-row:not(.header):hover {
  background: #f8fafc;
}

:root[data-theme="light"] .panel-service {
  background: #f8fafc;
}

@media (max-width: 1100px) {
  .customer-page .customer-shell {
    grid-template-columns: 1fr;
  }

  .customer-page .customer-sidebar {
    top: 58px;
    width: 100%;
    height: auto;
    padding: 8px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .customer-page .customer-main {
    max-width: none;
    padding: 28px 20px 68px;
  }

  .panel-overview,
  .panel-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .customer-page {
    overflow-x: hidden;
  }

  .customer-page .topbar {
    display: none;
  }

  .customer-page .customer-main {
    padding: 24px 14px 56px;
  }

  .customer-page .customer-shell,
  .customer-page .customer-content {
    max-width: 100%;
    min-width: 0;
  }

  .customer-page .customer-sidebar {
    top: 56px;
    max-width: 100vw;
    overflow: hidden;
  }

  .customer-page .customer-sidebar nav {
    max-width: 100%;
  }

  .customer-page .customer-sidebar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .customer-page .customer-sidebar nav a {
    width: 100%;
    min-width: 0;
  }

  .panel-line,
  .panel-service {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .panel-line strong {
    text-align: left;
  }

  .message {
    max-width: 100%;
  }

  .detail-summary__row {
    flex-wrap: wrap;
  }
}

/* Customer panel alignment pass */
.customer-page .customer-shell {
  width: min(var(--max), calc(100% - 40px));
  grid-template-columns: 244px minmax(0, 1fr);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.customer-page .customer-sidebar {
  width: 244px;
  padding: 20px 12px;
}

.customer-page .customer-sidebar nav {
  gap: 1px;
}

.customer-page .customer-sidebar nav a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 0 10px;
  line-height: 1.2;
}

.customer-page .customer-sidebar nav a svg,
.customer-page .customer-card__icon svg,
.customer-page .panel-service__icon svg,
.customer-page .primary-btn svg,
.customer-page .secondary-btn svg,
.customer-page .icon-btn svg {
  display: block;
  flex: 0 0 auto;
}

.customer-page .customer-sidebar nav a svg {
  width: 18px;
  height: 18px;
  justify-self: center;
}

.customer-page .customer-main {
  max-width: none;
  padding: 30px 32px 72px;
}

.customer-page .customer-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

.customer-page .customer-intro .primary-btn {
  justify-self: end;
}

.panel-overview,
.panel-split {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 14px;
  margin-top: 20px;
  align-items: start;
}

.customer-page .customer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.customer-page .customer-grid,
.customer-page .customer-section {
  margin-top: 20px;
}

.customer-page .customer-card,
.customer-page .customer-form,
.customer-page .customer-list-item {
  padding: 16px;
}

.customer-page .customer-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
}

.customer-page .panel-overview .customer-card {
  min-height: 0;
}

.customer-page .customer-grid .customer-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  row-gap: 2px;
  min-height: 126px;
  padding: 14px;
}

.customer-page .customer-card__icon,
.customer-page .panel-service__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.customer-page .customer-card__icon {
  margin-bottom: 10px;
}

.customer-page .customer-grid .customer-card__icon {
  grid-row: 1 / 3;
  margin: 0;
}

.customer-page .customer-grid .customer-card__label,
.customer-page .customer-grid .customer-card strong {
  grid-column: 2;
}

.customer-page .customer-grid .customer-card p {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.customer-page .customer-card__label {
  line-height: 1.25;
}

.customer-page .customer-card strong {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.15;
}

.customer-page .customer-grid .customer-card strong {
  font-size: 24px;
  margin-top: 4px;
}

.customer-page .customer-card p,
.customer-page .panel-meta {
  margin: 10px 0 0;
  line-height: 1.5;
}

.panel-actions {
  gap: 8px;
  margin-top: 18px;
}

.customer-page .primary-btn,
.customer-page .secondary-btn,
.customer-page .ghost-link {
  min-height: 38px;
  gap: 8px;
  line-height:38px;
}

.customer-page .primary-btn svg,
.customer-page .secondary-btn svg {
  width: 17px;
  height: 17px;
}

.panel-line {
  min-height: 54px;
  padding: 10px 0;
}

.panel-line span {
  min-width: 0;
}

.panel-line strong {
  font-size: 21px;
  line-height: 1.18;
}

.customer-page .customer-row {
  grid-template-columns: minmax(140px, 1.2fr) minmax(110px, 0.9fr) minmax(90px, 0.7fr) minmax(86px, 0.7fr) 64px;
  gap: 12px;
  min-height: 50px;
  padding: 12px 16px;
}

.customer-page .customer-section__head {
  min-height: 40px;
  margin-bottom: 10px;
}

.customer-page .customer-section__head h3 {
  font-size: 22px;
}

.panel-service {
  grid-template-columns: 36px minmax(0, 1fr) auto;
  min-height: 66px;
  gap: 12px;
  padding: 10px 12px;
}

.panel-service .status {
  align-self: center;
}

@media (max-width: 1100px) {
  .customer-page .customer-shell {
    width: min(100% - 28px, var(--max));
    grid-template-columns: 1fr;
    border-left: 0;
    border-right: 0;
  }

  .customer-page .customer-sidebar {
    width: 100%;
  }

  .customer-page .customer-main {
    padding: 28px 20px 68px;
  }

  .panel-overview,
  .panel-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .customer-page .customer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .customer-page .customer-shell {
    width: 100%;
  }

  .customer-page .customer-main {
    padding: 24px 14px 56px;
  }

  .customer-page .customer-intro {
    grid-template-columns: 1fr;
  }

  .customer-page .customer-intro .primary-btn {
    justify-self: stretch;
  }

  .customer-page .customer-grid {
    grid-template-columns: 1fr;
  }

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

  .panel-service {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .panel-service .status,
  .panel-service > svg {
    grid-column: 2;
    justify-self: start;
  }
}

/* WHMCS/WiseCP inspired customer portal shell */
.customer-page .customer-shell {
  width: min(1320px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  margin: 0 auto;
  padding: 24px 0 0;
  border: 0;
  background: transparent;
}

.customer-page .customer-sidebar {
  position: sticky;
  top: 86px;
  width: 280px;
  height: calc(100vh - 112px);
  margin: 0;
  padding: 14px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 28%, transparent), transparent 180px),
    var(--surface);
}

.customer-page .customer-sidebar::-webkit-scrollbar {
  width: 0;
}

.customer-page .customer-sidebar__brand {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.customer-page .customer-sidebar__brand strong {
  font-size: 19px;
  letter-spacing: -0.04em;
}

.customer-page .customer-sidebar__brand span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.customer-sidebar__account {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-2) 56%, transparent);
}

.customer-sidebar__account strong,
.customer-sidebar__account span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-sidebar__account span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.customer-sidebar__avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--primary);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.customer-page .customer-sidebar nav {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 4px 0 12px;
}

.customer-page .customer-sidebar nav a {
  grid-template-columns: 24px minmax(0, 1fr);
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
}

.customer-page .customer-sidebar nav a:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--surface-2) 64%, transparent);
}

.customer-page .customer-sidebar nav a.active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--primary) 34%, var(--line));
  background: color-mix(in srgb, var(--primary) 14%, var(--surface-2));
  box-shadow: inset 3px 0 0 var(--primary);
}

.customer-page .customer-sidebar nav a svg {
  width: 18px;
  height: 18px;
}

.customer-sidebar__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.customer-sidebar__summary a {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface-2) 42%, transparent);
}

.customer-sidebar__summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.customer-sidebar__summary strong {
  font-size: 16px;
}

.customer-sidebar__support {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  font-weight: 900;
  background: color-mix(in srgb, var(--surface-2) 52%, transparent);
}

.customer-sidebar__support span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.customer-sidebar__support svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
}

.customer-sidebar__logout {
  margin-top: 10px;
}

.customer-sidebar__logout button {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  background: transparent;
  cursor: pointer;
}

.customer-sidebar__logout button:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--surface-2) 56%, transparent);
}

.customer-sidebar__logout svg {
  width: 17px;
  height: 17px;
}

.customer-page .customer-content {
  min-width: 0;
}

.customer-page .customer-main {
  padding: 36px 0 78px;
}

.customer-page .customer-intro {
  min-height: 72px;
  padding: 0 0 22px;
}

.customer-page .customer-intro h2 {
  font-size: 31px;
}

.panel-overview,
.panel-split {
  gap: 18px;
}

.customer-page .customer-grid {
  gap: 14px;
}

.customer-page .customer-card,
.customer-page .customer-table,
.customer-page .customer-form,
.customer-page .customer-list-item {
  border-radius: 10px;
  margin:1rem 0;
}

:root[data-theme="light"] .customer-page .customer-sidebar {
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb, 98, 169, 224), 0.08), transparent 180px),
    #ffffff;
}

:root[data-theme="light"] .customer-sidebar__account,
:root[data-theme="light"] .customer-sidebar__summary a,
:root[data-theme="light"] .customer-sidebar__support {
  background: #f8fafc;
}

@media (max-width: 1180px) {
  .customer-page .customer-shell {
    grid-template-columns: 1fr;
    width: min(100% - 28px, var(--max));
    gap: 14px;
  }

  .customer-page .customer-sidebar {
    position: sticky;
    top: 58px;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 12px;
    overflow: visible;
  }

  .customer-page .customer-sidebar__brand,
  .customer-sidebar__account,
  .customer-sidebar__summary,
  .customer-sidebar__support {
    display: none;
  }

  .customer-page .customer-sidebar nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
  }

  .customer-page .customer-sidebar nav a {
    width: 100%;
    min-width: 0;
  }

  .customer-page .customer-main {
    padding: 24px 0 64px;
  }
}

@media (max-width: 760px) {
  .customer-page .customer-shell {
    width: 100%;
    padding-top: 0;
  }

  .customer-page .customer-sidebar {
    top: 56px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .customer-page .customer-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-page .customer-main {
    padding: 24px 14px 56px;
  }
}

/* Customer panel requested refinements */
.customer-page .customer-sidebar__brand {
  display: none;
}

.customer-sidebar__account {
  margin-top: 0;
}

.customer-page[data-panel-page="account"] .panel-overview {
  align-items: stretch;
}

.customer-page[data-panel-page="account"] .panel-overview .customer-card {
  height: 100%;
}

.customer-empty-state {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-2) 42%, transparent);
}

.customer-empty-state strong {
  color: var(--text);
  font-size: 18px;
}

.customer-empty-state .primary-btn {
  justify-self: start;
  margin-top: 4px;
}

.customer-pagination {
  margin-top: 18px;
}

.customer-order-confirm.commerce-main {
  padding: 0;
  background: transparent;
}

.customer-order-confirm .checkout-steps {
  margin: 0 0 18px;
}

.customer-order-confirm .summary-submit {
  width: 100%;
  margin-top: 16px;
}

.panel-service {
  display: flex;
  align-items: center;
  grid-template-columns: none;
}

.panel-service__icon {
  align-self: auto;
  flex: 0 0 36px;
}

.panel-service > span:not(.panel-service__icon) {
  flex: 1 1 auto;
  min-width: 0;
}

.panel-service .status {
  flex: 0 0 auto;
  margin-left: auto;
}

.panel-service > svg {
  flex: 0 0 auto;
  justify-self: end;
}

.input-wrap select,
.form-field select {
  width: 100%;
  min-height: 44px;
  appearance: none;
  color: var(--text);
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 18px) 18px / 6px 6px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 12px) 18px / 6px 6px no-repeat,
    var(--surface);
  border: 0;
  outline: 0;
  padding: 0 34px 0 0;
}

.input-wrap select option,
.form-field select option {
  color: var(--text);
  background: var(--surface);
}

.verify-list,
.verify-compact,
.domain-action-row,
.invoice-summary-grid,
.balance-history,
.purchase-suite,
.software-purchase-list,
.order-meta-grid,
.hosting-info-grid {
  display: grid;
  gap: 10px;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.profile-password {
  margin-top: 18px;
}

.profile-password .password-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.profile-password .secondary-btn {
  width: fit-content;
}

.verify-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.verify-item:last-child {
  border-bottom: 0;
}

.verify-item i,
.domain-state i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--primary);
}

.verify-item strong,
.verify-item span {
  display: block;
}

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

.verify-badge {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.password-form {
  display: grid;
  gap: 12px;
}

.purchase-suite {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.purchase-license {
  min-height: 214px;
}

.purchase-license__top,
.invoice-head,
.balance-history-row,
.domain-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.purchase-license ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.purchase-license li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.purchase-license li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.software-purchase-list {
  margin-top: 20px;
}

.software-purchase-row {
  display: grid;
  grid-template-columns: 42px minmax(220px, 1.2fr) minmax(160px, 0.8fr) minmax(140px, 0.7fr) max-content;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.software-purchase-row__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--primary);
}

.software-purchase-row strong,
.software-purchase-row span {
  display: block;
}

.software-purchase-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.support-thread {
  display: grid;
  gap: 12px;
}

.support-message {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.support-message.is-admin {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.28);
}

.support-message > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-message strong {
  color: var(--text);
}

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

.support-message p {
  margin: 0;
  white-space: pre-line;
  color: var(--muted);
  line-height: 1.65;
}

.support-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-attachments a {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 9px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.software-purchase-row__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.order-meta-grid {
  gap: 8px;
}

.order-meta-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 36px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.order-meta-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.order-meta-row span {
  color: var(--muted);
}

.order-meta-row strong {
  font-size: 15px;
  text-align: right;
}

.license-box {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface-2) 46%, transparent);
}

.license-box code {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 13px;
}

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

.hosting-info-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface-2) 42%, transparent);
}

.hosting-info-item span,
.hosting-info-item strong {
  display: block;
}

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

.hosting-info-item strong {
  margin-top: 5px;
  font-size: 15px;
}

.domain-state {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.domain-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.domain-actions .secondary-btn,
.domain-actions .primary-btn {
  min-height: 34px;
  padding: 0 10px;
}

.nameserver-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
}

.ns-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.ns-list code {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-2) 48%, transparent);
}

.domain-form-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.auth-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.auth-field--wide {
  grid-column: 1 / -1;
}

.auth-field input {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text);
  padding: 0 13px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.auth-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(90, 166, 219, 0.14);
}

.domain-select {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text);
  padding: 0 13px;
  outline: none;
}

.domain-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(90, 166, 219, 0.14);
}

.auth-error {
  display: block;
  margin-top: 10px;
  color: #ff8f9d;
  font-size: 13px;
  font-weight: 700;
}

.customer-card > .primary-btn {
  margin-top: 16px;
}

.renewal-box {
  width: 100%;
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.ticket-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.ticket-summary-strip .detail-summary__row {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.ticket-summary-strip .detail-summary__row strong {
  font-size: 15px;
}

.conversation-card {
  margin-top: 18px;
}

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

.invoice-paper {
  padding: 24px;
}

.invoice-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.invoice-head h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.invoice-summary-grid {
  margin-top: 16px;
}

.invoice-total {
  display: grid;
  gap: 10px;
}

.invoice-total .panel-line {
  min-height: 0;
  padding: 9px 0;
}

.invoice-total .panel-line strong {
  font-size: 15px;
}

.invoice-total .panel-line:last-child strong {
  font-size: 19px;
}

.balance-history {
  margin-top: 22px;
}

.balance-history-row {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.balance-history-row div {
  min-width: 0;
}

.balance-history-row strong,
.balance-history-row span {
  display: block;
}

.balance-history-row small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.balance-form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.customer-form .input-wrap:has([data-balance-amount-input]) {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.customer-form .input-wrap:has([data-balance-amount-input]) > svg {
  grid-column: 1;
  grid-row: 1;
}

.customer-form .input-wrap [data-balance-amount-input] {
  grid-column: 2;
  grid-row: 1;
}

.customer-form .input-wrap input,
.customer-form .input-wrap select {
  min-height: 54px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
}

.customer-form .agency-select__trigger {
  min-height: 56px;
}

.customer-form .input-wrap .agency-select__trigger {
  min-height: 54px;
}

.customer-form .input-wrap > span {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  padding-right: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.customer-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.customer-pagination a,
.customer-pagination span,
.customer-pagination strong {
  min-width: 42px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
}

.customer-pagination span {
  color: var(--muted);
  opacity: 0.65;
}

.customer-pagination a:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.panel-amount {
  align-items: flex-end;
}

.panel-amount span,
.panel-amount strong {
  display: block;
}

.panel-amount span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.panel-amount strong {
  margin-top: 3px;
}

.balance-history-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.balance-history-row .amount {
  font-size: 18px;
  font-weight: 900;
}

.balance-history-row .amount.negative {
  color: var(--secondary);
}

.commerce-page {
  background:
    radial-gradient(circle at 22% 0%, rgba(var(--primary-rgb, 98, 169, 224), 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 520px),
    var(--bg);
}

/* Dynamic public pages */
.agency-page {
  background: var(--bg);
  color: var(--text);
}

.agency-page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, rgba(90, 166, 219, 0.18), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 86%, transparent), var(--bg));
}

.agency-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 166, 219, 0.6), transparent);
}

.agency-page-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(72px, 9vw, 126px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

.agency-page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.agency-page-breadcrumb a {
  color: var(--primary);
  font-weight: 800;
}

.agency-page-breadcrumb svg {
  width: 14px;
  height: 14px;
}

.agency-page-hero__copy {
  max-width: 880px;
  margin-top: 34px;
}

.agency-page-hero__copy > span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agency-page-hero__copy h1 {
  max-width: 18ch;
  margin: 14px 0 0;
  font-size: clamp(42px, 6.4vw, 84px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.agency-page-hero__copy p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.agency-page-content {
  padding: clamp(56px, 8vw, 104px) 0;
  background: color-mix(in srgb, var(--surface) 34%, var(--bg));
}

.agency-page-content__inner {
  max-width: 1040px;
}

.agency-page--wide .agency-page-content__inner {
  max-width: var(--max);
}

.agency-page--legal .agency-page-content__inner {
  max-width: 880px;
}

.agency-page-featured {
  margin: 0 0 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.agency-page-featured img {
  width: 100%;
  max-height: 560px;
  display: block;
  object-fit: cover;
}

.agency-rich-content {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.agency-rich-content > :first-child {
  margin-top: 0;
}

.agency-rich-content h2,
.agency-rich-content h3,
.agency-rich-content h4 {
  color: var(--text);
  line-height: 1.2;
  letter-spacing: 0;
}

.agency-rich-content h2 {
  margin: 52px 0 18px;
  font-size: 34px;
}

.agency-rich-content h3 {
  margin: 38px 0 14px;
  font-size: 25px;
}

.agency-rich-content p,
.agency-rich-content ul,
.agency-rich-content ol,
.agency-rich-content blockquote,
.agency-rich-content table {
  margin: 0 0 22px;
}

.agency-rich-content ul,
.agency-rich-content ol {
  padding-inline-start: 24px;
}

.agency-rich-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.agency-rich-content blockquote {
  padding: 20px 24px;
  border-inline-start: 3px solid var(--primary);
  background: color-mix(in srgb, var(--surface-2) 68%, transparent);
  color: var(--text);
}

.agency-rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.agency-rich-content table {
  width: 100%;
  border-collapse: collapse;
}

.agency-rich-content th,
.agency-rich-content td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: start;
}

@media (max-width: 760px) {
  .agency-page-hero__copy h1 {
    font-size: 42px;
  }

  .agency-page-hero__copy p,
  .agency-rich-content {
    font-size: 16px;
  }

  .agency-rich-content h2 {
    font-size: 29px;
  }

  .agency-rich-content table {
    display: block;
    overflow-x: auto;
  }
}

.commerce-main {
  padding: 62px 0 86px;
}

.commerce-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.commerce-head h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.commerce-head p {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

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

.checkout-steps span {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  font-weight: 800;
  font-size: 13px;
}

.checkout-steps span.active {
  color: var(--ink);
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.7);
  background: var(--primary);
}

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

.cart-panel,
.checkout-form,
.order-summary,
.checkout-section {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.cart-panel,
.checkout-form {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.empty-cart-panel {
  min-height: 280px;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 34px;
  text-align: center;
}

.empty-cart-panel svg {
  width: 42px;
  height: 42px;
  color: var(--primary);
}

.empty-cart-panel h2,
.empty-cart-panel p {
  margin: 0;
}

.empty-cart-panel p {
  color: var(--muted);
}

.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 116px 120px 38px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.08), transparent 44%),
    color-mix(in srgb, var(--surface-2) 42%, transparent);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cart-item:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.42);
  box-shadow: 0 18px 42px rgba(var(--primary-rgb, 98, 169, 224), 0.11);
}

.cart-item--child {
  margin-left: 68px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.04), transparent 45%),
    color-mix(in srgb, var(--surface-2) 42%, transparent);
}

.cart-item__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb, 98, 169, 224), 0.32);
  border-radius: 10px;
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.1);
}

.cart-item__icon svg,
.cart-remove svg,
.summary-note svg,
.payment-method svg {
  width: 18px;
  height: 18px;
}

.cart-item__main {
  min-width: 0;
}

.cart-item__main strong,
.cart-item__main span {
  display: block;
}

.cart-item__main strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.cart-item__main > span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.5;
}

.cart-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.cart-item__meta span {
  padding: 5px 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
}

.qty-control {
  display: grid;
  grid-template-columns: 34px 44px 34px;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.qty-control button,
.qty-control input,
.cart-remove {
  border: 0;
  color: var(--text);
  background: transparent;
}

.qty-control button {
  height: 38px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.qty-control button:hover {
  color: var(--ink);
  background: var(--primary);
}

.qty-control input {
  width: 100%;
  height: 38px;
  text-align: center;
  outline: 0;
  border-inline: 1px solid var(--line);
}

.cart-item__price {
  justify-self: end;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.order-confirm-state {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.order-confirm-state span {
  color: var(--muted);
  font-size: 12px;
}

.order-confirm-state strong {
  color: var(--text);
  font-size: 13px;
}

.cart-lock {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--primary);
  background: color-mix(in srgb, var(--surface-2) 46%, transparent);
}

.cart-lock svg {
  width: 16px;
  height: 16px;
}

.cart-remove {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.cart-remove:hover {
  color: #fff;
  border-color: rgba(var(--secondary-rgb, 240, 90, 126), 0.55);
  background: rgba(var(--secondary-rgb, 240, 90, 126), 0.16);
}

.coupon-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px dashed rgba(var(--primary-rgb, 98, 169, 224), 0.38);
  border-radius: 10px;
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.07);
}

.coupon-box label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 14px;
}

.coupon-box.is-applied {
  border-style: solid;
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.12);
}

.order-summary {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.order-summary h2,
.checkout-section h2 {
  margin: 0 0 16px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.summary-lines,
.summary-products {
  display: grid;
  gap: 0;
}

.summary-lines > div,
.summary-products > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.summary-lines span,
.summary-products span {
  color: var(--muted);
}

.summary-products strong {
  font-size: 14px;
}

.summary-total {
  border-bottom: 0 !important;
}

.summary-total strong {
  font-size: 25px;
  letter-spacing: -0.05em;
}

.summary-submit,
.checkout-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
}

.summary-note {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  margin-top: 16px;
  margin-bottom:1rem;
  padding: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface-2) 42%, transparent);
  font-size: 13px;
  line-height: 1.55;
}

.summary-note svg {
  color: var(--primary);
  margin-top: 2px;
}

.summary-note--warning {
  color: #b45309;
  border-color: rgba(245, 158, 11, .28);
  background: rgba(245, 158, 11, .08);
}

.summary-note--warning svg {
  color: #d97706;
}

.coupon-box {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.coupon-box__form {
  display: grid;
  gap: 8px;
}

.coupon-box__form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.coupon-box__form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.coupon-box__form input {
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--surface);
  font-weight: 800;
  text-transform: uppercase;
}

.coupon-box__form .secondary-btn {
  min-height: 42px;
  padding-inline: 14px;
}

.coupon-box__applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(34, 197, 94, .26);
  border-radius: 9px;
  background: rgba(34, 197, 94, .08);
}

.coupon-box__applied strong,
.coupon-box__applied small {
  display: block;
}

.coupon-box__applied strong {
  color: var(--text);
  font-size: 14px;
}

.coupon-box__applied small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.coupon-box__applied button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
}

.checkout-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.checkout-section {
  padding: 18px;
}

.checkout-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.checkout-section textarea,
.form-field textarea {
  width: 100%;
  min-height: 106px;
  resize: vertical;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.checkout-section textarea:focus,
.form-field textarea:focus {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.7);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.12);
}

.checkout-section textarea::placeholder,
.form-field textarea::placeholder {
  color: var(--muted-2);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.payment-methods form {
  min-width: 0;
  display: block;
}

.payment-method {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-2) 46%, transparent);
  cursor: pointer;
  font-weight: 800;
  padding: 14px;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.payment-method > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.payment-method strong,
.payment-method small {
  display: block;
}

.payment-method small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.payment-method:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.36);
}

.payment-method.active {
  color: var(--ink);
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.13);
}

.order-payment-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.order-payment-amount strong {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.06em;
}

.order-payment-amount span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  font-weight: 900;
}

.payment-history-list {
  display: grid;
  gap: 10px;
}

.payment-history-list div,
.payment-history-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
  color: var(--text);
}

.payment-history-list span {
  color: var(--muted);
  grid-column: 1 / -1;
}

.bank-transfer-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.bank-transfer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.bank-transfer-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bank-transfer-hero h2 {
  margin-bottom: 8px;
}

.bank-transfer-hero > div > strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.03em;
}

.bank-transfer-amount {
  min-width: 190px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-2) 46%, transparent);
  text-align: right;
}

.bank-transfer-amount span,
.bank-reference-card span,
.bank-account-card__head span,
.bank-account-grid dt,
.bank-transfer-section-head p {
  color: var(--muted);
}

.bank-transfer-amount strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.bank-transfer-section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.bank-transfer-section-head p {
  max-width: 680px;
  margin: 0;
  line-height: 1.6;
}

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

.bank-account-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb, 98, 169, 224), 0.08), transparent 44%),
    color-mix(in srgb, var(--surface-2) 42%, transparent);
  overflow: hidden;
}

.bank-account-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.bank-account-card__head h3 {
  margin: 4px 0 0;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.bank-account-card__head b {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 12px;
}

.bank-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}

.bank-account-grid > div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface) 62%, transparent);
}

.bank-account-grid__wide {
  grid-column: 1 / -1;
}

.bank-account-grid dt {
  font-size: 13px;
}

.bank-account-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-weight: 900;
}

.bank-account-grid__wide dd,
.bank-reference-card strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.bank-transfer-summary .summary-note {
  margin-bottom: 12px;
}

.bank-reference-card {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid rgba(var(--primary-rgb, 98, 169, 224), 0.34);
  border-radius: 9px;
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.1);
}

.bank-reference-card strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 15px;
}

.order-delivery-section {
  margin-top: 18px;
}

.checkout-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.checkout-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.checkout-form.is-submitted .checkout-submit {
  background: #35c17b;
  border-color: #35c17b;
}

:root[data-theme="light"] .commerce-page {
  background:
    radial-gradient(circle at 22% 0%, rgba(var(--primary-rgb, 98, 169, 224), 0.2), transparent 32%),
    linear-gradient(180deg, rgba(var(--primary-rgb, 98, 169, 224), 0.05), transparent 520px),
    var(--bg);
}

:root[data-theme="light"] .cart-panel,
:root[data-theme="light"] .order-summary,
:root[data-theme="light"] .checkout-section {
  background: rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .cart-item,
:root[data-theme="light"] .summary-note,
:root[data-theme="light"] .payment-method,
:root[data-theme="light"] .bank-account-card,
:root[data-theme="light"] .bank-account-grid > div,
:root[data-theme="light"] .bank-transfer-amount,
:root[data-theme="light"] .checkout-section textarea,
:root[data-theme="light"] .form-field textarea {
  background: #f8fafc;
}

:root[data-theme="light"] .bank-reference-card {
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.12);
}

:root[data-theme="light"] .coupon-box {
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.08);
}

.listing-page,
.article-page {
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb, 98, 169, 224), 0.05), transparent 460px),
    var(--bg);
}

.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.inner-main {
  min-height: 70vh;
}

.inner-head {
  padding: 58px 0 30px;
  border-bottom: 1px solid var(--line);
}

.inner-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: end;
}

.breadcrumb,
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
}

.inner-head h1,
.article-head h1 {
  margin: 16px 0 0;
  max-width: 920px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.inner-head p,
.article-head p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.catalog-search {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  overflow: hidden;
}

.catalog-search svg {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  color: var(--muted-2);
}

.catalog-search input {
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.catalog-search input::placeholder {
  color: var(--muted-2);
}

.catalog-search button {
  height: 40px;
  margin-right: 7px;
  padding: 0 14px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  color: var(--ink);
  background: var(--primary);
  font-weight: 800;
  cursor: pointer;
}

.catalog-section,
.application-section,
.related-posts {
  padding: 34px 0 76px;
}

.catalog-layout,
.blog-layout,
.faq-page-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
}

.filter-panel h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.filter-panel button,
.filter-panel a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.filter-panel button:hover,
.filter-panel button.active,
.filter-panel a:hover,
.filter-panel a.active {
  color: var(--text);
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface-2) 56%, transparent);
}

.filter-panel__note,
.partner-summary {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.08);
}

.filter-panel__note span,
.partner-summary span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.partner-summary strong {
  font-size: 34px;
  letter-spacing: -0.05em;
}

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

.category-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.category-product-card {
  min-height: 100%;
}

.category-product-card[hidden] {
  display: none;
}

.category-product-card .product-visual {
  height: 148px;
}

.category-product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.category-product-card__meta span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.software-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 150px;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
}

.software-row.featured {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.45);
}

.software-row[hidden],
.blog-list-card[hidden],
.blog-feature[hidden] {
  display: none;
}

.software-row__media {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb, 98, 169, 224), 0.34);
  border-radius: 10px;
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.1);
}

.software-row__media svg,
.reseller-plan > svg,
.hosting-plan svg {
  width: 22px;
  height: 22px;
}

.software-row__top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.software-row h2,
.hosting-plan h2,
.reseller-plan h2,
.blog-list-card h2,
.blog-feature h2,
.faq-list h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.software-row__top span,
.article-meta span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
}

.software-row p,
.hosting-plan p,
.reseller-plan p,
.blog-list-card p,
.blog-feature p,
.application-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.software-row ul,
.hosting-plan ul,
.reseller-plan ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.software-row__side {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.software-row__side strong {
  margin-bottom: 5px;
  font-size: 24px;
  letter-spacing: -0.05em;
  text-align: right;
}

.hosting-matrix,
.reseller-page-grid,
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hosting-plan,
.reseller-plan,
.blog-list-card,
.blog-feature,
.application-form {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
}

.hosting-plan,
.reseller-plan {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.hosting-plan__head {
  display: grid;
  gap: 12px;
}

.hosting-plan__head svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

.hosting-plan__badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(var(--primary-rgb, 98, 169, 224), 0.12);
  border: 1px solid rgba(var(--primary-rgb, 98, 169, 224), 0.2);
  font-size: 12px;
  font-weight: 850;
}

.hosting-plan__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hosting-plan__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.hosting-order-form {
  display: grid;
  gap: 12px;
  align-self: end;
}

.home-hosting-order-form {
  width: 100%;
  margin-top: auto;
}

.hosting-order-form button,
.hosting-panel-login-form button {
  width: 100%;
}

.hosting-panel-login-form {
  margin: 0;
}

.hosting-order-form label {
  display: grid;
  gap: 8px;
}

.hosting-order-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hosting-order-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 12px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.hosting-order-form input:focus {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.62);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 98, 169, 224), 0.12);
}

.hosting-order-form input::placeholder {
  color: var(--muted-2);
}

.hosting-plan.featured,
.reseller-plan.featured {
  border-color: rgba(var(--primary-rgb, 98, 169, 224), 0.48);
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb, 98, 169, 224), 0.1), transparent 46%),
    color-mix(in srgb, var(--surface) 92%, transparent);
}

.hosting-plan .price strong {
  font-size: 34px;
}

.hosting-plan > svg,
.reseller-plan > svg {
  color: var(--primary);
}

.spec-table {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
}

.spec-table > div {
  display: grid;
  grid-template-columns: 1.1fr repeat(var(--hosting-plan-count, 3), minmax(0, 1fr));
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.spec-table > div:last-child {
  border-bottom: 0;
}

.spec-table span {
  color: var(--muted);
}

.inner-billing {
  width: 100%;
  margin: 0;
}

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

.blog-section-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.blog-section-action a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
}

.blog-section-action svg {
  width: 17px;
  height: 17px;
}

.blog-empty {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 110px;
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
}

.blog-empty > svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.blog-empty div {
  display: grid;
  gap: 4px;
}

.blog-empty strong {
  color: var(--text);
}

.blog-feature {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 18px;
  padding: 14px;
  align-items: center;
}

.blog-feature img,
.blog-list-card img,
.article-head img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.blog-feature img {
  height: 320px;
}

.blog-list-card {
  padding: 12px;
}

.blog-list-card img {
  height: 170px;
  margin-bottom: 14px;
}

.blog-list-card a,
.software-row a,
.blog-feature a {
  font-weight: 800;
}

.blog-list-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
}

.article-head {
  padding: 58px 0 34px;
  border-bottom: 1px solid var(--line);
}

.article-head img {
  height: min(48vw, 470px);
  margin-top: 28px;
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 42px;
  align-items: start;
  padding: 38px 0 70px;
}

.article-toc {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 9px;
  color: var(--muted);
}

.article-toc strong {
  color: var(--text);
}

.article-toc a:hover {
  color: var(--text);
}

.article-toc__sub {
  padding-left: 14px;
  font-size: 13px;
}

.article-body {
  font-size: 17px;
  line-height: 1.8;
}

.article-body h2 {
  margin: 0 0 12px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.article-body section + section {
  margin-top: 34px;
}

.article-body p,
.article-body li {
  color: var(--muted);
}

.article-body blockquote {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--primary);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}

.related-posts h2,
.application-grid h2 {
  margin: 0 0 16px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.application-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
  align-items: start;
}

.application-form {
  padding: 18px;
}

.application-form .primary-btn {
  margin-top: 14px;
}

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

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

.faq-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 16px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  text-align: left;
  cursor: pointer;
}

.faq-row span {
  font-weight: 800;
}

.faq-row p {
  grid-column: 1 / -1;
  display: none;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq-row.active p {
  display: block;
}

.faq-row.active svg {
  rotate: 45deg;
}

:root[data-theme="light"] .nav-link.active {
  background: rgba(16, 16, 18, 0.06);
}

:root[data-theme="light"] .catalog-search,
:root[data-theme="light"] .filter-panel,
:root[data-theme="light"] .software-row,
:root[data-theme="light"] .hosting-plan,
:root[data-theme="light"] .reseller-plan,
:root[data-theme="light"] .blog-list-card,
:root[data-theme="light"] .blog-feature,
:root[data-theme="light"] .application-form,
:root[data-theme="light"] .faq-row,
:root[data-theme="light"] .spec-table {
  background: rgba(255, 255, 255, 0.92);
}

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

  .bank-transfer-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .cart-item {
    grid-template-columns: 50px minmax(0, 1fr) auto;
  }

  .qty-control,
  .cart-item__price {
    grid-column: 2;
    justify-self: start;
  }

  .cart-remove {
    grid-column: 3;
    grid-row: 1;
  }

  .purchase-suite,
  .inner-head__grid,
  .catalog-layout,
  .blog-layout,
  .faq-page-layout,
  .application-grid,
  .article-layout,
  .blog-feature,
  .domain-form-grid,
  .nameserver-grid,
  .invoice-shell,
  .ticket-summary-strip,
  .profile-grid,
  .order-detail-grid,
  .hosting-info-grid,
  .hosting-matrix,
  .reseller-page-grid,
  .blog-list-grid,
  .category-product-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .article-toc {
    position: static;
  }

  .software-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .software-row__side {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .software-row__side strong {
    grid-column: 1 / -1;
    text-align: left;
  }

  .profile-password .password-form,
  .software-purchase-row {
    grid-template-columns: 1fr;
  }

  .software-purchase-row__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .commerce-main {
    padding: 42px 0 62px;
  }

  .commerce-head {
    display: grid;
    align-items: start;
  }

  .commerce-head .secondary-btn {
    width: 100%;
  }

  .checkout-steps,
  .checkout-form__grid,
  .bank-transfer-hero,
  .bank-account-grid,
  .payment-methods,
  .coupon-box {
    grid-template-columns: 1fr;
  }

  .bank-transfer-amount {
    min-width: 0;
    text-align: left;
  }

  .cart-item {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 13px;
  }

  .cart-item__icon {
    width: 44px;
    height: 44px;
  }

  .cart-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    grid-column: auto;
    grid-row: auto;
  }

  .cart-item__main {
    padding-right: 40px;
  }

  .qty-control,
  .cart-item__price {
    grid-column: 1 / -1;
  }

  .checkout-section,
  .order-summary,
  .cart-panel {
    padding: 14px;
  }

  .inner-head {
    padding-top: 42px;
  }

  .catalog-search {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .catalog-search button {
    grid-column: 1 / -1;
    width: calc(100% - 14px);
    margin: 0 7px 7px;
  }

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

  .software-row__media {
    width: 50px;
    height: 50px;
  }

  .software-row__side,
  .spec-table > div {
    grid-template-columns: 1fr;
  }

  .article-head img,
  .blog-feature img {
    height: 240px;
  }

  .verify-item,
  .domain-action-row,
  .balance-history-row {
    align-items: flex-start;
  }

  .domain-action-row,
  .balance-history-row {
    display: grid;
  }

  .domain-actions {
    justify-content: flex-start;
  }
}

.product-price-stack {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.product-price-stack > strong {
  line-height: 1.1;
}

.product-price-stack > span,
.software-side__discount {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.product-price-discount {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  line-height: 1.3;
}

.product-price-discount b {
  color: var(--primary);
  font-weight: 800;
}

.software-side__discount {
  display: block;
  margin-top: 6px;
}

.software-demo-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.software-demo-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.software-demo-link:hover {
  border-color: color-mix(in srgb, var(--primary) 62%, var(--line));
  background: color-mix(in srgb, var(--primary) 9%, var(--surface));
  transform: translateY(-1px);
}

.software-demo-link--primary {
  border-color: color-mix(in srgb, var(--primary) 48%, var(--line));
  background: color-mix(in srgb, var(--primary) 12%, var(--surface));
}

.software-demo-link__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--line));
  border-radius: 8px;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

.software-demo-link__icon svg,
.software-demo-link > svg {
  width: 17px;
  height: 17px;
}

.software-demo-link > svg {
  color: var(--muted);
}

.software-demo-link__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.software-demo-link__copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.software-demo-link__copy strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.software-demo-access > div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}

.software-demo-access > div + div {
  border-top: 1px solid var(--line);
}

.software-demo-access > div span,
.software-demo-access > p {
  color: var(--muted);
  font-size: 13px;
}

.software-demo-access > p {
  line-height: 1.6;
  margin: 10px 0 0;
}

.reseller-account-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.reseller-account-summary > div {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.reseller-account-summary > div:last-child {
  border-right: 0;
}

.reseller-account-summary span,
.reseller-program-card__head span,
.reseller-program-card__amount span {
  color: var(--muted);
  font-size: 12px;
}

.reseller-account-summary strong {
  font-size: 16px;
}

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

.reseller-program-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.reseller-program-card.is-featured {
  border-color: var(--primary);
}

.reseller-program-card__head,
.reseller-program-card__amount {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.reseller-program-card__head h4 {
  margin: 5px 0 0;
  font-size: 20px;
}

.reseller-program-card__head > strong {
  font-size: 22px;
  color: var(--primary);
}

.reseller-program-card > p,
.reseller-rules p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.reseller-program-card__amount {
  padding: 14px 0;
  border-block: 1px solid var(--line);
}

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

.reseller-program-card li {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
}

.reseller-program-card li svg {
  width: 16px;
  color: var(--primary);
}

.reseller-program-card form,
.reseller-program-card .primary-btn {
  width: 100%;
}

.reseller-catalog-page {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--primary) 7%, transparent), transparent 520px),
    var(--bg);
}

.reseller-catalog-head {
  padding-block: 72px 50px;
}

.reseller-catalog-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 72px;
  align-items: end;
}

.reseller-catalog-head__eyebrow,
.reseller-catalog__heading > div > span {
  display: block;
  margin-top: 26px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reseller-catalog-head__summary {
  display: grid;
  border-top: 1px solid var(--line);
}

.reseller-catalog-head__summary > div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 62px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.reseller-catalog-head__summary svg {
  width: 19px;
  height: 19px;
  color: var(--primary);
}

.reseller-catalog__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.reseller-catalog__heading > div > span {
  margin-top: 0;
}

.reseller-catalog__heading h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.reseller-catalog__heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.reseller-public-grid {
  align-items: stretch;
}

.reseller-public-card {
  grid-template-rows: auto auto auto 1fr auto;
  border-radius: 10px;
}

.reseller-public-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.reseller-public-card__topline > strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
}

.reseller-public-card__topline svg {
  width: 14px;
  height: 14px;
}

.reseller-public-card .reseller-program-card__head h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.reseller-public-card .reseller-program-card__head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.reseller-public-card__price {
  display: grid;
  gap: 4px;
  padding-block: 16px;
  border-block: 1px solid var(--line);
}

.reseller-public-card__price span,
.reseller-public-card__price small {
  color: var(--muted);
  font-size: 12px;
}

.reseller-public-card__price strong {
  font-size: 30px;
  line-height: 1.15;
}

.reseller-public-card > .primary-btn {
  width: 100%;
}

.reseller-public-empty {
  display: grid;
  justify-items: start;
  gap: 8px;
  grid-column: 1 / -1;
  padding: 36px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
}

.reseller-public-empty svg {
  width: 25px;
  color: var(--primary);
}

.reseller-public-empty strong {
  color: var(--text);
  font-size: 18px;
}

.reseller-public-rules {
  padding: 70px 0 84px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 42%, transparent);
}

.reseller-rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.reseller-rule-grid article {
  min-height: 230px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}

.reseller-rule-grid article:last-child {
  border-right: 0;
}

.reseller-rule-grid svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.reseller-rule-grid h3 {
  margin: 30px 0 10px;
  font-size: 17px;
}

.reseller-rule-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .reseller-catalog-head__grid,
  .reseller-catalog__heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .reseller-rule-grid article:nth-child(2) {
    border-right: 0;
  }

  .reseller-rule-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .reseller-catalog-head {
    padding-block: 48px 34px;
  }

  .reseller-rule-grid {
    grid-template-columns: 1fr;
  }

  .reseller-rule-grid article,
  .reseller-rule-grid article:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .reseller-rule-grid article:last-child {
    border-bottom: 0;
  }
}

.reseller-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}

.reseller-rules p {
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reseller-rules p:nth-child(2n) {
  border-right: 0;
}

.reseller-rules p:nth-last-child(-n + 2) {
  border-bottom: 0;
}

@media (max-width: 980px) {
  .reseller-account-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reseller-account-summary > div,
  .reseller-account-summary > div:last-child {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .reseller-program-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .reseller-account-summary,
  .reseller-rules {
    grid-template-columns: 1fr;
  }

  .reseller-rules p,
  .reseller-rules p:nth-child(2n),
  .reseller-rules p:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .reseller-rules p:last-child {
    border-bottom: 0;
  }
}

/* Customer portal service and invoice refinements */
.customer-page .customer-shell {
  padding-bottom: 52px;
}

.customer-page .customer-sidebar {
  height: auto;
  max-height: calc(100vh - 118px);
  padding-bottom: 24px;
  scrollbar-gutter: stable;
}

.customer-page .customer-sidebar nav a {
  grid-template-columns: 24px minmax(0, 1fr) max-content;
}

.customer-nav-count {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-left: 0;
  padding: 0 5px;
  border-radius: 6px;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  font-size: 11px;
  line-height: 1;
}

.order-meta-row {
  grid-template-columns: minmax(120px, 1fr) minmax(160px, auto);
}

.order-meta-row span,
.order-meta-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cart-item__domain {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: var(--text) !important;
}

.cart-item__domain svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.hosting-page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.hosting-service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.hosting-service-main {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.hosting-service-summary,
.hosting-access-card {
  margin: 0;
}

.hosting-service-summary .customer-section__head,
.hosting-access-card .customer-section__head {
  margin-bottom: 16px;
}

.hosting-status {
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  font-size: 12px;
  font-weight: 800;
}

.hosting-status--active {
  color: #22a06b;
  background: color-mix(in srgb, #22a06b 12%, transparent);
}

.hosting-service-identity {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) max-content;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.hosting-service-identity__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--primary);
  background: color-mix(in srgb, var(--surface-2) 48%, transparent);
}

.hosting-service-identity__icon svg {
  width: 20px;
  height: 20px;
  margin-top: 0.6rem;
}

.hosting-service-identity strong,
.hosting-service-identity span {
  display: block;
}

.hosting-service-identity span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.hosting-access-card .customer-section__head > div p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

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

.hosting-access-grid > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface-2) 42%, transparent);
}

.hosting-access-grid span,
.hosting-access-grid strong {
  display: block;
}

.hosting-access-grid span {
  color: var(--muted);
  font-size: 12px;
}

.hosting-access-grid strong {
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.hosting-secret > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 6px;
  margin-top: 6px;
}

.hosting-secret input {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  background: var(--surface);
  font: inherit;
}

.hosting-secret button {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: var(--surface);
  cursor: pointer;
}

.hosting-secret button svg {
  width: 16px;
  height: 16px;
}

.hosting-access-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 9px;
  color: var(--muted);
}

.hosting-access-empty > svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.hosting-access-empty strong,
.hosting-access-empty span {
  display: block;
}

.hosting-access-empty strong {
  color: var(--text);
}

.hosting-access-empty span {
  margin-top: 3px;
  font-size: 13px;
}

.hosting-limits-card {
  position: sticky;
  top: 98px;
  margin: 0 !important;
}

.hosting-limits-card__package {
  display: block;
  margin: 5px 0 16px;
  font-size: 17px !important;
}

.customer-invoice-section {
  margin: 0;
}

.customer-invoice-section .customer-section__head > span {
  color: var(--muted);
  font-size: 13px;
}

.customer-invoice-list {
  display: grid;
  gap: 10px;
}

.customer-invoice-row {
  display: grid;
  grid-template-columns: 42px minmax(190px, 1.2fr) minmax(150px, 0.9fr) minmax(110px, 0.6fr) minmax(150px, 0.8fr) max-content;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.customer-invoice-row__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary);
}

.customer-invoice-row__icon svg {
  width: 19px;
  height: 19px;
}

.customer-invoice-row span,
.customer-invoice-row strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.customer-invoice-row span {
  color: var(--muted);
  font-size: 12px;
}

.customer-invoice-row strong {
  margin-top: 3px;
  font-size: 14px;
}

.customer-invoice-row__identity strong {
  margin-top: 0;
  color: var(--text);
}

.customer-invoice-document {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.customer-invoice-document__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.customer-invoice-document__head span,
.customer-invoice-parties span,
.customer-invoice-provider span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.customer-invoice-document__head h3 {
  margin: 5px 0 0;
  font-size: 23px;
}

.customer-invoice-document__status {
  text-align: right;
}

.customer-invoice-document__status strong {
  display: block;
  margin-top: 5px;
}

.customer-invoice-parties {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(220px, 0.8fr);
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.customer-invoice-parties strong {
  display: block;
  margin: 6px 0;
}

.customer-invoice-parties p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 13px;
}

.customer-invoice-parties dl,
.customer-invoice-totals {
  display: grid;
  gap: 8px;
  margin: 0;
}

.customer-invoice-parties dl div,
.customer-invoice-totals div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.customer-invoice-parties dt,
.customer-invoice-totals dt {
  color: var(--muted);
}

.customer-invoice-parties dd,
.customer-invoice-totals dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.customer-invoice-items {
  padding: 8px 24px 16px;
}

.customer-invoice-items__head,
.customer-invoice-items__row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 80px 140px 130px 150px;
  gap: 12px;
  align-items: center;
}

.customer-invoice-items__head {
  padding: 12px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.customer-invoice-items__row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.customer-invoice-items__row > span,
.customer-invoice-items__row > strong,
.customer-invoice-items__head > span:not(:first-child) {
  text-align: right;
}

.customer-invoice-items__row div strong,
.customer-invoice-items__row div span {
  display: block;
}

.customer-invoice-items__row div span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.customer-invoice-document__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 35%, transparent);
}

.customer-invoice-provider strong {
  display: block;
  margin: 5px 0 12px;
}

.customer-invoice-totals div:last-child {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 17px;
}

@media (max-width: 1080px) {
  .hosting-service-layout,
  .customer-invoice-parties,
  .customer-invoice-document__foot {
    grid-template-columns: 1fr;
  }

  .hosting-limits-card {
    position: static;
  }

  .customer-invoice-row {
    grid-template-columns: 42px minmax(180px, 1fr) minmax(120px, 0.8fr) minmax(130px, 0.8fr) max-content;
  }

  .customer-invoice-row > div:nth-child(4) {
    display: none;
  }

  .customer-invoice-items {
    overflow-x: auto;
  }

  .customer-invoice-items__head,
  .customer-invoice-items__row {
    min-width: 760px;
  }
}

@media (max-width: 760px) {
  .customer-page .customer-shell {
    padding-bottom: 34px;
  }

  .customer-page .customer-sidebar {
    max-height: none;
    padding-bottom: 12px;
  }

  .customer-page .customer-sidebar nav a {
    grid-template-columns: 22px minmax(0, 1fr) max-content;
  }

  .hosting-page-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hosting-service-identity,
  .hosting-access-grid,
  .hosting-info-grid {
    grid-template-columns: 1fr;
  }

  .hosting-service-identity__icon {
    display: none;
  }

  .hosting-service-identity .secondary-btn {
    justify-self: start;
  }

  .customer-invoice-row {
    grid-template-columns: 38px minmax(0, 1fr) max-content;
  }

  .customer-invoice-row > div:not(.customer-invoice-row__icon):not(.customer-invoice-row__identity),
  .customer-invoice-row > a svg {
    display: none;
  }

  .customer-invoice-document__head {
    flex-direction: column;
  }

  .customer-invoice-document__status {
    text-align: left;
  }

  .customer-invoice-parties,
  .customer-invoice-document__head,
  .customer-invoice-document__foot {
    padding: 18px;
  }

  .customer-invoice-items {
    padding-right: 18px;
    padding-left: 18px;
  }
}

.support-linked-service {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.support-linked-service span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.support-linked-service strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}

.support-linked-service p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.support-conversation {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  width: 100%;
  padding-top: 14px;
}

.support-message {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.support-message--customer {
  flex-direction: row;
  justify-content: flex-end;
}

.support-message--admin {
  justify-content: flex-start;
}

.support-message--customer .support-message__body {
  order: 1;
}

.support-message--customer .support-message__avatar {
  order: 2;
}

.support-message--admin .support-message__avatar {
  order: 1;
}

.support-message--admin .support-message__body {
  order: 2;
}

.support-message__avatar {
  flex: 0 0 auto;
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 2px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--surface-2);
}

.support-message > .support-message__avatar:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  line-height: 0;
  text-align: center;
}

.support-message__avatar svg {
  display: block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
}

.support-message--customer .support-message__avatar {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
}

.support-message--admin .support-message__avatar {
  color: #0f766e;
  background: color-mix(in srgb, #0f766e 10%, var(--surface));
}

.support-message__body {
  width: fit-content;
  max-width: min(720px, 76%);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 5px;
  background: var(--surface);
  box-shadow: none;
}

.support-message--customer .support-message__body {
  border-color: rgba(90, 166, 219, .34);
  border-radius: 14px 14px 5px 14px;
  background: color-mix(in srgb, var(--primary) 14%, var(--surface));
}

.support-message__body header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-message__body header span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.support-message__html {
  margin-top: 10px;
  color: var(--text);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.support-message__html p {
  margin: 0 0 10px;
}

.support-message__html p:last-child {
  margin-bottom: 0;
}

.support-message__html ul,
.support-message__html ol {
  margin: 8px 0;
  padding-inline-start: 20px;
}

.support-message__html blockquote {
  margin: 10px 0;
  padding: 8px 12px;
  border-left: 3px solid var(--primary);
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-2) 74%, transparent);
}

.support-message__html a {
  color: var(--primary);
  font-weight: 700;
}

.support-message__html pre,
.support-message__html code {
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-2) 85%, #000);
}

.support-message__html code {
  padding: 2px 5px;
}

.support-message__html pre {
  padding: 10px;
  overflow: auto;
}

.support-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.support-attachments a {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 700;
}

.social-media-buttons {
  position: fixed;
  z-index: 70;
  display: flex;
  gap: 10px;
  flex-direction: column;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

.social-media-buttons--bottom-left {
  bottom: 22px;
  left: 22px;
  align-items: flex-start;
}

.social-media-buttons--bottom-right {
  right: 22px;
  bottom: 22px;
  align-items: flex-end;
}

.social-media-buttons--middle-left {
  top: 50%;
  left: 18px;
  flex-direction: column;
  transform: translateY(-50%);
}

.social-media-buttons--middle-right {
  top: 50%;
  right: 18px;
  flex-direction: column;
  transform: translateY(-50%);
}

.social-media-buttons__link {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  color: #fff;
  background: var(--social-color, #2563eb);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .20);
  pointer-events: auto;
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.social-media-buttons__link:hover {
  color: #fff;
  filter: brightness(1.08) saturate(1.08);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .24);
}

.social-media-buttons__link svg {
  width: 19px;
  height: 19px;
}

.social-media-buttons__link--phone {
  --social-color: #38bdf8;
  color: #06243a;
}

.social-media-buttons__link--whatsapp {
  --social-color: #22c55e;
}

.social-media-buttons__link--twitter {
  --social-color: #1da1f2;
}

.social-media-buttons__link--telegram {
  --social-color: #229ed9;
}

.social-media-buttons__link--instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 42%, #8134af 72%, #515bd4 100%);
}

.social-media-buttons__link--facebook {
  --social-color: #1877f2;
}

@media (max-width: 640px) {
  .social-media-buttons {
    gap: 8px;
    max-width: calc(100vw - 24px);
  }

  .social-media-buttons--bottom-left {
    bottom: 14px;
    left: 12px;
  }

  .social-media-buttons--bottom-right {
    right: 12px;
    bottom: 14px;
  }

  .social-media-buttons--middle-left {
    left: 10px;
  }

  .social-media-buttons--middle-right {
    right: 10px;
  }

  .social-media-buttons__link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .support-message {
    align-items: flex-start;
  }

  .support-message__body {
    max-width: calc(100% - 44px);
  }

  .support-message__body header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Final customer panel overrides */
.customer-page .customer-sidebar {
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.customer-page .customer-sidebar::-webkit-scrollbar {
  width: 6px;
}

.customer-page .customer-sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 26%, transparent);
}

.customer-sidebar__summary,
.customer-sidebar__support,
.customer-sidebar__logout {
  flex-shrink: 0;
}

.customer-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.customer-form-grid label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.customer-form-grid input,
.customer-form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  padding: 12px 14px;
  outline: none;
}

.customer-form-grid textarea {
  resize: vertical;
}

.customer-form-grid input:focus,
.customer-form-grid textarea:focus {
  border-color: color-mix(in srgb, var(--primary) 54%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}

.customer-form-grid small {
  color: #dc2626;
  font-size: 12px;
  font-weight: 800;
}

.customer-form-grid__full {
  grid-column: 1 / -1;
}

.customer-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .customer-page .customer-sidebar {
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
  }
}

@media (max-width: 760px) {
  .customer-form-grid {
    grid-template-columns: 1fr;
  }
}
