:root {
  --bg: #0b0c18;
  --panel: rgba(25, 24, 49, .58);
  --panel-2: rgba(40, 38, 68, .48);
  --line: rgba(224, 228, 255, .16);
  --text: #f8f7ff;
  --muted: #c1bfd2;
  --green: #75e5d0;
  --green-2: #76c9e7;
  --blue: #a9b8ff;
  --danger: #ffc58e;
  --shadow: 0 24px 70px rgba(3, 3, 14, .34);
  --radius: 8px;
  --glass: rgba(25, 24, 49, .58);
  --glass-strong: rgba(19, 18, 40, .78);
  --glass-soft: rgba(255, 255, 255, .07);
  --glass-line: rgba(230, 233, 255, .18);
  --focus: #a9b8ff;
}

* {
  scrollbar-color: rgba(184, 190, 231, .36) rgba(11, 12, 24, .35);
}

html {
  background: #0b0c18;
}

body,
body.account-body {
  background-color: #0b0c18;
  background-image: url('/assets/velora-glass-landscape.webp');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text);
}

body::before {
  background: rgba(7, 8, 20, .36);
  inset: 0;
  mask-image: none;
}

.noise {
  opacity: .035;
}

::selection {
  background: rgba(169, 184, 255, .34);
  color: #fff;
}

a,
button,
input,
textarea,
select {
  letter-spacing: 0;
}

.shell {
  width: min(1220px, calc(100% - 40px));
  padding-top: 22px;
}

.site-nav {
  background: rgba(22, 20, 47, .64);
  border-color: var(--glass-line);
  box-shadow: 0 16px 46px rgba(3, 4, 18, .24), inset 0 1px rgba(255, 255, 255, .08);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  top: 16px;
}

.site-nav nav a,
.footer-grid,
.footer p {
  color: var(--muted);
}

.site-nav nav a:hover,
.site-nav nav a.active {
  color: #fff;
}

.nav-cta,
.btn {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(229, 232, 255, .2);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 10px 28px rgba(3, 4, 18, .16);
  color: #f8f7ff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn.primary,
.nav-cta {
  background: rgba(192, 201, 255, .92);
  border-color: rgba(232, 235, 255, .7);
  color: #17162c;
}

.btn:hover,
.nav-cta:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(226, 230, 255, .4);
  box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 14px 34px rgba(3, 4, 18, .22);
  transform: translateY(-1px);
}

.btn.primary:hover,
.nav-cta:hover {
  background: #d7ddff;
  color: #17162c;
}

.terminal-eyebrow,
.section-kicker,
.about-snapshot span,
.about-pillars span,
.about-timeline strong {
  color: #9fe7ed;
}

.hero {
  min-height: 600px;
}

.hero h1,
.page-hero h1,
.about-hero h1,
.contact-intro h1,
.coming-soon-panel h1 {
  color: #fbfaff;
  text-shadow: 0 14px 40px rgba(10, 7, 30, .28);
}

.hero h1 span,
.page-hero h1 span {
  color: #b8c5ff;
}

.hero p,
.page-hero p,
.muted,
.about-copy p,
.about-pillars p,
.about-timeline p,
.contact-intro > p:not(.terminal-eyebrow) {
  color: var(--muted);
}

.terminal-card,
.code-window,
.panel,
.trusted,
.price-card,
.module-grid article,
.docs-grid article,
.maintenance-card,
.login-card,
.waitlist,
.about-snapshot,
.about-pillars article,
.about-build-panel,
.checkout-summary,
.checkout-form,
.contact-form-wrap,
.coming-soon-panel {
  background: var(--glass);
  border-color: var(--glass-line);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .08);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.terminal-card {
  background: rgba(14, 16, 36, .68);
}

.terminal-top {
  background: rgba(255, 255, 255, .035);
  border-color: var(--glass-line);
}

.terminal-card pre,
.code-window pre {
  color: #d9dcff;
}

.trusted {
  color: #c7c5da;
}

.trusted strong {
  color: #ecebfa;
}

.split,
.about-story,
.footer {
  border-color: rgba(226, 230, 255, .14);
}

.feature-line span,
.icon,
.price-card h3,
.price-card .price-sub,
.checkout-price,
.contact-email {
  color: #91e7e8;
}

.file-list {
  background: rgba(12, 13, 31, .3);
  border-color: var(--glass-line);
  color: #bbb9ce;
}

.module-grid article,
.docs-grid article,
.price-card,
.about-pillars article {
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.module-grid article:hover,
.docs-grid article:hover,
.price-card:hover,
.about-pillars article:hover {
  background: rgba(47, 44, 78, .62);
  border-color: rgba(200, 208, 255, .34);
}

.price-card.featured {
  background: rgba(39, 40, 76, .7);
  border-color: rgba(173, 188, 255, .48);
  box-shadow: 0 26px 72px rgba(5, 5, 22, .36), inset 0 1px rgba(255, 255, 255, .12);
}

.badge {
  background: #c6d0ff;
  color: #17162c;
}

.waitlist input,
.footer-form input,
.login-card input,
.panel input,
.panel textarea,
.panel select,
.checkout-form input,
.form-field input,
.form-field select,
.form-field textarea,
.newsletter-form input,
.admin-mini-form input,
.campaign-fields input,
.campaign-fields select,
.campaign-block input,
.campaign-block textarea,
.admin-search input,
.admin-inline-tool input,
.redeem-row input,
.security-section input,
.account-login-grid input,
.ticket-thread textarea,
.support-grid select,
.ticket-thread select {
  background: rgba(7, 8, 24, .5);
  border-color: rgba(224, 228, 255, .18);
  color: #fbfaff;
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
}

input::placeholder,
textarea::placeholder {
  color: #88879b;
}

input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  border-color: #a9b8ff;
  outline: 2px solid rgba(169, 184, 255, .28);
  outline-offset: 2px;
}

.warning,
.contact-notice.warning,
.coming-soon-notice.warning {
  background: rgba(102, 67, 42, .42);
  border-color: rgba(255, 197, 142, .34);
  color: #ffddb9;
}

.success,
.contact-notice.success,
.coming-soon-notice.success {
  color: #9cf1df !important;
}

