:root {
  --ink: #111512;
  --muted: #5f675f;
  --paper: #f7f4ee;
  --panel: #fffdf8;
  --line: rgba(17, 21, 18, 0.14);
  --teal: #1f6f6a;
  --brass: #08b65b;
  --coral: #08b65b;
  --shadow: 0 24px 70px rgba(17, 21, 18, 0.14);
}

/* Final guarantee: mobile uses the desktop safe as one scaled unit */
@media (max-width: 820px) {
  .safe-visual.safe-visual-cabinet {
    min-height: 310px !important;
    overflow: visible !important;
  }

  .safe-visual-cabinet .cabinet {
    width: 720px !important;
    height: 430px !important;
    left: 50% !important;
    top: 6px !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) scale(0.58) !important;
    transform-origin: top center !important;
  }
}

/* Mobile safe: same wide desktop composition, only scaled down */
@media (max-width: 820px) {
  .safe-visual.safe-visual-cabinet {
    width: 100% !important;
    min-height: 285px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
  }

  .safe-visual-cabinet .cabinet {
    width: 720px !important;
    height: 430px !important;
    left: 50% !important;
    top: 8px !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) scale(0.48) !important;
    transform-origin: top center !important;
  }

  .safe-visual-cabinet .cabinet-body {
    left: 3% !important;
    right: auto !important;
    bottom: 8% !important;
    width: 78% !important;
    height: 72% !important;
    padding: 30px 26px !important;
  }

  .safe-visual-cabinet .cabinet-interior {
    width: 54% !important;
    min-height: 246px !important;
    padding: 14px !important;
    gap: 10px !important;
    grid-template-columns: repeat(2, minmax(82px, 1fr)) !important;
  }

  .safe-visual-cabinet .archive-file {
    min-height: 42px !important;
    gap: 4px !important;
    padding: 0 6px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .safe-visual-cabinet .archive-file::before {
    width: 18px !important;
    height: 18px !important;
    font-size: 11px !important;
  }

  .safe-visual-cabinet .archive-file.wide {
    grid-column: 1 / -1 !important;
  }

  .safe-visual-cabinet .cabinet-door {
    right: 1% !important;
    bottom: 4% !important;
    width: 48% !important;
    height: 76% !important;
    transform: perspective(900px) rotateY(-22deg) !important;
    transform-origin: right center !important;
  }

  .safe-visual-cabinet .keypad {
    top: 92px !important;
    left: 28px !important;
    transform: none !important;
  }

  .safe-visual-cabinet .mechanical-dial {
    top: 58% !important;
    width: 126px !important;
    height: 126px !important;
    border-width: 9px !important;
  }

  .safe-visual-cabinet .mechanical-dial i {
    width: 76px !important;
    height: 14px !important;
    margin: -7px 0 0 -38px !important;
  }

  .safe-visual-cabinet .hinge {
    right: -15px !important;
    width: 26px !important;
    height: 74px !important;
  }

  .safe-visual-cabinet .cabinet-bolts {
    top: 72px !important;
    right: calc(48% - 12px) !important;
    bottom: 92px !important;
  }

  .safe-visual-cabinet .cabinet-bolts span {
    width: 24px !important;
    height: 32px !important;
  }

  .safe-visual-cabinet .scan-beam {
    left: 16% !important;
    bottom: 12% !important;
    width: 39% !important;
    height: 30px !important;
    line-height: 30px !important;
    font-size: 15px !important;
  }
}

/* Final sync: keep mobile safe visually consistent with desktop */
.safe-visual.safe-visual-cabinet {
  isolation: isolate;
}

