.account-body { color: var(--ink); background: var(--paper-light); }
.account-body::before { opacity: .055; }
.account-main { min-height: 100dvh; padding: calc(var(--header-height) + clamp(72px, 9vw, 128px)) var(--page-pad) clamp(92px, 12vw, 160px); background: var(--paper-light); }
.account-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: clamp(44px, 9vw, 130px); align-items: end; width: min(1180px, 100%); margin: 0 auto clamp(70px, 9vw, 118px); padding-bottom: clamp(42px, 6vw, 70px); border-bottom: 1px solid var(--line-light); }
.account-intro h1 { max-width: 8ch; margin: 0; font-family: var(--display); font-size: clamp(64px, 9vw, 126px); font-weight: 400; line-height: .84; letter-spacing: -.04em; text-wrap: balance; }
.account-intro p { max-width: 52ch; margin: 0; color: rgba(21, 20, 16, .7); font-size: 18px; line-height: 1.58; text-wrap: pretty; }

.account-layout { width: min(940px, 100%); margin: 0 auto; }
.account-layout > * { padding: clamp(42px, 6vw, 68px) 0; border-bottom: 1px solid var(--line-light); }
.account-layout > :first-child { padding-top: 0; }
.account-layout h2 { max-width: 12ch; margin: 0 0 30px; font-family: var(--display); font-size: clamp(42px, 5vw, 64px); font-weight: 400; line-height: .92; letter-spacing: -.025em; }
.account-layout h3 { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1; }
.account-layout p { max-width: 64ch; margin: 0; color: rgba(21, 20, 16, .69); font-size: 16px; line-height: 1.62; }

.account-profile > label { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-light); }
.account-profile > label > span { font-size: 14px; }
.account-profile input,
.account-profile select { width: 100%; min-height: 50px; padding: 0 14px; color: var(--ink); background: rgba(255, 255, 255, .48); border: 1px solid rgba(21, 20, 16, .34); border-radius: 0; }
.account-profile input::placeholder { color: rgba(21, 20, 16, .72); }
.account-profile input:focus,
.account-profile select:focus { border-color: var(--blood); outline: 2px solid var(--blood); outline-offset: 2px; }
.account-form-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; padding-top: 26px; border-top: 1px solid var(--line-light); }
.account-form-actions button,
.account-data button { min-height: 50px; padding: 0 18px; font-family: "Arial Narrow", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.account-form-actions button { color: var(--paper-light); background: var(--blood); border: 1px solid var(--blood); }
.account-form-actions p { flex: 1 1 220px; font-size: 13px; }

.account-rules ul { margin: 22px 0 26px; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.account-rules li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; color: var(--ink); border-bottom: 1px solid var(--line-light); }
.account-rules li span { color: var(--blood); font-family: "Arial Narrow", Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.account-rules > a { display: inline-flex; align-items: center; min-height: 46px; color: var(--paper-light); background: var(--ink); padding: 0 16px; font-size: 14px; text-decoration: none; }

.account-tool-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: start; padding: 24px 0; border-top: 1px solid var(--line-light); }
.account-tool-row p { margin-top: 9px; font-size: 15px; }
.account-tool-row > span { padding-top: 6px; color: rgba(21, 20, 16, .74); font-family: "Arial Narrow", Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.account-data button { margin-top: 26px; color: var(--ink); background: transparent; border: 1px solid rgba(21, 20, 16, .42); }
.account-data [data-clear-status] { margin-top: 14px; font-size: 13px; }

@media (hover: hover) and (pointer: fine) {
  .account-form-actions button:hover { background: #682019; }
  .account-rules > a:hover { background: var(--blood); }
  .account-data button:hover { color: var(--paper-light); background: var(--ink); }
}

@media (max-width: 900px) {
  .account-intro { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .account-intro p { max-width: 62ch; }
}

@media (max-width: 620px) {
  .account-main { padding-top: calc(var(--header-height) + 62px); padding-bottom: 84px; }
  .account-intro { margin-bottom: 66px; padding-bottom: 42px; }
  .account-intro h1 { font-size: clamp(60px, 21vw, 88px); line-height: .86; }
  .account-intro p { font-size: 17px; line-height: 1.54; }
  .account-layout > * { padding: 48px 0; }
  .account-layout h2 { font-size: 43px; }
  .account-profile > label { grid-template-columns: 1fr; gap: 8px; }
  .account-form-actions { align-items: stretch; }
  .account-form-actions button { flex: 1 1 100%; }
  .account-form-actions p { flex-basis: 100%; }
  .account-tool-row { grid-template-columns: 1fr; gap: 12px; }
  .account-tool-row > span { padding-top: 0; }
}