.footer {
  background: rgba(13, 13, 31, .26);
  border: 1px solid var(--glass-line);
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.coming-soon-panel {
  background: rgba(22, 20, 47, .68);
}

.coming-soon-grid span {
  background: rgba(255, 255, 255, .055);
  border-color: var(--glass-line);
  color: #ecebfa;
}

.progress {
  background: rgba(7, 8, 24, .55);
  border-color: var(--glass-line);
}

.progress span {
  background: #a9b8ff;
}

.account-login-grid .checkout-form {
  background: rgba(24, 22, 50, .66);
}

/* Customer workspace */
.customer-sidebar,
.customer-topbar,
.account-section,
.account-metrics,
.account-metrics article {
  background: rgba(20, 19, 43, .68);
  border-color: var(--glass-line);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.customer-sidebar {
  box-shadow: 18px 0 60px rgba(4, 4, 20, .18), inset -1px 0 rgba(255, 255, 255, .035);
}

.customer-sidebar nav a:hover,
.customer-sidebar nav a.active {
  background: rgba(255, 255, 255, .08);
  border-left-color: #a9b8ff;
}

.customer-sidebar nav a b,
.account-state.is-active {
  background: rgba(71, 188, 179, .16);
  border-color: rgba(117, 229, 208, .38);
  color: #9ff2df;
}

.customer-topbar {
  background: rgba(15, 14, 35, .72);
}

.account-metrics {
  overflow: hidden;
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .07);
}

.account-metrics article {
  background: rgba(255, 255, 255, .035);
}

.account-metrics article + article,
.account-section dl div,
.account-table,
.account-table th,
.account-table td,
.security-layout aside,
.security-layout aside form,
.customer-sidebar-user,
.customer-footer {
  border-color: rgba(225, 228, 255, .12);
}

.account-section {
  box-shadow: 0 18px 52px rgba(3, 4, 18, .2), inset 0 1px rgba(255, 255, 255, .07);
}

.installer-command,
.ticket-message {
  background: rgba(5, 6, 22, .56);
  border-color: rgba(199, 207, 255, .22);
}

.installer-command code,
.account-table td code {
  color: #9fe7ed;
}

.terminal-dot {
  background: #75e5d0;
  box-shadow: 0 0 0 5px rgba(117, 229, 208, .1);
}

.security-layout aside a {
  color: #b5c3ff;
}

/* Admin and helpdesk workspaces */
.admin-shell,
.admin-login,
.maintenance {
  background: transparent;
}

.admin-shell.upgraded aside,
.admin-main,
.admin-topbar {
  background: rgba(18, 17, 40, .7);
  border-color: var(--glass-line);
  backdrop-filter: blur(26px) saturate(130%);
  -webkit-backdrop-filter: blur(26px) saturate(130%);
}

.admin-shell.upgraded aside {
  box-shadow: 18px 0 62px rgba(4, 4, 20, .18);
}

.admin-main {
  box-shadow: none;
}

.admin-topbar {
  background: rgba(15, 14, 35, .78);
}

.admin-shell aside .admin-nav a:hover {
  background: rgba(255, 255, 255, .08);
}

.mfa-card {
  max-width: 560px;
}

.mfa-card h1 {
  margin-bottom: 10px;
}

.mfa-card .terminal-eyebrow {
  margin: 0 0 8px;
}

.mfa-code-input {
  min-height: 56px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 20px;
  letter-spacing: 0;
}

.mfa-back-link {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
}

.mfa-security-grid {
  align-items: start;
}

.mfa-setup-panel .btn {
  width: 100%;
}

.mfa-secret {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(224, 228, 255, .16);
  border-radius: 7px;
  background: rgba(7, 8, 24, .42);
}

.mfa-secret span {
  color: var(--muted);
  font-size: 13px;
}

.mfa-secret code {
  color: #9fe7ed;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.mfa-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
}

.mfa-recovery-panel {
  margin-bottom: 18px;
}

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

.mfa-recovery-grid code {
  padding: 11px 13px;
  border: 1px solid rgba(224, 228, 255, .16);
  border-radius: 6px;
  background: rgba(7, 8, 24, .5);
  color: #dffbff;
  text-align: center;
}

.mfa-danger-zone {
  border-color: rgba(255, 170, 170, .22) !important;
}

@media (max-width: 620px) {
  .mfa-recovery-grid {
    grid-template-columns: 1fr;
  }

  .mfa-status-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

.admin-stat-grid .stat,
.admin-grid .panel,
.admin-mini-form form,
.campaign-block,
.campaign-preview,
.status-list div {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(225, 228, 255, .14);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.admin-table th {
  color: #aebaff;
}

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

.active-badge {
  background: rgba(117, 229, 208, .12);
  color: #a2f0df;
}

.ticket-message.is-admin {
  background: rgba(115, 135, 215, .12);
  border-color: rgba(169, 184, 255, .34);
}

@media (max-width: 900px) {
  body,
  body.account-body {
    background-attachment: scroll;
  }

  .site-nav.open nav {
    background: rgba(16, 15, 37, .72);
    border-top: 1px solid var(--glass-line);
    padding: 14px 4px 4px;
  }

  .customer-sidebar {
    background: rgba(16, 15, 37, .82);
  }

  .admin-shell.upgraded {
    display: block;
    min-width: 0;
  }

  .admin-shell.upgraded aside {
    align-items: center;
    background: rgba(16, 15, 37, .86);
    display: grid;
    gap: 10px 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 16px;
  }

  .admin-brand {
    min-width: 0;
  }

  .admin-nav {
    display: flex;
    gap: 6px;
    grid-column: 1 / -1;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .admin-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-nav .nav-group {
    display: none;
  }

  .admin-shell aside .admin-nav a {
    border: 1px solid rgba(225, 228, 255, .12);
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 10px;
    white-space: nowrap;
  }

  .admin-sidebar-footer {
    align-items: center;
    border: 0;
    display: flex;
    gap: 8px;
    padding: 0;
  }

  .admin-sidebar-footer > a:nth-of-type(2) {
    display: none;
  }

  .admin-sidebar-footer form,
  .admin-sidebar-footer .btn {
    margin: 0;
    width: auto;
  }

  .admin-main,
  .admin-grid,
  .admin-grid > *,
  .campaign-grid,
  .campaign-grid > *,
  .campaign-fields,
  .campaign-builder,
  .panel {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

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

  .admin-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 20px, 1220px);
  }

  .site-nav {
    padding: 12px;
  }

  .admin-shell.upgraded aside {
    padding: 10px 12px;
  }

  .admin-sidebar-footer > a {
    display: none;
  }

  .admin-hero,
  .admin-stat-grid,
  .admin-grid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .admin-hero h1 {
    font-size: 38px;
  }

  .hero h1,
  .page-hero h1,
  .about-hero h1,
  .contact-intro h1,
  .coming-soon-panel h1 {
    font-size: 44px;
  }

  .coming-soon-panel,
  .maintenance-card,
  .login-card,
  .checkout-summary,
  .checkout-form,
  .contact-form-wrap {
    padding: 22px;
  }
}

/* Beta programme */
.beta-gateway {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: 34px;
  align-items: center;
  min-height: 660px;
  padding: 70px 0 58px;
}

.beta-gateway-copy {
  max-width: 720px;
}

.beta-gateway h1,
.beta-welcome h1 {
  margin: 16px 0 22px;
  max-width: 760px;
  color: #f8f7ff;
  font-size: clamp(50px, 6vw, 82px);
  line-height: .98;
  letter-spacing: 0;
}

.beta-gateway-copy > p,
.beta-welcome > div > p:last-child {
  max-width: 680px;
  color: #c8c6d7;
  font-size: 18px;
}

.beta-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #deddf0;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.beta-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8de5d8;
  box-shadow: 0 0 16px rgba(141, 229, 216, .72);
}

.beta-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 650px;
  margin-top: 38px;
  border-top: 1px solid rgba(203, 207, 255, .22);
  border-bottom: 1px solid rgba(203, 207, 255, .22);
}

.beta-proof div {
  padding: 18px 18px 18px 0;
}

.beta-proof div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(203, 207, 255, .18);
}

