/* Trust Center — homepage language, /extension reveal motion on inner wrappers only. */

.trust-page section {
  transform: none;
  filter: none;
}

.trust-page .hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: auto;
  padding: 64px 28px 56px;
}

.trust-page .hero h1 {
  max-width: 11ch;
}

.trust-page .hero-lede {
  max-width: 38rem;
}

.trust-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1180px, 100%);
  margin: 28px auto 0;
  position: relative;
  z-index: 1;
}

.trust-toc a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.trust-toc a:hover {
  background: #fff;
  color: #07111f;
  border-color: #fff;
  transform: translateY(-1px);
}

.trust-read {
  width: min(720px, 100%);
}

.trust-read h2,
.trust-copy h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.trust-page .story__copy p,
.trust-copy p,
.trust-read > p,
.trust-faq dd,
.trust-faq details p {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.trust-copy p + p,
.trust-read > p + p {
  margin-top: 14px;
}

.trust-copy ul,
.trust-read ul {
  margin: 16px 0 0;
  padding: 0 0 0 1.15rem;
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.trust-copy li + li,
.trust-read li + li {
  margin-top: 8px;
}

.trust-facts {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.trust-facts div {
  display: grid;
  gap: 6px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.trust-facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.trust-facts dd {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--fg);
}

.trust-facts a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  padding-bottom: 1px;
  transition: background-size 0.28s var(--ease);
}

.trust-facts a:hover {
  background-size: 100% 1px;
}

.trust-facts .trust-duns {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.trust-figure {
  position: relative;
  min-height: 280px;
  padding: 28px 24px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.trust-lane {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.trust-lane b {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.trust-lane span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.trust-lane--off {
  background: transparent;
  border-style: dashed;
}

.trust-mac {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
}

.trust-mac__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-mac__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.trust-mac__title {
  margin-left: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.trust-mac__lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex: none;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.trust-figure .trust-mac__lock svg {
  display: block;
  flex: none;
  width: 12px;
  height: 12px;
}

.trust-mac__body {
  padding: 8px;
  display: grid;
  gap: 4px;
}

.trust-mac__stage {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 10px;
  align-items: center;
  min-height: 68px;
  margin-bottom: 4px;
  padding: 8px;
  border-radius: 8px;
  background: var(--paper);
}

.trust-mac__page {
  display: grid;
  gap: 7px;
}

.trust-mac__line {
  display: block;
  height: 5px;
  width: 100%;
  border-radius: 99px;
  background: rgba(7, 17, 31, 0.1);
}

.trust-mac__line--short {
  width: 42%;
}

.trust-mac__line--mid {
  width: 68%;
}

.trust-mac__image {
  position: relative;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(165deg, #8fd4f4 0%, #4aa8d8 58%, #2f7eac 100%);
}

.trust-mac__select {
  position: absolute;
  inset: 5px;
  border: 1.5px dashed #d7f3ff;
  border-radius: 3px;
  transform: scale(0);
  transform-origin: 0 0;
  opacity: 0;
  pointer-events: none;
}

.trust-mac__flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

.trust-mac__row {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 8px;
}

.trust-mac__row--shot,
.trust-mac__row--mark {
  background: var(--paper);
}

.trust-mac__icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.trust-figure .trust-mac__icon svg,
.trust-figure .trust-cloud__mark svg {
  display: block;
  width: 16px;
  height: 16px;
}

.trust-mac__rec-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e24b4b;
  box-shadow: 0 0 0 1.5px var(--card);
  opacity: 1;
}

.trust-mac__pulse {
  position: absolute;
  inset: 0;
  border: 1.5px solid #4aa8d8;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
}

.trust-mac__name {
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trust-mac__where {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.trust-cloud {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

.trust-cloud__mark {
  position: relative;
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.trust-cloud__strike {
  position: absolute;
  left: -3px;
  right: -3px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 99px;
  background: #07111f;
  transform: rotate(-28deg) scaleX(1);
  transform-origin: center;
}

html[data-theme="dark"] .trust-mac__line {
  background: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .trust-mac__select {
  border-color: #7ec8f0;
}

html[data-theme="dark"] .trust-mac__pulse {
  border-color: #7ec8f0;
}

html[data-theme="dark"] .trust-cloud__strike {
  background: #e8ecf2;
}

@media (prefers-reduced-motion: no-preference) {
  .trust-figure.is-armed:not(.is-playing) .trust-mac__row {
    opacity: 0;
    transform: translateY(8px);
  }

  .trust-figure.is-armed:not(.is-playing) .trust-mac__select {
    opacity: 0;
    transform: scale(0);
  }

  .trust-figure.is-armed:not(.is-playing) .trust-mac__rec-dot {
    opacity: 0.35;
  }

  .trust-figure.is-armed:not(.is-playing) .trust-cloud__strike {
    transform: rotate(-28deg) scaleX(0);
  }

  .trust-figure.is-playing .trust-mac__select {
    animation: trust-mac-select 2.05s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .trust-figure.is-playing .trust-mac__flash {
    animation: trust-mac-flash 0.42s ease-out 1.18s both;
  }

  .trust-figure.is-playing .trust-mac__row--shot {
    animation: trust-mac-rise 0.42s cubic-bezier(0.16, 1, 0.3, 1) 1.22s both;
  }

  .trust-figure.is-playing .trust-mac__pulse {
    animation: trust-mac-pulse 0.9s ease-out 1.22s both;
  }

  .trust-figure.is-playing .trust-mac__row--rec {
    animation: trust-mac-rise 0.42s cubic-bezier(0.16, 1, 0.3, 1) 1.48s both;
  }

  .trust-figure.is-playing .trust-mac__row--mark {
    animation: trust-mac-rise 0.42s cubic-bezier(0.16, 1, 0.3, 1) 1.72s both;
  }

  .trust-figure.is-playing .trust-mac__rec-dot {
    animation: trust-mac-rec 2.4s ease-in-out 1.48s both;
  }

  .trust-figure.is-playing .trust-cloud__strike {
    animation: trust-mac-strike 0.5s cubic-bezier(0.16, 1, 0.3, 1) 2.95s both;
  }
}

@keyframes trust-mac-select {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  24% {
    transform: scale(1);
    opacity: 1;
  }
  62% {
    transform: scale(1);
    opacity: 1;
  }
  88%,
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes trust-mac-flash {
  0% {
    opacity: 0;
  }
  35% {
    opacity: 0.88;
  }
  100% {
    opacity: 0;
  }
}

@keyframes trust-mac-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes trust-mac-pulse {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  18% {
    opacity: 1;
    transform: scale(1);
  }
  55% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

@keyframes trust-mac-rec {
  0%,
  100% {
    opacity: 1;
  }
  16%,
  48%,
  80% {
    opacity: 0.28;
  }
  32%,
  64% {
    opacity: 1;
  }
}

@keyframes trust-mac-strike {
  from {
    transform: rotate(-28deg) scaleX(0);
  }
  to {
    transform: rotate(-28deg) scaleX(1);
  }
}

.trust-claim .privacy-inner {
  width: min(1120px, 100%);
  display: grid;
  gap: 36px;
  align-items: start;
}

.trust-claim h2 {
  max-width: 16ch;
}

.trust-claim p {
  max-width: 54ch;
  color: #b7bfce;
}

.privacy .trust-claim-pull {
  margin: 0;
  max-width: 12ch;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #e8ecf2;
}

.trust-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.trust-policies a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(7, 17, 31, 0.55);
  border-radius: 8px;
  background: transparent;
  color: #07111f;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.trust-policies a:hover {
  background: #07111f;
  color: #fff;
  border-color: #07111f;
  transform: translateY(-1px);
}

html[data-theme="dark"] .trust-policies a {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

html[data-theme="dark"] .trust-policies a:hover {
  background: #fff;
  color: #07111f;
  border-color: #fff;
}

.trust-faq {
  margin: 28px 0 0;
}

.trust-faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.trust-faq details:first-child {
  border-top: 1px solid var(--line);
}

.trust-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.trust-faq summary::-webkit-details-marker {
  display: none;
}

.trust-faq summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.45;
  transition: transform 0.22s var(--ease);
}

.trust-faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 6px;
}

.trust-faq details p {
  margin: 12px 0 0;
}

/* In flow. A play-once fade changes pixels while SnapMatrix Auto settles. */
.studio-reveal,
.studio-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.studio-reveal-delay-1 {
  transition-delay: 0.08s;
}

.studio-reveal-delay-2 {
  transition-delay: 0.16s;
}

.studio-reveal-delay-3 {
  transition-delay: 0.24s;
}

html:not(.js) .studio-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (min-width: 980px) {
  .trust-toc {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .trust-page .hero {
    padding: 80px 28px 72px;
  }

  .trust-facts div {
    grid-template-columns: 11rem 1fr;
    align-items: baseline;
    padding: 18px 0;
  }

  .trust-claim .privacy-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-reveal,
  .trust-toc a:hover,
  .trust-policies a:hover,
  .trust-mac__select,
  .trust-mac__flash,
  .trust-mac__row,
  .trust-mac__pulse,
  .trust-mac__rec-dot,
  .trust-cloud__strike {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .trust-mac__select,
  .trust-mac__flash,
  .trust-mac__pulse {
    opacity: 0;
  }

  .trust-cloud__strike {
    transform: rotate(-28deg) scaleX(1);
  }
}
