/* Homepage: Landing page refocus */

/* --- Hero Section (on --bg) --- */

.hero {
  margin-bottom: 0;
  padding: 3rem 0;
  border-bottom: none;
}

.hero h1 {
  margin: 0 0 1.2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
  color: var(--text);
}

.hero .lead {
  margin: 0 0 0.8rem;
  max-width: 55ch;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero .lead:last-child {
  margin-bottom: 0;
}

/* --- Journey Cards --- */

.journeys {
  padding: 1rem 0 2.5rem;
}

.journey-grid {
  display: grid;
  gap: 1.2rem;
}

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

.journey-card {
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.journey-card:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-alt));
}

.journey-card:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.journey-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text);
}

.journey-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.journey-link {
  display: block;
  margin-top: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
}

/* --- Social Proof (condensed) --- */

.social-proof {
  padding: 2rem 0;
}

.social-proof h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: var(--h2-size);
}

.proof-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.proof-list li {
  margin-bottom: 1.5rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--accent);
}

.proof-list li:last-child {
  margin-bottom: 0;
}

.proof-list a {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.proof-list a:hover {
  text-decoration: underline;
}

.proof-list a:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.proof-list .proof-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Newsletter Section (on --bg-alt) --- */

.newsletter-section {
  background: var(--bg-alt);
  margin: 2rem calc(-1 * clamp(1.1rem, 3vw, 1.6rem)) 0;
  padding: 2.5rem clamp(1.1rem, 3vw, 1.6rem);
}

.newsletter-section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: var(--h2-size);
  color: var(--text);
}

.newsletter-section .section-intro {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 50ch;
}

/* --- Mobile --- */

@media (max-width: 560px) {
  .hero {
    padding: 2rem 0;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 3.2vw, 1.8rem);
    line-height: 1.2;
  }

  .hero .lead {
    font-size: 0.95rem;
  }

  .newsletter-section {
    padding: 2rem clamp(1.1rem, 3vw, 1.6rem);
  }

  .social-proof {
    padding: 1.5rem 0;
  }
}

/* --- Styles used by other pages that share home.css --- */

.section-intro {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Frameworks page styles */

.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.framework-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
}

.framework-card:hover:not(.coming-soon) {
  border-color: var(--accent);
  box-shadow: 0 8px 16px rgba(255, 107, 74, 0.15);
}

.framework-card.coming-soon {
  opacity: 0.7;
}

.framework-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.framework-card.coming-soon .framework-status {
  background: var(--muted);
}

.framework-card h3 {
  margin-top: 0;
  color: var(--accent);
}

.framework-card p {
  flex: 1;
  color: var(--muted);
}

.includes {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.includes li {
  padding: 0.25rem 0;
}

.framework-card .btn {
  margin-top: auto;
}

.framework-card.coming-soon .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* FAQ styles */

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

details summary {
  cursor: pointer;
  padding: 0.5rem 0;
  outline-offset: 2px;
}

details summary:hover {
  color: var(--accent);
}

details[open] summary {
  margin-bottom: 1rem;
}

details p, details ul {
  margin: 0.5rem 0;
}

details a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

details a:hover {
  text-decoration: underline;
}

/* Callout */

.callout-dutchie {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--radius);
}

.callout-dutchie h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.callout-dutchie p {
  margin: 0.75rem 0 0;
  line-height: 1.6;
}

/* --- Legacy styles used by other pages (resources, newsletter, frameworks, consulting) --- */

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pathways {
  margin-top: 3rem;
  border-top: 2px solid var(--accent);
  padding: 2rem 0;
}

.pathways h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: var(--h2-size);
  color: var(--text);
}

.path-grid {
  display: grid;
  gap: 1.2rem;
}

.path-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 1.3rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.path-card:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-alt));
}

.path-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
}

.path-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.path-card a {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
}

.path-card a:hover {
  text-decoration: underline;
}

.featured-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.featured-links {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.featured-links a {
  text-decoration: none;
  font-weight: 600;
}

.featured-links a:hover {
  text-decoration: underline;
}

/* Role-based paths (frameworks page) */

.role-cards {
  margin: 3rem 0;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.role-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.role-card h4 {
  color: var(--accent);
  margin-top: 0;
}

.role-card ol {
  margin: 1rem 0 0 0;
  padding-left: 1.5rem;
}

.role-card ol li {
  margin-bottom: 0.5rem;
}

.role-card a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.role-card a:hover {
  text-decoration: underline;
}

@media (min-width: 700px) {
  .path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pathways {
    margin-top: 2.5rem;
    padding: 1.5rem 0;
  }

  .path-grid {
    gap: 1rem;
  }

  .path-card {
    padding: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