.beta-proof strong,
.beta-proof span {
  display: block;
}

.beta-proof strong {
  color: #f8f7ff;
  font-size: 20px;
}

.beta-proof span {
  margin-top: 3px;
  color: #9997ae;
  font-size: 12px;
}

.beta-access-panel,
.beta-primary-panel,
.beta-actions-panel,
.beta-offer,
.beta-welcome aside {
  border: 1px solid rgba(199, 205, 255, .28);
  border-radius: 8px;
  background: rgba(31, 30, 58, .72);
  box-shadow: 0 24px 70px rgba(7, 8, 20, .32), inset 0 1px rgba(255, 255, 255, .08);
  backdrop-filter: blur(22px) saturate(128%);
}

.beta-access-panel {
  padding: 28px;
}

.beta-panel-head,
.beta-offer-top,
.beta-primary-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.beta-panel-head span,
.beta-primary-panel header span,
.beta-actions-panel > span,
.beta-welcome aside span,
.beta-offer-top span {
  color: #9fe7ed;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

.beta-panel-head b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(199, 205, 255, .3);
  border-radius: 8px;
  color: #cfd4ff;
}

.beta-access-panel h2 {
  margin: 26px 0 10px;
  font-size: 30px;
  letter-spacing: 0;
}

.beta-access-panel p,
.beta-access-panel small {
  color: #aaa8bd;
}

.beta-access-panel label {
  display: block;
  margin: 24px 0 8px;
  color: #e8e7f4;
  font-weight: 700;
}

.beta-access-panel input,
.beta-admin-grid input,
.beta-admin-grid select {
  width: 100%;
  border: 1px solid rgba(199, 205, 255, .26);
  border-radius: 7px;
  background: rgba(10, 11, 27, .72);
  color: #f8f7ff;
  padding: 13px 14px;
  font: inherit;
}

.beta-access-panel .btn {
  width: 100%;
  margin: 14px 0 16px;
}

.beta-access-panel small {
  display: block;
  text-align: center;
}

.beta-access-panel small a {
  color: #9fe7ed;
}

.beta-notice {
  margin: 18px 0;
  border: 1px solid rgba(231, 170, 147, .34);
  border-radius: 7px;
  background: rgba(115, 55, 53, .2);
  color: #f1c2b6 !important;
  padding: 11px 13px;
  font-size: 14px;
}

.beta-notice.is-success {
  border-color: rgba(141, 229, 216, .34);
  background: rgba(48, 117, 113, .18);
  color: #b7f1e9 !important;
}

.beta-preview,
.beta-plans,
.beta-expectations {
  padding: 72px 0;
  border-top: 1px solid rgba(199, 205, 255, .18);
}

.beta-preview > header {
  max-width: 700px;
}

.beta-preview > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  border-top: 1px solid rgba(199, 205, 255, .2);
}

.beta-preview article {
  padding: 26px 28px 18px 0;
}

.beta-preview article + article {
  padding-left: 28px;
  border-left: 1px solid rgba(199, 205, 255, .2);
}

.beta-preview article span {
  color: #9fe7ed;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.beta-preview article h3 {
  margin: 28px 0 8px;
  color: #f8f7ff;
  font-size: 21px;
}

.beta-preview article p {
  color: #aaa8bd;
}

.beta-workspace {
  padding: 30px 0 70px;
}

.beta-workspace-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border: 1px solid rgba(199, 205, 255, .25);
  border-radius: 8px;
  background: rgba(20, 20, 42, .7);
  backdrop-filter: blur(22px);
}

.beta-workspace-bar > div {
  text-align: right;
}

.beta-workspace-bar > div span,
.beta-workspace-bar > div b {
  display: block;
}

.beta-workspace-bar > div span {
  color: #f8f7ff;
  font-size: 13px;
}

.beta-workspace-bar > div b {
  color: #8de5d8;
  font-size: 11px;
}

.beta-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 30px;
  align-items: end;
  padding: 72px 0 46px;
}

.beta-welcome h1 {
  font-size: clamp(48px, 6vw, 76px);
}

.beta-welcome aside {
  padding: 22px;
}

.beta-welcome aside strong,
.beta-welcome aside small {
  display: block;
}

.beta-welcome aside strong {
  margin: 12px 0 5px;
  color: #f8f7ff;
  font-size: 20px;
}

.beta-welcome aside small {
  color: #9997ae;
}

.beta-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 18px;
}

.beta-primary-panel,
.beta-actions-panel {
  padding: 26px;
}

.beta-primary-panel h2 {
  margin: 7px 0 0;
  font-size: 28px;
  letter-spacing: 0;
}

.beta-primary-panel header b {
  border: 1px solid rgba(231, 170, 147, .25);
  border-radius: 999px;
  color: #dca99d;
  padding: 6px 10px;
  font-size: 11px;
}

.beta-primary-panel header b.is-live {
  border-color: rgba(141, 229, 216, .32);
  color: #8de5d8;
}

.beta-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 26px;
  border: 1px solid rgba(159, 231, 237, .24);
  border-radius: 7px;
  background: rgba(8, 10, 24, .72);
  padding: 10px 10px 10px 15px;
}

.beta-command code {
  overflow: auto;
  color: #9fe7ed;
  white-space: nowrap;
}

.beta-command .btn {
  margin: 0;
}

.installer-replace {
  margin-top: 12px;
}

.installer-replace summary {
  color: #b9b7ca;
  cursor: pointer;
  font-size: 13px;
}

.installer-replace[open] summary {
  color: #f8f7ff;
}

.installer-replace .beta-command,
.installer-replace .installer-command {
  margin-top: 10px;
}

.beta-primary-panel > p {
  color: #9997ae;
  font-size: 13px;
}

.beta-empty {
  margin-top: 24px;
  border-top: 1px solid rgba(199, 205, 255, .18);
  padding-top: 22px;
}

