.balance-entry {
  max-width: 650px;
  margin: 28px auto 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 6vw, 54px);
}
.balance-entry h1 {
  font-size: clamp(36px, 7vw, 52px);
}
.balance-entry > p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.balance-entry .privacy-note {
  padding: 16px 18px;
  background: var(--sage);
  border-radius: 14px;
  color: var(--ink);
}
#balance-form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
#balance-form label {
  font-weight: 650;
}
#access-link {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
  font: inherit;
  color: var(--ink);
}
#balance-form small {
  color: var(--muted);
  line-height: 1.5;
}
#link-error {
  color: #9c3030;
  margin: 0;
  line-height: 1.5;
}
.public-preview {
  font-size: 13px !important;
}
.agent-promise {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 42ch;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  flex-wrap: wrap;
}
.site-header nav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
}
.site-header nav a:hover {
  color: var(--ink);
}
@media (max-width: 560px) {
  .site-header {
    padding: 20px 18px;
    gap: 10px;
  }
  .brand {
    font-size: 18px;
    gap: 8px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .site-header nav {
    justify-content: flex-end;
    gap: 8px 14px;
  }
  .site-header nav a {
    font-size: 12px;
  }
  main {
    padding: 24px 18px 40px;
  }
}
