:root {
  --navy-950: #031017;
  --navy-900: #061923;
  --navy-850: #092333;
  --navy-800: #0d2f40;
  --panel: #102535;
  --line: #284254;
  --line-soft: #d8e1e6;
  --ink: #eff8ff;
  --text: #182c36;
  --muted: #97acba;
  --muted-dark: #5a6d78;
  --cyan: #18d6ee;
  --blue: #1268e8;
  --mint: #1fdc9e;
  --amber: #f2b34a;
  --danger: #ff5b5b;
  --white: #ffffff;
  --soft: #f3f7f8;
  --shadow: 0 18px 44px rgba(2, 12, 19, 0.24);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--navy-950);
  letter-spacing: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 12px 32px;
  color: var(--ink);
  background: rgba(3, 16, 23, 0.84);
  border-bottom: 1px solid rgba(90, 132, 150, 0.22);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  min-width: max-content;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.site-nav a,
.header-action,
.nav-toggle,
.button,
.plan-card button,
.showcase-controls button,
.admin-form select {
  border: 1px solid rgba(216, 229, 236, 0.2);
  border-radius: 8px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-nav a {
  padding: 10px 12px;
  color: #c9d9e2;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.header-action:hover,
.button:hover,
.plan-card button:hover,
.showcase-controls button:hover {
  transform: translateY(-1px);
  border-color: rgba(24, 214, 238, 0.7);
}

.header-action,
.nav-toggle {
  padding: 11px 16px;
  color: var(--ink);
  background: rgba(18, 40, 54, 0.86);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  cursor: pointer;
}

.hero {
  min-height: 86vh;
  color: var(--ink);
  background-image: url("assets/hero-screenjoin-suite.jpg");
  background-size: cover;
  background-position: center;
}

.hero-shade {
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 94px 0 72px;
  background:
    linear-gradient(90deg, rgba(3, 16, 23, 0.92) 0%, rgba(3, 16, 23, 0.76) 42%, rgba(3, 16, 23, 0.28) 100%),
    linear-gradient(0deg, rgba(3, 16, 23, 0.22), rgba(3, 16, 23, 0.1));
}

.hero-content {
  max-width: 760px;
  margin-left: max(24px, calc((100vw - 1180px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 72px;
  line-height: 0.95;
  font-weight: 900;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #c7d6df;
  font-size: 22px;
  line-height: 1.5;
}

.hero-actions,
.showcase-controls,
.footer-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
.plan-card button,
.showcase-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 900;
}

.hero-actions {
  margin-top: 32px;
}

.button-primary {
  color: #021116;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  border-color: transparent;
}

.button-ghost {
  color: var(--ink);
  background: rgba(7, 25, 36, 0.74);
}

.button-dark {
  color: var(--ink);
  background: var(--navy-850);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 660px;
  margin: 38px 0 0;
}

.hero-metrics div {
  padding: 16px;
  background: rgba(6, 25, 35, 0.74);
  border: 1px solid rgba(151, 172, 186, 0.24);
  border-radius: 8px;
}

.hero-metrics dt {
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: #a7bdc9;
  font-size: 14px;
}

.section {
  padding: 82px 0;
}

.section-light {
  background: var(--soft);
}

.section-dark {
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border-top: 1px solid rgba(151, 172, 186, 0.16);
  border-bottom: 1px solid rgba(151, 172, 186, 0.14);
}

.split,
.section-heading,
.product-intro,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

p {
  line-height: 1.65;
}

.rich-text p,
.product-intro p,
.contact-layout p {
  margin: 0 0 16px;
  color: var(--muted-dark);
  font-size: 18px;
}

.section-dark .product-intro p,
.section-dark .contact-layout p,
.heading-note {
  color: var(--muted);
}

.solution-grid,
.feature-row,
.pricing-grid,
.flow-grid,
.media-grid {
  display: grid;
  gap: 16px;
}

.solution-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 46px;
}

.solution-card,
.feature-row article,
.plan-card,
.flow-grid article,
.media-panel,
.showcase,
.wide-visual,
.contact-form {
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: var(--white);
  box-shadow: var(--shadow);
}

.solution-card {
  min-height: 220px;
  padding: 24px;
}

.solution-card span {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 10px;
  color: #075146;
  background: #e4fff7;
  border: 1px solid #9debd9;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.solution-card p,
.feature-row p,
.plan-card li,
.flow-grid p,
.media-panel p {
  color: var(--muted-dark);
}

.screenjoin-word {
  color: #d9e7ee;
}

.screenjoin-word span {
  color: var(--cyan);
}

.product-mark {
  width: 180px;
  justify-self: end;
  border-radius: 8px;
  border: 1px solid rgba(151, 172, 186, 0.16);
}

.feature-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
}

.feature-row article,
.plan-card {
  padding: 24px;
}

.section-dark .feature-row article,
.section-dark .plan-card {
  background: var(--panel);
  border-color: rgba(151, 172, 186, 0.22);
  box-shadow: none;
}

.section-dark .feature-row p,
.section-dark .plan-card li {
  color: #b4c6d1;
}

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

.media-panel {
  overflow: hidden;
}

.media-panel video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #02090d;
}

.media-panel img,
.slide video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #02090d;
}

.media-panel div {
  padding: 22px;
}

.media-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 9px;
  color: #075146;
  background: #e4fff7;
  border: 1px solid #9debd9;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.pdf-preview {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 28px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  font-weight: 900;
}

