:root {
  color-scheme: dark;
  --bg: #08080a;
  --card: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7f7f8;
  --muted: #a1a1aa;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.065), transparent 31rem),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.account-page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 112px;
}

.account-card {
  display: grid;
  gap: 18px;
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.account-card:first-of-type {
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
}

.account-avatar {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.075);
  font-size: 19px;
  font-weight: 900;
}

.account-eyebrow {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.account-main h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1;
}

.account-email {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.account-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-stat {
  display: grid;
  gap: 8px;
  min-height: 86px;
  align-content: center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.account-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.account-stat strong {
  font-size: 22px;
}

.account-actions button {
  min-height: 48px;
  border: 1px solid rgba(255, 69, 58, 0.26);
  border-radius: 16px;
  background: rgba(255, 69, 58, 0.11);
  color: #ffb6b6;
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 700px) {
  .account-page {
    width: 100%;
    padding: 14px 12px 112px;
  }

  .account-card {
    border-radius: 20px;
    padding: 18px;
  }

  .account-card:first-of-type,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-avatar {
    width: 68px;
    height: 68px;
  }
}
