/* Shared single-column content layout. Navigation and card-hand notation stay compact. */
.hero,
.intro,
.ranking-section,
.faq-section,
.inner-hero-grid,
.detail-grid,
.hand-duel,
.guide-grid,
.guides-section .guide-grid,
.learning .guide-grid,
.library .guide-grid,
.library-group .guide-grid {
  grid-template-columns: minmax(0, 1fr);
}

.section-heading {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.section-heading > div,
.section-heading h2,
.section-heading > p {
  max-width: 820px;
  margin-inline: auto;
}
.section-heading h2 { text-wrap: balance; }
.section-heading .eyebrow { justify-content: center; }
.section-heading > p { margin-block: 0; }

.guide-grid {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  gap: 18px;
}
.guide-card { min-height: 0; padding: 28px; }
.guide-card h3 { margin-block: 12px; }
.guide-card p { max-width: 750px; }
.guide-card .card-link { margin-top: 12px; }

.ranking-section {
  max-width: 960px;
  margin-inline: auto;
  gap: 30px;
  padding: 42px;
}
.ranking-intro { text-align: center; max-width: 740px; margin-inline: auto; }
.ranking-intro h2 { margin-inline: auto; text-wrap: balance; }
.ranking-intro p { max-width: 620px; margin-inline: auto; }
.ranking-intro .eyebrow { justify-content: center; }
.ranking-disclaimer { margin-inline: auto; }
.ranking-tool { width: 100%; max-width: 780px; margin-inline: auto; }
.rank-description { text-align: center; }
.rank-description .eyebrow { justify-content: center; }

.editorial-strip {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 960px;
  margin-inline: auto;
}
.editorial-strip > div { max-width: 780px; }
.editorial-strip .eyebrow { justify-content: center; }
.editorial-strip p { margin-inline: auto; }
.editorial-suit { font-size: 42px; line-height: 1; }

.faq-section { gap: 28px; }
.faq-section > div:first-child { text-align: center; }
.faq-section > div:first-child .eyebrow { justify-content: center; }
.faq-list { width: 100%; max-width: 900px; margin-inline: auto; }
.care-note { flex-direction: column; align-items: center; text-align: center; gap: 8px; }

.inner-hero { text-align: center; }
.inner-hero .breadcrumbs { max-width: 960px; margin-inline: auto; }
.inner-hero-grid { max-width: 900px; gap: 28px; }
.inner-hero h1,
.inner-hero p { margin-inline: auto; }
.inner-hero .eyebrow { justify-content: center; }
.feature-record { align-items: center; text-align: center; width: 100%; max-width: 820px; margin-inline: auto; }
.article-layout { max-width: 1060px; }
.article-layout article { width: 100%; min-width: 0; }
.detail-grid { gap: 16px; }
.step-item { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.step-item:not(:last-child)::before { display: none; }
.hand-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.hand-row p { grid-column: auto; }

.library { max-width: 1060px; margin-inline: auto; }
.library-controls { flex-direction: column; align-items: stretch; gap: 18px; }
.library-controls > div { width: 100%; }
.library-controls input { width: 100%; }
.library-count { text-align: center; }
.library-group > h2,
.library-group > .eyebrow,
.library-group > p,
.library-help h2,
#search-status { text-align: center; }
.library-group > .eyebrow { justify-content: center; }
.library-help p { flex-direction: column; align-items: center; gap: 12px; }

.footer-top,
.footer-bottom,
.footer-contact { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer-links { justify-content: center; flex-wrap: wrap; }

@media (max-width: 1050px) {
  .ranking-section,
  .editorial-strip { margin-inline: 5vw; }
}
@media (max-width: 700px) {
  .guide-card { padding: 23px; }
  .ranking-section { margin-inline: 14px; padding: 28px 22px; gap: 24px; }
  .editorial-strip { margin-inline: 14px; padding: 28px 22px; }
  .inner-hero-grid { gap: 24px; }
  .section-heading { gap: 14px; }
}

/* Remove the former side-by-side divider and center constrained hero paragraphs. */
.ranking-tool { border-left: 0; border-top: 1px solid #ffffff24; padding-left: 0; padding-top: 24px; }
.inner-hero .feature-line,
.inner-hero .download-caption { margin-inline: auto; }

/* Compact exceptions for the two homepage guide collections. */
.guides-section,
.learning { padding-top: 42px; padding-bottom: 42px; }
.guides-section .section-heading,
.learning .section-heading { gap: 12px; margin-bottom: 22px; }
.guides-section .section-heading h2,
.learning .section-heading h2 { font-size: 28px; line-height: 1.3; margin-block: 8px 0; }
.guides-section .section-heading > a { font-size: 12px; }
.learning .section-heading > p { font-size: 13px; line-height: 1.6; }
.guides-section .home-guide-grid,
.learning .home-guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1060px; gap: 14px; }
.home-guide-grid .guide-card { padding: 20px; border-radius: 14px; min-height: 0; }
.home-guide-grid .guide-card h3 { font-size: 18px; line-height: 1.35; margin: 0 0 10px; letter-spacing: -.3px; }
.home-guide-grid .guide-card p { font-size: 12px; line-height: 1.7; margin: 0 0 16px; }
.home-guide-grid .guide-card .card-link { font-size: 10px; margin-top: auto; padding-top: 10px; }
@media (max-width: 800px) {
  .guides-section .home-guide-grid,
  .learning .home-guide-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; gap: 12px; }
  .home-guide-grid .guide-card { padding: 17px 18px; }
  .guides-section .section-heading h2,
  .learning .section-heading h2 { font-size: 24px; }
  .guides-section,
  .learning { padding-top: 32px; padding-bottom: 32px; }
}

/* Reference-inspired hierarchy, using our own purple and gold identity. */
.download-hero {
  padding-top: 40px; padding-bottom: 38px; isolation: isolate;
  background: radial-gradient(ellipse at 50% 5%, #68469d70, transparent 65%), linear-gradient(145deg, #301755, #1d1038);
  color: #fffaf1; border-bottom: 1px solid #e8c67c40;
}
.hero-decoration { position: absolute; inset: 0; pointer-events: none; }
.hero-decoration > span { position: absolute; color: #d5b9ff; opacity: .065; font: 300px Georgia, serif; line-height: 1; pointer-events: none; }
.hero-decoration > span:first-child { left: 4%; top: 13%; transform: rotate(-18deg); }
.hero-decoration > span:last-child { right: 5%; bottom: 3%; transform: rotate(12deg); }
.download-hero .eyebrow { width: fit-content; margin-inline: auto; padding: 7px 14px; border: 1px solid #dfc48c40; border-radius: 30px; color: #e9d8b2; background: #ffffff06; font-size: 9px; letter-spacing: 1.7px; }
.download-hero .eyebrow i { background: #f3ce7e; }
.download-hero h1 { margin-block: 22px 16px; font-size: clamp(42px, 5.1vw, 68px); color: #fffaf1; }
.download-hero h1 em { display: inline-block; margin-top: 10px; font-size: .64em; color: #f5d18a; letter-spacing: -1.3px; font-weight: 600; }
.download-hero .hero-desc { max-width: 540px; margin-block: 14px 22px; font-size: 15px; line-height: 1.7; color: #ddd3e9; }
.hero-offer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; }
.hero-offer > span { background: #f4ce8112; border: 1px solid #f4ce813d; border-radius: 5px; padding: 4px 8px; color: #f5d28f; font-size: 9px; font-weight: 800; letter-spacing: .7px; }
.hero-offer > strong { color: #fff5de; font-size: 20px; line-height: 1.4; }
.hero-offer-terms { max-width: 580px; margin: 10px auto 0; color: #cfc3de; font-size: 12px; line-height: 1.7; }
.download-hero .hero-actions { margin-top: 24px; }
.hero-download-cta { display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: min(100%, 430px); min-height: 80px; padding: 16px 20px; border-radius: 14px; background: linear-gradient(110deg, #ffe2a0, #eec16a); border: 1px solid #ffdf97; color: #2c1645; box-shadow: 0 9px 30px #09031860, 0 0 32px #edc26b16; transition: transform .18s, box-shadow .18s; }
.hero-download-cta:hover { transform: translateY(-2px); box-shadow: 0 13px 32px #09031870, 0 0 38px #edc26b28; }
.hero-download-cta:focus-visible { outline-color: #fff4d7; }
.cta-emblem { display: grid; place-items: center; flex-shrink: 0; width: 43px; height: 47px; border: 1px solid #87633145; border-radius: 10px; background: #38204e; color: #f9d98e; font: 32px Georgia, serif; }
.cta-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; }
.cta-copy > strong { font-size: 17px; line-height: 1.25; font-weight: 800; }
.cta-copy > small { color: #583e37; font-size: 11px; line-height: 1.4; }
.cta-arrow { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; margin-left: auto; font-size: 26px; line-height: 1; }
.hero-file-details { display: inline-block; margin-top: 17px; color: #e3d6f3; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.hero-file-details:hover { color: #ffe2a0; }
.download-hero .hero-note { margin-top: 18px; color: #bfb0d0; font-size: 10px; }
@media (max-width: 700px) {
  .download-hero { padding-top: 28px; padding-bottom: 30px; }
  .hero-decoration > span { font-size: 180px; opacity: .04; }
  .download-hero h1 { margin-top: 20px; font-size: clamp(32px, 10.25vw, 40px); letter-spacing: -1.8px; }
  .download-hero h1 em { margin-top: 8px; font-size: .73em; letter-spacing: -.9px; }
  .download-hero .eyebrow { font-size: 8px; letter-spacing: 1.1px; }
  .download-hero .hero-desc { font-size: 14px; margin-bottom: 18px; }
  .hero-offer > strong { font-size: 18px; }
  .hero-offer-terms { font-size: 11px; }
  .hero-download-cta { padding: 14px; min-height: 76px; gap: 11px; }
  .cta-emblem { width: 34px; height: 40px; font-size: 27px; }
  .cta-copy > strong { font-size: 14px; }
  .cta-copy > small { font-size: 9px; }
  .cta-arrow { width: 20px; font-size: 23px; }
}
@media (max-width: 360px) {
  .download-hero { padding-top: 22px; }
  .download-hero h1 { margin-top: 16px; }
  .download-hero .hero-desc { font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
  .hero-offer > span { display: none; }
  .hero-offer-terms { font-size: 10.5px; line-height: 1.6; }
  .download-hero .hero-actions { margin-top: 20px; }
  .cta-copy > strong { font-size: 13px; }
  .cta-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-download-cta { transition: none; } }