.showcase {
  margin-top: 28px;
  padding: 24px;
}

.showcase-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}

.showcase-controls button {
  color: var(--ink);
  background: var(--navy-850);
}

.slide {
  display: none;
  margin: 0;
}

.slide.is-active {
  display: block;
}

.slide img,
.wide-visual img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
}

.slide figcaption {
  margin-top: 12px;
  color: var(--muted-dark);
  font-weight: 700;
}

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

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.plan-card-featured {
  outline: 2px solid rgba(24, 214, 238, 0.55);
}

.plan-license {
  margin: 12px 0 0;
  color: var(--mint);
  font-size: 18px;
  font-weight: 900;
}

.plan-price {
  display: grid;
  gap: 4px;
  min-height: 74px;
  margin-top: 18px;
  padding: 14px;
  color: var(--ink);
  background: rgba(3, 16, 23, 0.32);
  border: 1px solid rgba(151, 172, 186, 0.2);
  border-radius: 8px;
}

.plan-promo {
  width: max-content;
  max-width: 100%;
  margin: 16px 0 0;
  padding: 7px 10px;
  color: #031017;
  background: var(--amber);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.plan-price small {
  color: #86a1b0;
  font-weight: 900;
  text-decoration: line-through;
}

.plan-price strong {
  color: var(--white);
  font-size: 20px;
  line-height: 1.15;
}

.plan-price span {
  color: #b4c6d1;
  font-weight: 800;
}

.plan-card ul {
  padding: 0;
  margin: 22px 0 26px;
  list-style: none;
}

.plan-card li {
  margin-bottom: 12px;
}

.plan-card button {
  margin-top: auto;
  color: #031017;
  background: var(--cyan);
}

.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.flow-grid article {
  padding: 24px;
}

.flow-grid span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #031017;
  background: var(--mint);
  border-radius: 8px;
  font-weight: 900;
}

.wide-visual {
  margin-top: 28px;
  padding: 10px;
}

.contact-layout {
  align-items: stretch;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--text);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: #f8fbfc;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.contact-form textarea {
  resize: vertical;
}

.form-feedback {
  min-height: 24px;
  margin: 0;
  color: #05745f;
  font-weight: 800;
}

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

