

.hero-polish {
  --hp-pad-b: clamp(112px, 8vw, 128px);     
  --hp-overlap: clamp(110px, 10.5vw, 168px); 
  --hp-navy: var(--tb-end, #1C3A66);          
  --hp-mid: var(--tb-mid, #B9C8D3);           
  --hp-shadow: 13, 30, 58;                   
  padding: clamp(128px, 14.5vh, 164px) 0 var(--hp-pad-b);
}

.hero-polish .tb-bg {
  bottom: calc(var(--hp-pad-b) + var(--hp-overlap));
  
  background: linear-gradient(180deg, var(--ivory) 20%, var(--hp-mid) 58%, var(--hp-navy) 100%);
  
  background: linear-gradient(in oklab 180deg,
    var(--ivory) 0%,
    var(--ivory) 20%,
    color-mix(in oklab, var(--hp-mid) 6%, var(--ivory)) 29.5%,
    color-mix(in oklab, var(--hp-mid) 25%, var(--ivory)) 39%,
    color-mix(in oklab, var(--hp-mid) 56%, var(--ivory)) 48.5%,
    var(--hp-mid) 58%,
    color-mix(in oklab, var(--hp-navy) 20%, var(--hp-mid)) 68.5%,
    color-mix(in oklab, var(--hp-navy) 43%, var(--hp-mid)) 79%,
    color-mix(in oklab, var(--hp-navy) 70%, var(--hp-mid)) 89.5%,
    var(--hp-navy) 100%);
}

.hero-polish .tb-frame::after { display: none; }

.hero-polish .tb-copy { max-width: calc(1000px + 2 * var(--gutter)); }

.hero-polish h1 {
  margin: 0 auto clamp(20px, 1.9vw, 28px);
}
.hero-polish .tb-sub {
  max-width: 760px;
  line-height: 1.62;
  text-wrap: balance;
  margin: 0 auto clamp(30px, 2.8vw, 40px);
}

.hero-polish .tb-actions { align-items: center; gap: 12px 30px; }
.hero-polish .tb-actions .btn-primary {
  padding: 16px 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(var(--hp-shadow), 0.22), 0 10px 22px -12px rgba(var(--hp-shadow), 0.7);
}
.hero-polish .tb-actions .btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 2px 4px rgba(var(--hp-shadow), 0.22), 0 14px 26px -12px rgba(var(--hp-shadow), 0.75);
}
.hero-polish .tb-actions .btn-ghost {
  gap: 9px;
  padding: 14px 2px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(21, 37, 61, 0.3);
  transition: text-decoration-color 0.2s var(--ease), color 0.2s var(--ease);
}
.hero-polish .tb-actions .btn-ghost:hover { background: none; text-decoration-color: currentColor; }

.hero-polish .tb-actions .btn-ghost::after {
  content: ''; width: 6px; height: 6px; margin-top: 1px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg); transition: transform 0.25s var(--ease);
}
.hero-polish .tb-actions .btn-ghost:hover::after { transform: translateX(3px) rotate(-45deg); }

