/* Customer trust layer: one primary flow, restrained sectioning, preserved business context. */

.trust-home {
  gap: 0;
}

.trust-hero {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 40%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, var(--accent) 4%), var(--surface));
}

.trust-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.trust-hero-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-shield {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 14px;
  color: var(--success);
  background: var(--success-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--success) 18%, transparent);
}

.trust-shield svg { width: 21px; height: 21px; }

.trust-hero-status {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.trust-hero-status > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--success);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.trust-hero-status > span > i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 11%, transparent);
}

.trust-hero-status > small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.trust-hero-copy {
  max-width: 650px;
  margin-top: 19px;
}

.trust-hero-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.trust-hero-copy p {
  max-width: 590px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.trust-hero-actions {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

.trust-connect {
  min-width: 230px;
  min-height: 52px;
  padding-inline: 20px;
  border-radius: 16px;
}

.trust-renew {
  min-height: 52px;
  padding-inline: 17px;
}

/* QR and copy are part of the connection flow, not separate content cards. */
.trust-connect-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.trust-connect-tools > button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 650;
}

.trust-connect-tools > button:hover {
  color: var(--text);
  background: var(--accent-soft);
}

.trust-connect-tools svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
}

.trust-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.35;
}

.trust-note svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.trust-info {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.trust-info-row {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
}

.trust-info-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.trust-row-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--cyan);
  background: var(--cyan-soft);
}

.trust-row-icon svg { width: 20px; height: 20px; }

.trust-row-copy { min-width: 0; }

.trust-row-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.trust-row-title b {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.trust-row-title strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.trust-row-title strong small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 560;
}

.trust-progress {
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line-strong);
}

.trust-progress > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}

.trust-row-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

.trust-row-meta button {
  min-height: 26px;
  padding: 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-size: 10px;
  font-weight: 670;
}

.trust-device-row { cursor: pointer; }
.trust-device-row .trust-row-copy { align-self: center; }
.trust-device-row .trust-row-title { align-items: center; }
.trust-chevron { width: 18px; height: 18px; color: var(--faint); }

.trust-profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 2px 8px;
}

.trust-profile-head .profile-avatar { flex: 0 0 auto; }
.trust-profile-head h2 { margin: 0; color: var(--text); font-size: 20px; font-weight: 720; }
.trust-profile-head p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }

@media (max-width: 700px) {
  .app-bar {
    display: flex !important;
    position: static !important;
    min-height: 58px !important;
    padding: 8px 0 6px !important;
    border: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .mobile-brand { display: flex !important; gap: 9px; }
  .mobile-brand .brand-mark { width: 36px !important; height: 30px !important; flex-basis: 36px !important; }
  .mobile-brand b { display: inline !important; font-size: 14px !important; letter-spacing: .11em !important; }
  .app-bar > .avatar { display: inline-flex !important; width: 40px !important; height: 40px !important; flex-basis: 40px !important; }
  .workspace { padding-top: 0 !important; }
  .screen { padding-top: 5px !important; }

  .trust-hero {
    padding: 18px 16px 16px;
    border-radius: 20px;
  }

  .trust-shield {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
  }

  .trust-hero-status > span { font-size: 11px; }
  .trust-hero-status > small { font-size: 10px; }
  .trust-hero-copy { margin-top: 15px; }
  .trust-hero-copy h2 { font-size: 29px; line-height: 1.04; }
  .trust-hero-copy p { margin-top: 8px; font-size: 13px; line-height: 1.45; }
  .trust-hero-actions { margin-top: 18px; }

  .trust-connect {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    font-size: 15px;
  }

  .trust-hero-actions:not(.has-renewal) .trust-connect { width: 100%; }
  .trust-hero-actions.has-renewal { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .trust-renew { width: 100%; min-height: 54px; }

  .trust-connect-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-top: 7px;
  }

  .trust-connect-tools > button {
    min-height: 38px;
    justify-content: center;
    padding-inline: 6px;
    font-size: 11px;
  }

  .trust-note { margin-top: 7px; font-size: 9px; }
  .trust-info { margin-top: 17px; }

  .trust-info-row {
    min-height: 70px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    padding-block: 11px;
  }

  .trust-row-icon { width: 38px; height: 38px; border-radius: 12px; }
  .trust-row-title b { font-size: 13px; }
  .trust-row-title strong { font-size: 16px; }
}

@media (max-width: 390px) {
  .trust-hero { padding-inline: 14px; }
  .trust-hero-copy h2 { font-size: 27px; }
  .trust-hero-actions.has-renewal { grid-template-columns: 1fr; }
  .trust-info-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .trust-row-icon { width: 34px; height: 34px; }
  .trust-row-title { gap: 8px; }
  .trust-row-title strong { font-size: 14px; }
  .trust-row-title strong small { display: block; text-align: right; }
  .trust-connect-tools > button { font-size: 10px; }
}
