:root { --night: #0e1026; --dusk: #232249; --lamp: #ffc46b; --paper: #f3ebdd; --lime: #b5e04d; --coral: #ff5950; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--paper); background: var(--night);
  font: 500 18px/1.55 ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
/* The pool of lamp light at the bottom of every menu in the game. */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(760px 520px at 50% 108%, rgba(255, 196, 107, .2), transparent 70%); }
a { color: var(--lamp); text-underline-offset: .18em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }

.bar { display: flex; align-items: center; gap: 20px; padding: 18px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--paper); text-decoration: none; font-weight: 800; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.bar nav { display: flex; align-items: center; gap: 20px; font-size: 16px; }
.bar nav a { color: rgba(243, 235, 221, .78); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--paper); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; color: var(--lamp); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: 34px; z-index: 5; margin: 0; padding: 8px; list-style: none; min-width: 170px;
  background: var(--dusk); border-radius: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.lang li a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--paper); }
.lang li a:hover, .lang li a[aria-current] { background: rgba(255, 196, 107, .16); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: center; padding: 34px 0 72px; }
h1 { margin: 0; font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; font-weight: 900; letter-spacing: -.02em; text-wrap: balance; }
.tagline { margin: 18px 0 0; color: var(--lime); font-size: clamp(21px, 2.4vw, 27px); font-weight: 700; }
.lead { margin: 14px 0 0; max-width: 31em; color: rgba(243, 235, 221, .86); }
.store { display: inline-block; margin-top: 30px; padding: 15px 28px; border-radius: 999px; font-weight: 800; text-decoration: none;
  background: var(--lamp); color: var(--night); box-shadow: 0 0 34px rgba(255, 196, 107, .4); }
.store.soon { background: none; color: var(--lamp); box-shadow: inset 0 0 0 2px rgba(255, 196, 107, .55); }

.plan { width: 100%; height: auto; display: block; overflow: visible; }
.plan text { font-family: inherit; }
.plan .wall { stroke: rgba(243, 235, 221, .5); stroke-width: 5; stroke-linecap: round; }
.plan .gap { stroke: var(--coral); stroke-width: 8; stroke-linecap: round; }
.plan .thing { fill: rgba(255, 196, 107, .1); stroke: var(--lamp); stroke-width: 2.5; }
.plan .name { font-size: 17px; font-weight: 800; }
.plan .note { font-size: 13.5px; font-weight: 600; opacity: .85; }
.plan .danger { fill: var(--coral); }
.plan .safe { fill: var(--lamp); }
.plan .eyes circle { fill: var(--lime); }
.plan .eyes { transform-box: fill-box; transform-origin: center; animation: blink 5.5s infinite; }
.plan .eyes.b { animation-delay: 1.7s; }
.plan .eyes.c { animation-delay: 3.4s; }
.plan .sweep { stroke: var(--lamp); stroke-width: 2; stroke-linecap: round; transform-box: view-box; transform-origin: 330px 330px;
  animation: sweep 2.8s ease-in-out .35s 1 both; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes sweep { 0% { transform: rotate(-150deg); opacity: 0; } 12%, 88% { opacity: .85; } 100% { transform: rotate(210deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .plan .eyes, .plan .sweep { animation: none; } .plan .sweep { opacity: 0; } }

section { padding: 52px 0; border-top: 1px solid rgba(243, 235, 221, .12); }
h2 { margin: 0 0 26px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; font-weight: 900; letter-spacing: -.01em; }
.claims { margin: 0; padding: 0; list-style: none; }
.claims li { padding: 16px 0; font-size: clamp(21px, 2.6vw, 29px); line-height: 1.25; font-weight: 700; max-width: 26em; }
.claims li + li { border-top: 1px solid rgba(243, 235, 221, .12); }

/* The row of night circles from the game's title screen, turned into the list of nights. */
.nights { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.nights li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: center; }
.nights .n { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 900;
  background: var(--dusk); color: var(--paper); }
.nights .free .n { background: var(--lamp); color: var(--night); }
.nights p { margin: 0; max-width: 34em; }
.nights .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.free-note { margin: 28px 0 0; max-width: 34em; color: var(--lamp); font-weight: 700; }
.need { margin: 0; padding-left: 1.15em; max-width: 36em; }
.need li { padding: 5px 0; }
.need li::marker { color: var(--lamp); }

.doc { max-width: 720px; padding: 26px 0 80px; }
.doc h1 { font-size: clamp(36px, 5vw, 54px); }
.doc h2 { margin: 38px 0 10px; font-size: 23px; }
.doc p { margin: 0 0 14px; color: rgba(243, 235, 221, .9); }
.doc .meta { margin-top: 12px; color: rgba(243, 235, 221, .6); font-size: 16px; }
.doc .intro { margin-top: 22px; font-size: 20px; }

footer { padding: 30px 0 46px; border-top: 1px solid rgba(243, 235, 221, .12); color: rgba(243, 235, 221, .62); font-size: 16px; }
footer .wrap { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: rgba(243, 235, 221, .78); }
footer span { margin-right: auto; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 48px; }
  .bar nav { gap: 14px; font-size: 15px; }
}
