/* REMVX — Inner page design system (enterprise polish) */

.page-hero {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -20%, var(--red-glow), transparent 58%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 15%, transparent 78%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .page-hero__inner { padding: 0 1.5rem; }
}

.page-hero--center .page-hero__inner {
  text-align: center;
}

.page-hero--center .page-hero__lead {
  margin-left: auto;
  margin-right: auto;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.25rem;
}

.page-hero__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--red-bright);
}

.page-hero--center .page-hero__eyebrow::before {
  display: none;
}

.page-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--white);
}

.page-hero__lead {
  margin-top: 1.25rem;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-hero__meta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.page-hero--center .page-hero__meta {
  justify-content: center;
}

@media (min-width: 1024px) {
  .page-hero--center:not(.page-hero--split) .page-hero__inner {
    text-align: center;
  }

  .page-hero--center:not(.page-hero--split) .page-hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero--center:not(.page-hero--split) .page-hero__meta {
    justify-content: center;
  }
}

.page-hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.page-hero--center .page-hero__actions {
  justify-content: center;
}

.page-content {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.page-content > * + * {
  margin-top: 1.1rem;
}

.page-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
}

.page-content p {
  color: var(--muted);
}

.page-content strong {
  color: var(--text);
  font-weight: 600;
}

.page-content ul,
.page-content ol {
  margin: 0.75rem 0 0;
  padding-left: 1.35rem;
  color: var(--muted);
}

.page-content li + li {
  margin-top: 0.45rem;
}

.page-content a {
  color: var(--red-bright);
  text-decoration: none;
  transition: color 0.15s;
}

.page-content a:hover {
  color: #fff;
}

.page-content section a.rounded-xl {
  display: block;
  color: inherit;
  text-decoration: none;
}

.page-content section a.rounded-xl strong {
  color: var(--white);
}

.page-content section a.rounded-xl:hover strong {
  color: var(--red-bright);
}

.page-shell {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .page-shell { padding: 0 1.5rem; }
}

.page-section {
  padding: 5rem 0;
}

.page-section--tight {
  padding: 3.5rem 0;
}

.page-section__head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.page-section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-section__title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-section__desc {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Status pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}

.status-pill--live {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
  color: #4ade80;
}

.status-pill--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.status-pill--soon {
  border-color: var(--border);
  color: var(--muted-2);
}

.status-pill--accent {
  border-color: var(--red-border);
  background: rgba(185, 28, 28, 0.12);
  color: #fca5a5;
}

/* Product Components catalog */
.prod-components {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 48rem;
  margin: 0 auto;
}

.prod-component {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(12, 12, 12, 0.95) 0%, var(--bg-elevated) 100%);
  transition: border-color 0.2s ease;
}

.prod-component:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.prod-component__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(239, 68, 68, 0.06);
  color: #fca5a5;
  flex-shrink: 0;
}

.prod-component__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.prod-component__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.prod-component__head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fafafa;
}

.prod-component__ver {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #52525b;
  flex-shrink: 0;
}

.prod-component__ver--rollout {
  color: #71717a;
}

.prod-component__sub {
  margin: 0.1rem 0 0.4rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6875rem;
  color: #71717a;
}

.prod-component__body > p:last-child {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #a1a1aa;
}

.prod-components__docs {
  margin: 2rem auto 0;
  max-width: 48rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #52525b;
}

.prod-components__docs a {
  color: #a1a1aa;
  text-decoration: underline;
  text-decoration-color: #3f3f46;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.prod-components__docs a:hover {
  color: #fafafa;
}

/* Pro cards */
.pro-card {
  position: relative;
  background: linear-gradient(165deg, rgba(12, 12, 12, 0.95) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.pro-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.45), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pro-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}

.pro-card:hover::after {
  opacity: 1;
}

.pro-card--featured {
  border-color: rgba(239, 68, 68, 0.25);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(185, 28, 28, 0.12), transparent 55%),
    linear-gradient(165deg, #0c0c0c 0%, var(--bg-elevated) 100%);
}

.pro-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.14) 0%, rgba(10, 10, 10, 0.9) 100%);
  border: 1px solid rgba(239, 68, 68, 0.32);
  margin-bottom: 1.25rem;
  color: #f87171;
  box-shadow: 0 4px 24px rgba(239, 68, 68, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
}

