.welcome-copy {
  max-width: 560px;
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.first-run-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
  gap: 25px;
  margin: 16px 0 18px;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(238, 246, 250, .96));
  box-shadow: 0 18px 42px rgba(6, 30, 64, .17);
}

.first-run-copy > span {
  color: #2b658f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.first-run-copy h3 {
  margin: 8px 0;
  color: #173b61;
  font-size: 21px;
  letter-spacing: -.025em;
}

.first-run-copy p {
  max-width: 560px;
  margin: 0;
  color: #657b8c;
  font-size: 13px;
  line-height: 1.6;
}

.first-run-copy button {
  display: inline-flex;
  min-height: 41px;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #315f8c, #173b61);
  padding: 0 16px;
  color: #fff;
  font-weight: 850;
  box-shadow: 0 9px 20px rgba(23, 59, 97, .2);
  cursor: pointer;
}

.first-run-copy button b { font-size: 18px; }
.first-run-steps { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.first-run-steps li { display: flex; align-items: center; gap: 11px; border: 1px solid #dce8ef; border-radius: 13px; background: rgba(255, 255, 255, .78); padding: 10px; }
.first-run-steps li > span { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 10px; background: #e5f0f7; color: #315f8c; font-size: 11px; font-weight: 900; }
.first-run-steps li div { display: grid; gap: 2px; }
.first-run-steps strong { color: #29485f; font-size: 12px; }
.first-run-steps small { color: #738794; font-size: 10px; }

.period-empty-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 16px 0 18px; border: 1px solid #d8e7ee; border-radius: 18px; background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(239, 247, 250, .96)); padding: 17px 19px; box-shadow: 0 12px 30px rgba(6, 30, 64, .12); }
.period-empty-card span { color: #2b658f; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.period-empty-card h3 { margin: 5px 0 3px; color: #173b61; font-size: 16px; }
.period-empty-card p { margin: 0; color: #6c808e; font-size: 11px; }
.period-empty-card button { min-height: 40px; flex: 0 0 auto; border: 0; border-radius: 10px; background: linear-gradient(135deg, #315f8c, #173b61); padding: 0 15px; color: #fff; font-weight: 850; cursor: pointer; }

.trust-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.trust-strip > div { display: flex; min-height: 58px; align-items: center; gap: 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(255, 255, 255, .08); padding: 10px 12px; }
.trust-strip > div > span { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #a9d9ce; font-weight: 900; }
.trust-strip p { display: grid; gap: 2px; margin: 0; }
.trust-strip strong { color: #fff; font-size: 11px; }
.trust-strip small { color: rgba(255, 255, 255, .63); font-size: 9px; line-height: 1.35; }

.settings-security { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr); gap: 18px; border: 1px solid #cfe2e1; border-radius: 15px; background: linear-gradient(145deg, #eff8f6, #f8fbfc); padding: 16px; }
.settings-security-head { display: flex; align-items: center; gap: 11px; }
.settings-security-head > span { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 12px; background: #d9f0eb; color: #14756d; font-weight: 900; }
.settings-security-head div { display: grid; gap: 4px; }
.settings-security-head small { color: #68858a; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.settings-security-head strong { color: #214a55; font-size: 14px; }
.settings-security ul { display: grid; gap: 6px; margin: 0; padding-left: 18px; color: #58737b; font-size: 11px; line-height: 1.45; }

.login-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.login-trust span { display: inline-flex; min-height: 30px; align-items: center; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .1); padding: 0 11px; color: #f2f8fb; font-size: 11px; font-weight: 800; }
.login-card .login-privacy { border-top: 1px solid #e5edf2; padding-top: 14px; color: #7b8d9a; font-size: 11px; line-height: 1.5; }

@media (max-width: 760px) {
  .first-run-card, .settings-security { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .welcome-copy { font-size: 10px; }
  .first-run-card { gap: 18px; padding: 17px; border-radius: 18px; }
  .first-run-copy h3 { font-size: 18px; }
  .first-run-copy p { font-size: 11px; }
  .first-run-copy button { width: 100%; justify-content: center; }
  .period-empty-card { align-items: stretch; flex-direction: column; gap: 13px; }
  .period-empty-card button { width: 100%; }
  .trust-strip > div { min-height: 52px; }
  .settings-security { padding: 14px; }
  .login-trust { gap: 6px; }
  .login-trust span { min-height: 27px; padding: 0 8px; font-size: 9px; }
}
