/* Tightened Landing Page Styles */

:root {
  --primary-color: #1a73e8;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --border-color: #e8eaed;
  --background: #ffffff;
  --link-color: #1a73e8;
}

/* Split Header Section */
.split-header-wrapper {
  width: 100%;
  background-color: #fafbfc;
  border-bottom: 1px solid var(--border-color);
}

.split-header {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px;
}

.split-header-image {
  flex: 1;
  min-width: 0;
}

.split-header-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.split-header-content {
  flex: 1;
  min-width: 0;
}

.split-header-content .site-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  line-height: 1.15;
}

.split-header-content .site-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0 0 28px 0;
  line-height: 1.5;
}

.cta-button-inline {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.cta-button-inline:hover {
  background-color: #1557b0;
  box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
}

.cta-button-inline:active {
  background-color: #1557b0;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Product Sans', 'Roboto', 'Arial', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.6;
}

/* Top accent line for definition */
body::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--primary-color);
  width: 100%;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 32px 40px;
}

/* Header Section */
.header {
  margin-bottom: 40px;
}

.site-title {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

.site-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0;
}

/* Content Section */
.content-section {
  margin-bottom: 48px;
}

.content-section:last-of-type {
  margin-bottom: 0;
}

.section-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
  letter-spacing: -0.2px;
}

.content-text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-text p {
  margin-bottom: 16px;
}

.content-text p:last-child {
  margin-bottom: 0;
}

/* Links */
.content-text a {
  color: var(--link-color);
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.content-text a:hover {
  text-decoration: underline;
}

/* Storymaps List */
.storymaps-list {
  margin: 12px 0 12px 24px;
  padding: 0;
  list-style-position: outside;
}

.storymaps-list li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.storymaps-list li:last-child {
  margin-bottom: 0;
}

.storymaps-list a {
  color: var(--link-color);
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.storymaps-list a:hover {
  text-decoration: underline;
}

.storymaps-list strong {
  font-weight: 500;
}

/* CTA Button */
.cta-section {
  display: none; /* Hidden since CTA is now in split header */
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.cta-button:hover {
  background-color: #1557b0;
  box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
}

.cta-button:active {
  background-color: #1557b0;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

/* Footer */
.footer {
  width: 100%;
  margin-top: 64px;
  padding: 40px 32px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  background-color: #fafbfc;
}

.footer p {
  margin-bottom: 8px;
}

.footer p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .split-header {
    flex-direction: column;
    gap: 32px;
    padding: 40px 20px;
  }

  .split-header-content .site-title {
    font-size: 28px;
  }

  .split-header-content .site-subtitle {
    font-size: 15px;
  }

  .container {
    padding: 40px 20px 32px;
  }

  .content-text {
    font-size: 17px;
  }

  .footer {
    padding: 32px 20px;
  }

  .header {
    margin-bottom: 32px;
  }

  .site-title {
    font-size: 28px;
  }

  .site-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 18px;
  }

  .content-text {
    font-size: 14px;
  }

  .content-text p {
    margin-bottom: 10px;
  }

  .storymaps-list {
    margin-left: 20px;
  }

  .cta-section {
    margin: 32px 0 24px;
    padding: 20px 0;
  }

  .cta-button {
    font-size: 14px;
    padding: 9px 24px;
  }

  .footer {
    margin-top: 40px;
  }
}