.hero-polish .tb-proof {
  gap: 10px 0;
  margin-top: clamp(26px, 2.6vw, 34px);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink); 
}
.hero-polish .tb-proof li { gap: 8px; padding: 0 16px; line-height: 1.3; }
.hero-polish .tb-proof li + li { border-left: 1px solid var(--line-strong); }
.hero-polish .tb-proof li::before {
  width: 13px; height: 13px; flex: none; border-radius: 0;
  background: var(--sage-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4l3 3 6-6.6' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4l3 3 6-6.6' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero-polish .tb-stage { margin-top: clamp(52px, 5.4vw, 80px); }
.hero-polish .fx {
  border: 1px solid rgba(21, 37, 61, 0.12);
  border-radius: 14px;
  box-shadow:
    0 1px 1px rgba(var(--hp-shadow), 0.05),
    0 2px 4px rgba(var(--hp-shadow), 0.06),
    0 12px 24px -8px rgba(var(--hp-shadow), 0.16),
    0 32px 64px -24px rgba(var(--hp-shadow), 0.32);
}

.hero-polish .fx-carousel .fx:not(.fx-in-next):not(.fx-in-prev) { animation: hp-rise 0.9s cubic-bezier(0.2, 0.7, 0.1, 1) 0.15s both; }
@keyframes hp-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.hero-polish .fx-arrow {
  width: 48px; height: 48px; margin-top: -24px;
  border: 0; background: var(--white); color: var(--charcoal);
  box-shadow: 0 0 0 1px rgba(21, 37, 61, 0.08), 0 1px 2px rgba(var(--hp-shadow), 0.14), 0 6px 16px -4px rgba(var(--hp-shadow), 0.3);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.hero-polish .fx-arrow.prev { left: calc(-1 * clamp(24px, (100vw - 100%) / 2 - 16px, 80px)); }
.hero-polish .fx-arrow.next { right: calc(-1 * clamp(24px, (100vw - 100%) / 2 - 16px, 80px)); }
.hero-polish .fx-arrow svg { width: 20px; height: 20px; stroke-width: 1.75; transition: transform 0.25s var(--ease); }
.hero-polish .fx-arrow:hover { transform: none; background: var(--charcoal); color: var(--white); }
.hero-polish .fx-arrow.prev:hover svg { transform: translateX(-2px); }
.hero-polish .fx-arrow.next:hover svg { transform: translateX(2px); }
.hero-polish .fx-arrow:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; box-shadow: 0 0 0 1px rgba(21, 37, 61, 0.08), 0 0 0 7px var(--blue-deep); }

.hero-polish .fx-dots { left: 50%; top: 100%; margin-top: 20px; transform: translateX(-50%); gap: 2px; }
.hero-polish .fx-pip { position: relative; width: 24px; height: 24px; border-radius: 99px; background: none; transition: width 0.3s var(--ease); }
.hero-polish .fx-pip::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; transform: translate(-50%, -50%);
  border-radius: 99px; border: 1.5px solid rgba(21, 37, 61, 0.45); box-sizing: border-box;
  transition: width 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.hero-polish .fx-pip:hover::before { border-color: var(--charcoal); }
.hero-polish .fx-pip[aria-current="true"] { width: 40px; background: none; }
.hero-polish .fx-pip[aria-current="true"]::before { width: 26px; background: var(--charcoal); border-color: var(--charcoal); }

.hero-polish .fx-stage .dash-note {
  position: absolute; left: 0; right: 0; top: 100%; margin-top: 58px;
  text-align: center; font-size: 0.78rem; line-height: 1.5; color: var(--ink-soft);
}
.hero-polish .hp-note-k { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--charcoal); }
.hero-polish .hp-note-k::after { content: ''; display: inline-block; width: 1px; height: 11px; margin: 0 12px; vertical-align: -1px; background: var(--line-strong); }

.hero-polish + .problem { border-top: 0; padding-top: clamp(72px, 7vw, 104px); }

@media (max-width: 1000px) {
  
  .hero-polish .tb-proof { flex-direction: column; align-items: flex-start; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; gap: 9px; }
  .hero-polish .tb-proof li { padding: 0; }
  .hero-polish .tb-proof li + li { border-left: 0; }
}
@media (max-width: 900px) {
  .hero-polish { --hp-pad-b: 150px; --hp-overlap: 120px; }
  
  .hero-polish .fx-arrow { top: 100%; width: 44px; height: 44px; margin-top: 12px; }
  .hero-polish .fx-arrow.prev { left: 0; }
  .hero-polish .fx-arrow.next { right: 0; }
  .hero-polish .fx-dots { top: 100%; margin-top: 22px; }
  .hero-polish .fx-stage .dash-note { position: absolute; display: block; top: 100%; margin: 76px 0 0; text-align: center; }
  .hero-polish .fx-arrow:focus-visible { outline-color: var(--blue-deep); box-shadow: 0 0 0 1px rgba(21, 37, 61, 0.12), 0 6px 16px -4px rgba(var(--hp-shadow), 0.3); }
  .hero-polish .tb-bg {
    background: linear-gradient(180deg, var(--ivory) 28%, var(--hp-mid) 64%, var(--hp-navy) 100%);
    background: linear-gradient(in oklab 180deg,
      var(--ivory) 0%,
      var(--ivory) 28%,
      color-mix(in oklab, var(--hp-mid) 8%, var(--ivory)) 37%,
      color-mix(in oklab, var(--hp-mid) 30%, var(--ivory)) 46%,
      color-mix(in oklab, var(--hp-mid) 62%, var(--ivory)) 55%,
      var(--hp-mid) 64%,
      color-mix(in oklab, var(--hp-navy) 20%, var(--hp-mid)) 73%,
      color-mix(in oklab, var(--hp-navy) 45%, var(--hp-mid)) 82%,
      color-mix(in oklab, var(--hp-navy) 72%, var(--hp-mid)) 91%,
      var(--hp-navy) 100%);
  }
}
@media (max-width: 560px) {
  .hero-polish h1 { text-wrap: balance; }
  .hero-polish .tb-actions { flex-direction: column; gap: 6px; }
  .hero-polish .tb-actions .btn-primary { width: 100%; max-width: 340px; }
  .hero-polish .hp-note-k { display: block; margin-bottom: 2px; }
  .hero-polish .hp-note-k::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-polish .fx-carousel .fx,
  .hero-polish .fx-carousel .fx:not(.fx-in-next):not(.fx-in-prev) { animation: none; }
  .hero-polish .fx-arrow, .hero-polish .fx-arrow svg, .hero-polish .fx-pip, .hero-polish .fx-pip::before,
  .hero-polish .tb-actions .btn-ghost, .hero-polish .tb-actions .btn-ghost::after { transition: none; }
}
