/* style.css */
:root {
  --color-primary: #0A192F;
  --color-surface: #FCF9F2;
  --color-surface-alt: #fdfcfb;
  --color-surface-dim: #f5f2ee;
  --color-text-main: #111C2C;
  --color-text-muted: #44474D;
  --color-border: rgba(10, 25, 47, 0.15);
  --color-accent: #9b0f0a; /* Dark Red */
  
  --font-headline: 'Newsreader', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-surface);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-bar {
  background-color: var(--color-surface-dim);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.header {
  background-color: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  max-height: 40px;
  width: auto;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.main-content {
  flex-grow: 1;
}

.article-header {
  background-color: var(--color-surface-dim);
  border-bottom: 1px solid var(--color-border);
  padding: 64px 32px;
  text-align: center;
}

.article-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.category-tag {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.article-header h1 {
  font-family: var(--font-headline);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text-main);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.author-date {
  font-size: 16px;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

.article-image {
  max-width: 1280px;
  margin: -32px auto 48px;
  padding: 0 32px;
  position: relative;
  z-index: 10;
}

.article-image img, 
.content-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(10, 25, 47, 0.08);
  border: 1px solid var(--color-border);
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px 64px;
}

.article-body p {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.article-body h2 {
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 500;
  color: var(--color-text-main);
  margin: 48px 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  letter-spacing: -0.01em;
}

.content-image-wrapper {
  margin: 48px 0;
}

/* Bento Grid implementation for 3 Tiers */
.tiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 32px 0 48px;
}

@media (min-width: 768px) {
  .tiers-grid {
      grid-template-columns: 1fr 1fr;
  }
  .tier-card-wide {
      grid-column: span 2;
  }
}

.tier-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(10, 25, 47, 0.03);
  transition: box-shadow 0.3s ease;
}

.tier-card:hover {
  box-shadow: 0 4px 24px rgba(10, 25, 47, 0.06);
}

.tier-card h3 {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.tier-card p {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* List implementation for 5 Categories */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0 48px;
}

.benefit-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.benefit-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background-color: var(--color-surface-dim);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}

.benefit-icon .material-symbols-outlined {
  font-size: 24px;
}

.benefit-text h3 {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.benefit-text p {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* CTA & Legal */
.cta-section {
  width: 100%;
  background-color: var(--color-primary);
  padding: 64px 32px;
  text-align: center;
  margin-top: 32px;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content p {
  font-size: 20px;
  color: var(--color-surface);
  margin-bottom: 24px;
  font-family: var(--font-body);
}

.cta-logo-link {
  display: inline-block;
  margin-top: 24px;
}

.cta-logo {
  max-width: 280px;
  height: auto;
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 4px;
  transition: transform 0.2s ease, outline-color 0.2s ease;
  background-color: #fff;
  padding: 12px 24px;
}

.cta-logo:hover {
  transform: translateY(-2px);
  outline-color: #be120c;
}

.disclaimer-section {
  max-width: 1000px;
  margin: 32px auto 0;
  padding: 24px 32px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer {
  background-color: var(--color-surface-dim);
  border-top: 1px solid var(--color-border);
  padding: 64px 32px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-nav a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-contact {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 400px;
  margin: 0 auto;
}

.footer-contact p {
  margin-bottom: 8px;
}

.footer-contact strong {
  color: var(--color-text-main);
}

@media (max-width: 768px) {
  .header-inner {
      padding: 0 20px;
  }
  .article-header {
      padding: 48px 20px 80px;
  }
  .article-header h1 {
      margin-bottom: 16px;
  }
  .article-image {
      padding: 0 20px;
      margin: -48px auto 32px;
  }
  .article-body {
      padding: 0 20px 48px;
  }
  .cta-section {
      padding: 48px 20px;
  }
  .cta-logo {
      max-width: 100%;
  }
  .footer {
      padding: 48px 20px;
  }
}
