:root {
  --primary: #1f3a5f;
  --accent: #2f855a;
  --text: #1a202c;
  --muted: #4a5568;
  --border: #e2e8f0;
  --bg: #f9fafb;
  --card-bg: #ffffff;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 2rem 0 1.5rem;
  margin-bottom: 2rem;
}

header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  color: var(--primary);
}

.site-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Navigation */
nav.breadcrumb {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
}

nav.breadcrumb p {
  margin: 0;
}

nav.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

/* Main content */
main {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

section {
  margin-bottom: 3rem;
}

/* Typography */
h1, h2, h3 {
  color: var(--primary);
  line-height: 1.25;
}

h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin: -0.5rem 0 2rem 0;
  font-weight: 400;
  line-height: 1.5;
}

h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

p {
  margin: 1rem 0;
  color: var(--muted);
}

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

a:hover {
  text-decoration: underline;
}

ul, ol {
  color: var(--muted);
  line-height: 1.7;
  margin: 1rem 0;
}

li {
  margin: 0.5rem 0;
}

strong {
  color: var(--text);
  font-weight: 600;
}

em {
  color: var(--muted);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* Callout boxes */
.callout {
  background: white;
  border-left: 5px solid var(--accent);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.callout strong {
  color: var(--primary);
  font-size: 1.05rem;
}

.callout p:first-child {
  margin-top: 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* Affiliate disclosure */
.affiliate-disclosure {
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-left: 4px solid #f59e0b;
  padding: 1rem 1.5rem;
  margin: 0 0 2rem 0;
  border-radius: 6px;
}

.affiliate-disclosure p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
}

.affiliate-disclosure small {
  font-size: 0.85rem;
}

/* Guide card */
.guide-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.guide-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.guide-card .guide-title {
  color: var(--primary);
  font-size: 1.5rem;
}

.guide-card .guide-title:hover {
  text-decoration: underline;
}

.guide-description {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
}

.guide-highlights {
  background: var(--bg);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  margin: 1.5rem 0;
}

.guide-highlights p {
  margin-top: 0;
  color: var(--text);
}

.guide-highlights ul {
  margin-bottom: 0;
}

.guide-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1rem 0;
}

/* Buttons */
.button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 1rem;
  transition: background 0.2s ease;
  text-decoration: none;
}

.button:hover {
  background: #152940;
  text-decoration: none;
}

.button.secondary {
  background: var(--accent);
}

.button.secondary:hover {
  background: #276749;
}

.guide-cta {
  display: inline-block;
  background: var(--primary);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(31, 58, 95, 0.2);
}

.guide-cta:hover {
  background: #152940;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(31, 58, 95, 0.25);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  overflow: hidden;
}

th, td {
  border: 1px solid var(--border);
  padding: 0.75rem;
  text-align: left;
}

th {
  background: #edf2f7;
  font-weight: 600;
  color: var(--primary);
}

td {
  color: var(--muted);
}

.fit-good {
  color: #166534;
  font-weight: 600;
}

.fit-medium {
  color: #a16207;
  font-weight: 600;
}

.fit-poor {
  color: #991b1b;
  font-weight: 600;
}

/* Footer */
footer {
  background: white;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 4rem;
}

footer p {
  margin: 0.5rem 0;
  color: var(--muted);
}

footer a {
  color: var(--primary);
  font-weight: 500;
}

/* Sections */
.intro {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.approach {
  margin-bottom: 3rem;
}

.approach-simple {
  margin: 2rem 0;
}

.approach-box {
  background: var(--bg);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  border-radius: 4px;
}

.approach-box p {
  margin: 0;
  color: var(--text);
}

.featured {
  margin: 3rem 0 4rem;
}

.featured h2 {
  margin-bottom: 1.5rem;
  border-bottom: none;
}

.featured-card {
  background: white;
  border: 2px solid var(--primary);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.card-header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2rem;
  border-bottom: 1px solid var(--border);
}

.card-header h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.75rem;
}

.card-header h3 a {
  color: var(--primary);
  text-decoration: none;
}

.card-header h3 a:hover {
  text-decoration: underline;
}

.card-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
}

.card-body {
  padding: 2rem;
}

.card-body > p:first-child {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.guide-overview {
  background: var(--bg);
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

.guide-overview p {
  margin-top: 0;
  color: var(--text);
  font-weight: 600;
}

.guide-overview ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.guide-overview li {
  color: var(--text);
}

.card-action {
  background: var(--bg);
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.primary-cta {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(31, 58, 95, 0.2);
}

.primary-cta:hover {
  background: #152940;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(31, 58, 95, 0.25);
}

.section-divider {
  border: none;
  border-top: 2px solid var(--border);
  margin: 4rem 0;
}

.using-guides {
  margin: 3rem 0;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.column ul {
  margin: 0.5rem 0 0 1rem;
  padding-left: 0.5rem;
}

.column p {
  margin: 0 0 0.5rem 0;
  color: var(--text);
}

.about-compact {
  background: var(--bg);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin: 3rem 0;
}

.about-compact h2 {
  margin-top: 0;
}

.featured-guide {
  margin: 3rem 0;
}

.how-to-use ul {
  margin-left: 1.5rem;
}

.about {
  background: var(--bg);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.future-guides {
  padding: 1.5rem;
  background: var(--bg);
  border-left: 3px solid var(--muted);
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header {
    padding: 1.5rem 0 1rem;
  }
  
  header h1 {
    font-size: 1.75rem;
  }
  
  .site-tagline {
    font-size: 1rem;
  }
  
  main {
    padding: 0 1rem 2rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .card-header {
    padding: 1.5rem;
  }
  
  .card-header h3 {
    font-size: 1.4rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .card-action {
    padding: 1.25rem 1.5rem;
  }
  
  .primary-cta {
    display: block;
    padding: 0.875rem 1.5rem;
  }
  
  .two-column {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .guide-card {
    padding: 1.5rem;
  }
  
  .guide-card .guide-title {
    font-size: 1.3rem;
  }
  
  .button {
    display: block;
    text-align: center;
  }
  
  table {
    font-size: 0.9rem;
  }
  
  th, td {
    padding: 0.5rem;
  }
}
