/* Phase 1 UX, accessibility, and independence refinements */
.skip-link {
  position: fixed;
  z-index: 999;
  left: 16px;
  top: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #ffffff;
  color: #0d1b2a;
  font: 700 13px/1.2 'Inter', Arial, sans-serif;
  box-shadow: 0 10px 30px rgba(13, 27, 42, .18);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

body.phase-one-ready .beta-banner {
  margin-top: 76px;
  padding: 10px max(20px, calc((100vw - 1200px) / 2));
}
body.phase-one-ready .hero { padding-top: 0; }

.independence-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.25fr repeat(2, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(13, 27, 42, .12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(13, 27, 42, .06);
}
.independence-strip > div {
  min-height: 106px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 25px;
  border-right: 1px solid rgba(13, 27, 42, .1);
}
.independence-strip > div:last-child { border-right: 0; }
.independence-strip strong {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  line-height: 1.35;
}
.independence-strip p {
  margin-top: 7px;
  color: #5d6873;
  font-size: 12px;
  line-height: 1.55;
}
.independence-strip .independence-primary {
  color: #fff;
  background: #0d1b2a;
}
.independence-strip .independence-primary strong { color: #f3c568; }
.independence-strip .independence-primary p { color: rgba(255,255,255,.76); }

.search-panel.is-product-preview { position: absolute; }
.product-preview-label {
  position: absolute;
  top: -13px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 11px;
  border: 1px solid rgba(217,164,65,.42);
  border-radius: 999px;
  background: #fff7e7;
  color: #805b15;
  font: 700 10px/1 'Inter', Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(13,27,42,.08);
}
.search-panel.is-product-preview input:disabled {
  cursor: not-allowed;
  opacity: .72;
  -webkit-text-fill-color: #435261;
}
.search-panel.is-product-preview .field { background: #fbfaf7; }

.phase-note {
  display: inline-flex;
  margin-top: 9px;
  color: #8b6114;
  font: 700 10px/1.35 'Inter', Arial, sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.newsletter-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.newsletter-action .button { min-width: 190px; }

.trust-current-status {
  border-bottom: 1px solid rgba(13,27,42,.12);
  background: #0d1b2a;
  color: #fff;
}
.trust-current-status-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 46px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font: 600 13px/1.45 'Inter', Arial, sans-serif;
}
.trust-current-status strong { color: #f3c568; }
.trust-current-status a { color: #fff; font-weight: 700; }

.trust-menu-button,
.trust-mobile-nav { display: none; }
.trust-menu-button {
  width: 42px;
  height: 42px;
  align-content: center;
  gap: 5px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.trust-menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0d1b2a;
  transition: transform .25s ease, opacity .2s ease;
}
.trust-menu-button[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.trust-menu-button[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.trust-menu-button[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.trust-menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .trust-header-cta { margin-left: auto; }
  .trust-menu-button { display: grid; }
  .trust-mobile-nav {
    position: fixed;
    z-index: 39;
    inset: 82px 0 auto;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    padding: 24px 20px 30px;
    border-bottom: 1px solid rgba(13,27,42,.12);
    background: #f7f3ec;
    box-shadow: 0 20px 50px rgba(13,27,42,.12);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .trust-mobile-nav.open {
    display: grid;
    gap: 7px;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }
  .trust-mobile-nav a {
    padding: 13px 12px;
    border-radius: 7px;
    color: #0d1b2a;
    text-decoration: none;
    font: 650 15px/1.2 'Inter', Arial, sans-serif;
  }
  .trust-mobile-nav a:hover,
  .trust-mobile-nav a[aria-current='page'] { background: #0d1b2a; color: #fff; }
  .independence-strip { grid-template-columns: 1fr; }
  .independence-strip > div { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(13,27,42,.1); }
  .independence-strip > div:last-child { border-bottom: 0; }
  .newsletter-action { justify-content: flex-start; }
}

@media (max-width: 820px) {
  body.phase-one-ready .beta-banner { margin-top: 68px; }
  .product-preview-label { right: 14px; }
}

@media (max-width: 620px) {
  .trust-current-status-inner { width: min(100% - 28px, 1160px); padding: 10px 0; }
  .trust-header-cta { display: none; }
  .trust-mobile-nav { inset: 70px 0 auto; max-height: calc(100vh - 70px); }
  .beta-banner { font-size: 12px; }
}
