:root {
  color-scheme: light;
  --ink: #191e38;
  --paper: #f9f7ef;
  --blue: #0418fa;
  --lime: #e3fa53;
  --muted: #52566e;
  --line: #d9d9d1;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b07020; outline-offset: 4px; }
.wrap { width: min(1260px, calc(100% - 72px)); margin-inline: auto; }
.mast { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 900 1.38rem/.98 system-ui, sans-serif; letter-spacing: -.065em; }
.brand img { border: 1px solid #c6c6b7; }
.brand span { color: #3e37c5; margin-left: -5px; }
nav { display: flex; gap: clamp(17px, 3.8vw, 42px); }
nav a { font-weight: 750; font-size: .92rem; text-decoration: none; }
nav a:hover { color: #3830c0; }
.store { display: inline-flex; align-items: center; justify-self: end; gap: 8px; min-height: 48px; padding: 8px 13px; background: var(--ink); color: #fffef6; text-decoration: none; font-weight: 800; font-size: .87rem; line-height: 1.16; }
.store:hover { background: #343e5d; }
.store small { display: block; color: #e2e8ad; font-size: .74rem; font-weight: 700; margin-bottom: 2px; }
.play { display: block; width: 14px; height: 16px; background: var(--lime); clip-path: polygon(0 0,100% 50%,0 100%); }
.poster { display: grid; align-items: center; position: relative; isolation: isolate; min-height: clamp(440px, 44vw, 655px); overflow: hidden; background: var(--blue); color: #fffdf5; }
.poster-art { position: absolute; inset: 0; z-index: -2; display: block; }
.poster-art img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: right center; }
.poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#1015e246 0%,transparent 53%); pointer-events: none; }
.poster-inner { padding-block: 42px 53px; }
.eyebrow { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .81rem; font-weight: 750; letter-spacing: .055em; color: #3730ba; text-transform: uppercase; margin-bottom: 16px; }
.poster .eyebrow { color: var(--lime); }
h1, h2 { font-family: system-ui, sans-serif; font-weight: 900; letter-spacing: -.075em; }
h1 { font-size: clamp(4rem, 7.45vw, 8rem); line-height: .9; }
h1 em { color: var(--lime); font-style: normal; }
.poster-inner > p:not(.eyebrow) { font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.6; margin-block: 24px 19px; max-width: 34ch; color: #f0efff; }
.poster-button { display: inline-flex; min-height: 49px; align-items: center; padding: 10px 16px; background: var(--lime); color: #181c39; text-decoration: none; font-weight: 850; box-shadow: 4px 4px #171e91; }
.poster-button:hover { background: #effd96; }
.intro { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 27px 75px; padding-block: 79px 70px; }
h2 { font-size: clamp(2.45rem, 4.35vw, 4.6rem); line-height: 1; text-wrap: balance; }
h3 { font-size: 1.16rem; line-height: 1.24; }
.intro p:not(.eyebrow), .rules dd, .solution-heading p:not(.eyebrow), .steps p, .tips p, .questions p { color: var(--muted); line-height: 1.72; }
.intro p + p { margin-top: 15px; }
.rule-section { background: #f0eee5; border-block: 1px solid #e1ddd0; }
.rule-frame { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 7vw, 99px); padding-block: 46px; }
.piece img { display: block; width: 100%; height: auto; }
.rules { margin: 24px 0 0; border-top: 1px solid #d7d3c4; }
.rules > div { padding-block: 14px; border-bottom: 1px solid #d7d3c4; }
.rules dt { display: flex; gap: 9px; align-items: center; font-weight: 850; margin-bottom: 6px; }
.rules dt span { display: grid; place-items: center; background: var(--lime); color: var(--ink); font-size: 1.05rem; width: 29px; height: 28px; border: 1px solid #bfc944; }
.rules > div:nth-child(2) dt span { background: #c9bdff; border-color: #a696e1; }
.rules > div:nth-child(3) dt span { background: #ffa374; border-color: #d78e66; }
.solution { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 28px 65px; padding-block: 75px; }
.solution-heading p:not(.eyebrow) { margin-top: 17px; }
.steps { border: 1px solid #c4c6a2; }
.steps details { background: #f1f3d3; border-bottom: 1px solid #c4c6a2; }
.steps details:last-child { border-bottom: 0; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 58px; cursor: pointer; padding-block: 13px; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: #3b31b9; font-size: 1.25rem; }
details[open] summary::after { content: "−"; }
.steps summary, .steps p { padding-inline: 19px; }
.steps p, .questions p { padding-bottom: 16px; }
.tips-band { border-block: 1px solid #ced2ed; background: #e9eaff; }
.tips { display: grid; grid-template-columns: .9fr 1.1fr; gap: 29px 72px; padding-block: 59px; }
.tips > div p:last-child { margin-top: 18px; }
.tips ol { border-top: 1px solid #c7c9e3; margin: 0; padding-left: 1.7em; }
.tips li { padding: 14px 0 14px 6px; border-bottom: 1px solid #c7c9e3; }
.tips li::marker { color: #3f36c5; font-weight: 850; }
.tips li p { margin-top: 6px; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 27px 65px; padding-block: 63px 70px; }
.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions a { text-underline-offset: 4px; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 13px; border-top: 1px solid var(--line); padding-block: 25px 30px; }
.footer p, .footer > a:last-child { color: var(--muted); font-size: .86rem; }
.missing { padding-block: 80px; }
.missing h1 { font-size: clamp(2.5rem,7vw,4.7rem); }
.missing p { margin-top: 22px; }
section[id] { scroll-margin-top: 20px; }
@media (max-width: 1020px) {
  .wrap { width: calc(100% - 48px); }
  .poster { min-height: 430px; }
  h1 { font-size: clamp(3.5rem, 7.35vw, 5.7rem); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .mast { grid-template-columns: 1fr auto; gap: 12px; padding-block: 10px; }
  .mast nav { grid-column: 1 / -1; justify-content: center; grid-row: 2; }
  .poster { display: flex; flex-direction: column; min-height: 0; }
  .poster-inner { padding-block: 36px 12px; order: -1; }
  .poster-art { position: relative; z-index: 0; aspect-ratio: 1.75; }
  .poster-art img { object-fit: cover; object-position: right center; }
  .poster::after { display: none; }
  h1 { font-size: clamp(3.85rem, 13vw, 6.1rem); }
  .intro, .rule-frame, .solution, .tips, .faq { grid-template-columns: 1fr; }
  .intro, .solution, .faq { padding-block: 47px; }
  .rule-frame { padding-block: 29px; }
  .rule-frame > div { grid-row: 1; }
  .piece { max-width: 540px; }
  .tips { padding-block: 44px; }
}
@media (max-width: 350px) {
  .brand { font-size: 1.12rem; }
  h1 { font-size: 3.3rem; }
}
