.public-guide-body { margin: 0; background: #151628; }
.public-home-fallback, .public-guide { box-sizing: border-box; color: #f7f7fb; background: #151628; font-family: Inter, system-ui, sans-serif; min-height: 100dvh; }
.public-home-fallback { padding: 6rem 1rem 2rem; text-align: center; }
.public-home-fallback h1 { font-size: clamp(1.25rem, 7vw, 2rem); margin: .5rem 0 1.5rem; font-weight: 900; }
.public-brand { color: #E91E63; font-size: 2rem; font-weight: 900; margin: 0; }
.public-loading, .public-home-fallback nav { font-size: .8rem; color: #c3c6d5; }
.public-guide { max-width: 48rem; margin: 0 auto; padding: 2.5rem 1.25rem 3rem; line-height: 1.7; }
.public-guide h1 { font-size: clamp(2rem, 7vw, 3.25rem); line-height: 1.1; letter-spacing: -.03em; margin: 2rem 0 1rem; }
.public-guide h2 { font-size: 1.35rem; line-height: 1.3; margin: 2rem 0 .7rem; }
.public-guide h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.public-guide p { color: #c3c6d5; }
.public-guide .public-lead { font-size: 1.15rem; }
.public-guide .public-cta { display: inline-block; background: #e91e63; color: white; padding: .8rem 1.5rem; border-radius: 2rem; text-decoration: none; font-weight: 700; margin-top: 1.5rem; }
.public-guide footer { margin-top: 2rem; font-size: .8rem; }
.public-guide a:focus-visible, .public-home-fallback a:focus-visible { outline: 3px solid #ffd700; outline-offset: 4px; }
.public-guide .public-caption { font-size: .85rem; }
.public-idea-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.public-idea { border: 1px solid #393b52; border-radius: .75rem; padding: 1.25rem; }
.public-idea h3 { margin: 0 0 .75rem; }
.public-idea p:last-child { margin-bottom: 0; }
.public-steps { padding-left: 1.5rem; }
.public-steps li { margin-bottom: 1rem; color: #c3c6d5; }
.public-steps strong, .public-idea strong { color: #f7f7fb; }
.public-worksheet { border-left: 3px solid #E91E63; padding: .25rem 0 .25rem 1.25rem; }
.public-worksheet dt { font-weight: 700; margin-top: 1rem; }
.public-worksheet dd { margin: .2rem 0 1rem; color: #c3c6d5; }
@media print {
  .public-guide-body, .public-guide { background: white; color: black; }
  .public-guide p, .public-guide a, .public-steps li, .public-steps strong, .public-idea strong, .public-worksheet dd { color: black; }
  .public-guide .public-cta { display: none; }
  .public-idea { break-inside: avoid; }
}


.site-footer-links { display: flex; align-items: center; justify-content: center; gap: .65rem; margin: .25rem auto; font: inherit; font-size: 12px; line-height: 1.5; color: #a5a6ba; }
.site-footer-links a, .site-footer-links summary { color: inherit; text-decoration: none; transition: color .15s; }
.site-footer-links a:hover, .site-footer-links summary:hover { color: #f7f7fb; }
.site-footer-divider { opacity: .4; }
.site-footer-other { position: relative; }
.site-footer-other summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .35rem; }
.site-footer-other summary::-webkit-details-marker { display: none; }
.site-footer-other summary::after { content: ''; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.site-footer-other[open] summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.site-footer-menu { position: absolute; right: 0; bottom: calc(100% + .75rem); z-index: 100; width: min(240px, calc(100vw - 2rem)); box-sizing: border-box; padding: .4rem; background: #1d1e30; border: 1px solid #343548; border-radius: 10px; box-shadow: 0 10px 30px #0005; text-align: left; }
.site-footer-menu a { display: block; padding: .5rem .65rem; border-radius: 6px; font-size: 12px; line-height: 1.4; }
.site-footer-menu a:hover { background: #ffffff08; }
.site-footer-links a:focus-visible, .site-footer-links summary:focus-visible { outline: 1px solid #E91E63; outline-offset: 3px; border-radius: 3px; }

/* Blog-only presentation: keep the app and article layouts unchanged. */
.sw-blog { max-width: 66rem; padding: 2rem 1.5rem 3rem; }
.sw-blog-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sw-blog-logo { font-size: clamp(1.5rem, 5vw, 2rem); letter-spacing: -.07em; text-decoration: none; line-height: 1; background: linear-gradient(100deg, #ffd74a, #ff9462 55%, #e91e63); color: transparent; background-clip: text; }
.sw-blog-logo span { font-weight: 300; }
.sw-blog-back { color: #c3c6d5; font-size: .75rem; text-decoration: none; white-space: nowrap; }
.sw-blog-back:hover { color: white; }
.sw-blog-intro { padding: 3.5rem 0 2rem; }
.sw-blog .sw-blog-eyebrow { color: #ffbd59; letter-spacing: .18em; font-size: .65rem; font-weight: 800; margin: 0; }
.sw-blog h1 { font-size: clamp(2.15rem, 7vw, 4.5rem); font-weight: 900; line-height: .98; letter-spacing: -.045em; margin: 1rem 0; overflow-wrap: anywhere; }
.sw-blog h1 em { color: #e91e63; }
.sw-blog .public-lead { font-size: .95rem; margin: 1.1rem 0 0; }
.sw-blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.sw-blog-card { min-width: 0; background: #1c1d30; border: 1px solid #ffffff12; border-radius: 1.4rem; overflow: hidden; }
.sw-blog-card-link { display: flex; height: 100%; flex-direction: column; color: #f7f7fb; text-decoration: none; }
.sw-blog-card-link:focus-visible { outline-offset: -4px; }
.sw-blog-image { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #0d0d17; }
.sw-blog-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 55%; transition: transform .25s ease; }
.sw-blog-image::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #0008); pointer-events: none; }
.sw-blog-category { position: absolute; z-index: 1; bottom: 1rem; left: 1rem; padding: .3rem .7rem; border: 1px solid #ffffff40; border-radius: 2rem; background: #151628d9; color: #fff; font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sw-blog-copy { padding: 1.4rem; }
.sw-blog-copy h2 { margin: 0; font-size: 1.45rem; font-weight: 850; letter-spacing: -.035em; line-height: 1.12; }
.sw-blog-copy p { font-size: .85rem; line-height: 1.6; margin: .8rem 0 1.25rem; }
.sw-blog-read { color: #ffbd59; font-size: .75rem; font-weight: 700; display: flex; justify-content: space-between; }
.sw-blog-featured { grid-column: 1 / -1; }
.sw-blog-featured .sw-blog-card-link { display: grid; grid-template-columns: 1.1fr 1fr; }
.sw-blog-featured .sw-blog-image { aspect-ratio: 4 / 3; }
.sw-blog-featured .sw-blog-copy { display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
.sw-blog-featured h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.sw-blog footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #ffffff12; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .sw-blog-card-link:hover img { transform: scale(1.035); } }
@media (max-width: 600px) {
  .sw-blog { padding: 1.5rem 1rem 2rem; }
  .sw-blog-intro { padding: 2.75rem 0 1.75rem; }
  .sw-blog-grid { grid-template-columns: minmax(0, 1fr); }
  .sw-blog-featured .sw-blog-card-link { display: flex; }
  .sw-blog-featured .sw-blog-image { aspect-ratio: 16 / 10; }
  .sw-blog-featured .sw-blog-copy { padding: 1.4rem; }
  .sw-blog-featured h2 { font-size: 1.6rem; }
}

/* Shared StreakWars editorial and policy presentation. */
.sw-article { max-width: 56rem; }
.sw-article-label { color: #FFBD59 !important; font-size: .68rem; font-weight: 800; letter-spacing: .17em; margin-top: 3rem; }
.sw-article h1 { font-weight: 900; text-transform: uppercase; line-height: 1.02; margin-top: 1rem; }
.sw-article-cover { display: block; width: 100%; height: clamp(180px, 35vw, 320px); object-fit: cover; object-position: center 55%; border-radius: 1.4rem; margin: 1.5rem 0 2rem; }
.sw-article > section { margin-top: 2rem; padding: 1.5rem; border: 1px solid #ffffff14; border-radius: 1.4rem; background: #1c1d30; }
.sw-article > section > h2:first-child { margin-top: 0; }
.sw-article h2, .sw-policy h2 { color: #FFBD59; font-weight: 800; }
.sw-article a:not(.public-cta):not(.sw-blog-logo):not(.sw-blog-back):not(.site-footer-links a) { color: #FFBD59; }
.sw-policy h1 { font-family: Inter, system-ui, sans-serif !important; font-size: clamp(2.2rem, 8vw, 3.7rem); text-transform: uppercase; line-height: 1.02; letter-spacing: -.04em !important; color: #E91E63 !important; overflow-wrap: anywhere; }
.sw-policy section { padding: 1.4rem; border-radius: 1.4rem; background: #1c1d30; border: 1px solid #ffffff14; }
@media (max-width: 480px) { .sw-article { padding: 1.5rem 1rem 2rem; } .sw-article > section { padding: 1.1rem; } .sw-article h1 { font-size: 2.15rem; overflow-wrap: anywhere; } }
