/* Blackbox RMS public website: silver / graphite / eggshell design system */

:root {
  --bg: #d9d7d0;
  --bg-elevated: #efede7;
  --panel: #f5f2ea;
  --panel-soft: #e4e1da;
  --panel-strong: #17191c;
  --line: rgba(28, 31, 34, 0.2);
  --line-strong: rgba(28, 31, 34, 0.42);
  --text: #1a1c1f;
  --headline: #101215;
  --muted: #5e6266;
  --muted-strong: #34383c;
  --blue: #5f6d76;
  --blue-deep: #343e45;
  --cyan: #74838b;
  --amber: #a77c2e;
  --price-gold: #a87816;
  --green: #50675d;
  --violet: #716d78;
  --danger: #944b49;
  --radius: 2px;
  --shadow: 0 26px 70px rgba(25, 28, 31, 0.16);
}

html {
  background: #d9d7d0;
}

body {
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.14)),
    #d9d7d0;
}

body::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 300px),
    repeating-linear-gradient(90deg, rgba(28, 31, 34, 0.018) 0, rgba(28, 31, 34, 0.018) 1px, transparent 1px, transparent 6px);
}

* {
  border-radius: 2px !important;
}

.button,
.site-nav a,
.menu-toggle,
.social-icon-link,
.image-lightbox-trigger,
button,
input,
select,
textarea {
  border-radius: 3px !important;
}

.site-shell {
  width: min(1440px, calc(100% - 44px));
  padding-top: 14px;
}

.site-header {
  top: 10px;
  min-height: 70px;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(19, 21, 24, 0.96);
  box-shadow: 0 16px 44px rgba(20, 22, 25, 0.22);
  backdrop-filter: blur(18px) saturate(85%);
}

.brand img {
  border-color: rgba(255, 255, 255, 0.18);
}

.brand strong,
.site-header .menu-toggle {
  color: #f4f1e9;
}

.brand small,
.site-header .site-nav,
.site-header .site-nav a {
  color: #b8bab9;
}

.site-header .site-nav a:hover {
  color: #fffdf7;
  background: rgba(255, 255, 255, 0.07);
}

.site-header .site-nav a[aria-current="page"] {
  color: #fffdf7;
  background: #383d41;
  box-shadow: inset 0 -2px 0 #c9c5ba;
}

.menu-toggle {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

main {
  gap: 26px;
}

.hero,
.page-hero,
.compare-page .compare-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #f5f2eb;
  background:
    linear-gradient(108deg, rgba(255, 255, 255, 0.045), transparent 34%),
    linear-gradient(145deg, #222528 0%, #15171a 56%, #24282b 100%);
  box-shadow: 0 28px 70px rgba(30, 32, 35, 0.22);
}

.hero::after,
.page-hero::after,
.compare-page .compare-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 7px);
}

.hero {
  min-height: auto;
  margin-top: 26px;
  padding: 64px 60px 54px;
  gap: 34px;
}

.hero-copy {
  width: min(100%, 1160px);
}

.eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.compare-hero .eyebrow {
  color: #c8c4b9;
}

.hero h1,
.page-hero h1,
.compare-hero h1,
.hero .hero-lede {
  color: #fbf8f0;
}