.pro-card__icon svg,
.pro-card__icon i {
  width: 1.35rem;
  height: 1.35rem;
  stroke-width: 2;
}

.pro-card__icon--logo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("../images/remvx-mark.svg") center / 1.1rem no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.pro-card__tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.5rem;
}

.pro-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.625rem;
}

.pro-card__body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}

.pro-card__footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* Bento grid */
.bento-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .bento-grid .pro-card--span-2 {
    grid-column: span 2;
  }
  .bento-grid .pro-card--span-row-2 {
    grid-row: span 2;
  }
}

/* Contact */
.contact-page .page-hero--center .page-hero__inner {
  text-align: center;
}

.contact-page .page-hero--center .page-hero__meta {
  justify-content: center;
}

.contact-layout {
  display: grid;
  gap: 2rem;
  max-width: 58rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.contact-layout__actions {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

@media (min-width: 640px) {
  .contact-layout__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .contact-layout__actions .action-card:first-child {
    grid-column: 1 / -1;
  }
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
}

.contact-panel__header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.06) 0%, transparent 100%);
}

.contact-row {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(34, 34, 34, 0.8);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-bright);
}

.contact-row__label {
  font-size: 0.75rem;
  color: var(--muted-2);
  margin-bottom: 0.25rem;
}

.contact-row__value {
  font-size: 0.9375rem;
  color: var(--white);
}

.contact-row__value a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.875rem;
  color: var(--text);
  transition: color 0.2s;
}

.contact-row__value a:hover {
  color: var(--red-bright);
}

.action-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: border-color 0.2s, background 0.2s;
  height: 100%;
}

.action-card:hover {
  border-color: rgba(239, 68, 68, 0.3);
  background: #0a0a0a;
}

.action-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  color: var(--red-bright);
}

.action-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.action-card__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
  margin-bottom: 1.25rem;
}

/* Docs layout */
.docs-layout {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0 5rem;
}

@media (min-width: 1024px) {
  .docs-layout {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.docs-nav {
  position: sticky;
  top: 6.5rem;
  align-self: start;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.docs-nav__group {
  margin-bottom: 1.25rem;
}

.docs-nav__group:last-child {
  margin-bottom: 0;
}

.docs-nav__heading {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}

.docs-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}

.docs-nav a:hover,
.docs-nav a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.docs-nav a.is-active {
  color: var(--red-bright);
}

.doc-block {
  scroll-margin-top: 7rem;
}

.doc-block:not(.doc-card) {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.doc-block:not(.doc-card):last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.doc-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  flex-wrap: wrap;
}

.doc-block h2 .doc-block__icon {
  margin-bottom: 0;
}

.doc-block p,
.doc-block li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

.doc-code {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: #0c0c0c;
  border: 1px solid var(--border);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: #d4d4d8;
  overflow-x: auto;
}

/* Steps */
.step-flow {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .step-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.step-item {
  position: relative;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.step-item__num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--red-bright);
  margin-bottom: 0.75rem;
}

.step-item__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.step-item__desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Service grid */
.service-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.6);
  font-size: 0.875rem;
  color: #d4d4d8;
  transition: border-color 0.2s;
}

.service-item:hover {
  border-color: rgba(239, 68, 68, 0.25);
}

.service-item svg {
  flex-shrink: 0;
  color: var(--red-bright);
  margin-top: 0.125rem;
}

/* CTA band */
.cta-band {
  margin-top: 4rem;
  padding: 3rem 2rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(185, 28, 28, 0.15), transparent 60%),
    var(--surface);
  text-align: center;
}

