.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.eyebrow--hero {
  color: var(--color-accent-primary);
}

.section-header--editorial .section-title {
  margin-bottom: var(--space-3);
}

.page-header,
.section-header {
  margin-bottom: var(--space-10);
}

.section-header--editorial .section-text {
  margin-bottom: 0;
}

.page-header--large .page-title,
.section-title,
.hero__title,
.guide-title {
  font-size: var(--text-3xl);
}

.page-intro,
.section-text,
.hero__text,
.guide-intro {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 42rem;
}

.subsection {
  margin-top: var(--space-16);
}

.subsection-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 3rem;
  padding: 0 var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: var(--weight-bold);
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--color-accent-primary);
  color: var(--color-text-inverse);
}

.btn--primary:hover {
  background: var(--color-accent-primary-dark);
}

.btn--secondary {
  background: var(--color-accent-primary);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-border-strong);
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.pill:hover,
.pill.is-active {
  background: var(--color-accent-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-accent-primary);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

/* ——— Homepage: modern youthful layout ——— */

.home-hero {
  position: relative;
  padding-block: var(--space-12) var(--space-10);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, color-mix(in srgb, var(--color-accent-soft) 80%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, color-mix(in srgb, var(--color-accent-soft) 50%, transparent), transparent 60%),
    var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.home-hero__grid {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 900px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: var(--space-12);
    align-items: center;
  }
}

.home-hero__eyebrow {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent-primary);
}

.home-hero__title {
  margin-bottom: var(--space-4);
  font-size: var(--text-4xl);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: var(--weight-black);
  max-width: 16ch;
}

.home-hero__text {
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 38rem;
}

.home-hero__start-label {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.home-hero__pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.home-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.home-pill:hover,
.home-pill:focus-visible {
  background: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
  text-decoration: none;
}

.home-hero__aside {
  margin: 0;
}

.home-hero__quote {
  margin: 0;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.home-hero__quote p {
  margin: 0;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

.home-hero__quote p::before {
  content: "C";
  color: var(--color-accent-primary);
  font-weight: var(--weight-bold);
  margin-right: 0.1em;
}

.home-section {
  padding-block: var(--space-12);
}

.home-section__head,
.home-hub__aside-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.home-section__title {
  margin: 0 0 var(--space-6);
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  letter-spacing: -0.03em;
}

.home-section__head .home-section__title,
.home-hub__aside-head .home-section__title {
  margin-bottom: 0;
}

.home-section__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent-primary);
  text-decoration: none;
}

.home-section__link:hover {
  text-decoration: underline;
}

.home-section__lede {
  margin: calc(var(--space-2) * -1) 0 var(--space-5);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  font-size: var(--text-sm);
}

/* Guides hub */
.home-hub {
  padding-block: var(--space-12);
}

.home-hub__grid {
  display: grid;
  gap: var(--space-10);
  align-items: start;
}

@media (min-width: 960px) {
  .home-hub__grid {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
    gap: var(--space-12);
  }
}

.home-hub__aside {
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.article-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

.article-grid--bento {
  gap: var(--space-5);
}

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

  .guide-card--featured {
    grid-column: span 2;
  }
}

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

.guide-card--blog {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  min-height: 100%;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

.guide-card--blog:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--color-accent-primary) 35%, var(--color-border));
}

.guide-card--featured {
  padding: var(--space-8);
  background: linear-gradient(145deg, var(--color-surface) 0%, color-mix(in srgb, var(--color-accent-soft) 40%, var(--color-surface)) 100%);
}

.guide-card--featured .guide-card__title {
  font-size: var(--text-xl);
}

.guide-card--featured .guide-card__excerpt {
  font-size: var(--text-base);
  -webkit-line-clamp: 3;
}

.guide-card__category {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-accent-primary);
  text-decoration: none;
}

.guide-card__category:hover {
  text-decoration: underline;
}

.guide-card--blog .guide-card__title {
  margin: 0;
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
}

.guide-card--blog .guide-card__title a {
  text-decoration: none;
  color: var(--color-text);
}

.guide-card--blog .guide-card__title a:hover {
  color: var(--color-accent-primary);
}

.guide-card--blog .guide-card__excerpt {
  margin: 0;
  flex: 1;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-card--blog .guide-card__meta {
  margin-top: auto;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Latest feed */
.feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-1);
}

.feed-list__item + .feed-list__item {
  border-top: 1px solid var(--color-border);
}