.customer-form-page {
  width: min(980px, 100%);
  margin: 0 auto 56px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.customer-form button,
.customer-form .form-feedback,
.customer-form .customer-register-link,
.customer-form [data-token-mail] {
  grid-column: 1 / -1;
}

.customer-access-stack {
  display: grid;
  gap: 16px;
}

.customer-login-card,
.customer-account-card {
  padding: 24px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.customer-login-card h3,
.customer-account-card h3 {
  margin: 0;
}

.customer-register-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  color: var(--cyan);
  font-weight: 900;
  text-decoration: none;
}

.auth-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.auth-helper {
  margin: 16px 0 0;
  color: var(--muted-dark);
  font-weight: 800;
}

.auth-helper a {
  color: #05745f;
}

.mini-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

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

.mini-form input {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: #f8fbfc;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.customer-account-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

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

.account-detail-grid div {
  padding: 14px;
  background: #f8fbfc;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.account-detail-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.account-customer-info,
.account-warning {
  margin: 16px 0 0;
  color: var(--muted-dark);
}

.account-warning {
  padding: 12px 14px;
  color: #7a5200;
  background: #fff8e6;
  border: 1px solid #f6d886;
  border-radius: 8px;
  font-weight: 900;
}

.customer-login-note {
  margin: 0;
  padding: 16px;
  color: #b4c6d1;
  background: rgba(16, 37, 53, 0.82);
  border: 1px solid rgba(151, 172, 186, 0.22);
  border-radius: 8px;
}

.customer-portal-page {
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(24, 214, 238, 0.12), transparent 28%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.customer-portal-shell {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 82px;
}

.customer-portal-hero {
  max-width: 860px;
  margin-bottom: 26px;
}

.customer-portal-hero h1 {
  margin: 0;
  font-size: 54px;
  line-height: 1;
}

.customer-portal-hero p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.customer-portal-grid {
  display: grid;
  gap: 18px;
}

.customer-portal-card {
  color: var(--text);
}

.customer-portal-card h2 {
  font-size: 32px;
}

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

.customer-profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 20px 0 0;
}

.customer-profile-list div {
  padding: 14px;
  background: #f8fbfc;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.customer-profile-list dt {
  margin-bottom: 6px;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-profile-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

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

.download-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #f8fbfc;
}

.download-card h3,
.download-card p {
  margin: 0;
}

.portal-note {
  max-width: 780px;
  color: var(--muted-dark);
}

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

.portal-upgrade-card {
  min-height: 330px;
  color: var(--ink);
  background: var(--panel);
  border-color: rgba(151, 172, 186, 0.22);
  box-shadow: none;
}

.portal-upgrade-card li {
  color: #b4c6d1;
}

.site-footer {
  color: #b7ccd7;
  background: var(--navy-950);
  border-top: 1px solid rgba(151, 172, 186, 0.16);
}

.footer-content {
  justify-content: space-between;
  min-height: 76px;
}

.footer-content span {
  font-weight: 900;
}

.admin-page {
  color: var(--ink);
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.admin-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 82px;
}

.legal-shell {
  width: min(960px, calc(100% - 48px));
}

.legal-shell h1,
.legal-shell h2 {
  margin-top: 22px;
}

.admin-hero {
  display: grid;
  gap: 16px;
  max-width: 880px;
  margin-bottom: 28px;
}

.admin-hero h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1;
}

.admin-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}

.admin-card {
  padding: 24px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-card h2 {
  font-size: 32px;
}

.auth-card {
  max-width: 520px;
}

.admin-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: #f8fbfc;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.admin-form textarea {
  resize: vertical;
}

.admin-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.button-danger {
  color: var(--danger);
}

.admin-media-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.admin-media-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  background: #f8fbfc;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.admin-preview {
  overflow: hidden;
  min-height: 124px;
  border-radius: 8px;
  background: var(--navy-950);
}

.admin-preview video,
.admin-preview img {
  width: 100%;
  height: 124px;
  object-fit: cover;
}

.admin-preview a {
  display: grid;
  min-height: 124px;
  place-items: center;
  color: var(--ink);
  font-weight: 900;
}

.admin-media-body {
  display: grid;
  gap: 8px;
  align-content: start;
}

.admin-media-body h3,
.admin-media-body p {
  margin: 0;
}