.cta-band__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band__desc {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Showcase frame */
.showcase-frame {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: #0a0a0a;
  padding: 0.5rem;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.showcase-frame img {
  border-radius: 0.625rem;
  width: 100%;
  display: block;
}

/* About facts */
.fact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fact-cell {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.fact-cell__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.5rem;
}

.fact-cell__value {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

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

.fact-cell__value a:hover {
  color: var(--red-bright);
}

/* Security matrix */
.sec-matrix {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .sec-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sec-matrix {
    grid-template-columns: repeat(3, 1fr);
  }
  .sec-matrix .pro-card--wide {
    grid-column: span 2;
  }
}

/* ─── Quick Support (Geek Squad–style, free for new customers) ─── */

.qs-page {
  background: #050505;
}

.qs-hero {
  position: relative;
  padding: 7.5rem 0 4rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.qs-hero--split {
  padding-top: 6.5rem;
  padding-bottom: 3.5rem;
}

.qs-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .qs-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
    gap: 3rem;
  }
}

.qs-hero__copy {
  text-align: center;
}

@media (min-width: 1024px) {
  .qs-hero__copy {
    text-align: left;
  }
  .qs-hero__copy .qs-hero__actions {
    justify-content: flex-start;
  }
}

.qs-hero__lockup {
  display: block;
  margin: 0 auto 1.25rem;
  width: min(100%, 13rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.15));
}

@media (min-width: 640px) {
  .qs-hero__lockup {
    width: min(100%, 15rem);
  }
}

@media (min-width: 1024px) {
  .qs-hero__lockup {
    margin-left: 0;
    width: min(100%, 16rem);
  }
}

.qs-hero__visual {
  max-width: 400px;
  margin: 0 auto;
}

.qs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(34, 197, 94, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 20%, var(--red-glow), transparent 50%);
  pointer-events: none;
}

.qs-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}

@media (min-width: 640px) {
  .qs-hero__inner { padding: 0 1.5rem; }
}

.qs-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.qs-hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}

.qs-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.qs-hero__subtitle {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 0;
}

@media (min-width: 1024px) {
  .qs-hero__subtitle {
    margin-left: 0;
    margin-right: 0;
  }
}

.qs-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  margin-bottom: 2rem;
}

.qs-flow__step {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
}

.qs-flow__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-bright);
  flex-shrink: 0;
}

.qs-flow__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.qs-flow__arrow {
  color: var(--muted-2);
  padding: 0 0.25rem;
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .qs-flow__arrow { display: none; }
  .qs-flow { flex-direction: column; align-items: stretch; }
  .qs-flow__step { justify-content: flex-start; }
}

.qs-hero__terms {
  font-size: 0.6875rem;
  color: var(--muted-2);
  margin-top: 1rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.qs-hero__terms a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.qs-hero__terms a:hover {
  color: var(--white);
}

.qs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.qs-btn-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.6rem;
  background: #ef4444;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 2px 12px rgba(220, 38, 38, 0.3);
}

.qs-btn-chat img {
  opacity: 0.95;
}

.qs-btn-chat:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

.qs-btn-chat:active {
  transform: translateY(0);
}

/* Request service — split layout */
.rs-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .rs-layout {
    grid-template-columns: 17rem minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.rs-sidebar {
  position: sticky;
  top: 6.5rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #0c0c0c, #080808);
}

.rs-sidebar__visual {
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #222;
  background: #060606;
}

.rs-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rs-steps__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: #71717a;
}

.rs-steps__item span {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.35rem;
  border: 1px solid #333;
  display: grid;
  place-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.625rem;
  flex-shrink: 0;
}

.rs-steps__item.is-active {
  color: #fff;
}

.rs-steps__item.is-active span {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}

.rs-sidebar__note {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #52525b;
}

.rs-form-panel .contact-panel,
.rs-form-panel.contact-panel {
  margin: 0;
}

/* Request service — compact form */
.rs-compact .rs-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rs-form__section {
  padding-bottom: 0.25rem;
}

.rs-form__title {
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #222;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.rs-form__grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .rs-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.rs-field--full {
  grid-column: 1 / -1;
}

.rs-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.rs-input,
.rs-select,
.rs-textarea {
  width: 100%;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  font-size: 0.875rem;
  border-radius: 0.65rem;
  padding: 0.55rem 0.75rem;
  transition: border-color 0.15s;
}

.rs-input:focus,
.rs-select:focus,
.rs-textarea:focus {
  outline: none;
  border-color: #ef4444;
}

.rs-input--invalid {
  border-color: #f87171;
}

.rs-textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.rs-select {
  appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
}

.rs-hint {
  margin: 0.35rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #71717a;
}

.rs-hint--warn {
  color: #a8a29e;
}

.rs-hint--ok {
  color: #4ade80;
}

.rs-hint--bad {
  color: #f87171;
}

.rs-hint--muted {
  color: #71717a;
}

