:root {
  --wl-green: #98a148;
  --wl-blue: #064c66;
  --wl-ink: #292929;
  --wl-soft: #f6f7f5;
  --wl-border: #dfe2dc;
}

body.content-page {
  margin: 0;
  background: #f4f5f3;
  color: var(--wl-ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: #064c66; }
.btn {
  display: inline-block;
  padding: .45rem .8rem;
  border: 1px solid #292929;
  border-radius: .35rem;
  color: #292929;
  background: transparent;
  text-decoration: none;
  line-height: 1.5;
}
.btn:hover, .btn:focus { color: #fff; background: #292929; }
.content-shell { width: min(100% - 2rem, 760px); margin: 0 auto; }
.content-navbar { border-bottom: 1px solid var(--wl-border); }
.content-navbar .container { max-width: 600px; }
.content-navbar .wordlinks-navbar-logo { display: block; width: 50vw; max-width: 300px; height: auto; }
.content-navbar .content-play-link { flex: 0 0 112px; width: 112px; font-size: .82rem; }
.content-navbar .instagram-nav-link { display: inline-flex; align-items: center; gap: .35rem; color: #a62b73 !important; }
.content-navbar .instagram-nav-link:hover, .content-navbar .instagram-nav-link:focus { color: #722054 !important; }
.content-navbar .instagram-nav-link .bi-instagram { font-size: 1.05rem; }
.content-main { padding: 1.5rem 0 3rem; }
.page-card { background: #fff; border: 1px solid var(--wl-border); border-radius: 16px; padding: clamp(1rem, 3vw, 1.75rem); box-shadow: 0 4px 20px rgba(20, 35, 24, .06); }
.result-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.2rem; }
.result-heading h1 { font-size: clamp(1.45rem, 5vw, 2rem); margin: 0; }
.result-message { color: var(--wl-green); font-size: clamp(1.05rem, 3.8vw, 1.3rem); font-weight: 800; }
.result-answer { color: #62676b; font-size: 1.1rem; }
.result-answer strong { color: var(--wl-ink); }
.result-performance { color: #565b5f; font-size: 1.05rem; margin-bottom: 1rem; }
.result-stats, .stats-grid-page { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.result-stat, .stats-metric { border: 1px solid var(--wl-border); border-radius: 11px; padding: .6rem .75rem; min-width: 0; }
.result-stat-score { grid-column: 1 / -1; }
.result-stat-label, .stats-metric-label { color: #62676b; font-size: .78rem; text-transform: uppercase; }
.result-stat-value, .stats-metric-value { display: flex; align-items: center; gap: .4rem; font-size: 1.25rem; font-weight: 800; }
.result-stat-value img { width: 28px; height: 28px; object-fit: contain; }
.score-mark { display: inline-grid; place-items: center; width: 29px; height: 29px; border-radius: 6px; background: var(--wl-green); color: white; }
.instagram-follow-card { margin-top: .85rem; border: 1px solid #efcad8; border-radius: 16px; background: linear-gradient(110deg, #fff7fb, #fffaf2); padding: .75rem 1rem; }
.instagram-follow-copy { margin: 0 0 .55rem; }
.instagram-follow-action { display: flex; align-items: center; gap: .6rem; }
.instagram-follow-icon { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 1.35rem; background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); }
.instagram-follow-button { background: #171717; color: #fff; border-radius: .4rem; font-weight: 700; }
.instagram-follow-button:hover, .instagram-follow-button:focus { background: #333; color: #fff; }
.insight-card { margin-top: 1rem; padding: 1rem; border: 1px solid var(--wl-border); border-radius: 14px; background: #f8faf9; }
.insight-card h2 { font-size: 1.25rem; }
.word-notes { margin: .7rem 0 0; }
.word-notes div { display: grid; grid-template-columns: minmax(70px, auto) 1fr; gap: .5rem; }
.word-notes dt { font-weight: 800; }
.word-notes dd { margin: 0; }
.page-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.ad-placement { margin: 2rem auto 0; min-height: 0; }
.ad-preview { min-height: 110px; border: 1px dashed #9aa09a; border-radius: 10px; background: #fafafa; display: grid; place-items: center; align-content: center; gap: .2rem; color: #5f6460; text-align: center; padding: 1rem; }
.ad-preview span { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.ad-preview small { display: block; }
.stats-tabs { display: flex; overflow-x: auto; gap: .35rem; margin-bottom: 1rem; padding-bottom: .2rem; }
.stats-tab { border: 1px solid var(--wl-border); background: #fff; border-radius: 999px; padding: .35rem .75rem; font-weight: 700; white-space: nowrap; }
.stats-tab[aria-selected="true"] { background: var(--wl-blue); border-color: var(--wl-blue); color: #fff; }
.guess-chart { margin-top: 1.2rem; }
.guess-row { display: grid; grid-template-columns: 1.6rem 1fr 2rem; gap: .5rem; align-items: center; margin: .4rem 0; }
.guess-track { height: 12px; background: #eceeea; border-radius: 999px; overflow: hidden; }
.guess-bar { height: 100%; background: var(--wl-green); min-width: 0; }
.content-copy h1 { font-size: clamp(1.7rem, 5vw, 2.25rem); }
.content-copy h2 { font-size: 1.25rem; margin-top: 1.6rem; }
.content-copy li { margin-bottom: .35rem; }
.about-practice-figure { margin: 1.25rem 0 1.5rem; }
.about-practice-image { display: block; width: min(100%, 340px); height: auto; border-radius: 8px; }
.about-practice-figure figcaption { margin-top: .45rem; color: #62676b; font-size: .9rem; }
.letter-guide { margin: 1.4rem 0; padding: 1rem; border: 1px solid var(--wl-border); border-radius: 12px; background: var(--wl-soft); }
.letter-guide h2 { margin-top: 0; }
.letter-guide-row { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: .7rem; margin: .55rem 0; }
.letter-key { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid transparent; border-radius: 6px; color: #fff; font-weight: 800; }
.letter-key-untried { border-color: #aeb0b7; background: #d7d7de; color: #252525; }
.letter-key-correct { background: #98a148; }
.letter-key-wrong { background: #dc3545; }
.site-footer { padding: 1.5rem 0 2rem; color: #555; font-size: .9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1rem; }
.site-footer a { color: var(--wl-blue); }
.local-setup-note { border-left: 4px solid var(--wl-green); background: #f2f5e9; padding: .8rem 1rem; }

@media (max-width: 520px) {
  .content-shell { width: min(100% - 1rem, 760px); }
  .content-main { padding-top: .6rem; }
  .page-card { border-radius: 10px; padding: .8rem; }
  .result-stats { gap: .4rem; }
  .result-stat { padding: .42rem .55rem; }
  .result-stat-label { font-size: .68rem; }
  .result-stat-value { font-size: 1.1rem; }
  .result-stat-value img, .score-mark { width: 24px; height: 24px; }
  .instagram-follow-copy { font-size: .72rem; letter-spacing: -.01em; white-space: nowrap; }
  .instagram-follow-button { font-size: .72rem; padding-inline: .5rem; }
  .instagram-follow-card { padding: .65rem .7rem; }
  .instagram-follow-icon { width: 34px; height: 34px; }
  .stats-grid-page { gap: .4rem; }
  .stats-metric { padding: .5rem; }
}

@media (min-width: 992px) {
  .content-navbar .instagram-nav-link { justify-content: center; width: 2.25rem; height: 2.25rem; padding-inline: 0 !important; }
  .content-navbar .instagram-nav-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}

@media (max-width: 575.98px) {
  .content-navbar > .container { display: grid; grid-template-columns: minmax(0, 1fr) 82px auto; gap: .4rem; }
  .content-navbar .navbar-brand { min-width: 0; margin-right: 0; }
  .content-navbar .wordlinks-navbar-logo { width: 100%; max-width: 190px; }
  .content-navbar .content-play-link { width: 82px; min-width: 82px; padding-inline: .35rem; }
  .content-navbar .navbar-collapse { grid-column: 1 / -1; }
}