.admin-media-meta,
.admin-empty {
  color: var(--muted-dark);
  font-size: 14px;
}

.admin-workspace-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}

.admin-grid > .admin-workspace-nav {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.admin-title-card {
  grid-column: 1 / -1;
}

.admin-site-card,
.admin-solution-card {
  grid-column: 1 / -1;
}

.admin-plan-card {
  grid-column: 1 / -1;
}

.admin-title-form,
.site-content-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-title-form button,
.admin-title-form .form-feedback,
.site-content-form button,
.site-content-form .form-feedback,
.form-wide {
  grid-column: 1 / -1;
}

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

.plan-editor,
.solution-editor {
  padding: 16px;
  background: #f8fbfc;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

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

.plan-editor-head h3 {
  margin: 0;
}

.plan-editor-head span {
  color: #075146;
  background: #e4fff7;
  border: 1px solid #9debd9;
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.plan-editor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.solution-editor-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.solution-editor-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(220px, 0.66fr);
  gap: 12px;
}

.solution-editor-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.solution-editor-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.admin-workspace-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(18, 40, 54, 0.86);
  border: 1px solid rgba(216, 229, 236, 0.2);
  border-radius: 8px;
  font-weight: 900;
}

.admin-workspace-nav a.is-active {
  color: #031017;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  border-color: transparent;
}

.user-grid {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
}

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

.user-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.user-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px;
  background: #f8fbfc;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.user-card h3,
.user-card p {
  margin: 0;
}

.user-card p {
  color: var(--muted-dark);
}

.user-actions {
  display: flex;
  gap: 8px;
  align-items: start;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.customer-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.customer-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #f8fbfc;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.customer-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.customer-summary h3,
.customer-summary p {
  margin: 0;
}

.customer-summary p {
  color: var(--muted-dark);
}

.customer-edit-form {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
}

.customer-edit-form button {
  min-height: 45px;
}

.status-pill {
  display: inline-flex;
  width: max-content;
  margin-top: 8px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.status-active {
  color: #075146;
  background: #e4fff7;
  border: 1px solid #9debd9;
}

.status-blocked {
  color: #9d2020;
  background: #fff0f0;
  border: 1px solid #ffc9c9;
}

.status-pending {
  color: #7a5200;
  background: #fff8e6;
  border: 1px solid #f6d886;
}

.confirmation-card {
  max-width: 620px;
}

.confirmation-card h1 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 42px;
  line-height: 1.05;
}

.confirmation-card > p {
  color: var(--muted-dark);
}

@media (max-width: 1100px) {
  .pricing-grid,
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .portal-upgrade-grid,
  .account-detail-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 920px) {
  .site-header {
    padding: 12px 20px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 8px;
    padding: 14px;
    background: rgba(5, 20, 29, 0.98);
    border: 1px solid rgba(151, 172, 186, 0.24);
    border-radius: 8px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .split,
  .section-heading,
  .product-intro,
  .contact-layout,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .product-mark {
    justify-self: start;
  }

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

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .hero,
  .hero-shade {
    min-height: 82vh;
  }

  .hero-content {
    margin-left: auto;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-metrics,
  .pricing-grid,
  .solution-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 32px;
  }

  .section {
    padding: 58px 0;
  }

  .showcase-top {
    display: grid;
  }

  .admin-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 38px;
  }

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

  .admin-media-card {
    grid-template-columns: 1fr;
  }

  .admin-title-form,
  .site-content-form,
  .solution-editor-grid,
  .account-detail-grid {
    grid-template-columns: 1fr;
  }

  .plan-editor-grid {
    grid-template-columns: 1fr;
  }

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

  .user-actions {
    justify-content: flex-start;
  }

  .customer-form,
  .customer-edit-form,
  .customer-profile-list,
  .portal-upgrade-grid,
  .account-detail-grid-wide,
  .auth-split {
    grid-template-columns: 1fr;
  }

  .customer-summary {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition: none !important;
  }
}
