/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS Custom Properties */
:root {
  --color-background: #FAFAFA;
  --color-surface: #FFFFFF;
  --color-text-primary: #333333;
  --color-text-secondary: #555555;
  --color-border: #E0E0E0;
  --color-accent: #2563EB;
  --color-accent-hover: #1D4ED8;
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'Inter', Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --max-width: 700px;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 3.5rem;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Body */
body {
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-md);
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--color-border);
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  font-weight: 400;
  line-height: 1.5;
}

/* Article Sections */
article section {
  margin-bottom: var(--spacing-xl);
}

/* Typography */
h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
  margin-top: var(--spacing-lg);
}

h3 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

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

/* Lists */
ul, ol {
  margin-bottom: var(--spacing-md);
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* Comparison Box */
.comparison-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.scenario {
  margin-bottom: var(--spacing-md);
}

.scenario:last-child {
  margin-bottom: 0;
}

.scenario h3 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.scenario ul {
  margin-top: var(--spacing-sm);
}

.scenario li {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Call-to-Action Section */
.cta-section {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

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

.cta-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: var(--spacing-md);
  border: 3px solid var(--color-border);
  object-fit: cover;
}

.cta-section h2 {
  font-size: 1.875rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.cta-subtitle {
  font-size: 1rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
}

.cta-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.cta-button {
  display: inline-block;
  background-color: var(--color-accent);
  color: #FFFFFF;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  margin-top: var(--spacing-md);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.cta-button:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(0);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    font-size: 17px;
  }

  .container {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .cta-photo {
    width: 100px;
    height: 100px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .comparison-box {
    padding: var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/* Print Styles */
@media print {
  body {
    background-color: white;
    color: black;
    font-size: 12pt;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .cta-section,
  .site-footer {
    display: none;
  }

  a {
    text-decoration: underline;
    color: black;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  p, li {
    orphans: 3;
    widows: 3;
  }
}