.beta-empty span,
.beta-empty strong {
  display: block;
}

.beta-empty span {
  color: #dca99d;
  font-size: 12px;
}

.beta-empty strong {
  max-width: 630px;
  margin-top: 7px;
  color: #c8c6d7;
}

.beta-actions-panel {
  display: grid;
  align-content: start;
}

.beta-actions-panel > span {
  margin-bottom: 14px;
}

.beta-actions-panel a {
  padding: 14px 0;
  border-top: 1px solid rgba(199, 205, 255, .16);
}

.beta-actions-panel a b,
.beta-actions-panel a small {
  display: block;
}

.beta-actions-panel a b {
  color: #f8f7ff;
}

.beta-actions-panel a small {
  margin-top: 3px;
  color: #9997ae;
}

.beta-plans > header,
.beta-expectations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.beta-plans > header > p,
.beta-expectations > div:last-child > p {
  color: #aaa8bd;
}

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

.beta-offer {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
}

.beta-offer.is-featured {
  border-color: rgba(159, 231, 237, .46);
  background: rgba(34, 40, 67, .76);
}

.beta-offer-top b {
  color: #17162c;
  border-radius: 6px;
  background: #9fe7ed;
  padding: 4px 7px;
  font-size: 10px;
}

.beta-offer h3 {
  margin: 24px 0 5px;
  color: #f8f7ff;
  font-size: 23px;
}

.beta-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.beta-price strong {
  color: #f8f7ff;
  font-size: 34px;
}

.beta-price span,
.beta-offer del {
  color: #9290a8;
  font-size: 13px;
}

.beta-offer ul {
  display: grid;
  gap: 9px;
  flex: 1;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  color: #bbb9cc;
  font-size: 13px;
}

.beta-offer li::before {
  content: '✓';
  margin-right: 8px;
  color: #8de5d8;
}

.beta-offer form .btn {
  width: 100%;
}

.beta-offer form p {
  min-height: 38px;
  margin: 8px 0 0;
  color: #dca99d;
  font-size: 11px;
}

.beta-expectations h2 {
  max-width: 500px;
}

.beta-admin-guide ol {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.beta-admin-guide li {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid rgba(199, 205, 255, .16);
}

.beta-admin-guide li b {
  color: #f8f7ff;
}

.beta-admin-guide li span {
  color: #9997ae;
}

@media (max-width: 1050px) {
  .beta-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .beta-gateway,
  .beta-welcome,
  .beta-dashboard-grid,
  .beta-plans > header,
  .beta-expectations {
    grid-template-columns: 1fr;
  }

  .beta-gateway {
    min-height: 0;
    padding-top: 52px;
  }

  .beta-preview > div {
    grid-template-columns: 1fr;
  }

  .beta-preview article,
  .beta-preview article + article {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid rgba(199, 205, 255, .16);
  }
}

@media (max-width: 560px) {
  .beta-gateway h1,
  .beta-welcome h1 {
    font-size: 44px;
  }

  .beta-proof,
  .beta-offer-grid {
    grid-template-columns: 1fr;
  }

  .beta-proof div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(199, 205, 255, .16);
  }

  .beta-workspace-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .beta-workspace-bar > div {
    text-align: left;
  }

  .beta-access-panel,
  .beta-primary-panel,
  .beta-actions-panel,
  .beta-offer {
    padding: 20px;
  }

  .beta-command {
    grid-template-columns: 1fr;
  }
}

/* Beta testing operations */
.beta-consent-workspace {
  min-height: 760px;
}

.beta-consent-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  gap: 46px;
  align-items: center;
  padding: 70px 0;
}

.beta-consent-copy {
  max-width: 720px;
}

.beta-consent-copy h1 {
  margin: 17px 0 22px;
  color: #f8f7ff;
  font-size: 68px;
  line-height: 1;
  letter-spacing: 0;
}

.beta-consent-copy > p {
  max-width: 650px;
  color: #c8c6d7;
  font-size: 18px;
}

.beta-consent-points {
  display: grid;
  margin-top: 38px;
  border-top: 1px solid rgba(199, 205, 255, .2);
}

.beta-consent-points article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(199, 205, 255, .16);
}

.beta-consent-points article > span {
  color: #9fe7ed;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.beta-consent-points b,
.beta-consent-points p {
  display: block;
}

.beta-consent-points b {
  color: #f8f7ff;
}

.beta-consent-points p {
  margin: 3px 0 0;
  color: #9997ae;
}

.beta-consent-card,
.beta-feedback-form,
.beta-feedback-guide,
.beta-release-card,
.beta-preferences {
  border: 1px solid rgba(199, 205, 255, .28);
  border-radius: 8px;
  background: rgba(31, 30, 58, .74);
  box-shadow: 0 24px 70px rgba(7, 8, 20, .3), inset 0 1px rgba(255, 255, 255, .07);
  backdrop-filter: blur(22px) saturate(128%);
}

.beta-consent-card {
  padding: 28px;
}

.beta-consent-card h2 {
  margin: 24px 0 10px;
  color: #f8f7ff;
  font-size: 30px;
}

.beta-consent-card > p,
.beta-consent-foot {
  color: #aaa8bd;
}

.beta-consent-card > p a,
.beta-consent-card > a,
.beta-preferences a {
  color: #9fe7ed;
}

.beta-choice {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin: 14px 0;
  border: 1px solid rgba(199, 205, 255, .2);
  border-radius: 7px;
  padding: 15px;
  cursor: pointer;
}

.beta-choice.is-required {
  border-color: rgba(159, 231, 237, .34);
  background: rgba(75, 124, 132, .1);
}

.beta-choice input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #9fe7ed;
}

.beta-choice b,
.beta-choice small {
  display: block;
}

.beta-choice b {
  color: #f8f7ff;
}

.beta-choice small {
  margin-top: 4px;
  color: #9997ae;
  line-height: 1.45;
}

.beta-consent-card > .btn {
  width: 100%;
  margin: 10px 0 14px;
}

.beta-consent-foot {
  display: block;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}

.beta-workspace-nav {
  display: flex;
  gap: 6px;
}

.beta-workspace-nav a {
  border-radius: 6px;
  color: #bdbbce;
  padding: 8px 10px;
  font-size: 13px;
}

.beta-workspace-nav a:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.beta-release-centre,
.beta-feedback-centre,
.beta-report-history,
.beta-preferences {
  margin-top: 72px;
}

.beta-release-centre > header,
.beta-feedback-centre > header,
.beta-report-history > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 30px;
}

.beta-release-centre > header h2,
.beta-feedback-centre > header h2,
.beta-report-history > header h2,
.beta-preferences h2 {
  margin: 7px 0 0;
  color: #f8f7ff;
  font-size: 36px;
  letter-spacing: 0;
}

