:root {
  --moonlight: #F6F3EE;
  --twilight: #262B48;
  --twilight-deep: #1A1F35;
  --copper: #C16B3A;
  --copper-hover: #A85A2E;
  --copper-light: #F3E8E0;
  --text-primary: #262B48;
  --text-secondary: #5A5D6E;
  --text-muted: #8B8E9D;
  --divider: #D8D3C6;
  --card-bg: #FFFFFF;
  --radius: 8px;
  --radius-sm: 6px;
  --max-width: 1280px;
  --content-width: 1152px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--moonlight);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Spectral', Georgia, 'Times New Roman', serif;
  font-weight: 600;
}

a { color: inherit; }

/* Header */
.header {
  background: var(--moonlight);
  padding: 20px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Spectral', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--twilight);
  text-decoration: none;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--copper);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover { color: var(--twilight); }

.nav a.active { color: var(--copper); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--copper);
  color: white;
}

.btn-primary:hover { background: var(--copper-hover); }

.btn-outline {
  background: transparent;
  color: var(--twilight);
  border: 1px solid var(--divider);
}

.btn-outline:hover { background: rgba(0,0,0,0.04); }

.btn-lg { padding: 14px 28px; border-radius: var(--radius); font-size: 16px; }

/* Sections */
.section { padding: 80px 64px; }
.section-white { background: #FFFFFF; }
.section-indigo { background: var(--twilight); color: var(--moonlight); }
.section-deep { background: var(--twilight-deep); color: var(--moonlight); }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
}

.kicker {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}

.section-indigo .kicker,
.section-deep .kicker { color: var(--copper); }

.headline {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--twilight);
}

.section-indigo .headline,
.section-deep .headline { color: var(--moonlight); }

/* Article Styles */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.article-main { min-width: 0; }

.article-sidebar { position: sticky; top: 100px; }

.article-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--divider);
}

.article-category {
  display: inline-block;
  padding: 6px 12px;
  background: var(--copper-light);
  color: var(--copper);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-decoration: none;
}

.article-title {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--twilight);
}

.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--text-muted);
  font-size: 14px;
}

.article-content {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-content h2 {
  font-size: 28px;
  color: var(--twilight);
  margin: 48px 0 20px;
}

.article-content h3 {
  font-size: 22px;
  color: var(--twilight);
  margin: 32px 0 16px;
}

.article-content p { margin-bottom: 20px; }

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 28px;
}

.article-content li { margin-bottom: 8px; }

.article-content a { color: var(--copper); text-decoration: underline; }

.article-content blockquote {
  border-left: 4px solid var(--copper);
  padding-left: 24px;
  margin: 28px 0;
  font-style: italic;
  color: var(--text-primary);
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--twilight);
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
}

.sidebar-widget li { margin-bottom: 10px; }

.sidebar-widget a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s;
}

.sidebar-widget a:hover { color: var(--copper); }

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(38,43,72,0.08);
}

.card-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--copper);
  margin-bottom: 10px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--twilight);
}

.card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Search Page */
.search-hero {
  background: var(--twilight);
  color: var(--moonlight);
  padding: 80px 64px;
  text-align: center;
}

.search-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.search-hero p {
  font-size: 18px;
  color: #B8BCCD;
  margin-bottom: 32px;
}

.search-box {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}

.search-input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
}

.search-btn {
  background: var(--copper);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* New Page */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-list-item {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  text-decoration: none;
  transition: box-shadow 0.2s;
}

.article-list-item:hover { box-shadow: 0 8px 30px rgba(38,43,72,0.08); }

.article-list-date {
  min-width: 80px;
  text-align: center;
  padding: 12px;
  background: var(--copper-light);
  border-radius: var(--radius);
  color: var(--copper);
  font-weight: 600;
  font-size: 14px;
}

.article-list-content h3 {
  font-size: 22px;
  color: var(--twilight);
  margin-bottom: 8px;
}

.article-list-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Footer */
.footer { padding: 60px 64px; }

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand { max-width: 280px; }

.footer-brand .logo { margin-bottom: 12px; }

.footer-brand p {
  font-size: 15px;
  color: #B8BCCD;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--moonlight);
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.footer-col a {
  display: block;
  color: #B8BCCD;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--moonlight); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: #8B8E9D;
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 64px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--divider);
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--copper); }

.breadcrumb span { color: var(--text-muted); margin: 0 8px; }

/* Responsive */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header { padding: 16px 24px; flex-wrap: wrap; gap: 12px; }
  .nav { display: none; }
  .section, .hero, .final-cta, .footer, .search-hero { padding: 60px 24px; }
  .headline { font-size: 32px; }
  .article-title { font-size: 32px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Hidden search input placeholder for static site */
.search-results { margin-top: 24px; }

.search-result-item {
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.search-result-item h3 { margin-bottom: 8px; }

.search-result-item p { color: var(--text-secondary); font-size: 15px; }

.search-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--copper-light);
  color: var(--copper);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}
