/* WordHint Pips homepage, professional design.
   Theme derived from the original NYT Pips game: soft lavender-pink
   screen, deep purple primary, pink accent, muted zone colors
   (purple, pink, teal, green, orange, blue), white and cream dominoes
   with black pips, and a tan free space. No external fonts or assets. */
:root {
  --paper: #f7f1f5;
  --paper-2: #efe3f1;
  --card: #ffffff;
  --ink: #2b2530;
  --muted: #6d6474;
  --plum: #6d4c9e;
  --plum-deep: #4e3572;
  --pink: #c94f7c;
  --pink-soft: #fbe9f0;
  --line: #e4d9e2;
  --cream: #fffdf6;
  --domino-line: #3a352c;
  --shadow-sm: 0 1px 3px rgba(78, 53, 114, .10), 0 1px 6px rgba(78, 53, 114, .06);
  --shadow-md: 0 6px 18px rgba(78, 53, 114, .12), 0 2px 6px rgba(78, 53, 114, .08);
  --shadow-lg: 0 14px 34px rgba(78, 53, 114, .18), 0 4px 10px rgba(78, 53, 114, .10);
  --radius: 18px;
  --maxw: 880px;
  /* ONE size for board cells, tray domino halves and answer cells. */
  --ppc: 46px;
}
@media (max-width: 520px) { :root { --ppc: 42px; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  background-image: radial-gradient(900px 320px at 50% -80px, #f3e2f5 0%, rgba(243, 226, 245, 0) 70%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--plum); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

/* Header */
header.site {
  background: linear-gradient(180deg, #efe3f1 0%, #f7f1f5 100%);
  border-bottom: 1px solid var(--line);
  padding: 22px 16px 16px;
  text-align: center;
}
.logo {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--plum-deep);
  margin: 0;
  line-height: 1.1;
}
.logo span { color: var(--pink); }
.tagline { color: var(--muted); font-size: .95rem; margin: 4px 0 12px; }
.date-pill {
  display: inline-block;
  background: var(--plum);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  border-radius: 999px;
  padding: 6px 16px;
  box-shadow: var(--shadow-sm);
}
nav.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 14px 12px 0;
  max-width: var(--maxw);
  margin: 0 auto;
}
nav.jump a {
  font-size: .85rem;
  font-weight: 700;
  color: var(--plum-deep);
  text-decoration: none;
  border: 1px solid #d9c8e2;
  background: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, transform .15s ease;
}
nav.jump a:hover { background: #f1e6f5; transform: translateY(-1px); }

/* Layout and hero */
main { max-width: var(--maxw); margin: 0 auto; padding: 8px 20px 48px; }
.hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 5px solid var(--plum);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  padding: 28px 28px 22px;
  margin: 20px 0 8px;
}
h1 {
  font-size: 2rem;
  line-height: 1.25;
  color: var(--plum-deep);
  text-align: center;
  margin: 4px 0 14px;
  letter-spacing: -.01em;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--plum-deep);
  margin: 48px 0 12px;
  padding: 0 0 10px 14px;
  border-left: 4px solid var(--pink);
  border-bottom: 1px solid var(--line);
}
h3 { font-size: 1.15rem; color: var(--plum-deep); margin: 26px 0 8px; }
p { margin: 0 0 14px; }
.lede { font-size: 1.08rem; line-height: 1.7; color: #3d3444; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px;
  margin: 18px 0;
  box-shadow: var(--shadow-sm);
}
.hero .card { box-shadow: none; border: 1px dashed #d9c8e2; background: #fdf9fd; margin: 18px 0 4px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 20px; }
.facts li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding: 7px 0; font-size: .95rem; }
.facts li:last-child { border-bottom: 0; }
.facts span { color: var(--muted); }
.facts b { color: var(--plum-deep); }
ul.tight, ol.tight { margin: 0 0 14px; padding-left: 22px; }
ul.tight li, ol.tight li { margin-bottom: 10px; }
table.zones { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: .95rem; box-shadow: var(--shadow-sm); border-radius: 12px; overflow: hidden; }
table.zones th, table.zones td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
table.zones th { background: var(--plum-deep); color: #fff; }
table.zones tr:nth-child(even) td { background: #faf6fb; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 0 0 10px; box-shadow: var(--shadow-sm); }
details summary { cursor: pointer; font-weight: 700; color: var(--plum-deep); }
details p { margin: 8px 0 4px; }
.coming { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.coming li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.coming .soon {
  float: right;
  font-size: .72rem;
  font-weight: 800;
  color: var(--pink);
  border: 1px solid var(--pink);
  border-radius: 999px;
  padding: 2px 9px;
  background: var(--pink-soft);
}
footer.site {
  border-top: 1px solid var(--plum-deep);
  background: var(--plum-deep);
  color: #e8ddf2;
  font-size: .88rem;
  text-align: center;
  padding: 28px 16px 34px;
}
footer.site p { max-width: 680px; margin: 0 auto 10px; }

/* Pips solver: original game style. White and cream dominoes, black pips,
   center divider, earthy muted zones. Revealed cells are white and cream,
   never zone colored. */
.play-pips { text-align: center; }
.tool-card {
  border: 1px solid #d9c8e2;
  border-top: 5px solid var(--pink);
  box-shadow: var(--shadow-lg);
  padding: 24px 20px 20px;
}
.pp-tabs {
  display: inline-flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.pp-tab {
  border: 0;
  background: transparent;
  color: var(--plum-deep);
  font-weight: 700;
  border-radius: 999px;
  padding: 9px 22px;
  cursor: pointer;
  font-size: .92rem;
  font-family: inherit;
  transition: background .15s ease, box-shadow .15s ease;
}
.pp-tab.on { background: var(--plum); color: #fff; box-shadow: 0 2px 8px rgba(78, 53, 114, .35); }
#pp-board { display: grid; gap: 6px; margin: 6px auto 14px; justify-content: center; }
.pp-gap { visibility: hidden; width: var(--ppc); height: var(--ppc); }
.pp-cell {
  position: relative;
  border: 2px solid;
  border-radius: 10px;
  width: var(--ppc);
  height: var(--ppc);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .1s ease, box-shadow .15s ease;
}
.pp-cell:hover { box-shadow: 0 3px 8px rgba(78, 53, 114, .25); }
.pp-cell:active { transform: scale(.96); }
.pp-cell.z-blue { background: #c3d9f2; border-color: #6ea3d8; }
.pp-cell.z-purple { background: #ddd0f2; border-color: #9370c0; }
.pp-cell.z-pink { background: #f5cfe0; border-color: #cf8aa9; }
.pp-cell.z-teal { background: #bfe6d9; border-color: #57a892; }
.pp-cell.z-orange { background: #f8d9b5; border-color: #dd9240; }
.pp-cell.z-green { background: #d2e9bf; border-color: #74a854; }
.pp-cell.z-free { background: var(--cream); border-color: #c9bfae; border-style: dashed; }
.pp-cell.pp-revealed { background: var(--cream) !important; border-color: var(--domino-line) !important; box-shadow: 0 2px 4px rgba(58, 53, 44, .12); }
.pp-mark {
  position: absolute;
  top: 2px;
  left: 5px;
  font-size: .68rem;
  font-weight: 800;
  color: rgba(43, 37, 48, .75);
  line-height: 1;
}
.pp-cell.pp-revealed .pp-mark { display: none; }
.pp-q { font-size: 1.5rem; font-weight: 700; color: #3a352c; opacity: .55; line-height: 1; }
.pips { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); width: 82%; aspect-ratio: 1 / 1; place-items: center; pointer-events: none; }
.pips i { border-radius: 50%; width: 75%; height: 75%; display: block; }
.pips i.on { background: #2c2a26; }
.pp-tray-label { font-size: .85rem; color: var(--muted); font-weight: 700; margin: 12px 0 8px; letter-spacing: .04em; text-transform: uppercase; }
#pp-tray { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 6px; }
.pp-tray-dom {
  /* No border/padding of its own: the two halves ARE the domino.
     Each half is one board cell (46px, border-box), so the whole tile
     is exactly 2 cells wide and 1 cell tall, like the real game. */
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 4px rgba(58, 53, 44, .12);
  transition: box-shadow .15s ease, transform .1s ease, opacity .15s ease;
}
.pp-tray-dom:hover { box-shadow: 0 6px 12px rgba(58, 53, 44, .20); transform: translateY(-1px); }
.pp-tray-dom:active { transform: scale(.95); }
.pp-tray-dom.used { opacity: .35; filter: grayscale(.6); }
.pp-tray-dom .pdom { display: flex; align-items: center; }
.pp-tray-dom .phalf { width: var(--ppc); height: var(--ppc); display: flex; align-items: center; justify-content: center; background: var(--cream); border: 2px solid var(--domino-line); border-left: 0; }
.pp-tray-dom .phalf:first-child { border-left: 2px solid var(--domino-line); border-right: 2px solid var(--domino-line); border-radius: 10px 0 0 10px; }
.pp-tray-dom .phalf:last-child { border-radius: 0 10px 10px 0; }
#pp-msg {
  display: inline-block;
  min-height: 26px;
  text-align: center;
  font-weight: 700;
  font-size: .93rem;
  margin: 10px 0 4px;
  background: var(--paper-2);
  border-radius: 999px;
  padding: 5px 16px;
  color: var(--plum-deep);
}
#pp-msg.good { color: #fff; background: var(--plum); }
.pp-controls { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.pp-btn {
  border: 1px solid var(--plum);
  background: #fff;
  color: var(--plum-deep);
  font-weight: 700;
  border-radius: 999px;
  padding: 11px 24px;
  cursor: pointer;
  font-size: .92rem;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, transform .15s ease;
}
.pp-btn:hover { background: #f1e6f5; transform: translateY(-1px); }
.pp-btn.primary { background: linear-gradient(135deg, var(--plum) 0%, var(--pink) 100%); color: #fff; border-color: transparent; }
.pp-btn.primary:hover { background: linear-gradient(135deg, var(--plum-deep) 0%, var(--pink) 100%); }
.pp-note { font-size: .88rem; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* Solved boards in the answer section: rendered grids, white and cream. */
.ans-boards { display: none; margin-top: 14px; }
.ans-boards.show { display: block; }
.ans-board { margin: 0 0 22px; }
.ans-board h3 { text-align: center; margin: 0 0 8px; }
.ans-grid { display: grid; gap: 5px; justify-content: center; }
.ans-cell {
  width: var(--ppc);
  height: var(--ppc);
  background: var(--cream);
  border: 1px solid #c9bfae;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ans-gap { visibility: hidden; width: var(--ppc); height: var(--ppc); }
.ans-board p { text-align: center; font-size: .9rem; color: var(--muted); margin: 8px 0 0; }

@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .coming { grid-template-columns: 1fr; }
  table.zones { display: block; overflow-x: auto; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  .hero { padding: 20px 16px 16px; margin: 12px 0 8px; }
  main { padding: 8px 12px 32px; }
  .pp-tab { padding: 8px 16px; font-size: .85rem; }
  .pp-btn { padding: 10px 18px; }
  .facts { grid-template-columns: 1fr; }
}

/* Site header and footer (same structure as the other site, Pips palette) */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.site-header { background: linear-gradient(180deg, #efe3f1 0%, #f7f1f5 100%); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-tiles { display: inline-flex; gap: 4px; }
.brand-tiles i { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; font-style: normal; font-weight: 900; font-size: 1.05rem; color: #fff; }
.brand-tiles .t-w { background: var(--plum); }
.brand-tiles .t-h { background: var(--pink); }
.brand-name { font-size: 1.45rem; font-weight: 900; color: var(--plum-deep); letter-spacing: .01em; }
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav > a { color: var(--plum-deep); font-weight: 700; text-decoration: none; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.main-nav > a:hover { background: #f1e6f5; }
.nav-dropdown { position: relative; }
.nav-drop-btn { border: 1px solid #d9c8e2; background: #fff; color: var(--plum-deep); font-weight: 700; font-size: .95rem; font-family: inherit; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.nav-drop-btn .caret { font-size: .8rem; }
.mega-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px 12px 12px; z-index: 50; }
.nav-dropdown.open .mega-menu, .nav-dropdown:focus-within .mega-menu { display: block; }
.mega-heading { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 10px 6px 4px; }
.mega-heading:first-child { margin-top: 2px; }
.mega-link { display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.mega-link:hover { background: #faf6fb; }
.mega-link b { display: block; color: var(--plum-deep); font-size: .95rem; }
.mega-link small { color: var(--muted); font-size: .82rem; }
.hero-date { text-align: center; margin: 0 0 4px; }
.page { max-width: 780px; }
.page h1 { text-align: left; font-size: 1.9rem; }
.page-updated { color: var(--muted); font-size: .88rem; }
.page h2 { margin-top: 36px; }
.site-footer { border-top: 1px solid var(--plum-deep); background: var(--plum-deep); color: #e8ddf2; padding: 28px 0 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 20px; }
.footer-about p { color: #d9c8e8; font-size: .92rem; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 7px; }
.footer-links a { color: #e8ddf2; text-decoration: none; font-size: .92rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-heading { font-weight: 800; color: #fff; margin: 0 0 10px; font-size: .95rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.22); padding-top: 16px; padding-bottom: 20px; text-align: center; }
.footer-legal .disclaimer { color: #d9c8e8; font-size: .85rem; max-width: 760px; margin: 0 auto 8px; }
.footer-legal .copyright { color: #c9b8d8; font-size: .85rem; margin: 0; }
.brand-footer .brand-name { color: #fff; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { justify-content: center; text-align: center; }
  .main-nav { justify-content: center; }
  .mega-menu { position: absolute; right: 0; width: 280px; max-width: calc(100vw - 32px); }
  .page h1 { font-size: 1.55rem; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Compact homepage (2026-11-09): tool above the fold, depth in accordions. */
.header-inner { padding-top: 10px; padding-bottom: 10px; }
nav.jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 10px 12px 0; max-width: 1080px; }
nav.jump::-webkit-scrollbar { display: none; }
nav.jump a { font-size: .82rem; padding: 6px 12px; white-space: nowrap; flex: none; }
.hero { padding: 16px 22px 14px; margin: 12px 0 6px; }
h1 { font-size: 1.7rem; line-height: 1.2; margin: 2px 0 10px; }
.lede { margin: 0 0 8px; }
.facts-line { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 10px 0 2px; }
.facts-line .chip { background: #fdf9fd; border: 1px dashed #d9c8e2; border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 700; color: var(--plum-deep); }
h2#play { margin-top: 18px; }
.play-intro { margin-bottom: 8px; }
.tool-card { padding: 16px 14px 12px; }
.pp-tabs { margin-bottom: 10px; }
#pp-board { margin: 4px auto 8px; }
.pp-tray-label { margin: 6px 0 4px; }
#pp-msg { margin: 6px 0 2px; }
.pp-controls { margin-top: 8px; }
.pp-note { margin-top: 8px; }

/* Compact homepage round 2 (2026-11-09): tool above the fold on desktop. */
.hero { padding: 12px 22px 10px; margin: 8px 0 4px; }
nav.jump { padding-top: 6px; }
.facts-line { display: block; text-align: center; font-size: .9rem; font-weight: 700; color: var(--plum-deep); margin: 8px 0 2px; white-space: nowrap; }
h2#play { margin-top: 10px; margin-bottom: 6px; padding-bottom: 6px; }
.play-intro { margin-bottom: 6px; }
.tool-card { padding: 12px 14px 10px; }
.pp-tab { padding: 7px 20px; }
.pp-note { font-size: .85rem; }
@media (max-width: 520px) {
  h1 { font-size: 1.4rem; }
  .facts-line { white-space: normal; }
}
/* About mega-menu: narrow enough that it cannot cover the H1 text or the pill nav. */
.mega-menu { min-width: 210px; width: 210px; padding: 8px 10px 10px; }
.mega-link { padding: 6px 8px; }
.mega-heading { margin: 8px 6px 2px; }
@media (max-width: 760px) {
  .header-inner { padding-top: 8px; padding-bottom: 8px; gap: 8px; }
  .brand-name { font-size: 1.25rem; }
  .brand-tiles i { width: 30px; height: 30px; }
  .main-nav > a { padding: 6px 9px; font-size: .88rem; }
  .nav-drop-btn { padding: 6px 10px; font-size: .88rem; }
}

/* Compact homepage round 3: clear the H1 text and FAQ pill from the open About menu. */
h1 { font-size: 1.6rem; }
.mega-menu { min-width: 195px; width: 195px; }
@media (max-width: 640px) { nav.jump { justify-content: flex-start; } }

/* Headings + first-paragraph value chips (2026-11-09, Omer):
   every H2 gets a visible lavender background band; the facts-line
   values under the lede become prominent coloured chips. */
h2 {
  background: #efe3f1;
  color: #4e3572;
  border: 1px solid #d9c8e2;
  border-left: 4px solid var(--pink);
  border-bottom: 0;
  border-radius: 12px;
  padding: 12px 16px;
}
h2#play { margin-top: 10px; margin-bottom: 12px; padding: 12px 16px; }
.facts-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 12px 0 4px;
  white-space: normal;
  text-align: center;
}
.facts-line .chip {
  display: inline-block;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.3;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(43, 37, 48, .12);
  white-space: nowrap;
}
.facts-line .chip-1 { background: #ddd0f2; color: #4e3572; }
.facts-line .chip-2 { background: #bfe6d9; color: #1f4d3f; }
.facts-line .chip-3 { background: #f5cfe0; color: #6d2340; }
.facts-line .chip-4 { background: #f8d9b5; color: #6b3d0d; }
.facts-line .chip-5 { background: #c3d9f2; color: #1d3f66; }
@media (max-width: 520px) {
  h2 { padding: 10px 14px; font-size: 1.25rem; }
  .facts-line { gap: 6px; }
  .facts-line .chip { font-size: .92rem; padding: 7px 12px; }
}

/* H3 bands (2026-11-09, Omer): coloured per what is below each heading,
   clearly different from the H2 lavender band (#efe3f1). Easy = teal,
   Medium = pink, Hard = orange, FAQ questions = lighter lavender. */
h3.h3-easy { background: #bfe6d9; color: #1f4d3f; border: 1px solid #8fc7b4; border-radius: 10px; padding: 8px 14px; margin: 18px 0 8px; }
h3.h3-medium { background: #f5cfe0; color: #6d2340; border: 1px solid #e3aec9; border-radius: 10px; padding: 8px 14px; margin: 18px 0 8px; }
h3.h3-hard { background: #f8d9b5; color: #6b3d0d; border: 1px solid #e8b877; border-radius: 10px; padding: 8px 14px; margin: 18px 0 8px; }
h3.h3-faq { background: #eadff0; color: #4e3572; border: 1px solid #e4d9e2; border-radius: 10px; padding: 8px 14px; margin: 18px 0 8px; }
@media (max-width: 520px) {
  h3.h3-easy, h3.h3-medium, h3.h3-hard, h3.h3-faq { padding: 8px 12px; }
}

/* Logo icon (2026-11-09): domino mark in the header brand, one mark only. */
.brand-logo { height: 30px; width: auto; display: block; flex: none; }
@media (max-width: 760px) { .brand-logo { height: 26px; } }

/* ===== Gosolvedaily-structure chrome (2026-11-09) =====
   APPENDED rules only. Existing rules above (H2/H3 bands, value chips,
   Pips solver, logo, palette) are untouched. These style the shared
   header/footer/hero classes the homepage + articles + policy pages use.
   Palette: purple #6d4c9e / #4e3572, pink #c94f7c, lavender #efe3f1 / #f7f1f5, cream. */

/* Generic page hero (gosolvedaily page.html pattern): lavender band,
   small breadcrumbs, H1. */
.page-hero {
  background: linear-gradient(180deg, #efe3f1 0%, #f7f1f5 100%);
  border-bottom: 1px solid var(--line);
  padding: 26px 0 20px;
}
.page-hero h1 { text-align: center; margin: 0; font-size: 1.9rem; }
.page-hero .wrap { text-align: center; }
.breadcrumbs { font-size: .88rem; color: var(--muted); margin: 0 0 8px; }
.breadcrumbs a { color: var(--plum); text-decoration: none; font-weight: 700; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: var(--plum-deep); font-weight: 700; }

/* Homepage hero pieces (parallel rebuild uses these class names). */
.hero-inner { display: flex; gap: 24px; align-items: flex-start; }
.hero-copy { flex: 1; min-width: 0; }
.hero-pill {
  display: inline-block;
  background: var(--plum);
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .02em;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.quick-answer {
  background: #fdf9fd;
  border: 1px dashed #d9c8e2;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 14px 0;
}
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--plum) 0%, var(--pink) 100%);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: linear-gradient(135deg, var(--plum-deep) 0%, var(--pink) 100%); }
.btn-ghost {
  display: inline-block;
  background: #fff;
  color: var(--plum-deep);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid var(--plum);
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, transform .15s ease;
}
.btn-ghost:hover { background: #f1e6f5; transform: translateY(-1px); }

/* Stats band: 4-stat grid, bold numbers. */
.stats-band {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; }
.stat b { display: block; font-size: 1.6rem; line-height: 1.2; color: var(--plum-deep); }
.stat span { color: var(--muted); font-size: .88rem; }

/* Ticker: single-line strip, no wrap, clips instead of overflowing. */
.ticker {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--plum-deep);
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
  padding: 9px 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Section headings, divider, intro line, spoiler warning. */
.section-head { margin: 40px 0 10px; }
.section-head h2 { margin: 0; }
.eyebrow {
  display: block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 6px;
}
.sdiv { text-align: center; color: var(--muted); font-size: 1rem; letter-spacing: .5em; margin: 28px 0; }
.section-sub { color: var(--muted); font-size: 1.02rem; line-height: 1.6; margin: 0 0 14px; }
.spoiler-warning {
  background: #fff6db;
  border: 1px solid #e8c97a;
  border-left: 4px solid #dd9240;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0;
  color: #6b3d0d;
  font-size: .95rem;
}

/* Facts as a definition list: two columns, dt label / dd value. */
dl.facts { grid-template-columns: max-content 1fr; gap: 0 20px; }
dl.facts dt { color: var(--muted); font-size: .95rem; border-bottom: 1px dashed var(--line); padding: 7px 0; }
dl.facts dd { margin: 0; color: var(--plum-deep); font-weight: 700; font-size: .95rem; border-bottom: 1px dashed var(--line); padding: 7px 0; }

/* Game / guide pages. */
.game-page { max-width: var(--maxw); margin: 0 auto; }
.byline { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.game-grid, .guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.guide-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.guide-card h3 { margin: 0 0 8px; }
.guide-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.guide-card a { text-decoration: none; }
.guide-card a:hover { text-decoration: underline; }

/* Footer: 5 columns on desktop (about + 4 link columns). */
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; }
.footer-about .brand { margin-bottom: 10px; }
.footer-legal { text-align: center; }

/* Dropdowns: plain vertical block lists, heading on top, no grid.
   Menus show ONLY with .open (base .mega-menu stays display:none). */
.mega-menu.open { display: block; }
.drop-list { display: block; }
.drop-group {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 10px 6px 4px;
}
.drop-group:first-child { margin-top: 2px; }
.drop-link {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: .95rem;
}
.drop-link:hover { background: #faf6fb; }
.mega-menu.drop-menu { width: 280px; min-width: 280px; }

/* About mega-menu: two columns (WordHint + People) + policy foot. */
.mega-menu.mega-wide { width: 560px; min-width: 560px; }
.mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.mega-col { min-width: 0; }
.mega-foot {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding: 10px 6px 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.mega-foot a { color: var(--plum); font-size: .88rem; font-weight: 700; text-decoration: none; }
.mega-foot a:hover { text-decoration: underline; }

/* Hamburger: hidden on desktop; on mobile (pages that HAVE the toggle)
   the nav hides until .open, then shows as a vertical list.
   Scoped with :has() so pages still awaiting the new header keep their
   old always-visible nav on mobile. */
.nav-toggle {
  display: none;
  border: 1px solid #d9c8e2;
  background: #fff;
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--plum-deep);
  border-radius: 2px;
}

@media (max-width: 760px) {
  .page-hero { padding: 20px 0 16px; }
  .page-hero h1 { font-size: 1.55rem; }
  .hero-inner { flex-direction: column; gap: 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-header:has(#navToggle) .header-inner { justify-content: space-between; }
  .site-header:has(#navToggle) .main-nav { display: none; }
  .site-header:has(#navToggle) .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-basis: 100%;
    width: 100%;
    gap: 2px;
    padding-top: 8px;
  }
  .site-header:has(#navToggle) .main-nav.open > a { text-align: left; }
  .site-header:has(#navToggle) .nav-dropdown { width: 100%; }
  .site-header:has(#navToggle) .nav-drop-btn { width: 100%; text-align: left; }
  .mega-menu.mega-wide { width: calc(100vw - 32px); min-width: 0; }
  .mega-cols { grid-template-columns: 1fr; }
  .mega-menu.drop-menu { width: calc(100vw - 32px); min-width: 0; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .game-grid, .guide-grid { grid-template-columns: 1fr; }
  dl.facts { grid-template-columns: 1fr; gap: 0; }
  dl.facts dt { border-bottom: 0; padding-bottom: 0; }
  .btn, .btn-ghost { padding: 11px 18px; }
}

/* Mobile dropdowns sit in-flow (position:static) so an open menu pushes
   the buttons below it down instead of covering them. Desktop keeps the
   absolute drop-down. Scoped to headers with the hamburger toggle. */
@media (max-width: 760px) {
  .site-header:has(#navToggle) .mega-menu {
    position: static;
    top: auto;
    right: auto;
    width: auto;
    min-width: 0;
    max-width: none;
    margin-top: 4px;
  }
}

/* Coordinator fixes (2026-11-09, gosolvedaily restructure): article guide
   cards are bare <a><b><span> anchors, so style them like .guide-card. */
.guide-grid > a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); }
.guide-grid > a:hover { box-shadow: var(--shadow-md); }
.guide-grid > a b { display: block; font-size: 1.05rem; color: var(--plum-deep); margin-bottom: 6px; }
.guide-grid > a span { display: block; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .drop-link, .mega-link { text-align: left; } }

/* Team hero (gosolvedaily .sdp-hero pattern, exact layout values; Pips
   purple accents instead of gosolvedaily green). Base = single column,
   desktop (>=760px) = text left, 240px photo right. */
.sdp-hero { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; background: linear-gradient(180deg, #efe3f1 0%, #fff 100%); border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px; margin: 22px 0 8px; box-shadow: var(--shadow); }
.sdp-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.sdp-badge { display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 8px; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.sdp-badge-green { background: rgba(109, 76, 158, .12); color: var(--plum-deep); border: 1px solid rgba(109, 76, 158, .35); }
.sdp-badge-neutral { background: rgba(43, 37, 48, .05); color: var(--muted); border: 1px solid var(--line); }
.sdp-hero h1 { margin: 0 0 6px; text-align: left; font-size: clamp(2rem, 4.5vw, 2.6rem); line-height: 1.2; }
.sdp-hero-reviewer h1 { font-size: clamp(2.4rem, 5.6vw, 3.6rem); line-height: 1.15; }
.sdp-name { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--plum-deep); font-weight: 700; margin: 0 0 2px; line-height: 1.2; }
.sdp-role { font-size: 1.15rem; color: var(--plum-deep); font-weight: 700; margin: 0 0 14px; }
.sdp-lead { font-size: 1.06rem; line-height: 1.75; color: var(--ink); margin: 0 0 16px; }
.sdp-note { font-size: .92rem; color: var(--muted); background: rgba(255, 255, 255, .7); border-left: 4px solid var(--plum); padding: 12px 16px; border-radius: 0 12px 12px 0; margin: 0; }
.sdp-photo-wrap { position: relative; width: 240px; height: 240px; margin: 0 auto; }
.sdp-photo { width: 100%; height: 100%; border-radius: 24px; object-fit: cover; object-position: top center; border: 2px solid rgba(109, 76, 158, .45); box-shadow: 0 0 30px rgba(109, 76, 158, .18), 0 16px 40px rgba(43, 37, 48, .14); background: #fff; }
.sdp-check { position: absolute; bottom: -10px; right: -10px; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #6d4c9e, #4e3572); color: #fff; display: grid; place-items: center; font-size: 1.25rem; font-weight: 800; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(43, 37, 48, .3); }
@media (min-width: 760px) { .sdp-hero { grid-template-columns: 1fr 260px; gap: 48px; padding: 44px 40px; } }
.mega-photo { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #efe3f1; }
.mega-link.has-photo { display: flex; gap: 12px; align-items: center; }