.rs-input--matched {
  border-color: rgba(74, 222, 128, 0.45);
  background: #0d1110;
}

.rs-country-select {
  margin-bottom: 0.35rem;
}

.rs-country-search[hidden] {
  display: none !important;
}

.rs-country-select.rs-input--matched {
  border-color: rgba(74, 222, 128, 0.45);
  background-color: #0d1110;
}

.rs-label--sub {
  margin-top: 0.35rem;
  font-size: 0.625rem;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rs-input--search {
  font-size: 0.8125rem;
  padding: 0.45rem 0.65rem;
}

.rs-country-wrap {
  position: relative;
}

.rs-country-suggest {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  max-height: 11rem;
  overflow-y: auto;
  border-radius: 0.65rem;
  border: 1px solid #333;
  background: #0c0c0c;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.rs-country-suggest__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  cursor: pointer;
  font-size: 0.8125rem;
  color: #e4e4e7;
}

.rs-country-suggest__item:hover,
.rs-country-suggest__item.is-active {
  background: rgba(239, 68, 68, 0.12);
  color: #fff;
}

.rs-country-suggest__meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6875rem;
  color: #71717a;
  white-space: nowrap;
}

.rs-field--phone .rs-phone {
  display: flex;
  gap: 0.45rem;
  align-items: stretch;
}

.rs-phone {
  display: flex;
  gap: 0.45rem;
  align-items: stretch;
}

.rs-phone__dial {
  width: auto;
  min-width: 6.75rem;
  max-width: 42%;
  flex-shrink: 0;
  padding: 0.55rem 1.75rem 0.55rem 0.55rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8125rem;
  line-height: 1.2;
  color: #fff;
  background-color: #111;
  border: 1px solid #333;
  border-radius: 0.65rem;
  cursor: pointer;
}

.rs-phone__dial option {
  color: #fff;
  background: #111;
}

.rs-phone__dial option[value=""] {
  color: #71717a;
}

.rs-phone__dial.rs-input--invalid {
  border-color: #f87171;
}

.rs-phone__dial:focus {
  outline: none;
  border-color: #ef4444;
}

.rs-phone__dial--synced {
  border-color: rgba(74, 222, 128, 0.45);
  color: #4ade80;
  transition: border-color 0.3s, color 0.3s;
}

.rs-phone__number {
  flex: 1;
  min-width: 0;
}

.rs-consent {
  margin-top: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid #222;
  background: #0a0a0a;
}

.rs-consent__label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  cursor: pointer;
}

.rs-consent__check {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: #ef4444;
}

.rs-consent__text {
  font-size: 0.75rem;
  line-height: 1.55;
  color: #a1a1aa;
}

.rs-consent__text a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #333;
}

.rs-consent__text a:hover {
  color: #f87171;
}

.rs-form__actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.25rem;
}

.rs-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 0.65rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.2);
}

.rs-submit:hover:not(:disabled) {
  background: #ef4444;
}

.rs-submit:active:not(:disabled) {
  transform: translateY(1px);
}

.rs-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.rs-submit__spin {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rs-spin 0.7s linear infinite;
}

@keyframes rs-spin {
  to { transform: rotate(360deg); }
}

.rs-success-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #050505;
  transition: opacity 0.4s;
}

.rs-success-overlay__icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.rs-success-overlay__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.rs-success-overlay__ref {
  margin: 0 0 0.75rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8125rem;
  color: #fbbf24;
  letter-spacing: 0.04em;
}

.rs-success-overlay__body {
  margin: 0 0 1.25rem;
  max-width: 26rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #a1a1aa;
}

.rs-success-overlay__btn {
  display: inline-flex;
  padding: 0.55rem 1.1rem;
  border-radius: 0.65rem;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.15s;
}

.rs-success-overlay__btn:hover {
  background: #1a1a1a;
}

.req-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.qs-btn-learn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 0.6rem;
  background: transparent;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #2a2a2a;
  transition: border-color 0.15s, background 0.15s;
}

.qs-btn-learn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.qs-section {
  padding: 4.5rem 0;
}

.qs-section--alt {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.qs-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .qs-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .qs-split--reverse .qs-split__visual { order: 2; }
  .qs-split--reverse .qs-split__copy { order: 1; }
}

.qs-split__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.qs-split__lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 2rem;
}

