:root {
  color-scheme: light;
  --text: #1a1a1a;
  --muted: #555;
  --link: #1a1a1a;
  --max: 48rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text);
  background: #fafafa;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

h1 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

header p,
section p {
  margin: 0 0 0.6rem;
}

header {
  margin-bottom: 2.25rem;
}

header .intro {
  margin-top: 1.15rem;
  color: var(--text);
}

.projects {
  margin-bottom: 2.25rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0 0 1.5rem;
  padding: 0;
  border-bottom: 1px solid #ddd;
}

.tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: -1px;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
}

.project-logo {
  width: 1.35em;
  height: 1.35em;
  object-fit: contain;
}

h2 a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.tabs a[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--text);
}

.tabs a:hover {
  color: var(--text);
}

section {
  margin-bottom: 1.75rem;
}

.projects section {
  margin-bottom: 0;
}

section > p:first-of-type {
  color: var(--muted);
}

.project-links {
  font-size: 0.95rem;
}

.demo-accounts {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
}

.demo-accounts p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
}

.cred-label {
  font-family: system-ui, sans-serif;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a5a2b;
}

.cred-value {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  color: #163a4a;
  background: #e8eef1;
  padding: 0.08em 0.4em;
  border-radius: 3px;
}

a {
  color: var(--link);
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}
