/* Minimal Carrd-like single-column style */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg: #f7fafc;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #2563eb;
  --radius: 14px;
}
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: var(--bg);
  color: #0f1724;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
.site-root {
  max-width: 720px;
  margin: 48px auto;
  padding: 20px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(15, 23, 36, 0.06);
  padding: 26px;
  margin-bottom: 18px;
}
.hero {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
  color: #f9fafb;
  background-image: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.65),
      rgba(37, 99, 235, 0.4)
    ),
    url("images/profile_pic_bg.jpeg");
  background-size: cover;
  background-position: center;
  border: none;
}
.hero .tag,
.hero .bio,
.hero .links a {
  color: #e5e7eb;
}
.hero .links {
  color: #e5e7eb;
}
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  border: 6px solid rgba(37, 99, 235, 0.08);
  display: block;
  margin: 0 auto 16px;
}
.name {
  font-size: 28px;
  margin: 0 0 6px;
}
.tag {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.bio {
  color: var(--muted);
  margin-bottom: 18px;
}
.actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(2, 6, 23, 0.04);
  cursor: pointer;
  font-weight: 600;
}
.btn.primary {
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  color: white;
  border: none;
}
.btn.ghost {
  background: transparent;
}
.links {
  list-style: none;
  display: flex;
  gap: 12px;
  justify-content: center;
  color: var(--muted);
  margin-top: 12px;
}
.links a {
  color: var(--muted);
  text-decoration: none;
}
.section h2 {
  margin-bottom: 12px;
}
.grid {
  display: flex;
  gap: 12px;
}
.item {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.02), transparent);
}
.muted {
  color: var(--muted);
}
.thumbs {
  display: flex;
  gap: 8px;
}
.thumbs img {
  width: calc(33.333% - 5px);
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}
blockquote {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.02), transparent);
  border-left: 3px solid rgba(37, 99, 235, 0.12);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  color: var(--muted);
}
form input,
form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(2, 6, 23, 0.06);
  margin-bottom: 8px;
}
.form-row {
  display: flex;
  gap: 8px;
}
.small {
  font-size: 13px;
}
.credit {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Generic page wrapper for policy pages */
.policy-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
}
.policy-container {
  max-width: 820px;
  width: 100%;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  padding: 28px 24px;
}

/* Typography for headings and body */
.policy-container strong:first-of-type {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.5rem;
  color: #111827;
}
.policy-container p {
  margin-bottom: 0.9rem;
  color: #111827;
}
.policy-container p + br {
  display: none;
}
.policy-container ul {
  margin: 0.6rem 0 0.9rem 1.25rem;
}
.policy-container li {
  margin-bottom: 0.35rem;
  color: #111827;
}
.policy-container a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.35);
}
.policy-container a:hover {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

/* Subsection titles inside body */
.policy-container strong {
  color: #111827;
}
.policy-container strong + p {
  margin-top: 0.2rem;
}

/* Horizontal rule styling */
.policy-container hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1.5rem 0;
}

/* Make long lines easier to read on large screens */
@media (min-width: 1024px) {
  .policy-container {
    padding: 34px 40px;
  }
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .policy-page {
    padding: 18px 10px;
  }
  .policy-container {
    padding: 20px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  }
  .policy-container strong:first-of-type {
    font-size: 1.4rem;
  }
}

/* responsive */
@media (max-width: 540px) {
  .grid {
    flex-direction: column;
  }
  .thumbs img {
    width: 100%;
    height: 120px;
  }
}