.guide-card--feed {
  padding: var(--space-4) 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.guide-card--feed .guide-card__category {
  margin-bottom: var(--space-1);
}

.guide-card--feed .guide-card__title {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
}

.guide-card--feed .guide-card__title a {
  text-decoration: none;
  color: var(--color-text);
}

.guide-card--feed .guide-card__title a:hover {
  color: var(--color-accent-primary);
}

.guide-card--feed .guide-card__excerpt--short {
  margin: var(--space-1) 0 0;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.guide-card--list {
  padding: var(--space-5) 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.guide-card--list .guide-card__title {
  margin: var(--space-1) 0;
  font-size: var(--text-lg);
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.article-list__item {
  border-bottom: 1px solid var(--color-border);
}


/* Topics panel */
.home-topics {
  padding-block: var(--space-12);
}

.home-topics__grid {
  display: grid;
  gap: var(--space-10);
}

@media (min-width: 800px) {
  .home-topics__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--space-12);
    align-items: start;
  }
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.category-list--modern .category-list__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  color: var(--color-text);
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

.category-list--modern .category-list__link:hover {
  background: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
  color: var(--color-text-inverse);
}

.checklist-simple {
  list-style: none;
  margin: 0;
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  display: grid;
  gap: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.checklist-simple--compact {
  padding: var(--space-5);
  gap: var(--space-2);
}

.checklist-simple li {
  position: relative;
  padding-left: 1.25rem;
  line-height: var(--leading-snug);
  font-size: var(--text-sm);
}

.checklist-simple li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent-success);
  font-weight: var(--weight-bold);
}

/* CTA */
.home-cta {
  padding-block: var(--space-12) var(--space-16);
}

.home-cta__panel {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-accent-soft) 0%, color-mix(in srgb, var(--color-accent-soft) 60%, var(--color-surface)) 100%);
  border: 1px solid color-mix(in srgb, var(--color-accent-primary) 20%, var(--color-border));
}

@media (min-width: 720px) {
  .home-cta__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-10) var(--space-12);
  }
}

.home-cta__title {
  margin-bottom: var(--space-2);
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  letter-spacing: -0.03em;
}

.home-cta__text {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 36rem;
}

.home-cta__btn {
  justify-self: start;
  white-space: nowrap;
}

@media (min-width: 720px) {
  .home-cta__btn {
    justify-self: end;
  }
}



@media (prefers-reduced-motion: reduce) {
  .home-pill,
  .guide-card--blog,
  .btn {
    transition: none;
  }

  .home-pill:hover,
  .guide-card--blog:hover,
  .btn:hover {
    transform: none;
  }
}

/* Search */
.hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3);
  max-width: 40rem;
}

.hero-search input {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 0 var(--space-4);
  min-height: 2.75rem;
  color: var(--color-text);
}

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

.hero-search input:focus {
  outline: none;
}

.hero-search input:focus-visible {
  outline: 3px solid var(--color-accent-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.hero-search__btn {
  border: 0;
  border-radius: var(--radius-md);
  padding: 0 var(--space-5);
  min-height: 2.75rem;
  background: var(--color-accent-primary);
  color: #ffffff;
  font-weight: var(--weight-bold);
}

/* Card grids */
.card-grid {
  display: grid;
  gap: var(--space-4);
}

.card-grid--3 {
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.guide-card,
.category-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: none;
  min-height: 100%;
}

.guide-card__category {
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-accent-primary);
}

.guide-card__title {
  font-size: var(--text-lg);
  margin: 0;
}

.guide-card__title a {
  text-decoration: none;
}

.guide-card__title a:hover {
  text-decoration: underline;
}

.guide-card__excerpt {
  color: var(--color-text-muted);
  flex: 1;
}

.guide-card__meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* CTA panel — light accent block */
.cta-panel {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  border: 2px solid var(--color-accent-primary);
}

.cta-panel__title {
  font-size: var(--text-2xl);
  max-width: 20ch;
  color: var(--color-text);
}

.cta-panel__text {
  max-width: 38rem;
  color: var(--color-text-muted);
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: var(--space-6);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  margin-right: var(--space-2);
  opacity: 0.5;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Guide article */
.guide-hero {
  padding-block: var(--space-10) var(--space-8);
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 100% 0, var(--color-purple-soft), transparent 30%),
    rgba(255, 255, 255, 0.35);
}

.guide-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.toc-box {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.toc-box__title {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.toc-box__list {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.toc-box__item a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.toc-box__item a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.toc-box__item--level-3 {
  padding-left: var(--space-4);
}

.summary-box {
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-signal-soft), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--color-border);
}

.summary-box__title {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checklist {
  margin: var(--space-10) 0;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.checklist__title {
  font-size: var(--text-xl);
}

.checklist__list {
  margin: 0;
  display: grid;
  gap: var(--space-3);
}

.checklist--mistakes {
  background: var(--color-coral-soft);
}

.checklist--compare {
  background: var(--color-purple-soft);
}

.comparison-card {
  margin: var(--space-10) 0;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.comparison-card__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.comparison-card__provider {
  margin: 0;
  font-size: var(--text-xl);
}

.comparison-card__price {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-accent-purple);
}

.comparison-card__section h3 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.comparison-card__section ul {
  margin-bottom: var(--space-5);
}

.comparison-card__best {
  margin-bottom: var(--space-5);
}

.comparison-card__cta {
  width: 100%;
}

.comparison-card__disclaimer {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.faq-block {
  margin: var(--space-10) 0;
}

.faq-block__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-5);
}

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

.faq-item:last-of-type {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-5) 0;
  font-weight: var(--weight-bold);
}

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

.faq-item__answer {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
}

.author-box {
  margin-top: var(--space-12);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.author-box__title {
  font-size: var(--text-lg);
}

.related-guides {
  margin-top: var(--space-12);
}
