/* Delivery Platform Article Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;
  
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--slate-700);
  background-color: white;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
.header {
  background: white;
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-content {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  text-decoration: none;
}

.header-separator {
  color: var(--slate-400);
}

.header-section {
  color: var(--slate-600);
}

/* Main Content */
.main-content {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Article Prose Styles */
.prose {
  max-width: none;
}

.prose h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Special styling for article title */
.article-title {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--slate-200);
}

.pov-label {
  font-size: 1rem;
  font-weight: 900;
  color: var(--slate-900);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pov-label::after {
  content: '';
  position: absolute;
  bottom: -0.625rem;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--slate-900) 0%, var(--slate-300) 100%);
  border-radius: 2px;
}

.title-main {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.025em;
}

.title-sub {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--slate-700);
  line-height: 1.3;
  font-style: italic;
}

.prose h2 {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 1rem;
  margin-top: 2rem;
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  line-height: 1.4;
}

.prose p {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.prose ul {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--slate-700);
  margin-bottom: 1rem;
}

.prose ol {
  list-style-type: decimal;
  list-style-position: inside;
  color: var(--slate-700);
  margin-bottom: 1rem;
}

.prose li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

.prose code {
  background-color: var(--slate-100);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  color: var(--slate-800);
}

.prose strong {
  font-weight: 600;
  color: var(--slate-900);
}

.prose em {
  font-style: italic;
  color: var(--slate-700);
}

.prose blockquote {
  border-left: 4px solid var(--primary-500);
  padding-left: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin: 1.5rem 0;
  background-color: var(--slate-50);
  border-radius: 0 0.5rem 0.5rem 0;
}

.prose blockquote p {
  color: var(--slate-700);
  font-weight: 500;
  margin-bottom: 0;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--slate-200);
  margin: 2rem 0;
}

.prose a {
  color: var(--primary-600);
  text-decoration: underline;
  text-decoration-color: var(--primary-300);
  transition: color 0.2s ease;
}

.prose a:hover {
  color: var(--primary-700);
  text-decoration-color: var(--primary-500);
}

/* Special Components */
.placeholder {
  background-color: #fefce8;
  border: 1px solid #facc15;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1rem 0;
  color: #92400e;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
}

.code-example {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 2rem 0;
}

.code-example h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.code-example pre {
  background-color: var(--slate-900);
  color: var(--slate-100);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 0 0 1.5rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
}

.code-example pre:last-child {
  margin-bottom: 0;
}

.code-example code {
  background: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}

.notification-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1rem 0;
}

.notification-success .title {
  color: #166534;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.notification-success .content {
  color: #15803d;
  font-size: 0.875rem;
}

.notification-success .content span {
  display: block;
  margin-bottom: 0.25rem;
}

.notification-success a {
  color: #16a34a;
  text-decoration: underline;
}

.notification-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1rem 0;
}

.notification-error .title {
  color: #991b1b;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.notification-error .content {
  color: #dc2626;
  font-size: 0.875rem;
}

.notification-error .content span {
  display: block;
  margin-bottom: 0.25rem;
}

.notification-error a {
  color: #dc2626;
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  margin-top: 4rem;
}

.footer-content {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--slate-600);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    padding: 1rem;
  }
  
  .main-content {
    padding: 1.5rem 1rem;
  }
  
  .prose h1 {
    font-size: 1.875rem;
  }
  
  .article-title {
    padding: 1.5rem 0;
    gap: 0.5rem;
  }
  
  .title-main {
    font-size: 2rem;
  }
  
  .title-sub {
    font-size: 1.25rem;
  }
  
  .prose h2 {
    font-size: 1.5rem;
  }
  
  .prose h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .header-nav {
    gap: 0.5rem;
  }
  
  .prose h1 {
    font-size: 1.75rem;
  }
  
  .title-main {
    font-size: 1.75rem;
  }
  
  .title-sub {
    font-size: 1.125rem;
  }
  
  .pov-label {
    font-size: 0.875rem;
    letter-spacing: 0.25em;
  }
  
  .prose h2 {
    font-size: 1.375rem;
  }
}
