/* =========================================
   HOMEPAGE WIREFRAME CSS
   Built for ClearScoreGuide homepage
   ========================================= */

*,
*::before,
*::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; line-height: 1.6; color: #1f1f1f; background: #f7f7f7; }
img { max-width: 100%; display: block; }
a { color: #111; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
p, h1, h2, h3, h4 { margin-top: 0; }
section { padding: 56px 0; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important;
  padding: 0 !important; overflow: hidden !important; white-space: nowrap !important; border: 0 !important;
  clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important;
}

.skip-link {
  position: absolute; left: 12px; top: -48px; background: #111; color: #fff; padding: 10px 14px;
  border-radius: 6px; z-index: 999; text-decoration: none; transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.site-header, .hero, .trust-strip, .intro, .pathways, .featured-topics, .benefits, .topic-architecture,
.tools-resources, .latest-articles, .proof, .reader-journey, .closing-cta, .site-footer {
  border-top: 1px solid #d9d9d9;
}

.card, .featured-card, .benefit-grid article, .topic-grid article, .resource-grid article,
.latest-grid article, .proof-grid article, .journey-grid article {
  background: #fff; border: 1px solid #d9d9d9; border-radius: 14px; padding: 22px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.card h3, .featured-card h3, .benefit-grid h3, .topic-grid h3, .resource-grid h3,
.latest-grid h3, .proof-grid h3, .journey-grid h3 {
  margin-bottom: 10px; font-size: 1.1rem; line-height: 1.35;
}

.section-intro, .hero-text, .intro p, .benefit-grid p, .topic-grid p, .resource-grid p,
.latest-grid p, .proof-grid p, .journey-grid p, .closing-cta p { max-width: 70ch; }

.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 6px 10px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: #333; background: #ececec;
  border: 1px solid #d7d7d7; border-radius: 999px;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; }
h2 { font-size: clamp(1.55rem, 2.4vw, 2.2rem); line-height: 1.2; margin-bottom: 14px; }
h3 { font-size: 1.1rem; line-height: 1.35; }
p { color: #444; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px;
  border-radius: 10px; border: 1px solid #bfbfbf; text-decoration: none; font-weight: 700; transition: all 0.2s ease;
}
.btn-primary { background: #111; color: #fff; border-color: #111; }
.btn-primary:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn-secondary { background: #fff; color: #111; }
.btn-secondary:hover { background: #f0f0f0; }

.site-header { background: #ffffff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #d9d9d9; }
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0 14px; }
.site-logo { display: inline-flex; align-items: center; gap: 12px; font-size: 1.35rem; font-weight: 800; text-decoration: none; color: #111; }
.logo-mark { width: 32px; height: 32px; }

.site-search { display: flex; align-items: center; gap: 10px; width: min(420px, 100%); }
.site-search input[type="search"] {
  width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid #c9c9c9; border-radius: 10px;
  background: #fff; font: inherit;
}
.site-search button {
  min-height: 44px; padding: 0 16px; border: 1px solid #111; border-radius: 10px; background: #111;
  color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}

.primary-nav { padding-bottom: 14px; }
.primary-nav ul { display: flex; flex-wrap: wrap; gap: 10px 14px; list-style: none; }
.primary-nav a {
  display: inline-block; padding: 8px 12px; border-radius: 999px; border: 1px solid #d4d4d4;
  background: #fafafa; text-decoration: none; font-size: 0.95rem;
}

.hero { background: linear-gradient(to bottom, #ffffff 0%, #f4f4f4 100%); }
.hero .container { padding-top: 18px; }
.hero-content { max-width: 840px; }
.hero-text { font-size: 1.08rem; margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; list-style: none; margin-top: 10px; }
.hero-points li {
  padding: 14px 16px; background: #fff; border: 1px solid #d9d9d9; border-radius: 12px; color: #333;
}

.trust-strip { background: #f1f1f1; padding: 18px 0; }
.trust-strip ul { display: flex; flex-wrap: wrap; gap: 10px 14px; list-style: none; }
.trust-strip a {
  display: inline-block; padding: 8px 12px; border: 1px dashed #bfbfbf; border-radius: 999px;
  text-decoration: none; font-size: 0.92rem; background: #fff;
}

.intro { background: #fff; }
.intro .container { max-width: 860px; }

.card-grid, .featured-grid, .benefit-grid, .topic-grid, .resource-grid, .latest-grid, .proof-grid, .journey-grid {
  display: grid; gap: 18px;
}
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featured-grid, .topic-grid, .resource-grid, .latest-grid, .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.benefit-grid, .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pathways { background: #f9f9f9; }
.pathways .card a:last-child { display: inline-block; margin-top: 10px; font-weight: 700; }

.ad-slot { padding: 26px 0; background: #f3f3f3; }
.ad-slot .container {
  border: 2px dashed #bcbcbc; border-radius: 14px; min-height: 110px;
  background: repeating-linear-gradient(-45deg, #fafafa, #fafafa 10px, #f0f0f0 10px, #f0f0f0 20px);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.ad-slot .container::before {
  content: "Ad Slot"; font-weight: 700; color: #666; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem;
}

.featured-topics { background: #fff; }
.featured-card h3 a { text-decoration: none; }
.benefits { background: #f9f9f9; }
.topic-architecture { background: #fff; }
.tools-resources { background: #f9f9f9; }
.latest-articles { background: #fff; }
.proof { background: #f9f9f9; }
.reader-journey { background: #fff; }
.journey-grid a { display: inline-block; margin-top: 10px; font-weight: 700; }
.closing-cta { background: #efefef; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.site-footer { background: #111; color: #e8e8e8; padding: 34px 0; }
.site-footer p { color: #d2d2d2; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; }
.site-footer a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #444; outline-offset: 2px; }

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-grid, .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  section { padding: 44px 0; }
  .container { width: min(100% - 24px, 1120px); }
  .header-top { flex-direction: column; align-items: stretch; }
  .site-search { width: 100%; }
  .primary-nav ul { gap: 8px; }
  .hero-points, .card-grid, .featured-grid, .benefit-grid, .topic-grid, .resource-grid, .latest-grid, .proof-grid, .journey-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions, .closing-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

@media (max-width: 480px) {
  .site-logo { font-size: 1.2rem; }
  .eyebrow { font-size: 0.75rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .card, .featured-card, .benefit-grid article, .topic-grid article, .resource-grid article,
  .latest-grid article, .proof-grid article, .journey-grid article { padding: 18px; }
}
