:root {
  --bg: #fef9f4;
  --surface: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;
  --accent: #d6336c;
  --accent-soft: #fde2ec;
  --border: #e5e7eb;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  background: linear-gradient(135deg, var(--accent-soft), #fff);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

.hero .headline {
  margin: 0 auto 0.6rem;
  max-width: 640px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 500;
}

.hero .subheader {
  margin: 0 auto;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}

section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.card .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.dashboard-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.follow {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.follow-label {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.social-icon:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 500;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #b8265a;
  border-color: #b8265a;
  color: #fff;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 120ms ease, border-color 120ms ease;
}

.post-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--accent);
}

.post-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--accent-soft);
}

.post-image-placeholder {
  background: var(--accent-soft);
}

.post-body {
  padding: 0.75rem 0.9rem 0.9rem;
}

.post-caption {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