.beta-release-centre > header > p,
.beta-feedback-centre > header > p,
.beta-preferences > div > p {
  color: #aaa8bd;
}

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

.beta-release-card {
  padding: 24px;
}

.beta-release-card.is-latest {
  border-color: rgba(159, 231, 237, .5);
  background: rgba(35, 44, 70, .78);
}

.beta-release-card > header,
.beta-release-card > footer,
.beta-report-history > header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.beta-release-card header span,
.beta-release-card footer,
.beta-report-history > header > span {
  color: #9997ae;
  font-size: 12px;
}

.beta-release-card header span {
  color: #9fe7ed;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
}

.beta-release-card header b {
  align-self: start;
  border-radius: 6px;
  background: #9fe7ed;
  color: #17162c;
  padding: 5px 8px;
  font-size: 10px;
}

.beta-release-card h3 {
  margin: 6px 0 0;
  color: #f8f7ff;
  font-size: 22px;
}

.beta-release-card > p,
.beta-release-card details p {
  color: #b9b7ca;
}

.beta-release-card details {
  border-top: 1px solid rgba(199, 205, 255, .16);
  padding: 12px 0;
}

.beta-release-card summary {
  color: #e7e6f2;
  cursor: pointer;
  font-weight: 700;
}

.beta-release-card > footer {
  margin-top: 18px;
  border-top: 1px solid rgba(199, 205, 255, .16);
  padding-top: 14px;
}

.beta-release-card footer b {
  color: #8de5d8;
}

.beta-announcements {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(199, 205, 255, .16);
  padding-bottom: 22px;
}

.beta-announcements > header,
.beta-admin-announcements > .panel-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.beta-announcements h3 {
  margin: 4px 0 0;
  color: #f8f7ff;
  font-size: 21px;
}

.beta-announcements > header > span {
  color: #9997ae;
  font-size: 12px;
}

.beta-announcement-list,
.beta-admin-announcement-list {
  display: grid;
  gap: 10px;
}

.beta-announcement {
  border: 1px solid rgba(159, 231, 237, .28);
  border-left: 3px solid #9fe7ed;
  border-radius: 8px;
  background: rgba(16, 24, 43, .7);
  padding: 16px;
}

.beta-announcement.is-warning {
  border-left-color: #e7c993;
}

.beta-announcement.is-critical {
  border-left-color: #e7aa93;
  background: rgba(50, 26, 34, .58);
}

.beta-announcement span,
.beta-announcement footer,
.beta-admin-announcement span,
.beta-admin-announcement small {
  color: #9997ae;
  font-size: 11px;
}

.beta-announcement span {
  color: #9fe7ed;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
}

.beta-announcement h3,
.beta-admin-announcement h3 {
  margin: 4px 0 0;
  color: #f8f7ff;
}

.beta-announcement > p,
.beta-admin-announcement p {
  margin: 10px 0;
  color: #c2c0d2;
}

.beta-feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 18px;
  align-items: start;
}

.beta-feedback-form,
.beta-feedback-guide {
  padding: 26px;
}

.beta-feedback-form label,
.beta-release-publisher label,
.beta-announcement-form label,
.beta-admin-report label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #e7e6f2;
  font-weight: 700;
}

.beta-feedback-form label small {
  color: #9997ae;
  font-weight: 400;
}

.beta-feedback-form input,
.beta-feedback-form select,
.beta-feedback-form textarea,
.beta-release-publisher input,
.beta-release-publisher select,
.beta-release-publisher textarea,
.beta-announcement-form input,
.beta-announcement-form select,
.beta-announcement-form textarea,
.beta-admin-report select,
.beta-admin-report textarea {
  width: 100%;
  border: 1px solid rgba(199, 205, 255, .25);
  border-radius: 7px;
  background: rgba(10, 11, 27, .74);
  color: #f8f7ff;
  padding: 12px 13px;
  font: inherit;
}

.beta-feedback-form textarea,
.beta-release-publisher textarea,
.beta-announcement-form textarea,
.beta-admin-report textarea {
  resize: vertical;
}

.beta-feedback-form .btn {
  margin: 4px 0 0;
}

.beta-feedback-guide > span {
  color: #9fe7ed;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.beta-feedback-guide ol,
.beta-release-checklist ol {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.beta-feedback-guide li,
.beta-release-checklist li {
  display: grid;
  gap: 4px;
  border-top: 1px solid rgba(199, 205, 255, .16);
  padding: 16px 0;
}

.beta-feedback-guide b,
.beta-release-checklist b {
  color: #f8f7ff;
}

.beta-feedback-guide small,
.beta-release-checklist span {
  color: #9997ae;
}

.beta-report-history > div {
  border-top: 1px solid rgba(199, 205, 255, .2);
}

.beta-report-row {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(199, 205, 255, .16);
}

.beta-report-row h3 {
  margin: 4px 0;
  color: #f8f7ff;
  font-size: 18px;
}

.beta-report-row span,
.beta-report-row p,
.beta-report-row small {
  color: #9997ae;
  font-size: 12px;
}

.beta-report-row small {
  display: block;
  margin-top: 8px;
  color: #b7f1e9;
}

.beta-report-status {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c6c4d7;
  font-size: 12px;
  font-weight: 700;
}

.beta-report-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dca99d;
}

.beta-report-status.is-resolved i,
.beta-report-status.is-closed i {
  background: #8de5d8;
}

.beta-preferences {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  gap: 42px;
  padding: 28px;
}

.beta-preferences form > .btn {
  margin: 0 10px 0 0;
}

.beta-preferences form > a {
  font-size: 13px;
}

.beta-release-publisher,
.beta-release-checklist {
  align-self: start;
}

.beta-admin-announcements {
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(199, 205, 255, .16);
  padding-bottom: 32px;
}

.beta-announcement-form {
  border: 1px solid rgba(199, 205, 255, .16);
  border-radius: 8px;
  background: rgba(10, 11, 27, .46);
  padding: 20px;
}

.beta-admin-announcement-list {
  margin-top: 20px;
}

.beta-admin-announcement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-top: 1px solid rgba(199, 205, 255, .16);
  padding: 18px 0;
}

.beta-admin-announcement.is-warning {
  border-left: 3px solid #e7c993;
  padding-left: 14px;
}

.beta-admin-announcement.is-critical {
  border-left: 3px solid #e7aa93;
  padding-left: 14px;
}

.beta-admin-feedback {
  display: grid;
}

.beta-admin-report {
  padding: 24px 0;
  border-top: 1px solid rgba(199, 205, 255, .16);
}

.beta-admin-report > header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.beta-admin-report header span,
.beta-admin-report header p {
  color: #9997ae;
  font-size: 12px;
}

