/* The static pages (About, How to play, Worlds). The game itself is styled in src/style.css. */
:root { font-family: "Avenir Next", Avenir, "Trebuchet MS", sans-serif; color: #293b2e; background: #f8f2e5;
  --paper: #fffbf1; --muted: #5f6951; --line: #e5dac3; --green: #365642; --rust: #a6533c; --serif: Georgia, "Times New Roman", serif; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at 49% 0, #fffaf0 0%, #f8f2e5 67%); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #315b73; outline-offset: 3px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 6vw, 50px); }
h2 { font-size: clamp(22px, 3.6vw, 28px); }
h3 { font-size: 17px; margin-top: 18px; }
ul, ol { list-style: none; }
.wrap { width: min(1000px, calc(100% - 32px)); margin: 0 auto; }
.top { border-bottom: 1px solid #e9dfcc; background: #fcf7ebc9; }
.top .wrap { display: flex; align-items: center; gap: 6px 14px; min-height: 60px; flex-wrap: wrap; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 9px; font: bold 25px/1 var(--serif); letter-spacing: -.7px; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.top nav { display: flex; gap: 2px; }
.top nav a { padding: 9px 11px; border-radius: 8px; font-size: 14px; font-weight: 650; color: var(--muted); }
.top nav a[aria-current] { color: var(--green); background: #e9ecd6; }
.play, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 12px; background: var(--green); color: #fffbf1; font-weight: 700; box-shadow: 0 2px 0 #24402f; }
.play { min-height: 40px; padding: 0 18px; }
.link { font-weight: 700; color: var(--rust); border-bottom: 2px solid #e3c3b6; }
main section { padding: 34px 0; border-bottom: 1px solid #ebe1cb; }
main section:last-child { border-bottom: 0; }
section > h2 { margin-bottom: 10px; }
.lead { font-size: 18px; color: #3d4a3c; max-width: 56ch; margin-top: 10px; }
.small { font-size: 14px; color: var(--muted); margin-top: 12px; }
.crumbs { padding-top: 18px; font-size: 14px; font-weight: 650; color: var(--rust); }
.crumbs + section { padding-top: 14px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 34px; align-items: center; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.phone { width: 270px; border-radius: 30px; border: 7px solid #2f3d33; box-shadow: 0 18px 40px #4b3f2a33; }
.shot { display: block; border-radius: 16px; box-shadow: 0 0 0 4px #fff9eb, 0 0 0 5px #dbc9a6, 0 12px 28px #4b3f2a22; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.three div { padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.three h2 { font-size: 21px; }
.three p { margin-top: 7px; color: var(--muted); font-size: 15px; }
.world-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-top: 18px; }
.world-strip a { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; text-align: center; font-size: 14px; font-weight: 650; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.world-strip span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; }
.world-strip img { width: 58px; height: 58px; }
.world-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 22px; }
.world-cards a { display: block; height: 100%; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.world-cards .shot { width: 100%; box-shadow: none; border-radius: 10px; }
.world-cards h2 { font-size: 22px; margin-top: 12px; }
.world-cards p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.twist { color: #3d4a3c; }
.twist strong { color: var(--rust); }
.twist.big { margin-top: 16px; padding: 12px 14px; font-size: 17px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; max-width: 52ch; }
.buildings { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-top: 14px; }
.buildings li { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.buildings img { flex: none; width: 60px; height: 60px; background: #e3e8ce; border-radius: 10px; }
.buildings strong { display: block; font: 600 18px/1.2 var(--serif); }
.buildings span { font-size: 14px; color: var(--muted); line-height: 1.35; display: block; }
.steps { counter-reset: step; display: grid; gap: 12px; margin-top: 14px; max-width: 62ch; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; color: #3d4a3c; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #e9ecd6; color: var(--green); font: 700 15px/1 var(--serif); }
.steps strong { color: #293b2e; }
.faq p { color: #3d4a3c; max-width: 64ch; margin-top: 4px; }
.prose { max-width: 68ch; }
.prose h2 { margin: 28px 0 8px; font-size: 22px; }
.prose p, .prose li { color: #3d4a3c; margin-top: 8px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose .lead { color: #293b2e; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; font-weight: 700; color: var(--rust); }
.foot { margin-top: 20px; padding: 30px 0 40px; text-align: center; border-top: 1px solid #e9dfcc; background: #fcf7ebc9; font-size: 14px; color: var(--muted); }
.foot p { margin-top: 14px; }
.foot p a { font-weight: 650; color: var(--green); padding: 4px 2px; }
@media (max-width: 720px) {
  .top nav { order: 3; width: 100%; justify-content: space-between; }
  .top nav a { flex: 1; text-align: center; background: #f1ecdc; margin: 0 2px; }
  .hero { grid-template-columns: 1fr; gap: 22px; }
  .hero > img { justify-self: center; }
  .phone { width: 220px; }
  .three { grid-template-columns: 1fr; gap: 10px; }
  main section { padding: 26px 0; }
  .lead { font-size: 17px; }
}