.hero-copy h1 {
  max-width: 1050px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 5.7vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 950px;
  font-size: clamp(1.35rem, 2.35vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero .hero-text,
.page-hero .hero-text,
.compare-hero .hero-text {
  color: #c5c6c3;
}

.product-stage {
  width: min(100%, 1210px);
  border-color: rgba(255, 255, 255, 0.2);
  background: #0d0f12;
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.52), 0 0 0 8px rgba(255, 255, 255, 0.025);
}

.stage-bar {
  color: #aaaead;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: #24272b;
}

.stage-bar strong {
  color: #d9d8d2;
}

.stage-bar .windows-icon,
.trust-icon,
.windows-icon {
  color: #c5c2b9;
  fill: #c5c2b9;
  stroke: #c5c2b9;
}

.hero-lower .button,
.page-hero .button,
.compare-hero .button {
  border-color: rgba(255, 255, 255, 0.24);
  color: #f8f5ed;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.hero-lower .button:hover,
.page-hero .button:hover,
.compare-hero .button:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

.trust-strip-icons span {
  color: #e9e6de;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.proof-row {
  gap: 1px;
  margin-top: 0;
  border: 1px solid var(--line);
  background: #b9b7b0;
}

.proof-row article {
  border: 0;
  background: #efede7;
}

.proof-row strong,
.product-card h3,
.shop-card h3,
.feature-grid h3,
.delivery-card h3,
.support-copy h2,
.support-panel h3,
.videos-library h2,
.section-heading h1,
.section-heading h2,
.platform-intro h2,
.page-intro h1,
.split-copy h2,
.pricing-preview h2,
.cta-band h2,
.page-copy h1 {
  color: var(--headline);
}

.proof-row span,
.platform-intro p,
.section-heading p,
.split-copy p,
.product-card p,
.product-card li,
.feature-grid p,
.shop-card p,
.shop-card li,
.delivery-card li,
.faq p,
.support-copy p,
.support-panel p,
.videos-library p,
.page-intro .hero-text,
.pricing-preview p,
.cta-band p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.section-tag,
.card-kicker,
.price-label {
  color: #70777a;
}

.platform-intro,
.page-intro {
  padding-top: 72px;
}

.platform-intro h2,
.page-intro h1,
.section-heading h2,
.split-copy h2,
.pricing-preview h2,
.cta-band h2 {
  letter-spacing: 0;
}

.product-card,
.feature-grid article,
.gallery-card,
.shop-card,
.delivery-card,
.faq details,
.support-panel,
.videos-library,
.videos-featured,
.pricing-mini-card,
.legal-page,
.detail-card {
  border-color: var(--line);
  background: #f4f1e9;
  box-shadow: 0 14px 36px rgba(28, 31, 34, 0.06);
}

.product-card {
  padding: 34px;
}

.product-card::before,
.shop-card::before {
  border-top-color: rgba(23, 25, 28, 0.45);
}

.product-screenshot,
.shop-preview,
.page-hero-shot,
.screen-strip img,
.gallery-card img {
  border-color: rgba(255, 255, 255, 0.16);
  background: #111316;
  box-shadow: 0 22px 55px rgba(21, 23, 26, 0.2);
}

.product-screenshot,
.shop-preview,
.page-hero-shot,
.gallery-card .image-lightbox-trigger,
.screen-strip {
  overflow: hidden;
  background: #111316;
}

.product-screenshot img,
.shop-preview img,
.page-hero-shot img,
.screen-strip img,
.gallery-card img,
.compare-hero-media img,
.product-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  background: #111316;
}

.gallery-card .image-lightbox-trigger,
.shop-preview .image-lightbox-trigger {
  display: flex;
  aspect-ratio: 16 / 10;
  align-items: center;
  justify-content: center;
}

.inline-link,
.pricing-mini-card em,
.competitor-source,
.support-email,
.support-social-link {
  color: #363e43;
}

.inline-link::after {
  color: #7b6750;
}

.split-panel,
.pricing-preview,
.cta-band,
.support,
.delivery {
  border-color: var(--line);
  padding: 38px;
  background: rgba(245, 242, 234, 0.76);
  box-shadow: 0 14px 40px rgba(28, 31, 34, 0.055);
}

.feature-grid {
  gap: 1px;
  border: 1px solid var(--line);
  background: #bbb8b0;
}

.feature-grid article {
  border: 0;
  box-shadow: none;
}

.screen-band,
.product-gallery {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 54px 36px;
  color: #f2efe7;
  background: #1a1d20;
}

.screen-band .section-tag,
.product-gallery .section-tag {
  color: #aaa69d;
}

.screen-band .section-heading h2,
.product-gallery .section-heading h2 {
  color: #faf7ef;
}

.screen-band .section-heading p,
.product-gallery .section-heading p {
  color: #b9bbb8;
}

.screen-strip,
.gallery-grid {
  gap: 16px;
}

.gallery-card {
  background: #25282b;
  border-color: rgba(255, 255, 255, 0.14);
}

.gallery-card strong {
  color: #f7f4ec;
}

.gallery-card span {
  color: #b9bbb8;
}

.pricing-preview {
  padding-block: 54px;
}

.pricing-mini-grid {
  width: min(100%, 1120px);
  gap: 1px;
  border: 1px solid var(--line);
  background: #aaa8a2;
}

.pricing-mini-card {
  display: grid;
  grid-template-rows: 3.2rem 3.4rem 1.5rem;
  min-height: 166px;
  padding: 20px 16px;
  border: 0;
  align-items: center;
  justify-items: center;
  background: #eeece5;
  box-shadow: none;
}

.pricing-mini-grid .pricing-mini-card > span {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
}

.pricing-mini-card strong {
  display: flex;
  min-height: 3.4rem;
  margin: 0;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
}

.pricing-mini-card strong small {
  display: inline-block;
  margin: 0 0 0 2px;
  font-size: 0.36em;
}

.pricing-mini-card em {
  align-self: start;
}

.pricing-mini-card:hover,
.pricing-mini-card:focus-visible {
  border-color: transparent;
  background: #e0ddd5;
}

.pricing-mini-grid span,
.price span {
  color: #565b5e;
}

[data-product-price],
.price,
.price span,
.yearly-price,
.site-price {
  color: #a87816 !important;
  text-shadow: none;
}

.button {
  border-color: #32373b;
  color: #f8f5ed;
  background: #25292c;
  box-shadow: none;
}

.button:hover {
  color: #ffffff;
  border-color: #111315;
  background: #111315;
}

.button-primary {
  border-color: #202427;
  color: #fbf8f0;
  background: #25292c;
  box-shadow: 0 12px 28px rgba(20, 22, 24, 0.14);
}

.button-secondary {
  border-color: #737a78;
  color: #222629;
  background: #d6d6d0;
}

.button-secondary:hover {
  color: #111315;
  border-color: #4a504f;
  background: #c6c8c3;
}

.button-ghost {
  border-color: #8b8e8c;
  color: #33383b;
  background: transparent;
}

.page-hero {
  margin-top: 26px;
  padding: 52px;
}

.page-hero .page-copy,
.page-hero .hero-copy {
  position: relative;
  z-index: 1;
}

.page-hero .hero-actions {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  max-width: 520px;
}

.page-hero .page-copy h1,
.page-hero .hero-copy h1 {
  color: #faf7ef;
}

.page-hero-shot {
  position: relative;
  z-index: 1;
}

.page-hero-shot img {
  aspect-ratio: 16 / 9;
}

.shop-note {
  border-color: var(--line);
  background: #efede7;
}

.shop-note strong {
  color: #17191c;
}

.shop-note span {
  color: #5f6366;
}

.shop-grid {
  gap: 14px;
}

.shop-card {
  padding: 28px 22px;
}

.shop-card h3 {
  display: flex;
  min-height: 3.25rem;
  margin: 0;
  align-items: center;
  justify-content: center;
}

.shop-card .price-stack {
  display: grid;
  min-height: 7.2rem;
  margin: 0;
  align-content: center;
  justify-items: center;
}

.shop-card .price {
  display: flex;
  min-height: 3.7rem;
  margin: 0;
  align-items: baseline;
  justify-content: center;
}

.shop-fit-strip {
  border-color: rgba(43, 48, 51, 0.23);
  color: #353b3e;
  background: #dfddd6;
}

.yearly-price span {
  border-color: #727c76;
  color: #405046;
  background: #dce1dc;
}

.shop-card:nth-child(3) {
  border-color: #3c4145;
  color: #f5f2ea;
  background: #24282b;
  box-shadow: 0 24px 58px rgba(23, 25, 28, 0.22);
}

.shop-card:nth-child(3) h3,
.shop-card:nth-child(3) .price-label {
  color: #f8f5ed;
}

.shop-card:nth-child(3) p,
.shop-card:nth-child(3) li {
  color: #c6c8c5;
}

.shop-card:nth-child(3) .shop-fit-strip {
  border-color: rgba(255, 255, 255, 0.18);
  color: #efede6;
  background: rgba(255, 255, 255, 0.075);
}

.shop-card:nth-child(3) [data-product-price],
.shop-card:nth-child(3) .price,
.shop-card:nth-child(3) .yearly-price {
  color: var(--price-gold) !important;
}

.coming-soon-sticker {
  border-color: #9a7f4e;
  color: #23211d;
  background: #d9caa7;
  box-shadow: none;
}

.purchase-band,
.shop-support-note {
  border-color: var(--line);
  background: #eeece5;
}

.delivery-card {
  min-height: 100%;
}

.support-email,
.support-social-link {
  border-color: var(--line);
  background: #e7e4dd;
}

.support-email strong,
.support-social-link strong,
.faq summary,
.legal-page h1,
.legal-page h2 {
  color: #17191c;
}

.videos-featured,
.videos-library,
.video-library-card {
  border-color: var(--line);
  background: #f4f1e9;
}

.videos-meta h2,
.video-library-card h3 {
  color: #15171a;
}

.video-embed-shell,
.video-library-thumb {
  border-color: #6f7375;
  box-shadow: 0 22px 50px rgba(22, 24, 26, 0.18);
}

.trustpilot-review a {
  border-color: #a4aaa4;
  background: #e5e8e3;
  box-shadow: none;
}

.trustpilot-review a:hover,
.trustpilot-review a:focus-visible {
  border-color: #727a74;
  background: #dce1dc;
}

.trustpilot-word,
.trustpilot-copy {
  color: #1f2521;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 156px;
  align-items: center;
  margin-top: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
  color: #b4b6b4;
  background: #191c1f;
}

.site-footer .footer-links {
  align-self: center;
  justify-content: center;
}

.royalty-guard-section {
  align-items: center;
  border-color: rgba(168, 120, 22, 0.36);
  background:
    linear-gradient(120deg, rgba(168, 120, 22, 0.075), transparent 46%),
    rgba(245, 242, 234, 0.84);
}

.royalty-guard-note {
  border-left: 3px solid var(--price-gold);
  padding-left: 16px;
  color: #404447 !important;
}

.royalty-guard-grid article {
  min-height: 164px;
}

.site-footer strong,
.site-footer .footer-links a {
  color: #efede6;
}

.lightbox {
  background: rgba(18, 20, 22, 0.92);
}

.lightbox-stage {
  border-color: rgba(255, 255, 255, 0.2);
  background: #111315;
}

.cookie-banner {
  border-color: rgba(255, 255, 255, 0.16);
  color: #f3f0e8;
  background: rgba(23, 25, 28, 0.98);
  box-shadow: 0 20px 55px rgba(19, 21, 23, 0.34);
}

.cookie-banner-copy strong {
  color: #f8f5ed;
}

.cookie-banner-copy p,
.cookie-banner-copy a {
  color: #bfc1be;
}

.cookie-choice-button {
  border-color: rgba(255, 255, 255, 0.2);
  color: #f5f2ea;
  background: rgba(255, 255, 255, 0.06);
}

.cookie-choice-button[data-cookie-choice="analytics"] {
  border-color: #aeb4b2;
  color: #17191c;
  background: #c9ceca;
}

/* Comparison page overrides its own embedded styles, so keep the selected system here. */
.compare-page {
  color: #1a1c1f;
}

.compare-page .compare-hero {
  margin-top: 26px !important;
  padding: 52px !important;
}

.compare-page .compare-hero-copy {
  justify-items: start !important;
  text-align: left !important;
}

.compare-page .compare-hero h1,
.compare-page .compare-hero .hero-text {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

.compare-page .compare-hero-copy .hero-actions {
  justify-content: flex-start !important;
}

.compare-page .compare-hero-media {
  align-self: start;
  margin-top: 64px !important;
}

.compare-page .compare-proof-strip {
  border-color: rgba(255, 255, 255, 0.17) !important;
  background: rgba(255, 255, 255, 0.055) !important;
}

.compare-page .compare-proof-strip span {
  color: #e5e2da !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.compare-page .compare-positioning article,
.compare-page .compare-section-card,
.compare-page .compare-final,
.compare-page .competitor-card,
.compare-page .faq-card {
  border-color: var(--line) !important;
  color: #1a1c1f !important;
  background: #f4f1e9 !important;
  box-shadow: 0 14px 38px rgba(28, 31, 34, 0.06) !important;
}

.compare-page .compare-positioning article > span,
.compare-page .problem-card .examples,
.compare-page .competitor-meta,
.compare-page .competitor-card dt {
  color: #596267 !important;
}

.compare-page .compare-mini-list li,
.compare-page .problem-card p,
.compare-page .problem-card .blackbox-difference,
.compare-page .matrix-list li,
.compare-page .price-signal,
.compare-page .source-link,
.compare-page .competitor-source {
  color: #444b4f !important;
}

.compare-page .compare-mini-list li::before {
  background: #707b80 !important;
}

.compare-page .problem-card,
.compare-page .matrix-card {
  border-color: var(--line) !important;
  color: #1a1c1f !important;
  background: #f4f1e9 !important;
}

.compare-page .problem-card h3,
.compare-page .matrix-card h3 {
  color: #111315 !important;
}

.compare-page .problem-card-highlight,
.compare-page .matrix-card-highlight {
  border-color: #454b4f !important;
  color: #f2efe7 !important;
  background: #24282b !important;
}

.compare-page .problem-card-highlight h3,
.compare-page .problem-card-highlight p,
.compare-page .problem-card-highlight .examples,
.compare-page .problem-card-highlight .blackbox-difference,
.compare-page .matrix-card-highlight h3,
.compare-page .matrix-card-highlight .matrix-list li {
  color: #f2efe7 !important;
}

.compare-page .problem-card .blackbox-difference {
  border-top-color: rgba(28, 31, 34, 0.18) !important;
  background: transparent !important;
}

.compare-page .problem-card-highlight .blackbox-difference {
  border-top-color: rgba(255, 255, 255, 0.16) !important;
}

.compare-page .competitor-card:first-child .price-signal,
.compare-page .matrix-card-highlight .matrix-value {
  color: var(--price-gold) !important;
}

.compare-page .blackbox-difference strong,
.compare-page .competitor-card dt:nth-of-type(3),
.compare-page .competitor-card strong {
  color: var(--price-gold) !important;
  text-shadow: none !important;
}

.compare-page .competitor-card dd:nth-of-type(3) {
  border-left-color: var(--price-gold) !important;
}

.compare-page .compare-positioning h2,
.compare-page .compare-section-head h2,
.compare-page .compare-final h2,
.compare-page .compare-final h3,
.compare-page .competitor-card h3,
.compare-page .faq-card h3 {
  color: #111315 !important;
}

.compare-page .compare-positioning p,
.compare-page .compare-section-head p,
.compare-page .compare-final p,
.compare-page .competitor-card p,
.compare-page .competitor-card dd,
.compare-page .faq-card p {
  color: #5a5f62 !important;
}

.compare-page .blackbox-advantage,
.compare-page .blackbox-difference,
.compare-page [class*="advantage"] {
  border-left-color: #a87816 !important;
  background: #e6e0d2 !important;
}

.compare-page .competitor-card:first-child {
  border-color: #454b4f !important;
  background: #24282b !important;
}

.compare-page .competitor-card:first-child h3,
.compare-page .competitor-card:first-child dt,
.compare-page .competitor-card:first-child dd,
.compare-page .competitor-card:first-child p,
.compare-page .competitor-card:first-child a {
  color: #f2efe7 !important;
}

.compare-page .competitor-card:first-child dt:nth-of-type(3),
.compare-page .competitor-card:first-child strong,
.compare-page .competitor-card:first-child .price-signal {
  color: var(--price-gold) !important;
}

.compare-page table {
  border-color: #b4b1a9 !important;
  color: #202326 !important;
  background: #f7f4ed !important;
}

.compare-page th {
  color: #f5f2ea !important;
  background: #292d30 !important;
}

.compare-page td {
  border-color: #cbc8c0 !important;
  color: #25282b !important;
  background: #f4f1e9 !important;
}

.compare-page td:nth-child(2) {
  background: #e1ded6 !important;
}

@media (max-width: 1100px) {
  .site-nav {
    border-color: rgba(255, 255, 255, 0.14);
    background: #191c1f;
  }

  .hero,
  .page-hero,
  .compare-page .compare-hero {
    padding: 42px 30px !important;
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 20px, 1440px);
  }

  .hero,
  .page-hero,
  .compare-page .compare-hero {
    margin-top: 14px !important;
    padding: 34px 18px 26px !important;
  }

  .hero-copy h1,
  .page-hero h1,
  .compare-page .compare-hero h1 {
    font-size: clamp(2.45rem, 12vw, 4.4rem) !important;
    line-height: 0.98 !important;
  }

  .compare-page .compare-hero h1 {
    font-size: clamp(2.1rem, 10vw, 3.2rem) !important;
    line-height: 1 !important;
  }

  .compare-page .compare-hero .hero-text {
    font-size: 0.96rem !important;
    line-height: 1.62 !important;
  }

  .compare-page .compare-hero-media {
    margin-top: 0 !important;
  }

  .hero-lede {
    font-size: 1.35rem;
  }

  .product-stage {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
  }

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

  .split-panel,
  .pricing-preview,
  .cta-band,
  .support,
  .delivery,
  .screen-band,
  .product-gallery {
    padding: 26px 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .site-footer .footer-links {
    justify-content: flex-start;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 14px;
  }

  .cookie-banner-copy p {
    margin: 7px 0 3px;
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .cookie-banner-copy a {
    font-size: 0.8rem;
  }

  .cookie-banner-actions {
    gap: 8px;
    margin-top: 10px;
  }

  .cookie-choice-button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 38px;
    padding-inline: 8px;
    font-size: 0.78rem;
  }
}
