/* Homepage restart pass: simplified structure, clearer pathways, less visual noise */

.brand-subtitle {
  font-size: 0.72rem;
  font-family: var(--font-sans);
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
  opacity: 0.85;
}

.tone-toggle-input {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hero {
  margin-bottom: 2rem;
}

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  line-height: 1.2;
}

.hero .lead {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.tone-toggle-wrap {
  margin-top: 1.1rem;
  max-width: 60ch;
}

.tone-toggle-label {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.tone-toggle-label:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.tone-toggle-label:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.tone-copy {
  margin: 0.75rem 0 0;
}

.tone-neutral {
  display: none;
}

.tone-spicy {
  display: inline;
}

#tone-toggle-checkbox:checked~.page .tone-spicy {
  display: none;
}

#tone-toggle-checkbox:checked~.page .tone-neutral {
  display: inline;
}

#tone-toggle-checkbox:checked~.page .tone-toggle-label {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

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

.pathways,
.sixty-second-start,
.proof,
.featured {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 1.2rem 1.1rem;
}

.pathways h2,
.sixty-second-start h2,
.proof h2,
.featured h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.section-intro {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.path-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 68%, transparent);
  padding: 1rem;
}

.path-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

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

.path-card a {
  text-decoration: none;
  font-weight: 600;
}

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

.sixty-second-start ol {
  margin: 0;
  padding-left: 1.2rem;
}

.sixty-second-start li {
  margin-bottom: 0.65rem;
}

.sixty-second-start li:last-child {
  margin-bottom: 0;
}

.proof ul {
  margin: 0;
  padding-left: 1.2rem;
}

.proof li {
  margin-bottom: 0.55rem;
}

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

.featured {
  margin-bottom: 0.8rem;
}

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

.featured h2 a {
  text-decoration: none;
}

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

.featured p {
  margin: 0;
}

.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;
}

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

@media (max-width: 560px) {
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 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;
}

.framework-card:hover:not(.coming-soon) {
  border-color: var(--accent);
  box-shadow: 0 8px 16px rgba(181, 52, 42, 0.1);
}

.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;
}

/* Role-based paths */

.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;
}

/* 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;
}
