/* Programmatic SEO landing pages for /local-numbers/ */

/* Ghost sets html { font-size: 62.5% } making 1rem = 10px.
   We set font-size: 16px on the container and use em (not rem) throughout
   so all sizes are relative to our 16px base, not Ghost's 10px root. */
.local-numbers-page {
  --orange: #FF6B2C;
  --orange-glow: rgba(255, 107, 44, 0.3);
  --orange-subtle: rgba(255, 107, 44, 0.08);
  --bg: #ffffff;
  --bg-card: #f9f9f9;
  --text: #1a1a1a;
  --text-muted: #666;
  --border: #e5e5e5;
  --radius: 12px;

  font-size: 16px;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 2em 4em;
}

.local-numbers-page .gh-canvas {
  display: block;
  max-width: none;
}

.local-numbers-page .gh-content {
  font-size: inherit;
  letter-spacing: normal;
  margin-top: 0;
}

.local-numbers-page .gh-content > * + * {
  margin-top: 0;
}

.local-numbers-page .gh-content a {
  color: inherit;
  text-decoration: inherit;
}

.local-numbers-page a {
  color: var(--orange);
  text-decoration: none;
}

.local-numbers-page a:hover {
  text-decoration: underline;
}

/* Breadcrumbs — reset landing-light.css nav styles */
.ln-breadcrumbs {
  position: static;
  z-index: auto;
  background: none;
  backdrop-filter: none;
  border-bottom: none;
  display: block;
  padding: 0;
  font-size: 0.85em;
  color: var(--text-muted);
  margin-bottom: 2em;
}

.ln-breadcrumbs a {
  color: var(--text-muted);
}

.ln-breadcrumbs a:hover {
  color: var(--orange);
}

.ln-breadcrumbs .sep {
  margin: 0 0.5em;
  opacity: 0.5;
}

/* Hero */
.ln-hero {
  text-align: center;
  padding: 3em 0 2.5em;
}

.ln-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1em;
  color: var(--text);
}

.ln-subtitle {
  font-size: 1.15em;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 2em;
}

/* CTA Button */
.ln-cta-btn {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  font-weight: 600;
  font-size: 1em;
  padding: 0.85em 2em;
  border-radius: 8px;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ln-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--orange-glow);
  text-decoration: none !important;
}

/* Info Card */
.ln-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
  margin: 2em 0;
}

.ln-info-card h2 {
  font-size: 1.3em;
  margin: 0 0 1.5em;
  font-weight: 600;
}

.ln-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25em;
}

.ln-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.ln-info-label {
  font-size: 0.8em;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.ln-info-value {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--text);
}

.ln-info-value a {
  color: var(--orange);
}

/* AI unique content */
.ln-unique-content p {
  color: var(--text);
  line-height: 1.8;
  font-size: 1.05em;
  margin: 0 0 1.25em;
}

.ln-unique-content p:last-child {
  margin-bottom: 0;
}

/* Sections */
.ln-section {
  margin: 3em 0;
}

.ln-section h2 {
  font-size: 1.5em;
  font-weight: 700;
  margin: 0 0 0.75em;
  color: var(--text);
}

.ln-section > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 1.5em;
  font-size: 1em;
}

/* City Grid */
.ln-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5em;
}

.ln-city-link,
.ln-city-link-sm {
  display: block;
  padding: 0.6em 0.75em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text) !important;
  font-size: 0.9em;
  transition: border-color 0.2s;
  text-decoration: none !important;
}

.ln-city-link:hover,
.ln-city-link-sm:hover {
  border-color: var(--orange);
  text-decoration: none !important;
}

.ln-city-pop {
  color: var(--text-muted);
  font-size: 0.8em;
  float: right;
}

.ln-city-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.35em;
}

.ln-city-link-sm {
  padding: 0.4em 0.6em;
  font-size: 0.82em;
}

/* Area Code Grid */
.ln-areacode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75em;
}

.ln-areacode-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25em 1em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: border-color 0.2s, transform 0.2s;
}

.ln-areacode-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.ln-ac-number {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--orange);
}

.ln-ac-label {
  font-size: 0.8em;
  color: var(--text-muted);
  margin-top: 0.25em;
}

/* State Grid (hub page) */
.ln-state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.5em;
}

.ln-state-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75em 1em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none !important;
  transition: border-color 0.2s;
}

.ln-state-link:hover {
  border-color: var(--orange);
  text-decoration: none !important;
}

.ln-state-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95em;
}

.ln-state-ac-count {
  font-size: 0.78em;
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: 0.5em;
}

/* Features Grid */
.ln-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25em;
}

.ln-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5em;
}

.ln-feature h3 {
  font-size: 1.05em;
  font-weight: 600;
  margin: 0 0 0.5em;
  color: var(--text);
}

.ln-feature p {
  font-size: 0.9em;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Benefits List (hub page) */
.ln-benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25em;
}

.ln-benefit {
  padding: 1.5em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ln-benefit h3 {
  font-size: 1.05em;
  font-weight: 600;
  margin: 0 0 0.5em;
  color: var(--orange);
}

.ln-benefit p {
  font-size: 0.9em;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* FAQ */
.ln-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ln-faq-item {
  border-bottom: 1px solid var(--border);
}

.ln-faq-item:first-child {
  border-top: 1px solid var(--border);
}

.ln-faq-item summary {
  padding: 1.1em 0;
  font-size: 1em;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.ln-faq-item summary::after {
  content: '+';
  font-size: 1.4em;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1em;
}

.ln-faq-item[open] summary::after {
  content: '\2212';
}

.ln-faq-item p {
  font-size: 0.95em;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 0 1.1em;
  margin: 0;
}

/* Related / Internal Links */
.ln-related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.ln-related-link {
  display: inline-block;
  padding: 0.5em 1em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.88em;
  color: var(--text) !important;
  text-decoration: none !important;
  transition: border-color 0.2s;
}

.ln-related-link:hover {
  border-color: var(--orange);
  text-decoration: none !important;
}

/* CTA Section */
.ln-cta-section {
  text-align: center;
  padding: 3em 0;
  margin: 2em 0 0;
  border-top: 1px solid var(--border);
}

.ln-cta-section h2 {
  font-size: 1.6em;
  font-weight: 700;
  margin: 0 0 0.5em;
}

.ln-cta-section p {
  color: var(--text-muted);
  margin: 0 0 1.5em;
  font-size: 1em;
}

/* Source Citations */
.ln-cite {
  font-size: 0.8em;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none !important;
  vertical-align: super;
  line-height: 0;
}

.ln-cite:hover {
  text-decoration: underline !important;
}

.ln-sources {
  margin: 2em 0;
  padding: 1.5em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ln-sources-title {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75em;
}

.ln-sources ol {
  margin: 0;
  padding-left: 1.25em;
}

.ln-sources li {
  font-size: 0.85em;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.25em;
}

.ln-sources li a {
  color: var(--text-muted);
}

.ln-sources li a:hover {
  color: var(--orange);
}

/* Responsive */
@media (max-width: 768px) {
  .local-numbers-page {
    padding: 0 1em 3em;
  }

  .ln-hero h1 {
    font-size: 28px;
  }

  .ln-subtitle {
    font-size: 1em;
  }

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

  .ln-features-grid,
  .ln-benefits-list {
    grid-template-columns: 1fr;
  }

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

  .ln-areacode-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ln-state-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ln-info-grid {
    grid-template-columns: 1fr;
  }

  .ln-city-grid,
  .ln-city-grid-compact {
    grid-template-columns: 1fr;
  }

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