body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.7; color: #111111; background: #efe6d5; }
#window { background: #efe6d5; max-width: 520px; margin: 6vh auto 0; padding: 24px; border: 1px solid #c0b196; box-sizing: border-box; position: relative; }
#wrap { padding-top: 40px; padding-bottom: 60px; }
#exit { position: absolute; top: 6px; right: 10px; background: none; border: 0; font-size: 26px; line-height: 1; color: #64748b; cursor: pointer; padding: 6px; }
a:hover { color: #18552e; }
.msg { color: #b42318; margin: 0 0 1em; }
.taps label { display: block; margin: 0 0 6px; }
.cities { columns: 3; margin: 0 0 1.6em; padding: 0 0 0 1.2em; list-style: disc; }
.prog i { display: block; height: 6px; width: 0; background: #1f6b3a; transition: width .25s; }
#top { border-bottom: 1px solid #d6c9b0; padding-top: 22px; padding-bottom: 22px; }
h1 { font-size: 37px; line-height: 1.4; margin: 0 0 20px; }
#top a { font-size: 26px; font-weight: 600; color: #000000; }
input[type=submit], .go { background: #1f6b3a; color: #fff; border: 0; border-radius: 5px; padding: 15px 30px; font: inherit; cursor: pointer; }
.goback { background: none; border: 0; padding: 15px 10px; font: inherit; color: #1f6b3a; cursor: pointer; }
#top, #wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
#window p, #window .field { margin: 0 0 1.1em; }
.stepcount { font-size: 14px; color: #64748b; margin: 0 0 18px; }
p { margin: 0 0 1.75em; }
.cities a { text-decoration: underline; }
.figure { display: block; max-width: 100%; width: 760px; height: auto; margin: 0 0 1.75em; }
#dim { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(30, 41, 59, .55); overflow: auto; padding: 16px; box-sizing: border-box; }
#dim[hidden], [hidden] { display: none; }
h1, h2, h3 { color: #000000; font-weight: 600; }
a { color: #1f6b3a; text-decoration: none; }
.field { margin: 0 0 1.75em; }
input[type=submit]:hover, .go:hover { background: #18552e; }
.prog { height: 6px; background: #d6c9b0; margin: 0 0 6px; }
input[type=text], textarea { width: 100%; max-width: 100%; box-sizing: border-box; padding: 12px 16px; border: 1px solid #c0b196; border-radius: 5px; font: inherit; color: #111111; background: #efe6d5; }
h2 { font-size: 31px; line-height: 1.3; margin: 0 0 20px; }
h3 { font-size: 22px; line-height: 1.3; margin: 0 0 14px; }
.taps { margin: 0 0 1.4em; }
#legal { border-top: 1px solid #d6c9b0; text-align: center; padding: 20px; }
@media (max-width: 800px) { h1 { font-size: 31px; } h2 { font-size: 26px; } .cities { columns: 2; } }
h1, h2, h3 { font-family: inherit; font-weight: 700; }
#top, #wrap { max-width: 1180px; }
#window { background: #fff; }
input[type=text], textarea { background: #fff; }
.stepcount { color: #444; }
#exit { color: #444; }
.cities { columns: 3; }
.wrap-closing { border-top: 1px solid #d6c9b0; padding-top: 28px; margin-top: 12px; }
.wrap-closing a { display: inline-block; background: #1f6b3a; color: #fff; border-radius: 5px; padding: 15px 30px; }
.wrap-closing a:hover { background: #18552e; color: #fff; }
#top { max-width: none; background: #e5dac5; border-bottom: 1px solid #d6c9b0; padding-left: max(24px, calc((100% - 1180px) / 2 + 24px)); }
.wrap-lead { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; margin: 0 0 24px; }
.wrap-sidebox { background: #ffffff; border: 1px solid #d6c9b0; border-top: 4px solid #1f6b3a; padding: 24px 24px 4px; }
.wrap-sidebox h3 { margin-top: 0; }
@media (max-width: 900px) { .wrap-lead { display: block; } .wrap-sidebox { margin: 0 0 32px; } }
@media (max-width: 800px) { .cities { columns: 2; } }
