/* DotBoard — AI Community Manager Theme */

:root {
  --plum: #5C2D91;
  --plum-light: #7B3FB5;
  --plum-dark: #3D1A61;
  --coral: #E8533A;
  --coral-light: #FF6B52;
  --bg: #FBF8F3;
  --bg-alt: #F3EDE4;
  --text: #1A1A1A;
  --text-muted: #5C5C5C;
  --border: rgba(92, 45, 145, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--plum);
  letter-spacing: -0.01em;
}

.header-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Section Commons --- */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* --- Hero --- */
.hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  background: var(--coral);
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--plum);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.meta-sep {
  color: var(--plum);
  opacity: 0.4;
}

/* --- What it does --- */
.what-it-does {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: white;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.task-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.task-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(92, 45, 145, 0.08);
}

.task-icon {
  width: 48px;
  height: 48px;
  background: var(--plum);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.25rem;
}

.task-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.task-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Playbook --- */
.playbook {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.playbook-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.step-list {
  list-style: none;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-list li {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--plum);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}

.step-list h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.step-list p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Daily Report Widget */
.daily-report {
  background: var(--plum-dark);
  color: white;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(92, 45, 145, 0.25);
}

.report-header {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.report-date {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-bottom: 2rem;
}

.report-stats {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.875rem;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.7;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.stat-value.accent { color: var(--coral-light); }

.report-note {
  font-size: 0.8rem;
  opacity: 0.5;
  text-align: right;
}

.score-good { color: #6EE7A0; }

/* --- Outcomes --- */
.outcomes {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--plum);
  color: white;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.outcome {
  text-align: center;
}

.outcome-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--coral-light);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.outcome p {
  font-size: 0.9rem;
  opacity: 0.75;
  line-height: 1.55;
  max-width: 220px;
  margin: 0 auto;
}

.outcomes-note {
  font-size: 0.75rem;
  opacity: 0.35;
  text-align: center;
}

/* --- Closing --- */
.closing {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--bg);
}

.closing-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.closing p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.closing-founder {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem !important;
  color: var(--plum) !important;
  margin-top: 1.5rem;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 300px;
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .playbook-layout { grid-template-columns: 1fr; gap: 3rem; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .task-grid { grid-template-columns: 1fr; }
  .hero-meta { flex-wrap: wrap; }
}