.qs-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.qs-stat {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.qs-stat__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.qs-stat__value--free {
  color: #4ade80;
}

.qs-stat__label {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.qs-agent-card {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(239, 68, 68, 0.12), transparent 60%),
    linear-gradient(165deg, #111 0%, #0a0a0a 100%);
  padding: 2.5rem 2rem;
  text-align: center;
  overflow: hidden;
}

.qs-agent-card__avatar {
  width: 7rem;
  height: 7rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border: 2px solid rgba(239, 68, 68, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
}

.qs-agent-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.qs-agent-card__role {
  font-size: 0.75rem;
  color: var(--muted-2);
  margin-top: 0.25rem;
}

.qs-agent-card__badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qs-price-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .qs-price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .qs-price-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.qs-price-card {
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.qs-price-card:hover {
  border-color: rgba(239, 68, 68, 0.25);
  transform: translateY(-2px);
}

.qs-price-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-bright);
  margin-bottom: 1rem;
}

.qs-price-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.qs-price-card__desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1.25rem;
}

.qs-price-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.qs-price-card__amount {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.75rem;
  font-weight: 700;
  color: #4ade80;
}

.qs-price-card__strike {
  font-size: 0.875rem;
  color: var(--muted-2);
  text-decoration: line-through;
}

.qs-price-card__note {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4ade80;
}

.qs-category-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .qs-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .qs-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.qs-category {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.5);
  font-size: 0.875rem;
  color: #d4d4d8;
  transition: border-color 0.2s, background 0.2s;
}

.qs-category:hover {
  border-color: rgba(239, 68, 68, 0.25);
  background: #0a0a0a;
}

.qs-category svg {
  flex-shrink: 0;
  color: var(--red-bright);
}

.qs-category__free {
  margin-left: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #4ade80;
}

.qs-trust-band {
  padding: 3rem 2rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background:
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(34, 197, 94, 0.08), transparent 60%),
    var(--surface);
  text-align: center;
}

.qs-trust-band__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.qs-trust-band__desc {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}

.qs-new-banner {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px dashed rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.qs-new-banner__text {
  flex: 1;
  min-width: 12rem;
  font-size: 0.9375rem;
  color: #d4d4d8;
  line-height: 1.55;
}

.qs-new-banner__text strong {
  color: #4ade80;
}

.qs-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.qs-section-head__logo {
  display: block;
  margin: 0 auto 1.5rem;
  width: min(100%, 12rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.14));
}

@media (min-width: 640px) {
  .qs-section-head__logo {
    width: min(100%, 15rem);
    margin-bottom: 1.75rem;
  }
}

.qs-section-head__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.qs-section-head__desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── Inner pages — mobile polish (all data-page routes) ─── */
@media (max-width: 639px) {
  .page-hero {
    padding: 5.75rem 0 2.75rem;
  }

  .page-hero__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-hero__title {
    font-size: clamp(1.85rem, 8.5vw, 2.5rem);
    line-height: 1.12;
  }

  .page-hero__lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .page-hero__meta {
    gap: 0.55rem;
  }

  .page-hero--center .page-hero__meta {
    justify-content: center;
  }

  .page-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero__actions .btn-primary,
  .page-hero__actions .btn-outline {
    justify-content: center;
    width: 100%;
  }

  .page-content {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .page-content h2 {
    font-size: 1.25rem;
  }

  .status-pill {
    max-width: 100%;
    justify-content: center;
    text-align: center;
    word-break: break-word;
  }

  .page-section {
    padding: 2.75rem 0;
  }

  .page-section--tight {
    padding: 2.25rem 0;
  }

  .page-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact-panel__header {
    padding: 1.35rem 1.25rem 1rem;
  }

  .contact-row {
    gap: 0.85rem;
    padding: 1rem 0;
  }

  .contact-row__icon {
    width: 2.15rem;
    height: 2.15rem;
  }

  .action-card {
    padding: 1.35rem;
  }

  .page-toolbar__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .pro-card,
  .cta-band {
    padding: 1.35rem;
  }

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

@media (max-width: 480px) {
  .page-hero__meta {
    flex-direction: column;
    align-items: stretch;
  }

  .page-hero--center .page-hero__meta {
    align-items: center;
  }
}
