:root {
  --ink: #1c1c1c;
  --bg: #f0f0f0;
  --card: #ffffff;
  --accent: #3f7fd1;
  --muted: #6b6b6b;
  --border: #e2e2e2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.archive-notice {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  padding: 8px 16px;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.site-header {
  text-align: center;
  margin-bottom: 28px;
}
.site-header h1 {
  margin: 0 0 4px;
  font-size: 30px;
  letter-spacing: -0.01em;
}
.site-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* The Fruro wordmark is white on a transparent background, so it needs a dark
   backing to be visible. */
.logo-heading {
  margin: 0 0 10px;
}
.logo-badge {
  display: inline-block;
  background: linear-gradient(135deg, #3a3a3a 0%, #141414 100%);
  padding: 16px 26px;
  border-radius: 12px;
}
.logo-badge img {
  display: block;
  width: 185px;
  max-width: 60vw;
  height: auto;
}

.site-intro {
  max-width: 46ch;
  margin: 0 auto 28px;
  text-align: center;
}
.site-intro p {
  margin: 0 0 14px;
}
.site-intro .muted {
  color: var(--muted);
}

.cta-row {
  text-align: center;
}
.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.cta:hover {
  text-decoration: none;
  filter: brightness(0.95);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 10px;
  color: var(--ink);
}
.member-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.member-card-name {
  font-weight: 600;
  font-size: 13.5px;
  margin-top: 8px;
}
.member-card-username {
  color: var(--muted);
  font-size: 12px;
}

.avatar {
  border-radius: 50%;
  object-fit: cover;
  background: #ddd;
}
.avatar-sm { width: 48px; height: 48px; }
.avatar-lg { width: 96px; height: 96px; }

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: var(--muted);
}

.profile-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.profile-header h1 {
  margin: 12px 0 0;
  font-size: 22px;
}
.verified-badge {
  vertical-align: middle;
  margin-left: 2px;
  position: relative;
  top: -2px;
}
.username {
  color: var(--muted);
  margin: 2px 0 12px;
}
.location {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 10px;
}
.bio {
  max-width: 42ch;
  margin: 0 auto 12px;
}
.links {
  font-size: 13.5px;
  margin: 0 0 12px;
}
.counts {
  font-size: 13.5px;
  margin: 0;
}
.counts a {
  color: var(--ink);
  font-weight: 600;
}
.joined {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.post {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.post-body {
  margin: 0 0 8px;
  white-space: pre-wrap;
}
.post-date {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.empty {
  color: var(--muted);
  text-align: center;
}

.site-footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.15s;
}
.footer-social a:hover {
  color: var(--accent);
  text-decoration: none;
}
.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}