.beta-admin-report h3 {
  margin: 5px 0;
  color: #f8f7ff;
  font-size: 21px;
}

.beta-admin-report header > b {
  align-self: start;
  border: 1px solid rgba(199, 205, 255, .25);
  border-radius: 999px;
  color: #c8c6d7;
  padding: 5px 9px;
  font-size: 11px;
}

.beta-admin-report header > b.is-high,
.beta-admin-report header > b.is-blocking {
  border-color: rgba(231, 170, 147, .45);
  color: #f1c2b6;
}

.beta-admin-report > p {
  color: #c2c0d2;
}

.beta-admin-report dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(199, 205, 255, .14);
  border-radius: 7px;
  background: rgba(199, 205, 255, .12);
}

.beta-admin-report dl div {
  background: rgba(12, 13, 30, .78);
  padding: 13px;
}

.beta-admin-report dt {
  color: #9fe7ed;
  font-size: 11px;
}

.beta-admin-report dd {
  margin: 5px 0 0;
  color: #b9b7ca;
  font-size: 13px;
}

.beta-admin-report form {
  margin-top: 18px;
}

.release-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 300px;
}

.release-row-actions > .btn {
  flex: 0 0 auto;
  margin: 0;
}

.release-row-actions .inline-actions {
  flex: 1;
  margin: 0;
}

.release-integrity-title {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(199, 205, 255, .14);
}

@media (max-width: 900px) {
  .beta-consent-layout,
  .beta-release-centre > header,
  .beta-feedback-centre > header,
  .beta-feedback-layout,
  .beta-preferences {
    grid-template-columns: 1fr;
  }

  .beta-workspace-nav {
    display: none;
  }

  .beta-admin-report dl {
    grid-template-columns: 1fr;
  }

  .beta-admin-announcement {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .beta-consent-copy h1 {
    font-size: 44px;
  }

  .beta-consent-layout {
    gap: 30px;
    padding: 48px 0;
  }

  .beta-consent-card,
  .beta-feedback-form,
  .beta-feedback-guide,
  .beta-release-card,
  .beta-preferences {
    padding: 20px;
  }

  .beta-release-list,
  .beta-feedback-form .field-pair,
  .beta-admin-report .field-pair {
    grid-template-columns: 1fr;
  }

  .beta-announcement-form .field-pair {
    grid-template-columns: 1fr;
  }

  .beta-report-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .beta-release-centre > header h2,
  .beta-feedback-centre > header h2,
  .beta-report-history > header h2,
  .beta-preferences h2 {
    font-size: 30px;
  }
}

.license-key-control {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 390px;
}

.license-key-control code,
.license-key-recovery > code {
  display: block;
  overflow-x: auto;
  border: 1px solid rgba(188, 214, 255, .18);
  border-radius: 7px;
  background: rgba(7, 10, 24, .62);
  color: #d7fff0;
  padding: 11px 12px;
  font-size: 12px;
  white-space: nowrap;
}

.license-key-control .btn,
.license-key-recovery .btn {
  margin: 0;
  white-space: nowrap;
}

.license-key-recovery {
  display: grid;
  gap: 9px;
  min-width: 280px;
}

.license-key-recovery form {
  margin: 0;
}

.license-key-recovery small {
  max-width: 360px;
  color: #9d9bad;
  line-height: 1.45;
}

.beta-licence-panel {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(199, 205, 255, .14);
}

.beta-licence-panel > span {
  color: #a9a7bc;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .license-key-control {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .license-key-control .btn,
  .license-key-recovery .btn {
    width: 100%;
  }

  .license-key-recovery {
    min-width: 0;
  }
}

/* Readability pass: retain the liquid-glass depth without sacrificing contrast. */
:root {
  --panel: rgba(20, 19, 43, .92);
  --panel-2: rgba(31, 29, 59, .88);
  --line: rgba(226, 230, 255, .24);
  --muted: #d2d0de;
  --glass: rgba(20, 19, 43, .92);
  --glass-strong: rgba(15, 14, 34, .96);
  --glass-soft: rgba(255, 255, 255, .09);
  --glass-line: rgba(230, 233, 255, .25);
  --shadow: 0 24px 70px rgba(2, 3, 14, .5);
}

body::before {
  background: linear-gradient(180deg, rgba(7, 8, 20, .72), rgba(7, 8, 20, .84));
  z-index: 0;
}

body > main {
  position: relative;
  z-index: 1;
}

.noise,
.matrix {
  z-index: 0;
}

.site-nav {
  background: rgba(18, 17, 40, .94);
  box-shadow: 0 18px 52px rgba(3, 4, 18, .42), inset 0 1px rgba(255, 255, 255, .1);
}

.terminal-card,
.code-window,
.panel,
.trusted,
.price-card,
.module-grid article,
.docs-grid article,
.maintenance-card,
.login-card,
.waitlist,
.about-snapshot,
.about-pillars article,
.about-build-panel,
.checkout-summary,
.checkout-form,
.contact-form-wrap,
.coming-soon-panel {
  background: var(--glass);
  border-color: var(--glass-line);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .09);
}

.terminal-card,
.coming-soon-panel,
.account-login-grid .checkout-form {
  background: rgba(15, 15, 35, .94);
}

.file-list,
.footer,
.progress {
  background: rgba(13, 13, 31, .88);
}

.module-grid article:hover,
.docs-grid article:hover,
.price-card:hover,
.about-pillars article:hover {
  background: rgba(42, 40, 72, .94);
}

.price-card.featured {
  background: rgba(37, 38, 72, .96);
}

.waitlist input,
.footer-form input,
.login-card input,
.panel input,
.panel textarea,
.panel select,
.checkout-form input,
.form-field input,
.form-field select,
.form-field textarea,
.newsletter-form input,
.admin-mini-form input,
.campaign-fields input,
.campaign-fields select,
.campaign-block input,
.campaign-block textarea,
.admin-search input,
.admin-inline-tool input,
.redeem-row input,
.security-section input,
.account-login-grid input,
.ticket-thread textarea,
.support-grid select,
.ticket-thread select {
  background: rgba(6, 7, 21, .88);
  border-color: rgba(224, 228, 255, .26);
}

input::placeholder,
textarea::placeholder {
  color: #aaa8b8;
}

.customer-sidebar,
.customer-topbar,
.account-section,
.account-metrics,
.account-metrics article {
  background: rgba(17, 16, 38, .94);
  border-color: var(--glass-line);
}

.customer-topbar {
  background: rgba(12, 12, 30, .97);
}

.account-metrics article {
  background: rgba(255, 255, 255, .055);
}

.installer-command,
.ticket-message,
.mfa-secret,
.mfa-recovery-grid code {
  background: rgba(5, 6, 20, .9);
}