@media (max-width: 820px) {
  .safe-visual.safe-visual-cabinet {
    width: 100% !important;
    min-height: 315px !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  .safe-visual-cabinet .cabinet {
    width: 680px !important;
    height: 430px !important;
    left: 0 !important;
    top: 8px !important;
    right: auto !important;
    bottom: auto !important;
    transform: scale(0.48) !important;
    transform-origin: top left !important;
  }

  .safe-visual-cabinet .cabinet-body {
    left: 3% !important;
    right: auto !important;
    bottom: 8% !important;
    width: 78% !important;
    height: 72% !important;
    padding: 30px 26px !important;
  }

  .safe-visual-cabinet .cabinet-interior {
    width: 54% !important;
    min-height: 246px !important;
    gap: 10px !important;
    padding: 14px !important;
  }

  .safe-visual-cabinet .archive-file {
    min-height: 42px !important;
    gap: 4px !important;
    padding: 0 6px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .safe-visual-cabinet .archive-file::before {
    width: 18px !important;
    height: 18px !important;
    font-size: 11px !important;
  }

  .safe-visual-cabinet .cabinet-door {
    right: 1% !important;
    bottom: 4% !important;
    width: 48% !important;
    height: 76% !important;
    transform: perspective(900px) rotateY(-22deg) !important;
  }

  .safe-visual-cabinet .keypad {
    top: 92px !important;
    left: 28px !important;
    transform: none !important;
  }

  .safe-visual-cabinet .mechanical-dial {
    top: 58% !important;
    width: 126px !important;
    height: 126px !important;
    border-width: 9px !important;
  }

  .safe-visual-cabinet .mechanical-dial i {
    width: 76px !important;
    height: 14px !important;
    margin: -7px 0 0 -38px !important;
  }

  .safe-visual-cabinet .hinge {
    right: -14px !important;
    width: 24px !important;
    height: 66px !important;
  }

  .safe-visual-cabinet .cabinet-bolts {
    top: 66px !important;
    right: calc(48% - 12px) !important;
    bottom: 86px !important;
  }

  .safe-visual-cabinet .cabinet-bolts span {
    width: 20px !important;
    height: 30px !important;
  }

  .safe-visual-cabinet .scan-beam {
    left: 16% !important;
    bottom: 12% !important;
    width: 39% !important;
    height: 30px !important;
    line-height: 30px !important;
    font-size: 15px !important;
  }
}

/* Final realistic safe details */
.safe-visual-cabinet .cabinet-body {
  background:
    linear-gradient(145deg, rgba(89, 100, 91, 0.96), rgba(34, 43, 37, 0.98) 46%, rgba(13, 18, 15, 0.98)) !important;
  box-shadow:
    inset 0 0 0 12px rgba(255, 253, 248, 0.04),
    inset 0 0 56px rgba(0, 0, 0, 0.44),
    0 34px 78px rgba(0, 0, 0, 0.3) !important;
}

.safe-visual-cabinet .cabinet-door {
  background:
    linear-gradient(145deg, rgba(105, 116, 107, 0.98), rgba(43, 54, 47, 0.98) 52%, rgba(19, 25, 21, 0.98)) !important;
  border-width: 3px !important;
  box-shadow:
    inset 0 0 0 12px rgba(255, 253, 248, 0.045),
    inset 16px 0 28px rgba(255, 255, 255, 0.035),
    -20px 20px 48px rgba(0, 0, 0, 0.34) !important;
}

.safe-visual-cabinet .cabinet-door::after {
  right: -16px !important;
  width: 24px !important;
  background: linear-gradient(180deg, #d0dad2, #6d7a70 48%, #3d4841) !important;
}

.safe-visual-cabinet .cabinet-bolts {
  top: 48px !important;
  bottom: 48px !important;
  right: 14px !important;
}

.safe-visual-cabinet .cabinet-bolts span {
  width: 22px !important;
  height: 34px !important;
  background: linear-gradient(90deg, #eef4ef, #8f9b92 48%, #58635b) !important;
  border-radius: 999px !important;
  box-shadow:
    inset 5px 0 10px rgba(255, 255, 255, 0.28),
    0 5px 14px rgba(0, 0, 0, 0.28) !important;
}

.safe-visual-cabinet .hinge {
  right: -14px !important;
  width: 26px !important;
  height: 74px !important;
  border: 1px solid rgba(255, 253, 248, 0.14);
  background: linear-gradient(90deg, #e4ece6, #7b887f 48%, #48534c) !important;
  box-shadow: inset 6px 0 12px rgba(255, 255, 255, 0.22), 0 7px 18px rgba(0, 0, 0, 0.26);
}

.safe-visual-cabinet .hinge-top {
  top: 64px !important;
}

.safe-visual-cabinet .hinge-bottom {
  bottom: 64px !important;
}

.safe-visual-cabinet .keypad {
  top: 92px !important;
  left: 28px !important;
  grid-template-columns: repeat(3, 11px) 28px !important;
  gap: 7px !important;
  padding: 10px !important;
  background: rgba(9, 14, 11, 0.58) !important;
}

.safe-visual-cabinet .keypad-screen {
  grid-column: 1 / -1;
  width: 100%;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(8, 182, 91, 0.42), rgba(197, 222, 204, 0.18));
  box-shadow: inset 0 0 8px rgba(8, 182, 91, 0.24);
}

.safe-visual-cabinet .keypad span {
  width: 11px !important;
  height: 11px !important;
  border-radius: 3px !important;
  background: #c3cdc5 !important;
}

.safe-visual-cabinet .keypad b {
  grid-row: 2 / 4;
  grid-column: 4;
  display: grid;
  place-items: center;
  color: #fffdf8;
  background: rgba(8, 182, 91, 0.74);
  border-radius: 4px;
  font-size: 9px;
  font-style: normal;
}

.safe-visual-cabinet .keypad em {
  grid-column: 4;
  display: block;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(255, 253, 248, 0.38), transparent 36%),
    linear-gradient(180deg, rgba(157, 173, 162, 0.72), rgba(65, 77, 69, 0.9));
}

.safe-visual-cabinet .mechanical-dial {
  width: 126px !important;
  height: 126px !important;
  border-width: 9px !important;
  background:
    radial-gradient(circle at center, #e8efe9 0 15px, #8f9a92 16px 27px, transparent 28px),
    linear-gradient(145deg, rgba(47, 56, 49, 0.98), rgba(12, 17, 14, 0.98)) !important;
}

.safe-visual-cabinet .mechanical-dial i {
  width: 76px !important;
  height: 14px !important;
  margin: -7px 0 0 -38px !important;
  transform-origin: center center;
  background: linear-gradient(90deg, #7c8780, #f0f5f1 52%, #7c8780) !important;
  border-radius: 999px !important;
}

.safe-visual-cabinet .mechanical-dial i:nth-child(1) {
  transform: rotate(0deg) !important;
}

.safe-visual-cabinet .mechanical-dial i:nth-child(2) {
  transform: rotate(120deg) !important;
}

.safe-visual-cabinet .mechanical-dial i:nth-child(3) {
  transform: rotate(240deg) !important;
}

.safe-visual-cabinet .mechanical-dial::after {
  width: 34px !important;
  height: 34px !important;
  background: radial-gradient(circle at 35% 32%, #fff, #cbd5ce 42%, #6f7a72) !important;
}

.safe-visual-cabinet .archive-file {
  border-radius: 6px !important;
  background:
    linear-gradient(90deg, rgba(8, 182, 91, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(47, 75, 52, 0.94), rgba(18, 30, 22, 0.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 248, 0.08),
    0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.safe-visual-cabinet .scan-beam {
  color: #fffdf8;
  font-size: 15px !important;
  letter-spacing: 0;
}

@media (max-width: 820px) {
  .safe-visual-cabinet .keypad {
    transform: scale(0.76) !important;
    transform-origin: left top !important;
  }

  .safe-visual-cabinet .mechanical-dial {
    width: 96px !important;
    height: 96px !important;
  }

  .safe-visual-cabinet .mechanical-dial i {
    width: 58px !important;
    height: 10px !important;
    margin: -5px 0 0 -29px !important;
  }
}

/* Cabinet depth and realistic material polish */
.safe-visual-cabinet .cabinet-body {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.035), transparent 22%),
    radial-gradient(circle at 28% 44%, rgba(8, 182, 91, 0.12), transparent 34%),
    linear-gradient(145deg, #637066, #2b352e 48%, #131915) !important;
}

.safe-visual-cabinet .cabinet-body::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 18%, transparent 72%, rgba(0, 0, 0, 0.36)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 18%, transparent 78%, rgba(255, 253, 248, 0.06)),
    radial-gradient(circle at 42% 46%, rgba(8, 182, 91, 0.18), transparent 64%) !important;
}

.safe-visual-cabinet .cabinet-interior {
  position: relative;
  box-shadow:
    inset 18px 0 28px rgba(0, 0, 0, 0.34),
    inset 0 -18px 24px rgba(0, 0, 0, 0.3),
    inset 0 16px 24px rgba(255, 253, 248, 0.035),
    0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.safe-visual-cabinet .cabinet-interior::before,
.safe-visual-cabinet .cabinet-interior::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 253, 248, 0.12), transparent);
  pointer-events: none;
}

.safe-visual-cabinet .cabinet-interior::before {
  top: 88px;
}

.safe-visual-cabinet .cabinet-interior::after {
  bottom: 74px;
}

.safe-visual-cabinet .archive-file {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.08) 0 12%, transparent 13%),
    linear-gradient(90deg, rgba(8, 182, 91, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(55, 86, 61, 0.98), rgba(20, 34, 24, 0.98)) !important;
  border-top: 1px solid rgba(255, 253, 248, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 248, 0.11),
    inset -8px 0 14px rgba(0, 0, 0, 0.14),
    0 8px 16px rgba(0, 0, 0, 0.18) !important;
}

.safe-visual-cabinet .archive-file::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 7px;
  width: 14px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 253, 248, 0.08);
}

.safe-visual-cabinet .cabinet-door {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.05), transparent 22%),
    linear-gradient(145deg, #717d74, #354038 52%, #1c241f) !important;
}

.safe-visual-cabinet .cabinet-door::after {
  background: linear-gradient(90deg, #a7b2aa, #647169 48%, #39443d) !important;
  box-shadow:
    inset 5px 0 10px rgba(255, 255, 255, 0.12),
    8px 0 20px rgba(0, 0, 0, 0.3) !important;
}

.safe-visual-cabinet .hinge {
  background: linear-gradient(90deg, #aeb9b1, #68756d 50%, #3d4942) !important;
  box-shadow:
    inset 5px 0 10px rgba(255, 255, 255, 0.16),
    inset -4px 0 8px rgba(0, 0, 0, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.28) !important;
}

.safe-visual-cabinet .cabinet-bolts span {
  height: 38px !important;
}

.safe-visual-cabinet .scan-beam {
  bottom: 8% !important;
  height: 34px !important;
  line-height: 34px !important;
}

.safe-visual-cabinet .mechanical-dial {
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 253, 248, 0.14) 0deg 2deg, transparent 2deg 14deg),
    radial-gradient(circle at center, #eef4ef 0 15px, #98a39b 16px 27px, transparent 28px),
    linear-gradient(145deg, rgba(52, 62, 55, 0.98), rgba(13, 18, 15, 0.98)) !important;
}

.safe-visual-cabinet .mechanical-dial::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 10px solid rgba(255, 253, 248, 0.58);
}

@media (max-width: 820px) {
  .safe-visual-cabinet .scan-beam {
    bottom: 5% !important;
  }
}

/* Safe detail refinements: hinge, bolts, inner status screen */
.safe-visual-cabinet .cabinet-body {
  filter: brightness(1.05);
}

.safe-visual-cabinet .cabinet-interior {
  filter: brightness(1.06);
}

