.account {
  padding-block: clamp(48px, 10vh, 108px) 72px;
  line-height: 1.6;
}
.account .grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: start;
  gap: clamp(42px, 8vw, 130px);
}
.account h1, .account h2, .identity-line, .access-status { overflow-wrap: anywhere; }
.account h1 { font-size: clamp(46px, 5.7vw, 82px); line-height: 1.02; letter-spacing: -.065em; }
.account h2 { margin: 0 0 22px; font-size: 25px; font-weight: 540; line-height: 1.2; letter-spacing: -.045em; }
.account p { color: var(--muted); margin: 0 0 20px; font-size: 15px; line-height: 1.7; }
.account .lead { max-width: 46ch; margin: 25px 0 0; color: #b5b5b3; font-size: 16px; }
.account .identity-line { margin: 15px 0 0; font-size: 14px; }
.identity-line span { color: var(--ink); }
.account .card {
  padding: clamp(24px, 3.6vw, 46px);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #101010;
}
.account .narrow { max-width: 620px; margin-inline: auto; }
.account .narrow h1 { font-size: clamp(34px, 4.5vw, 56px); margin-bottom: 20px; }
.account .access-status {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
  color: #d1d1cf;
  font: 13px/1.65 var(--mono);
}
.access-status::before { content: ""; flex: none; width: 7px; height: 7px; border: 1px solid #999; }
.access-status.connected::before { background: #d4d4d1; border-color: #d4d4d1; }
.account form label { display: block; margin-bottom: 17px; font-size: 14px; }
.account form input:not([type="hidden"]) {
  display: block;
  margin-top: 6px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #4a4a48;
  border-radius: 2px;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
}
.account form button, .account .button, .nav-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #e6e6e3;
  color: #111;
  font-size: 14px;
  font-weight: 550;
}
.account form button:hover, .account .button:hover { background: white; }
.account form .secondary, .nav-action { background: transparent; color: var(--ink); border-color: #555553; }
.account form .secondary:hover, .nav-action:hover { background: #222; border-color: #999; }
.nav-action { font-size: 13px; font-weight: 450; min-height: 34px; padding: 5px 16px; }
.account .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.account .actions a { text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.account .note { font-size: 13px; }
.account [role="alert"] { color: var(--ink); padding-left: 12px; border-left: 2px solid var(--ink); }
.account .narrow code {
  display: block;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  background: var(--bg);
  font: 14px/1.6 var(--mono);
  overflow-wrap: anywhere;
}
.account .password-setup { max-width: 510px; margin-top: 32px; }
@media (max-width: 760px) {
  .account { padding-block: 40px 50px; }
  .account .grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .account h1 { font-size: clamp(44px, 10vw, 64px); }
  .account .card { padding: 23px; }
  .nav-action { min-height: 40px; }
}