.admin-shell.upgraded aside,
.admin-main,
.admin-topbar {
  background: rgba(15, 14, 34, .95);
  border-color: var(--glass-line);
}

.admin-topbar {
  background: rgba(10, 10, 27, .98);
}

.admin-stat-grid .stat,
.admin-grid .panel,
.admin-mini-form form,
.campaign-block,
.campaign-preview,
.status-list div,
.admin-help-metrics article,
.admin-help-inbox {
  background: rgba(31, 30, 58, .9);
  border-color: rgba(225, 228, 255, .2);
}

.beta-access-panel,
.beta-primary-panel,
.beta-actions-panel,
.beta-offer,
.beta-welcome aside,
.beta-workspace-bar,
.beta-consent-card,
.beta-feedback-form,
.beta-feedback-guide,
.beta-release-card,
.beta-preferences,
.beta-admin-report {
  background: rgba(24, 23, 50, .93);
  border-color: rgba(213, 219, 255, .25);
  box-shadow: 0 24px 70px rgba(4, 5, 18, .45), inset 0 1px rgba(255, 255, 255, .09);
}

.beta-access-panel input,
.beta-admin-grid input,
.beta-admin-grid select,
.beta-command,
.beta-feedback-form input,
.beta-feedback-form select,
.beta-feedback-form textarea {
  background: rgba(7, 8, 23, .9);
}

.help-portal-hero {
  background: linear-gradient(135deg, rgba(17, 16, 40, .97), rgba(28, 27, 59, .95));
  border-color: rgba(220, 225, 255, .24);
  box-shadow: 0 24px 70px rgba(3, 4, 18, .46), inset 0 1px rgba(255, 255, 255, .09);
}

.help-topic,
.help-request-card,
.help-history-card,
.help-signin-card,
.help-conversation {
  background: rgba(13, 13, 33, .94);
  border-color: rgba(225, 228, 255, .21);
}

.help-ticket-form input,
.help-ticket-form select,
.help-ticket-form textarea,
.help-reply-form textarea {
  background: rgba(5, 6, 20, .92);
  border-color: rgba(225, 228, 255, .25);
}

.help-portal-hero div > p:last-of-type,
.help-topic small,
.help-request-card > header p,
.help-signin-card p,
.help-form-footer > span,
.help-ticket-row small,
.admin-help-heading p,
.admin-help-metrics span,
.admin-help-metrics small {
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-nav.open nav,
  .customer-sidebar,
  .admin-shell.upgraded aside {
    background: rgba(14, 13, 33, .98);
  }
}

