:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-card: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border-color: #e2e8f0;
  --accent-primary: #e63946;
  --accent-hover: #d62828;
  --accent-light: #fef2f2;
  --success: #10b981;
  --error: #ef4444;
  --focus-ring: rgba(230, 57, 70, 0.3);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --accent-light: #fef2f2;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Breadcrumb Navigation */
.breadcrumb {
  padding: 1rem 0;
  margin-bottom: 1.5rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.breadcrumb a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

.breadcrumb li:last-child span {
  color: var(--text-primary);
  font-weight: 500;
}

.breadcrumb-separator {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .breadcrumb {
    font-size: 0.8125rem;
  }
  
  .breadcrumb-separator {
    width: 14px;
    height: 14px;
  }
  
  .hero-content {
    align-items: center;
    margin: 0 auto;
  }
  
  .hero-text {
    text-align: center;
  }
}

header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  display: block;
  max-width: 180px;
  height: auto;
}

.guide-article .logo img {
  max-width: 120px;
}

.hero-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.guide-article .hero-header {
  margin-bottom: 0;
  padding: 0.25rem 0 0 0;
}

.guide-article {
  padding: 0 0 3rem 0 !important;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-primary);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.1s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

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

.cta-button:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.hero {
  min-height: 1000px;
  background-color: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 0.75rem 0 3rem 0;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  max-width: 450px;
  margin: 0 auto;
  margin-top: 6rem;
}

.hero-text {
  text-align: center;
  width: 100%;
}

.mobile-break {
  display: inline;
}

@media (min-width: 768px) {
  .mobile-break {
    display: none;
  }
}

.hero h1,
.hero .subhead {
  color: #ffffff;
}

.hero-text h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.subhead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.trust-cues {
  background-color: var(--accent-light);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-primary);
}

.trust-cues p {
  color: var(--text-primary);
  font-size: 0.9375rem;
  margin: 0;
}