.safe-visual-cabinet .cabinet-door::after {
  right: -18px !important;
  width: 22px !important;
  background:
    linear-gradient(180deg, transparent 0 13%, rgba(0, 0, 0, 0.34) 13% 15%, transparent 15% 47%, rgba(0, 0, 0, 0.34) 47% 49%, transparent 49% 82%, rgba(0, 0, 0, 0.34) 82% 84%, transparent 84%),
    linear-gradient(90deg, #87938b, #59665e 48%, #303b35) !important;
  border: 1px solid rgba(255, 253, 248, 0.12);
  box-shadow:
    inset 5px 0 10px rgba(255, 255, 255, 0.08),
    inset -6px 0 12px rgba(0, 0, 0, 0.28),
    8px 0 20px rgba(0, 0, 0, 0.34) !important;
}

.safe-visual-cabinet .hinge {
  right: -15px !important;
  background:
    linear-gradient(180deg, transparent 0 18%, rgba(0, 0, 0, 0.32) 18% 21%, transparent 21% 79%, rgba(0, 0, 0, 0.32) 79% 82%, transparent 82%),
    linear-gradient(90deg, #8d9991, #5d6a62 50%, #323d37) !important;
}

.safe-visual-cabinet .cabinet-bolts {
  z-index: 5;
  top: 72px !important;
  right: calc(48% - 12px) !important;
  bottom: 92px !important;
}

.safe-visual-cabinet .cabinet-bolts span {
  width: 24px !important;
  height: 32px !important;
  background: linear-gradient(90deg, #e0e8e2, #8c9990 48%, #526058) !important;
}

.safe-visual-cabinet .scan-beam {
  left: 16% !important;
  bottom: 12% !important;
  width: 39% !important;
  height: 30px !important;
  line-height: 30px !important;
  border: 1px solid rgba(8, 182, 91, 0.26);
  border-radius: 6px !important;
  background:
    linear-gradient(90deg, rgba(8, 182, 91, 0.08), rgba(8, 182, 91, 0.56), rgba(8, 182, 91, 0.08)) !important;
  box-shadow:
    inset 0 0 18px rgba(8, 182, 91, 0.14),
    0 0 24px rgba(8, 182, 91, 0.12) !important;
}

@media (max-width: 820px) {
  .safe-visual-cabinet .cabinet-bolts {
    right: calc(50% - 12px) !important;
  }

  .safe-visual-cabinet .scan-beam {
    left: 15% !important;
    bottom: 9% !important;
    width: 42% !important;
  }
}

/* Final traditional safe cabinet visual */
.safe-visual.safe-visual-cabinet {
  min-height: 430px;
  opacity: 0.86;
}

.safe-visual-cabinet .safe-glow,
.safe-visual-cabinet .asset-card,
.safe-visual-cabinet .safe-box,
.safe-visual-cabinet .risk-chip {
  display: none !important;
}

.safe-visual-cabinet .cabinet {
  position: absolute;
  inset: 18px 0 0;
  transform: none !important;
}

.safe-visual-cabinet .cabinet-body {
  left: 3% !important;
  right: auto !important;
  bottom: 8% !important;
  width: 78% !important;
  height: 72% !important;
  padding: 30px 26px !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, #566058, #242b26 48%, #111512) !important;
  border: 2px solid rgba(207, 217, 208, 0.22) !important;
}

.safe-visual-cabinet .cabinet-body::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 2px solid rgba(205, 216, 208, 0.1);
  border-radius: 12px;
  pointer-events: none;
}

.safe-visual-cabinet .cabinet-interior {
  width: 54% !important;
  min-height: 246px !important;
  padding: 14px !important;
  gap: 10px !important;
  background: rgba(8, 13, 10, 0.48) !important;
  border-color: rgba(8, 182, 91, 0.26) !important;
}

.safe-visual-cabinet .archive-file {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 0 6px !important;
  min-height: 42px !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  border-left-width: 5px !important;
  background: linear-gradient(180deg, rgba(45, 72, 50, 0.96), rgba(20, 31, 23, 0.98)) !important;
}

.safe-visual-cabinet .archive-file::before {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  flex: 0 0 auto;
  color: #fffdf8;
  background: #08b65b;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.2);
}

.safe-visual-cabinet .archive-file::after {
  content: none;
}

.safe-visual-cabinet .icon-trademark::before {
  content: "R";
  border-radius: 50%;
}

.safe-visual-cabinet .icon-copyright::before {
  content: "C";
  border-radius: 50%;
}

.safe-visual-cabinet .icon-store::before {
  content: "店";
  border-radius: 4px 4px 8px 8px;
  box-shadow:
    inset 0 4px 0 rgba(255, 253, 248, 0.24),
    inset 0 0 0 1px rgba(255, 253, 248, 0.2);
}

.safe-visual-cabinet .icon-package::before {
  content: "箱";
  border-radius: 3px;
  box-shadow:
    inset 0 2px 0 rgba(255, 253, 248, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}

.safe-visual-cabinet .icon-license::before {
  content: "授";
  border-radius: 50%;
  box-shadow:
    0 0 0 3px rgba(8, 182, 91, 0.22),
    inset 0 0 0 1px rgba(255, 253, 248, 0.24);
}

.safe-visual-cabinet .icon-font::before {
  content: "字";
  border-radius: 5px;
  font-size: 13px;
}

.safe-visual-cabinet .icon-video::before {
  content: "▶";
  font-size: 11px;
}

.safe-visual-cabinet .cabinet-door {
  z-index: 3;
  right: 1% !important;
  bottom: 4% !important;
  width: 48% !important;
  height: 76% !important;
  transform: perspective(900px) rotateY(-22deg) !important;
  transform-origin: right center !important;
  background: linear-gradient(145deg, #667068, #2d352f 52%, #171c18) !important;
}

.safe-visual-cabinet .cabinet-door::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px solid rgba(255, 253, 248, 0.08);
  border-radius: 12px;
}

.safe-visual-cabinet .safe-nameplate {
  top: 24px !important;
  min-width: 132px !important;
  background: linear-gradient(180deg, #727c74, #343c36) !important;
}

.safe-visual-cabinet .keypad {
  top: 86px !important;
  left: 28px !important;
}

.safe-visual-cabinet .mechanical-dial {
  top: 58% !important;
  width: 118px !important;
  height: 118px !important;
  border-width: 10px !important;
  border-color: rgba(8, 182, 91, 0.62) !important;
}

.safe-visual-cabinet .mechanical-dial i {
  width: 62px !important;
  height: 13px !important;
  margin: -6.5px 0 0 -31px !important;
  background: linear-gradient(90deg, #77817a, #d7dfd9 50%, #77817a) !important;
}

.safe-visual-cabinet .mechanical-dial::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #eef4ef, #747f77);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.safe-visual-cabinet .hinge {
  right: -10px !important;
  width: 20px !important;
  background: linear-gradient(180deg, #c4cec6, #566058) !important;
}

.safe-visual-cabinet .cabinet-bolts {
  right: 18px !important;
}

.safe-visual-cabinet .scan-beam {
  z-index: 4;
  left: 12% !important;
  bottom: 2% !important;
  width: 46% !important;
  background: linear-gradient(90deg, transparent, rgba(8, 182, 91, 0.82), transparent) !important;
}

@media (max-width: 820px) {
  .safe-visual.safe-visual-cabinet {
    min-height: 330px;
  }

  .safe-visual-cabinet .cabinet-body {
    left: 0 !important;
    width: 80% !important;
    height: 72% !important;
  }

  .safe-visual-cabinet .cabinet-interior {
    width: 56% !important;
    min-height: 194px !important;
    gap: 8px !important;
  }

  .safe-visual-cabinet .archive-file {
    min-height: 34px !important;
    font-size: 11px !important;
  }

  .safe-visual-cabinet .cabinet-door {
    width: 50% !important;
  }

  .safe-visual-cabinet .mechanical-dial {
    width: 92px !important;
    height: 92px !important;
    border-width: 8px !important;
  }

  .safe-visual-cabinet .mechanical-dial i {
    width: 50px !important;
    height: 10px !important;
    margin: -5px 0 0 -25px !important;
  }

  .safe-visual-cabinet .scan-beam {
    left: 12% !important;
    bottom: 1% !important;
    width: 48% !important;
  }
}

@media (min-width: 821px) {
  .safe-visual-cabinet .cabinet-interior {
    grid-template-columns: repeat(2, minmax(82px, 1fr)) !important;
  }

  .safe-visual-cabinet .archive-file.wide {
    grid-column: 1 / -1;
  }
}

/* Homepage product hero */
.site-header {
  width: min(1200px, calc(100% - 96px));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  padding-right: 0;
  padding-left: 0;
}

.brand {
  min-height: 48px;
  gap: 12px;
}

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

.brand [data-name] {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.brand-prefix {
  font-size: 15px;
  font-weight: 700;
  opacity: 0.82;
}

.brand-product {
  font-size: 20px;
  font-weight: 900;
}

.nav {
  gap: clamp(16px, 1.9vw, 26px);
}

.nav-cta {
  padding: 10px 16px;
  color: #fffdf8;
  background: var(--brass);
  border-radius: 6px;
  opacity: 1 !important;
  box-shadow: 0 10px 24px rgba(8, 182, 91, 0.22);
}

.nav-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.section-inner {
  width: min(1200px, calc(100% - 96px));
}

.hero {
  min-height: clamp(680px, 82vh, 760px);
  align-items: center;
  background: #2f332f;
}

.hero-scrim {
  background:
    radial-gradient(circle at 78% 46%, rgba(8, 182, 91, 0.16), transparent 30%),
    linear-gradient(0deg, rgba(35, 38, 35, 0.98), rgba(54, 57, 54, 0.96));
}

.hero-content {
  width: min(1200px, calc(100% - 96px));
  padding: 116px 0 46px;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(360px, 0.45fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.hero-copy {
  min-width: 0;
}

.hero .eyebrow {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.45;
}

.hero h1.mission-title {
  max-width: 720px;
  font-size: clamp(72px, 6.6vw, 82px);
  line-height: 1.08;
}

.hero h1 .mission-line,
.hero h1 .mission-line:last-child {
  margin: 0;
  color: #fffdf8;
  font-size: inherit;
  line-height: inherit;
}

.hero h1 .mission-line:last-child {
  position: relative;
  display: inline-block;
}

.hero h1 .mission-line:last-child::after {
  content: "";
  position: absolute;
  left: 0.08em;
  right: 0.8em;
  bottom: -0.14em;
  height: 10px;
  background: rgba(8, 182, 91, 0.72);
  border-radius: 999px;
  z-index: -1;
}

.hero-lede {
  max-width: 620px;
  margin-top: 28px;
  color: rgba(255, 253, 248, 0.76);
  font-size: clamp(20px, 1.9vw, 22px);
  line-height: 1.72;
}

.hero-lede span {
  display: block;
}

.hero-actions {
  gap: 16px;
  margin-top: 30px;
}

.button {
  min-height: 58px;
  padding: 0 28px;
  border-radius: 4px;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fffdf8;
  background: var(--brass);
  border-color: var(--brass);
}

.hero .button.primary {
  color: #fffdf8 !important;
  background: var(--brass) !important;
  border-color: var(--brass) !important;
}

.button.primary:hover {
  filter: brightness(1.08);
}

.button.secondary {
  color: #fffdf8;
  background: transparent;
  border-color: rgba(255, 253, 248, 0.38);
}

.button.secondary:hover {
  border-color: rgba(255, 253, 248, 0.72);
}

.hero-helper {
  margin: 14px 0 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 15px;
  line-height: 1.6;
}

.safe-visual {
  position: relative;
  min-height: 420px;
  opacity: 0.9;
}

.safe-glow {
  position: absolute;
  inset: 8% 4%;
  background: radial-gradient(circle, rgba(8, 182, 91, 0.22), transparent 62%);
  filter: blur(8px);
}

.safe-box {
  position: absolute;
  right: 6%;
  bottom: 14%;
  width: min(78%, 380px);
  aspect-ratio: 1.1 / 1;
  padding: 16px;
  background: linear-gradient(145deg, rgba(90, 98, 91, 0.9), rgba(30, 35, 31, 0.98));
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.safe-door {
  position: relative;
  display: grid;
  height: 100%;
  place-items: center;
  background: linear-gradient(145deg, rgba(39, 45, 40, 0.98), rgba(19, 23, 20, 0.96));
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 18px;
}

.safe-dial {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 10px solid rgba(8, 182, 91, 0.75);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.08);
}

.safe-dial span {
  position: absolute;
  width: 74px;
  height: 6px;
  background: rgba(255, 253, 248, 0.78);
  border-radius: 99px;
}

.safe-dial span:nth-child(2) {
  transform: rotate(60deg);
}

.safe-dial span:nth-child(3) {
  transform: rotate(-60deg);
}

.safe-lock {
  position: absolute;
  right: 18%;
  top: 28%;
  width: 28px;
  height: 58px;
  border-radius: 99px;
  background: linear-gradient(180deg, #c7d0c8, #7d8880);
}

.safe-shield {
  position: absolute;
  left: 12%;
  top: 14%;
  display: grid;
  width: 58px;
  height: 66px;
  place-items: center;
  color: #fffdf8;
  background: var(--brass);
  clip-path: polygon(50% 0, 92% 15%, 86% 70%, 50% 100%, 14% 70%, 8% 15%);
  font-size: 18px;
  font-weight: 900;
}

.asset-card,
.risk-chip {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(255, 253, 248, 0.88);
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  font-size: 15px;
  font-weight: 800;
}

.asset-card {
  width: 112px;
  height: 64px;
}

.card-trademark {
  top: 8%;
  left: 8%;
}

.card-copyright {
  top: 24%;
  right: 4%;
}

.card-store {
  left: 0;
  bottom: 30%;
}

.card-package {
  right: 18%;
  bottom: 4%;
}

.card-license {
  top: 2%;
  right: 28%;
  width: 136px;
}

.risk-chip {
  left: 18%;
  bottom: 8%;
  width: 120px;
  height: 42px;
  color: #fffdf8;
  background: rgba(8, 182, 91, 0.72);
}

.trust-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  padding: 18px 20px;
  color: rgba(255, 253, 248, 0.72);
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(255, 253, 248, 0.08);
  border-radius: 8px;
}

.trust-bar span {
  display: grid;
  min-height: 22px;
  place-items: center;
  padding: 0 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.trust-bar span + span {
  border-left: 1px solid rgba(255, 253, 248, 0.16);
}

.trust-bar strong {
  color: var(--brass);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Noto Sans SC", system-ui, sans-serif;
}

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

.tm-mark {
  position: relative;
  top: -0.45em;
  margin-left: 0.04em;
  font-size: 0.36em;
  font-weight: inherit;
  line-height: 0;
  color: #08b65b;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 54px);
  color: #fffdf8;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 244, 238, 0.88);
  box-shadow: 0 10px 32px rgba(17, 21, 18, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 253, 248, 0.36);
  border-radius: 50%;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  gap: clamp(18px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  opacity: 0.82;
}

.nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid #08b65b;
  color: #fffdf8;
  background: #08b65b;
  box-shadow: 0 10px 28px rgba(8, 182, 91, 0.22);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: #fffdf8;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.hero-scrim {
  background: linear-gradient(0deg, rgba(20, 22, 20, 0.96), rgba(20, 22, 20, 0.82));
}

.section-inner {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-content {
  padding: 140px 0 74px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  text-transform: none;
}

.white-x {
  color: #fffdf8;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(48px, 8.4vw, 106px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero h1 span:first-child {
  color: #fffdf8;
}

.hero h1 span:last-child {
  margin-top: 12px;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(30px, 5.5vw, 70px);
}

.hero h1.mission-title {
  max-width: 100%;
}

.mission-title-mobile {
  display: none;
}

.hero h1 .mission-line {
  margin-top: 0;
  color: #fffdf8;
  font-size: clamp(52px, 8.2vw, 104px);
  white-space: normal;
}

.hero h1 .mission-line:last-child {
  margin-top: 12px;
  color: #fffdf8;
  font-size: clamp(52px, 8.2vw, 104px);
}

.hero-lede {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 253, 248, 0.76);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 253, 248, 0.38);
  font-weight: 800;
}

.button.primary {
  color: var(--ink);
  background: #fffdf8;
}

.button.secondary {
  color: #fffdf8;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin-top: 52px;
  border-top: 1px solid rgba(255, 253, 248, 0.26);
}

.stat {
  padding: 20px 20px 0 0;
}

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

.stat strong {
  color: #fffdf8;
  font-size: 28px;
}

.stat span {
  margin-top: 4px;
  color: rgba(255, 253, 248, 0.62);
  font-size: 13px;
}

.section {
  padding: clamp(46px, 6vw, 82px) 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(32px, 7vw, 92px);
}

h2 {
  margin: 0;
  max-width: 640px;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 span {
  display: block;
}

.about-title {
  font-size: clamp(30px, 4.2vw, 50px);
}

.about-title span {
  white-space: nowrap;
}

.body-copy {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.9;
}

.body-copy p {
  margin-top: 0;
}

.beliefs {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.belief {
  margin: 0;
  padding: 14px 0;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.belief strong {
  display: inline;
  font-weight: 800;
  color: #08b65b;
}

.section-heading {
  display: block;
  margin-bottom: 22px;
  text-align: left;
}

.section-heading h2 {
  max-width: none;
}

.heading-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.heading-with-icon img {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.services-grid,
.cases-grid {
  grid-template-columns: minmax(0, 840px);
  justify-content: center;
}

.item-card,
.case-card {
  min-height: 360px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.item-card {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fffdf8;
  text-align: center;
}

.item-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 21, 18, 0.02), rgba(17, 21, 18, 0.72));
}

.item-index {
  color: #08b65b;
  font-weight: 800;
}

.service-illustration {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #fffdf8;
}

.service-illustration[src$="service-checkup.svg"] {
  object-fit: cover !important;
  object-position: center 42% !important;
  padding: 0 !important;
  background: #f7f4ee !important;
}

.service-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
  padding-top: 90px;
}

.item-card h3,
.case-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: 0;
  text-align: center;
}

.case-card h3 {
  text-align: center;
}

.item-card h3 {
  margin-top: 0;
  color: #fffdf8;
}

.item-card p,
.case-card p {
  color: var(--muted);
  line-height: 1.75;
}

.item-card p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 253, 248, 0.84);
}

.item-card p span {
  display: block;
}

.case-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  color: #fffdf8;
  box-shadow: none;
}

.case-logo-bg {
  position: absolute;
  top: -38px;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 34px;
  object-fit: contain;
  opacity: 1;
  pointer-events: none;
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 21, 18, 0.7), rgba(17, 21, 18, 0.08));
}

.case-card > *:not(.case-logo-bg) {
  position: relative;
  z-index: 1;
}

.case-card p {
  margin: -16px 0 220px -12px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.case-card span {
  color: rgba(255, 253, 248, 0.68);
}

.credentials {
  padding-top: clamp(36px, 5vw, 72px);
}

.credentials-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 840px);
  justify-content: center;
}

.credential-card {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.credential-card img {
  display: block;
  width: 50%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.zoomable-image {
  cursor: zoom-in;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.zoomable-image:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 30px rgba(17, 21, 18, 0.12);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: auto auto;
  place-items: center;
  align-content: center;
  padding: 32px 24px;
  background: rgba(17, 21, 18, 0.82);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox img {
  display: block;
  order: 1;
  width: min(96vw, 960px);
  max-height: calc(86vh - 128px);
  object-fit: contain;
  background: #fffdf8;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.image-lightbox[data-mode="qr"] img {
  width: min(82vw, 360px);
  max-height: calc(82vh - 128px);
}

.lightbox-close {
  position: static;
  order: 2;
  display: grid;
  width: 96px;
  height: 96px;
  margin-top: 18px;
  place-items: center;
  border: 1px solid #08b65b;
  color: #fffdf8;
  background: #08b65b;
  font-size: 68px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(8, 182, 91, 0.35);
}

.credential-card div {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
  padding: 0 2px 4px;
}

.credentials .credential-card > div > span {
  color: #08b65b !important;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.credential-index {
  color: #08b65b !important;
  font-weight: 900 !important;
}

.credential-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.contact {
  padding-bottom: 54px;
}

.contact-intro {
  min-height: auto;
  display: flex;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 20px;
  border-top: 1px solid var(--line);
}

.contact-intro h2 {
  max-width: 1040px;
  font-size: clamp(28px, 3.2vw, 42px);
}

.contact-note {
  max-width: 900px;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.9;
}

.contact-intro h2 span {
  display: block;
  white-space: nowrap;
}

.contact-methods {
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact-methods .contact-links {
  width: min(100%, 980px);
  margin: 0 auto;
}

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

.contact-item {
  display: grid;
  justify-items: center;
  text-align: center;
}

.contact-link {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.contact-link span {
  color: #08b65b;
  font-weight: 700;
}

.contact-link strong {
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 800;
}

.contact-item .qr-card {
  justify-self: center;
  margin: 16px auto 10px;
}

.qr-card {
  display: grid;
  justify-self: center;
  gap: 12px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-card img {
  width: 164px;
  height: 164px;
  object-fit: cover;
}

.qr-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 54px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer span:last-of-type {
  justify-self: end;
}

.icp {
  justify-self: center;
  color: var(--muted);
}

@media (max-width: 820px) {
  .section {
    padding: 30px 0;
  }

  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 62px;
    right: 20px;
    display: none;
    width: 48px;
    min-width: 48px;
    padding: 12px 0;
    color: #fffdf8;
    background: linear-gradient(0deg, rgba(20, 22, 20, 0.96), rgba(20, 22, 20, 0.82));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 253, 248, 0.2);
    box-shadow: var(--shadow);
    text-align: center;
    justify-items: center;
  }

  .nav a {
    width: 100%;
    text-align: center;
  }

  .nav.is-open {
    display: grid;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-scrim {
    background: linear-gradient(0deg, rgba(20, 22, 20, 0.96), rgba(20, 22, 20, 0.82));
  }

  .hero-media {
    object-position: 66% center;
  }

  .hero-content {
    padding-bottom: 44px;
  }

  .mission-title-desktop {
    display: none;
  }

  .mission-title-mobile {
    display: block;
  }

  .hero h1.mission-title-mobile .mission-line {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-stats,
  .two-column,
  .services-grid,
  .cases-grid,
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .contact-intro h2 {
    max-width: 100%;
    font-size: clamp(20px, 5.4vw, 32px);
  }

  .contact-note {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.75;
  }

  .contact-intro h2 span {
    white-space: nowrap;
  }

  .hero-stats {
    gap: 0;
    margin-top: 34px;
  }

  .stat {
    padding-top: 14px;
  }

  .section-heading {
    display: block;
    margin-bottom: 14px;
  }

  .heading-with-icon {
    gap: 12px;
  }

  .heading-with-icon img {
    width: 1.1em;
    height: 1.1em;
  }

  .about-title {
    font-size: clamp(30px, 8.2vw, 44px);
  }

  .item-card,
  .case-card {
    min-height: 160px;
    padding: 18px 20px;
  }

  .credential-card {
    padding: 12px;
  }

  .credential-card img {
    width: 50%;
    max-width: 260px;
  }

  .credential-card h3 {
    font-size: 20px;
  }

  .item-card h3 {
    margin-top: 0;
  }

  .item-card p,
  .case-card p {
    line-height: 1.58;
  }

  .case-card p {
    margin: -12px 0 54px -8px;
  }

  .case-card h3 {
    font-size: 22px;
  }

  .contact-link {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-methods .contact-links {
    width: min(100%, 420px);
  }

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

  .contact-item:last-child {
    grid-column: auto;
  }

  .footer {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer span:last-of-type,
  .icp {
    justify-self: center;
  }
}

/* Cache-busting final corrections for hero copy and CTA */
@media (min-width: 821px) {
  .hero h1.mission-title {
    max-width: 760px !important;
    font-size: clamp(58px, 5.25vw, 68px) !important;
    line-height: 1.08 !important;
  }
}

.hero .hero-lede {
  max-width: 820px !important;
  font-size: 20px !important;
  line-height: 1.75 !important;
}

.hero .hero-lede span {
  display: block !important;
  white-space: nowrap;
}

.hero .hero-actions .button.primary,
.hero a.button.primary {
  color: #fffdf8 !important;
  background: #08b65b !important;
  border-color: #08b65b !important;
}

.hero .hero-actions .button.primary:hover,
.hero a.button.primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .hero .hero-lede span {
    white-space: normal;
  }
}

/* Final homepage overrides */
.site-header {
  width: min(1200px, calc(100% - 96px));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  padding-left: 0;
  padding-right: 0;
}

.brand {
  min-height: 48px;
  gap: 12px;
}

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

.brand [data-name] {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.brand-prefix {
  font-size: 15px;
  font-weight: 700;
  opacity: 0.82;
}

.brand-product {
  font-size: 20px;
  font-weight: 900;
}

.nav {
  gap: clamp(14px, 1.6vw, 24px);
  font-size: 14px;
}

.nav-cta {
  padding: 10px 16px;
  color: #fffdf8;
  background: var(--brass);
  border-radius: 6px;
  opacity: 1 !important;
  box-shadow: 0 10px 24px rgba(8, 182, 91, 0.22);
}

.nav-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.section-inner,
.hero-content {
  width: min(1200px, calc(100% - 96px));
}

.hero {
  min-height: clamp(680px, 82vh, 760px);
  align-items: center;
  background: #2f332f;
}

.hero-scrim {
  background:
    radial-gradient(circle at 78% 46%, rgba(8, 182, 91, 0.16), transparent 30%),
    linear-gradient(0deg, rgba(35, 38, 35, 0.98), rgba(54, 57, 54, 0.96));
}

.hero-content {
  padding: 116px 0 46px;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(360px, 0.45fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.hero-copy {
  min-width: 0;
}

.hero .eyebrow {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.45;
}

.hero h1.mission-title {
  max-width: 720px;
  font-size: clamp(72px, 6.6vw, 82px);
  line-height: 1.08;
}

.hero h1 .mission-line,
.hero h1 .mission-line:last-child {
  margin: 0;
  color: #fffdf8;
  font-size: inherit;
  line-height: inherit;
}

.hero h1 .mission-line:last-child {
  position: relative;
  display: inline-block;
}

.hero h1 .mission-line:last-child::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0.08em;
  right: 0;
  bottom: 0.02em;
  height: 10px;
  background: rgba(8, 182, 91, 0.72);
  border-radius: 999px;
}

.hero h1 .title-bang {
  display: inline;
  color: #08b65b !important;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

@media (max-width: 820px) {
  .hero h1 .title-bang {
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    vertical-align: baseline;
  }
}

.hero h1.mission-title .mission-line .title-bang,
.hero h1.mission-title span.title-bang,
.hero h1 span.title-bang {
  display: inline !important;
  margin: 0 !important;
  color: #08b65b !important;
  font-size: 1em !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  vertical-align: baseline !important;
}

/* Traditional safe visual for homepage */
.safe-visual.safe-visual-cabinet {
  position: relative;
  min-height: 430px;
  opacity: 0.88;
}

.safe-visual-cabinet .safe-glow,
.safe-visual-cabinet .asset-card,
.safe-visual-cabinet .safe-box,
.safe-visual-cabinet .risk-chip {
  display: none !important;
}

.cabinet {
  position: absolute;
  inset: 24px 0 0;
  transform: translateX(8px);
}

.cabinet-body {
  position: absolute;
  right: 12%;
  bottom: 6%;
  width: 72%;
  height: 72%;
  padding: 28px 34px 30px 28px;
  background: linear-gradient(145deg, #4b544c, #1b211d 58%, #101411);
  border: 2px solid rgba(207, 217, 208, 0.22);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 10px rgba(255, 253, 248, 0.035),
    inset 0 0 42px rgba(0, 0, 0, 0.42),
    0 30px 70px rgba(0, 0, 0, 0.28);
}

.cabinet-body::before {
  content: "";
  position: absolute;
  inset: 18px 28px 18px 18px;
  border-radius: 12px;
  background: radial-gradient(circle at 48% 48%, rgba(8, 182, 91, 0.16), rgba(8, 182, 91, 0.03) 38%, transparent 68%);
}

.cabinet-interior {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 78%;
  min-height: 236px;
  padding: 16px;
  background: rgba(7, 10, 8, 0.36);
  border: 1px solid rgba(8, 182, 91, 0.22);
  border-radius: 10px;
  box-shadow: inset 0 0 28px rgba(8, 182, 91, 0.11);
}

.archive-file {
  display: grid;
  min-height: 48px;
  place-items: center;
  color: rgba(255, 253, 248, 0.9);
  background: linear-gradient(180deg, rgba(58, 82, 63, 0.96), rgba(26, 38, 29, 0.96));
  border-left: 5px solid #08b65b;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 900;
}

.archive-file.wide {
  grid-column: 1 / -1;
}

.cabinet-bolts {
  position: absolute;
  top: 70px;
  right: 18px;
  bottom: 70px;
  display: grid;
  align-content: space-between;
}

.cabinet-bolts span {
  width: 18px;
  height: 42px;
  border-radius: 99px;
  background: linear-gradient(180deg, #c5cec6, #717b73);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.22);
}

.cabinet-door {
  position: absolute;
  right: 0;
  bottom: 2%;
  width: 58%;
  height: 78%;
  transform: perspective(900px) rotateY(-18deg);
  transform-origin: right center;
  background: linear-gradient(145deg, #5a625b, #252b27 52%, #151916);
  border: 2px solid rgba(213, 222, 214, 0.26);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 9px rgba(255, 253, 248, 0.04),
    -18px 18px 44px rgba(0, 0, 0, 0.32);
}

.cabinet-door::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  right: -12px;
  width: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #9ba59d, #3d453f);
  box-shadow: 8px 0 18px rgba(0, 0, 0, 0.28);
}

.safe-nameplate {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 128px;
  padding: 8px 16px;
  color: rgba(255, 253, 248, 0.86);
  background: linear-gradient(180deg, #69736b, #303832);
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 4px;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.keypad {
  position: absolute;
  top: 86px;
  left: 30px;
  display: grid;
  grid-template-columns: repeat(3, 12px);
  gap: 8px;
  padding: 12px;
  background: rgba(8, 12, 9, 0.42);
  border: 1px solid rgba(255, 253, 248, 0.1);
  border-radius: 8px;
}

.keypad span {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(199, 211, 202, 0.82);
}

.mechanical-dial {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%);
  border: 11px solid rgba(8, 182, 91, 0.68);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #d5ded7 0 12px, #667269 13px 22px, transparent 23px),
    linear-gradient(145deg, rgba(43, 50, 45, 0.96), rgba(14, 18, 15, 0.98));
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.28);
}

.mechanical-dial i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 12px;
  margin: -6px 0 0 -42px;
  background: linear-gradient(90deg, #858f88, #e4ebe5 50%, #858f88);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.mechanical-dial i:nth-child(2) {
  transform: rotate(120deg);
}

.mechanical-dial i:nth-child(3) {
  transform: rotate(240deg);
}

.hinge {
  position: absolute;
  right: -8px;
  width: 22px;
  height: 62px;
  border-radius: 99px;
  background: linear-gradient(180deg, #bdc7bf, #5f6a62);
}

.hinge-top {
  top: 72px;
}

.hinge-bottom {
  bottom: 72px;
}

.scan-beam {
  position: absolute;
  z-index: 4;
  left: 18%;
  bottom: -4%;
  width: 48%;
  height: 38px;
  color: #fffdf8;
  background: linear-gradient(90deg, transparent, rgba(8, 182, 91, 0.78), transparent);
  border-radius: 999px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  line-height: 38px;
  box-shadow: 0 0 30px rgba(8, 182, 91, 0.22);
}

@media (max-width: 820px) {
  .safe-visual.safe-visual-cabinet {
    min-height: 330px;
  }

  .cabinet {
    inset: 8px 0 0;
    transform: none;
  }

  .cabinet-body {
    right: 8%;
    width: 78%;
    height: 72%;
    padding: 20px 26px 24px 20px;
  }

  .cabinet-door {
    width: 60%;
    height: 76%;
  }

  .cabinet-interior {
    width: 78%;
    gap: 8px;
    min-height: 194px;
    padding: 12px;
  }

  .archive-file {
    min-height: 36px;
    font-size: 12px;
  }

  .scan-beam {
    left: 20%;
    bottom: -2%;
    width: 52%;
  }

  .mechanical-dial {
    width: 100px;
    height: 100px;
    border-width: 8px;
  }

  .mechanical-dial i {
    width: 62px;
    height: 9px;
    margin: -4.5px 0 0 -31px;
  }

  .safe-nameplate {
    top: 18px;
    min-width: 112px;
    font-size: 13px;
  }

  .keypad {
    top: 68px;
    left: 22px;
    transform: scale(0.8);
    transform-origin: left top;
  }
}

.hero-lede {
  max-width: 620px;
  margin-top: 28px;
  color: rgba(255, 253, 248, 0.76);
  font-size: clamp(20px, 1.9vw, 22px);
  line-height: 1.72;
}

.hero-actions {
  gap: 16px;
  margin-top: 30px;
}

.button {
  min-height: 58px;
  padding: 0 28px;
  border-radius: 4px;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fffdf8;
  background: var(--brass);
  border-color: var(--brass);
}

.button.primary:hover {
  filter: brightness(1.08);
}

.button.secondary {
  color: #fffdf8;
  background: transparent;
  border-color: rgba(255, 253, 248, 0.38);
}

.button.secondary:hover {
  border-color: rgba(255, 253, 248, 0.72);
}

.hero-helper {
  margin: 14px 0 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 15px;
  line-height: 1.6;
}

.safe-visual {
  position: relative;
  min-height: 420px;
  opacity: 0.9;
}

.safe-glow {
  position: absolute;
  inset: 8% 4%;
  background: radial-gradient(circle, rgba(8, 182, 91, 0.22), transparent 62%);
  filter: blur(8px);
}

.safe-box {
  position: absolute;
  right: 6%;
  bottom: 14%;
  width: min(78%, 380px);
  aspect-ratio: 1.1 / 1;
  padding: 16px;
  background: linear-gradient(145deg, rgba(90, 98, 91, 0.9), rgba(30, 35, 31, 0.98));
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.safe-door {
  position: relative;
  display: grid;
  height: 100%;
  place-items: center;
  background: linear-gradient(145deg, rgba(39, 45, 40, 0.98), rgba(19, 23, 20, 0.96));
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 18px;
}

.safe-dial {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 10px solid rgba(8, 182, 91, 0.75);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.08);
}

.safe-dial span {
  position: absolute;
  width: 74px;
  height: 6px;
  background: rgba(255, 253, 248, 0.78);
  border-radius: 99px;
}

.safe-dial span:nth-child(2) {
  transform: rotate(60deg);
}

.safe-dial span:nth-child(3) {
  transform: rotate(-60deg);
}

.safe-lock {
  position: absolute;
  right: 18%;
  top: 28%;
  width: 28px;
  height: 58px;
  border-radius: 99px;
  background: linear-gradient(180deg, #c7d0c8, #7d8880);
}

.safe-shield {
  position: absolute;
  left: 12%;
  top: 14%;
  display: grid;
  width: 58px;
  height: 66px;
  place-items: center;
  color: #fffdf8;
  background: var(--brass);
  clip-path: polygon(50% 0, 92% 15%, 86% 70%, 50% 100%, 14% 70%, 8% 15%);
  font-size: 18px;
  font-weight: 900;
}

.asset-card,
.risk-chip {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(255, 253, 248, 0.88);
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  font-size: 15px;
  font-weight: 800;
}

.asset-card {
  width: 112px;
  height: 64px;
}

.card-trademark {
  top: 8%;
  left: 8%;
}

.card-copyright {
  top: 24%;
  right: 4%;
}

.card-store {
  left: 0;
  bottom: 30%;
}

.card-package {
  right: 18%;
  bottom: 4%;
}

.card-license {
  top: 2%;
  right: 28%;
  width: 136px;
}

.risk-chip {
  left: 18%;
  bottom: 8%;
  width: 120px;
  height: 42px;
  color: #fffdf8;
  background: rgba(8, 182, 91, 0.72);
}

.trust-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  padding: 18px 20px;
  color: rgba(255, 253, 248, 0.72);
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(255, 253, 248, 0.08);
  border-radius: 8px;
}

.trust-bar span {
  display: grid;
  min-height: 22px;
  place-items: center;
  padding: 0 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.trust-bar span + span {
  border-left: 1px solid rgba(255, 253, 248, 0.16);
}

.trust-bar strong {
  color: var(--brass);
}

@media (max-width: 1040px) {
  .site-header,
  .section-inner,
  .hero-content {
    width: min(100% - 40px, 1200px);
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 62px;
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 40px));
    padding: 14px;
    color: #fffdf8;
    background: linear-gradient(0deg, rgba(35, 38, 35, 0.98), rgba(54, 57, 54, 0.96));
    border: 1px solid rgba(255, 253, 248, 0.18);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
    gap: 4px;
  }

  .nav a {
    width: 100%;
    padding: 12px 10px;
    text-align: center;
  }

  .nav-cta {
    margin-top: 4px;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 104px 0 30px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero h1.mission-title {
    max-width: 100%;
    font-size: clamp(42px, 11vw, 48px);
  }

  .hero-lede {
    font-size: 18px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .button {
    width: 100%;
    min-height: 56px;
  }

  .safe-visual {
    min-height: 330px;
  }

  .safe-box {
    right: 2%;
    width: min(76%, 310px);
  }

  .asset-card {
    width: 94px;
    height: 54px;
    font-size: 13px;
  }

  .card-license {
    width: 112px;
  }

  .trust-bar {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 0;
    padding: 12px;
  }

  .trust-bar span {
    padding: 10px 8px;
    font-size: 13px;
  }

  .trust-bar span + span {
    border-left: 0;
  }

  .trust-bar span:nth-child(even) {
    border-left: 1px solid rgba(255, 253, 248, 0.14);
  }

  .trust-bar span:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 253, 248, 0.14);
  }
}

/* Absolute final mobile safe tuning: desktop composition scaled smaller */
@media (max-width: 820px) {
  .safe-visual.safe-visual-cabinet {
    width: 100% !important;
    min-height: 310px !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  .safe-visual-cabinet .cabinet {
    width: 720px !important;
    height: 430px !important;
    left: 50% !important;
    top: 6px !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) scale(0.58) !important;
    transform-origin: top center !important;
  }
}

/* True proportional safe: one 720x430 drawing, scaled by viewport */
.safe-visual.safe-visual-cabinet {
  --safe-scale: 0.78;
  min-height: calc(430px * var(--safe-scale) + 42px) !important;
  overflow: visible !important;
}

.safe-visual-cabinet .cabinet {
  width: 720px !important;
  height: 430px !important;
  left: 50% !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  transform: translateX(-50%) scale(var(--safe-scale)) !important;
  transform-origin: top center !important;
}

@media (max-width: 820px) {
  .safe-visual.safe-visual-cabinet {
    --safe-scale: min(0.54, calc((100vw - 36px) / 720));
    min-height: calc(430px * var(--safe-scale) + 48px) !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .hero-shell {
    gap: 34px !important;
  }

  .trust-bar {
    margin-top: 18px !important;
  }
}

/* Final spacing fix: keep the scaled safe visual from overlapping the trust bar */
.safe-visual.safe-visual-cabinet {
  min-height: calc(430px * var(--safe-scale) + 76px) !important;
  margin-bottom: 12px !important;
}

.trust-bar {
  margin-top: 34px !important;
}

@media (max-width: 820px) {
  .safe-visual.safe-visual-cabinet {
    min-height: calc(430px * var(--safe-scale) + 72px) !important;
    margin-bottom: 14px !important;
  }

  .trust-bar {
    margin-top: 28px !important;
  }
}

/* Final unified safe layout: desktop visual, proportionally scaled on all screens */
.safe-visual.safe-visual-cabinet {
  --safe-scale: 0.68;
  width: 100% !important;
  min-height: calc(430px * var(--safe-scale) + 24px) !important;
  margin: 0 auto 20px !important;
  overflow: visible !important;
}

.safe-visual-cabinet .cabinet {
  width: 720px !important;
  height: 430px !important;
  left: 50% !important;
  top: 8px !important;
  right: auto !important;
  bottom: auto !important;
  transform: translateX(-50%) scale(var(--safe-scale)) !important;
  transform-origin: top center !important;
}

.safe-visual-cabinet .cabinet-body {
  left: 3% !important;
  right: auto !important;
  bottom: 8% !important;
  width: 78% !important;
  height: 72% !important;
  padding: 30px 26px !important;
}

.safe-visual-cabinet .cabinet-interior {
  width: 54% !important;
  min-height: 246px !important;
  padding: 14px !important;
  gap: 10px !important;
  grid-template-columns: repeat(2, minmax(82px, 1fr)) !important;
}

.safe-visual-cabinet .archive-file {
  min-height: 42px !important;
  padding: 0 6px !important;
  gap: 4px !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}

.safe-visual-cabinet .archive-file::before {
  width: 18px !important;
  height: 18px !important;
  font-size: 13px !important;
}

.safe-visual-cabinet .archive-file.wide {
  grid-column: 1 / -1 !important;
}

.safe-visual-cabinet .icon-store::before {
  content: "店" !important;
}

.safe-visual-cabinet .icon-package::before {
  content: "箱" !important;
}

.safe-visual-cabinet .icon-license::before {
  content: "授" !important;
}

.safe-visual-cabinet .icon-font::before {
  content: "字" !important;
}

.safe-visual-cabinet .icon-video::before {
  content: "▶" !important;
}

.safe-visual-cabinet .cabinet-door {
  right: 1% !important;
  bottom: 4% !important;
  width: 48% !important;
  height: 76% !important;
  transform: perspective(900px) rotateY(-22deg) !important;
  transform-origin: right center !important;
}

.safe-visual-cabinet .keypad {
  top: 86px !important;
  left: 28px !important;
  transform: none !important;
}

.safe-visual-cabinet .mechanical-dial {
  top: 58% !important;
  width: 118px !important;
  height: 118px !important;
  border-width: 10px !important;
}

.safe-visual-cabinet .mechanical-dial i {
  width: 62px !important;
  height: 13px !important;
  margin: -6.5px 0 0 -31px !important;
}

.safe-visual-cabinet .hinge {
  right: -10px !important;
  width: 20px !important;
}

.safe-visual-cabinet .cabinet-bolts {
  top: 72px !important;
  right: 18px !important;
  bottom: 92px !important;
}

.safe-visual-cabinet .cabinet-bolts span {
  width: 24px !important;
  height: 32px !important;
}

.safe-visual-cabinet .scan-beam {
  left: 12% !important;
  bottom: 2% !important;
  width: 46% !important;
  height: 30px !important;
  line-height: 30px !important;
  font-size: 15px !important;
}

.trust-bar {
  margin-top: 20px !important;
}

@media (min-width: 1180px) {
  .safe-visual.safe-visual-cabinet {
    --safe-scale: 0.72;
  }
}

@media (max-width: 820px) {
  .safe-visual.safe-visual-cabinet {
    --safe-scale: min(0.52, calc((100vw - 24px) / 720));
    min-height: calc(430px * var(--safe-scale) + 36px) !important;
    margin: 8px auto 24px !important;
    overflow: visible !important;
  }

  .safe-visual-cabinet .cabinet {
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) scale(var(--safe-scale)) !important;
    transform-origin: top center !important;
  }

  .trust-bar {
    margin-top: 18px !important;
  }
}

/* Desktop restore: use the fuller safe proportion the user approved */
@media (min-width: 821px) {
  .hero-shell {
    grid-template-columns: minmax(540px, 1fr) minmax(500px, 0.95fr) !important;
    gap: clamp(32px, 4vw, 56px) !important;
  }

  .safe-visual.safe-visual-cabinet {
    --safe-scale: 0.76 !important;
    min-height: calc(430px * var(--safe-scale) + 34px) !important;
    margin: 0 auto 16px !important;
    overflow: visible !important;
  }

  .safe-visual-cabinet .cabinet {
    width: 720px !important;
    height: 430px !important;
    left: 50% !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) scale(var(--safe-scale)) !important;
    transform-origin: top center !important;
  }
}

/* Desktop hero restore: match the approved two-column layout */
@media (min-width: 821px) {
  .hero-content {
    width: min(1200px, calc(100% - 48px)) !important;
  }

  .hero-shell {
    display: grid !important;
    grid-template-columns: minmax(540px, 1fr) minmax(500px, 0.95fr) !important;
    gap: clamp(32px, 4vw, 56px) !important;
    align-items: center !important;
  }

  .hero-copy {
    min-width: 0 !important;
    max-width: 620px !important;
    z-index: 2 !important;
  }

  .hero h1.mission-title {
    max-width: 620px !important;
    font-size: clamp(58px, 5.2vw, 70px) !important;
    line-height: 1.08 !important;
  }

  .hero h1 .mission-line {
    display: block !important;
    white-space: nowrap !important;
  }

  .safe-visual.safe-visual-cabinet {
    --safe-scale: 0.72 !important;
    justify-self: end !important;
    width: 540px !important;
    min-height: calc(430px * var(--safe-scale) + 28px) !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .safe-visual-cabinet .cabinet {
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) scale(var(--safe-scale)) !important;
  }
}

@media (min-width: 821px) and (max-width: 1120px) {
  .hero-content {
    width: min(1120px, calc(100% - 32px)) !important;
  }

  .hero-shell {
    grid-template-columns: minmax(480px, 1fr) minmax(430px, 0.9fr) !important;
    gap: 24px !important;
  }

  .hero h1.mission-title {
    font-size: clamp(52px, 5vw, 62px) !important;
  }

  .safe-visual.safe-visual-cabinet {
    --safe-scale: 0.64 !important;
    width: 460px !important;
  }
}

/* Keep the approved desktop safe full and visible inside the hero */
@media (min-width: 821px) {
  .hero,
  .hero-content,
  .hero-shell {
    overflow: visible !important;
  }

  .safe-visual.safe-visual-cabinet {
    justify-self: stretch !important;
  }
}

.hero h1 .title-accent {
  color: var(--brass) !important;
}

/* Hide the old hero underline */
.hero h1 .mission-line:last-child::after {
  display: none !important;
  content: none !important;
}

@media (min-width: 821px) {
  .trust-bar span {
    white-space: nowrap !important;
  }
}

.brand-checkup-visual {
  padding: 0 !important;
  background: #111512 !important;
}

.brand-checkup-visual img {
  display: block;
  width: 100vw !important;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  margin: 0 calc(50% - 50vw) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 820px) {
  .brand-checkup-visual {
    padding: 0 !important;
  }

  .brand-checkup-visual .section-inner {
    width: 100% !important;
  }

  .brand-checkup-visual img {
    width: 100vw !important;
    margin: 0 calc(50% - 50vw) !important;
    border-radius: 0 !important;
  }
}

/* Remove the right-side safe illustration on desktop and mobile */
.safe-visual.safe-visual-cabinet {
  display: none !important;
}

.hero-shell {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* Homepage image replacement: use provided 010_品牌保险箱 image */
.safe-visual.safe-visual-cabinet {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  align-self: center !important;
  justify-self: end !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(13, 18, 14, 0.08), rgba(13, 18, 14, 0.08)),
    url("./assets/010-brand-safe.png") center / contain no-repeat !important;
  filter: saturate(0.96) contrast(1.03);
}

.safe-visual.safe-visual-cabinet .cabinet {
  display: none !important;
}

@media (min-width: 821px) {
  .hero-shell {
    grid-template-columns: minmax(500px, 0.9fr) minmax(460px, 1fr) !important;
    gap: clamp(36px, 4.5vw, 64px) !important;
    align-items: center !important;
  }

  .safe-visual.safe-visual-cabinet {
    max-width: 590px !important;
  }
}

@media (max-width: 820px) {
  .hero-shell {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .safe-visual.safe-visual-cabinet {
    width: 100% !important;
    max-width: 680px !important;
    margin: 4px auto 0 !important;
    border-radius: 10px !important;
  }
}

/* Desktop hero background: fill the full first screen with 010_品牌保险箱 */
@media (min-width: 821px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(35, 38, 35, 0.94) 0%, rgba(35, 38, 35, 0.86) 39%, rgba(35, 38, 35, 0.24) 66%, rgba(35, 38, 35, 0.04) 100%),
      linear-gradient(0deg, rgba(35, 38, 35, 0.22), rgba(35, 38, 35, 0.22)),
      url("./assets/010-brand-safe-cropped.png") 100% center / cover no-repeat !important;
  }

  .hero-media,
  .hero-scrim,
  .safe-visual.safe-visual-cabinet {
    display: none !important;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 620px) !important;
  }

  .hero-copy {
    max-width: 620px !important;
  }
}

/* Final hero title polish */
.hero .eyebrow {
  color: #fffdf8 !important;
}

.hero h1.mission-title {
  font-size: clamp(52px, 5.2vw, 70px) !important;
}

.hero h1 .mission-line {
  display: block !important;
  color: #fffdf8 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.hero h1 .mission-line:last-child {
  white-space: nowrap !important;
}

.hero h1 .title-accent {
  display: inline !important;
  margin: 0 !important;
  color: var(--brass) !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

@media (max-width: 820px) {
  .hero h1.mission-title {
    font-size: clamp(40px, 9.6vw, 48px) !important;
  }
}