/* Mobile optimisation: shared behaviour for every website workspace. */
@media (max-width: 900px) {
  html {
    scroll-padding-top: 92px;
  }

  body {
    overflow-x: hidden;
  }

  .shell {
    width: min(100% - 28px, 1220px);
    padding-top: 14px;
  }

  .site-nav {
    top: 8px;
    gap: 10px;
    padding: 12px 14px;
  }

  .site-nav .brand {
    min-width: 0;
    order: 1;
  }

  .menu-button {
    align-items: center;
    display: inline-flex;
    flex: 0 0 44px;
    font-size: 22px;
    height: 44px;
    justify-content: center;
    order: 2;
    padding: 0;
  }

  .site-nav nav {
    order: 3;
  }

  .site-nav .nav-cta {
    order: 4;
  }

  .site-nav.open nav {
    border-radius: 8px;
    display: grid;
    gap: 4px;
    padding: 8px;
  }

  .site-nav.open nav a {
    align-items: center;
    border-radius: 7px;
    display: flex;
    min-height: 44px;
    padding: 10px 12px;
  }

  .site-nav.open .nav-cta {
    min-height: 44px;
    width: 100%;
  }

  .hero,
  .about-hero,
  .contact-page,
  .checkout-page,
  .split,
  .beta-gateway,
  .beta-welcome,
  .beta-consent-layout,
  .beta-feedback-layout,
  .help-portal-hero,
  .help-workspace {
    gap: 30px;
    grid-template-columns: minmax(0, 1fr);
  }

  .section-pad {
    padding: 46px 0;
  }

  .hero,
  .page-hero,
  .about-hero,
  .contact-page {
    min-height: 0;
  }

  .module-grid,
  .pricing-grid,
  .docs-grid,
  .about-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .actions,
  .admin-actions,
  .help-signin-actions,
  .release-row-actions {
    align-items: stretch;
  }

  .terminal-card pre,
  .code-window pre,
  .installer-command code,
  .beta-command code,
  .mfa-secret code,
  .release-integrity code {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    word-break: break-word;
  }

  .customer-sidebar,
  .admin-shell.upgraded aside {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .customer-sidebar nav,
  .admin-nav,
  .beta-workspace-nav {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
  }

  .customer-sidebar nav a,
  .admin-nav a,
  .beta-workspace-nav a {
    min-height: 44px;
    scroll-snap-align: start;
  }

  .customer-sidebar nav > span {
    display: none;
  }

  .customer-sidebar nav a[href="#billing"],
  .customer-sidebar nav a[href="#security"],
  .customer-sidebar nav a[href="/account#billing"],
  .customer-sidebar nav a[href="/account#security"] {
    display: flex;
  }

  .customer-content,
  .beta-customer-content {
    max-width: 100%;
    min-width: 0;
  }

  .customer-topbar,
  .admin-topbar,
  .customer-heading,
  .account-section > header,
  .beta-release-centre > header,
  .beta-feedback-centre > header,
  .help-ticket-header,
  .admin-help-heading,
  .admin-help-toolbar,
  .panel-title {
    gap: 12px;
  }

  .account-table,
  .admin-table {
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .account-table table,
  .admin-table table {
    min-width: 680px;
  }

  .account-table::after,
  .admin-table::after {
    color: var(--muted);
    content: "Swipe sideways to view more";
    display: block;
    font-size: 11px;
    padding: 8px 2px 2px;
  }

  .admin-table.compact table {
    min-width: 620px;
  }

  .admin-main {
    overflow: clip;
  }

  .admin-sidebar-footer {
    flex: 0 0 auto;
  }

  .admin-sidebar-footer form,
  .admin-sidebar-footer .btn {
    min-height: 44px;
  }

  .help-topic,
  .help-ticket-row,
  .admin-ticket-link {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --radius: 10px;
  }

  html {
    font-size: 16px;
  }

  .shell {
    width: min(100% - 20px, 1220px);
    padding-bottom: 28px;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section-pad {
    padding: 36px 0;
  }

  .hero h1,
  .page-hero h1,
  .about-hero h1,
  .contact-intro h1,
  .coming-soon-panel h1,
  .beta-gateway h1,
  .beta-welcome h1,
  .beta-consent-copy h1,
  .help-portal-hero h1 {
    font-size: clamp(38px, 12vw, 48px);
    line-height: 1;
  }

  h2,
  .legal-page h2,
  .help-topic-section h2,
  .beta-release-centre > header h2,
  .beta-feedback-centre > header h2,
  .beta-report-history > header h2,
  .beta-preferences h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero p,
  .page-hero p,
  .about-hero p,
  .about-copy p,
  .contact-intro > p:not(.terminal-eyebrow) {
    font-size: 16px;
  }

  .hero,
  .about-hero,
  .contact-page,
  .beta-gateway,
  .beta-consent-layout {
    padding-top: 34px;
  }

  .module-grid,
  .pricing-grid,
  .docs-grid,
  .about-pillars,
  .about-timeline,
  .beta-offer-grid,
  .beta-proof,
  .help-topic-grid,
  .help-service-bar,
  .admin-help-metrics,
  .account-metrics,
  .admin-stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .terminal-card pre {
    min-height: 250px;
    padding: 18px;
  }

  .panel,
  .price-card,
  .module-grid article,
  .docs-grid article,
  .waitlist,
  .footer,
  .about-snapshot,
  .about-pillars article,
  .about-build-panel,
  .coming-soon-panel,
  .maintenance-card,
  .login-card,
  .checkout-summary,
  .checkout-form,
  .contact-form-wrap,
  .account-section,
  .account-onboarding,
  .beta-access-panel,
  .beta-primary-panel,
  .beta-actions-panel,
  .beta-offer,
  .beta-consent-card,
  .beta-feedback-form,
  .beta-feedback-guide,
  .beta-release-card,
  .beta-preferences,
  .help-portal-hero,
  .help-request-card,
  .help-history-card,
  .help-signin-card,
  .help-conversation {
    padding: 20px;
  }

  .actions,
  .admin-actions,
  .help-signin-actions,
  .release-row-actions,
  .help-form-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .actions .btn,
  .admin-actions .btn,
  .help-signin-actions .btn,
  .release-row-actions .btn,
  .help-form-footer .btn,
  .contact-form .btn,
  .beta-actions-panel .btn,
  .beta-offer .btn {
    justify-content: center;
    margin-left: 0;
    min-height: 46px;
    width: 100%;
  }

  input,
  select,
  textarea,
  button {
    font-size: 16px;
  }

  input,
  select,
  button,
  .btn,
  .nav-cta {
    min-height: 44px;
  }

  .waitlist form,
  .footer-form div,
  .form-row,
  .field-pair,
  .redeem-row,
  .redeem-row > div,
  .campaign-grid,
  .admin-mini-form,
  .beta-feedback-form .field-pair,
  .beta-announcement-form .field-pair,
  .beta-admin-report .field-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-form button {
    width: 100%;
  }

  .customer-sidebar {
    padding: 10px;
  }

  .customer-brand {
    display: none;
  }

  .customer-sidebar nav {
    padding: 0;
  }

  .customer-sidebar nav a {
    padding: 9px 12px;
  }

  .customer-topbar {
    align-items: flex-start;
    padding: 11px 14px;
  }

  .customer-topbar strong {
    max-width: 52vw;
  }

  .customer-content {
    padding: 22px 10px 18px;
  }

  .customer-heading,
  .account-section > header,
  .account-onboarding > header,
  .onboarding-next,
  .beta-workspace-bar,
  .help-ticket-header,
  .admin-help-heading,
  .admin-help-toolbar,
  .panel-title,
  .status-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-metrics article + article {
    border-left: 0;
  }

  .account-section dl div {
    align-items: flex-start;
    gap: 4px;
    grid-template-columns: minmax(0, 1fr);
  }

  .account-section dd,
  .status-list strong {
    max-width: 100%;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .onboarding-steps li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .onboarding-steps li > a {
    grid-column: 2;
    justify-self: stretch;
    min-height: 44px;
    text-align: center;
  }

  .installer-command,
  .beta-command,
  .license-key-control {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .installer-command .btn,
  .beta-command .btn,
  .license-key-control .btn {
    width: 100%;
  }

  .admin-shell.upgraded aside {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 10px;
  }

  .admin-brand span,
  .admin-sidebar-footer > a {
    display: none;
  }

  .admin-sidebar-footer form,
  .admin-sidebar-footer .btn {
    display: block;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px;
  }

  .admin-topbar-actions {
    display: flex;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    width: 100%;
  }

  .admin-topbar-actions a {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .admin-hero,
  .admin-stat-grid,
  .admin-grid {
    padding-left: 10px;
    padding-right: 10px;
  }

  .admin-hero h1,
  .admin-help-heading h1 {
    font-size: 36px;
  }

  .admin-table table,
  .account-table table,
  .admin-table.compact table {
    min-width: 600px;
  }

  .help-portal {
    margin-top: 26px;
  }

  .help-portal-hero aside {
    max-width: none;
    width: 100%;
  }

  .help-service-bar {
    margin-left: 0;
    margin-right: 0;
  }

  .help-ticket-page {
    margin: 32px auto 48px;
    width: min(100% - 20px, 900px);
  }

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

  .help-ticket-row .status-badge {
    grid-column: 1;
  }
}

@media (max-width: 380px) {
  .shell {
    width: min(100% - 14px, 1220px);
  }

  .site-nav {
    padding: 10px;
  }

  .brand-mark {
    height: 28px;
    width: 28px;
  }

  .hero h1,
  .page-hero h1,
  .about-hero h1,
  .contact-intro h1,
  .coming-soon-panel h1,
  .beta-gateway h1,
  .beta-welcome h1,
  .beta-consent-copy h1,
  .help-portal-hero h1 {
    font-size: 36px;
  }

  .panel,
  .price-card,
  .module-grid article,
  .docs-grid article,
  .account-section,
  .account-onboarding,
  .help-portal-hero,
  .help-request-card,
  .help-history-card,
  .help-signin-card {
    padding: 16px;
  }
}

/* Public beta launch */
.hero-copy > .beta-label {
  margin-bottom: 18px;
}

.hero:has(.hero-copy > .beta-label) {
  min-height: 540px;
  padding-top: 48px;
}

.hero:has(.hero-copy > .beta-label) h1 {
  font-size: clamp(48px, 6vw, 76px);
  margin-bottom: 18px;
  margin-top: 16px;
}

.beta-launch-copy {
  border-left: 2px solid rgba(117, 229, 208, .55);
  margin-top: 20px;
  padding: 4px 0 4px 16px;
}

@media (max-width: 640px) {
  .hero:has(.hero-copy > .beta-label) {
    padding-top: 34px;
  }

  .hero:has(.hero-copy > .beta-label) h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .beta-launch-copy {
    margin-top: 16px;
    padding-left: 13px;
  }
}