.form-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.form-card h2 {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.required {
  color: var(--error);
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

input[type="text"].error,
input[type="email"].error,
input[type="tel"].error {
  border-color: var(--error);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-label {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  background-color: var(--bg-primary);
  min-height: 44px;
}

.radio-label:hover {
  border-color: var(--accent-primary);
  background-color: var(--accent-light);
}

.radio-label input[type="radio"] {
  margin-right: 0.75rem;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--accent-primary);
}

.radio-label input[type="radio"]:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.radio-label span {
  font-weight: 500;
  color: var(--text-primary);
}

.other-input {
  margin-top: 0.75rem;
  display: block;
}

.other-input.hidden {
  display: none;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.submit-button {
  width: 100%;
  background-color: var(--accent-primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  min-height: 48px;
  margin-top: 1rem;
}

.submit-button:hover:not(:disabled) {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-button:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.form-progress {
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background-color: var(--accent-primary);
  transition: width 0.3s ease;
  border-radius: 4px;
}

.progress-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.form-navigation {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.back-button,
.next-button {
  padding: 0.875rem 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 48px;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.back-button {
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.back-button:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-muted);
}

.next-button {
  background-color: var(--accent-primary);
  color: white;
  flex: 1;
}

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

.next-button:focus,
.back-button:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 500;
}

.form-message.hidden {
  display: none;
}

.form-message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

.how-it-works {
  padding: 4rem 0;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.steps {
  display: grid;
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--accent-primary);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.step p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.guides {
  padding: 4rem 0;
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.articles-grid {
  display: grid;
  gap: 1.5rem;
}

.article-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.5rem;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.article-card:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.article-tag {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--accent-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.article-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.read-more {
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more::after {
  content: '→';
  transition: transform 0.2s;
}

.article-card:hover .read-more::after {
  transform: translateX(4px);
}

.guides-cta {
  margin-top: 3rem;
  text-align: center;
}

.explore-guides-button {
  display: inline-block;
  background-color: var(--accent-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: background-color 0.2s, transform 0.1s;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.explore-guides-button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.explore-guides-button:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.faq {
  padding: 4rem 0;
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.faq-list {
  display: grid;
  gap: 0.5rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  user-select: none;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-primary);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background-color: var(--bg-secondary);
}

.faq-item summary:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: -2px;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

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

.final-cta {
  padding: 2rem 0 4rem 0;
  background-color: var(--bg-secondary);
  text-align: center;
}

.final-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.final-cta p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-button-large {
  display: inline-block;
  background-color: var(--accent-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: background-color 0.2s, transform 0.1s;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.cta-button-large:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button-large:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.guides-page-hero {
  padding: 3rem 0 2rem;
  background-color: #ffffff;
  text-align: center;
}

.guides-page-hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.guides-page-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.guides-listing {
  padding: 3rem 0 4rem;
  background-color: #ffffff;
}

.guides-filters {
  margin-bottom: 2rem;
}

.filter-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.search-box {
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.search-box input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.pagination {
  margin-top: 3rem;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 0.625rem 1rem;
  border: 2px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-primary);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s;
  min-width: 44px;
  min-height: 44px;
}

.pagination-btn:hover:not(.active) {
  border-color: var(--accent-primary);
  background-color: var(--accent-light);
}

.pagination-btn.active {
  background-color: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.pagination-btn:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.pagination-dots {
  color: var(--text-muted);
  padding: 0 0.5rem;
  font-weight: 600;
}

.guides-page-cta {
  padding: 4rem 0;
  background-color: var(--bg-secondary);
}

.guides-page-cta .cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.guides-page-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.guides-page-cta p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.guide-article {
  padding: 3rem 0;
  background-color: #ffffff;
}

.guide-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.guide-category {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--accent-primary);
  padding: 0.375rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.guide-header h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.guide-intro {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.guide-section {
  margin-bottom: 2.5rem;
}

.guide-section h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}

.guide-section h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-weight: 700;
}

.guide-section p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.guide-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.guide-section ul li {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.guide-section ul li::before {
  content: '•';
  color: var(--accent-primary);
  font-weight: bold;
  position: absolute;
  left: 0.5rem;
}

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

.guide-cta {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.guide-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.guide-cta p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
  color: var(--text-secondary);
}

.footer-content {
  display: grid;
  gap: 2rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
}

.footer-disclaimer {
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 1rem;
  background-color: var(--bg-secondary);
  border-radius: 8px;
}

.footer-links a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.footer-links a:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .hero-content {
    max-width: 600px;
  }
}

/* Landing Page Content Styles */
.guide-hero-with-text {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 0;
  margin-bottom: 3rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.guide-hero-with-text img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.guide-hero-with-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  z-index: 1;
}

.hero-text-overlay {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  max-width: 800px;
}

.hero-text-overlay .guide-category {
  display: inline-block;
  background: rgba(230, 57, 70, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.hero-text-overlay h1 {
  font-size: 2.5rem;
  margin: 1rem 0;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-text-overlay .guide-intro {
  font-size: 1.25rem;
  color: white;
  margin-top: 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .guide-hero-with-text {
    min-height: 350px;
  }
  
  .hero-text-overlay h1 {
    font-size: 1.75rem;
  }
  
  .hero-text-overlay .guide-intro {
    font-size: 1rem;
  }
}

.table-of-contents {
  background: var(--bg-secondary);
  border-left: 4px solid var(--accent-primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.table-of-contents h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents li {
  margin: 0.75rem 0;
}

.table-of-contents a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.table-of-contents a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.guide-section h3 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.guide-section p {
  margin: 0.75rem 0;
  line-height: 1.7;
}

.guide-section a {
  color: var(--accent-primary);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}

.guide-section a:hover {
  color: var(--accent-hover);
}

.guide-section ul {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}

.guide-section li {
  margin: 0.5rem 0;
}

.neighborhood-simple {
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-bottom: 2px solid var(--border-color);
}

.neighborhood-simple:last-child {
  border-bottom: none;
}

.neighborhood-simple h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
  font-size: 1.5rem;
}

.neighborhood-simple em {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.neighborhood-simple p {
  margin: 0.75rem 0;
  line-height: 1.7;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table tbody tr:hover {
  background: var(--bg-secondary);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.faq-section {
  margin: 3rem 0;
}

.faq-item {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--accent-primary);
  font-size: 1.1rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-secondary);
}

.simple-cta {
  margin: 3rem 0;
  padding: 1.5rem;
  text-align: center;
  border-top: 2px solid var(--border-color);
}

.simple-cta p {
  margin: 0.5rem 0;
}

.inline-email-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 450px;
  margin: 1rem auto 0;
  width: 100%;
}

.quick-email-input {
  flex: 2;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 0.375rem;
  font-size: 1.0625rem;
  transition: all 0.2s;
  width: 100%;
  min-width: 0;
}

.quick-email-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.quick-email-input::placeholder {
  color: var(--text-muted);
}

.quick-submit-btn {
  padding: 1rem 1.5rem;
  background: var(--accent-primary);
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  flex-shrink: 0;
}

.quick-submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.quick-submit-btn:active {
  transform: translateY(0);
}

.quick-submit-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
}

@media (min-width: 640px) {
  .inline-email-form {
    flex-direction: row;
  }
  
  .quick-submit-btn {
    width: auto;
    min-width: 140px;
    white-space: nowrap;
  }
}

.cta-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}

.cta-link:hover {
  background: var(--accent-hover);
}

@media (max-width: 640px) {
  .comparison-table {
    font-size: 0.875rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
  }
}
