@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --primary: #863A6F;
  --primary-hover: #722f5e;
  --primary-light: #fbeff7;
  --primary-dark: #4d1c3e;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #2D3748;
  background-color: #FAFAFA;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.02em;
}

code, pre {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom flat scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #d4a9c6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #863A6F;
}

/* Flat design utility helpers */
.bg-brand-primary {
  background-color: #863A6F;
}

.text-brand-primary {
  color: #863A6F;
}

.border-brand-primary {
  border-color: #863A6F;
}

.bg-brand-soft {
  background-color: #FAF2F7;
}

/* Article Typography for Blog */
.prose-iminwa {
  line-height: 1.8;
  font-size: 1.0625rem;
  color: #374151;
}

.prose-iminwa h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1F2937;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.prose-iminwa h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1F2937;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid #FAF2F7;
  padding-bottom: 0.5rem;
}

.prose-iminwa h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #863A6F;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-iminwa h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F2937;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.prose-iminwa p {
  margin-bottom: 1.25rem;
}

.prose-iminwa a {
  color: #863A6F;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.prose-iminwa a:hover {
  color: #5E224C;
}

.prose-iminwa strong {
  color: #111827;
  font-weight: 700;
}

.prose-iminwa em {
  font-style: italic;
}

.prose-iminwa ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose-iminwa ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose-iminwa li {
  margin-bottom: 0.4rem;
}

.prose-iminwa blockquote {
  border-left: 4px solid #863A6F;
  background-color: #FAF2F7;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #4B5563;
}

.prose-iminwa blockquote p:last-child {
  margin-bottom: 0;
}

.prose-iminwa code:not(pre code) {
  background-color: #FAF2F7;
  color: #863A6F;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875em;
  padding: 0.2em 0.45em;
  border-radius: 6px;
  border: 1px solid #F3DBEB;
}

.prose-iminwa pre {
  background: #1C141B;
  color: #F3DBEB;
  padding: 1.25rem;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  border: 1px solid rgba(134, 58, 111, 0.25);
}

.prose-iminwa pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border: none;
}

.prose-iminwa hr {
  border: 0;
  border-top: 1px solid #E5E7EB;
  margin: 2rem 0;
}

.prose-iminwa img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.prose-iminwa table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.prose-iminwa th {
  background-color: #FAF2F7;
  color: #863A6F;
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #E4B6D6;
}

.prose-iminwa td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #F3DBEB;
}

.prose-iminwa tr:hover td {
  background-color: #FDF8FA;
}

