:root {
  color-scheme: light;
  --canvas: #edf4fb;
  --tile: #ffffff;
  --text: #18344a;
  --muted: #4d6377;
  --focus: #205bcb;
  font-family: "Avenir Next", system-ui, sans-serif;
  color: var(--text);
  background: var(--canvas);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px clamp(20px, 4vw, 48px) 64px;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 20px;
}

.account {
  display: flex;
  gap: 8px;
}

.account a {
  padding: 8px 14px;
  border: 1px solid #dce6ef;
  border-radius: 999px;
  background: var(--tile);
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.account a:hover {
  border-color: #9fb6ca;
}

.account a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sso-note {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.project-sso {
  align-self: flex-start;
  margin-top: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e3edf7;
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
  white-space: nowrap;
}

.sso-note .project-sso {
  margin-top: 0;
}

h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

#new-tab-note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.projects {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.project {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid #dce6ef;
  border-radius: 16px;
  background: var(--tile);
  color: var(--text);
  text-decoration: none;
}

.project:hover {
  border-color: #9fb6ca;
}

.project:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.project-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 22px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.project-domain {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

@media (min-width: 600px) {
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
